/* ============================================================
   COMPRASPRO LANDING - DISEÑO MODERNO CORPORATIVO
   Paleta: Azul Einsoft #2563eb · Slate · Coral acento
   Sin degradados. Tipografía Sora + Inter Tight.
============================================================ */

:root {
    /* Paleta corporativa Einsoft */
    --brand-primary: #2563eb;
    --brand-primary-dark: #1d4ed8;
    --brand-primary-darker: #1e40af;
    --brand-primary-soft: #eff6ff;
    --brand-primary-line: #dbeafe;

    /* Acento de acción (CTA secundario, énfasis) */
    --accent: #f97316;
    --accent-soft: #fff7ed;

    /* Neutros */
    --ink-900: #0f172a;
    --ink-800: #1e293b;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748b;
    --ink-400: #94a3b8;
    --ink-300: #cbd5e1;
    --ink-200: #e2e8f0;
    --ink-100: #f1f5f9;
    --ink-50:  #f8fafc;
    --white:   #ffffff;

    /* Estados */
    --success: #10b981;
    --success-soft: #ecfdf5;

    /* Tipografía */
    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Inter Tight', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Espaciado */
    --container: 1240px;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    /* Sombras suaves (sin degradados) */
    --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
    --shadow-sm: 0 2px 8px rgba(15,23,42,0.06);
    --shadow-md: 0 6px 24px rgba(15,23,42,0.08);
    --shadow-lg: 0 18px 48px rgba(15,23,42,0.12);
    --shadow-brand: 0 12px 30px rgba(37,99,235,0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink-900);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== NAVBAR ========== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--ink-100);
    z-index: 100;
    transition: padding .25s ease;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink-900);
    font-size: 19px;
    letter-spacing: -0.02em;
}
.brand-logo {
    width: 38px; height: 38px;
    background: var(--brand-primary);
    border-radius: 9px;
    display: grid; place-items: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
    box-shadow: var(--shadow-brand);
}
.brand-text small {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--ink-500);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: -2px;
}
.nav-links {
    display: flex;
    gap: 34px;
    align-items: center;
}
.nav-links a {
    color: var(--ink-700);
    font-weight: 500;
    font-size: 15px;
    transition: color .2s ease;
}
.nav-links a:hover { color: var(--brand-primary); }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-primary);
    color: white !important;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-brand);
    transition: transform .15s ease, background .2s ease;
}
.nav-cta:hover { background: var(--brand-primary-dark); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border-radius: 8px;
    background: var(--ink-100);
}
.nav-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--ink-800);
    margin: 4px auto;
    border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
    padding: 140px 0 90px;
    position: relative;
    background:
        radial-gradient(circle at 0% 0%, var(--brand-primary-soft) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, var(--accent-soft) 0%, transparent 35%),
        var(--white);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--ink-100) 1px, transparent 1px),
        linear-gradient(90deg, var(--ink-100) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 75%);
    opacity: .5;
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--white);
    border: 1px solid var(--brand-primary-line);
    border-radius: 999px;
    font-size: 13px;
    color: var(--brand-primary-darker);
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-xs);
    margin-bottom: 22px;
}
.eyebrow .dot {
    width: 7px; height: 7px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,0.18); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero h1 {
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 1.05;
    color: var(--ink-900);
    margin-bottom: 22px;
    font-weight: 800;
}
.hero h1 .highlight {
    color: var(--brand-primary);
    position: relative;
    white-space: nowrap;
}
.hero h1 .highlight::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 10px;
    background: var(--brand-primary-soft);
    z-index: -1;
    border-radius: 4px;
}
.hero p.lead {
    font-size: 19px;
    color: var(--ink-600);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.55;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15.5px;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--brand-primary);
    color: white;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-primary-dark); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(37,99,235,0.28); }
