/* Talk&Fly v4: secciones. Estado legible sin JS: nada se oculta aquí; los estados iniciales los escribe GSAP.
   Tipografía y colores de texto de la landing 3 (Inter 500 en titulares, bruma en cuerpo, oro del amanecer en acentos). */

main { position: relative; }
main section { position: relative; }
main p { font-size: var(--fs-lead); color: var(--mist); max-width: 46ch; line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.045em; line-height: 0.96; color: var(--silver); }
h2 { font-size: var(--fs-h2); text-wrap: balance; }
.split-chars, .split-lines { font-kerning: none; text-rendering: optimizeSpeed; text-wrap: wrap; }
.pad { padding-inline: var(--pad); }
.nb { white-space: nowrap; }
.grad { background: var(--grad-dawn); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.inline-link { color: var(--gold); text-decoration: underline; text-decoration-color: rgb(255 227 176 / 0.45); text-underline-offset: 4px; transition: color var(--dur-fast), text-decoration-color var(--dur-fast); }
.inline-link:hover { color: #fff; text-decoration-color: #fff; }

/* ================= 01 · Cruise ================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 3vh) var(--pad) 130px; overflow: clip; }
.hero .scene { z-index: 0; }
.hero__cloud {
  position: absolute; left: -12%; bottom: -26%; width: 124%; max-width: none; height: auto; z-index: 1; pointer-events: none;
  filter: grayscale(1) brightness(0.62) contrast(1.15); opacity: 0.5; mix-blend-mode: screen;
}
.hero__ring { position: absolute; z-index: 1; right: -4vw; top: calc(50% - min(88vh, 64vw) / 2); width: min(88vh, 64vw); height: auto; aspect-ratio: 1; pointer-events: none; overflow: visible; }
.hero__ring circle { fill: none; stroke: var(--steel); stroke-width: 1; opacity: 0.45; }
.hero__ring .ring__inner { stroke-dasharray: 2 7; opacity: 0.5; }
.hero__ring .ring__ticks line { stroke: var(--steel); stroke-width: 1; opacity: 0.55; }
.hero__ring .ring__ticks line.is-major { stroke: var(--amber); stroke-width: 2; opacity: 0.95; }
.hero__ring .ring__ticks text { fill: var(--silver); font-family: var(--font-mono); font-size: 17px; letter-spacing: 0.1em; text-anchor: middle; dominant-baseline: middle; opacity: 0.9; }
.plane { position: absolute; max-width: none; height: auto; pointer-events: none; will-change: transform; }
.plane-rig { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.plane--cruise { right: -9%; top: 27%; width: min(60vw, 112vh); filter: brightness(0.84) contrast(1.12) saturate(0.2) drop-shadow(0 30px 50px rgb(0 0 0 / 0.55)); }
.hero__copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; max-width: min(62%, 1040px); }
.hero__copy::before { content: ""; position: absolute; z-index: -1; inset: -14% -22% -14% -30%; pointer-events: none; background: radial-gradient(closest-side, rgb(3 6 16 / 0.55), rgb(3 6 16 / 0.26) 55%, transparent 100%); }
.hero__tag { color: var(--mist); margin-bottom: 4px; }
.hero__tag::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px 2px rgb(255 176 74 / 0.8); vertical-align: 0.08em; animation: blink 2.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
#hero-title { font-size: clamp(3.1rem, 8.7vw, 9.4rem); line-height: 0.96; letter-spacing: -0.045em; margin: 18px 0 30px; text-shadow: 0 6px 60px rgb(4 7 15 / 0.55); }
.hl { display: block; }
.hl--grad { background: var(--grad-dawn); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__support { color: var(--silver); font-size: clamp(1.0625rem, 1.4vw, 1.4rem); max-width: 40ch; margin-bottom: 38px; text-shadow: 0 2px 24px rgb(4 7 15 / 0.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.hero__hold { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; color: var(--steel); }
.hero__hold svg { width: 100%; height: 30px; overflow: visible; }
.hold { fill: none; stroke: var(--amber); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.hold--dash { stroke-dasharray: 14 12; }
.hero__cue { display: inline-flex; align-items: center; gap: 10px; }
.hero__cue::after { content: ""; width: 7px; height: 7px; border-right: 1px solid var(--amber); border-bottom: 1px solid var(--amber); rotate: 45deg; translate: 0 -2px; animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 0%, 100% { translate: 0 -3px; opacity: 0.4; } 50% { translate: 0 3px; opacity: 1; } }

/* ================= 02 · The recording ================= */
.exam { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: clamp(110px, 15vh, 190px) var(--pad); overflow: clip; border-top: 1px solid var(--line); }
.exam__photo { position: absolute; inset: 0; z-index: 0; }
.exam__lit { clip-path: circle(0px at 50% 50%); }
.exam__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(4 7 15 / 0.9) 0%, rgb(4 7 15 / 0.55) 36%, rgb(4 7 15 / 0.05) 100%); pointer-events: none; }
.exam .scene--cockpit:not(.scene--lit) .scene__img { filter: grayscale(1) contrast(1.15) brightness(1.18); }
.exam .scene--cockpit:not(.scene--lit) .scene__shade { background: linear-gradient(180deg, rgb(4 7 15 / 0.5) 0%, rgb(4 7 15 / 0) 40%, rgb(4 7 15 / 0.6) 100%); }
.scene--lit .scene__img { filter: grayscale(1) contrast(1.15) brightness(1.2); }
.scene--lit .scene__tint { background: #d99a3a; opacity: 0.7; }
.exam__inner { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; }
.exam__copy { grid-column: 1 / span 5; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.exam__copy h2 { font-size: clamp(2.8rem, 6.8vw, 7.25rem); }
.radio { grid-column: 7 / span 6; grid-row: 1; }
.exam__closer { grid-column: 7 / span 6; grid-row: 2; margin-top: clamp(26px, 4.5vh, 48px); padding-top: clamp(20px, 3vh, 30px); border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
main p.exam__closer-line { max-width: none; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 3.5rem); line-height: 1; letter-spacing: -0.045em; color: var(--silver); text-shadow: 0 2px 30px rgb(4 7 15 / 0.8); }
.exam__closer-link { display: inline-flex; align-items: center; gap: 12px; min-height: var(--tap-min); font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgb(255 227 176 / 0.5); padding-bottom: 4px; transition: color var(--dur-fast), border-color var(--dur-fast); }
.exam__closer-link svg { transition: transform 0.5s var(--ease-out); }
.exam__closer-link:hover { color: #fff; border-color: #fff; }
.exam__closer-link:hover svg { transform: translateX(6px); }

/* ================= 03 · Globe ================= */
.globe-section { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 60px) var(--pad) 80px; overflow: clip; background: radial-gradient(ellipse 60% 55% at 72% 50%, rgb(53 86 127 / 0.22), transparent 70%); }
.globe-section__copy { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.globe-section__copy h2 { font-size: clamp(2.8rem, 6.4vw, 6.9rem); }
.globe__hint { color: var(--amber) !important; display: inline-flex; align-items: center; gap: 12px; }
.globe__hint::before { content: ""; width: 44px; height: 1px; background: var(--amber); }
.globe { grid-column: 6 / span 7; position: relative; width: min(760px, 100%, 86svh); aspect-ratio: 1; justify-self: center; touch-action: pan-y; }
.globe__canvas, .globe__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe__fallback svg { width: 100%; height: 100%; }
.globe.is-live .globe__fallback { opacity: 0; }

/* ================= 04 · The rule (medidores de la landing 3, marcos y fondo de la 1) ================= */
.rule { display: flex; flex-direction: column; gap: clamp(36px, 6vh, 70px); padding: clamp(110px, 16vh, 190px) 0 clamp(60px, 10vh, 120px); overflow: clip; border-top: 1px solid var(--line); background: radial-gradient(ellipse 55% 50% at 14% 12%, rgb(53 86 127 / 0.2), transparent 70%); }
.rule__top { padding-inline: var(--pad); }
.rule__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.rule__copy h2 { font-size: clamp(2.6rem, 6.6vw, 7rem); max-width: 14ch; }
.gauges { --gh: clamp(230px, 34vh, 360px); --min: 0.5; position: relative; margin-inline: var(--pad); }
.scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: clamp(10px, 1.8vw, 28px); }
.gauge { display: flex; flex-direction: column; min-width: 0; --v: 0.6; }
.gauge__track { position: relative; display: block; height: var(--gh); border: 1px solid var(--line-strong); overflow: hidden; background: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.01)); }
.gauge__track::before { content: ""; position: absolute; inset: 0; z-index: 2; background: repeating-linear-gradient(180deg, transparent 0 21px, rgb(190 210 245 / 0.1) 21px 22px); }
.gauge__fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100%; transform-origin: 50% 100%; transform: scaleY(var(--v));
  background: repeating-linear-gradient(180deg, rgb(238 243 251 / 0.34) 0 1px, transparent 1px 9px), linear-gradient(180deg, rgb(185 198 222 / 0.5) 0%, rgb(91 107 140 / 0.3) 60%, rgb(38 53 92 / 0.28) 100%);
  transition: background 0.6s, box-shadow 0.6s;
}
.gauge.is-low .gauge__track { border-color: var(--amber); box-shadow: 0 0 40px -6px rgb(255 176 74 / 0.5); }
.gauge.is-low .gauge__fill { background: repeating-linear-gradient(180deg, rgb(28 16 0 / 0.28) 0 1px, transparent 1px 9px), linear-gradient(180deg, #ffe9c4 0%, #ffae48 42%, rgb(255 122 61 / 0.62) 100%); box-shadow: 0 0 60px rgb(255 150 60 / 0.5); }
.gauge__name { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: clamp(0.625rem, 0.82vw, 0.78rem); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); overflow-wrap: anywhere; transition: color 0.4s; }
.gauge__desc { display: block; margin-top: 8px; font-size: clamp(0.78rem, 0.92vw, 0.9rem); line-height: 1.45; color: var(--steel); }
.gauge.is-low .gauge__name { color: var(--gold); }
.gauges__limit { position: absolute; left: -12px; right: -12px; top: calc(var(--gh) * (1 - var(--min))); z-index: 3; height: 0; border-top: 1px dashed rgb(255 214 160 / 0.85); filter: drop-shadow(0 0 8px rgb(255 176 74 / 0.8)); pointer-events: none; }
.gauges__limit span { position: absolute; right: 0; bottom: 8px; padding: 3px 10px; background: var(--amber); color: var(--on-amber); font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
main p.rule__note { padding-inline: var(--pad); max-width: none; color: var(--mist); font-size: clamp(1rem, 1.2vw, 1.15rem); }
.marquee { border-block: 1px solid var(--line); }
.marquee--rule .marquee-row li, .marquee--foot .marquee-row li {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.045em; white-space: nowrap; line-height: 1.12;
  color: transparent; -webkit-text-stroke: 1px var(--steel); padding-right: 0.5em;
}
.marquee--rule .marquee-row li { font-size: clamp(4.2rem, 12vw, 12.5rem); }
.marquee--rule .marquee-row li::after, .marquee--foot .marquee-row li::after { content: "/"; margin-left: 0.5em; color: var(--amber); -webkit-text-stroke: 0; }
.marquee--foot .marquee-row li { font-size: clamp(4rem, 13vw, 14rem); }
.marquee--foot .marquee-row li.amber { color: var(--amber); -webkit-text-stroke: 0; }
.marquee--foot .marquee-row li.amber::after { color: var(--silver); }

/* ================= 05 · Examiners ================= */
.examiners { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; min-height: 100vh; min-height: 100svh; padding: clamp(100px, 14vh, 170px) var(--pad); overflow: clip; border-top: 1px solid var(--line); background: radial-gradient(ellipse 50% 60% at 18% 40%, rgb(53 86 127 / 0.16), transparent 70%); }
.examiners__copy { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.examiners__copy h2 { font-size: clamp(2.6rem, 6.6vw, 7rem); max-width: 13ch; }
.examiners__copy p { font-size: clamp(1.15rem, 1.7vw, 1.6rem); max-width: 34ch; min-height: 7.2em; }
.examiners__copy p.examiners__note { font-size: 0.98rem; min-height: 0; max-width: 46ch; color: var(--steel); padding-left: 18px; border-left: 2px solid var(--amber); }
.retype { color: var(--amber); }
[data-caret] { display: inline-block; width: 0.08em; height: 0.95em; margin-left: 0.06em; vertical-align: -0.12em; background: var(--amber); }
.examiners__frame { grid-column: 8 / span 5; position: relative; aspect-ratio: 4 / 5; }
.examiners__clip { position: absolute; inset: 0; overflow: hidden; border: 1px solid var(--line-strong); }
.examiners__frame .scene { inset: 0; }
.examiners__spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgb(255 190 90 / 0.22), transparent 38%); mix-blend-mode: screen; opacity: 0; transition: opacity 0.4s; }
.examiners__frame:hover .examiners__spot { opacity: 1; }
.examiners__frame figcaption { position: absolute; left: 0; bottom: -2rem; color: var(--steel); }

/* ================= 06 · Levels ================= */
.levels { border-top: 1px solid var(--line); }
.levels__stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--header-h) + 36px) var(--pad) 40px; overflow: clip; background: radial-gradient(ellipse 60% 50% at 80% 80%, rgb(53 86 127 / 0.18), transparent 70%); }
.levels__head { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 60px; }
.levels__title { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.levels__head h2 { max-width: 13ch; font-size: clamp(2.6rem, 6.2vw, 6.6rem); }
.levels__support { max-width: 28ch; }
.levels__path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.path-ghost { fill: none; stroke: var(--steel-500); stroke-width: 1; stroke-dasharray: 3 7; }
.path-flown { fill: none; stroke: var(--amber); stroke-width: 2; filter: drop-shadow(0 0 6px rgb(255 176 74 / 0.8)); }
.path-plane { fill: var(--silver); }
.gates { position: relative; z-index: 2; flex: 1; min-height: 440px; margin-top: 3vh; }
.gate { position: absolute; width: min(30%, 420px); padding-left: 34px; }
.gate[data-level="4"] { left: 1%; top: 0%; }
.gate[data-level="5"] { left: 35%; top: 22%; }
.gate[data-level="6"] { left: 67%; top: 42%; }
.gate__marker { position: absolute; left: 0; top: 14px; width: 18px; height: 18px; translate: -50% 0; border: 1px solid var(--steel); border-radius: 50%; background: var(--ink); transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s; }
.gate.is-lit .gate__marker { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 6px rgb(255 176 74 / 0.18), 0 0 26px rgb(255 176 74 / 0.8); }
.gate__num { display: block; width: fit-content; padding-right: 0.06em; font-family: var(--font-display); font-weight: 600; font-size: clamp(5.4rem, 11vw, 11rem); line-height: 0.82; letter-spacing: -0.06em; margin-left: -0.04em; background: var(--grad-dawn); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.gate[data-level="4"] .gate__num { opacity: 0.55; }
.gate[data-level="5"] .gate__num { opacity: 0.78; }
.gate[data-level="6"] .gate__num { filter: drop-shadow(0 0 36px rgb(255 150 60 / 0.35)); }
.gate__label { font-size: clamp(1.1rem, 1.5vw, 1.4rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin: 14px 0 12px; }
.gate__valid { font-size: 0.95rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; color: var(--mist); }
.gate__valid b { font-weight: 600; color: var(--silver); }
.gate__valid .mono { color: var(--steel); font-size: 0.66rem; }
.gate__sep { color: var(--amber) !important; }
.levels__note { position: relative; z-index: 2; color: var(--steel) !important; max-width: none !important; font-size: 0.66rem !important; letter-spacing: 0.12em; line-height: 1.8; text-transform: uppercase; }

/* ================= 07 · Check your expiry date ================= */
.check { padding: clamp(100px, 15vh, 180px) var(--pad); border-top: 1px solid var(--line); overflow: clip; background: radial-gradient(ellipse 50% 60% at 88% 35%, rgb(53 86 127 / 0.2), transparent 70%); }
.check__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.check__copy { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.check__copy h2 { font-size: clamp(2.6rem, 6vw, 6.4rem); max-width: 12ch; }
.check__form { width: 100%; display: flex; flex-direction: column; gap: 22px; margin-top: 6px; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.choice legend { float: left; width: 100%; margin-bottom: 4px; padding: 0; color: var(--steel); }
.choice__opt { position: relative; display: inline-flex; cursor: pointer; }
.choice__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__opt span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line-strong); font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; color: var(--mist); transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.choice__opt:hover span { border-color: var(--amber); color: var(--silver); }
.choice__opt input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.choice__opt input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 4px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > .mono { color: var(--steel); }
.field__input { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 0; background: rgb(255 255 255 / 0.03); color: var(--silver); font: inherit; font-size: 1rem; color-scheme: dark; transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast); }
.field__input:hover { border-color: rgb(190 210 245 / 0.6); }
.field__input:focus { outline: none; border-color: var(--amber); background: rgb(255 176 74 / 0.06); box-shadow: 0 0 0 3px rgb(255 176 74 / 0.2); }
.field__input--area { min-height: 124px; resize: vertical; line-height: 1.5; }
.field__input[aria-invalid="true"] { border-color: var(--alert); }
.check__error { max-width: none !important; font-size: 0.95rem !important; color: var(--alert) !important; padding-left: 14px; border-left: 2px solid var(--alert); }
main p.check__law { max-width: 60ch; color: var(--steel); font-size: 0.66rem; letter-spacing: 0.1em; line-height: 1.8; }
.check__panel { grid-column: 8 / span 5; position: relative; display: flex; flex-direction: column; gap: 26px; padding: clamp(22px, 2.6vw, 38px); background: rgb(4 7 15 / 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); }
main p.check__tag, main p.radio__tag { max-width: none; }
.check__tag { display: flex; justify-content: space-between; gap: 12px; color: var(--steel); font-size: 0.66rem; }
.check__tag span:first-child { color: var(--amber); }
.check__result { display: flex; flex-direction: column; gap: 14px; min-height: 12.5rem; }
main p.check__kicker { color: var(--amber); font-size: 0.75rem; max-width: none; }
main p.check__big { max-width: none; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 4.4vw, 4.6rem); line-height: 1; letter-spacing: -0.05em; color: var(--silver); padding-bottom: 0.06em; }
main p.check__big.is-set { background: var(--grad-dawn); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
main p.check__sub { max-width: 42ch; font-size: 1rem; color: var(--mist); }
.ruler { position: relative; height: 96px; margin: 0 4px; }
.ruler__line { position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: var(--steel-700); }
.ruler__fill { position: absolute; inset: 0; background: var(--amber); box-shadow: 0 0 16px rgb(255 176 74 / 0.7); transform-origin: left; transform: scaleX(0); }
.ruler__mark { position: absolute; top: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; color: var(--steel); }
.ruler__mark::before { content: ""; position: absolute; left: 0; top: 36px; height: 22px; width: 1px; background: var(--steel); }
.ruler__mark b { font-weight: 500; font-size: 0.625rem; letter-spacing: 0.18em; }
.ruler__mark em { font-style: normal; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--mist); }
.ruler__mark--start { left: 0; }
.ruler__mark--end { right: 0; align-items: flex-end; }
.ruler__mark--end::before { left: auto; right: 0; }
.ruler__mark--today { left: calc(var(--t, 0) * 100%); }
.ruler__mark--today b { color: var(--amber); transition: opacity 0.3s; }
.ruler__mark--today.is-edge b { opacity: 0; }
.ruler__mark--today::before { background: var(--amber); width: 2px; box-shadow: 0 0 10px var(--amber); }
.check__panel.is-expired .check__kicker { color: var(--alert); }
.check__panel.is-expired .ruler__fill { background: var(--alert); box-shadow: 0 0 16px rgb(255 106 90 / 0.6); }
.check__cta { align-self: flex-start; }

/* ================= 08 · Process ================= */
.process { border-top: 1px solid var(--line); }
.process__stage { position: relative; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px; padding: calc(var(--header-h) + 18px) var(--pad) 32px; overflow: clip; }
.process__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.process__title { font-size: clamp(2.2rem, 4.8vw, 5rem); max-width: 16ch; }
.cards { position: relative; min-height: 0; }
.card {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "ico title" "ico text"; column-gap: clamp(24px, 5vw, 80px); align-content: center; align-items: start;
  padding: clamp(22px, 3.4vw, 56px);
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-strong);
  box-shadow: 0 -30px 80px -30px rgb(0 0 0 / 0.9);
}
.card::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: var(--dim, 0); pointer-events: none; }
.card__idx { position: absolute; top: 20px; right: 24px; color: var(--amber); }
.card__ico { grid-area: ico; align-self: center; width: min(100%, 300px); height: auto; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; overflow: visible; }
.card h3 { grid-area: title; font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: 0.92; letter-spacing: -0.055em; align-self: end; margin-bottom: 20px; }
.card p { grid-area: text; font-size: clamp(1.05rem, 1.5vw, 1.45rem); max-width: 34ch; }
.card b { font-weight: 600; color: var(--gold); }
main p.process__note { font-size: 0.98rem; color: var(--mist); max-width: 62ch; }

