/* ======================================================
   GenKIA · Landing pública (genkia.co)
   ======================================================
   Mobile-first, sin framework, sin estilos inline (CSP style-src 'self').
   Breakpoints: 600 / 900 / 1200 px. Contenedor máx. 1200 px. */

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/poppins-400.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/poppins-600.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/poppins-700.woff2") format("woff2");
}

:root {
    --purple: #581CCB;
    --purple-soft: #EFE8FC;
    --ink: #1A0F2E;
    --fuchsia: #EC4899;
    --primary: #D6266E;          /* AA 4.8:1 sobre blanco */
    --primary-strong: #B01E5C;
    --primary-soft: #FBD9EA;
    --text: #2A2140;
    --muted: #5C5670;            /* 7.0:1 sobre blanco */
    --line: #E7E2F0;
    --bg: #FFFFFF;
    --bg-soft: #F8F6FC;
    --green: #0F7D55;
    --green-soft: #DDF3EA;
    --gradient: linear-gradient(135deg, #581CCB 0%, #EC4899 100%);

    --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --gutter: clamp(16px, 4vw, 32px);
    --container: 1200px;
    --section-y: clamp(64px, 9vw, 120px);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(26, 15, 46, .06), 0 2px 8px rgba(26, 15, 46, .05);
    --shadow: 0 10px 30px rgba(26, 15, 46, .10), 0 2px 6px rgba(26, 15, 46, .05);
    --header-h: 64px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: clip;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
    margin: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-strong);
}

:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 3px;
    border-radius: 6px;
}

[id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 12px 16px;
    background: var(--ink);
    color: #FFFFFF;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
    color: #FFFFFF;
}

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

/* ---------- Botones ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--primary-strong);
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.btn-sm {
    min-height: 44px;
    padding: 8px 18px;
    font-size: .9375rem;
    white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
    .btn:active {
        transform: translateY(1px);
    }
}

/* ---------- Marca ---------- */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--ink);
    text-decoration: none;
    flex-shrink: 0;
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    width: 32px;
    height: 32px;
}

.brand-mark-g {
    fill: var(--purple);
}

.brand-mark-star {
    fill: var(--fuchsia);
}

.brand-name {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.brand-ia {
    color: var(--primary);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(8px)) {
    .site-header {
        background: rgba(255, 255, 255, .8);
        backdrop-filter: saturate(180%) blur(12px);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: var(--header-h);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-largo {
    display: none;
}

/* Navegación móvil: oculta salvo menú abierto (requiere JS). Sin JS el
   header muestra logo + CTA y las secciones se alcanzan con scroll. */
.site-nav {
    display: none;
}

.site-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.nav-list {
    list-style: none;
    padding: 8px var(--gutter) 16px;
}

.nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.nav-list li:last-child a {
    border-bottom: 0;
}

.nav-list a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    cursor: pointer;
}

.menu-toggle[hidden] {
    display: none;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
    transition: transform .2s ease, background-color .2s ease;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle-bars::before {
    top: -6px;
}

.menu-toggle-bars::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 359px) {
    .brand-name {
        font-size: 1.25rem;
    }

    .brand-mark {
        width: 28px;
        height: 28px;
    }

    .header-inner {
        gap: 8px;
    }

    .header-actions {
        gap: 6px;
    }

    .btn-sm {
        padding: 8px 12px;
        font-size: .875rem;
    }

    .plans .plan {
        padding-inline: 20px;
    }
}

@media (min-width: 600px) {
    .cta-largo {
        display: inline;
    }

    .cta-corto {
        display: none;
    }
}

@media (min-width: 1024px) {
    .site-nav,
    .site-nav.is-open {
        display: block;
        position: static;
        background: none;
        border: 0;
        box-shadow: none;
    }

    .nav-list {
        display: flex;
        gap: clamp(16px, 2.2vw, 32px);
        padding: 0;
    }

    .nav-list a {
        min-height: 44px;
        border: 0;
        font-weight: 500;
        font-size: .9375rem;
        color: var(--text);
    }

    .menu-toggle,
    .menu-toggle:not([hidden]) {
        display: none;
    }
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--ink);
    color: #D9D3E8;
    padding-block: 48px 40px;
}

.site-footer .brand-name {
    color: #FFFFFF;
}

.site-footer .brand-ia {
    color: #F27AB6;
}

.footer-inner {
    display: grid;
    gap: 24px;
}

.footer-tagline {
    margin-top: 4px;
    color: #BDB4D3;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #FFFFFF;
    text-decoration: none;
}

.footer-links a:hover {
    color: #F27AB6;
    text-decoration: underline;
}

.site-footer :focus-visible {
    outline-color: #F27AB6;
}

.footer-note {
    font-size: .875rem;
    color: #BDB4D3;
    max-width: 70ch;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 24px;
}

@media (min-width: 900px) {
    .footer-inner {
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .footer-inner nav {
        justify-self: end;
    }

    .footer-note {
        grid-column: 1 / -1;
    }
}

/* ---------- 404 ---------- */

.page-404 {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding-block: var(--section-y);
}

.page-404 h1 {
    font-size: clamp(2rem, 1.4rem + 3vw, 3rem);
    margin-bottom: 12px;
}

.page-404 p {
    color: var(--muted);
    margin-bottom: 28px;
}

/* ---------- Secciones genéricas ---------- */

.section {
    padding-block: var(--section-y);
}

.section-soft {
    background: var(--bg-soft);
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head h2,
.split-copy h2 {
    font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
}

.section-lead {
    margin-top: 16px;
    font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--purple);
}

.eyebrow-star {
    color: var(--fuchsia);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(236, 72, 153, .12), transparent 70%),
        radial-gradient(50% 60% at 0% 100%, rgba(88, 28, 203, .08), transparent 70%),
        var(--bg);
}

.hero-inner {
    display: grid;
    gap: clamp(40px, 6vw, 64px);
    align-items: center;
}

.hero-inner > * {
    min-width: 0;
}

.hero h1 {
    font-size: clamp(2.125rem, 1.3rem + 4.2vw, 4rem);
    letter-spacing: -0.035em;
}

.hero-lead {
    margin-top: 20px;
    max-width: 56ch;
    font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
    color: var(--muted);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-note {
    margin-top: 16px;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--muted);
}

@media (max-width: 479px) {
    .hero-ctas .btn {
        width: 100%;
    }
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    }
}

