/* ============================================================
   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 {
    --cream: #FAF8F3;
    --cream-dark: #F2EDE3;
    --green: #1B4332;
    --green-light: #2D6A4F;
    --green-pale: rgba(27, 67, 50, 0.07);
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --dark: #1d1d1f;
    --dark-soft: #374151;
    --gray: #6B7280;
    --light-gray: #D1D5DB;
    --white: #FFFFFF;
    --border: rgba(0,0,0,0.07);
    --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(250, 248, 243, 0.88);
}

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: 'Playfair Display', Georgia, serif; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.12; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.18; font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.3; font-weight: 600; }
p { line-height: 1.75; color: var(--dark-soft); }

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: var(--apple-bg);
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    z-index: 3000;
    transition: box-shadow 0.3s;
}

.brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--dark);
}
.logo-icon {
    width: 32px; height: 32px;
    background: var(--green); color: white;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
}
.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700; font-size: 1.05rem; letter-spacing: -0.3px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
    font-size: 0.85rem; font-weight: 500; color: var(--dark-soft);
    text-decoration: none; padding: 8px 14px; border-radius: 8px;
    transition: all 0.2s;
}
.nav-link:hover { background: rgba(0,0,0,0.05); color: var(--dark); }

.btn-nav-wa {
    background: var(--green); color: white;
    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:hover { background: var(--green-light); transform: scale(1.02); }

/* ===== 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.25s;
    font-family: 'Inter', sans-serif;
}
.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(27,67,50,0.3);
}

.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.25s;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: white; transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

.btn-wa {
    display: inline-flex; align-items: center; gap: 8px;
    background: #25D366; 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.25s;
    font-family: 'Inter', sans-serif;
}
.btn-wa:hover {
    background: #20B858;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37,211,102,0.35);
}

/* ===== LAYOUT ===== */
section { padding: 100px 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.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: var(--navbar-height);
    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: 60px; align-items: center;
    position: relative; z-index: 1;
}

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

.hero-headline { margin-bottom: 18px; color: var(--dark); }
.hero-headline span { color: var(--green); }

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

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-trust {
    display: flex; align-items: center; gap: 20px;
    font-size: 0.8rem; color: var(--gray); font-weight: 500;
    flex-wrap: wrap;
}
.hero-trust-item { display: flex; align-items: center; gap: 6px; }
.hero-trust-item i { color: var(--gold); font-size: 0.75rem; }

/* --- 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: 'Playfair Display', serif;
}
.mock-logo {
    width: 22px; height: 22px;
    background: var(--green); border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 0.55rem;
}
.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 {
    position: absolute;
    background: white;
    border-radius: 14px; padding: 10px 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex; align-items: center; gap: 8px;
    pointer-events: 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: 100px 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: 56px;
}
.prob-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; padding: 30px 26px;
    transition: all 0.3s;
}
.prob-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }
.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: 56px; position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 39px; left: calc(16.67% + 20px); right: calc(16.67% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--gold));
    z-index: 0;
}
.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.2s;
}
.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: 'Playfair Display', 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; }

/* ===== BENCHMARK ===== */
#benchmark { background: var(--cream-dark); }

.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 56px; border-radius: 20px; box-shadow: var(--card-shadow); }
table.cmp {
    width: 100%; border-collapse: collapse;
    background: white; border-radius: 20px; overflow: hidden;
    min-width: 600px;
}
table.cmp thead th {
    padding: 18px 22px; text-align: center;
    font-size: 0.82rem; font-weight: 700;
    background: white; border-bottom: 2px solid #F3F4F6;
}
table.cmp thead th:first-child { text-align: left; width: 32%; }
table.cmp thead th.hi { background: var(--green); color: white; }
table.cmp tbody tr:nth-child(even) td { background: #FAFAFA; }
table.cmp tbody tr:nth-child(even) td.hi { background: rgba(27,67,50,0.05); }
table.cmp tbody td {
    padding: 14px 22px; font-size: 0.86rem;
    color: var(--dark-soft); border-bottom: 1px solid #F3F4F6;
    text-align: center;
}
table.cmp tbody td:first-child { text-align: left; font-weight: 600; color: var(--dark); }
table.cmp tbody td.hi { background: rgba(27,67,50,0.03); }
.ic-check { color: var(--green); }
.ic-cross { color: #EF4444; }
.ic-partial { color: var(--gold); font-size: 0.8rem; font-weight: 700; }

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

.planes-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px; margin-top: 56px; align-items: stretch;
}
.plan {
    background: white; border-radius: 22px;
    padding: 34px 26px; border: 1.5px solid var(--border);
    box-shadow: var(--card-shadow);
    position: relative; transition: all 0.3s;
    display: flex; flex-direction: column;
}
.plan:hover { transform: translateY(-7px); box-shadow: var(--card-shadow-hover); }
.plan.star {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(27,67,50,0.09), 0 20px 50px rgba(27,67,50,0.14);
    transform: scale(1.03);
}
.plan.star:hover { transform: scale(1.03) translateY(-4px); }
.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 { font-size: 1.7rem; margin-bottom: 14px; }
.plan-name { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.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.5rem; font-weight: 700; color: var(--dark); line-height: 1; }
.plan-period { font-size: 0.78rem; color: var(--gray); }
.plan-msi { font-size: 0.76rem; color: var(--green); font-weight: 600; margin-bottom: 24px; }
.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: 26px; }
.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 { color: #C4C4C4; }
.pf.dim i { color: #D1D5DB; }
.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.2s; 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: 56px;
}
.testi {
    background: var(--cream); border-radius: 20px;
    padding: 30px 26px; border: 1px solid var(--border);
    transition: all 0.3s;
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.stars { color: var(--gold); font-size: 0.82rem; margin-bottom: 10px; }
.quote-mark {
    font-family: 'Playfair Display', 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: 56px 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.35s ease, padding 0.2s;
}
.faq-a p { font-size: 0.88rem; color: var(--gray); line-height: 1.82; padding-bottom: 20px; }
.faq-item.open .faq-a { max-height: 320px; }

/* ===== CTA FINAL ===== */
#cta-final {
    background: var(--green); padding: 100px 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(-2px); 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(--green); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.8rem; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: white; }
.footer-desc { font-size: 0.84rem; line-height: 1.8; max-width: 270px; }
.footer-apgen {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9px; padding: 9px 14px;
    font-size: 0.76rem; color: rgba(255,255,255,0.65); margin-top: 18px;
}
.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; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
    .producto-grid { grid-template-columns: 1fr; gap: 44px; }
    .planes-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .plan.star { transform: none; }
    .plan.star:hover { transform: translateY(-7px); }
    .testi-grid { grid-template-columns: 1fr; }
    .problema-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 36px; }
    .steps-grid::before { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    section { padding: 72px 0; }
    #navbar { padding: 0 16px; }
    .nav-link { display: none; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }
    .hero-trust { flex-wrap: wrap; gap: 10px; }
    .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; }
    table.cmp { font-size: 0.78rem; }
    table.cmp thead th, table.cmp tbody td { padding: 11px 14px; }
}
