/* =============================================================
   CLASE GLOBAL · v2 — Bold, kinetic, asymmetric
   ============================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Brand */
  --navy:        #0E2454;
  --navy-deep:   #060F2A;
  --navy-soft:   #1A3470;
  --gold:        #F5B83F;
  --gold-bright: #FFC74D;
  --gold-deep:   #C99220;

  /* NEW: electric accent — coral red, energetic, breaks the navy/gold expectation */
  --coral:       #FF5641;
  --coral-deep:  #E03B26;
  --coral-soft:  #FF8770;

  /* Neutrals */
  --ink:         #0A0F1F;
  --ink-soft:    #2A3553;
  --muted:       #707A95;
  --line:        rgba(14, 36, 84, 0.08);
  --bg:          #FFFFFF;
  --bg-2:        #F7F4ED;  /* warm cream — used sparingly */
  --bg-3:        #ECE4D2;  /* tan stripe */

  /* Layout */
  --max:        1320px;
  --pad-x:      clamp(1.25rem, 4vw, 2.5rem);
  --r-sm:       8px;
  --r:          14px;
  --r-lg:       24px;

  /* Type */
  --display:  "Archivo Black", "Arial Black", system-ui, sans-serif;
  --sans:     "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:     "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Motion */
  --ease:     cubic-bezier(.2,.85,.3,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;  /* protect against marquee scroll */
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.05; }
em, i { font-style: normal; }  /* deliberately no italics — that's En Misión's signature */
::selection { background: var(--coral); color: #fff; }

/* Container */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  width: 100%;
}

/* Anchor offset for sticky nav */
#inicio, #nosotros, #intercambio, #fps, #contacto,
#apply-intercambio, #registro-fps {
  scroll-margin-top: 92px;
}
@media (max-width: 980px) {
  #inicio, #nosotros, #intercambio, #fps, #contacto,
  #apply-intercambio, #registro-fps { scroll-margin-top: 76px; }
}

/* ---------- TYPOGRAPHY PRIMITIVES ---------- */

/* Chip - mono pill, replaces em-dash eyebrows */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--navy);
  background: rgba(14, 36, 84, 0.06);
  padding: 7px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.chip--light {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
}
.chip__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
  animation: chip-pulse 1.6s infinite;
}
@keyframes chip-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255, 86, 65, 0.7); }
  50%     { box-shadow: 0 0 0 8px rgba(255, 86, 65, 0); }
}

/* Display - heavy black sans, tight tracking, big */
.display {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw + 0.6rem, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-transform: none;
  margin: 14px 0 0;
}
.display--smaller {
  font-size: clamp(2rem, 3.5vw + 0.6rem, 4rem);
}
.display--light { color: #fff; }
.display__alt { color: var(--gold-deep); }
.display__alt--coral { color: var(--coral); }
.display--light .display__alt { color: var(--gold); }
.display__strike {
  text-decoration: line-through;
  text-decoration-thickness: 4px;
  text-decoration-color: var(--coral);
  color: var(--muted);
}

/* Section head reusable */
.section-head {
  margin-bottom: 60px;
  max-width: 920px;
}
.section-head--light { color: #fff; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head__lede {
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem);
  max-width: 56ch;
  color: var(--ink-soft);
  line-height: 1.5;
}
.section-head--light .section-head__lede { color: rgba(255,255,255,0.78); }
.section-head--center .section-head__lede { margin-left: auto; margin-right: auto; }

/* Big quote (intro paragraph) */
.big-quote {
  font-size: clamp(1.2rem, 0.8vw + 1rem, 1.55rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 24px;
  max-width: 60ch;
}

/* Bullet list with chunky dashes */
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.bullet-list li {
  padding-left: 36px;
  position: relative;
  color: var(--ink-soft);
  line-height: 1.55;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 24px; height: 3px;
  background: var(--coral);
}
.bullet-list strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .3s;
  white-space: nowrap;
  position: relative;
}
.btn--coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 10px 24px -10px rgba(255,86,65,.6);
}
.btn--coral:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 18px 32px -14px rgba(255,86,65,.7);
}
.btn--coral svg { transition: transform .3s var(--ease); }
.btn--coral:hover svg { transform: translate(2px, -2px); }
.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn--outline:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.6);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad-x);
  background: rgba(6, 15, 42, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: padding .25s var(--ease);
}
.nav.is-scrolled { padding-top: 8px; padding-bottom: 8px; }