/* ================= 09 · Who sits it ================= */
.teams { display: flex; flex-direction: column; gap: clamp(36px, 7vh, 80px); padding: clamp(100px, 15vh, 180px) var(--pad); border-top: 1px solid var(--line); overflow: clip; background: radial-gradient(ellipse 60% 50% at 10% 20%, rgb(53 86 127 / 0.16), transparent 70%); }
.teams__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; max-width: 820px; }
.teams__copy h2 { font-size: clamp(2.6rem, 6.2vw, 6.6rem); max-width: 14ch; }
.teams-link { display: inline-flex; align-items: center; gap: 12px; min-height: var(--tap-min); font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgb(255 227 176 / 0.5); padding-bottom: 4px; transition: color var(--dur-fast), border-color var(--dur-fast); }
.teams-link:hover { color: #fff; border-color: #fff; }
.profiles { display: flex; height: clamp(360px, 52vh, 500px); border: 1px solid var(--line-strong); }
.profile {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; text-align: left; overflow: hidden;
  padding: 22px clamp(16px, 1.8vw, 28px); background: transparent; border: 0; border-left: 1px solid var(--line-strong); color: var(--silver);
}
.profile:first-child { border-left: 0; }
.profile.is-open { flex: 3.4 1 0; background: linear-gradient(0deg, rgb(255 176 74 / 0.1), transparent 70%); }
.profile__idx { position: absolute; top: 20px; left: clamp(16px, 1.8vw, 28px); color: var(--steel); }
.profile.is-open .profile__idx { color: var(--amber); }
.profile__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.5vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.1; overflow-wrap: anywhere; }
.profile.is-open .profile__title { font-size: clamp(1.5rem, 2.5vw, 2.7rem); }
.profile__body { font-size: 1rem; line-height: 1.5; color: var(--mist); max-width: 40ch; opacity: 0; height: 0; overflow: hidden; }
.profile.is-open .profile__body { opacity: 1; height: auto; }
.profile:hover:not(.is-open) .profile__title { color: var(--amber); }

