/* ============================================================
   LEGADO — Estilos de la landing page
   ============================================================ */

/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

:root {
    /* Brand tokens (oficiales) */
    --legado-cream: #F1ECE0;
    --legado-cream-soft: #FBF7ED;
    --legado-green-deep: #1F4432;
    --legado-green-secondary: #3A6E4A;
    --legado-green-muted: #6B7A73;
    --legado-gold: #C19A4E;
    --legado-gold-text: #2E2208;
    --legado-gold-soft: rgba(193, 154, 78, 0.18);
    --legado-sepia: #7D6E60;
    --legado-ink: #141414;
    --legado-line: rgba(31, 68, 50, 0.22);
    --legado-line-soft: rgba(31, 68, 50, 0.10);
    --legado-line-strong: rgba(31, 68, 50, 0.38);

    /* Aliases internos (mapeo a brand tokens) */
    --cream: var(--legado-cream);
    --cream-dark: #E6DFCE;
    --green: var(--legado-green-deep);
    --green-light: var(--legado-green-secondary);
    --green-pale: rgba(31, 68, 50, 0.07);
    --gold: var(--legado-gold);
    --gold-light: #D6B271;
    --dark: var(--legado-ink);
    --dark-soft: #4A4A4A;
    --gray: var(--legado-sepia);
    --light-gray: #D1D5DB;
    --white: #FFFFFF;
    --border: var(--legado-line-soft);
    --card-shadow: 0 4px 24px rgba(0,0,0,0.06);
    --card-shadow-hover: 0 16px 48px rgba(0,0,0,0.12);
    --navbar-height: 64px;
    --apple-blur: saturate(180%) blur(20px);
    --apple-bg: rgba(241, 236, 224, 0.88);
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, .serif { font-family: 'Cormorant Garamond', Georgia, serif; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 6.5vw, 4.8rem); line-height: 1.05; font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; font-weight: 400; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.3; font-weight: 600; }
p { font-size: 0.95rem; line-height: 1.85; color: var(--dark-soft); letter-spacing: 0.01em; }

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: var(--legado-green-deep);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    z-index: 3000;
    transition: box-shadow 0.4s var(--ease-soft);
}

.brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--legado-cream);
}
.logo-icon {
    width: 30px; height: 30px;
    background: var(--legado-cream);
    color: var(--legado-green-deep);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}
.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700; font-size: 1.05rem; letter-spacing: -0.3px;
    color: var(--legado-cream);
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
    font-size: 0.85rem; font-weight: 500; color: rgba(241, 236, 224, 0.78);
    text-decoration: none; padding: 8px 14px; border-radius: 8px;
    transition: all 0.2s;
}
.nav-link:hover { background: rgba(255,255,255,0.08); color: var(--legado-cream); }

.btn-nav-wa {
    background: var(--legado-cream); color: var(--legado-green-deep);
    padding: 9px 18px; border-radius: 10px;
    font-weight: 600; font-size: 0.85rem;
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
    transition: all 0.2s;
}
.btn-nav-wa i { color: #25D366; }
.btn-nav-wa:hover { background: white; transform: scale(1.02); box-shadow: 0 4px 14px rgba(0,0,0,0.18); }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green); color: white;
    border: none; padding: 14px 28px; border-radius: 12px;
    font-weight: 600; font-size: 0.95rem; cursor: pointer;
    text-decoration: none; transition: all 0.4s var(--ease-premium);
    font-family: 'Inter', sans-serif;
}
.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(27,67,50,0.25);
    letter-spacing: 0.02em;
}

.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.85); color: var(--dark);
    border: 1.5px solid var(--border);
    padding: 13px 28px; border-radius: 12px;
    font-weight: 600; font-size: 0.95rem; cursor: pointer;
    text-decoration: none; transition: all 0.4s var(--ease-premium);
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: white; transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.btn-wa {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green); color: white;
    border: none; padding: 14px 28px; border-radius: 12px;
    font-weight: 600; font-size: 0.95rem; cursor: pointer;
    text-decoration: none; transition: all 0.4s var(--ease-premium);
    font-family: 'Inter', sans-serif;
}
.btn-wa i { color: #25D366; }
.btn-wa:hover {
    background: var(--green-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(27,67,50,0.3);
}

/* ===== LAYOUT ===== */
section { padding: 130px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.section-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--green-pale); color: var(--green);
    padding: 6px 14px; border-radius: 20px;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 1.1px; text-transform: uppercase;
    margin-bottom: 20px;
}
.section-title { margin-bottom: 14px; }
.section-sub {
    font-size: 1.05rem; color: var(--gray);
    line-height: 1.75; max-width: 600px;
}

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: calc(var(--navbar-height) + 40px);
    background: var(--cream);
    position: relative; overflow: hidden;
}
.hero-glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse at 15% 55%, rgba(201,168,76,0.09) 0%, transparent 55%),
        radial-gradient(ellipse at 82% 18%, rgba(27,67,50,0.07) 0%, transparent 50%);
}