.nav__brand img {
  height: 38px;
  width: auto;
  transition: height .25s var(--ease);
}
.nav.is-scrolled .nav__brand img { height: 32px; }

.nav__links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav__links a {
  color: rgba(255,255,255,.75);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .2s, background .2s;
}
.nav__num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--gold);
  letter-spacing: 0;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.06); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--coral);
  color: #fff;
  padding: 10px 18px 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .25s var(--ease), background .25s;
}
.nav__cta:hover { background: var(--coral-deep); transform: translateY(-1px); }
.nav__cta svg { transition: transform .3s var(--ease); }
.nav__cta:hover svg { transform: translate(2px,-2px); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-deep);
  color: #fff;
  padding: 110px var(--pad-x) 0;
  overflow: hidden;
}
.hero__grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(255,86,65,.12), transparent 50%),
    radial-gradient(circle at 80% 15%, rgba(245,184,63,.10), transparent 45%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  min-height: calc(100vh - 110px - 56px); /* minus nav + ticker */
  padding-bottom: 60px;
  position: relative;
}

/* Photo collage */
.hero__collage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  width: 100%;
}
.hc {
  margin: 0;
  position: absolute;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
}
.hc img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hc--main {
  top: 4%; left: 8%;
  width: 70%; height: 64%;
  transform: rotate(-2deg);
  animation: hcFloat 8s ease-in-out infinite;
  z-index: 2;
}
.hc--side {
  top: 6%; right: 0;
  width: 36%; height: 36%;
  transform: rotate(4deg);
  animation: hcFloat 7s ease-in-out infinite reverse;
  animation-delay: -2s;
  z-index: 1;
}
.hc--bottom {
  bottom: 6%; right: 4%;
  width: 50%; height: 40%;
  transform: rotate(-3deg);
  animation: hcFloat 9s ease-in-out infinite;
  animation-delay: -4s;
  z-index: 1;
}
@keyframes hcFloat {
  0%,100% { translate: 0 0; }
  50%     { translate: 0 -8px; }
}
.hc__sticker {
  position: absolute;
  top: 14px; right: -8px;
  background: var(--coral);
  color: #fff;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 10px;
  border-radius: 4px;
  transform: rotate(8deg);
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.hc__badge {
  position: absolute;
  bottom: 0%; left: 0;
  z-index: 3;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 16px 20px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(-3deg);
  box-shadow: 0 16px 32px -12px rgba(0,0,0,.4);
  animation: hcFloat 6s ease-in-out infinite;
  animation-delay: -1s;
}
.hc__badge-num {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.hc__badge-num sup {
  font-size: 0.5em;
  vertical-align: super;
}
.hc__badge-lbl {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Right text */
.hero__text {
  position: relative;
}
.hero__h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw + 0.5rem, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin: 28px 0 32px;
  color: #fff;
}
.hero__line { display: block; }
.hero__line--gold { color: var(--gold); }
.hero__line--big { color: var(--coral); }

.hero__lede {
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.25rem);
  line-height: 1.5;
  color: rgba(255,255,255,.78);
  max-width: 50ch;
  margin: 0 0 36px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero text reveal */
.hero__line {
  animation: heroSlide 1s var(--ease) both;
}
.hero__line:nth-child(1) { animation-delay: .15s; }
.hero__line:nth-child(2) { animation-delay: .25s; }
.hero__line:nth-child(3) { animation-delay: .35s; }
.hero__line:nth-child(4) { animation-delay: .45s; }
@keyframes heroSlide {
  from { opacity: 0; transform: translateY(40px) rotate(-2deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0); }
}

/* ---------- TICKER (horizontal marquee) ---------- */
.ticker {
  background: var(--gold);
  color: var(--navy-deep);
  border-block: 1px solid rgba(0,0,0,.1);
  overflow: hidden;
  padding: 14px 0;
}
.ticker--hero {
  position: relative;
  margin: 0 calc(var(--pad-x) * -1);  /* break out of hero padding */
  margin-top: auto;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.ticker__item {
  white-space: nowrap;
}
.ticker__sep {
  color: var(--coral);
  font-size: 1.4rem;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- ABOUT ---------- */
.about {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.about__lead p:not(.big-quote) {
  color: var(--ink-soft);
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  max-width: 50ch;
}
.about__stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.value-card {
  padding: 28px;
  background: var(--bg-2);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease), background .25s;
}
.value-card:hover { transform: translateY(-4px) rotate(-.5deg); background: var(--bg-3); }
.value-card--accent {
  background: var(--navy);
  color: #fff;
}
.value-card--accent:hover { background: var(--navy-soft); }
.value-card__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.value-card__num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--coral);
  font-weight: 600;
}
.value-card--accent .value-card__num { color: var(--gold); }
.value-card__tag {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.value-card--accent .value-card__tag { color: #fff; }
.value-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}
.value-card--accent p { color: rgba(255,255,255,.78); }

/* ---------- PROGRAM (Intercambio) ---------- */
.program {
  background: var(--navy-deep);
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.program::before {
  content: "";
  position: absolute;
  top: 10%; right: -20%;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,86,65,.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Boarding pass card */
.boarding {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 50px;
  box-shadow: 0 40px 80px -30px rgba(255,184,63,.4);
  position: relative;
  z-index: 1;
}
.boarding::before {
  /* perforated divider */
  content: "";
  position: absolute;
  top: 10%; bottom: 10%;
  left: 220px;
  width: 0;
  border-left: 2px dashed rgba(14,36,84,.25);
}
.boarding__stub {
  background: var(--navy-deep);
  color: var(--gold);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  position: relative;
}
.boarding__stub::before, .boarding__stub::after {
  /* notches at top & bottom of the dashed line */
  content: "";
  position: absolute;
  right: -10px;
  width: 20px; height: 20px;
  background: var(--navy-deep);
  border-radius: 50%;
}
.boarding__stub::before { top: -10px; background: var(--bg) /* covers boarding bg */; box-shadow: inset 0 -1px 0 var(--navy-deep); }
.boarding__stub::after  { bottom: -10px; background: var(--bg); box-shadow: inset 0 1px 0 var(--navy-deep); }
.boarding__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,184,63,.6);
}
.boarding__cycle {
  font-family: var(--display);
  font-size: clamp(3.5rem, 5vw + 1rem, 5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--gold);
  margin-bottom: 10px;
}
.boarding__badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 100px;
  background: var(--coral);
  color: #fff;
  letter-spacing: 0.02em;
}
.boarding__main {
  padding: 32px 36px;
}
.boarding__route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.boarding__city { display: flex; flex-direction: column; gap: 2px; }
.boarding__city-code {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
}
.boarding__city-name {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(14,36,84,.6);
  text-transform: uppercase;
}
.boarding__path {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy-deep);
}
.boarding__line {
  flex: 1; height: 2px;
  background-image: linear-gradient(to right, rgba(14,36,84,.3) 50%, transparent 50%);
  background-size: 8px 2px;
}
.boarding__plane { color: var(--coral); }
.boarding__dates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(14,36,84,.15);
}
.boarding__data-lbl {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(14,36,84,.55);
  margin-bottom: 4px;
}
.boarding__data-val {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.boarding__note {
  margin: 24px 0 0;
  padding: 12px 16px;
  background: rgba(255,86,65,.12);
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--coral-deep);
}

