/* ============================================
   ESCUELA MARÍTIMA DEL PERÚ SAN RAMÓN
   Sistema de estilos institucional
   ============================================ */

:root {
  /* Brand */
  --brand-900: #023059;
  --brand-800: #033b6f;
  --brand-700: #044a8a;
  --brand-500: #0660b5;
  --brand-300: #5a9fd4;
  --brand-100: #d0e4f5;
  --brand-50: #eaf3fb;

  /* Accent */
  --accent-500: #F2B705;
  --accent-400: #F2A20C;
  --accent-300: #F2CA7E;

  /* Neutrals */
  --ink-900: #0c1320;
  --ink-700: #1a1a2e;
  --ink-500: #5a5a72;
  --ink-400: #8e8ea0;
  --ink-200: #d6d6dd;
  --ink-100: #e2e2e8;
  --bg-soft: #f4f7fb;
  --bg-mute: #F2F2F2;
  --white: #ffffff;

  /* Semantic */
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --info: #0284c7;

  /* Sizing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(2, 48, 89, .06);
  --shadow-md: 0 6px 18px rgba(2, 48, 89, .08);
  --shadow-lg: 0 18px 50px rgba(2, 48, 89, .14);
  --shadow-xl: 0 30px 80px rgba(2, 48, 89, .22);

  /* Layout */
  --header-h: 76px;
  --container: 1240px;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: .5s cubic-bezier(.4, 0, .2, 1);
}

[data-theme="dark"] {
  --bg-soft: #0f1117;
  --bg-mute: #1a1b26;
  --white: #16171f;
  --ink-900: #f1f5f9;
  --ink-700: #e4e4e8;
  --ink-500: #a0a0b2;
  --ink-400: #8a8a9c;
  --ink-200: #2e2e3e;
  --ink-100: #21222e;
  --brand-50: #11233a;
}

/* ============================================
   RESET / BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-700); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

::selection { background: var(--accent-500); color: var(--brand-900); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--ink-900);
}
h1 { font-size: 3.4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.15rem; font-weight: 700; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent-500);
}
.eyebrow.center::before { display: none; }

.lead {
  font-size: 1.125rem;
  color: var(--ink-500);
  max-width: 720px;
  line-height: 1.65;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .72rem;
  color: var(--ink-400);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; position: relative; }
.section--tight { padding: 70px 0; }
.section--mute { background: var(--bg-soft); }
.section--dark {
  background: var(--brand-900);
  color: var(--white);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead { color: rgba(255,255,255,.78); }
.section--dark .eyebrow { color: var(--accent-500); }

.section-head { margin-bottom: 56px; max-width: 780px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 14px 0 18px; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .98);
  border-bottom-color: var(--ink-100);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .site-header { background: rgba(15, 17, 23, .88); }
[data-theme="dark"] .site-header.scrolled { background: rgba(15, 17, 23, .98); border-bottom-color: var(--ink-200); }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brand-900);
  flex-shrink: 0;
}
.nav-brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.nav-brand:hover .nav-brand-logo { transform: scale(1.05); }
.nav-brand-text { line-height: 1.15; }
.nav-brand-text strong {
  display: block;
  font-weight: 800;
  font-size: .88rem;
  color: var(--ink-900);
  letter-spacing: 0;
  white-space: nowrap;
}
.nav-brand-text small {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ink-400);
  margin-top: 2px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu a,
.nav-link-disabled,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 11px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}
.nav-link-disabled { cursor: default; }
.nav-dropdown-toggle .material-icons {
  font-size: 17px;
  transition: transform var(--transition);
}
.nav-menu a:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--brand-700);
  background: var(--brand-50);
}
.nav-menu a.active,
.nav-dropdown.active > .nav-dropdown-toggle { color: var(--brand-900); }
.nav-menu > li > a.active::after,
.nav-dropdown.active > .nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px;
  bottom: 0;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  padding: 10px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown:hover .nav-dropdown-toggle .material-icons,
.nav-dropdown.open .nav-dropdown-toggle .material-icons { transform: rotate(180deg); }
.nav-dropdown-menu a {
  display: flex;
  width: 100%;
  padding: 10px 12px;
  font-size: .86rem;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--brand-900);
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle .material-icons { font-size: 28px; }

/* Hide brand text on medium screens to save space */
@media (max-width: 1320px) {
  .nav-brand-text { display: none; }
}
@media (max-width: 1180px) {
  .nav-menu a,
  .nav-link-disabled,
  .nav-dropdown-toggle { padding: 8px 9px; font-size: .78rem; }
}
/* Mobile breakpoint */
@media (max-width: 1100px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn:not(.nav-cta-primary) { display: none; }
  .nav-brand-text { display: block; }
}
@media (max-width: 560px) {
  .nav-brand-text { display: none; }
  .nav-brand-logo { width: 46px; height: 46px; }
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-group {
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-100);
}
.mobile-menu-group > span {
  display: block;
  margin: 0 0 8px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ink-400);
}
.mobile-menu a {
  display: block;
  padding: 11px 12px;
  font-size: .98rem;
  font-weight: 700;
  color: var(--ink-900);
  border-radius: var(--radius-sm);
}
.mobile-menu .nav-link-disabled {
  display: block;
  padding: 11px 12px;
  font-size: .98rem;
  font-weight: 700;
}
.mobile-menu a.active { color: var(--brand-700); background: var(--brand-50); }
.mobile-menu-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: .92rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}
.btn .material-icons { font-size: 18px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--brand-900);
  color: #fff;
  border-color: var(--brand-900);
  box-shadow: 0 4px 14px rgba(2, 48, 89, .25);
}
.btn-primary:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: #fff;
  box-shadow: 0 8px 22px rgba(2, 48, 89, .35);
}

