/* LNDNGS: identidad provisional del motor de landing pages (a BLANC company).
   Idea: una landing es donde aterriza tu cliente. Lenguaje de aeropuerto: azul cobalto de las luces de rodaje,
   tablero de llegadas, pase de abordaje y pista de aterrizaje. Va después de motion.css y cart.css. */
:root { --sign: #1E3DFF; --on-sign: #FFFFFF; --sign-light: #8EA2FF; --sign-ink: #111111; }

/* Marca: cuadrado azul con el avión + palabra */
.lnd-logo { display: inline-flex; align-items: center; gap: 0.32em; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1; color: currentColor; letter-spacing: 0.01em; }
.lnd-logo img { width: 1.15em; height: 1.15em; display: block; }
.hl { color: var(--sign); }

/* HERO: letrero azul con tablero de llegadas */
.top { padding-top: clamp(12px, 1.6vw, 24px); }
.sign { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(24px, 3vw, 48px); min-height: calc(100dvh - 72px); padding: clamp(20px, 2.4vw, 36px); border-radius: 28px; background: var(--sign); color: var(--on-sign); }
.sign::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.22; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.sign > * { position: relative; z-index: 1; }
.sign-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sign-top .lnd-logo { font-size: clamp(30px, 3vw, 44px); }
.sign-top .gate { display: flex; gap: 20px; }
.sign-foot { display: grid; grid-template-columns: 1fr auto; gap: 24px 32px; align-items: end; }
.sign-foot p { font-size: clamp(18px, 1.6vw, 24px); max-width: 32ch; line-height: 1.35; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { padding: 8px 12px; border: 1px solid currentColor; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.sign .btn { background: var(--on-sign); color: var(--sign); height: 60px; padding: 0 30px; }

/* Tablero de letras que giran (split-flap) */
.board { container-type: inline-size; display: grid; gap: 1.1cqi; }
.board-row { display: grid; grid-template-columns: repeat(13, 1fr); gap: 0.6cqi; }
.flap { position: relative; aspect-ratio: 5 / 7; display: grid; place-items: center; border-radius: 0.9cqi; background: linear-gradient(#1D1D1D 50%, #141414 50%); color: #F4F2EE; font-family: var(--display); font-weight: 900; font-size: 6.4cqi; line-height: 1; text-transform: uppercase; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 1px 0 rgba(0, 0, 0, 0.25); overflow: hidden; transform-origin: 50% 50%; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(1px, 0.18cqi); background: rgba(0, 0, 0, 0.75); }
.flap.tick { animation: lndFlip 90ms linear; }
@keyframes lndFlip { from { transform: perspective(400px) rotateX(-70deg); filter: brightness(1.6); } to { transform: none; filter: none; } }

/* PAQUETES: la elegida se pone negra con acento azul */
.pack:has(input:checked) h3, .pack:has(input:checked) .price { color: var(--sign-light); }
.pack-top .sel { background: var(--sign); color: var(--on-sign); padding: 3px 8px; border-radius: 999px; }
.extra input:checked { background: var(--sign); border-color: var(--sign); }
.extra input::after { border-color: var(--on-sign) !important; }

/* RESUMEN: pase de abordaje */
.pass { position: sticky; top: 72px; display: flex; flex-direction: column; border-radius: 24px; background: #FCFCFA; color: var(--sign-ink); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(17, 17, 17, 0.08); overflow: hidden; }
.pass-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; background: var(--sign); color: var(--on-sign); }
.pass-head .lnd-logo { font-size: 22px; }
.pass-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 18px; }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.pass-grid span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pass-grid b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1.05; }
.pass .lines { display: grid; gap: 8px; font-size: 15px; }
.pass .tline { display: flex; justify-content: space-between; gap: 16px; }
.pass .tline b { font-weight: 500; font-variant-numeric: tabular-nums; }
.perf { position: relative; height: 0; border-top: 2px dashed #D4D4CF; margin-inline: -22px; }
.perf::before, .perf::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.perf::before { left: -12px; }
.perf::after { right: -12px; }
.pass .total strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(64px, 6vw, 100px); line-height: 0.9; font-variant-numeric: tabular-nums; }
.pass .split { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--muted); }
.pass .split b { color: var(--sign-ink); }
.pass .acts { display: grid; gap: 10px; }
.pass .btn { width: 100%; }
.pass .btn:not(.ghost) { background: var(--sign); color: var(--on-sign); }
.barcode { height: 46px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 5px, #111 5px 6px, transparent 6px 9px, #111 9px 13px, transparent 13px 15px, #111 15px 16px, transparent 16px 21px); opacity: 0.9; }
.pass .fine { font-size: 13px; color: var(--muted); }
.pass .fine a { color: var(--sign-ink); text-decoration: underline; text-underline-offset: 3px; }
.pass .who { display: grid; gap: 12px; }
.pass .who span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pass .who input { width: 100%; font: inherit; font-size: 16px; color: var(--sign-ink); background: transparent; border: 0; border-bottom: 1px solid var(--muted); border-radius: 0; padding: 6px 0 8px; }
.pass .who input:focus-visible { outline: 2px solid var(--sign-ink); outline-offset: 2px; }

/* PROCESO: la línea es una pista con luces azules de rodaje */
.process .phase { color: var(--on-sign); background: var(--sign); padding: 2px 8px; border-radius: 999px; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    #proceso .process::before { top: -3px; height: 7px; background: repeating-linear-gradient(90deg, var(--sign) 0 26px, transparent 26px 42px) center / 100% 3px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat; }
    .progress { background: var(--sign); mix-blend-mode: normal; height: 3px; }
  }
}

/* PIE: la marca gigante */
.foot-word { display: inline-flex; align-items: center; gap: 0.06em; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.82; color: var(--ink); white-space: nowrap; }
.foot-word img { height: 0.74em; width: auto; }

@media (max-width: 1100px) { .pass { position: static; } }
@media (max-width: 900px) {
  .sign { min-height: auto; }
  .sign-foot { grid-template-columns: 1fr; }
  .sign-top .gate .opt { display: none; }
}
@media (prefers-reduced-motion: reduce) { .flap.tick { animation: none; } }