/* ================= 10 · For companies · contact ================= */
.companies { padding: clamp(100px, 15vh, 180px) var(--pad); border-top: 1px solid var(--line); overflow: clip; background: radial-gradient(ellipse 50% 60% at 12% 70%, rgb(53 86 127 / 0.18), transparent 70%); }
.companies__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.companies__copy { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.companies__copy h2 { font-size: clamp(2.6rem, 6vw, 6.4rem); max-width: 12ch; }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: clamp(1.05rem, 1.3vw, 1.25rem); font-weight: 500; letter-spacing: -0.01em; color: var(--silver); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; background: var(--amber); box-shadow: 0 0 16px rgb(255 176 74 / 0.6); }
main p.companies__direct { max-width: none; font-size: 0.7rem; letter-spacing: 0.1em; line-height: 1.9; color: var(--steel); }
.companies__direct a { color: var(--gold); text-underline-offset: 4px; white-space: nowrap; }
.companies__direct a:hover { color: #fff; }
.contact { grid-column: 8 / span 5; position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 38px); background: rgb(4 7 15 / 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); }
.contact__title { font-size: clamp(1.7rem, 2.4vw, 2.4rem); letter-spacing: -0.04em; }
main p.contact__lead { font-size: 1rem; color: var(--mist); max-width: 44ch; }
.contact__send { align-self: flex-start; margin-top: 4px; border: 0; cursor: pointer; }
main p.contact__status { max-width: none; font-size: 0.95rem; color: var(--gold); padding-left: 14px; border-left: 2px solid var(--amber); }
main p.contact__hint { max-width: none; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }

