/* Escuela de Aviación Roberto Fierro — estilos compartidos (mobile first) */

:root {
  --bg: #ffffff;
  --surface: #f2f2ef;
  --surface-2: #e7e7e3;
  --ink: #111111;
  --muted: #555555;
  --dark: #0f0f0f;
  --dark-2: #1b1b1b;
  --dark-ink: #ffffff;
  --dark-muted: #a9a9a9;
  --accent: #ff7a1f;        /* naranja de seguridad aeronáutica, como en los indicadores */
  --accent-ink: #0f0f0f;

  --font: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1.6rem + 5.6vw, 7rem);

  --gutter: 16px;
  --section: clamp(96px, 12vw, 200px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
  --r: 14px;        /* radio único de tarjetas e imágenes */
  --r-lg: 22px;     /* hero y bloques grandes */
}
@media (min-width: 768px) { :root { --r: 18px; --r-lg: 28px; } }
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 100; }
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }

/* ---------- Type helpers ---------- */
.h-display { font-size: var(--step-display); letter-spacing: -0.045em; line-height: .95; font-weight: 600; }
.h-section { font-size: var(--step-head); letter-spacing: -0.035em; line-height: 1; }
.h-card { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.15; font-weight: 600; }
.lead { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.01em; }
/* cifras: el número primero, su etiqueta debajo */
.stats dl > div, .facts div, .readout div:not(.wide) { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dd, .facts dd, .readout dd { margin: 0 0 6px; }
.statement { font-size: clamp(1.375rem, 1.05rem + 1.6vw, 2.25rem); line-height: 1.22; letter-spacing: -0.025em; font-weight: 500; max-width: 30ch; }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
.measure { max-width: 46ch; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 6px 6px 6px 24px;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 1rem; text-decoration: none; letter-spacing: -0.005em;
  transition: transform .25s var(--ease-out), background-color .2s;
}
.btn:hover { background: #ff9447; }
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: #333; }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--surface); }
.btn .arrow {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-ink); color: var(--accent);
  transition: transform .35s var(--ease-out);
}
.btn .arrow svg { width: 16px; height: 16px; }
.btn--ink .arrow { background: var(--accent); color: var(--accent-ink); }
.btn--light .arrow { background: var(--ink); color: var(--bg); }
.btn:hover .arrow { transform: rotate(-45deg); }
.btn--plain { padding: 12px 24px; }
/* WhatsApp: verde para distinguirlo de las demás acciones */
.btn--wa { background: #25d366; color: #0b2e17; padding: 12px 22px 12px 18px; }
.btn--wa:hover { background: #3ee07a; }
.btn--wa .wa-icon { width: 22px; height: 22px; flex: none; }
.btn--wa .arrow { background: #0b2e17; color: #25d366; }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; padding: 12px 24px; }
.btn--ghost:hover { background: rgba(255,255,255,.24); }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  padding-bottom: 3px; min-height: 44px;
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform .35s var(--ease-out); }
.link:hover::after, .link:focus-visible::after { transform: none; }

/* ---------- Banda de promoción ---------- */
.promo { background: var(--accent, #ff7a1f); color: #0f0f0f; position: relative; z-index: 31; }
.promo[hidden] { display: none; }
.promo__link {
  display: flex; align-items: center; justify-content: center; gap: 10px 14px; flex-wrap: wrap;
  min-height: 44px; padding: 9px var(--gutter); text-decoration: none; color: inherit;
  font-size: .8125rem; letter-spacing: -0.01em; line-height: 1.35; text-align: center;
}
@media (min-width: 640px) { .promo__link { font-size: .875rem; letter-spacing: 0; } }
.promo__tag {
  flex: none; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: #0f0f0f; color: #fff; padding: 4px 9px; border-radius: 999px;
}
.promo__text b { font-weight: 700; }
.promo__text--long, .promo__tag { display: none; }
.promo__cta { display: none; align-items: center; gap: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.promo__cta svg { width: 11px; height: 11px; }
.promo__link:hover .promo__cta svg { transform: translate(2px, -2px); }
.promo__cta svg { transition: transform .25s var(--ease-out); }
@media (min-width: 640px) { .promo__text--long, .promo__tag { display: inline; } .promo__text--short { display: none; } }
@media (min-width: 900px) { .promo__link { font-size: .9375rem; } .promo__cta { display: inline-flex; } }

/* Con el menú móvil abierto, la banda sale de arriba y aparece como tarjeta dentro del menú */
.nav-open .promo { display: none; }
.mobile-menu .promo-card {
  display: grid; gap: 4px; margin-bottom: 20px; padding: 12px 14px; max-width: 320px;
  background: var(--accent); color: #fff; border-radius: 12px;
  font-size: .8125rem; font-weight: 500; letter-spacing: 0; line-height: 1.35; text-decoration: none;
}
.mobile-menu .promo-card[hidden] { display: none; }
.mobile-menu .promo-card__tag { font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.mobile-menu .promo-card__text { font-size: .8125rem; }
.mobile-menu .promo-card__text b { font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 30;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  color: var(--dark-ink);
}
.site-header--solid { position: relative; color: var(--ink); background: var(--bg); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__logo { height: 50px; width: auto; display: block; }
.brand__logo--light { display: none; }
.site-header--dark .brand__logo--ink, .nav-open .brand__logo--ink { display: none; }
.site-header--dark .brand__logo--light, .nav-open .brand__logo--light { display: block; }
.footer-logo { width: 150px; height: auto; margin-bottom: 32px; }
@media (min-width: 768px) { :root { --header-h: 88px; } .brand__logo { height: 68px; } }
.brand__name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; }
.brand__sub { display: block; font-weight: 400; font-size: .8125rem; letter-spacing: 0; margin-top: 3px; opacity: .85; }

.nav { display: none; }
.nav a { text-decoration: none; font-size: .9375rem; font-weight: 500; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; cursor: pointer; font-weight: 600;
}
.nav-toggle__bars { width: 22px; height: 12px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }
.nav-open .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 25; background: var(--dark); color: var(--dark-ink);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s;
}
.nav-open .mobile-menu { visibility: visible; opacity: 1; }
.nav-open .site-header { color: var(--dark-ink); position: fixed; }
.mobile-menu ul { list-style: none; display: grid; gap: 6px; }
.mobile-menu a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -0.035em; text-decoration: none; line-height: 1.15; }
.mobile-menu .small { color: var(--dark-muted); }
body.nav-open { overflow: hidden; }

/* Hamburguesa flotante en móvil: aparece al bajar y sigue al usuario */
@media (max-width: 1023.98px) {
  .menu-float .nav-toggle {
    position: fixed; top: 14px; right: var(--gutter); z-index: 40;
    width: 48px; height: 48px; min-height: 0; padding: 0; gap: 0;
    justify-content: center; border-radius: 999px;
    background: var(--dark); color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
    animation: menu-float-in .35s var(--ease-out);
  }
  .menu-float .nav-toggle__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .menu-float .nav-toggle__bars { width: 20px; height: 8px; }
  .menu-float .nav-toggle__bars::after { top: 6px; }
  .menu-float.nav-open .nav-toggle__bars::before, .menu-float.nav-open .nav-toggle__bars::after { top: 3px; }
}
@keyframes menu-float-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .menu-float .nav-toggle { animation: none; } }

@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
  .nav-toggle, .mobile-menu { display: none; }
}

/* ---------- Hero (home) — tarjeta redondeada con margen ---------- */
.hero-shell { padding: 0 var(--gutter); }
.hero {
  position: relative; min-height: calc(100svh - var(--header-h) - var(--gutter));
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--dark-ink); background: var(--dark); overflow: hidden; border-radius: var(--r-lg);
}
.hero--center .hero__body { text-align: center; justify-items: center; padding-top: clamp(56px, 12vh, 140px); }
.hero--center h1 { margin-inline: auto; }
.hero--center .hero__text { margin-inline: auto; }
.hero--center .hero__actions { justify-content: center; }
.hero__foot { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; padding: 0 clamp(16px, 3vw, 40px) clamp(16px, 3vw, 36px); }
.hero__fleet { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; font-size: clamp(1rem, .9rem + .5vw, 1.375rem); letter-spacing: -0.02em; }
.hero__fleet li { opacity: .92; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { /* scrim neutro bajo el texto — taste-skill-ignore */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,.3) 65%, rgba(0,0,0,.72) 100%);
}
.hero__body {
  position: relative; width: 100%;
  padding: 48px clamp(16px, 3vw, 40px) 32px;
  display: grid; gap: 28px;
}
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 6vw, 6.5rem); letter-spacing: -0.045em; line-height: .95; max-width: 13ch; }
.hero__text { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; margin-top: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 32px; }
.hero__card {
  display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center;
  background: var(--bg); color: var(--ink); padding: 8px 18px 8px 8px; text-decoration: none; max-width: 340px;
  border-radius: var(--r); text-align: left;
  transition: transform .3s var(--ease-out);
}
.hero__card:hover { transform: translateY(-4px); }
.hero__card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: calc(var(--r) - 6px); }
.hero__card span { font-weight: 600; line-height: 1.25; font-size: .9375rem; }
.hero__card small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; margin-top: 4px; }