.btn-accent {
  background: var(--accent-500);
  color: var(--brand-900);
  border-color: var(--accent-500);
  box-shadow: 0 4px 14px rgba(242, 183, 5, .35);
}
.btn-accent:hover {
  background: var(--accent-400);
  border-color: var(--accent-400);
  color: var(--brand-900);
  box-shadow: 0 8px 22px rgba(242, 183, 5, .5);
}

.btn-outline {
  background: transparent;
  color: var(--brand-900);
  border-color: var(--brand-900);
}
.btn-outline:hover { background: var(--brand-900); color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover { background: #fff; color: var(--brand-900); border-color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
  border-color: transparent;
  padding: 10px 16px;
}
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-700); }

.btn-sm { padding: 9px 18px; font-size: .82rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brand-700);
  font-size: .9rem;
  transition: gap var(--transition);
}
.btn-link:hover { gap: 12px; }
.btn-link .material-icons { font-size: 18px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 55%, var(--brand-500) 100%);
  color: #fff;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 85% 20%, rgba(242, 183, 5, .14), transparent 60%),
    radial-gradient(700px 600px at 10% 90%, rgba(6, 96, 181, .35), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 90%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 50px); padding-bottom: 60px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--accent-500);
}
.hero h1 {
  color: #fff;
  font-size: 4rem;
  line-height: 1.05;
  margin-bottom: 22px;
  font-weight: 800;
  letter-spacing: 0;
}
.hero h1 .highlight {
  background: linear-gradient(120deg, var(--accent-500), var(--accent-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.6;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
  max-width: 560px;
}
.hero-meta-item { min-width: 0; }
.hero-meta-item strong {
  display: block;
  min-height: 2.1rem;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0;
}
.hero-meta-item strong span {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: none;
}
.hero-meta-item > span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.6);
  display: block;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 480px;
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  transition: transform .6s var(--transition);
}
.hero-card-main {
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(2,48,89,.85)),
    url('https://cdn.pixabay.com/photo/2019/09/20/05/28/ship-4490852_1280.jpg') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.hero-card-main h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.hero-card-main p { color: rgba(255,255,255,.78); font-size: .92rem; }
.hero-card-badge {
  position: absolute;
  top: -18px;
  left: 24px;
  background: var(--accent-500);
  color: var(--brand-900);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 8px 20px rgba(242, 183, 5, .35);
}
.hero-card-float {
  bottom: -10px;
  right: -10px;
  width: 240px;
  background: rgba(255,255,255,.94);
  color: var(--brand-900);
  padding: 20px;
  box-shadow: var(--shadow-xl);
}
[data-theme="dark"] .hero-card-float { background: rgba(33,34,46,.94); color: #fff; }
.hero-card-float .mono { color: var(--brand-500); font-size: .65rem; }
.hero-card-float strong { display: block; font-size: 1.6rem; font-weight: 800; margin: 4px 0; }
.hero-card-float small { color: var(--ink-500); font-size: .82rem; }
@media (max-width: 980px) {
  .hero-visual { min-height: 360px; }
}

/* Wave divider */
.wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  line-height: 0;
  z-index: 3;
}
.wave svg { width: 100%; height: auto; }

