/* ============================================================
   MORRO TRAVEL — Secciones
   ============================================================ */

/* ------------------------------------------------------------
   HERO
   El canvas pinta un mar procedural (scripts/hero-gl.js). Encima
   va un velo oscuro para garantizar contraste del texto blanco
   pase lo que pase en la escena.
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--grad-dusk);
  color: #fff;
  isolation: isolate;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0;
  transition: opacity 1400ms ease;
}

.hero__canvas.is-ready {
  opacity: 1;
}

/* Respaldo visible mientras carga el WebGL, y definitivo si no hay. */
.hero__fallback {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(120% 80% at 72% 78%, rgba(242, 183, 5, 0.5), transparent 55%),
    radial-gradient(90% 60% at 20% 20%, rgba(41, 170, 227, 0.45), transparent 60%),
    var(--grad-dusk);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 40, 43, 0.62) 0%, rgba(6, 40, 43, 0) 26%),
    linear-gradient(0deg, rgba(6, 40, 43, 0.86) 0%, rgba(6, 40, 43, 0.25) 42%, rgba(6, 40, 43, 0) 68%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(100px, 13vh, 148px) var(--gutter) clamp(52px, 8vh, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--sp-8);
}

/* La medida se fija en px, no en ch: aquí `ch` se resolvería
   contra el tamaño de fuente del contenedor (16px) y no contra el
   del titular, dejando la columna a un cuarto de su ancho. */
.hero__copy {
  max-width: min(100%, 760px);
}

.hero__eyebrow {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: clamp(14px, 2.4vh, 24px);
}

.hero__eyebrow::before {
  background: var(--sky-400);
  opacity: 1;
}

/* El titular se limita por ancho y por alto a la vez: en una
   pantalla apaisada y baja manda el vh, y así el hero sigue
   cabiendo de una sola pasada. */