.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
    position: relative; z-index: 1;
}

.hero-eyebrow {
    font-size: 0.72rem; font-weight: 500;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold);
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 18px;
}
.hero-eyebrow::before {
    content: ''; display: inline-block;
    width: 40px; height: 1px; background: var(--gold); border-radius: 2px;
}

.hero-headline { margin-bottom: 24px; color: var(--dark); font-weight: 300; }
.hero-headline span { color: var(--green); font-style: italic; font-weight: 400; }

.hero-sub {
    font-size: 1.1rem; color: var(--dark-soft);
    line-height: 1.75; margin-bottom: 36px; max-width: 480px;
}

.hero-ctas { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin-bottom: 44px; }

.hero-trust {
    display: flex; align-items: center; gap: 20px;
    font-size: 0.75rem; color: var(--gray); font-weight: 400;
    letter-spacing: 0.5px;
    flex-wrap: wrap; opacity: 0.7;
}
.hero-trust-item { display: flex; align-items: center; gap: 6px; }
.hero-trust-item i { color: var(--gold); font-size: 0.65rem; opacity: 0.6; }

/* --- Tree Mockup --- */
.hero-visual { position: relative; }

.tree-mockup {
    background: #f8fafc;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.11), 0 4px 16px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.06);
}

.mock-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 16px;
}
.mock-brand {
    display: flex; align-items: center; gap: 7px;
    font-weight: 700; font-size: 0.88rem;
    font-family: 'Cormorant Garamond', serif;
}
.mock-logo {
    width: 22px; height: 22px;
    background: var(--legado-green-deep); border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    color: var(--legado-cream);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.78rem; font-weight: 600; line-height: 1;
}
.mock-actions { display: flex; gap: 5px; }
.mock-btn {
    padding: 4px 11px; border-radius: 6px; font-size: 0.68rem;
    font-weight: 600; border: 1px solid rgba(0,0,0,0.09);
    background: white; color: var(--dark-soft); cursor: default;
}
.mock-btn.active {
    background: var(--green); color: white; border-color: var(--green);
}