/* Pillars - asymmetric stagger */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 80px;
}
.pillar {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4.2;
  cursor: pointer;
  transition: transform .4s var(--ease);
}
.pillar--01 { transform: translateY(0); }
.pillar--02 { transform: translateY(28px); }
.pillar--03 { transform: translateY(0); }
.pillar:hover { transform: translateY(-6px); }
.pillar--02:hover { transform: translateY(22px); }

.pillar__img {
  position: absolute; inset: 0;
}
.pillar__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.pillar:hover .pillar__img img { transform: scale(1.05); }
.pillar__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,15,42,0) 30%, rgba(6,15,42,.9) 100%);
}
.pillar__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 26px 26px 30px;
  z-index: 1;
  color: #fff;
}
.pillar__num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.pillar__body h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1vw + 1.2rem, 2rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.pillar__body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(255,255,255,.8);
  max-width: 32ch;
}

/* Destination strip */
.dest-strip {
  margin: 80px calc(var(--pad-x) * -1) 80px;
  background: var(--coral);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
  transform: rotate(-1.5deg);
  border-block: 1px solid rgba(0,0,0,.1);
}
.dest-strip__track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  animation: tickerScroll 30s linear infinite;
}
.dest-strip__track i {
  font-style: normal;
  color: rgba(255,255,255,.5);
}