.hero__title {
  font-size: clamp(2.5rem, min(8.2vw, 11.2vh), 7.5rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: clamp(16px, 2.6vh, 24px);
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(96deg, var(--sky-300) 0%, var(--teal-300) 60%, var(--sun) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 46ch;
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: clamp(20px, 3.5vh, 32px);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: clamp(24px, 5vh, 48px);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-7);
  padding-top: clamp(16px, 2.6vh, 24px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__fact {
  display: grid;
  gap: 2px;
}

.hero__fact b {
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.hero__fact span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Voucher flotante en 3D ---------------------------------- */

.hero__aside {
  perspective: 1400px;
  display: grid;
  gap: var(--sp-4);
  justify-items: end;
}

.ticket {
  width: min(360px, 34vw);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d;
  transform: rotateY(var(--ry, -13deg)) rotateX(var(--rx, 7deg));
  transition: transform 700ms var(--ease-out);
  overflow: hidden;
  color: #fff;
}

.ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: linear-gradient(100deg, rgba(17, 146, 151, 0.9), rgba(41, 170, 227, 0.85));
}

.ticket__code {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.82);
}

.ticket__route {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
}

.ticket__node b {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ticket__node span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.ticket__arc {
  flex: 1;
  height: 26px;
  color: var(--sky-300);
}

.ticket__arc svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ticket__arc path {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: arcDraw 2600ms var(--ease-out) 900ms infinite;
}

@keyframes arcDraw {
  0% {
    stroke-dashoffset: 90;
  }
  45%,
  100% {
    stroke-dashoffset: 0;
  }
}

.ticket__rows {
  display: grid;
  gap: 10px;
  padding: 0 var(--sp-5) var(--sp-5);
  border-top: 1px dashed rgba(255, 255, 255, 0.24);
  padding-top: var(--sp-4);
}

.ticket__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: 0.86rem;
}

.ticket__row dt {
  color: rgba(255, 255, 255, 0.6);
}

.ticket__row dd {
  margin: 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.hero__stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Indicador de scroll -------------------------------------- */

/* Va pegado al margen izquierdo, en vertical: el centro inferior
   ya lo ocupan las cifras del hero y se pisaban en pantallas
   anchas. Aquí no compite con nada. */
.hero__cue {
  position: absolute;
  left: max(14px, calc(var(--gutter) / 3));
  bottom: clamp(52px, 8vh, 112px);
  display: grid;
  justify-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  z-index: 3;
  transition: color var(--t-base) ease;
}

.hero__cue:active {
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .hero__cue:hover {
    color: #fff;
  }
}

.hero__cue span {
  writing-mode: vertical-rl;
}

.hero__cue i {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  position: relative;
  overflow: hidden;
}

.hero__cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: cueRun 2200ms var(--ease-in-out) infinite;
}

@keyframes cueRun {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

@media (max-width: 1040px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 120px;
  }
  .hero__aside {
    display: none;
  }
  .hero__copy {
    max-width: none;
  }
}

/* En pantallas estrechas el margen ya no da para la columna
   vertical y el texto del hero llega hasta el borde. */
@media (max-width: 860px) {
  .hero__cue {
    display: none;
  }
}

/* Teléfono: se aprieta el hero para que quepa de una pantalla y
   los dos botones pasan a ancho completo, apilados. */
@media (max-width: 640px) {
  .hero__inner {
    padding-top: 104px;
    padding-bottom: 44px;
  }
  .hero__title {
    font-size: clamp(2.25rem, 10.6vw, 3rem);
  }
  .hero__lead {
    font-size: var(--step-0);
  }
  .hero__ctas .btn {
    width: 100%;
  }
  .hero__ctas .btn--lg {
    min-height: 54px;
    padding: 14px 24px;
    font-size: var(--step-0);
  }
  .hero__facts {
    gap: 14px 28px;
  }
  .hero__fact b {
    font-size: var(--step-1);
  }
}

/* ------------------------------------------------------------
   CONFIANZA
   ------------------------------------------------------------ */

/* Tres cifras, siempre en una fila: con auto-fit, entre ~380 y
   ~570 px salían 2 + 1 y la tercera fila dejaba un hueco. En
   teléfono se achican la cifra y el relleno para que quepan. */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}

.trust__cell {
  background: var(--surface);
  padding: clamp(28px, 4vw, 52px) var(--sp-5);
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.trust__num {
  font-size: var(--step-4);
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink-strong);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.trust__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (max-width: 560px) {
  .trust__cell {
    padding: var(--sp-5) var(--sp-2);
  }
  .trust__num {
    font-size: var(--step-3);
  }
  .trust__label {
    letter-spacing: 0.08em;
  }
}

/* ------------------------------------------------------------
   EXPERIENCIAS
   ------------------------------------------------------------ */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.card-slot {
  /* El revelado de [data-reveal] (base.css), que esta regla pisaría: la
     tarjeta entra en --t-reveal, escalonada con las que entran con ella. */
  transition: opacity var(--t-reveal) var(--ease-out),
    transform var(--t-reveal) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.card-slot[hidden] {
  display: none;
}

.card-slot.is-out {
  opacity: 0;
  transform: scale(0.97);
  /* Al filtrar, la tarjeta se va enseguida y rápido: main.js la esconde a
     los 260 ms, y con los 700 ms del revelado se cortaría a medias. */
  transition-duration: 420ms;
  transition-delay: 0ms;
}

.exp__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 64px);
}

/* ------------------------------------------------------------
   DESTINOS — pasillo horizontal con profundidad
   El riel usa scroll nativo (funciona con dedo, rueda y teclado);
   el JS solo añade la rotación en Z según la distancia al centro.
   ------------------------------------------------------------ */

.corridor {
  position: relative;
  padding-block: var(--section-y);
  background: var(--surface-dark);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.corridor::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 50% at 15% 0%, rgba(41, 170, 227, 0.22), transparent 65%),
    radial-gradient(60% 45% at 90% 100%, rgba(17, 146, 151, 0.26), transparent 62%);
  pointer-events: none;
}

.corridor > * {
  position: relative;
}

.corridor h2 {
  color: #fff;
}

/* El teal 600 sobre el fondo oscuro se queda en 3,1:1. Sobre
   oscuro las etiquetas usan el tono claro de la misma familia. */
.corridor .label {
  color: var(--teal-300);
}

.rail {
  position: relative;
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  perspective: 1600px;
  perspective-origin: 50% 50%;
  padding: 40px var(--gutter) 48px;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.rail::-webkit-scrollbar {
  display: none;
}

.dest {
  flex: none;
  width: min(78vw, 420px);
  scroll-snap-align: center;
  transform-style: preserve-3d;
  transform: rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px)) scale(var(--sc, 1));
  will-change: transform;
}

.dest__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--teal-800);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.dest__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1000ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .dest:hover .dest__img {
    transform: scale(1.14);
  }
}

.dest__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 40, 43, 0.1) 30%, rgba(6, 40, 43, 0.88) 100%);
}

.dest__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  display: grid;
  gap: 10px;
}

.dest__name {
  font-size: var(--step-3);
  color: #fff;
  line-height: 1.02;
}

