/* ============================================================
   Kaptik — portada (solo index.html), 2026-10-15.
   Pedido del CEO: "la página está horripilante, inspírate en apple.com".
   Lenguaje: mucho aire, titulares grandes, una idea por bloque, bloques
   alternados blanco / gris / negro, botones píldora. styles.css sigue
   cargándose ANTES para el modal de registro y el botón de WhatsApp; aquí
   se pasan a claro. Las otras páginas (facturar/, términos…) no cambian.
   ============================================================ */

body.home {
    --ink: #1d1d1f;
    --ink-2: #6e6e73;
    --ink-3: #86868b;
    --gray: #f5f5f7;
    --line: #d2d2d7;
    --amber: #F5B731;
    --amber-ink: #8a5a00;
    --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter",
                  "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Variables de styles.css → claras: así el modal de registro, el
       selector de plan y el globo de WhatsApp se ven del mismo lado. */
    --bg-0: #ffffff;
    --bg-1: #f5f5f7;
    --bg-2: #ffffff;
    --glass: rgba(0, 0, 0, 0.03);
    --glass-strong: rgba(0, 0, 0, 0.05);
    --border: rgba(0, 0, 0, 0.12);
    --border-amber: rgba(199, 121, 23, 0.45);
    --text-0: #1d1d1f;
    --text-1: #424245;
    --text-2: #6e6e73;
    --font-display: var(--font-apple);
    --font-body: var(--font-apple);

    background: #fff;
    color: var(--ink);
    font-family: var(--font-apple);
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
html { scroll-padding-top: 60px; }
/* Fuera la cuadrícula y los brillos de fondo de la versión oscura. */
body.home::before, body.home::after { content: none; display: none; }
body.home ::selection { background: rgba(245, 183, 49, 0.35); color: var(--ink); }
body.home a { color: inherit; text-decoration: none; }
body.home img { max-width: 100%; }

/* ───────────── Navegación (barra fina y translúcida) ───────────── */
.gn {
    position: sticky; top: 0; z-index: 100;
    height: 48px;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.gn-in {
    max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.gn-logo img { height: 24px; width: auto; display: block; }
.gn-links { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.gn-links a { color: var(--ink); opacity: 0.82; transition: opacity .2s; }
.gn-links a:hover { opacity: 1; }
.gn-toggle {
    display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
    position: relative; margin-right: -10px;
}
.gn-toggle span {
    position: absolute; left: 11px; width: 18px; height: 1.5px; background: var(--ink);
    transition: transform .25s, top .25s;
}
.gn-toggle span:nth-child(1) { top: 16px; }
.gn-toggle span:nth-child(2) { top: 23px; }
.gn-links.active ~ .gn-toggle span:nth-child(1),
.gn-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.gn-toggle[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ───────────── Botones píldora y enlaces ───────────── */
.pill {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 22px; border-radius: 980px;
    font: inherit; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
    border: 1px solid transparent; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.pill:active { transform: scale(0.98); }
.pill-fill { background: var(--amber); color: #1d1d1f !important; }
.pill-fill:hover { background: #ffc84a; }
.pill-line { background: transparent; border-color: currentColor; color: inherit; }
.pill-line:hover { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.dark .pill-line:hover { background: #fff; border-color: #fff; color: #1d1d1f !important; }
.pill-sm { min-height: 28px; padding: 0 13px; font-size: 12px; font-weight: 500; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 18px; justify-content: center; align-items: center; margin-top: 28px; }
.more { color: var(--amber-ink); font-size: 19px; }
.more:hover { text-decoration: underline; }
.more::after { content: " ›"; }
.dark .more { color: var(--amber); }

/* ───────────── Bloques ───────────── */
.tile { position: relative; overflow: hidden; text-align: center; padding: 72px 16px 0; background: #fff; }
.tile.gray { background: var(--gray); }
.tile.dark, .gt.dark { background: #000; color: #f5f5f7; }
.wrap { max-width: 980px; margin: 0 auto; }
.eyebrow { display: block; font-size: 21px; font-weight: 600; letter-spacing: 0.004em; color: var(--amber-ink); margin-bottom: 6px; }
.dark .eyebrow { color: var(--amber); }
.h-xl { font-size: clamp(44px, 7.4vw, 88px); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.h-l  { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -0.022em; }
.h-m  { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: clamp(19px, 2.3vw, 28px); line-height: 1.2; font-weight: 400; color: var(--ink-2); margin: 14px auto 0; max-width: 760px; letter-spacing: -0.012em; }
.h-xl, .h-l, .h-m, .lead, .copy { text-wrap: balance; }
.dark .lead { color: #a1a1a6; }
.copy { font-size: 17px; color: var(--ink-2); max-width: 620px; margin: 16px auto 0; }
.dark .copy { color: #a1a1a6; }
.note { font-size: 14px; color: var(--ink-3); margin-top: 16px; }
.kia-contador { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 14px 6px 6px;
    border-radius: 999px; background: rgba(0, 0, 0, 0.04); font-size: 15px; color: var(--ink-2, #424245); }
.kia-contador[hidden] { display: none; }
.kia-contador img { border-radius: 50%; }
.kia-contador strong { color: var(--ink, #1d1d1f); font-variant-numeric: tabular-nums; }
.grad {
    background: linear-gradient(120deg, #F7C04A 0%, #E39A1E 55%, #C77917 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ───────────── Portada ───────────── */
.portada { padding-top: 64px; background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--gray) 100%); }
.portada .eyebrow { font-size: clamp(17px, 2vw, 21px); }
.hero-device { width: min(360px, 88vw); height: 560px; margin: 56px auto 0; overflow: hidden; }

/* Teléfono (el "producto" de la foto): chat de WhatsApp con Kia */
.device {
    position: relative; height: 100%; padding: 12px 12px 0;
    background: #1d1d1f; border-radius: 56px 56px 0 0;
    box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.45), inset 0 0 0 2px #3a3a3c;
}
.device::before {  /* isla */
    content: ""; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
    width: 104px; height: 30px; background: #000; border-radius: 20px; z-index: 2;
}
.screen { height: 100%; overflow: hidden; border-radius: 44px 44px 0 0; background: #efeae2; text-align: left; }
.wa-top {
    display: flex; align-items: center; gap: 10px;
    padding: 58px 16px 10px; background: #f6f6f6; border-bottom: 1px solid #e3e3e3;
}
.wa-top img { width: 34px; height: 34px; border-radius: 50%; }
.wa-top b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.wa-top small { font-size: 12px; color: #667781; }
.chat { padding: 12px 12px 24px; display: flex; flex-direction: column; gap: 6px; }
.msg {
    max-width: 84%; padding: 7px 10px 6px; border-radius: 10px;
    font-size: 14px; line-height: 1.35; letter-spacing: 0; color: #111b21;
    background: #fff; box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
}
.msg.out { align-self: flex-end; background: #d9fdd3; }
.msg time { display: block; text-align: right; font-size: 11px; color: #667781; margin-top: 2px; }
.msg .receipt { display: block; width: 100%; height: auto; border-radius: 6px; margin-bottom: 6px; }
.msg.doc { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.doc-ico {
    flex: 0 0 auto; width: 30px; height: 36px; border-radius: 4px;
    display: grid; place-items: center; color: #fff; font-size: 9px; font-weight: 700; background: #e2483d;
}
.doc-ico.xml { background: #3b7bdc; }
.kia-turn { position: relative; display: flex; flex-direction: column; }
.msg.typing { position: absolute; top: 0; left: 0; display: flex; gap: 4px; padding: 12px 12px; opacity: 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; }
@media (prefers-reduced-motion: no-preference) {
    html.has-js .chat .msg { opacity: 0; }
    .chat.play .msg { animation: msgIn .45s cubic-bezier(.2,.7,.2,1) both; }
    .chat.play .msg.out { animation-delay: .2s; }
    .chat.play .msg.typing { animation: typingShow 1.3s .8s both; }
    .chat.play .typing i { animation: dot .45s 1s 2 alternate both; }
    .chat.play .typing i:nth-child(2) { animation-delay: 1.15s; }
    .chat.play .typing i:nth-child(3) { animation-delay: 1.3s; }
    .chat.play .kia-turn .msg:not(.typing) { animation-delay: 2.05s; }
    .chat.play .msg.doc { animation-delay: 2.6s; }
    .chat.play .msg.doc + .msg.doc { animation-delay: 2.85s; }
}
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes typingShow { 0% { opacity: 0; transform: translateY(6px); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes dot { to { transform: translateY(-4px); opacity: .5; } }

/* ───────────── Cómo funciona (negro) ───────────── */
.steps {
    display: grid; grid-template-columns: 1fr; gap: 40px;
    max-width: 980px; margin: 64px auto 0; padding: 0 8px 96px; text-align: left;
}
.step-n { font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.step h3 { font-size: 24px; font-weight: 600; margin: 14px 0 6px; color: #f5f5f7; letter-spacing: -0.015em; }
.step p { font-size: 17px; color: #a1a1a6; }
.steps-end { grid-column: 1 / -1; text-align: center; }
.steps-end p { font-size: 21px; font-weight: 600; color: #f5f5f7; letter-spacing: -0.01em; }
.steps-end .ctas { margin-top: 18px; }

/* ───────────── Mosaico 2×2 ───────────── */
.grid2 { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 12px; background: #fff; }
.gt {
    background: var(--gray); text-align: center; padding: 56px 24px 60px; min-height: 500px;
    display: flex; flex-direction: column; align-items: center;
}
.gt .copy { max-width: 420px; }
.gt .ctas { margin-top: 22px; }
.price-xl { font-size: clamp(88px, 12vw, 140px); font-weight: 700; line-height: 1; letter-spacing: -0.045em; margin: 30px 0 4px; }
.price-xl small { font-size: .32em; letter-spacing: -0.01em; font-weight: 600; }
.big-ico { width: 88px; height: 88px; margin: 34px auto 6px; }

/* ───────────── Kia (negro) ───────────── */
.kia-face {
    width: 176px; height: 176px; border-radius: 50%; display: block; margin: 0 auto 30px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 90px rgba(245,183,49,.28);
}
.cases { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1060px; margin: 56px auto 0; padding: 0 0 100px; }
.case { background: #1c1c1e; border-radius: 24px; padding: 26px 24px; text-align: left; }
.case-label { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--amber); }
.case .msg { max-width: 100%; margin-top: 14px; background: #2c2c2e; color: #f5f5f7; box-shadow: none; font-size: 15px; line-height: 1.45; padding: 12px 14px; }
.kia-quotes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.kia-quotes span { font-size: 15px; padding: 8px 16px; border-radius: 980px; border: 1px solid #3a3a3c; color: #f5f5f7; }

.tabs { max-width: 760px; margin: 44px auto 0; padding: 0 0 100px; }
.tablist { display: flex; gap: 4px; padding: 4px; border-radius: 980px; background: var(--gray); overflow-x: auto; }
html:not(.has-js) .tablist { display: none; }
.tablist button { flex: 1 1 auto; min-height: 44px; padding: 0 clamp(3px, 1.2vw, 10px); white-space: nowrap; border: 0; border-radius: 980px; background: none; font: inherit; font-size: clamp(13px, 3.6vw, 15px); font-weight: 500; color: var(--ink-2); cursor: pointer; }
.tablist [aria-selected=true], .ad-sw [aria-pressed=true] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.tablist button:focus-visible, .tabpanel:focus-visible, .ad-sw button:focus-visible { outline: 2px solid #C77917; outline-offset: 2px; }
.tabpanels{margin-top:28px;text-align:left}
.has-js .tabpanels{display:grid}
.has-js .tabpanel{grid-area:1/1}
.has-js .tabpanel:not(.on){visibility:hidden}
.tabpanel{padding:4px 8px 28px;border-radius:16px}
.tabpanel h3{font-size:24px;font-weight:600;letter-spacing:-.015em;margin-bottom:6px}
.tabpanel p{color:var(--ink-2);font-size:19px}
.tabpanel .seg{font-size:15px;font-weight:600;color:var(--amber-ink);margin:-2px 0 10px}
.tabpanel .ico{width:36px;height:36px;margin-bottom:14px;color:var(--amber-ink)}
.tabpanel .pill{margin-top:20px}

/* ───────────── Precios ───────────── */
.plans { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 980px; margin: 52px auto 0; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 24px; padding: 32px 26px 26px; }
.plan.featured { box-shadow: 0 0 0 2px var(--amber), 0 24px 60px -24px rgba(199,121,23,.35); }
.plan-badge { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-ink); min-height: 16px; }
.plan-name { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; margin-top: 6px; }
.plan-price { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-top: 14px; }
.plan-price small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-top: 2px; }
.plan-desc { font-size: 15px; color: var(--ink-2); margin-top: 6px; min-height: 44px; }
.plan ul { list-style: none; margin: 20px 0 26px; padding: 0; flex: 1; }
.plan li { font-size: 15px; padding: 11px 0 11px 26px; border-top: 1px solid #e8e8ed; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--amber-ink); font-weight: 700; }
.plan .pill { width: 100%; }
.plan-note { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 12px; }
.overage { max-width: 680px; margin: 28px auto 0; padding-bottom: 100px; font-size: 14px; color: var(--ink-2); }

/* ───────────── Preguntas (reusa .faq-* y toggleFaq) ───────────── */
.faq-wrap { max-width: 820px; margin: 48px auto 0; padding-bottom: 110px; text-align: left; }
body.home .faq-list { max-width: none; }
body.home .faq-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; background: none; backdrop-filter: none; }
body.home .faq-grp-t + .faq-item { border-top: 1px solid var(--line); }
.faq-grp + .faq-grp { margin-top: 44px; }
.faq-grp-t { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; }
.faq-otra { margin-top: 44px; font-size: 17px; color: var(--ink-2); }
.faq-otra .more { font-size: inherit; }
body.home .faq-item.open { border-color: var(--line); }
body.home .faq-question {
    padding: 24px 0; font-family: inherit; font-size: clamp(18px, 2vw, 22px); font-weight: 600;
    letter-spacing: -0.015em; color: var(--ink);
}
body.home .faq-toggle { color: var(--ink-2); font-size: 30px; }
body.home .faq-answer { padding: 0; }
body.home .faq-item.open .faq-answer { padding: 0 0 26px; }
body.home .faq-answer p { color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 700px; }

/* ───────────── Cierre y pie ───────────── */
.closing { padding: 110px 16px 120px; }
.cl { display: grid; gap: 48px; align-items: center; }
.cl-l { max-width: 440px; margin: 0 auto; padding: 0; text-align: left; }
.cl-l li:last-child { border-bottom: 1px solid #333; }
.foot { background: var(--gray); color: var(--ink-2); font-size: 12px; line-height: 1.33; }
.foot-in { max-width: 980px; margin: 0 auto; padding: 22px 16px 26px; }
.foot-note { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 22px 0; }
.foot-cols h4 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.foot-cols a { display: block; margin-bottom: 8px; color: var(--ink-2); }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal { padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.foot-logo { height: 20px; width: auto; display: block; margin-bottom: 10px; }

/* ───────────── Aparición al hacer scroll (la pone el JS: .rv → .reveal) ───────────── */
html.has-js body.home .reveal { translate: 0 30px; transition: opacity .9s cubic-bezier(.2,.7,.2,1), translate .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0s); }
/* 🚨 Misma especificidad que la regla de arriba + .in: sin esto el bloque se quedaba
   30 px abajo para siempre y en el cierre el botón tapaba la nota (CEO, 15-oct). */
html.has-js body.home .reveal.in { translate: 0 0; }
@media (prefers-reduced-motion: reduce) { html.has-js body.home .reveal { translate: 0 0; transition: none; } }

/* ───────────── Modal de registro en claro ───────────── */
body.home .modal-overlay { background: rgba(0, 0, 0, 0.42); }
body.home .modal-content {
    background: #fff; border: 0; border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
}
body.home .modal-header h2, body.home .modal-success h2 { letter-spacing: -0.02em; }
body.home .form-group input, body.home .form-group select { background: #fff; color-scheme: light; border-color: #d2d2d7; }
body.home .form-group select option { background: #fff; color: var(--ink); }
body.home .form-consent { background: #fff8e8; border-color: #f1d9a8; }
body.home .form-consent a { color: var(--amber-ink); }
body.home .form-error { background: #fef3f2; border-color: #fecdca; color: #b42318; }
body.home .req { color: #d92d20; }
body.home .modal-success h2 { color: #1a7f37; }
body.home .success-icon { background: #e9f7ee; border-color: #b7e4c7; box-shadow: none; }
body.home .whatsapp-number { background: #effaf2; border-color: #b7e4c7; }
body.home .whatsapp-number a { color: #1a7f37; }
body.home .btn-primary { background: var(--amber); color: #1d1d1f; box-shadow: none; border-radius: 980px; }
body.home .btn-primary:hover { background: #ffc84a; transform: none; box-shadow: none; }
body.home .plan-option:has(input:checked) { background: #fff8e8; }
.plan-more .plan-name { font-size: 21px; line-height: 1.25; margin-top: 0; }
.plan-more .plan-desc { min-height: 0; margin-bottom: 10px; }
.tier { display: grid; gap: 4px 16px; align-items: center; padding: 16px 0; border-top: 1px solid #e8e8ed; }
.tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; grid-column: 1 / -1; }
.tier h4 { font-size: 18px; font-weight: 700; }
.tier-price { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.tier-price small { font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.tier p { font-size: 14px; color: var(--ink-2); }
.tier .pill { width: auto; justify-self: start; margin-top: 8px; padding-inline: 18px; white-space: nowrap; }
.calc { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e8e8ed; }
.calc-q { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; font-weight: 600; }
.calc-q output { font-size: 22px; font-weight: 700; min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; }
.calc input { width: 100%; height: 32px; margin: 8px 0 14px; accent-color: #C77917; cursor: pointer; }
.calc input:focus-visible { outline: 2px solid #C77917; outline-offset: 2px; }
.calc-t { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.calc-t div { padding: 10px 12px; border-radius: 14px; background: var(--gray); }
.calc-t .on { background: #fff8e8; box-shadow: inset 0 0 0 2px var(--amber); }
.calc-t dt { font-size: 12px; color: var(--ink-2); }
.calc-t dd { margin: 2px 0 0; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-res { font-size: 15px; margin-top: 14px; }
.calc-note { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.ad-sw { max-width: 300px; margin: 36px auto 0; }
.ad { display: grid; gap: 12px; max-width: 980px; margin: 24px auto 0; text-align: left; }
.ad > div { padding: 28px 24px; border-radius: 24px; background: #fff; }
.ad .ad-si { background: #000; color: #f5f5f7; }
.ad h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 14px; }
.ad li, .cl-l li { position: relative; list-style: none; padding: 10px 0 10px 32px; font-size: 17px; border-top: 1px solid var(--line); }
.ad-si li, .cl-l li { border-color: #333; }
.ad li::before, .cl-l li::before { content: "✗"; content: "✗" / ""; position: absolute; left: 4px; font-weight: 700; color: #b42318; }
.ad-si li::before, .cl-l li::before { content: "✓"; content: "✓" / ""; color: var(--amber); }
@media (max-width: 733px) { .has-js .ad > div { grid-area: 1 / 1; } .has-js .ad[data-v=antes] .ad-si, .has-js .ad[data-v=despues] .ad-no { visibility: hidden; } }
.ad-fin { max-width: 980px; margin: 12px auto 96px; padding: 22px 24px; border-radius: 24px; background: var(--amber); color: #1d1d1f; font-size: clamp(21px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.015em; }

.tile.mq-s { padding: 28px 0 40px; }
.mq-t { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); padding: 0 16px; }
.mq { display: flex; flex-wrap: nowrap; height: 64px; margin-top: 14px; overflow: hidden; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq::-webkit-scrollbar { display: none; }
.mq-l { display: flex; flex-wrap: nowrap; flex: none; width: max-content; gap: 10px; margin: 0; padding: 10px 10px 10px 0; list-style: none; animation: mq 68s linear infinite; will-change: transform; backface-visibility: hidden; }
.mq-l li { flex-shrink: 0; }
.has-js .mq:not(.on) .mq-l, .mq.toca .mq-l, .mq:focus-within .mq-l { animation-play-state: paused; }
@media (hover: hover) { .mq:hover .mq-l { animation-play-state: paused; } }
.mq:has(a:focus-visible) { -webkit-mask-image: none; mask-image: none; }
.mq:has(a:focus-visible) .mq-l { animation: none; }
.mq a { display: block; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; white-space: nowrap; color: var(--ink); }
.mq a:hover { border-color: var(--ink); }
.mq a:focus-visible { outline: 2px solid #C77917; outline-offset: 2px; }
.mq-n { margin-top: 6px; padding: 0 16px; color: var(--ink-2); }
@keyframes mq { from { transform: translate3d(0,0,0); } to { transform: translate3d(-100%,0,0); } }
@media (prefers-reduced-motion: reduce) { .mq-l { animation-duration: 104s; } }

/* ───────────── Tamaños ───────────── */
@media (min-width: 734px) {
    .grid2 { grid-template-columns: 1fr 1fr; }
    .gt { min-height: 580px; padding-top: 64px; }
    .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; }
    .plans { grid-template-columns: 1.05fr 1fr; align-items: start; }
    .foot-cols { grid-template-columns: repeat(4, 1fr); }
    .ad-sw { display: none; }
    .ad { grid-template-columns: 1fr 1fr; margin-top: 44px; }
    .cl { grid-template-columns: 1.1fr 1fr; text-align: left; }
    .cl .lead { margin-left: 0; }
    .cl .ctas { justify-content: flex-start; }
}
@media (min-width: 1068px) {
    .cases { grid-template-columns: repeat(3, 1fr); }
    .tile { padding-top: 88px; }
    .tier { grid-template-columns: 1fr auto; }
    .tier .pill { margin-top: 0; }
}
@media (max-width: 833px) {
    .gn-toggle { display: block; }
    .gn-links {
        position: absolute; top: 48px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: rgba(255, 255, 255, 0.97);
        -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
        padding: 8px 24px 20px; border-bottom: 1px solid rgba(0,0,0,.08);
        font-size: 17px; display: none;
    }
    .gn-links.active { display: flex; }
    .gn-links a { padding: 12px 0; border-bottom: 1px solid #ececf0; opacity: 1; }
    .gn-links .pill { margin-top: 14px; min-height: 44px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .pill, .gn-toggle span { transition: none; }
}

.bm { display: none; }
@media (max-width: 733px) {
    .bm-on { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .bm-on .bm { display: flex; position: fixed; inset: auto 0 0; z-index: 998; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; font-size: 13px; }
    .bm .pill { flex: none; }
    .bm-on .wa-floating, .modal-overlay.active ~ .bm { display: none; }
}