/* ============================================
   PAGE HERO (interior pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  color: #fff;
  padding: calc(var(--header-h) + 80px) 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(242, 183, 5, .12), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(6, 96, 181, .35), transparent 60%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 90%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 16px 0 18px; max-width: 820px; }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 720px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.55);
}
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-500); }
.breadcrumb .material-icons { font-size: 14px; }

/* ============================================
   CARDS — PROGRAMAS
   ============================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-300);
}
.program-card-media {
  height: 220px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  position: relative;
  overflow: hidden;
}
.program-card-media::before {
  content: '';
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .55;
  transition: opacity var(--transition);
}
.program-card:hover .program-card-media::before { opacity: .75; transform: scale(1.05); }
.program-card-media--puente::before {
  background-image: url('https://cdn.pixabay.com/photo/2020/12/06/22/51/ship-5810249_1280.jpg');
}
.program-card-media--maquinas::before {
  background-image: url('https://cdn.pixabay.com/photo/2022/08/29/07/44/port-7418239_1280.jpg');
}
.program-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2,48,89,.75));
}
.program-card-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(255,255,255,.95);
  color: var(--brand-900);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  z-index: 2;
}
.program-card-title {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  z-index: 2;
  letter-spacing: 0;
}
.program-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.program-card-body > p {
  color: var(--ink-500);
  font-size: .95rem;
  margin-bottom: 22px;
  flex: 1;
}
.program-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  margin-bottom: 22px;
}
.program-card-stat strong {
  display: block;
  min-height: 1.35rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-900);
  line-height: 1;
  margin-bottom: 4px;
}
[data-theme="dark"] .program-card-stat strong { color: var(--brand-300); }
.program-card-stat span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--ink-400);
  display: block;
}
.program-card .btn { width: 100%; }

/* ============================================
   FEATURE LIST
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--brand-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.section--mute .feature-card { background: var(--white); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.feature-card:hover .feature-icon { background: var(--brand-900); color: var(--accent-500); }
.feature-icon .material-icons { font-size: 28px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-500); font-size: .95rem; }

/* Compact feature variant */
.feature-card--compact { padding: 24px; }
.feature-card--compact .feature-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.feature-card--compact .feature-icon .material-icons { font-size: 22px; }
.feature-card--compact h3 { font-size: 1rem; }

/* ============================================
   STATS BAND
   ============================================ */
.stats-band {
  background: var(--brand-900);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 100% 50%, rgba(242, 183, 5, .12), transparent 60%);
}
.stats-band .container { position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  text-align: center;
}
.stat-item strong {
  display: block;
  min-height: 3.45rem;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-500);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.stat-item strong span {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: none;
}
.stat-item > span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.7);
  display: block;
  max-width: 190px;
  margin: 0 auto;
}

/* ============================================
   SPLIT (image + content)
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split--reverse .split-visual { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split-visual { order: 0; }
}
.split-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
}
.split-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split-visual-badge {
  position: absolute;
  bottom: 22px; left: 22px;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 14px;
  align-items: center;
}
[data-theme="dark"] .split-visual-badge { background: rgba(33,34,46,.95); }
.split-visual-badge .material-icons {
  color: var(--accent-500);
  font-size: 32px;
}
.split-visual-badge strong { display: block; font-size: 1rem; color: var(--ink-900); line-height: 1.2; }
.split-visual-badge small { font-size: .8rem; color: var(--ink-500); }

.split-body h2 { margin: 14px 0 22px; }
.split-body p { color: var(--ink-500); margin-bottom: 18px; }
.split-body p:last-of-type { margin-bottom: 30px; }
.split-list { margin: 26px 0 32px; }
.split-list li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  font-size: .96rem;
}
.split-list li .material-icons {
  color: var(--accent-500);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-500), var(--accent-500));
}
.timeline-item {
  position: relative;
  padding: 0 0 42px 60px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: 0; top: 0;
  width: 42px; height: 42px;
  background: var(--brand-900);
  color: var(--accent-500);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 0 6px var(--white);
}
.section--mute .timeline-marker { box-shadow: 0 0 0 6px var(--bg-soft); }
.timeline-content {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: all var(--transition);
}
.timeline-content:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}
.timeline-content h4 { margin-bottom: 6px; }
.timeline-content p { color: var(--ink-500); font-size: .94rem; }

/* ============================================
   ACCORDION (FAQ)
   ============================================ */