.tree-wrap {
    display: flex; flex-direction: column; align-items: center;
    padding: 6px 0 10px;
}
.tree-row {
    display: flex; justify-content: center; gap: 10px;
    margin-bottom: 3px;
}
.t-node {
    background: white; border-radius: 12px;
    padding: 8px 12px;
    display: flex; align-items: center; gap: 7px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    min-width: 110px;
}
.t-node.featured { border-color: rgba(27,67,50,0.18); }
.t-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; flex-shrink: 0;
}
.t-avatar.m { background: linear-gradient(135deg, #93C5FD, #3B82F6); }
.t-avatar.f { background: linear-gradient(135deg, #FDA4AF, #F43F5E); }
.t-avatar.n { background: linear-gradient(135deg, #FCD34D, #F59E0B); }
.t-name { font-size: 0.67rem; font-weight: 700; color: #1d1d1f; white-space: nowrap; }
.t-date { font-size: 0.58rem; color: #86868b; margin-top: 1px; }
.t-connector { width: 2px; height: 16px; background: rgba(0,0,0,0.1); margin: 0 auto; }

.mock-bar {
    display: flex; justify-content: center; gap: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 8px;
}

.float-badge {
    display: none;
}
.float-badge-icon { font-size: 1.1rem; }
.float-badge-title { font-size: 0.68rem; font-weight: 700; color: #1d1d1f; }
.float-badge-sub { font-size: 0.59rem; color: #86868b; }
.float-badge.top-right { top: -14px; right: -14px; }
.float-badge.bottom-left {
    bottom: -14px; left: -14px;
    background: var(--green);
}
.float-badge.bottom-left .float-badge-title { color: white; }
.float-badge.bottom-left .float-badge-sub { color: rgba(255,255,255,0.65); }

/* ===== PROBLEMA ===== */
#problema {
    background: var(--dark); padding: 140px 0;
}
#problema .section-badge { background: rgba(201,168,76,0.14); color: var(--gold-light); }
#problema h2 { color: white; }

.problema-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px; margin-top: 72px;
}
.prob-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; padding: 40px 34px;
    transition: all 0.5s var(--ease-premium);
}
.prob-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-6px); border-color: rgba(184,149,106,0.3); }
.prob-icon {
    width: 46px; height: 46px;
    background: rgba(201,168,76,0.14); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 18px;
}
.prob-card h3 { color: white; font-size: 1.15rem; margin-bottom: 10px; }
.prob-card p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.75; }

/* ===== CÓMO FUNCIONA ===== */
#como-funciona { background: var(--cream); }

.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 32px; margin-top: 72px; position: relative;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
    width: 78px; height: 78px;
    background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    font-size: 1.7rem;
    box-shadow: var(--card-shadow);
    border: 2px solid var(--light-gray);
}
.step:nth-child(1) .step-num { border-color: var(--green); background: rgba(27,67,50,0.04); }
.step:nth-child(2) .step-num { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.step:nth-child(3) .step-num { border-color: var(--green); background: rgba(27,67,50,0.04); }
.step-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.step h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 10px; }
.step p { font-size: 0.88rem; color: var(--gray); line-height: 1.75; max-width: 230px; margin: 0 auto; }

/* ===== PRODUCTO ===== */
#producto { background: white; }
.producto-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 72px; align-items: center;
}

.features { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feat {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px; background: var(--cream);
    border-radius: 14px; border: 1px solid var(--border);
    transition: all 0.4s var(--ease-premium);
}
.feat:hover { transform: translateX(4px); border-color: rgba(27,67,50,0.18); }
.feat-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    background: var(--green-pale); border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--green);
}
.feat h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.feat p { font-size: 0.82rem; color: var(--gray); line-height: 1.6; }

/* Product mockup */
.prod-mockup {
    background: #f8fafc; border-radius: 22px;
    padding: 22px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.09), 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
}
.prod-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px; padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.prod-title { font-size: 0.82rem; font-weight: 700; font-family: 'Cormorant Garamond', serif; }
.prod-status { display: flex; align-items: center; gap: 5px; font-size: 0.7rem; color: #86868b; }
.dot-green { width: 7px; height: 7px; background: #34D399; border-radius: 50%; }
.doc-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #86868b; margin-bottom: 10px; }
.doc-card {
    background: white; border-radius: 13px; padding: 13px 14px;
    margin-bottom: 9px; border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex; gap: 11px; align-items: center;
}
.doc-thumb {
    width: 50px; height: 50px; flex-shrink: 0;
    border-radius: 9px; background: linear-gradient(135deg, #F3F4F6, #E5E7EB);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.doc-info h5 { font-size: 0.8rem; font-weight: 700; color: #1d1d1f; margin-bottom: 2px; }
.doc-info p { font-size: 0.7rem; color: #86868b; line-height: 1.4; }
.doc-pill {
    margin-left: auto; padding: 3px 9px;
    border-radius: 20px; font-size: 0.63rem; font-weight: 700;
    background: var(--green-pale); color: var(--green); white-space: nowrap;
}
.share-row {
    background: var(--green-pale); border-radius: 11px;
    padding: 12px 14px; margin-top: 6px;
    display: flex; align-items: center; justify-content: space-between;
}
.share-row span { font-size: 0.78rem; font-weight: 600; color: var(--green); }
.share-row small { font-size: 0.68rem; color: #86868b; }

/* ===== LO QUE NOS DISTINGUE ===== */
#benchmark { background: var(--cream-dark); }

.diff-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; margin-top: 72px;
}
.diff-card {
    background: white; border-radius: 20px;
    padding: 40px 34px; border: 1px solid var(--border);
    transition: all 0.5s var(--ease-premium);
}
.diff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(184,149,106,0.25);
}
.diff-icon {
    width: 50px; height: 50px;
    background: var(--green-pale); border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; color: var(--green);
    margin-bottom: 20px;
}
.diff-card h3 {
    font-size: 1.2rem; color: var(--dark);
    margin-bottom: 10px; letter-spacing: -0.01em;
}
.diff-card p {
    font-size: 0.88rem; color: var(--gray);
    line-height: 1.8;
}

/* ===== PLANES ===== */
#planes { background: var(--cream); }

.planes-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px; margin-top: 72px; align-items: stretch;
}
.plan {
    background: white; border-radius: 22px;
    padding: 44px 32px; border: 1.5px solid var(--border);
    box-shadow: var(--card-shadow);
    position: relative; transition: all 0.4s var(--ease-premium);
    display: flex; flex-direction: column;
}
.plan:hover { transform: translateY(-7px); box-shadow: var(--card-shadow-hover); }
.plan.star {
    border-color: var(--gold);
    border-width: 2px;
    box-shadow: 0 0 0 1px rgba(184,149,106,0.15), 0 20px 50px rgba(0,0,0,0.08);
}
.plan.star:hover { transform: translateY(-7px); }
.plan-badge-top {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--green); color: white;
    padding: 5px 16px; border-radius: 20px;
    font-size: 0.7rem; font-weight: 700; white-space: nowrap;
}
.plan-emoji { display: none; }
.plan-name { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; letter-spacing: -0.01em; color: var(--dark); margin-bottom: 8px; }
.plan-tag { font-size: 0.83rem; color: var(--gray); margin-bottom: 22px; }
.plan-price-row { display: flex; align-items: baseline; gap: 3px; margin-bottom: 5px; }
.plan-cur { font-size: 1rem; font-weight: 600; color: var(--dark-soft); }
.plan-amt { font-size: 2.2rem; font-weight: 400; color: var(--dark); line-height: 1; font-family: 'Cormorant Garamond', serif; letter-spacing: -0.02em; }
.plan-period { font-size: 0.78rem; color: var(--gray); }
.plan-msi { font-size: 0.78rem; color: var(--green); font-weight: 500; margin-bottom: 24px; background: rgba(27,67,50,0.04); padding: 6px 12px; border-radius: 6px; display: inline-block; }
.plan-sep { height: 1px; background: #F3F4F6; margin-bottom: 22px; }
.plan-feats { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 11px; margin-bottom: 20px; }
.plan-no-platform {
    display: flex; align-items: center; gap: 7px;
    font-size: 0.78rem; color: var(--gray);
    background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px; padding: 9px 12px;
    margin-bottom: 20px;
}
.plan-no-platform i { color: var(--gray); font-size: 0.72rem; flex-shrink: 0; opacity: 0.7; }
.pf {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 0.86rem; color: var(--dark-soft); line-height: 1.5;
}
.pf i { color: var(--green); font-size: 0.78rem; margin-top: 3px; flex-shrink: 0; }
.pf.dim { display: none; }
.plan-btn {
    display: block; width: 100%; padding: 13px;
    border-radius: 12px; font-weight: 700; font-size: 0.92rem;
    cursor: pointer; text-align: center; text-decoration: none;
    transition: all 0.4s var(--ease-premium); font-family: 'Inter', sans-serif; border: none;
}
.plan-btn.prim { background: var(--green); color: white; }
.plan-btn.prim:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(27,67,50,0.28); }
.plan-btn.sec { background: rgba(0,0,0,0.05); color: var(--dark); }
.plan-btn.sec:hover { background: rgba(0,0,0,0.09); }

/* ===== TESTIMONIOS ===== */
#testimonios { background: white; }

.testi-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px; margin-top: 72px;
}
.testi {
    background: var(--cream); border-radius: 20px;
    padding: 40px 32px; border: 1px solid var(--border);
    transition: all 0.5s var(--ease-premium);
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: rgba(184,149,106,0.3); }
.stars { color: var(--gold); font-size: 0.82rem; margin-bottom: 10px; }
.quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem; line-height: 0.7; color: var(--gold);
    opacity: 0.65; display: block; margin-bottom: 14px;
}
.testi-text {
    font-size: 0.9rem; color: var(--dark-soft);
    line-height: 1.82; font-style: italic; margin-bottom: 22px;
}
.testi-author { display: flex; align-items: center; gap: 11px; }
.t-av {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.88rem; color: white; flex-shrink: 0;
}
.t-av-name { font-weight: 700; font-size: 0.88rem; color: var(--dark); margin-bottom: 2px; }
.t-av-title { font-size: 0.76rem; color: var(--gray); }

