/* Humming Airways · «Cielo de día». La piel sale de sus piezas: azul colibrí #2F6BB3, el cielo de su mapa de la
   Costa, nubes de algodón, Open Sans (bold itálica de sus frases) y Archivo negra para los códigos de ruta. */
:root {
  --colibri: #2F6BB3; --cielo: #4B83B6; --cielo-claro: #8DBBE3; --nube: #F4F8FC; --noche: #10264D; --franja: #9CC3E6;
  --fondo: var(--nube); --tinta: var(--noche); --tinta-2: #44587a; --acento: var(--colibri); --sobre-acento: #fff;
  --linea: rgb(16 38 77 / .12); --ok: #34c759; --off: #8a97ad;
  --texto: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Archivo', 'Arial Black', 'Helvetica Neue', sans-serif;
  --barra: 72px; --ancho: 1200px;
  --curva: cubic-bezier(.2, .75, .15, 1);
}
html { scroll-padding-top: var(--barra); }
body { font-family: var(--texto); font-size: clamp(16px, 1.05vw + 11px, 18px); line-height: 1.6; }
a { color: inherit; }
em { font-style: italic; }
section[id] { scroll-margin-top: 0; }
img { height: auto; }

/* ---------- piezas comunes ---------- */
.texto { max-width: 760px; }
.antetitulo { display: inline-flex; align-items: center; gap: .5em; margin-bottom: .9rem;
  font-weight: 800; font-style: italic; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--colibri); }