/* ---------- Mockups (HTML/CSS, datos ficticios) ---------- */

.mock-scene {
    position: relative;
    max-width: 440px;
    margin-inline: auto;
}

.mock-phone {
    width: min(100%, 320px);
    margin-inline: auto;
    padding: 10px;
    border-radius: 40px;
    background: var(--ink);
    box-shadow: var(--shadow), 0 30px 60px -20px rgba(88, 28, 203, .35);
}

.mock-screen {
    border-radius: 32px;
    background: #FBFAFE;
    padding: 20px 16px 18px;
    overflow: hidden;
}

.mock-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: .8125rem;
    color: var(--muted);
}

.mock-hello {
    font-weight: 600;
    color: var(--ink);
    font-size: .9375rem;
}

.mock-balance {
    margin-top: 14px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--gradient);
    color: #FFFFFF;
}

.mock-label {
    display: block;
    font-size: .75rem;
    opacity: .9;
}

.mock-amount {
    display: block;
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.mock-split {
    display: grid;
    gap: 2px;
    margin-top: 10px;
    font-size: .6875rem;
}

.mock-split b {
    font-weight: 600;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
}

.dot-in {
    background: #7EE2B8;
}

.dot-out {
    background: #FFC2DD;
}

.mock-section {
    margin: 16px 0 8px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--ink);
}

.mock-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 6px;
}

.mock-list li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    font-size: .75rem;
}

.mock-ico {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: .9375rem;
}