/* ================= 11 · FAQ ================= */
.faq { padding: clamp(100px, 15vh, 180px) var(--pad); border-top: 1px solid var(--line); overflow: clip; }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.faq__copy { grid-column: 1 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; position: sticky; top: calc(var(--header-h) + 40px); }
.faq__copy h2 { font-size: clamp(2.6rem, 5.4vw, 5.8rem); max-width: 8ch; }
.faq__list { grid-column: 6 / span 7; border-bottom: 1px solid var(--line-strong); }
.faq__item { border-top: 1px solid var(--line-strong); }
.faq__item h3 { font-size: inherit; letter-spacing: normal; line-height: 1.2; }
.faq__q { width: 100%; display: grid; grid-template-columns: 38px minmax(0, 1fr) 28px; align-items: baseline; gap: 14px; padding: 26px 0; background: transparent; border: 0; text-align: left; color: var(--silver); cursor: pointer; }
.faq__n { color: var(--steel); transition: color var(--dur-fast); }
.faq__qt { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.75vw, 1.65rem); letter-spacing: -0.03em; line-height: 1.15; transition: color var(--dur-fast); }
.faq__icon { position: relative; width: 20px; height: 20px; align-self: center; justify-self: end; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: var(--amber); transition: transform 0.4s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__q:hover .faq__qt { color: var(--gold); }
.faq__q[aria-expanded="true"] .faq__n { color: var(--amber); }
.faq__a { overflow: clip; }
.faq__a-in { display: flex; flex-direction: column; gap: 12px; padding: 0 42px 30px 52px; }
.faq__a-in p { font-size: clamp(1rem, 1.15vw, 1.125rem); max-width: 58ch; }
main p.faq__more { max-width: none; padding-top: 28px; font-size: 1rem; color: var(--steel); }

/* ================= 12 · Touchdown ================= */
.touchdown__stage { position: relative; height: 100vh; height: 100svh; overflow: clip; border-top: 1px solid var(--line); }
.touchdown__stage .scene { z-index: 0; --bg-pos: 62% center; }
.runway { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.runway__lights { position: absolute; inset: 0; }
.runway__light { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 2px rgb(255 176 74 / 0.7); }
.runway__flash { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% 70%, rgb(255 190 100 / 0.9), transparent 70%); mix-blend-mode: screen; opacity: 0; }
.plane-final { position: absolute; left: 0; top: 0; z-index: 2; width: min(60vw, 1060px); aspect-ratio: 1536 / 530; pointer-events: none; will-change: transform; }
/* sombra de contacto bajo las ruedas (la línea de contacto está al 96,2 % de la altura de la imagen) */
.plane-final::after { content: ""; position: absolute; z-index: -1; left: 14%; width: 66%; top: calc(96.2% - 0.9vw); height: 1.8vw; max-height: 34px; background: radial-gradient(closest-side, rgb(0 0 0 / 0.7), transparent); filter: blur(5px); }
/* el avión se ve con el mismo grado que la foto: acero azulado, sin blancos puros */
.plane--final { left: 0; top: 0; width: 100%; filter: brightness(0.7) contrast(1.12) saturate(0.42) drop-shadow(0 18px 30px rgb(0 0 0 / 0.5)); }
/* reflejo en la pista mojada: la misma imagen volteada sobre la línea de contacto, que se funde con la distancia */
.plane--mirror { left: 0; top: 0; width: 100%; transform-origin: 50% 96.2%; transform: scaleY(-1); opacity: 0.32; filter: brightness(0.5) saturate(0.4) blur(2.5px); -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 62%); mask-image: linear-gradient(0deg, #000 0%, transparent 62%); }
.spark { position: absolute; left: 0; top: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 2px rgb(255 176 74 / 0.9); pointer-events: none; z-index: 4; }
.puff { position: absolute; left: 0; top: 0; width: 120px; height: 56px; margin: -28px 0 0 -60px; border-radius: 50%; background: radial-gradient(closest-side, rgb(210 222 240 / 0.55), rgb(210 222 240 / 0.18) 55%, transparent 100%); pointer-events: none; z-index: 3; opacity: 0; }
.touchdown__copy { position: absolute; z-index: 5; left: var(--pad); top: calc(var(--header-h) + clamp(30px, 8vh, 90px)); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 640px; }
.touchdown__copy h2 { font-size: clamp(3rem, 7.4vw, 8rem); text-shadow: 0 6px 50px rgb(4 7 15 / 0.8); }
.tline { display: block; }                 /* dos líneas fijas: el titular se escribe sobre su caja final sin reajustar saltos */
.tline.grad { width: fit-content; padding-bottom: 0.06em; }
.touchdown__copy p { color: var(--silver); max-width: 42ch; text-shadow: 0 2px 20px rgb(4 7 15 / 0.9); }
.touchdown__copy .btn { margin-top: 8px; }

/* ================= aviso de vista previa ================= */
.notice { position: fixed; z-index: 140; left: 50%; top: calc(var(--header-h) + 12px); display: flex; align-items: center; gap: 14px; width: max-content; max-width: min(640px, calc(100vw - 24px)); padding: 12px 10px 12px 16px; background: var(--ink-2); border: 1px solid var(--amber); box-shadow: 0 20px 60px -12px rgb(0 0 0 / 0.8), 0 0 40px -10px rgb(255 176 74 / 0.5); transform: translate(-50%, -140%); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.3s; }
.notice.is-in { transform: translate(-50%, 0); opacity: 1; }
.notice__tag { flex: none; padding: 4px 8px; background: var(--amber); color: var(--on-amber); font-size: 0.625rem; }
main .notice__text, .notice__text { max-width: none; font-size: 0.95rem; line-height: 1.4; color: var(--silver); }
.notice__close { flex: none; display: grid; place-items: center; width: var(--tap-min); height: var(--tap-min); background: transparent; border: 0; color: var(--mist); }
.notice__close:hover { color: var(--amber); }

/* ================= pie ================= */
.site-footer { position: relative; background: var(--ink); }
.site-footer .marquee { border-top: 1px solid var(--line); border-bottom: 0; padding-block: clamp(10px, 2vh, 24px); }
.site-footer__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 48px; padding: 36px var(--pad) 12px; border-top: 1px solid var(--line); }
.site-footer__logo { display: inline-flex; align-items: center; min-height: var(--tap-min); }
.site-footer__logo img { height: 38px; width: auto; }
.site-footer__tag { max-width: 46ch; font-size: 0.98rem; color: var(--steel); line-height: 1.5; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(16px, 3vw, 48px); padding: 28px var(--pad) 44px; }
.fcol__title { margin-bottom: 14px; font-size: 0.7rem; color: var(--amber); }
.fcol ul { display: flex; flex-direction: column; }
.fcol a { display: inline-flex; align-items: center; min-height: var(--tap-min); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); text-decoration: none; overflow-wrap: anywhere; transition: color var(--dur-fast); }
.fcol a[href^="mailto"], .fcol a[href^="tel"] { text-transform: none; letter-spacing: 0.04em; }
.fcol a:hover { color: var(--amber); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding: 20px var(--pad) calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.site-footer__legal p { max-width: none; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.social { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.social a { display: inline-flex; align-items: center; min-height: var(--tap-min); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); text-decoration: none; transition: color var(--dur-fast); }
.social a:hover { color: var(--amber); }

/* ================= tablet / móvil ================= */
@media (max-width: 1100px) {
  .exam__copy { grid-column: 1 / -1; grid-row: auto; margin-bottom: 48px; }
  .radio { grid-column: 1 / -1; grid-row: auto; }
  .exam__closer { grid-column: 1 / -1; grid-row: auto; }
  .globe-section__copy { grid-column: 1 / -1; margin-bottom: 40px; }
  .globe { grid-column: 1 / -1; }
  .examiners__copy { grid-column: 1 / span 7; }
  .examiners__frame { grid-column: 8 / -1; }
  .gate { width: min(31%, 330px); }
  .check__copy, .check__panel { grid-column: 1 / -1; }
  .check__panel { margin-top: 56px; }
  .companies__copy, .contact { grid-column: 1 / -1; }
  .contact { margin-top: 56px; }
  .faq__copy { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .faq__copy h2 { max-width: none; }
  .faq__list { grid-column: 1 / -1; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* los medidores pasan a barras horizontales cuando seis columnas ya no caben */
@media (max-width: 1000px) {
  .gauges { --gh: auto; }
  .scale { display: flex; flex-direction: column; gap: 22px; }
  .gauge__track { order: 3; height: 22px; margin-top: 12px; }
  .gauge__name { order: 1; margin-top: 0; font-size: 0.72rem; }
  .gauge__desc { order: 2; margin-top: 6px; max-width: 60ch; }
  .gauge__track::before { background: repeating-linear-gradient(90deg, transparent 0 21px, rgb(190 210 245 / 0.1) 21px 22px); }
  .gauge__track::after { content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; left: calc(var(--min) * 100%); border-left: 1px dashed rgb(255 214 160 / 0.8); }
  .gauge__fill { transform-origin: 0 50%; transform: scaleX(var(--v)); background: repeating-linear-gradient(90deg, rgb(238 243 251 / 0.34) 0 1px, transparent 1px 9px), linear-gradient(90deg, rgb(38 53 92 / 0.4), rgb(91 107 140 / 0.45) 55%, rgb(185 198 222 / 0.6)); }
  .gauge.is-low .gauge__fill { background: repeating-linear-gradient(90deg, rgb(28 16 0 / 0.28) 0 1px, transparent 1px 9px), linear-gradient(90deg, rgb(255 122 61 / 0.62), #ffae48 60%, #ffe9c4); }
  .gauges__limit { display: none; }
}

@media (max-width: 820px) {
  main p { font-size: 1.0625rem; }
  .hero { align-items: flex-start; padding-top: calc(var(--header-h) + 28px); padding-bottom: 110px; }
  .hero__copy { max-width: 100%; }
  #hero-title { font-size: clamp(3rem, 14.4vw, 4.8rem); margin: 12px 0 20px; }
  .hero__support { margin-bottom: 26px; }
  .hero__ring { right: -46vw; top: calc(56% - 60vw); width: 120vw; }
  .plane--cruise { right: -22%; top: auto; bottom: 14%; width: 118vw; }
  .hero__cloud { left: -40%; width: 190%; bottom: -12%; }
  .hero__hold { bottom: 22px; grid-template-columns: auto 1fr; }
  .hero__hold .hero__cue { display: none; }
  .scene--sky .scene__img { --bg-pos: 86% center; }
  .btn { width: 100%; justify-content: space-between; }
  .hero__actions { width: 100%; flex-direction: column; align-items: stretch; }

  .exam { min-height: 0; padding-block: 100px 90px; }
  .exam__inner { display: flex; flex-direction: column; align-items: stretch; gap: 36px; }
  .exam__copy { margin: 0; }
  .exam__closer { margin-top: -6px; }
  .exam__photo::after { background: linear-gradient(180deg, rgb(4 7 15 / 0.9), rgb(4 7 15 / 0.7)); }
  .globe-section { min-height: 0; display: flex; flex-direction: column; align-items: stretch; padding-block: 110px 70px; }
  .globe-section__copy { margin-bottom: 20px; }

  .rule { padding-top: 100px; }
  .marquee--rule .marquee-row li { font-size: clamp(3.4rem, 18vw, 6rem); }

  .examiners { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 70px; padding-block: 100px; }
  .examiners__copy p { min-height: 0; }
  .examiners__frame { width: 100%; aspect-ratio: 4 / 4.6; }

  .levels__stage { min-height: 0; padding-bottom: 60px; }
  .levels__head { flex-direction: column; align-items: flex-start; }
  .gates { display: flex; flex-direction: column; gap: 56px; min-height: 0; margin-top: 44px; padding-left: 26px; }
  .gate, .gate[data-level] { position: relative; left: auto; top: auto; width: 100%; padding-left: 28px; }
  .gate__num { font-size: clamp(5rem, 28vw, 8rem); }
  .levels__note { margin-top: 48px; }

  .check, .companies, .faq { padding-block: 100px 90px; }
  .check__form .choice__opt span { min-height: 48px; padding: 0 16px; }

  .process__stage { padding-bottom: 20px; gap: 10px; }
  .process__title { font-size: clamp(2rem, 9vw, 3rem); }
  .card { grid-template-columns: 1fr; grid-template-areas: "ico" "title" "text"; align-content: center; padding: 22px; row-gap: 14px; }
  .card__ico { width: 100px; align-self: start; margin-bottom: 6px; }
  .card h3 { font-size: clamp(2.8rem, 15vw, 4.6rem); margin-bottom: 8px; }
  main p.process__note { font-size: 0.82rem; }

  .teams { padding-block: 100px 90px; }
  .profiles { flex-direction: column; height: auto; }
  .profile { flex: none; width: 100%; min-height: 78px; padding: 20px 20px 20px 62px; border-left: 0; border-top: 1px solid var(--line-strong); justify-content: flex-start; }
  .profile:first-child { border-top: 0; }
  .profile.is-open { flex: none; }
  .profile__idx { top: 24px; left: 20px; }
  .profile__title, .profile.is-open .profile__title { font-size: 1.25rem; }

  .faq__q { grid-template-columns: 30px minmax(0, 1fr) 24px; gap: 10px; padding: 22px 0; }
  .faq__a-in { padding: 0 8px 26px 40px; }

  .touchdown__copy { top: calc(var(--header-h) + 14px); gap: 16px; max-width: calc(100% - var(--pad) * 2); }
  .touchdown__copy h2 { font-size: clamp(2.6rem, 13vw, 4.4rem); }
  .touchdown__copy .btn { width: auto; }
  .plane-final { width: 150vw; }
  .touchdown__stage .scene { --bg-pos: 66% center; }
  .notice { top: calc(var(--header-h) + 6px); }

  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 12px; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .site-footer__cols { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-height: 760px) and (min-width: 821px) {
  #hero-title { font-size: clamp(2.8rem, 7.2vw, 6.6rem); }
  .hero__support { margin-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__cue::after, .hero__tag::before { animation: none; }
  .examiners__spot, .notice { transition: none; }
}
