/* =========================================================================
   risu Web — sistema de diseño del sitio de marketing (risu.digital)
   Separado de risu-design.css (que es el de la app). Comparte tokens visuales
   pero con tipografía editorial y más densidad de aire.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
    /* Paleta marca */
    --navy: #17205b;
    --navy-900: #0F1540;
    --navy-700: #1F2C6E;
    --cream: #F5E6C8;
    --cream-soft: #FBF5E6;
    --blue: #5B7FFF;
    --blue-soft: #E8EEFF;
    --mint: #10B981;
    --coral: #FF6B6B;
    --gold: #F59E0B;

    /* Neutrales */
    --ink: #0F1430;
    --ink-muted: #4B5563;
    --ink-soft: #6B7280;
    --line: #E5E7EB;
    --bg: #FFFFFF;
    --bg-soft: #F9FAFB;
    --bg-cream: #FBF5E6;

    /* Tipografía */
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Espaciado */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 24px;
    --sp-6: 32px;
    --sp-7: 48px;
    --sp-8: 64px;
    --sp-9: 96px;
    --sp-10: 128px;

    /* Radios */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Shadows */
    --sh-sm: 0 1px 2px rgba(15,20,48,0.05), 0 1px 3px rgba(15,20,48,0.08);
    --sh-md: 0 4px 6px rgba(15,20,48,0.07), 0 10px 20px rgba(15,20,48,0.06);
    --sh-lg: 0 10px 30px rgba(15,20,48,0.10), 0 25px 50px rgba(15,20,48,0.12);
    --sh-navy: 0 10px 40px rgba(23,32,91,0.35);

    --wrap: 1200px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
p  { margin: 0; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: var(--sp-4);
}
.eyebrow--cream { color: var(--cream); }

.lead {
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--ink-muted);
    max-width: 620px;
}

/* ---------- Layout ---------- */
.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--sp-5);
}
.section {
    padding: var(--sp-9) 0;
}
.section--tight { padding: var(--sp-8) 0; }
.section--cream { background: var(--bg-cream); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lead { color: rgba(255,255,255,0.8); }

.grid {
    display: grid;
    gap: var(--sp-6);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 14px 24px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--r-pill);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
}
.btn--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(91,127,255,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91,127,255,0.45); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { transform: translateY(-2px); background: var(--navy-700); }
.btn--cream { background: var(--cream); color: var(--navy); }
.btn--cream:hover { transform: translateY(-2px); background: #EEDEB5; }
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--line);
}
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost-cream {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.35);
}
.btn--ghost-cream:hover { border-color: var(--cream); color: var(--cream); }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.88);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid rgba(229,231,235,0.6);
    z-index: 100;
    transform: translateZ(0);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--sp-5);
    max-width: var(--wrap);
    margin: 0 auto;
    gap: var(--sp-5);
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    color: var(--navy);
    letter-spacing: -0.02em;
}
.nav__logo img { width: 36px; height: 36px; border-radius: 9px; }
.nav__links {
    display: flex;
    gap: var(--sp-6);
    align-items: center;
}
.nav__links a {
    font-weight: 600;
    color: var(--ink-muted);
    font-size: 15px;
    transition: color .15s ease;
}
.nav__links a:hover { color: var(--navy); }
.nav__actions { display: flex; gap: var(--sp-3); align-items: center; }
.nav__burger { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: var(--sp-9) 0 var(--sp-8);
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg) 100%);
    overflow: hidden;
}
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
}
.hero::before {
    width: 320px; height: 320px;
    top: -80px; right: -80px;
    background: radial-gradient(circle, var(--cream), transparent 70%);
}
.hero::after {
    width: 400px; height: 400px;
    bottom: -120px; left: -120px;
    background: radial-gradient(circle, var(--blue-soft), transparent 70%);
}
.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--sp-7);
    align-items: center;
}
.hero__headline {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.02;
}
.hero__headline em {
    font-style: normal;
    background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__sub {
    font-size: clamp(17px, 1.5vw, 21px);
    color: var(--ink-muted);
    margin: var(--sp-5) 0 var(--sp-6);
    max-width: 560px;
}
.hero__ctas {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    margin-bottom: var(--sp-5);
}
.hero__trust {
    display: flex;
    gap: var(--sp-5);
    color: var(--ink-muted);
    font-size: 14px;
    flex-wrap: wrap;
}
.hero__trust span::before { content: "✓ "; color: var(--mint); font-weight: 700; }

.hero__visual {
    position: relative;
}
.hero__visual img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    border: 1px solid var(--line);
}
.hero__visual::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(91,127,255,0.15), rgba(245,230,200,0.3));
    border-radius: var(--r-xl);
    z-index: -1;
}