.btn-secondary {
    background: var(--white);
    color: var(--ink-900);
    border: 1.5px solid var(--ink-200);
}
.btn-secondary:hover { border-color: var(--ink-900); transform: translateY(-2px); }
.btn-whatsapp {
    background: #22c55e;
    color: white;
    box-shadow: 0 10px 24px rgba(34,197,94,0.25);
}
.btn-whatsapp:hover { background: #16a34a; transform: translateY(-2px); }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    color: var(--ink-500);
    font-size: 14px;
}
.hero-trust .ts-item {
    display: flex; align-items: center; gap: 8px;
}
.hero-trust svg {
    width: 18px; height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

/* HERO MOCKUP */
.hero-visual {
    position: relative;
    aspect-ratio: 1.05/1;
}
.mockup-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ink-100);
    overflow: hidden;
}
.mockup-main {
    inset: 0 0 60px 0;
    transform: rotate(-1.5deg);
}
.mockup-main:hover { transform: rotate(0); transition: transform .4s ease; }
.mockup-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--ink-100);
    display: flex; align-items: center; gap: 8px;
    background: var(--ink-50);
}
.mockup-header .dot-r { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.mockup-header .dot-y { width: 11px; height: 11px; border-radius: 50%; background: #f59e0b; }
.mockup-header .dot-g { width: 11px; height: 11px; border-radius: 50%; background: #10b981; }
.mockup-header .url-bar {
    flex: 1;
    background: white;
    border-radius: 6px;
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-500);
    margin-left: 10px;
    border: 1px solid var(--ink-200);
}
.mockup-body { padding: 24px; }
.mockup-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.mock-pill {
    background: var(--brand-primary-soft);
    color: var(--brand-primary-darker);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.mock-pill.ghost { background: var(--ink-100); color: var(--ink-600); }
.mock-pill.ok { background: var(--success-soft); color: #065f46; }

.mock-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}
.mock-table th {
    text-align: left;
    padding: 10px 8px;
    font-weight: 600;
    color: var(--ink-500);
    border-bottom: 1px solid var(--ink-100);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mock-table td {
    padding: 11px 8px;
    border-bottom: 1px solid var(--ink-100);
    color: var(--ink-700);
}
.mock-table td.amount { font-weight: 600; color: var(--ink-900); text-align: right; font-variant-numeric: tabular-nums; }
.mock-row-new {
    animation: rowIn 1.6s ease infinite;
    background: var(--brand-primary-soft);
}
@keyframes rowIn {
    0%, 100% { background: var(--brand-primary-soft); }
    50% { background: white; }
}

/* Mockup celular flotante */
.mockup-phone {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 200px;
    aspect-ratio: 9/19;
    background: #0f172a;
    border-radius: 30px;
    padding: 8px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15,23,42,0.4);
    transform: rotate(6deg);
    z-index: 5;
}
.mockup-phone-screen {
    width: 100%; height: 100%;
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}
.phone-cam {
    background: var(--ink-900);
    height: 60%;
    position: relative;
    overflow: hidden;
}
.phone-cam::before {
    content: "";
    position: absolute;
    inset: 20% 18% auto 18%;
    aspect-ratio: 1/1.4;
    border: 2px dashed rgba(255,255,255,0.55);
    border-radius: 6px;
    animation: scan 2.5s ease-in-out infinite;
}
@keyframes scan {
    0%, 100% { border-color: rgba(255,255,255,0.55); }
    50% { border-color: var(--accent); box-shadow: 0 0 30px rgba(249,115,22,0.4); }
}
.phone-cam::after {
    content: "FACTURA";
    position: absolute;
    inset: 28% 22% auto 22%;
    color: rgba(255,255,255,0.4);
    font-family: var(--font-mono);
    font-size: 9px;
    text-align: center;
    letter-spacing: 0.2em;
    padding-top: 14px;
}
.phone-info {
    padding: 14px 12px;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.phone-info .ph-line {
    height: 6px;
    background: var(--ink-200);
    border-radius: 3px;
}
.phone-info .ph-line.short { width: 60%; }
.phone-info .ph-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--success-soft);
    color: #065f46;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    width: fit-content;
    margin-top: 6px;
}

/* ========== SECCIÓN: LOGOS / CONFIANZA ========== */
.trust-strip {
    padding: 50px 0;
    border-top: 1px solid var(--ink-100);
    border-bottom: 1px solid var(--ink-100);
    background: var(--ink-50);
}
.trust-strip-inner {
    display: grid;
    grid-template-columns: 1fr auto auto auto auto;
    gap: 40px;
    align-items: center;
}
.trust-label {
    font-size: 13px;
    color: var(--ink-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.trust-stat .num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -0.03em;
    line-height: 1;
}
.trust-stat .label {
    font-size: 13px;
    color: var(--ink-500);
    margin-top: 4px;
}

/* ========== SECCIÓN GENÉRICA ========== */
section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-eyebrow {
    display: inline-block;
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 18px;
    color: var(--ink-900);
}
.section-head p {
    font-size: 18px;
    color: var(--ink-600);
}

/* ========== FEATURES (BENEFICIOS PRINCIPALES) ========== */
.features { background: var(--white); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    padding: 38px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary-line);
    box-shadow: var(--shadow-md);
}
.feature-card .num-badge {
    position: absolute;
    top: 24px; right: 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-300);
    font-weight: 600;
}
.feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
}
.feature-icon.alt { background: var(--accent-soft); color: var(--accent); }
.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--ink-600);
    font-size: 15.5px;
    line-height: 1.65;
}
.feature-card ul {
    margin-top: 16px;
    list-style: none;
}
.feature-card ul li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 14px;
    color: var(--ink-700);
}
.feature-card ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 13px;
    width: 14px; height: 8px;
    border-left: 2px solid var(--success);
    border-bottom: 2px solid var(--success);
    transform: rotate(-45deg);
}