/* ===== FAQ ===== */
#faq { background: var(--cream); }

.faq { max-width: 700px; margin: 72px auto 0; }
.faq-item {
    background: white; border-radius: 15px;
    margin-bottom: 10px; border: 1px solid var(--border);
    overflow: hidden; transition: all 0.2s;
}
.faq-item.open { border-color: rgba(27,67,50,0.2); box-shadow: 0 4px 18px rgba(27,67,50,0.07); }
.faq-q {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 22px; cursor: pointer;
    font-weight: 600; font-size: 0.93rem; color: var(--dark);
    user-select: none; gap: 14px;
}
.faq-q i { flex-shrink: 0; font-size: 0.82rem; color: var(--gray); transition: transform 0.3s; }
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--green); }
.faq-a {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-soft), padding 0.3s var(--ease-soft);
}
.faq-a p { font-size: 0.88rem; color: var(--gray); line-height: 1.82; padding-bottom: 20px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ===== CTA FINAL ===== */
#cta-final {
    background: var(--green); padding: 130px 0;
    position: relative; overflow: hidden;
}
#cta-final::before {
    content: ''; position: absolute;
    top: -40%; right: -8%; width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(201,168,76,0.13) 0%, transparent 70%);
    pointer-events: none;
}
#cta-final::after {
    content: ''; position: absolute;
    bottom: -30%; left: -4%; width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