.antetitulo::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.titulo { font-weight: 800; font-size: clamp(34px, 7.4cqi, 72px); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.titulo em { color: var(--colibri); }
.bajada { margin-top: 1.1rem; max-width: 56ch; font-size: 1.08em; color: var(--tinta-2); text-wrap: pretty; }
.botones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.boton { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8em 1.5em;
  border-radius: 999px; background: var(--colibri); color: #fff; text-decoration: none;
  font-weight: 800; font-style: italic; letter-spacing: .01em; line-height: 1.1;
  box-shadow: 0 10px 24px -10px rgb(47 107 179 / .8); transition: transform .3s var(--curva), box-shadow .3s var(--curva); }
.boton:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgb(47 107 179 / .9); }
.boton--claro { background: #fff; color: var(--colibri); box-shadow: 0 10px 24px -14px rgb(16 38 77 / .5); }
.boton--chico { min-height: 40px; padding: .55em 1.15em; font-size: .92rem; }
.boton--grande { min-height: 58px; font-size: 1.05rem; width: 100%; }
:focus-visible { outline: 3px solid var(--colibri); outline-offset: 3px; }

/* ---------- barra ---------- */
.barra { position: fixed; z-index: 50; top: 12px; left: 12px; right: 12px; height: 56px; max-width: 1240px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 8px 0 18px;
  border-radius: 999px; background: rgb(255 255 255 / .78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px -16px rgb(16 38 77 / .45), inset 0 0 0 1px rgb(255 255 255 / .6); }
.barra__marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #2e3138; }
.barra__colibri { width: 44px; aspect-ratio: 1000 / 561; color: var(--colibri); }
.barra__nombre { font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .02em; font-size: 1.02rem; white-space: nowrap; }
.barra__nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 700; font-size: .95rem; }
.barra__nav a:not(.boton) { text-decoration: none; color: var(--noche); }
.barra__nav a:not(.boton):hover { color: var(--colibri); }
@media (max-width: 760px) {
  .barra { left: 10px; right: 10px; top: 10px; height: 52px; padding-left: 14px; }
  .barra__nav a:not(.boton) { display: none; }
  .barra__colibri { width: 36px; }
  .barra__nombre { font-size: .9rem; }
}
@media (max-width: 359px) { .barra__nombre { font-size: .78rem; letter-spacing: 0; } }

/* ---------- 1 · despegue ---------- */
.despegue { --despegue-cielo: linear-gradient(180deg, #1d5597 0%, #2F6BB3 16%, #4B83B6 38%, #8DBBE3 66%, #e6f0fa 100%);
  --despegue-cabina: #ebe8e2; --despegue-marco: #f8f6f2; --despegue-corre: 23vw; color: var(--noche); }
.despegue__ventanilla { --vw: clamp(200px, 25vw, 380px); }
.despegue__stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34vh; z-index: 2; pointer-events: none;
  background: linear-gradient(transparent, #e6f0fa); opacity: var(--abre); }
html:not(.mov) .despegue__stage::after { display: none; }
.despegue__inicio { position: absolute; left: max(var(--pad), calc((100vw - 1240px) / 2)); top: 50%; translate: 0 -46%;
  width: min(560px, 46vw); }
.despegue__asiento { display: inline-flex; align-items: center; gap: .5em; padding: .4em .9em; border-radius: 999px;
  background: #fff; font-weight: 700; font-size: .82rem; color: var(--tinta-2); box-shadow: 0 6px 18px -10px rgb(16 38 77 / .4); }
.despegue__asiento svg { width: 16px; height: 16px; color: var(--colibri); rotate: 90deg; }
.despegue__titulo { margin-top: 1.1rem; font-weight: 800; font-size: clamp(48px, 7vw, 108px); line-height: .94; letter-spacing: -.035em; }
.despegue__titulo em { display: block; color: var(--colibri); }
.despegue__bajada { margin-top: 1.2rem; max-width: 40ch; font-size: 1.08em; color: var(--tinta-2); }
.despegue__cinturon { margin-top: 2.2rem; display: flex; align-items: center; gap: .7rem; font-size: .85rem; font-weight: 700; color: var(--tinta-2); }
.despegue__cinturon::before { content: ''; width: 22px; height: 34px; border-radius: 12px; border: 2px solid currentColor;
  background: radial-gradient(circle at 50% 30%, currentColor 3px, transparent 4px) no-repeat; }
.mov .despegue__cinturon::before { animation: cinturon 1.6s ease-in-out infinite; }
@keyframes cinturon { 50% { transform: translateY(4px); } }

.despegue__ruta { color: #fff; text-shadow: 0 6px 50px rgb(16 38 77 / .35); }
.despegue__ciudades { padding: 0 .6em; font-weight: 700; font-size: clamp(14px, 1.7vw, 24px); letter-spacing: .02em; }
.despegue__codigo { font-family: var(--display); font-weight: 900; font-size: clamp(70px, 17vw, 250px); letter-spacing: -.02em; }
.despegue__icono { width: .62em; height: .62em; rotate: 90deg; color: var(--colibri); filter: drop-shadow(0 4px 16px rgb(255 255 255 / .6)); }
.despegue__lema { margin-top: 1rem; font-weight: 700; font-style: italic; font-size: clamp(16px, 1.6vw, 24px); }
.despegue__ave { aspect-ratio: 1000 / 561; color: #fff; filter: drop-shadow(0 6px 16px rgb(16 38 77 / .3)); }

@media (max-width: 760px) {
  .despegue { --despegue-corre: 0px; }
  .despegue__cabina { place-items: end center; padding-bottom: 7svh; }
  .despegue__ventanilla { --vw: clamp(118px, 34vw, 170px); }
  .despegue__inicio { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--barra) + 8px); translate: none; }
  .despegue__titulo { font-size: clamp(40px, 12.5vw, 64px); margin-top: .8rem; }
  .despegue__bajada { font-size: .98rem; margin-top: .8rem; }
  .botones { margin-top: 1.2rem; }
  .despegue__cinturon { display: none; }
  .despegue__ciudades { gap: 1em; font-size: 13px; }
  .despegue__codigo { font-size: clamp(44px, 14.5vw, 80px); }
  .despegue__lema { font-size: 15px; padding: 0 var(--pad); }
}
@media (max-width: 760px) and (max-height: 700px) { .despegue__bajada { display: none; } }
/* celular acostado: texto a la izquierda, ventanilla a la derecha y más chica */
@media (max-height: 520px) and (orientation: landscape) {
  .despegue { --despegue-corre: 26vw; }
  .despegue__cabina { place-items: center; padding: 0; }
  .despegue__ventanilla { --vw: 120px; }
  .despegue__inicio { top: 50%; translate: 0 -44%; left: var(--pad); width: 52vw; }
  .despegue__titulo { font-size: 40px; }
  .despegue__bajada, .despegue__cinturon, .despegue__asiento { display: none; }
  .botones { margin-top: .9rem; }
}
html:not(.mov) .despegue__inicio { position: relative; left: auto; right: auto; top: auto; translate: none; width: auto; padding: calc(var(--barra) + 2rem) var(--pad) 0; }
html:not(.mov) .despegue__ruta { color: var(--colibri); text-shadow: none; }

/* ---------- 2 · distancias ---------- */
.distancias { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem);
  align-items: center; max-width: calc(var(--ancho) + 2 * var(--pad)); margin-inline: auto;
  padding: clamp(5rem, 12vw, 9rem) var(--pad) clamp(3rem, 6vw, 5rem); }
.distancias::before { content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background: linear-gradient(#e6f0fa, var(--nube) 40%); }
.distancias__texto { grid-column: 1 / -1; }
.distancias__cifras { display: grid; gap: 2rem; grid-column: 1; grid-row: 2; }
.distancias__foto { grid-column: 2; grid-row: 2; }
.cifra__num { display: flex; align-items: baseline; gap: .1em; font-family: var(--display); font-weight: 900;
  font-size: clamp(96px, 15vw, 190px); line-height: .9; letter-spacing: -.04em; color: var(--colibri); }
.cifra__num small { font-family: var(--texto); font-size: .22em; font-weight: 800; font-style: italic; letter-spacing: 0; color: var(--noche); }
.cifra__txt { max-width: 34ch; margin-top: .6rem; color: var(--tinta-2); }
.cifra__txt strong { color: var(--noche); }
.distancias__foto { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgb(16 38 77 / .5); }
.distancias__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 50%; }
.pista-despegue { grid-column: 1 / -1; grid-row: 3; position: relative; height: 150px; container-type: inline-size; }
.pista-despegue__linea { position: absolute; left: 0; right: 0; bottom: 24px; height: 4px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--franja) 0 34px, transparent 34px 56px); }
.pista-despegue__aep { position: absolute; left: 0; bottom: 36px; font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--franja); }
.pista-despegue__avion { --t: max(0, var(--av, 0) - .42); position: absolute; left: 0; bottom: 18px; width: 64px; height: 64px; color: var(--colibri);
  transform: translateX(calc(min(var(--av, 0) * 1.25, 1) * (100cqi - 64px))) translateY(calc(var(--t) * -220px)) rotate(calc(90deg - var(--t) * 40deg)); }
html:not(.mov) .pista-despegue { display: none; }
@media (max-width: 760px) {
  .distancias { grid-template-columns: 1fr; }
  .distancias__cifras, .distancias__foto, .pista-despegue { grid-column: 1; grid-row: auto; }
  .distancias__foto img { aspect-ratio: 4 / 3; }
  .pista-despegue { height: 110px; order: 3; }
}

/* ---------- 3 · rutas: la línea del vuelo ---------- */
.rutas { position: relative; overflow: clip; color: #fff; padding: clamp(5rem, 12vw, 9rem) var(--pad) clamp(5rem, 10vw, 8rem);
  background: linear-gradient(180deg, var(--nube) 0, var(--cielo) 22vh, var(--colibri) 55%, #245a9a 100%); }
.rutas__cielo { position: absolute; inset: 0; pointer-events: none; }
.rutas__nube { position: absolute; width: clamp(240px, 34vw, 520px); opacity: .55; max-width: none;
  left: calc(var(--n) * 27% - 8%); top: calc(14% + var(--n) * 21%);
  transform: translate3d(0, calc((var(--av, .5) - .5) * (-200px - var(--n) * 140px)), 0); }
.rutas__nube:nth-child(even) { left: auto; right: calc(var(--n) * 6% - 10%); }
.rutas__cabeza { position: relative; margin-inline: auto; text-align: center; padding-top: 6vh; }
.rutas__cabeza .antetitulo { color: #fff; }
.rutas__cabeza .bajada { margin-inline: auto; color: rgb(255 255 255 / .86); }
.rutas__cabeza .titulo { color: #fff; }

.vuelo { max-width: var(--ancho); margin: clamp(3rem, 8vw, 6rem) auto 0; padding: 4rem 0 8rem;
  --vuelo-ave: clamp(54px, 6vw, 80px); --vuelo-grosor: 3px; }
.parada { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); align-items: center; gap: 0 clamp(1rem, 3vw, 3rem);
  margin-block: 0 clamp(7rem, 22vh, 14rem); }
.parada:last-of-type { margin-bottom: 0; }
.parada .vuelo__nodo { grid-column: 2; grid-row: 1; justify-self: center; }
.parada--izq .parada__postal { grid-column: 1; grid-row: 1; justify-self: end; }
.parada--izq .parada__texto { grid-column: 3; grid-row: 1; }
.parada--der .parada__postal { grid-column: 3; grid-row: 1; justify-self: start; }
.parada--der .parada__texto { grid-column: 1; grid-row: 1; text-align: right; justify-self: end; }
.parada--der .parada__dato { flex-direction: row-reverse; }
.parada__postal { --rot: -3deg; width: min(100%, 400px); padding: 12px 12px 0; background: #fff; border-radius: 6px; color: var(--noche);
  box-shadow: 0 30px 60px -24px rgb(6 20 46 / .6);
  transform: rotate(calc(var(--rot) * 2.6)) translate3d(0, 70px, 0) scale(.9); opacity: .3;
  transition: transform 1s var(--curva), opacity .8s var(--curva); }
.parada--der .parada__postal { --rot: 3deg; }
.parada__postal img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.parada__postal--ancha img { aspect-ratio: 4 / 3; }
.parada__postal figcaption { padding: .8rem .2rem 1rem; text-align: center; font-weight: 700; font-style: italic; font-size: .92rem; }
.parada.is-on .parada__postal { transform: rotate(var(--rot)); opacity: 1; }
.parada__texto { max-width: 440px; }
.parada__codigo { font-family: var(--display); font-weight: 900; font-size: clamp(76px, 11vw, 170px); line-height: .82; letter-spacing: -.03em;
  color: rgb(255 255 255 / .1); -webkit-text-stroke: 2px rgb(255 255 255 / .75);
  transform: translate3d(0, 40px, 0); opacity: 0; transition: transform 1s var(--curva), opacity 1s var(--curva); }
.parada.is-on .parada__codigo { transform: none; opacity: 1; }
.parada__ciudad { margin-top: .6rem; font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.parada__ciudad small { display: block; margin-top: .25rem; font-size: .42em; font-weight: 600; font-style: italic; letter-spacing: .02em; opacity: .8; }
.parada__dato { display: flex; align-items: center; gap: .5em; margin: 1rem 0 .7rem; font-weight: 800; font-style: italic; }
.parada__dato svg { width: 20px; height: 20px; rotate: 90deg; flex: none; }
.parada__texto > p:not([class]) { color: rgb(255 255 255 / .88); margin-bottom: 1.4rem; }
.mov .parada__texto > :not(.parada__codigo) { transition: opacity .8s .15s var(--curva), transform .8s .15s var(--curva); }
.mov .parada:not(.is-on) .parada__texto > :not(.parada__codigo) { opacity: 0; transform: translate3d(0, 24px, 0); }
.vuelo__ave { color: #fff; aspect-ratio: 1000 / 561; filter: drop-shadow(0 6px 14px rgb(6 20 46 / .35)); }
@media (max-width: 760px) {
  .rutas { padding-inline: var(--pad); }
  .rutas__cabeza { text-align: left; padding-top: 10vh; }
  .vuelo { padding: 2rem 0 5rem; --vuelo-ave: 44px; }
  .parada { grid-template-columns: 40px minmax(0, 1fr); gap: .9rem; margin-bottom: 7rem; }
  .parada .vuelo__nodo { grid-column: 1; grid-row: 1; align-self: start; margin-top: 2.2rem; width: 14px; height: 14px; }
  .parada--izq .parada__postal, .parada--der .parada__postal { grid-column: 2; grid-row: 2; justify-self: start; width: min(100% - 12px, 340px); }
  .parada--izq .parada__texto, .parada--der .parada__texto { grid-column: 2; grid-row: 1; text-align: left; justify-self: start; }
  .parada--der .parada__dato { flex-direction: row; }
  .parada__codigo { font-size: 72px; }
  .parada__texto > p:not([class]) { margin-bottom: 1rem; }
  .parada__texto .boton { margin-bottom: 1.4rem; }
}
html:not(.mov) .parada__postal { transform: rotate(var(--rot)); opacity: 1; }
html:not(.mov) .parada__codigo { transform: none; opacity: 1; }

/* ---------- 4 · alerta de escapada → la Costa ---------- */
.alerta { --av: 0; color: #fff; }
html:not(.mov) .alerta { --av: 1; }
.alerta__stage { display: grid; place-items: center; background: #0d1a2e; }
.alerta__foto, .alerta__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.alerta__foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(6 20 46 / .45), rgb(6 20 46 / .1) 40%, rgb(6 20 46 / .55)); }
.alerta__borrosa { transform: scale(1.12); }
.alerta__nitida { opacity: clamp(0, (var(--av) - .36) * 7, 1); transform: scale(calc(1.12 - clamp(0, (var(--av) - .36) * 2, .12))); }
.alerta.is-vista .alerta__nitida { opacity: 1; }
.alerta__aviso { position: relative; z-index: 2; width: min(460px, calc(100vw - 2 * var(--pad))); text-align: center;
  display: grid; justify-items: center; gap: .5rem; grid-area: 1 / 1;
  opacity: calc(1 - clamp(0, (var(--av) - .34) * 8, 1)); transform: scale(calc(1 - clamp(0, (var(--av) - .34) * 2, .1))); }
.alerta.is-vista .alerta__aviso { opacity: 0; pointer-events: none; }
.alerta__icono { width: 54px; height: 54px; }
.alerta__titulo { font-weight: 800; font-size: clamp(26px, 3vw, 34px); }
.alerta__aviso p:not(.alerta__titulo) { font-size: .98rem; opacity: .92; }
.alerta__ver { margin-top: 1.4rem; padding: .9rem 1.4rem; width: 100%; border-top: 1px solid rgb(255 255 255 / .4); font-weight: 700; }
.alerta__ver:hover { text-decoration: underline; }
.alerta__costa { position: relative; z-index: 2; grid-area: 1 / 1; text-align: center; padding: 0 var(--pad);
  opacity: clamp(0, (var(--av) - .47) * 9, 1); transform: translate3d(0, calc((1 - clamp(0, (var(--av) - .47) * 9, 1)) * 40px), 0); }
.alerta.is-vista .alerta__costa { opacity: 1; transform: none; }
.alerta__lema { font-family: 'Helvetica Neue', Arial, var(--display); font-weight: 800; font-size: clamp(54px, 10vw, 150px); line-height: .9;
  letter-spacing: -.02em; text-transform: uppercase; text-shadow: 0 8px 40px rgb(6 20 46 / .4); }
.alerta__lema span { display: block; margin-top: .3rem; font-family: var(--texto); font-weight: 400; font-size: .3em; text-transform: none; letter-spacing: 0; }
.alerta__playas { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 2rem auto 0; padding: 0; list-style: none; max-width: 640px; }
.alerta__playas li { padding: .45em 1em; border-radius: 999px; background: rgb(255 255 255 / .18); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 700; font-size: .92rem; }
.alerta__nota { margin-top: 1.4rem; font-weight: 700; font-style: italic; }
html:not(.mov) .alerta__aviso { display: none; }
html:not(.mov) .alerta__stage { min-height: 90svh; }

/* ---------- 5 · te está llamando ---------- */
.llamadas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding: clamp(5rem, 11vw, 9rem) max(var(--pad), calc((100vw - var(--ancho)) / 2)); color: #fff;
  background: radial-gradient(120% 80% at 80% 20%, #3a78c0 0, var(--colibri) 30%, var(--noche) 100%); }
.llamadas .antetitulo, .llamadas .titulo em { color: var(--franja); }
.llamadas .bajada { color: rgb(255 255 255 / .85); }
.llamada { display: grid; gap: 1.4rem; justify-items: center; --llamada-marco: #0b1222; }
.llamada__control { display: grid; gap: 1rem; justify-items: center; }
.llamada__quien { font-size: 1.05rem; text-align: center; }
.llamada__quien strong { font-weight: 800; }
.llamada__otras { display: flex; align-items: center; gap: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.llamada__otras button { width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem; line-height: 1;
  background: rgb(255 255 255 / .14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.llamada__otras button:hover { background: rgb(255 255 255 / .26); }
.llamada__atender { font-size: .9rem; font-weight: 700; opacity: .85; }
@media (max-width: 860px) { .llamadas { grid-template-columns: 1fr; } }

/* ---------- 6 · esto y… ---------- */
.esto { padding: clamp(5rem, 11vw, 9rem) max(var(--pad), calc((100vw - var(--ancho)) / 2)); overflow: clip; }
.esto__cabeza { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.esto__fotos { --abanico-giro: 7deg; --abanico-baja: 36px; --abanico-gap: clamp(14px, 2vw, 28px); max-width: 1000px; margin-inline: auto; }
.abanico__carta { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgb(16 38 77 / .55); }
.abanico__carta img { width: 100%; }
@media (max-width: 760px) {
  .esto__fotos.abanico { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--pad));
    padding: 1rem var(--pad) 2rem; scrollbar-width: none; }
  .esto__fotos .abanico__carta { flex: 0 0 78%; scroll-snap-align: center; transform: none; }
}

/* ---------- 7 · flota ---------- */
.flota { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding: clamp(5rem, 11vw, 9rem) max(var(--pad), calc((100vw - var(--ancho)) / 2)); background: var(--noche); color: #fff; }
.flota .antetitulo, .flota .titulo em { color: var(--franja); }
.flota .bajada { color: rgb(255 255 255 / .8); }
.flota__foto { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.flota__foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.2 - var(--av, .7) * .26)); }
.flota__luz { position: absolute; left: 50%; top: 77%; width: 60%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgb(255 236 190 / .9) 0, rgb(255 220 150 / .35) 18%, transparent 55%); mix-blend-mode: screen; }
.mov .flota__luz { animation: baliza 2.4s ease-in-out infinite; }
@keyframes baliza { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.08); } }
.flota__datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2.4rem 0; }
.flota__datos div { padding: 1rem; border-radius: 16px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.flota__datos dt { font-size: .82rem; font-weight: 700; opacity: .75; }
.flota__datos dd { margin: .3rem 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.flota__datos .flota__pendiente { font-family: var(--texto); font-size: .95rem; font-weight: 700; color: var(--franja); }
.flota__cola { --inclinar-max: 10deg; display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 1rem; max-width: 420px;
  padding: 10px; border-radius: 18px; background: rgb(255 255 255 / .08); }
.flota__cola img { width: 120px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.flota__cola-txt { font-weight: 700; font-style: italic; }
@media (max-width: 860px) { .flota { grid-template-columns: 1fr; } .flota__foto { aspect-ratio: 4 / 4.2; } }
@media (max-width: 420px) { .flota__datos { grid-template-columns: 1fr 1fr; } .flota__datos div:last-child { grid-column: 1 / -1; } }

/* ---------- 8 · abonos ---------- */
.abonos { padding: clamp(5rem, 11vw, 9rem) max(var(--pad), calc((100vw - var(--ancho)) / 2)); background: #fff; }
.abonos__cartas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); margin-top: clamp(2.5rem, 6vw, 4rem); }
.abono .girar__cara { display: grid; align-content: start; gap: .8rem; min-height: 300px; padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: 26px; }
.abono__frente { background: linear-gradient(150deg, var(--colibri), #24599a); color: #fff; }
.abono__frente h3 { font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; }
.abono__icono { width: 74px; height: 42px; color: var(--franja); }
.abono__dorso { background: var(--nube); color: var(--noche); box-shadow: inset 0 0 0 2px var(--colibri); align-content: center; }
.abono__dorso .boton { justify-self: start; }
.girar__boton { margin-top: .8rem; font-weight: 700; color: var(--colibri); text-decoration: underline; }
.abonos__uade { margin-top: 2.4rem; padding: 1.1rem 1.4rem; border-radius: 16px; background: var(--nube); font-weight: 600; color: var(--tinta-2); }
@media (max-width: 700px) { .abonos__cartas { grid-template-columns: 1fr; } .abono .girar__cara { min-height: 240px; } }

/* ---------- 9 · preventa: el tablero ---------- */
.preventa { padding: clamp(5rem, 11vw, 9rem) max(var(--pad), calc((100vw - var(--ancho)) / 2));
  background: linear-gradient(180deg, #fff, #e6f0fa); }
.tablero-aep { margin-top: clamp(2.5rem, 6vw, 4rem); padding: clamp(1rem, 3vw, 2rem); border-radius: 26px; background: #0c1526; color: #fff;
  box-shadow: 0 40px 80px -40px rgb(6 20 46 / .8), inset 0 0 0 1px rgb(255 255 255 / .06); --flap: clamp(15px, 2vw, 28px);
  --flap-fondo: #1a2438; --flap-letra: var(--display); overflow: hidden; }
.tablero-aep__cabeza { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: .6rem;
  border-bottom: 1px solid rgb(255 255 255 / .12); font-weight: 800; font-style: italic; color: var(--franja); }
.tablero-aep__cabeza p { display: flex; align-items: center; gap: .5em; }
.tablero-aep__cabeza svg { width: 20px; height: 20px; rotate: 45deg; }
.tablero-aep__cabeza time { font-family: var(--display); font-style: normal; color: #fff; font-variant-numeric: tabular-nums; }
.partidas { width: 100%; border-collapse: collapse; }
.partidas th { padding: .4rem .5rem; text-align: left; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .5); }
.partidas td { padding: .45rem .5rem; border-top: 1px solid rgb(255 255 255 / .06); }
.partidas .estado { font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--franja); white-space: nowrap; }
.partidas .estado::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: .5em; border-radius: 50%; background: currentColor; vertical-align: middle; }
.mov .partidas .nueva .estado::before { animation: titila 1.2s steps(2) infinite; }
.partidas .estado--vuela { color: #7ee2a0; }
@keyframes titila { 50% { opacity: .15; } }
.preventa__cta { margin-top: 2rem; }
@media (max-width: 600px) {
  .tablero-aep { --flap: clamp(12px, 3.9vw, 17px); padding: .9rem; }
  .partidas thead { display: none; }
  .partidas, .partidas tbody { display: block; }
  .partidas tr { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; padding: .55rem 0; border-top: 1px solid rgb(255 255 255 / .07); }
  .partidas td { padding: 0; border: 0; }
  .partidas .estado { grid-column: 2; margin-top: .35rem; font-size: .72rem; }
}

/* ---------- 10 · bitácora ---------- */
.bitacora { padding: clamp(5rem, 11vw, 9rem) max(var(--pad), calc((100vw - var(--ancho)) / 2)) clamp(7rem, 14vw, 11rem);
  background: linear-gradient(180deg, #e6f0fa 55%, var(--cielo)); }
.bitacora__lista { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; margin: clamp(2.5rem, 6vw, 4rem) 0 0; padding: 2.6rem 0 0; list-style: none; }
.bitacora__lista::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--colibri) 0 14px, transparent 14px 24px); opacity: .5; }
.bitacora__lista li { position: relative; }
.bitacora__lista li::before { content: ''; position: absolute; top: -2.6rem; left: 0; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 6px var(--colibri); }
.bitacora__lista time { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.2vw, 28px); color: var(--colibri); text-transform: uppercase; }
.bitacora__lista p { margin-top: .4rem; color: var(--tinta-2); }
.bitacora__lista strong { color: var(--noche); }
@media (max-width: 860px) {
  .bitacora__lista { grid-template-columns: 1fr; padding: 0 0 0 2.4rem; gap: 2rem; }
  .bitacora__lista::before { left: 10px; right: auto; top: 0; bottom: 0; width: 3px; height: auto;
    background: repeating-linear-gradient(180deg, var(--colibri) 0 14px, transparent 14px 24px); }
  .bitacora__lista li::before { top: 2px; left: -2.4rem; }
}

/* ---------- 11 · reservar: el pase ---------- */
.reservar { position: relative; overflow: clip; padding: clamp(5rem, 11vw, 9rem) max(var(--pad), calc((100vw - var(--ancho)) / 2));
  background: var(--cielo); color: #fff; --pase-hueco: var(--cielo); }
.reservar .antetitulo { color: #fff; } .reservar .titulo em { color: #fff; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .12em; }
.reservar .bajada { color: rgb(255 255 255 / .9); }
.reservar__cabeza { position: relative; z-index: 1; }
.reservar__nube { position: absolute; width: clamp(260px, 36vw, 520px); max-width: none; opacity: .85; pointer-events: none; }
.reservar__nube--a { top: 4%; right: -6%; } .reservar__nube--b { bottom: 6%; left: -10%; opacity: .6; }
.mov .reservar__nube--a { animation: deriva 18s ease-in-out infinite alternate; }
.mov .reservar__nube--b { animation: deriva 24s ease-in-out infinite alternate-reverse; }
@keyframes deriva { to { transform: translateX(-60px); } }
.pase { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 4rem); align-items: start; margin-top: clamp(2.5rem, 6vw, 4rem); }
.pase__lado { --inclinar-max: 6deg; position: sticky; top: calc(var(--barra) + 24px); overflow: visible; border-radius: 22px; }
.pase__boleto { grid-template-columns: minmax(0, 1fr) clamp(96px, 12vw, 130px); border-radius: 22px; color: var(--noche);
  filter: drop-shadow(0 30px 34px rgb(6 20 46 / .38)); }
/* muescas de la perforación hechas con máscara (se ven sobre cualquier fondo) */
.pase__cuerpo { -webkit-mask: radial-gradient(circle 13px at 100% 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 100% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 13px at 100% 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 100% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; background: #fff; border-radius: 22px 0 0 22px; }
.pase__talon { -webkit-mask: radial-gradient(circle 13px at 0 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 0 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 13px at 0 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 0 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; }
.pase__talon::before, .pase__talon::after { display: none; }
.pase__lado .inclinar__brillo { border-radius: 22px; }
.pase__banda { display: flex; align-items: center; gap: .6rem; padding: .8rem 1.3rem; border-radius: 22px 0 0 0; background: var(--colibri); color: #fff;
  font-weight: 800; font-style: italic; font-size: 1.15rem; letter-spacing: .03em; }
.pase__banda svg { width: 46px; height: 26px; } .pase__banda .pase__banda-avion { width: 20px; height: 20px; margin-left: auto; rotate: 90deg; }
.pase__ruta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1.4rem 1.3rem .6rem; }
.pase__ruta p { display: grid; }
.pase__ruta p:last-child { text-align: right; }
.pase__ruta small { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--off); }
.pase__ruta b { font-family: var(--display); font-weight: 900; font-size: clamp(46px, 6vw, 78px); line-height: .95; color: var(--colibri); }
.pase__ruta span { font-weight: 700; font-style: italic; font-size: .92rem; }
.pase__flecha { width: 34px; height: 34px; rotate: 90deg; color: var(--colibri); flex: none; }
.pase__datos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: .8rem; margin: 0; padding: .8rem 1.3rem 1.4rem; border-top: 1px dashed var(--linea); }
.pase__datos dt { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--off); }
.pase__datos dd { margin: .2rem 0 0; font-weight: 800; font-size: .95rem; overflow-wrap: anywhere; }
.pase__talon { display: grid; align-content: space-between; justify-items: center; gap: 1rem; padding: 1.2rem .6rem; text-align: center;
  font-family: var(--display); font-weight: 900; font-size: 1.15rem; line-height: 1.15; color: var(--colibri); background: #fff; border-radius: 0 22px 22px 0; }
.pase__talon p { color: #8a97ad; } .pase__talon p span { color: var(--colibri); }
.pase__barras { display: block; width: 70%; height: 90px;
  background: repeating-linear-gradient(90deg, var(--noche) 0 2px, transparent 2px 4px, var(--noche) 4px 7px, transparent 7px 9px, var(--noche) 9px 10px, transparent 10px 13px); }
.pase__form { display: grid; gap: 1.2rem; padding: clamp(1.3rem, 3vw, 2rem); border-radius: 22px; background: rgb(255 255 255 / .96); color: var(--noche);
  box-shadow: 0 30px 60px -30px rgb(6 20 46 / .5); }
.pase__form fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pase__form legend { width: 100%; margin-bottom: .6rem; font-weight: 800; }
.pase__form fieldset label { position: relative; }
.pase__form fieldset input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pase__form fieldset span { display: inline-flex; gap: .4em; align-items: center; min-height: 44px; padding: .5em 1em; border-radius: 999px;
  background: var(--nube); box-shadow: inset 0 0 0 1.5px var(--linea); font-weight: 700; font-size: .95rem; transition: background .2s, color .2s; }
.pase__form fieldset span b { font-family: var(--display); font-weight: 900; color: var(--colibri); }
.pase__form fieldset input:checked + span { background: var(--colibri); color: #fff; box-shadow: none; }
.pase__form fieldset input:checked + span b { color: #fff; }
.pase__form fieldset input:focus-visible + span { outline: 3px solid var(--colibri); outline-offset: 2px; }
.pase__fila { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pase__campo { display: grid; gap: .35rem; font-weight: 800; font-size: .92rem; }
.pase__campo input { min-height: 48px; padding: .6em .9em; border-radius: 12px; border: 1.5px solid var(--linea); background: #fff; font: inherit; font-weight: 600; color: var(--noche); }
.pase__campo input:focus { outline: 3px solid rgb(47 107 179 / .35); border-color: var(--colibri); }
.pase__error { color: #b42318; font-weight: 700; }
.pase__directo { font-size: .88rem; color: var(--tinta-2); }
.pase__directo a { color: var(--colibri); font-weight: 700; }
@media (max-width: 900px) {
  .pase { grid-template-columns: 1fr; }
  .pase__lado { position: relative; top: auto; }
}
@media (max-width: 480px) {
  .pase__fila { grid-template-columns: 1fr; }
  .pase__datos { grid-template-columns: 1fr 1fr; }
  .pase__datos div:first-child { grid-column: 1 / -1; }
  .pase__ruta { padding-inline: 1rem; }
  .pase__talon { font-size: .9rem; padding-inline: .3rem; }
  .pase__boleto { grid-template-columns: minmax(0, 1fr) 78px; }
  .pase__ruta b { font-size: clamp(32px, 10.5vw, 46px); }
  .pase__flecha { width: 24px; height: 24px; }
  .pase__banda { font-size: 1rem; padding: .7rem 1rem; }
  .pase__barras { height: 60px; }
}

/* ---------- pie ---------- */
.pie { --pie-fondo: var(--noche); --pie-texto: #f2f6fb; --pie-tenue: rgb(242 246 251 / .62); --pie-acento: var(--franja); --pie-linea: rgb(242 246 251 / .14); }
.pie__banda { position: relative; overflow: clip; display: grid; justify-items: center; gap: 1.6rem; text-align: center;
  padding: clamp(5rem, 10vw, 8rem) var(--pad); background: linear-gradient(180deg, var(--cielo), var(--colibri) 60%, var(--noche)); }
.pie__ave { width: clamp(90px, 12vw, 160px); aspect-ratio: 1000 / 561; color: #fff;
  transform: translate3d(calc((.5 - var(--av, .5)) * 70vw), calc(sin(var(--av, .5) * 9rad) * 14px), 0); }
.pie__lema { font-weight: 800; font-size: clamp(32px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
.pie__lema em { color: var(--franja); }
.pie__marca { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.pie__marca svg { width: 64px; aspect-ratio: 1000 / 561; color: var(--franja); }
.pie__marca span { display: grid; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .02em; font-size: 1.15rem; line-height: 1.2; }
.pie__marca small { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .82rem; color: var(--pie-tenue); }
.pie__titulo { font-style: italic; }
.pie .boton--claro { color: var(--colibri); }
.pie address a, .pie__lista a { overflow-wrap: anywhere; }

/* sin movimiento: la portada es una página normal (texto, ventanilla con nubes quietas, código de ruta) */
html:not(.mov) .despegue__cielo { display: none; }
html:not(.mov) .despegue__stage { display: flex; flex-direction: column; }
html:not(.mov) .despegue__inicio { order: 1; }
html:not(.mov) .despegue__cabina { order: 2; place-items: center; padding: 2.5rem 0 1rem; }
html:not(.mov) .despegue__ventanilla { --vw: 220px; translate: none;
  background: url("../img/nube-real-1.webp") center 70% / 90% auto no-repeat, linear-gradient(#2F6BB3, #8DBBE3); }
html:not(.mov) .despegue__ruta { order: 3; }

/* ---------- portada desde afuera: el avión al atardecer y el zoom a su ventanilla ---------- */
.despegue--foto { --despegue-cabina: #c9bfbb; --despegue-marco: #a69c98; --despegue-aspecto: 65 / 73; --despegue-radio: 31% / 28%;
  --despegue-foco: 50% 80%;
  --despegue-tarde: linear-gradient(180deg, #4d6f9f 0%, #8e9fbf 30%, #d9b3a3 62%, #f2b57c 100%); }
.despegue--foto .despegue__cabina { place-items: center; padding: 0; }
.despegue--foto .despegue__ventanilla {
  box-shadow:
    inset 0 0 0 calc(var(--vw) * .03) #3f3d43,
    inset 0 calc(var(--vw) * .02) calc(var(--vw) * .07) calc(var(--vw) * .05) rgb(0 0 0 / .45),
    0 0 0 calc(var(--vw) * .018) var(--despegue-marco),
    0 0 0 200vmax var(--despegue-cabina); }
/* como en el celular: el avión entero arriba y el texto abajo, sobre un degradé oscuro que sube desde el piso */
.despegue--foto .despegue__inicio { top: auto; bottom: clamp(28px, 6svh, 64px); translate: none; color: #fff; width: min(660px, 56vw); }
.despegue--foto .despegue__inicio::before { content: ''; position: absolute; z-index: -1; inset: -14svh -100vw -10svh -20vw; pointer-events: none;
  background: linear-gradient(transparent, rgb(9 22 48 / .42) 30%, rgb(9 22 48 / .78)); }
.despegue--foto .despegue__titulo { font-size: clamp(46px, 5.6vw, 92px); margin-top: .8rem; }
.despegue--foto .despegue__bajada { max-width: 50ch; margin-top: .9rem; }
.despegue--foto .botones { margin-top: 1.4rem; }
.despegue--foto .despegue__titulo { text-shadow: 0 4px 30px rgb(9 22 48 / .45); }
.despegue--foto .despegue__titulo em { color: var(--franja); }
.despegue--foto .despegue__bajada { color: rgb(255 255 255 / .92); }
.despegue--foto .despegue__cinturon { color: #fff; }
@media (max-width: 760px) {
  .despegue--foto { --despegue-foco: 0% 50%; }
  .despegue--foto .despegue__inicio { top: auto; bottom: 26px; width: auto; }
  .despegue--foto .despegue__titulo { font-size: clamp(40px, 12.5vw, 64px); }
  .despegue--foto .despegue__inicio::before { inset: -30svh -20vw -10svh -20vw;
    background: linear-gradient(transparent, rgb(9 22 48 / .55) 35%, rgb(9 22 48 / .82)); }
  .despegue--foto .despegue__bajada { display: none; }
  .despegue--foto .despegue__asiento { margin-bottom: .2rem; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .despegue--foto { --despegue-foco: 50% 12%; }
  .despegue--foto .despegue__inicio { top: 50%; bottom: auto; translate: 0 -40%; }
}
@media (min-width: 761px) and (max-height: 820px) { .despegue--foto .despegue__cinturon { display: none; } }
html:not(.mov) .despegue--foto .despegue__inicio { color: var(--noche); }
html:not(.mov) .despegue__inicio::before { display: none; }
html:not(.mov) .despegue__titulo em { color: var(--colibri); }
html:not(.mov) .despegue__bajada { color: var(--tinta-2); display: block; }
/* la ventanilla invita: un halo que late alrededor del vidrio mientras no empezaste a bajar */
.despegue--foto .despegue__cinturon { display: none; }
.despegue__vidrio::after { content: ''; position: absolute; inset: -10px; border-radius: inherit; border: 2px solid rgb(255 255 255 / .85);
  opacity: 0; pointer-events: none; }
.mov .despegue__vidrio::after { animation: halo-ventanilla 2.2s ease-out infinite; }
@keyframes halo-ventanilla { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.35); } }

/* ---------- ¿por qué volar con Humming? · el embarque (sus placas: hueso, azul, raya y avioncito) ---------- */
.embarque { --hueso: #EFEFEB; --helv: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #fff; }
.embarque__stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: 1fr auto;
  align-items: center; gap: 1.5rem clamp(2rem, 6vw, 6rem); padding: calc(var(--barra) + 2rem) max(var(--pad), calc((100vw - var(--ancho)) / 2)) 2.2rem;
  background: radial-gradient(90% 70% at 75% 40%, #3d7cc4, var(--colibri) 55%, #24599a); }
.embarque__colibri { width: 84px; aspect-ratio: 1000 / 561; color: #fff; margin-bottom: 1rem; }
.embarque__ante { font-weight: 800; font-style: italic; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--franja); }
.embarque__titulo { margin-top: .5rem; font-weight: 400; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.02em; }
.embarque__titulo strong { font-weight: 800; }
.embarque__bajada { margin-top: 1rem; max-width: 36ch; color: rgb(255 255 255 / .86); }
.embarque__cta { margin-top: 1.6rem; }
.embarque__mazo { justify-self: center; width: min(430px, 100%); }
.embarque__carta { container-type: inline-size; --embarque-tramo: calc(100cqi - 40px); display: flex; flex-direction: column;
  aspect-ratio: 3 / 3.3; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.3rem, 3vw, 2rem); border-radius: 22px;
  background: var(--hueso); color: var(--colibri); font-family: var(--helv);
  box-shadow: 0 30px 60px -24px rgb(6 20 46 / .55), 0 1px 0 rgb(255 255 255 / .6) inset; }
.embarque__num { font-family: var(--texto); font-weight: 800; font-style: italic; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8aa3c6; }
.embarque__txt { margin-top: 1rem; font-size: clamp(22px, 7.4cqi, 32px); line-height: 1.22; letter-spacing: -.005em; }
.embarque__txt strong { font-weight: 700; }
.embarque__txt::after { content: ''; display: block; height: 6px; margin-top: 1.1rem; border-radius: 6px; background: var(--colibri);
  transform-origin: 0 50%; transform: scaleX(calc(clamp(0, 1 - var(--d) * 2, 1))); }
.embarque__vuela { left: 0; right: 0; bottom: 2.2rem; height: 1.5px; background: var(--colibri); }
.embarque__vuela svg { width: 30px; height: 30px; color: var(--colibri); margin-left: 20px; }
.embarque__vuela use { transform: rotate(90deg); transform-origin: center; transform-box: fill-box; }
.embarque__linea { grid-column: 1 / -1; position: relative; container-type: inline-size; padding-top: 1.4rem; }
.embarque__etapas { font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: rgb(255 255 255 / .55); }
.embarque__etapas::before { background: rgb(255 255 255 / .25); }
.embarque__etapas::after { background: #fff; }
.embarque__etapas li::before { background: #24599a; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .5); }
.embarque__etapas li.is-on { color: #fff; }
.embarque__etapas li.is-on::before { background: #fff; box-shadow: none; }
.embarque__avion { position: absolute; top: calc(1.4rem - 13px); left: calc(50cqi / var(--n) - 14px); width: 28px; height: 28px; color: #fff; rotate: 90deg;
  transform: translateY(calc((100cqi - 100cqi / var(--n)) * var(--ep) * -1)); filter: drop-shadow(0 2px 6px rgb(0 0 0 / .3)); }
@media (max-width: 860px) {
  .embarque__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; gap: 1rem; padding-top: calc(var(--barra) + 1rem); padding-bottom: 1.2rem; }
  .embarque__colibri, .embarque__bajada, .embarque__cta { display: none; }
  .embarque__titulo { font-size: clamp(28px, 8vw, 40px); }
  .embarque__mazo { width: min(340px, 82vw); align-self: center; }
  .embarque__carta { aspect-ratio: auto; min-height: min(50svh, 400px); }
  .embarque__etapas { font-size: .62rem; letter-spacing: 0; }
  .embarque__etapas li:not(.is-on) { color: transparent; }
  .embarque__etapas li.is-on:has(+ li.is-on) { color: transparent; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .embarque__stage { grid-template-columns: .8fr 1.2fr; padding-top: calc(var(--barra) + .4rem); }
  .embarque__colibri, .embarque__bajada, .embarque__cta { display: none; }
  .embarque__carta { aspect-ratio: auto; min-height: 0; padding: 1rem 1.2rem 3.2rem; }
  .embarque__txt { font-size: 18px; }
  .embarque__linea { display: none; }
}
html:not(.mov) .embarque__stage { padding-block: 5rem; }
html:not(.mov) .embarque__mazo { width: 100%; grid-column: 1 / -1; }
html:not(.mov) .embarque__carta { aspect-ratio: auto; min-height: 0; padding-bottom: 4rem; }
html:not(.mov) .embarque__txt::after { transform: none; }
.parada__activa { display: inline-block; margin-right: .4em; padding: .1em .6em; border-radius: 6px; background: #fff; color: var(--colibri);
  font-weight: 800; font-size: .78em; letter-spacing: .06em; text-transform: uppercase; }
/* nubes reales (recortadas de sus fotos): en pantallas angostas, más grandes */
@media (max-width: 760px) { .despegue { --despegue-nube-ancho: 82vw; } .rutas__nube { width: 70vw; } }

/* ---------- portada v5: el Metroliner en vuelo (foto apaisada, sin la cola) sobre su mismo cielo ---------- */
.despegue--foto { --despegue-cielo: linear-gradient(180deg, #3b7ac0 0%, #4f8bcb 24%, #66a0d6 58%, #86b8e2 82%, #a9cdec 100%);
  --despegue-radio: 34% / 30%; }
.despegue--foto .despegue__foto { position: absolute; object-fit: fill; height: auto; max-width: none;
  width: 104vw; left: -4vw; top: calc(30svh - .526 * 44.18vw); }
@media (min-width: 761px) and (max-height: 820px) {
  .despegue--foto .despegue__bajada { display: none; }
  .despegue--foto .despegue__titulo { font-size: clamp(42px, 4.6vw, 72px); }
}
/* las nubes aparecen recién cuando empieza el zoom (antes se veían como humito debajo del avión) */
.despegue--foto { --despegue-nubes-on: clamp(0, (var(--p) - .16) * 6, 1); }
/* el degradé del texto en azul profundo, del mismo cielo, no casi negro */
.despegue--foto .despegue__inicio::before { background: linear-gradient(transparent, rgb(20 58 112 / .38) 30%, rgb(14 42 86 / .74)); }
@media (max-width: 760px) {
  .despegue--foto .despegue__foto { width: 250vw; left: calc(50vw - .3369 * 250vw); top: calc(36svh - .526 * 106.2vw); }
}
@media (max-height: 520px) and (orientation: landscape) {
  .despegue--foto .despegue__foto { width: 100vw; left: 0; top: -20svh; }
  .despegue--foto .despegue__inicio { top: auto; bottom: 14px; translate: none; width: auto; right: var(--pad); }
  .despegue--foto .despegue__titulo { font-size: 34px; margin-top: 0; }
  .despegue--foto .despegue__inicio .botones { margin-top: .6rem; }
  .despegue--foto .despegue__inicio::before { inset: -18svh -20vw -10svh -20vw; }
}
html:not(.mov) .despegue--foto .despegue__foto { position: relative; top: auto; left: auto; width: 100%; }
html:not(.mov) .despegue--foto .despegue__stage { background: #e6f0fa; }
.pie__aviso { flex-basis: 100%; order: 3; font-size: .82rem; color: var(--pie-tenue); }