/* Photo wall - mosaic */
.photo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 0;
}
.photo-wall__cell {
  margin: 0;
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: var(--ar, 1/1);
  background: var(--navy);
}
.photo-wall__cell--wide { grid-column: span 2; }
.photo-wall__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.photo-wall__cell:hover img { transform: scale(1.05); }

/* Apply form (intercambio) */
.apply {
  margin-top: 100px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
}
.apply__head {
  margin-bottom: 40px;
  max-width: 700px;
}
.apply__head .display { margin-top: 14px; }
.apply__head p {
  color: rgba(255,255,255,.7);
  margin: 20px 0 0;
  font-size: 15.5px;
  max-width: 50ch;
}

/* ---------- FORM (shared) ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label em {
  color: var(--coral);
  font-style: normal;
}
.field input, .field textarea {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 13px 16px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255,86,65,.15);
}

/* Dark form variant (inside dark sections) */
.form--dark .field label { color: rgba(255,255,255,.65); }
.form--dark .field input,
.form--dark .field textarea {
  color: #fff;
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
}
.form--dark .field input::placeholder,
.form--dark .field textarea::placeholder { color: rgba(255,255,255,.4); }
.form--dark .field input:focus,
.form--dark .field textarea:focus {
  border-color: var(--coral);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 4px rgba(255,86,65,.2);
}

/* Auto-detect: apply form's nested fields should look dark */
.apply .field label { color: rgba(255,255,255,.65); }
.apply .field input,
.apply .field textarea {
  color: #fff;
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
}
.apply .field input::placeholder,
.apply .field textarea::placeholder { color: rgba(255,255,255,.4); }
.apply .field input:focus,
.apply .field textarea:focus {
  border-color: var(--coral);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 4px rgba(255,86,65,.2);
}

/* Checkbox group */
.check-group {
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
  border-radius: var(--r);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.check-group legend {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  padding: 0;
  margin-bottom: 6px;
}
.check-group legend em { color: var(--coral); font-style: normal; }
.check-group legend small {
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,.45);
  margin-left: 6px;
  font-weight: 400;
  font-family: var(--sans);
}
.check {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,.03);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  cursor: pointer;
  font-size: 15px;
  color: rgba(255,255,255,.9);
  transition: border-color .2s, background .2s;
}
.check__num {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-family: var(--display);
  font-size: 13px;
  color: var(--gold);
  flex-shrink: 0;
}
.check input { accent-color: var(--coral); width: 18px; height: 18px; }
.check:hover {
  border-color: rgba(255,86,65,.4);
  background: rgba(255,255,255,.05);
}
.check:has(input:checked) {
  border-color: var(--coral);
  background: rgba(255,86,65,.1);
}
.check:has(input:checked) .check__num { background: var(--coral); color: #fff; }

.form__submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}
.form__fine {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.form .form__fine { color: var(--muted); }
.apply .form__fine, .form--dark .form__fine { color: rgba(255,255,255,.5); }
.form__status {
  padding: 14px 18px;
  border-radius: var(--r);
  font-size: 14.5px;
}
.form__status.is-success {
  background: rgba(76,175,80,.12);
  border: 1px solid rgba(76,175,80,.3);
  color: #a5e0aa;
}
.form__status.is-error {
  background: rgba(244,67,54,.1);
  border: 1px solid rgba(244,67,54,.25);
  color: #f5a09a;
}

/* ---------- FPS ---------- */
.fps {
  background: var(--bg);
  padding: clamp(80px, 10vw, 140px) 0 0;
}
.fps__intro {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  margin-top: 30px;
}
.fps__brand-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.fps__logo { height: 96px; width: auto; }
.fps__since {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 24px;
  border-left: 2px solid var(--line);
}
.fps__since-num {
  font-family: var(--display);
  font-size: 2.9rem;
  letter-spacing: -0.03em;
  color: var(--coral);
  line-height: 1;
}
.fps__since-lbl {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.fps__intro-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 30px 60px -30px rgba(14,36,84,.4);
  transform: rotate(1deg);
}
.fps__intro-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.fps__photo-tag {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--coral);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r);
  font-family: var(--display);
  display: flex;
  flex-direction: column;
}
.fps__photo-tag span {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 2px;
}
.fps__photo-tag strong {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  font-weight: 400;
}