#cta-final h2 { color: white; margin-bottom: 14px; }
#cta-final p { color: rgba(255,255,255,0.72); font-size: 1.08rem; max-width: 500px; margin: 0 auto 44px; }
.urgency-pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px; padding: 7px 16px;
    font-size: 0.78rem; color: rgba(255,255,255,0.85); font-weight: 600;
    margin-bottom: 38px;
}
.cta-btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.btn-white {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: var(--green);
    border: none; padding: 15px 30px; border-radius: 13px;
    font-weight: 700; font-size: 0.98rem; cursor: pointer;
    text-decoration: none; transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); color: white;
    border: 1.5px solid rgba(255,255,255,0.28);
    padding: 14px 30px; border-radius: 13px;
    font-weight: 600; font-size: 0.98rem; cursor: pointer;
    text-decoration: none; transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ===== FOOTER ===== */
footer { background: #111; color: rgba(255,255,255,0.55); padding: 64px 0 40px; }
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}
.footer-logo-row { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.footer-logo { width: 30px; height: 30px; background: var(--legado-green-deep); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--legado-cream); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1rem; font-weight: 600; line-height: 1; }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1rem; color: white; }
.footer-desc { font-size: 0.84rem; line-height: 1.8; max-width: 270px; }
.footer-h { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.86rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.78rem;
}

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
    position: fixed; bottom: 26px; right: 26px;
    width: 58px; height: 58px;
    background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.55rem; color: white;
    box-shadow: 0 8px 24px rgba(37,211,102,0.42);
    text-decoration: none; z-index: 9999;
    transition: all 0.2s;
    animation: waPulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 12px 32px rgba(37,211,102,0.55); animation: none; }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.42); }
    50% { box-shadow: 0 8px 30px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.09); }
}