/* ========== CÓMO FUNCIONA ========== */
.how-it-works {
    background: var(--ink-50);
    position: relative;
}
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}
.step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 26px;
    position: relative;
    border: 1px solid var(--ink-100);
}
.step-num {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--ink-900);
    color: white;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 18px;
}
.step:nth-child(2) .step-num { background: var(--brand-primary); }
.step:nth-child(3) .step-num { background: var(--accent); }
.step:nth-child(4) .step-num { background: var(--success); }
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-600); line-height: 1.55; }

/* ========== COMPARATIVA / VENTAJAS VS COMPETENCIA ========== */
.advantages { background: var(--white); }
.adv-wrap {
    background: var(--ink-900);
    border-radius: var(--radius-xl);
    padding: 70px 60px;
    color: white;
    position: relative;
    overflow: hidden;
}
.adv-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.adv-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.adv-grid h2 {
    color: white;
    font-size: clamp(30px, 3.6vw, 42px);
    margin-bottom: 18px;
}
.adv-grid p.lead {
    color: rgba(255,255,255,0.72);
    font-size: 17px;
    margin-bottom: 28px;
}
.adv-table {
    background: white;
    border-radius: var(--radius);
    padding: 8px;
    color: var(--ink-800);
    box-shadow: var(--shadow-lg);
}
.adv-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: center;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14.5px;
}
.adv-row.head {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink-900);
    border-bottom: 2px solid var(--ink-100);
    border-radius: 10px 10px 0 0;
    padding-bottom: 14px;
    padding-top: 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.adv-row.head .col-cp { color: var(--brand-primary); }
.adv-row + .adv-row { border-top: 1px solid var(--ink-100); border-radius: 0; }
.adv-row .feat { color: var(--ink-700); font-weight: 500; }
.adv-row .col-cp, .adv-row .col-others { text-align: center; font-weight: 600; }
.col-cp.yes { color: var(--success); }
.col-others.no { color: var(--ink-400); }
.adv-row .check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}
.adv-row .check svg { width: 16px; height: 16px; }

/* ========== TESTIMONIOS ========== */
.testimonials {
    background: var(--brand-primary-soft);
}
.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.test-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px;
    border: 1px solid var(--brand-primary-line);
    position: relative;
}
.test-card .quote-mark {
    font-family: var(--font-display);
    font-size: 70px;
    line-height: 1;
    color: var(--brand-primary);
    opacity: .15;
    position: absolute;
    top: 16px;
    right: 22px;
    font-weight: 800;
}
.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}
.stars svg { width: 16px; height: 16px; color: #f59e0b; }
.test-card p {
    color: var(--ink-700);
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 22px;
}
.test-author { display: flex; align-items: center; gap: 12px; }
.avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: white;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
}
.avatar.alt-1 { background: var(--accent); }
.avatar.alt-2 { background: var(--ink-800); }
.test-author .name {
    font-weight: 600;
    color: var(--ink-900);
    font-size: 15px;
    line-height: 1.2;
}
.test-author .role {
    font-size: 13px;
    color: var(--ink-500);
}