.ico-food { background: #FDE8D7; }
.ico-move { background: #E0ECFF; }
.ico-home { background: var(--green-soft); }
.ico-pay { background: var(--purple-soft); }

.mock-txt {
    min-width: 0;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mock-txt small {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: .6875rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.neg { color: var(--ink); }
.pos { color: var(--green); }

/* Móvil: la conversación queda DEBAJO del teléfono, montada sólo sobre su
   borde inferior, para no tapar los montos de los movimientos. */
.mock-chat {
    position: relative;
    z-index: 1;
    margin-top: -32px;
    width: min(78%, 300px);
    padding: 14px;
    border-radius: var(--radius);
    background: #FFFFFF;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.mock-chat-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: .6875rem;
    font-weight: 600;
    color: var(--muted);
}

.mock-chat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.hero-mascot {
    position: absolute;
    z-index: 2;
    right: -4px;
    bottom: 0;
    width: 88px;
    filter: drop-shadow(0 10px 18px rgba(26, 15, 46, .18));
}

@media (min-width: 900px) {
    .mock-scene {
        max-width: 480px;
        padding-bottom: 32px;
    }

    .mock-chat {
        position: absolute;
        left: -24px;
        bottom: 0;
        margin-top: 0;
        width: min(78%, 280px);
    }

    .hero-mascot {
        width: 140px;
        right: -24px;
        bottom: 40px;
    }
}

/* Burbujas de conversación (hero y sección WhatsApp) */

.bubble {
    max-width: 88%;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: .8125rem;
    line-height: 1.45;
}

.bubble + .bubble {
    margin-top: 8px;
}

.bubble-user {
    margin-left: auto;
    background: var(--purple);
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}

.bubble-bot {
    background: var(--bg-soft);
    color: var(--ink);
    border: 1px solid var(--line);
    border-bottom-left-radius: 4px;
}

.ok {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--green);
    color: #FFFFFF;
    font-size: .6875rem;
    font-weight: 700;
    vertical-align: -3px;
}

/* ---------- Cómo funciona ---------- */

.steps {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 16px;
}

.step {
    position: relative;
    min-width: 0;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--line);
}

.step-num {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--purple-soft);
    color: var(--purple);
    font-weight: 700;
    font-size: 1.125rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
}

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

@media (min-width: 1100px) {
    .steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Bloque dividido (WhatsApp) ---------- */

.section-dark {
    background:
        radial-gradient(60% 70% at 100% 0%, rgba(236, 72, 153, .22), transparent 70%),
        radial-gradient(60% 70% at 0% 100%, rgba(88, 28, 203, .55), transparent 70%),
        var(--ink);
    color: #E4DFF0;
}

.section-dark h2 {
    color: #FFFFFF;
}

.section-dark .section-lead {
    color: #D2CBE3;
}

.eyebrow-light {
    color: #F9A8CF;
}

.section-dark :focus-visible {
    outline-color: #F9A8CF;
}

.split {
    display: grid;
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
}

.split > * {
    min-width: 0;
}

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

.checks {
    list-style: none;
    padding: 0;
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.checks li {
    position: relative;
    padding-left: 34px;
}

.checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(236, 72, 153, .2);
    color: #F9A8CF;
    font-size: .75rem;
    font-weight: 700;
}

.chat-demo {
    max-width: 460px;
    width: 100%;
    margin-inline: auto;
}

.chat-window {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    color: var(--ink);
}

.chat-title small {
    display: block;
    font-weight: 400;
    font-size: .75rem;
    color: var(--muted);
}

.chat-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: #FFFFFF;
    font-weight: 700;
}

.chat-thread {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.chat-thread .bubble {
    font-size: .9375rem;
}

.chat-caption {
    margin-top: 12px;
    text-align: center;
    font-size: .8125rem;
    color: #BDB4D3;
}

/* ---------- Beneficios ---------- */

.benefits {
    display: grid;
    gap: 20px;
}

.benefit {
    min-width: 0;
    padding: clamp(24px, 3vw, 32px);
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.benefit h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.benefit-ico {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 14px;
}

.benefit-ico svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ico-a { background: var(--primary-soft); color: var(--primary-strong); }
.ico-b { background: var(--purple-soft); color: var(--purple); }
.ico-c { background: var(--green-soft); color: var(--green); }

.benefit-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 14px;
}

.benefit-list li {
    color: var(--muted);
    padding-left: 18px;
    position: relative;
}

.benefit-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fuchsia);
}

.benefit-list strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
}

@media (min-width: 700px) {
    .benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefit:last-child {
        grid-column: 1 / -1;
    }

    .benefit:last-child .benefit-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }
}

@media (min-width: 1024px) {
    .benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .benefit:last-child {
        grid-column: auto;
    }

    .benefit:last-child .benefit-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Vistas del producto ---------- */

.views {
    display: grid;
    gap: 20px;
}

.view {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.view figcaption {
    color: var(--muted);
    font-size: .9375rem;
}

.view figcaption strong {
    display: block;
    color: var(--ink);
    font-size: 1.0625rem;
}

.view-screen {
    flex: 1;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    font-size: .8125rem;
    min-height: 260px;
}

.vs-title {
    margin-bottom: 14px;
    font-weight: 700;
    color: var(--ink);
    font-size: .9375rem;
}

.vs-balance {
    padding: 14px;
    border-radius: var(--radius);
    background: var(--gradient);
    color: #FFFFFF;
}

.vs-balance span {
    display: block;
    font-size: .75rem;
    opacity: .9;
}

.vs-balance strong {
    font-size: 1.375rem;
    letter-spacing: -0.02em;
}

.vs-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.vs-kpis span,
.vs-goal {
    padding: 10px 12px;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.vs-kpis small,
.vs-goal small {
    display: block;
    color: var(--muted);
    font-size: .6875rem;
}

.vs-kpis b {
    color: var(--ink);
}

.vs-kpis b.pos {
    color: var(--green);
}

.vs-goal {
    display: block;
    margin-top: 10px;
}

.vs-goal > span:first-child {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 8px;
    margin-bottom: 8px;
}

.vs-goal b {
    color: var(--purple);
}

.bar {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #E9E3F5;
    overflow: hidden;
}

.bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--gradient);
}

.w-100 { width: 100%; }
.w-66 { width: 66%; }
.w-62 { width: 62%; }
.w-35 { width: 35%; }
.w-15 { width: 15%; }

.vs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    font-size: .6875rem;
    font-weight: 600;
    color: var(--muted);
}