/* ===== ANIMATIONS ===== */
.fi { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fi.vis { opacity: 1; transform: translateY(0); }
.fi.d1 { transition-delay: 0.1s; }
.fi.d2 { transition-delay: 0.2s; }
.fi.d3 { transition-delay: 0.3s; }
.fi.d4 { transition-delay: 0.4s; }

/* ===== DEMO LINK (debajo del mockup de producto) ===== */
.demo-link {
    display: flex; align-items: center; gap: 14px;
    margin-top: 18px;
    padding: 16px 20px;
    background: var(--green); color: white;
    border-radius: 14px; text-decoration: none;
    transition: all 0.3s var(--ease-premium);
    box-shadow: 0 8px 24px rgba(27,67,50,0.18);
}
.demo-link:hover {
    background: var(--green-light);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(27,67,50,0.28);
}
.demo-link > i:first-child {
    font-size: 1.6rem; color: var(--gold-light); flex-shrink: 0;
}
.demo-link span {
    flex: 1; display: flex; flex-direction: column; gap: 2px;
    font-size: 0.78rem; color: rgba(255,255,255,0.72);
    line-height: 1.4;
}
.demo-link strong {
    font-size: 0.95rem; font-weight: 700; color: white;
    letter-spacing: 0.01em;
}
.demo-arrow {
    font-size: 0.85rem; opacity: 0.7;
    transition: transform 0.3s var(--ease-premium);
}
.demo-link:hover .demo-arrow { transform: translateX(4px); opacity: 1; }

/* ===== ¿ES ESTO PARA TI? ===== */
#para-ti { background: white; }

.qualify-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px; margin-top: 56px;
}
.qualify-card {
    background: var(--cream); border-radius: 18px;
    padding: 32px 28px; border: 1px solid var(--border);
    transition: all 0.4s var(--ease-premium);
    text-align: center;
}
.qualify-card:hover {
    transform: translateY(-4px);
    border-color: rgba(27,67,50,0.18);
    box-shadow: var(--card-shadow);
}
.qualify-icon {
    width: 56px; height: 56px;
    background: var(--green-pale); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--green);
    margin: 0 auto 18px;
}
.qualify-card h3 {
    font-size: 1.15rem; color: var(--dark);
    margin-bottom: 8px;
}
.qualify-card p {
    font-size: 0.86rem; color: var(--gray);
    line-height: 1.7;
}
.qualify-note {
    margin-top: 36px;
    background: var(--cream);
    border: 1px dashed rgba(27,67,50,0.25);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex; gap: 14px; align-items: flex-start;
    max-width: 760px; margin-left: auto; margin-right: auto;
}
.qualify-note i {
    color: var(--green); font-size: 1.1rem;
    margin-top: 2px; flex-shrink: 0;
}
.qualify-note strong {
    color: var(--dark); font-weight: 700;
    margin-right: 4px;
}
.qualify-note a {
    color: var(--green); font-weight: 600; text-decoration: underline;
    text-underline-offset: 2px;
}
.qualify-note a:hover { color: var(--green-light); }

/* ===== PLAN ÚNICO (LANZAMIENTO) ===== */
.planes-grid.solo {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.planes-grid.solo .plan {
    padding: 48px 44px;
}
.plan-includes-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 28px; margin-bottom: 24px;
}
.plan-col-h {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.6px; text-transform: uppercase;
    color: var(--green); margin-bottom: 14px;
}
.plan-col-h.excl { color: var(--gray); }
.plan-col-h i { font-size: 0.92rem; }
.pf.excl { color: var(--gray); }
.pf.excl i { color: var(--gray); opacity: 0.7; }
.plan-fineprint {
    font-size: 0.76rem; color: var(--gray);
    text-align: center; margin-top: 14px; line-height: 1.6;
}

/* ===== HERO SINGLE COLUMN ===== */
.hero-single {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.hero-single .hero-headline { text-align: center; }
.hero-single .hero-sub { margin-left: auto; margin-right: auto; text-align: center; max-width: 560px; }
.hero-single .hero-eyebrow { justify-content: center; }
.hero-single .hero-eyebrow::before { display: none; }

.hero-pkg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin: 28px auto;
    text-align: left;
    max-width: 560px;
}
.hero-pkg-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark-soft);
}
.hero-pkg-item i { color: var(--green); font-size: 0.75rem; flex-shrink: 0; }

.hero-single .hero-ctas {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}
.btn-hero {
    padding: 15px 28px;
    font-size: 0.98rem;
}
.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.79rem;
    color: var(--gray);
}
.hero-note i { color: var(--green); font-size: 0.72rem; }

/* ===== ANCHOR OFFSETS (sitelinks targets) ===== */
.anchor-offset { display: block; position: relative; top: calc(var(--navbar-height) * -1); visibility: hidden; }

/* ===== SECTION BACKGROUNDS ===== */
#sitio-web { background: white; }
#proceso { background: var(--cream); }
#precio { background: var(--cream); }
#faq { background: var(--cream); }

/* ===== QUÉ INCLUYE ===== */
#incluye { background: white; }
.pkg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}
.pkg-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-premium);
    text-align: center;
}
.pkg-card:hover {
    transform: translateY(-5px);
    border-color: rgba(27,67,50,0.18);
    box-shadow: var(--card-shadow-hover);
}
.pkg-icon {
    width: 60px; height: 60px;
    background: var(--green-pale);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--green);
    margin: 0 auto 18px;
}
.pkg-card h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 10px; }
.pkg-card p { font-size: 0.86rem; color: var(--gray); line-height: 1.75; }

/* ===== QUIÉNES SOMOS ===== */
#nosotros { background: var(--dark); padding: 140px 0; }
#nosotros .section-title { color: white; }