.accordion { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.accordion-item.open { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-900);
  text-align: left;
}
.accordion-trigger .material-icons {
  color: var(--brand-500);
  transition: transform var(--transition);
}
.accordion-item.open .accordion-trigger .material-icons { transform: rotate(180deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  color: var(--ink-500);
}
.accordion-content > div { padding: 0 24px 22px; }

/* ============================================
   FORMS
   ============================================ */
.form-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ink-700);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink-900);
  background: var(--white);
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(6, 96, 181, .12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-500); }
.form-check input { margin-top: 3px; }

/* ============================================
   INFO BLOCKS — generic
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.info-tile {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}
.info-tile:hover { border-color: var(--brand-300); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-tile h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.info-tile h4 .material-icons { color: var(--brand-500); font-size: 22px; }
.info-tile p { color: var(--ink-500); font-size: .92rem; }

/* Document list */
.doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  color: var(--ink-700);
  text-decoration: none;
}
.doc-item:hover { border-color: var(--brand-500); background: var(--brand-50); }
.doc-item-icon {
  width: 40px; height: 40px;
  background: var(--brand-50);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--brand-700);
  flex-shrink: 0;
}
.doc-item-body { flex: 1; min-width: 0; }
.doc-item-body strong { display: block; font-size: .94rem; color: var(--ink-900); margin-bottom: 2px; }
.doc-item-body small {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-400);
}
.doc-item .material-icons:last-child { color: var(--ink-400); }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 50% 100%, rgba(242, 183, 5, .15), transparent 60%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 16px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 600px; margin: 0 auto 32px; }
.cta-band .hero-ctas { justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #021a30;
  color: rgba(255,255,255,.78);
  padding: 70px 0 30px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .nav-brand { margin-bottom: 18px; }
.footer-brand .nav-brand-text { display: block; }
.footer-brand .nav-brand-text strong { color: #fff; font-size: .95rem; }
.footer-brand .nav-brand-text small { color: rgba(255,255,255,.55); }
.footer-brand .nav-brand-logo {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
}
.footer-brand p { color: rgba(255,255,255,.65); margin-bottom: 20px; font-size: .92rem; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  color: rgba(255,255,255,.78);
  transition: all var(--transition);
}
.footer-socials a:hover { background: var(--accent-500); color: var(--brand-900); }
.footer-col h5 {
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent-500); }
.footer-col span {
  color: rgba(255,255,255,.7);
}
.footer-claim-book {
  margin-top: 16px;
}
.footer-claim-book img {
  display: block;
  width: min(100%, 90px);
  height: auto;
  object-fit: contain;
}
.footer-col .contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  line-height: 1.5;
}
.footer-col .contact-item .material-icons { color: var(--accent-500); font-size: 18px; margin-top: 2px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom-links a { color: rgba(255,255,255,.55); }
.footer-bottom-links a:hover { color: #fff; }

/* ============================================
   WHATSAPP FLOATING
   ============================================ */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  z-index: 900;
  color: #fff;
  transition: all var(--transition);
  animation: pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, .4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================
   ANIMATIONS — IntersectionObserver
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--transition), transform .8s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 12px; }
.divider-soft { height: 1px; background: var(--ink-100); margin: 30px 0; }
.placeholder-flag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(245, 158, 11, .15);
  color: var(--warning);
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}

/* Pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: var(--radius-full);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pill--accent { background: rgba(242, 183, 5, .14); color: var(--accent-400); }
.pill--success { background: rgba(22, 163, 74, .12); color: var(--success); }

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--ink-100);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab {
  padding: 14px 22px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink-500);
  background: transparent;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
  transition: color var(--transition);
}
.tab:hover { color: var(--ink-900); }
.tab.active { color: var(--brand-900); }
.tab.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent-500);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section labels list */
.checked-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.checked-list li {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-left: 4px solid var(--accent-500);
  border-radius: var(--radius-sm);
  font-size: .95rem;
}
.checked-list li .material-icons {
  color: var(--accent-500);
  flex-shrink: 0;
}