.chip-on {
    background: var(--ink);
    border-color: var(--ink);
    color: #FFFFFF;
}

.vs-rows,
.vs-bars {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 8px;
}

.vs-rows li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.vs-rows li > span {
    min-width: 0;
    font-weight: 600;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-rows small {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: .6875rem;
}

.vs-rows b {
    white-space: nowrap;
    color: var(--ink);
}

.vs-rows b.pos {
    color: var(--green);
}

.vs-bars {
    gap: 14px;
}

.vs-bars li > span:first-child {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--ink);
    font-weight: 500;
}

.vs-bars b {
    font-weight: 600;
}

.view-chat .bubble {
    font-size: .75rem;
}

@media (min-width: 700px) {
    .views {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .views {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Planes ---------- */

.section-head-center {
    margin-inline: auto;
    text-align: center;
}

.plans {
    display: grid;
    gap: 20px;
    max-width: 480px;
    margin-inline: auto;
}

.plan {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.plan h3 {
    font-size: 1.25rem;
}

.plan-price {
    margin-top: 16px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.plan-amount {
    font-size: clamp(2rem, 1.6rem + 1.6vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1.1;
}

.plan-cur {
    font-weight: 600;
    color: var(--muted);
}

.plan-period {
    margin-top: 4px;
    font-weight: 500;
    color: var(--purple);
}

.plan-support {
    margin-top: 16px;
    color: var(--muted);
    flex: 1;
}

.plan-support strong {
    color: var(--ink);
    font-weight: 600;
}

.plan-trial {
    margin-top: 20px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--green-soft);
    color: #0B5E40;
    font-size: .875rem;
    font-weight: 600;
    text-align: center;
}

.plan-cta {
    margin-top: 16px;
    width: 100%;
}

.plan-featured {
    border: 2px solid var(--purple);
    box-shadow: var(--shadow), 0 24px 48px -24px rgba(88, 28, 203, .35);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--purple);
    color: #FFFFFF;
    font-size: .8125rem;
    font-weight: 600;
}

.plans-notes {
    margin-top: 32px;
    text-align: center;
    color: var(--muted);
    font-size: .9375rem;
}

.plans-notes p + p {
    margin-top: 4px;
}

@media (min-width: 1024px) {
    .plans {
        max-width: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
}

/* ---------- Confianza ---------- */

.trust {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 16px;
}

.trust li {
    min-width: 0;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #FFFFFF;
}

.trust h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.0625rem;
    margin-bottom: 6px;
}

.trust h3::before {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--purple);
}

.trust p {
    color: var(--muted);
    font-size: .9375rem;
}

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

@media (min-width: 1024px) {
    .trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ---------- FAQ ---------- */

.faq-wrap {
    display: grid;
    gap: 8px;
}

.faq {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.faq details {
    border-radius: var(--radius);
    background: #FFFFFF;
    border: 1px solid var(--line);
}

.faq details[open] {
    border-color: #D4C7F0;
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    border-radius: var(--radius);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    flex: none;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--purple-soft);
    color: var(--purple);
    font-size: 1.25rem;
    line-height: 1;
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    padding: 0 20px 20px;
    color: var(--muted);
}

@media (min-width: 1024px) {
    .faq-wrap {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
        gap: 64px;
        align-items: start;
    }

    .faq-wrap .section-head {
        position: sticky;
        top: calc(var(--header-h) + 32px);
    }
}

/* ---------- CTA final ---------- */

.cta-final {
    padding-block: var(--section-y);
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(236, 72, 153, .45), transparent 70%),
        linear-gradient(135deg, #3E1196 0%, #581CCB 55%, #7A2BC8 100%);
    color: #EDE7FA;
}

.cta-inner {
    display: grid;
    justify-items: center;
    gap: 24px;
    text-align: center;
}

.cta-inner > * {
    min-width: 0;
}

.cta-mascot {
    width: 128px;
}

.cta-copy h2 {
    color: #FFFFFF;
    font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
    max-width: 20ch;
    margin-inline: auto;
}

.cta-copy > p:not(.cta-note) {
    margin: 16px auto 28px;
    max-width: 48ch;
    font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
}

.btn-light {
    background: #FFFFFF;
    color: var(--purple);
}

.btn-light:hover {
    background: var(--primary-soft);
    color: var(--ink);
}

.cta-final :focus-visible {
    outline-color: #FFFFFF;
}

.cta-note {
    margin-top: 16px;
    font-size: .9375rem;
    color: #E2D9F7;
}

@media (min-width: 900px) {
    .cta-inner {
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        text-align: left;
        gap: 48px;
        max-width: 960px;
    }

    .cta-mascot {
        width: 180px;
    }

    .cta-copy h2,
    .cta-copy > p:not(.cta-note) {
        margin-inline: 0;
    }
}