.nosotros-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}
.nosotros-text p {
    color: rgba(255,255,255,0.62);
    margin-bottom: 16px;
    line-height: 1.85;
    font-size: 0.93rem;
}
.nosotros-text strong { color: rgba(255,255,255,0.88); }
.countries-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}
.country-pill {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.6);
}
.apgen-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,168,76,0.28);
    border-radius: 20px;
    padding: 34px;
}
.apgen-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(201,168,76,0.14);
    border-radius: 8px;
    padding: 7px 13px;
    margin-bottom: 16px;
}
.apgen-badge i { color: var(--gold-light); font-size: 0.85rem; }
.apgen-badge span { font-size: 0.72rem; font-weight: 700; color: var(--gold-light); letter-spacing: 0.8px; }
.apgen-card h3 { color: white; font-size: 1.2rem; margin-bottom: 10px; }
.apgen-card p { color: rgba(255,255,255,0.55); font-size: 0.86rem; line-height: 1.8; margin-bottom: 18px; }
.apgen-links { display: flex; flex-direction: column; gap: 10px; }
.apgen-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.2s;
}
.apgen-link:hover { color: white; }
.apgen-link i { font-size: 0.68rem; }

/* ===== PRECIO ===== */
#precio { background: var(--cream); }
.price-wrapper { max-width: 620px; margin: 60px auto 0; }
.price-card {
    background: white;
    border-radius: 24px;
    padding: 48px 44px;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 1px rgba(193,154,78,0.12), 0 24px 60px rgba(0,0,0,0.07);
    position: relative;
}
.price-card-badge {
    position: absolute;
    top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--green); color: white;
    padding: 5px 18px; border-radius: 20px;
    font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}
.price-amount-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}
.price-cur { font-size: 1.1rem; font-weight: 600; color: var(--dark-soft); }
.price-amt {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.8rem; font-weight: 400; color: var(--dark);
    line-height: 1; letter-spacing: -0.02em;
}
.price-currency { font-size: 1.1rem; color: var(--gray); }
.price-pay-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(27,67,50,0.05);
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 0.82rem; color: var(--green); font-weight: 500;
    margin-bottom: 28px;
}
.price-pay-note i { font-size: 0.82rem; }
.price-sep { height: 1px; background: #F3F4F6; margin-bottom: 24px; }
.price-feats {
    list-style: none;
    display: flex; flex-direction: column;
    gap: 13px; margin-bottom: 32px;
}
.price-feat {
    display: flex;
    align-items: flex-start; gap: 10px;
    font-size: 0.9rem; color: var(--dark-soft); line-height: 1.5;
}
.price-feat i { color: var(--green); font-size: 0.8rem; margin-top: 3px; flex-shrink: 0; }
.price-btn {
    display: block; width: 100%;
    padding: 15px; border-radius: 14px;
    font-weight: 700; font-size: 0.98rem;
    cursor: pointer; text-align: center; text-decoration: none;
    background: var(--green); color: white;
    transition: all 0.4s var(--ease-premium);
    font-family: 'Inter', sans-serif; border: none;
}
.price-btn:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27,67,50,0.28);
}
.price-fineprint {
    font-size: 0.76rem; color: var(--gray);
    text-align: center; margin-top: 14px; line-height: 1.6;
}

/* ===== FOOTER SIMPLIFIED ===== */
.footer-grid-new {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .producto-grid { grid-template-columns: 1fr; gap: 44px; }
    .steps-grid { grid-template-columns: 1fr; gap: 36px; }
    .pkg-grid { grid-template-columns: repeat(2, 1fr); }
    .nosotros-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid-new { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .container { padding: 0 24px; }
    #navbar { padding: 0 16px; }
    .nav-link { display: none; }
    .hero-pkg { grid-template-columns: 1fr; }
    .hero-single .hero-ctas { flex-direction: column; align-items: center; }
    .hero-single .hero-ctas .btn-primary,
    .hero-single .hero-ctas .btn-secondary { width: 100%; max-width: 360px; justify-content: center; }
    .pkg-grid { grid-template-columns: 1fr; }
    .price-card { padding: 36px 22px; }
    .cta-btns { flex-direction: column; align-items: center; }
    .btn-white, .btn-ghost { width: 100%; max-width: 310px; justify-content: center; }
    .wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; font-size: 1.4rem; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