/* Org chart */
.org-tree {
  display: grid;
  gap: 20px;
}
.org-node {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: all var(--transition);
}
.org-node:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.org-node-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--brand-500);
  margin-bottom: 6px;
}
.org-node h4 { font-size: 1.05rem; margin-bottom: 4px; }
.org-node p { color: var(--ink-500); font-size: .9rem; margin: 0; }
.org-node.featured {
  background: var(--brand-900);
  border-color: var(--brand-900);
  color: #fff;
}
.org-node.featured h4 { color: #fff; }
.org-node.featured p { color: rgba(255,255,255,.7); }
.org-node.featured .org-node-title { color: var(--accent-500); }

/* Profile card (director) */
.profile-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  align-items: center;
}
@media (max-width: 640px) {
  .profile-card { grid-template-columns: 1fr; text-align: center; }
  .profile-avatar { margin: 0 auto; }
}
.profile-avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  display: grid; place-items: center;
  color: var(--accent-500);
  font-size: 3rem;
  font-weight: 800;
}
.profile-card h3 { margin-bottom: 6px; }
.profile-card .role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-500);
  margin-bottom: 14px;
}
.profile-card p { color: var(--ink-500); }

/* Table of plan */
.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
}
.curriculum-table th {
  background: var(--brand-900);
  color: #fff;
  text-align: left;
  padding: 14px 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.curriculum-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink-100);
  font-size: .94rem;
}
.curriculum-table tr:last-child td { border-bottom: none; }
.curriculum-table tr:hover td { background: var(--bg-soft); }

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-100);
}
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Contact tile */
.contact-tile {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all var(--transition);
}
.contact-tile:hover { border-color: var(--brand-300); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact-tile-icon {
  width: 48px; height: 48px;
  background: var(--brand-50);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--brand-700);
  flex-shrink: 0;
}
.contact-tile-body strong { display: block; font-size: 1rem; margin-bottom: 4px; color: var(--ink-900); }
.contact-tile-body p { font-size: .9rem; color: var(--ink-500); margin: 0; }
.contact-tile-body a { font-weight: 600; }

/* Print friendly hidden */
@media print {
  .site-header, .site-footer, .wa-float, .hero, .cta-band { display: none; }
}

/* ============================================
   SEGUIMIENTO AL EGRESADO
   ============================================ */
.feature-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.feature-card-link:hover {
  color: inherit;
}
.feature-card-link .btn-link {
  margin-top: 14px;
}
.form-success {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(22, 163, 74, .1);
  color: var(--success);
  font-weight: 700;
  font-size: .9rem;
}
.field-help {
  color: var(--danger);
  font-size: .78rem;
  line-height: 1.35;
}
fieldset {
  border: 0;
  min-width: 0;
}
legend {
  width: 100%;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-900);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}