.dest__note {
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--step--1);
  line-height: 1.55;
}

.dest__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.rail__nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.rail__btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: background-color var(--t-base) ease, border-color var(--t-base) ease,
    transform var(--t-base) var(--ease-out);
}

.rail__btn:active:not(:disabled) {
  transform: scale(0.92);
}

@media (hover: hover) and (pointer: fine) {
  .rail__btn:hover:not(:disabled) {
    background: #fff;
    color: var(--surface-dark);
    border-color: transparent;
  }
}

.rail__btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.rail__btn svg {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------
   QUÉ INCLUYE
   ------------------------------------------------------------ */

/* Seis tarjetas en columnas fijas que dividen a 6 (1, 2 y 3): con
   auto-fit salían 4 en escritorio y quedaban dos huecos en la
   segunda fila, donde se veía el fondo de las líneas. */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.feature {
  background: var(--surface);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 12px;
  align-content: start;
  /* Repite el revelado de [data-reveal] (base.css): una transition propia lo
     pisaría y la tarjeta aparecería de golpe. El retraso escalonado es solo
     del revelado; el fondo responde al ratón sin esperar. */
  transition: opacity var(--t-reveal) var(--ease-out),
    transform var(--t-reveal) var(--ease-out),
    background-color var(--t-base) ease;
  transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms;
}

@media (hover: hover) and (pointer: fine) {
  .feature:hover {
    background: var(--teal-100);
  }
}

.feature__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--teal-100);
  color: var(--accent-ink);
  transition: background-color var(--t-base) ease, color var(--t-base) ease,
    transform 460ms var(--ease-spring);
}

@media (hover: hover) and (pointer: fine) {
  .feature:hover .feature__icon {
    background: var(--teal-500);
    color: #fff;
    transform: translateY(-3px) rotate(-6deg);
  }
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.25;
}

.feature p {
  color: var(--ink-soft);
  font-size: var(--step--1);
  line-height: 1.6;
  max-width: 40ch;
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* El cierre remite a las fichas: lo que va en cada salida se ve
   ahí, no en esta lista. */
.feature-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 48px);
}

@media (max-width: 599px) {
  .feature-foot .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------
   LÍNEAS DE NEGOCIO
   ------------------------------------------------------------ */

.lines {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.line-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-5);
  padding: clamp(22px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  /* Repite el revelado de [data-reveal] (base.css): una transition propia lo
     pisaría y la fila aparecería de golpe. El sangrado al pasar el ratón no
     espera el retraso del revelado. */
  transition: opacity var(--t-reveal) var(--ease-out),
    transform var(--t-reveal) var(--ease-out),
    padding-inline var(--t-base) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Al apoyar el dedo, la fila responde como al pasar el ratón: título en
   teal y la flecha rellena. */
.line-row:active .line-row__title {
  color: var(--teal-500);
}

.line-row:active .line-row__go {
  background: var(--teal-500);
  border-color: transparent;
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .line-row:hover {
    padding-inline: clamp(8px, 1.5vw, 24px);
  }
}

.line-row__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

.line-row__main {
  display: grid;
  gap: 6px;
}

.line-row__title {
  font-size: var(--step-3);
  line-height: 1.05;
  transition: color var(--t-base) ease;
}

@media (hover: hover) and (pointer: fine) {
  .line-row:hover .line-row__title {
    color: var(--teal-500);
  }
}

.line-row__desc {
  color: var(--ink-soft);
  font-size: var(--step--1);
  max-width: 58ch;
}

.line-row__go {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  flex: none;
  transition: background-color var(--t-base) ease, color var(--t-base) ease,
    transform var(--t-base) var(--ease-out), border-color var(--t-base) ease;
}

@media (hover: hover) and (pointer: fine) {
  .line-row:hover .line-row__go {
    background: var(--teal-500);
    border-color: transparent;
    color: #fff;
    transform: rotate(-45deg);
  }
}

.line-row__go svg {
  width: 18px;
  height: 18px;
}

/* La miniatura sigue al puntero por la fila. */
.line-row__peek {
  position: absolute;
  top: 50%;
  left: var(--px, 50%);
  width: 200px;
  aspect-ratio: 4 / 3;
  margin-top: -75px;
  border-radius: var(--r-md);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 8px) scale(0.9) rotate(-4deg);
  transition: opacity 320ms var(--ease-out), transform 520ms var(--ease-out);
  box-shadow: var(--sh-4);
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .line-row:hover .line-row__peek {
    opacity: 1;
    transform: translate(-50%, 0) scale(1) rotate(-4deg);
  }
}

.line-row__peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px), (hover: none) {
  .line-row__peek {
    display: none;
  }
}