/* ---------- Logos strip ---------- */
.logos {
    padding: var(--sp-6) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.logos__title {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: var(--sp-5);
}
.logos__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--sp-7);
    flex-wrap: wrap;
    opacity: 0.55;
}
.logos__placeholder {
    width: 120px;
    height: 40px;
    background: repeating-linear-gradient(45deg, var(--bg-soft), var(--bg-soft) 8px, #fff 8px, #fff 16px);
    border: 1px dashed var(--line);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--ink-soft);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------- Problem / dolores ---------- */
.problems {
    padding: var(--sp-9) 0;
}
.problems__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-6);
}
.problem-card {
    padding: var(--sp-6);
    border-radius: var(--r-lg);
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
.problem-card__icon {
    font-size: 32px;
    margin-bottom: var(--sp-3);
}
.problem-card h3 { margin-bottom: var(--sp-2); }
.problem-card p { color: var(--ink-muted); font-size: 15px; }

/* ---------- Features ---------- */
.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
    margin-top: var(--sp-7);
}
.feature {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    padding: var(--sp-6);
    background: var(--bg);
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.feature__screenshot {
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: var(--bg-soft);
    aspect-ratio: 16/10;
    object-fit: contain;
    object-position: center;
}
.feature__screenshot--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.feature h3 { font-size: 22px; }
.feature p { color: var(--ink-muted); font-size: 16px; }

/* ---------- Pasos / cómo funciona ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
    margin-top: var(--sp-7);
    position: relative;
}
.step {
    text-align: center;
    padding: var(--sp-5);
}
.step__num {
    display: inline-flex;
    width: 56px; height: 56px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    margin-bottom: var(--sp-4);
}
.step h3 { margin-bottom: var(--sp-2); }
.step p { color: var(--ink-muted); font-size: 15px; }

/* ---------- Wallet section ---------- */
.wallet {
    background: var(--navy);
    color: #fff;
    padding: var(--sp-9) 0;
    position: relative;
    overflow: hidden;
}
/* Sobre fondo navy los headings deben ser claros — el default es --ink (oscuro). */
.wallet h1, .wallet h2, .wallet h3 { color: #fff; }
.wallet .lead { color: rgba(255,255,255,0.85); }
.wallet::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    top: -200px; right: -150px;
    background: radial-gradient(circle, rgba(91,127,255,0.25), transparent 70%);
    border-radius: 50%;
}
.wallet__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-7);
    align-items: center;
}
.wallet__badges {
    display: flex;
    gap: var(--sp-4);
    margin-top: var(--sp-5);
    flex-wrap: wrap;
}
.wallet__badges img { height: 54px; width: auto; }

.wallet__visual {
    display: flex;
    justify-content: center;
    gap: var(--sp-4);
}
.wallet__card {
    width: 280px;
    aspect-ratio: 1.6/1;
    border-radius: 20px;
    background: linear-gradient(135deg, #1F2C6E, #0F1540);
    padding: 20px;
    color: #fff;
    font-family: var(--font-display);
    box-shadow: var(--sh-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.wallet__card--tilted { transform: rotate(-4deg); }
.wallet__card--offset { transform: rotate(3deg) translateY(20px); }
.wallet__card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.wallet__card__logo {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.wallet__card__name { font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.wallet__card__biz { font-size: 18px; font-weight: 700; }
.wallet__card__pts { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.wallet__card__label { font-size: 11px; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Precios ---------- */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-7);
    align-items: stretch;
}
.plan {
    display: flex;
    flex-direction: column;
    padding: var(--sp-6);
    background: var(--bg);
    border: 2px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); }
.plan--featured {
    border-color: var(--blue);
    box-shadow: var(--sh-md);
    position: relative;
}
.plan--featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: var(--r-pill);
}
.plan__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: var(--sp-2);
}
.plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: var(--sp-2);
}
.plan__price strong {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.03em;
}
.plan__price span { color: var(--ink-muted); font-size: 15px; }
.plan__tagline {
    color: var(--ink-muted);
    font-size: 15px;
    margin-bottom: var(--sp-5);
    min-height: 42px;
}
.plan__features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--sp-6) 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    flex: 1;
}
.plan__features li {
    display: flex;
    gap: var(--sp-2);
    font-size: 15px;
    color: var(--ink);
}
.plan__features li::before {
    content: "✓";
    color: var(--mint);
    font-weight: 700;
    flex-shrink: 0;
}
.plan__features li.muted { color: var(--ink-soft); }
.plan__features li.muted::before { content: "—"; color: var(--ink-soft); }

