/* Landing DigitalApp · dirección de arte «noche de evento» (1-dic-2026).
   Solo la carga index.html (body.landing): el panel y el alta siguen con styles.css tal cual.
   Ritmo: hero oscuro y cinematográfico con el producto al centro → franjas claras para leer → cierre oscuro con el formulario.
   Todo el movimiento vive dentro de prefers-reduced-motion: no-preference. */
body.landing {
  --bg: #060913;
  --bg-2: #0b1122;
  --bg-3: #111a33;
  --text-d: #eef2ff;
  --text-d2: #aab4cf;
  --hair: rgba(255,255,255,.09);
  --glass: rgba(255,255,255,.055);
  --electric: #5b7cff;
  --electric-2: #2f54ff;
  --light: #f5f7fb;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, system-ui, sans-serif;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.landing::before { background: var(--bg); }

/* ---------- Barra superior: cristal oscuro ---------- */
.landing .topbar { background: rgba(6,9,19,.9); border-bottom: 1px solid var(--hair); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.landing .wordmark { color: #fff; }
.landing .wordmark b { color: #9fb2ff; }
/* Logo real de DigitalApp (el de digitalapp.la) sobre una pastilla blanca: se lee bien en la barra oscura. */
.landing .wordmark > .marca-logo { background: #fff; box-shadow: 0 6px 20px rgba(47,84,255,.35), inset 0 0 0 1px rgba(255,255,255,.6); padding: 4px; overflow: hidden; }
.landing .wordmark > .marca-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.landing .wordmark > .marca-da:not(.marca-logo) { background: linear-gradient(145deg, #6f8bff, #2f54ff); color: #2f54ff; box-shadow: 0 6px 20px rgba(47,84,255,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.landing .nav-links a { color: var(--text-d2); }
.landing .nav-links a:hover { color: #fff; }
.landing .topbar .btn-dark { background: #fff; color: var(--bg); }

/* ---------- Botones ---------- */
.landing .btn { border-radius: 12px; font-weight: 650; letter-spacing: -.01em; }
.landing .btn-primary { background: linear-gradient(180deg, #6a86ff 0%, #3456ff 55%, #2a49e6 100%); color: #fff; box-shadow: 0 10px 30px rgba(47,84,255,.38), inset 0 1px 0 rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.12); }
.landing .btn-primary:hover { background: linear-gradient(180deg, #7590ff 0%, #3d5dff 55%, #2f4ef0 100%); }
.landing .hero .btn-outline, .landing .band-dark .btn-outline, .landing .band-noche .btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.landing .hero .btn-outline:hover, .landing .band-noche .btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Hero: noche, producto al centro ---------- */
.landing .hero { background: radial-gradient(900px 520px at 78% 18%, rgba(91,124,255,.30), transparent 62%), radial-gradient(700px 420px at 8% 0%, rgba(255,196,87,.12), transparent 60%), linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); color: var(--text-d); padding-block: 64px 56px; isolation: isolate; }
.landing .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 30%, transparent 75%); }
.landing .hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: .98; letter-spacing: -.05em; font-weight: 750; background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #b8c5ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.landing .hero .lead { color: var(--text-d2); font-size: 1.14rem; }
.landing .eyebrow-rubro { justify-self: start; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--hair); color: #cdd6ff; letter-spacing: .1em; }
.landing .rubro-icono { background: rgba(91,124,255,.22); border-radius: 999px; }
.landing .rubro-icono svg { stroke: #c4d0ff; }
.landing .hero-copy { gap: 22px; }

/* Escenario: escena del rubro + teléfono + tarjetas flotantes con resultados reales del cotizador. */
.landing .stage { position: relative; }
.landing .stage-escena { border-radius: 28px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 120px rgba(47,84,255,.28), 0 0 0 1px rgba(0,0,0,.4); }
.landing .stage .film { width: 290px; margin: 70px -14px 0 0; }
.landing .phone { background: linear-gradient(160deg, #1b2442, #070b18 60%); box-shadow: 0 50px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 2px rgba(255,255,255,.06); }
.landing .film-bar { background: rgba(12,18,36,.78); border: 1px solid var(--hair); box-shadow: 0 20px 50px rgba(0,0,0,.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.landing .film-caption { color: var(--text-d); }
.landing .film-pasos button { color: var(--text-d2); font-size: .64rem; letter-spacing: -.02em; }
.landing .film-pasos button:hover { background: rgba(255,255,255,.06); color: #fff; }
.landing .film-pasos button::before { background: rgba(255,255,255,.14); }
.landing .film[data-scene="1"] .film-pasos button:nth-child(-n+1)::before, .landing .film[data-scene="2"] .film-pasos button:nth-child(-n+2)::before,
.landing .film[data-scene="3"] .film-pasos button:nth-child(-n+3)::before, .landing .film[data-scene="4"] .film-pasos button:nth-child(-n+4)::before,
.landing .film[data-scene="5"] .film-pasos button::before { background: var(--electric); }
.landing .film-pasos button[aria-current="true"] { color: #fff; background: rgba(255,196,87,.14); }
.landing .film-pasos button[aria-current="true"]::before { background: var(--sun); }
.landing .film-pause { background: rgba(255,255,255,.08); border-color: var(--hair); }
.landing .film-pause svg { fill: #fff; }
.landing .film-pause[data-paused="true"]::before { border-left-color: #fff; }

.flota { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(13,19,38,.82); border: 1px solid rgba(255,255,255,.14); color: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: .8rem; line-height: 1.25; pointer-events: none; }
.flota small { display: block; color: var(--text-d2); font-size: .72rem; }
.flota b { font-weight: 700; font-variant-numeric: tabular-nums; }
.flota-ico { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; }
.flota-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flota-wa { top: 22px; left: -26px; }
.flota-wa .flota-ico { background: #1fa855; color: #fff; }
.flota-total { top: 372px; left: 0; }
.flota-total .flota-ico { background: rgba(255,196,87,.18); color: var(--sun); }
.flota-total b { font-size: 1.05rem; }
.flota-cupo { top: 236px; left: -34px; }
.flota-cupo .flota-ico { background: rgba(91,124,255,.22); color: #b8c5ff; }

/* Precio del hero: barra de cristal */
.landing .hero .price-strip { background: var(--glass); border: 1px solid var(--hair); border-radius: 18px; color: var(--text-d); }
.landing .hero .price-strip > div { border-color: var(--hair); }
.landing .hero .price-strip dt { color: #8f9bbd; }
.landing .hero .price-strip dd { color: var(--text-d); }
.landing .hero .price-strip strong { color: #fff; font-size: 1.7rem; letter-spacing: -.03em; }

/* ---------- Franja de rubros ---------- */
.rubros { background: var(--bg-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding-block: 22px; overflow: hidden; color: var(--text-d2); }
.rubros-titulo { text-align: center; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8f9bbd; margin-bottom: 14px; }
.rubros-pista { display: flex; gap: 10px; width: max-content; margin: 0 auto; }
.rubros-lista { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.rubros-lista li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hair); background: var(--glass); font-size: .9rem; font-weight: 600; color: var(--text-d); white-space: nowrap; }
.rubros-lista svg { width: 16px; height: 16px; fill: none; stroke: #9fb2ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rubros-copia { display: none; }

/* ---------- Secciones claras: tipografía editorial ---------- */
.landing .band { padding-block: 104px; background: var(--light); }
.landing .band-soft { background: #ffffff; }
.landing .band > .wrap { gap: 22px; }
.landing .band h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.045em; line-height: 1.02; max-width: 18ch; font-weight: 750; color: #0a1024; }
.landing .eyebrow { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: .74rem; letter-spacing: .16em; color: var(--electric-2); }
.landing .hero .eyebrow { color: #d5ddff; }
.landing .band .eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* Antes / después */
.landing .compare { gap: 20px; }
.landing .compare-col { padding: 26px; border-radius: 24px; border: 1px solid #e4e8f2; background: #fff; box-shadow: 0 1px 0 rgba(10,16,36,.04), 0 24px 60px rgba(10,16,36,.06); }
.landing .compare-col:last-child { border-color: rgba(47,84,255,.35); box-shadow: 0 0 0 4px rgba(91,124,255,.10), 0 30px 70px rgba(47,84,255,.16); }
.landing .chat { border-radius: 18px; background: #efe8df; }
.landing .compare-arrow svg { stroke: var(--electric-2); }

/* Cómo funciona: mosaico oscuro (bento) */
.landing #como-funciona { background: radial-gradient(800px 400px at 15% 0%, rgba(91,124,255,.18), transparent 60%), var(--bg); color: var(--text-d); }
.landing #como-funciona h2 { color: #fff; }
.landing #como-funciona .eyebrow { color: #9fb2ff; }
.landing .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.landing .steps li { grid-column: span 3; padding: 28px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid var(--hair); position: relative; overflow: hidden; }
.landing .steps li:nth-child(3), .landing .steps li:nth-child(4) { grid-column: span 3; }
.landing .steps li::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(91,124,255,.22), transparent); pointer-events: none; }
.landing .steps h3 { color: #fff; font-size: 1.3rem; letter-spacing: -.025em; }
.landing .steps p { color: var(--text-d2); }
.landing .step-n { background: rgba(255,255,255,.1); color: #fff; border: 1px solid var(--hair); }
.landing .illo { max-width: 190px; }
.landing .illo .i-line, .landing .illo .i-white { stroke: #dfe5ff; }
.landing .illo .i-soft { fill: rgba(255,255,255,.08); }
.landing .illo .i-a { fill: var(--electric); }
.landing .illo .i-a-soft { fill: rgba(91,124,255,.25); }
.landing .illo .i-b { fill: var(--sun); }
.landing .illo .i-wa { fill: rgba(31,168,85,.35); }
.landing #como-funciona .btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); }

/* Precio: tarjeta protagonista oscura */
.landing #precio { background: #fff; }
.landing .price-card.ticket { clip-path: none; outline: 0; border-radius: 28px; padding: 34px; background: radial-gradient(500px 260px at 100% 0%, rgba(91,124,255,.35), transparent 60%), linear-gradient(180deg, #0f1730, #070b17); color: var(--text-d); border: 1px solid rgba(91,124,255,.35); box-shadow: 0 40px 100px rgba(10,16,36,.35); }
.landing .price-card .eyebrow { color: #9fb2ff; }
.landing .price-main { color: #fff; }
.landing .price-main span { font-size: 4.6rem; letter-spacing: -.06em; background: linear-gradient(180deg, #fff 30%, #b8c5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.landing .price-sub { color: var(--text-d2); }
.landing .price-sub strong { color: #fff; }
.landing .ticket-lines { border-top: 1px solid var(--hair); }
.landing .ticket-lines li { color: var(--text-d); }
.landing .ticket-lines b { color: #6ee7a8; }
.landing .price-after { background: rgba(255,255,255,.06); color: var(--text-d); border: 1px solid var(--hair); }
.landing .price-pay { background: rgba(110,231,168,.10); color: #b9f5d4; border: 1px solid rgba(110,231,168,.25); }
.landing .price-detail h2 { color: #0a1024; }
.landing .checks li::before { border-color: var(--electric-2); }

/* Cómo empezamos */
.landing .timeline::before { background: linear-gradient(90deg, var(--electric), #c8d2ff); }
.landing .tl-n { background: #0a1024; box-shadow: 0 0 0 6px var(--light), 0 8px 20px rgba(10,16,36,.25); }
.landing .timeline li:last-child .tl-n { background: linear-gradient(145deg, #6a86ff, #2f54ff); }
.landing .need { border-radius: 24px; background: #fff; border: 1px solid #e4e8f2; box-shadow: 0 24px 60px rgba(10,16,36,.06); }

/* Preguntas */
.landing #preguntas { background: #fff; }
.landing details { border-bottom: 1px solid #e7eaf2; padding-block: 20px; }
.landing summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.05rem; font-weight: 650; color: #0a1024; letter-spacing: -.01em; }
.landing summary::-webkit-details-marker { display: none; }
.landing summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #f0f3fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%230a1024' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.landing details[open] summary::after { transform: rotate(45deg); background-color: #e3e9ff; }
.landing .faq-group { margin-top: 34px; color: var(--electric-2); }

/* Formulario: cierre oscuro con brillo */
.landing .band-dark { background: radial-gradient(800px 420px at 85% 10%, rgba(91,124,255,.28), transparent 60%), radial-gradient(600px 360px at 0% 100%, rgba(255,196,87,.10), transparent 60%), var(--bg); }
.landing .band-dark h2 { color: #fff; }
.landing .band-dark .eyebrow { color: #9fb2ff; }
.landing .form-intro > p { color: var(--text-d2); }
.landing .form-price { background: var(--glass); border: 1px solid var(--hair); color: var(--text-d); }
.landing .lead-form, .landing .confirm { border-radius: 24px; box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.landing .footer { background: var(--bg); border-top: 1px solid var(--hair); color: var(--text-d2); }
.landing .footer a { color: #b8c5ff; }

/* ---------- Celular ---------- */
@media (max-width: 900px) {
  .landing .stage .film { width: 100%; max-width: 300px; margin: -64px auto 0; }
  .landing .steps li, .landing .steps li:nth-child(3), .landing .steps li:nth-child(4) { grid-column: span 6; }
  .flota-cupo { display: none; }
  .flota-wa { top: 14px; left: 10px; }
  .flota-total { bottom: auto; top: 14px; left: auto; right: 10px; }
}
@media (max-width: 560px) {
  .landing .hero { padding-block: 26px 40px; }
  .landing .hero h1 { font-size: 2.35rem; letter-spacing: -.048em; }
  .landing .hero .lead { font-size: 1.02rem; }
  .landing .band { padding-block: 72px; }
  .landing .stage-escena { border-radius: 22px; }
  .flota { padding: 7px 10px 7px 7px; font-size: .72rem; border-radius: 13px; gap: 8px; }
  .flota-ico { width: 28px; height: 28px; border-radius: 9px; }
  .flota-ico svg { width: 15px; height: 15px; }
  .flota-total b { font-size: .9rem; }
  .flota small { font-size: .66rem; }
  .landing .price-card.ticket { padding: 24px; }
  .landing .price-main span { font-size: 3.6rem; }
  .rubros-pista { margin: 0; padding-left: 16px; }
}

/* ---------- Cierre: desarrollo a la medida (DigitalApp), planteado como pregunta ---------- */
.landing .a-medida { border-top: 1px solid #e9edf5; }
.landing .a-medida-in { display: grid; gap: 34px; }
.landing .a-medida-intro { display: grid; gap: 16px; max-width: 760px; }
.landing .a-medida h2 { max-width: 20ch; }
.landing .a-medida .lead { color: #4a5470; max-width: 62ch; }
.a-medida-ideas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.a-medida-ideas li { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: 20px; border: 1px solid #e4e8f2; background: var(--light); }
.a-medida-ideas .idea-q { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: #0a1024; }
.a-medida-ideas li p:not(.idea-q) { color: #5a6480; font-size: .95rem; }
.a-medida-cierre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-top: 6px; }
.a-medida-firma { display: flex; align-items: center; gap: 12px; max-width: 52ch; color: #4a5470; font-size: .92rem; }
.a-medida-firma img { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid #e4e8f2; padding: 5px; }
.a-medida-firma strong { color: #0a1024; }
.a-medida-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.landing .a-medida .btn-outline { color: #0a1024; border-color: #0a1024; background: transparent; }
@media (max-width: 860px) {
  .a-medida-ideas { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .a-medida-acciones, .a-medida-acciones .btn { width: 100%; }
}

/* ---------- Movimiento (solo si la persona no pidió reducirlo) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .landing .hero-copy > * { animation: subir .7s cubic-bezier(.2,.7,.2,1) both; }
  .landing .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .landing .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .landing .hero-copy > :nth-child(4) { animation-delay: .18s; }
  @keyframes subir { from { opacity: 0; transform: translateY(14px); } }
  .flota { animation: flotaIn .7s cubic-bezier(.2,.7,.2,1) both, flotar 6s ease-in-out 1s infinite; }
  .flota-wa { animation-delay: .5s, 1.2s; }
  .flota-total { animation-delay: .8s, 2s; }
  .flota-cupo { animation-delay: 1.1s, 2.8s; }
  @keyframes flotaIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
  @keyframes flotar { 50% { transform: translateY(-6px); } }
  .rubros-copia { display: flex; }
  .rubros-pista { animation: desfile 40s linear infinite; margin: 0; }
  .rubros:hover .rubros-pista { animation-play-state: paused; }
  @keyframes desfile { to { transform: translateX(calc(-50% - 5px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .rubros-pista { flex-wrap: wrap; justify-content: center; width: auto; padding-inline: 16px; }
  .rubros-lista { flex-wrap: wrap; justify-content: center; }
}