/* ------------------------------------------------------------
   PROCESO
   ------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(24px, 3vw, 48px);
  counter-reset: step;
}

.step {
  display: grid;
  gap: var(--sp-4);
  align-content: start;
  position: relative;
  padding-top: var(--sp-6);
  border-top: 2px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -1px;
  left: 0;
  transform: translateY(-100%);
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--teal-500);
}

.step::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-500);
  transition: width 900ms var(--ease-out);
}

.step.is-in::after {
  width: 100%;
}

.step h3 {
  font-size: var(--step-2);
  line-height: 1.14;
}

.step p {
  color: var(--ink-soft);
  font-size: var(--step-0);
}

/* ------------------------------------------------------------
   TESTIMONIOS
   ------------------------------------------------------------ */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2vw, 28px);
}

/* ------------------------------------------------------------
   LLAMADA FINAL
   ------------------------------------------------------------ */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--grad-brand-deep);
  color: #fff;
  border-radius: clamp(24px, 4vw, 48px);
  padding: clamp(48px, 7vw, 104px) var(--gutter);
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 140%;
  background: radial-gradient(50% 50% at 30% 20%, rgba(242, 183, 5, 0.2), transparent 70%),
    radial-gradient(45% 45% at 82% 78%, rgba(255, 107, 91, 0.17), transparent 70%);
  z-index: -1;
  animation: ctaDrift 22s ease-in-out infinite alternate;
}

@keyframes ctaDrift {
  to {
    transform: translate3d(4%, -6%, 0) scale(1.12);
  }
}

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: var(--maxw);
  margin-inline: auto;
}

.cta .label {
  color: rgba(255, 255, 255, 0.88);
}

.cta h2 {
  font-size: var(--step-5);
  line-height: 0.98;
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--step-1);
  max-width: 46ch;
  margin-top: var(--sp-5);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.cta__card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: grid;
  gap: var(--sp-4);
}

.cta__off {
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #fff;
}

.cta__list {
  display: grid;
  gap: 10px;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.86);
}

.cta__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cta__list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--sun);
}

@media (max-width: 900px) {
  .cta__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------
   PIE
   ------------------------------------------------------------ */

.footer {
  background: var(--surface-dark);
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(56px, 7vw, 104px);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.footer__brand {
  display: grid;
  gap: var(--sp-5);
  align-content: start;
  max-width: 40ch;
}

.footer__brand .logo {
  color: #fff;
}

.footer__tag {
  font-size: var(--step-2);
  color: #fff;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  line-height: 1.2;
}

.footer h3 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: var(--sp-4);
}

.footer__list {
  display: grid;
  gap: 6px;
  font-size: var(--step--1);
}

/* El relleno vertical deja cada enlace por encima de los 24px de
   área mínima sin separar visualmente la lista. */
.footer__list a {
  transition: color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
  display: inline-block;
  padding-block: 5px;
}

.footer__list > li > span {
  display: inline-block;
  padding-block: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .footer__list a:hover {
    color: #fff;
    transform: translateX(3px);
  }
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  transition: background-color var(--t-base) ease, color var(--t-base) ease,
    border-color var(--t-base) ease, transform var(--t-base) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .footer__social a:hover {
    background: #fff;
    color: var(--surface-dark);
    border-color: transparent;
    transform: translateY(-3px);
  }
}

.footer__social svg {
  width: 19px;
  height: 19px;
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-5) var(--sp-7);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.52);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__legal a {
  display: inline-block;
  padding: 6px 8px;
  margin: -6px -8px;
  transition: color var(--t-fast) ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer__legal a:hover {
    color: #fff;
  }
}

/* La firma del pie: el logotipo se dibuja al ancho completo de la
   caja y solo se ve su franja inferior. Da escala sin gritar. */
.footer__wordmark {
  position: relative;
  height: clamp(64px, 11vw, 168px);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.footer__wordmark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 769 / 325;
  background-color: currentColor;
  -webkit-mask: url("../assets/logo-mono.svg") no-repeat center / contain;
  mask: url("../assets/logo-mono.svg") no-repeat center / contain;
}

@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Catálogo en vivo (071): bolívares, tarjeta sin foto y aviso */
.card__bs {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.card__img--vacia {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--grad-brand);
}
.exp__vacio {
  grid-column: 1 / -1;
  padding: var(--sp-7) var(--gutter);
  text-align: center;
  color: var(--ink-soft);
}