/* ---------- Testimonios ---------- */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-7);
}
.testimonial {
    padding: var(--sp-6);
    background: var(--bg);
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
}
.testimonial__quote {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: var(--sp-5);
    color: var(--ink);
}
.testimonial__quote::before { content: '“'; color: var(--blue); font-size: 40px; line-height: 0; margin-right: 4px; vertical-align: -20px; }
.testimonial__person { display: flex; gap: var(--sp-3); align-items: center; }
.testimonial__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.testimonial__name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.testimonial__role { color: var(--ink-soft); font-size: 13px; }
.testimonial--placeholder { background: var(--bg-soft); border-style: dashed; color: var(--ink-soft); text-align: center; }
.testimonial--placeholder .testimonial__quote { color: var(--ink-soft); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq {
    max-width: 760px;
    margin: 0 auto;
}
.faq__item {
    border-bottom: 1px solid var(--line);
    padding: var(--sp-5) 0;
}
.faq__item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-4);
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--ink);
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+";
    font-size: 28px;
    color: var(--blue);
    font-weight: 400;
    transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
    margin-top: var(--sp-3);
    color: var(--ink-muted);
    font-size: 16px;
    max-width: 640px;
}

/* ---------- CTA final ---------- */
.cta-final {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
    color: #fff;
    border-radius: var(--r-xl);
    padding: var(--sp-8) var(--sp-7);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: var(--sp-7);
}
.cta-final::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    top: -100px; right: -100px;
    background: radial-gradient(circle, rgba(91,127,255,0.3), transparent 70%);
    border-radius: 50%;
}
.cta-final::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    bottom: -100px; left: -100px;
    background: radial-gradient(circle, rgba(245,230,200,0.2), transparent 70%);
    border-radius: 50%;
}
.cta-final h2 { color: #fff; position: relative; }
.cta-final p { color: rgba(255,255,255,0.8); margin: var(--sp-4) auto var(--sp-5); max-width: 520px; position: relative; font-size: 18px; }
.cta-final__btns { display: inline-flex; gap: var(--sp-3); flex-wrap: wrap; justify-content: center; position: relative; }

/* ---------- Formulario inline sobre CTA oscura ---------- */
.cta-form {
    position: relative;
    max-width: 560px;
    margin: 0 auto var(--sp-5);
    text-align: left;
}
.cta-form__hp {
    /* Honeypot — invisible para humanos, visible para bots. */
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}
.cta-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
    margin-bottom: var(--sp-3);
}
.cta-form__input {
    width: 100%;
    padding: 14px 16px;
    font: inherit;
    font-size: 15px;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.18);
    border-radius: var(--r-md);
    transition: border-color .15s ease, background .15s ease;
}
.cta-form__input::placeholder { color: rgba(255,255,255,0.55); }
.cta-form__input:focus {
    outline: none;
    border-color: var(--cream);
    background: rgba(255,255,255,0.12);
}
.cta-form__submit {
    width: 100%;
    margin-top: var(--sp-2);
}
.cta-form__msg {
    min-height: 20px;
    margin: var(--sp-3) 0 0;
    font-size: 14px;
    text-align: center;
    color: rgba(255,255,255,0.8);
}
.cta-form__msg[data-tipo="error"] { color: #ffb4b4; }
.cta-form__ok {
    padding: var(--sp-5) 0;
    text-align: center;
    color: #fff;
}
.cta-form__ok-icon { font-size: 44px; margin-bottom: var(--sp-3); }
.cta-form__ok h3 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: var(--sp-2);
}
.cta-form__ok p { color: rgba(255,255,255,0.85); font-size: 16px; }

#lf-fallback {
    margin-top: var(--sp-4);
    opacity: 0.8;
}
#lf-fallback .btn { font-size: 13px; }