/* ---------- Header sólido (ref. 2): menú · marca · acción ---------- */
.site-header { position: relative; color: var(--ink); background: var(--bg); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.header-actions .tel { display: none; font-weight: 500; font-size: .9375rem; text-decoration: none; }
@media (min-width: 1024px) { .header-actions .tel { display: inline; } }

/* ---------- Cifras (ref. 2) ---------- */
.stats { display: grid; gap: 40px; }
.stats h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); max-width: 14ch; }
.stats__note { margin-top: 18px; color: var(--muted); max-width: 36ch; }
.stats dl { display: grid; grid-template-columns: 1fr 1fr; gap: 72px 20px; margin: 0; }
.stats dt { font-size: var(--step-small); color: var(--muted); }
.stats dd { margin: 6px 0 0; font-size: clamp(2.5rem, 1.8rem + 2.8vw, 4.25rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd small { font-size: .45em; letter-spacing: -0.02em; margin-left: 4px; }
@media (min-width: 640px) { .stats dl { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) {
  .stats { grid-template-columns: 5fr 7fr; align-items: start; }
  .stats dl { grid-template-columns: repeat(4, 1fr); }
  .stats dl > div { padding-left: 4px; }
}

/* radio común */
.feature-tabs__media, .program, .program__thumb, .program__thumbs img, .slide__img, .admit__pics img,
.split-media img, .plane, .steps li, .form, .facts div, .readout div, .subject-list li, .tab-list button,
.page-hero__media img, .bleed, .map, .footer-grid, .carousel-ctrl button, .chip span, .planner select { border-radius: var(--r); }
.tab-list button, .subject-list li, .steps li, .facts div, .readout div { border-radius: calc(var(--r) - 6px); }
.carousel-ctrl button, .chip span { border-radius: 999px; }
.bleed-shell { padding-inline: var(--gutter); }
.nav-open .site-header { background: var(--dark); z-index: 30; inset: 0 0 auto 0; }

/* ---------- Bento oscuro (ref. 2) ---------- */
.center-statement { text-align: center; margin-inline: auto; max-width: 26ch; }
.center-statement + .lead { text-align: center; margin: 20px auto 0; max-width: 46ch; color: var(--muted); }
.bento { display: grid; gap: 8px; margin-top: clamp(40px, 6vw, 80px); }
.tile { background: var(--dark); color: var(--dark-ink); border-radius: var(--r); overflow: hidden; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 420px; position: relative; }
.tile p { color: var(--dark-muted); font-size: 1rem; }
.tile h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.tile__img { margin-top: auto; border-radius: calc(var(--r) - 6px); overflow: hidden; position: relative; }
.tile__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.tile--photo { padding: 0; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chip-cap { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(15,15,15,.72); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: var(--step-small); white-space: nowrap; }
.tile .big { font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.dots { display: grid; grid-template-columns: repeat(14, 1fr); gap: 5px; margin-top: auto; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: #333; }
.dots i.m { background: #fff; }
.dots i.b { background: var(--accent); }
.dots i.n { background: #8fb3ff; }
.dots-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--step-small); color: var(--dark-muted); }
.dots-key span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: #fff; }
.dots-key .kb::before { background: var(--accent); }
.dots-key .kn::before { background: #8fb3ff; }
.dots-key .ks::before { background: #333; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); } .tile { min-height: 520px; } }

@media (min-width: 900px) {
  .hero__body { padding-bottom: 48px; }
}

/* titular en líneas con máscara (la animación la hace GSAP) */
.mask-line { display: block; overflow: hidden; padding-bottom: .06em; }
.mask-line > span { display: block; }

/* ---------- Hero del inicio: planeta ---------- */
.site-header--dark { background: var(--dark); color: var(--dark-ink); }
.site-header--dark .btn--ink { background: var(--bg); color: var(--ink); }
.site-header--dark .brand__mark circle:first-child { fill: #fff; }
.site-header--dark .brand__mark path:first-of-type { stroke: #0f0f0f; }
.site-header--dark .brand__mark circle:last-of-type { fill: #fff; stroke: #0f0f0f; }

.globe-hero {
  position: relative; overflow: hidden; background: var(--dark); color: var(--dark-ink);
  min-height: calc(100svh - var(--header-h));
  display: grid; grid-template-columns: 1fr; align-content: start;
  padding: 0 var(--gutter) 24px;
}
.globe-hero__word {
  position: absolute; left: 0; right: 0; top: 2svh; margin: 0; text-align: center; pointer-events: none;
  font-size: 36vw; font-weight: 600; letter-spacing: -0.04em; line-height: .8; color: #1f1f1f; white-space: nowrap;
}
.globe-hero__word span { display: inline-block; }
.globe-hero__side { position: relative; z-index: 2; }
.globe-hero__left { padding-top: 20vw; }
.globe-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem); letter-spacing: -0.045em; line-height: .98; }
.globe-hero h1 .mask-line > span { white-space: nowrap; }
.globe-hero__text { color: #d4d4d4; margin-top: 22px; max-width: 36ch; font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.45; }
.globe-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.globe-hero__actions .link { color: var(--accent); }
.globe-hero .globe-cta .btn { background: var(--accent); color: var(--accent-ink); }
.globe-hero .globe-cta:hover .btn { background: #ff9447; }
.globe-hero .globe-cta__icon { background: var(--accent); color: var(--accent-ink); }
.globe-hero__contact { display: grid; gap: 4px; margin-top: 40px; }
.globe-hero__contact a { font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); font-weight: 600; text-decoration: none; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.globe-hero__contact a:hover { color: var(--accent); }
.globe-hero__contact p { color: var(--dark-muted); margin-top: 6px; font-size: 1rem; }

/* el planeta sale por la derecha y se desvanece con un degradado */
.globe-hero__stage {
  position: relative; z-index: 1; aspect-ratio: 1;
  width: 128vw; justify-self: end; margin: -6vw -44vw 0 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 38%, rgba(0,0,0,.5) 54%, transparent 68%); /* taste-skill-ignore */
          mask-image: linear-gradient(90deg, #000 0%, #000 38%, rgba(0,0,0,.5) 54%, transparent 68%); /* taste-skill-ignore */
}
@media (min-width: 1024px) {
  .globe-hero__stage {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 44%, rgba(0,0,0,.55) 60%, transparent 76%); /* taste-skill-ignore */
            mask-image: linear-gradient(90deg, #000 0%, #000 44%, rgba(0,0,0,.55) 60%, transparent 76%); /* taste-skill-ignore */
  }
}
.globe-hero__stage canvas { position: absolute; inset: 0; margin: auto; }
.globe-cta { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.globe-cta .btn { min-height: 54px; padding: 12px 26px; font-size: 1.0625rem; }
.globe-cta__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); transition: transform .4s var(--ease-out); }
.globe-cta:hover .globe-cta__icon { transform: rotate(-30deg); }
.globe-cta__icon svg { width: 22px; height: 22px; }
.globe-hero__foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 32px; padding-top: 18px; color: var(--dark-muted); font-size: .9375rem; }
.globe-hero__foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; color: #fff; font-weight: 600; }
.globe-hero__foot a { color: #fff; }
@media (min-width: 1024px) {
  .globe-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto; align-items: center; column-gap: 24px; padding-inline: clamp(32px, 5vw, 96px); }
  .globe-hero__word { font-size: 30vw; top: -4vw; }
  .globe-hero__left { padding-top: 0; grid-column: 1; grid-row: 1; }
  .globe-hero__stage { grid-column: 2; grid-row: 1; width: min(66vw, 118svh); margin: 0 calc(-1 * clamp(32px, 5vw, 96px) - 14vw) 0 0; }
  .globe-hero__foot { grid-column: 1 / -1; grid-row: 2; margin-top: 0; padding-right: 150px; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-top: clamp(40px, 6vw, 96px); }
.page-hero__grid { display: grid; gap: 24px; }
.page-hero h1 { font-size: var(--step-display); letter-spacing: -0.045em; line-height: .95; max-width: 14ch; }
.page-hero__media { margin-top: clamp(40px, 6vw, 80px); }
.page-hero__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 768px) { .page-hero__media img { aspect-ratio: 21/9; } }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: 7fr 5fr; align-items: end; } }
.page-hero { display: flex; flex-direction: column; }
.page-hero__grid { order: 0; }
.crumbs { order: 1; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9375rem; color: var(--muted); margin: 28px 0 0; list-style: none; }
.page-hero__media { order: 2; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Intro statement + tabs ---------- */
.split-head { display: grid; gap: 20px; }
@media (min-width: 1024px) { .split-head { grid-template-columns: 4fr 8fr; align-items: start; } }
.split-head .h-section { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }

.feature-tabs { display: grid; gap: 28px; margin-top: clamp(48px, 7vw, 96px); }
.feature-tabs__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface); }
.feature-tabs__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); }
.feature-tabs__media img.is-active { opacity: 1; transform: none; }
.feature-tabs__panel { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.feature-tabs__copy { min-height: 7.5em; }
@media (min-width: 1024px) { .feature-tabs__copy { min-height: 9.5em; } }
.feature-tabs__copy h3 { font-size: var(--step-lead); margin-bottom: 14px; }
.tab-list { list-style: none; display: grid; gap: 4px; }
.tab-list button {
  width: 100%; text-align: left; min-height: 52px; padding: 12px 16px;
  background: var(--surface); border: 0; cursor: pointer; font-weight: 500; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background-color .25s, color .25s;
}
.tab-list button:hover { background: var(--surface-2); color: var(--ink); }
.tab-list button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tab-list button .bar { width: 28px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.tab-list button[aria-selected="true"] .bar { transform: none; background: var(--accent); }
@media (min-width: 1024px) {
  .feature-tabs { grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 64px); }
  .feature-tabs__media { aspect-ratio: 16/11; }
}

/* ---------- Full-bleed picture ---------- */
.bleed { position: relative; overflow: hidden; }
.bleed img { width: 100%; height: clamp(360px, 70vw, 92svh); object-fit: cover; }
.bleed figcaption { position: absolute; left: calc(var(--gutter) + 8px); bottom: 16px; color: #fff; font-size: var(--step-small); background: rgba(0,0,0,.45); padding: 6px 10px; }
.parallax img { will-change: transform; }

/* ---------- Programs list ---------- */
.programs { margin-top: clamp(48px, 6vw, 88px); display: grid; gap: 4px; }
.program {
  display: grid; gap: 18px; padding: 24px 0;
  text-decoration: none;
  border-top: 0;
}
.program + .program { background: none; }
.program__name { display: flex; align-items: center; gap: 14px; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.program__name svg { width: 30px; height: 30px; flex: none; transition: transform .4s var(--ease-out); }
.program:hover .program__name svg { transform: rotate(-12deg) translateX(4px); }
.program__desc { color: var(--muted); max-width: 40ch; }
.program__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--step-small); font-weight: 500; margin-top: 10px; color: var(--ink); }
.program__thumb { overflow: hidden; background: var(--surface); }
.program__thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .8s var(--ease-out); }
.program:hover .program__thumb img { transform: scale(1.05); }
.program__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.program__thumbs img { aspect-ratio: 4/3; }
.program { background: var(--surface); padding: 20px; }
@media (min-width: 900px) {
  .program { grid-template-columns: 4fr 5fr 3fr; align-items: center; padding: 20px 20px 20px 28px; gap: 32px; }
  .program--wide { grid-template-columns: 1fr; }
  .program--wide .program__top { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 32px; align-items: start; }
  .program__thumbs { gap: 8px; }
}

/* ---------- Marquee (fleet strip) ---------- */
.marquee { overflow: hidden; background: var(--dark); color: var(--dark-ink); padding-block: 28px; }
.marquee__track { display: flex; width: max-content; gap: 56px; animation: marquee 38s linear infinite; }
.marquee__track span { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem); font-weight: 600; letter-spacing: -0.035em; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: ""; width: 14px; height: 14px; background: var(--accent); border-radius: 50%; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Carousel ---------- */
.carousel-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.carousel-head .measure { margin-top: 16px; }
.carousel-ctrl { display: flex; gap: 6px; }
.carousel-ctrl button {
  width: 52px; height: 52px; border: 0; background: var(--surface); cursor: pointer; display: grid; place-items: center;
  transition: background-color .2s, transform .2s var(--ease-out);
}
.carousel-ctrl button:hover { background: var(--ink); color: var(--bg); }
.carousel-ctrl button:active { transform: scale(.94); }
.carousel {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 40px var(--gutter) 0; scroll-padding-inline: 0; border-radius: var(--r);
  cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging a { pointer-events: none; }
.slide { flex: 0 0 78vw; scroll-snap-align: start; text-decoration: none; }
.slide__img { overflow: hidden; background: var(--surface); }
.slide img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .8s var(--ease-out); -webkit-user-drag: none; user-select: none; }
.slide:hover img { transform: scale(1.04); }
.slide__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-weight: 600; }
.slide p { color: var(--muted); margin-top: 6px; font-size: 1rem; max-width: 34ch; }
@media (min-width: 768px) { .slide { flex-basis: 42vw; } }
@media (min-width: 1200px) { .slide { flex-basis: 27vw; } .carousel { gap: 12px; } }

/* ---------- Planner (live thing) ---------- */
.planner { background: var(--dark); color: var(--dark-ink); }
.planner__grid { display: grid; gap: 40px; }
.planner .muted { color: var(--dark-muted); }
.planner fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.planner legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; cursor: pointer;
  background: var(--dark-2); color: var(--dark-ink); font-weight: 500;
  transition: background-color .2s, color .2s, transform .2s var(--ease-out);
}
.chip span:hover { background: #2a2a2a; }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.chip input:disabled + span { opacity: .45; cursor: not-allowed; }
.planner select {
  min-height: 48px; padding: 10px 14px; background: var(--dark-2); color: var(--dark-ink); border: 0; font: inherit; font-weight: 500;
}
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.readout div { background: var(--dark-2); padding: 20px; }
.readout dt { color: var(--dark-muted); font-size: var(--step-small); }
.readout dd { margin: 6px 0 0; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.readout .wide { grid-column: 1 / -1; background: var(--accent); color: var(--accent-ink); }
.readout .wide dt { color: var(--accent-ink); }
.planner__note { margin-top: 18px; }
@media (min-width: 1024px) { .planner__grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); align-items: start; } }

/* ---------- Admissions steps ---------- */
.admit__pics { display: grid; gap: 8px; margin-top: clamp(40px, 6vw, 80px); }
.admit__pics img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 768px) { .admit__pics { grid-template-columns: 5fr 7fr; } .admit__pics img { aspect-ratio: auto; height: clamp(300px, 34vw, 520px); } }
@media (min-width: 768px) { .admit__pics--3 { grid-template-columns: repeat(3, 1fr); } }
.steps { list-style: none; display: grid; gap: 4px; margin-top: 8px; counter-reset: none; }
.steps li { background: var(--surface); padding: 20px; display: grid; gap: 6px; }
.steps strong { font-size: 1.125rem; letter-spacing: -0.01em; }
.steps p { color: var(--muted); font-size: 1rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } .steps li { padding: 24px 20px 28px; } }