.graduate-hero {
  position: relative;
  min-height: 720px;
  padding: calc(var(--header-h) + 78px) 0 86px;
  overflow: hidden;
  background: var(--brand-900);
  color: #fff;
}
.graduate-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 48, 89, .95) 0%, rgba(2, 48, 89, .82) 46%, rgba(2, 48, 89, .45) 100%),
    radial-gradient(520px 320px at 80% 15%, rgba(242, 183, 5, .2), transparent 62%);
  z-index: 1;
}
.graduate-hero-media {
  position: absolute;
  inset: 0;
  background: url('https://cdn.pixabay.com/photo/2019/09/20/05/28/ship-4490852_1280.jpg') center/cover no-repeat;
  transform: scale(1.02);
}
.graduate-hero .container {
  position: relative;
  z-index: 2;
}
.graduate-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 54px;
  align-items: center;
}
.graduate-hero-copy h1 {
  color: #fff;
  max-width: 760px;
  margin: 20px 0 22px;
  font-size: 4rem;
}
.graduate-login-card {
  background: rgba(255,255,255,.96);
  color: var(--ink-700);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 32px;
}
.graduate-login-card h2 {
  margin: 18px 0 10px;
  font-size: 1.75rem;
}
.graduate-login-card p {
  color: var(--ink-500);
  margin-bottom: 24px;
}
.graduate-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.graduate-demo-message {
  border-left: 4px solid var(--success);
}
.graduate-process {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 48px;
  align-items: start;
}
.graduate-process-badge {
  min-height: 270px;
  padding: 34px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.graduate-process-badge strong {
  color: #fff;
  font-size: 7rem;
  line-height: .85;
}
.graduate-process-badge span {
  color: var(--accent-500);
  font-size: 1.3rem;
  font-weight: 800;
}
.graduate-process-badge small {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.graduate-process-content h2 {
  margin: 14px 0 26px;
}
.graduate-steps {
  display: grid;
  gap: 14px;
}
.graduate-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.graduate-steps li span {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-500);
  color: var(--brand-900);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.page-hero--graduate {
  background:
    linear-gradient(135deg, rgba(2, 48, 89, .94), rgba(4, 74, 138, .86)),
    url('https://cdn.pixabay.com/photo/2023/09/09/22/34/ship-8243960_1280.jpg') center/cover;
}
.graduate-register-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.graduate-register-note {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 30px;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  background: var(--brand-50);
}
.graduate-register-note h2 {
  margin: 18px 0 14px;
  font-size: 1.75rem;
}
.graduate-register-note p {
  color: var(--ink-500);
}
.graduate-register-note code {
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: rgba(242, 183, 5, .22);
  color: var(--brand-900);
  font-weight: 700;
}
.graduate-register-note .split-list {
  margin-top: 22px;
}
.graduate-register-card {
  box-shadow: var(--shadow-lg);
}

/* ============================================
   RESPONSIVE HARDENING
   ============================================ */
@media (max-width: 760px) {
  :root { --header-h: 68px; }

  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .section-head { margin-bottom: 34px; }
  .lead { font-size: 1rem; }
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.3rem; }

  .nav { gap: 10px; }
  .nav-brand-logo { width: 44px; height: 44px; }
  .nav-cta-primary { display: none; }
  .nav-toggle {
    width: 42px;
    height: 42px;
    background: var(--brand-50);
  }

  .mobile-menu {
    padding: 14px 18px 30px;
  }
  .mobile-menu-cta .btn {
    width: 100%;
    white-space: normal;
  }

  .hero {
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 54px;
  }
  .hero-grid { gap: 34px; }
  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.08;
  }
  .hero-eyebrow {
    align-items: flex-start;
    font-size: .66rem;
    line-height: 1.4;
  }
  .hero-lead {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }
  .hero-ctas .btn,
  .cta-band .hero-ctas .btn {
    width: 100%;
    white-space: normal;
  }
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 22px;
  }
  .hero-meta-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    align-items: center;
  }
  .hero-meta-item strong {
    margin: 0;
    font-size: 1.65rem;
  }
  .hero-visual { min-height: 320px; }
  .hero-card-main { padding: 24px; }
  .hero-card-float {
    right: 12px;
    bottom: -18px;
    width: min(230px, calc(100% - 24px));
  }

  .page-hero {
    padding: calc(var(--header-h) + 42px) 0 56px;
  }
  .breadcrumb {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .programs-grid,
  .feature-grid,
  .info-grid,
  .doc-list {
    grid-template-columns: 1fr;
  }
  .program-card-body,
  .feature-card,
  .form-card,
  .profile-card {
    padding: 24px;
  }
  .graduate-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 42px) 0 58px;
  }
  .graduate-hero-grid,
  .graduate-process,
  .graduate-register-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .graduate-hero-copy h1 {
    font-size: 2.35rem;
  }
  .graduate-login-card {
    padding: 24px;
  }
  .graduate-form-actions .btn {
    width: 100%;
    white-space: normal;
  }
  .graduate-process-badge {
    min-height: 180px;
  }
  .graduate-process-badge strong {
    font-size: 5rem;
  }
  .graduate-steps li {
    grid-template-columns: 36px 1fr;
    padding: 16px;
  }
  .graduate-steps li span {
    width: 36px;
    height: 36px;
  }
  .graduate-register-note {
    position: static;
    padding: 24px;
  }
  .program-card-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    text-align: center;
  }
  .program-card-stat strong { font-size: 1.05rem; }
  .program-card-stat span { font-size: .56rem; }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px;
  }
  .stat-item {
    min-height: 118px;
    padding: 18px 10px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.06);
  }
  .section:not(.stats-band) .stat-item,
  .section--tight .stat-item {
    background: var(--bg-soft);
  }
  .stat-item strong {
    min-height: 2.35rem;
    font-size: 2rem;
  }
  .stat-item > span {
    font-size: .62rem;
    line-height: 1.35;
  }

  .split-visual { aspect-ratio: 16 / 11; }
  .split-visual-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px;
  }
  .timeline-content,
  .accordion-trigger,
  .accordion-content > div,
  .info-tile,
  .contact-tile {
    padding: 18px;
  }
  .curriculum-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .footer-bottom {
    display: grid;
    text-align: center;
    justify-content: stretch;
  }
  .footer-bottom-links { justify-content: center; }
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2rem; }
  .btn { padding-left: 18px; padding-right: 18px; }
  .stats-grid { grid-template-columns: 1fr !important; }
  .program-card-stats { grid-template-columns: 1fr; }
  .program-card-stat {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    align-items: center;
    text-align: left;
  }
  .program-card-stat strong,
  .program-card-stat span { margin: 0; }
}