@media (max-width: 640px) {
    .cta-form__row { grid-template-columns: 1fr; gap: var(--sp-2); }
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: var(--sp-8) 0 var(--sp-5);
    font-size: 15px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-6);
    margin-bottom: var(--sp-7);
}
.footer__brand img { width: 48px; height: 48px; border-radius: 10px; margin-bottom: var(--sp-3); }
.footer__brand p { margin-top: var(--sp-3); max-width: 300px; font-size: 14px; line-height: 1.55; }
.footer__col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: var(--sp-4);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(255,255,255,0.75); transition: color .15s ease; font-size: 14px; }
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: var(--sp-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-3);
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}
.footer__social { display: flex; gap: var(--sp-3); }
.footer__social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    transition: background .15s ease;
}
.footer__social a:hover { background: var(--cream); color: var(--navy); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero__inner,
    .wallet__inner { grid-template-columns: 1fr; }
    .hero__visual { order: -1; }
    .wallet__visual { justify-content: flex-start; }
    .features__grid,
    .problems__grid,
    .pricing__grid,
    .testimonials__grid,
    .steps,
    .footer__grid { grid-template-columns: 1fr; }
    .plan--featured { transform: none; }
    .nav__links { display: none; }
    .nav__burger {
        display: inline-flex;
        width: 40px; height: 40px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: var(--bg-soft);
        color: var(--navy);
        font-size: 22px;
    }
    .section { padding: var(--sp-8) 0; }
    .cta-final { padding: var(--sp-7) var(--sp-5); }
}

@media (max-width: 520px) {
    .hero__ctas .btn { width: 100%; justify-content: center; }
    .wallet__card { width: 240px; }
}

/* ---------- Reveal on scroll (sutil) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Páginas internas: hero simple ===== */
.page-hero {
    padding: var(--sp-8) 0 var(--sp-7);
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg) 100%);
    text-align: center;
}
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); }
.page-hero .lead { margin: var(--sp-5) auto 0; }

/* ===== Equipo ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-6);
}
.value-card {
    padding: var(--sp-6);
    background: var(--bg-soft);
    border-radius: var(--r-lg);
    text-align: center;
}
.value-card__icon { font-size: 36px; margin-bottom: var(--sp-3); }
.value-card h3 { font-size: 20px; margin-bottom: var(--sp-2); }
.value-card p { color: var(--ink-muted); font-size: 15px; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-6);
    margin-top: var(--sp-7);
}
.team-card {
    padding: var(--sp-6);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.team-card__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--sp-4);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border: 4px solid var(--cream-soft);
}
.team-card__name { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.team-card__role {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--sp-4);
}
.team-card__bio { color: var(--ink-muted); font-size: 15px; line-height: 1.5; margin-bottom: var(--sp-4); }
.team-card__links { display: flex; justify-content: center; gap: var(--sp-3); }
.team-card__links a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: background .15s ease, color .15s ease;
}
.team-card__links a:hover { background: var(--navy); color: var(--cream); }
.team-card__links svg { width: 18px; height: 18px; fill: currentColor; }

/* ===== Tabla comparativa de precios ===== */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: var(--sp-7);
    background: var(--bg);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
}
.compare-table th, .compare-table td {
    padding: 18px var(--sp-4);
    text-align: center;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}
.compare-table th {
    background: var(--bg-soft);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
    font-size: 16px;
}
.compare-table th:first-child, .compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--ink);
}
.compare-table th.featured {
    background: var(--navy);
    color: #fff;
}
.compare-table td.featured { background: rgba(91,127,255,0.04); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-check { color: var(--mint); font-weight: 700; font-size: 18px; }
.compare-dash { color: var(--ink-soft); }

/* ===== Prosa legal ===== */
.legal-prose {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--sp-4);
}
.legal-prose h2 {
    font-size: 26px;
    margin: var(--sp-7) 0 var(--sp-3);
    color: var(--navy);
}
.legal-prose h3 {
    font-size: 19px;
    margin: var(--sp-5) 0 var(--sp-2);
    color: var(--ink);
}
.legal-prose p, .legal-prose li {
    color: var(--ink-muted);
    font-size: 16px;
    line-height: 1.7;
}
.legal-prose p { margin: 0 0 var(--sp-3); }
.legal-prose ul, .legal-prose ol {
    padding-left: var(--sp-5);
    margin: 0 0 var(--sp-4);
}
.legal-prose li { margin-bottom: 8px; }
.legal-prose strong { color: var(--ink); }
.legal-prose a { color: var(--blue); font-weight: 600; }
.legal-prose a:hover { text-decoration: underline; }
.legal-meta {
    padding: var(--sp-4);
    background: var(--bg-cream);
    border-left: 4px solid var(--gold);
    border-radius: var(--r-sm);
    margin-bottom: var(--sp-6);
    font-size: 14px;
    color: var(--ink-muted);
}
.legal-meta strong { color: var(--navy); }