/* ---------- Generic two-column text blocks ---------- */
.cols { display: grid; gap: 40px; }
@media (min-width: 1024px) { .cols { grid-template-columns: 4fr 8fr; gap: clamp(40px, 5vw, 96px); } }
.prose p + p { margin-top: 1em; }
.prose { max-width: 62ch; }

.subject-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 4px; }
.subject-list li { background: var(--surface); padding: 14px 18px; font-weight: 500; }
@media (min-width: 640px) { .subject-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .subject-list.three { grid-template-columns: repeat(3, 1fr); } }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.facts div { background: var(--surface); padding: 20px; }
.facts dt { font-size: var(--step-small); color: var(--muted); }
.facts dd { margin: 6px 0 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }

.split-media { display: grid; gap: 32px; align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 1024px) { .split-media { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 112px); } .split-media--rev > :first-child { order: 2; } }

.band-dark { background: var(--dark); color: var(--dark-ink); }
.band-dark .muted { color: var(--dark-muted); }
.band-surface { background: var(--surface); }
.band-surface .subject-list li, .band-surface .facts div, .band-surface .steps li { background: var(--bg); }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.check-list li::before { content: ""; width: 10px; height: 10px; background: var(--accent); margin-top: .5em; }

/* Fleet */
.fleet { display: grid; gap: 4px; }
.plane { display: grid; background: var(--surface); }
.plane img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.plane__body { padding: 24px; display: grid; gap: 10px; }
.plane__name { font-size: var(--step-head); letter-spacing: -0.04em; font-weight: 600; line-height: 1; }
.plane dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 12px 0 0; }
.plane dt { font-size: var(--step-small); color: var(--muted); }
.plane dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) {
  .plane { grid-template-columns: 7fr 5fr; }
  .plane:nth-child(even) img { order: 2; }
  .plane img { height: 100%; aspect-ratio: auto; min-height: 420px; }
  .plane__body { padding: clamp(28px, 4vw, 64px); align-content: center; }
}