/* ========== DEMO / VIDEO ========== */
.demo { background: var(--white); }
.demo-frame {
    aspect-ratio: 16/9;
    background: var(--ink-900);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: 1px solid var(--ink-200);
}
.demo-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
.demo-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 30px;
}
.play-btn {
    width: 96px; height: 96px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 0 0 0 rgba(37,99,235,0.4);
    animation: pulse-btn 2.4s ease-out infinite;
}
@keyframes pulse-btn {
    0% { box-shadow: 0 0 0 0 rgba(37,99,235,0.5); }
    100% { box-shadow: 0 0 0 30px rgba(37,99,235,0); }
}
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { width: 32px; height: 32px; color: white; margin-left: 4px; }
.demo-content h3 {
    color: white;
    font-size: 26px;
    margin-bottom: 8px;
}
.demo-content p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

/* ========== FAQ ========== */
.faq {
    background: var(--ink-50);
}
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--brand-primary-line); }
.faq-item summary {
    list-style: none;
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink-900);
    font-size: 17px;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--ink-100);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e293b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
    flex-shrink: 0;
    transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-body {
    padding: 0 28px 24px;
    color: var(--ink-600);
    font-size: 15.5px;
    line-height: 1.7;
}

/* ========== COTIZACIÓN / CTA FINAL ========== */
.cta {
    background: var(--brand-primary);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.cta-inner { position: relative; z-index: 2; }
.cta h2 {
    color: white;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 18px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.cta p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 38px;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
    background: white;
    color: var(--brand-primary-darker);
    padding: 18px 30px;
    font-size: 16px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .15s ease, box-shadow .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,0.18); }
.btn-cta-ghost {
    background: rgba(255,255,255,0.08);
    color: white;
    padding: 18px 30px;
    font-size: 16px;
    border-radius: 999px;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: background .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-cta-ghost:hover { background: rgba(255,255,255,0.14); }

/* ========== FOOTER ========== */
.footer {
    background: var(--ink-900);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}
.footer h5 {
    color: white;
    font-family: var(--font-display);
    font-size: 14px;
    margin-bottom: 18px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}
.footer .brand { color: white; margin-bottom: 16px; }
.footer .brand-text small { color: rgba(255,255,255,0.5); }
.footer p { font-size: 14.5px; line-height: 1.65; max-width: 320px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; font-size: 14.5px; }
.footer ul li a { transition: color .2s ease; }
.footer ul li a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.5);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: grid;
    place-items: center;
    transition: background .2s ease;
}
.footer-social a:hover { background: var(--brand-primary); }
.footer-social svg { width: 16px; height: 16px; }

/* ========== WHATSAPP FLOTANTE ========== */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px; height: 60px;
    background: #22c55e;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    box-shadow: 0 12px 30px rgba(34,197,94,0.4);
    z-index: 90;
    transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #22c55e;
    animation: pulse-wa 2s ease-out infinite;
    pointer-events: none;
}
@keyframes pulse-wa {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ========== ANIMACIONES SCROLL ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-visual { max-width: 540px; margin: 0 auto; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .adv-grid { grid-template-columns: 1fr; gap: 36px; }
    .test-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .trust-strip-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
    .adv-wrap { padding: 50px 36px; }
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    section { padding: 80px 0; }
    .hero { padding: 120px 0 70px; }
    .hero h1 { font-size: 38px; }
    .hero p.lead { font-size: 17px; }
    .btn { padding: 14px 22px; font-size: 14.5px; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .adv-row { grid-template-columns: 1.2fr .8fr .8fr; padding: 12px 14px; font-size: 13px; }
    .adv-wrap { padding: 36px 22px; }
    .hero-trust { gap: 14px; }

    /* Hero visual móvil: solo el teléfono, centrado */
    .mockup-main { display: none; }
    .hero-visual {
        aspect-ratio: unset;
        height: auto;
        display: flex;
        justify-content: center;
        padding: 10px 0 20px;
    }
    .mockup-phone {
        position: relative;
        bottom: auto;
        right: auto;
        width: 155px;
        transform: rotate(4deg);
        margin: 0 auto;
    }

    .feature-card { padding: 28px; }
    .test-card { padding: 28px; }
    .faq-item summary { padding: 18px 20px; font-size: 15.5px; }
    .faq-item .faq-body { padding: 0 20px 20px; font-size: 14.5px; }
}