/* Method - horizontal scroll */
.method {
  background: var(--navy);
  color: #fff;
  padding: clamp(80px, 10vw, 130px) 0 70px;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
}
.method::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,86,65,.15), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(245,184,63,.1), transparent 60%);
  pointer-events: none;
}
.method__head {
  margin-bottom: 50px;
  position: relative;
}
.method__scroll {
  overflow-x: auto;
  padding: 10px 0 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.method__scroll::-webkit-scrollbar { height: 6px; }
.method__scroll::-webkit-scrollbar-track { background: rgba(255,255,255,.05); }
.method__scroll::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 100px; }

.method__list {
  display: flex;
  gap: 18px;
  padding: 0 var(--pad-x);
  width: max-content;
}
.method__step {
  scroll-snap-align: start;
  width: 320px;
  flex-shrink: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 28px 28px 30px;
  transition: border-color .25s, transform .35s var(--ease);
  position: relative;
}
.method__step:hover {
  border-color: var(--coral);
  transform: translateY(-4px);
}
.method__num {
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--coral);
  margin-bottom: 16px;
}
.method__step h4 {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.05;
}
.method__step p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}
.method__hint {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.45);
  text-align: center;
}

/* Modal grid (3 modalities) - full-bleed background via pseudo */
.fps__programs {
  padding: clamp(80px, 10vw, 130px) 0;
  position: relative;
  isolation: isolate;
}
.fps__programs::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: var(--bg-2);
  z-index: -1;
}
.modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.modal {
  background: #fff;
  padding: 36px 32px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .35s var(--ease), box-shadow .3s;
  border: 1.5px solid transparent;
}
.modal:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(14,36,84,.3);
  border-color: var(--coral);
}
.modal--accent {
  background: var(--navy);
  color: #fff;
}
.modal--accent:hover { border-color: var(--gold); }
.modal__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--coral);
  color: #fff;
  display: grid; place-items: center;
}
.modal--accent .modal__icon { background: var(--gold); color: var(--navy-deep); }
.modal__icon svg { width: 26px; height: 26px; }
.modal__tag {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal--accent .modal__tag { color: rgba(255,255,255,.55); }
.modal h4 {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.modal--accent h4 { color: #fff; }
.modal p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.modal--accent p { color: rgba(255,255,255,.75); }

/* How section */
.fps__how {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding-top: clamp(80px, 10vw, 130px);
  padding-bottom: clamp(80px, 10vw, 130px);
}
.fps__how-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.fps__how-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.fps__how-stat {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 14px 18px;
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  transform: rotate(-3deg);
  box-shadow: 0 16px 32px -10px rgba(0,0,0,.3);
}
.fps__how-stat-num {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.fps__how-stat-num sup { font-size: 0.5em; vertical-align: super; }
.fps__how-stat-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Registro */
.registro {
  background: var(--navy-deep);
  color: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.registro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 10%, rgba(245,184,63,.1), transparent 50%),
    radial-gradient(circle at 70% 90%, rgba(255,86,65,.12), transparent 55%);
  pointer-events: none;
}

.tabs {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 6px;
  max-width: 660px;
  margin: 0 auto 36px;
  position: relative;
}
.tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  transition: background .25s, color .25s;
}
.tab__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  opacity: .7;
}
.tab:hover { color: #fff; }
.tab.is-active {
  background: var(--coral);
  color: #fff;
}
.tab.is-active .tab__num { color: rgba(255,255,255,.7); opacity: 1; }
.tab-panel {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.tab-panel[hidden] { display: none; }
.tab-panel .form {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--bg);
  padding: clamp(80px, 10vw, 140px) 0;
}
.contact__hero {
  max-width: 700px;
  margin-bottom: 60px;
}
.contact__h2 { margin-top: 14px; }
.contact__hero p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 0.5vw + .95rem, 1.2rem);
  line-height: 1.5;
  max-width: 54ch;
}
.contact__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.contact__side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 22px;
  border-bottom: 1.5px solid var(--line);
}
.contact__info:last-child { border-bottom: 0; }
.contact__info-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__info-val {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.2;
}
.contact__info-link:hover { color: var(--coral); }
.contact__form {
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}
.footer__main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
}
.footer__brand img { height: 48px; }
.footer__tagline {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
  max-width: 14ch;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul a, .footer ul li {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.footer ul a:hover { color: var(--coral); }

/* Giant wordmark */
.footer__wordmark {
  font-family: var(--display);
  font-size: clamp(4rem, 16vw, 16rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.18);
  text-stroke: 1.5px rgba(255,255,255,.18);
  text-align: center;
  margin: 0;
  padding: 20px 0 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  user-select: none;
  overflow: hidden;
}

.footer__base {
  padding: 24px 0;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__collage { max-width: 480px; margin: 0 auto; }
  .boarding { grid-template-columns: 1fr; }
  .boarding::before { display: none; }
  .boarding__stub::before, .boarding__stub::after { display: none; }
  .boarding__dates { grid-template-columns: repeat(2, 1fr); }

  .about__grid, .fps__intro, .fps__how, .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pillars { grid-template-columns: 1fr; }
  .pillar { aspect-ratio: 16/8; transform: none !important; }

  .modal-grid { grid-template-columns: 1fr; }

  .photo-wall { grid-template-columns: repeat(2, 1fr); }
  .photo-wall__cell--wide { grid-column: span 2; }

  .footer__main { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.is-mobile-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-deep);
    padding: 18px var(--pad-x) 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav__links.is-mobile-open a {
    padding: 14px 16px;
    border-radius: var(--r);
  }
}

@media (max-width: 620px) {
  .form__row { grid-template-columns: 1fr; gap: 18px; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .tab { padding: 10px 12px; font-size: 13px; }
  .tab__num { display: none; }
  .boarding__dates { grid-template-columns: 1fr 1fr; }
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ticker__track, .dest-strip__track { animation: none; }
}

/* ---------- HERO: dual-program tags ---------- */
.hero__programs {
  margin: 0 0 32px;
}
.hero__programs-lbl {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.hero__programs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__prog-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  text-decoration: none;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.hero__prog-tag:hover {
  border-color: var(--gold);
  background: rgba(245,184,63,.10);
  transform: translateY(-2px);
}
.hero__prog-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
}

/* ---------- FPS: Chile partner badge ---------- */
.fps__partner {
  height: 112px;
  width: auto;
}
@media (max-width: 560px) {
  .fps__partner { height: 84px; }
}

/* ---------- LANGUAGE SWITCH (flags) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  padding: 3px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.62);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 100px;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.lang-btn .flag {
  width: 19px;
  height: 13px;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18) inset;
}
.lang-btn.is-active {
  background: #fff;
  color: var(--navy);
}
.lang-btn:not(.is-active):hover { color: #fff; }

@media (max-width: 820px) {
  .lang-switch { margin-left: auto; margin-right: 6px; }
}
@media (max-width: 380px) {
  .lang-btn span { display: none; }   /* flags only on very small screens */
}


/* ---------- Intercambio: application CTA (links to secure page) ---------- */
.apply--cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.apply--cta .display { margin: 14px 0 10px; }
.apply--cta p[data-i18n="t045"] {
  max-width: 46ch;
  margin: 0 auto 24px;
  color: rgba(255,255,255,.7);
}
.btn--lg {
  font-size: 1.05rem;
  padding: 18px 32px;
}
.apply__note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: rgba(255,255,255,.55);
}


/* ---------- Terms & conditions acceptance ---------- */
.check--terms{
  display:flex; align-items:flex-start; gap:10px;
  margin:4px 0 18px; cursor:pointer; font-size:14px; line-height:1.5;
}
.check--terms input[type="checkbox"]{
  margin-top:3px; width:18px; height:18px; flex:0 0 auto;
  accent-color:var(--coral); cursor:pointer;
}
.check--terms span{ color:rgba(255,255,255,.82); }
.check--terms a{ color:var(--gold); text-decoration:underline; }
.check--terms em{ color:var(--coral); font-style:normal; }