/* Contact */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 112px); } }
.contact-lines { display: grid; gap: 28px; }
.contact-lines dt { font-size: var(--step-small); color: var(--muted); margin-bottom: 4px; }
.contact-lines dd { margin: 0; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.contact-lines a { text-decoration: none; }
/* datos de contacto en tarjetas */
.cinfo { display: grid; gap: 8px; }
.cinfo__card {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none;
  transition: background-color .25s, transform .3s var(--ease-out);
}
a.cinfo__card:hover { background: var(--surface-2); transform: translateY(-2px); }
.cinfo__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.cinfo__icon svg { width: 22px; height: 22px; }
.cinfo__body { display: grid; gap: 4px; min-width: 0; }
.cinfo__label { font-size: .875rem; color: var(--muted); }
.cinfo__value { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; letter-spacing: -0.01em; }
.cinfo__value--sm { font-size: 1rem; font-weight: 500; line-height: 1.4; }
.cinfo__go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: transform .35s var(--ease-out); }
.cinfo__go svg { width: 14px; height: 14px; }
a.cinfo__card:hover .cinfo__go { transform: rotate(-45deg); }
.cinfo__phones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cinfo__phones a { padding: 8px 14px; border-radius: 999px; background: var(--bg); font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.cinfo__phones a:hover { background: var(--ink); color: var(--bg); }
.cinfo__card--wa { background: #25d366; color: #0b2e17; }
a.cinfo__card--wa:hover { background: #3ee07a; }
.cinfo__card--wa .cinfo__icon { background: #0b2e17; color: #25d366; }
.cinfo__card--wa .cinfo__label { color: #0b2e17; opacity: .75; }
.cinfo__card--wa .cinfo__go { background: #0b2e17; color: #25d366; }
.cinfo__card--wa .cinfo__icon .wa-icon { width: 24px; height: 24px; }
.cinfo__card--dark { background: var(--dark); color: var(--dark-ink); }
.cinfo__card--dark .cinfo__icon { background: var(--accent); color: var(--accent-ink); }
.cinfo__card--dark .cinfo__label { color: var(--dark-muted); }
.cinfo__rows { display: grid; gap: 4px; margin-top: 2px; }
.cinfo__rows b { font-weight: 600; margin-right: 6px; }
.cinfo__card--dark .cinfo__rows span:last-child { color: var(--accent); }

.form { display: grid; gap: 16px; background: var(--surface); padding: clamp(20px, 3vw, 40px); }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 1rem; }
.form input, .form select, .form textarea {
  font: inherit; min-height: 48px; padding: 12px 14px; border: 1px solid #c9c9c4; background: var(--bg); color: var(--ink); border-radius: 0;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.map { width: 100%; height: clamp(320px, 45vw, 520px); border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-ink); padding-top: clamp(72px, 9vw, 140px); }
.site-footer .muted { color: var(--dark-muted); }
.footer-top { display: grid; gap: 40px; }
.footer-top h2 { font-size: clamp(2rem, 1.3rem + 3.2vw, 4.25rem); letter-spacing: -0.04em; line-height: 1; max-width: 16ch; }
.footer-top p { color: var(--dark-muted); max-width: 40ch; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-top: clamp(56px, 8vw, 120px); padding-block: 36px; background: var(--dark-2); padding-inline: 20px; }
.footer-grid h3 { font-size: var(--step-small); font-weight: 500; color: var(--dark-muted); letter-spacing: 0; margin-bottom: 12px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; overflow-wrap: anywhere; }
.footer-grid > div:nth-child(2) { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-grid > div:nth-child(2) { grid-column: auto; } }
.footer-grid a:hover { color: var(--accent); }
.footer-grid a.nobreak-email { overflow-wrap: normal; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social__btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #2b2b2b; color: #fff; transition: background-color .25s, color .25s, transform .3s var(--ease-out); }
.social__btn svg { width: 22px; height: 22px; }
.social__btn:hover, .social__btn:focus-visible { background: var(--accent); color: var(--accent-ink) !important; transform: translateY(-2px); }
.footer-big { font-size: clamp(2.4rem, 1rem + 6.6vw, 8.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; padding-block: clamp(48px, 7vw, 100px) 24px; text-decoration: none; display: block; overflow-wrap: anywhere; }
.footer-big:hover { color: var(--accent); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 96px; font-size: var(--step-small); color: var(--dark-muted); }
.footer-meta a { color: var(--dark-muted); }
.credits { font-size: 1rem; color: var(--dark-muted); padding-bottom: 96px; max-width: 70ch; line-height: 1.5; }
.credits a { color: var(--dark-muted); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); padding-inline: 32px; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 7fr 5fr; align-items: end; } }

.page-hero { position: relative; }

/* ---------- Scroll gauge: indicador de alabeo ---------- */
.gauge {
  position: fixed; right: 12px; bottom: 12px; z-index: 40;
  width: 64px; height: 52px; padding: 4px 4px 3px;
  background: var(--dark); color: #fff; border: 0; cursor: pointer;
  border-radius: 32px 32px 8px 8px;
  display: grid; place-items: center;
  /* oculto en reposo: aparece mientras haces scroll */
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: transform .35s var(--ease-out), opacity .35s;
}
.gauge.is-visible, .gauge:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.gauge.is-visible:hover { transform: translateY(-2px); }
.gauge.is-visible:active { transform: scale(.95); }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge .ticks line { stroke: #d9d9d9; stroke-width: 1.4; stroke-linecap: round; }
.gauge .ticks line.major { stroke: #fff; stroke-width: 1.8; }
.gauge .track { fill: none; stroke: #3a3a3a; stroke-width: 4; }
.gauge .fill { fill: none; stroke: var(--accent); stroke-width: 4; }
.gauge .plane { transform-origin: 60px 58px; transition: transform .25s linear; }
.gauge .plane * { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gauge .pointer { fill: var(--accent); transform-origin: 60px 58px; transition: transform .25s linear; }
.gauge .readout-txt { fill: #fff; font: 600 16px var(--font); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .gauge { width: 80px; height: 64px; right: 18px; bottom: 18px; border-radius: 40px 40px 10px 10px; } }

/* ==========================================================
   Fotos: siempre llenan su espacio. Se recortan y agrandan (cover),
   nunca se estiran ni se deforman, y no dejan huecos.
   ========================================================== */
main img, main video { object-fit: cover; }
.program__thumbs img, .program__thumb img, .admit__pics img, .split-media img, .plane img,
.page-hero__media img, .tile__img img, .slide img, .feature-tabs__media img { width: 100%; object-fit: cover; }
.split-media figure img { aspect-ratio: 4 / 5; }
.tile__img { flex: 1 1 auto; min-height: 220px; display: flex; }
.tile__img img { height: 100%; aspect-ratio: auto; flex: 1; min-height: 220px; }
.bleed video { display: block; }

/* ---------- Inicios de clases: marzo y septiembre ---------- */
.intakes { background: var(--dark); color: var(--dark-ink); }
.intakes__grid { display: grid; gap: 40px; }
.intakes__lead { color: #cfcfcf; margin-top: 20px; max-width: 36ch; font-size: var(--step-lead); line-height: 1.4; }
.intakes__cards { display: grid; gap: 8px; }
.intake { position: relative; background: var(--dark-2); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 220px; }
.intake { container-type: inline-size; }
.intake__month { font-size: clamp(1.75rem, 16cqi, 3.25rem); font-weight: 600; letter-spacing: -0.04em; line-height: .95; white-space: nowrap; }
.intake__month span { display: block; color: var(--dark-muted); font-weight: 500; }
.intake__count { font-size: 1.25rem; font-weight: 600; }
.intake__note { color: var(--dark-muted); font-size: 1rem; }
.intake__flag { order: -1; margin-bottom: auto; padding-bottom: 16px; font-weight: 600; font-size: .9375rem; display: inline-flex; align-items: center; gap: 8px; }
.intake__flag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 2.4s ease-in-out infinite; }
.intake.is-next { background: var(--accent); color: var(--accent-ink); }
.intake.is-next .intake__month span, .intake.is-next .intake__note { color: rgba(15,15,15,.7); }
@media (min-width: 640px) { .intakes__cards { grid-template-columns: 1fr 1fr; } .intake { min-height: 300px; } }
@media (min-width: 1024px) { .intakes__grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); align-items: center; } }

/* ---------- Plan de estudios: tablero de salidas ---------- */
.plan { background: var(--dark); color: var(--dark-ink); }
.plan__head { display: grid; gap: 28px; margin-bottom: clamp(32px, 4vw, 56px); }
.plan__lead { color: #cfcfcf; margin-top: 16px; max-width: 42ch; font-size: var(--step-lead); line-height: 1.35; }
.plan__meta { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 0; }
.plan__meta div { display: flex; flex-direction: column-reverse; }
.plan__meta dt { color: var(--dark-muted); font-size: var(--step-small); }
.plan__meta dd { margin: 0 0 4px; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__meta [data-clock] { color: var(--accent); }
@media (min-width: 1024px) { .plan__head { grid-template-columns: 6fr 6fr; align-items: end; } .plan__meta { justify-content: flex-end; } }

.board { background: #151515; border-radius: var(--r); padding: clamp(10px, 1.6vw, 20px); }
.board__labels { display: none; }
.board__list { list-style: none; display: grid; gap: 4px; }
.board__list li {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "code status" "name name";
  gap: 8px 16px; align-items: center; padding: 14px 16px; border-radius: 8px; background: #1d1d1d;
  transition: background-color .25s;
}
.board__list li:nth-child(even) { background: #191919; }
.board__list li:hover { background: #262626; }
.board__code { grid-area: code; display: inline-flex; gap: 3px; }
.flap {
  display: inline-grid; place-items: center; width: 1.6em; height: 1.9em; border-radius: 4px;
  background: #2a2a2a; color: var(--accent); font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums;
  position: relative; overflow: hidden;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.55); } /* bisagra del tablero — taste-skill-ignore */
.board__name { grid-area: name; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.board__status { grid-area: status; justify-self: end; font-size: .875rem; color: #9fe3a7; display: inline-flex; align-items: center; gap: 8px; }
.board__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (min-width: 768px) {
  .board__labels { display: grid; grid-template-columns: 110px 1fr 120px; gap: 16px; padding: 4px 16px 12px; color: var(--dark-muted); font-size: var(--step-small); }
  .board__list li { grid-template-columns: 110px 1fr 120px; grid-template-areas: "code name status"; padding: 14px 16px; }
  .board__name { font-size: 1.125rem; }
}
.board__labels .dup { display: none; }
.crest { background: var(--surface); border-radius: var(--r); aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 10%; }
.crest img { width: 100%; height: auto; object-fit: contain; }
@media (min-width: 1200px) {
  .board__labels .dup { display: block; }
  .board__list { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .board__labels { grid-template-columns: 110px 1fr 120px 110px 1fr 120px; column-gap: 16px; }
}

/* palabras de los textos grandes (GSAP las enciende con el scroll) */
.statement .w { display: inline; }

/* ---------- Laptop: textos más contenidos ---------- */
@media (min-width: 1024px) and (max-width: 1600px) {
  :root {
    --step-display: clamp(2.75rem, 1rem + 4.2vw, 5rem);
    --step-head: clamp(2rem, 1rem + 2.1vw, 3rem);
    --step-lead: clamp(1.125rem, 1rem + .4vw, 1.375rem);
  }
  .statement { font-size: clamp(1.375rem, .9rem + 1.2vw, 1.875rem); }
  .footer-top h2 { font-size: clamp(2rem, 1rem + 2.6vw, 3.25rem); }
  .footer-big { font-size: clamp(2.4rem, .5rem + 5.6vw, 6rem); }
  .stats dd, .facts dd { font-size: clamp(2rem, 1rem + 2.4vw, 3.25rem); }
  .plane__name { font-size: clamp(2rem, 1rem + 2.2vw, 3rem); }
  .marquee__track span { font-size: clamp(1.5rem, .8rem + 1.8vw, 2.5rem); }
  .globe-hero h1 { font-size: clamp(2.5rem, 1.2rem + 2.9vw, 4.125rem); }
  .tile .big { font-size: clamp(2.5rem, 1.5rem + 2.4vw, 3.75rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
