:root {
    --primary: #199e6d;
    --primary-dark: #137853;
    --primary-light: #e6f7f1;
    --accent: #eb760e;
    --accent-light: #fef0e6;
    --aux1: #3debab;
    --aux2: #9e2151;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --green: #199e6d;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(15,23,42,0.08);
    --shadow-lg: 0 12px 48px rgba(15,23,42,0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6;}

/* ── TOPBAR ── */
.topbar{background:var(--primary);color:#fff;font-size:0.78rem;padding:7px 0;text-align:center;letter-spacing:0.2px;}
.topbar a{color:#fde8f1;text-decoration:none;font-weight:600;}
.topbar a:hover{color:#fff;}

/* ── NAV ── */
.navbar { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0.85rem 0; position: sticky; top: 0; z-index: 1000;}
.navbar-brand { font-size: 1.4rem; font-weight: 800; color: var(--primary) !important; letter-spacing: -0.5px;}
.navbar-brand span { color: var(--dark); }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--dark-2) !important; padding: 0.4rem 0.85rem !important; border-radius: 6px; transition: background 0.2s;}
.nav-link:hover { background: var(--primary-light); color: var(--primary) !important; }
.btn-nav-cta { background: var(--primary); color: var(--white) !important; border-radius: 8px; font-weight: 600; font-size: 0.875rem; padding: 0.45rem 1.1rem !important; transition: background 0.2s, transform 0.15s;}
.btn-nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-nav-outline { border: 1.5px solid var(--border); border-radius: 8px; font-weight: 500; font-size: 0.875rem; padding: 0.45rem 1rem !important; color: var(--dark-2) !important; transition: border-color 0.2s;}
.btn-nav-outline:hover { border-color: var(--primary); color: var(--primary) !important; }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #0f172a 0%, #0d2a1e 60%, #0e3d28 100%); color: var(--white); padding: 100px 0 80px; position: relative; overflow: hidden;}
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(25,158,109,0.22) 0%, transparent 70%);}
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 50px; padding: 5px 14px; font-size: 0.78rem; font-weight: 600; color: #6ee7c7; margin-bottom: 1.4rem; letter-spacing: 0.3px;}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 1.3rem;}
.hero h1 .highlight { background: linear-gradient(90deg, #3debab, #eb760e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;}
.hero p { font-size: 1.15rem; color: #cbd5e1; max-width: 540px; margin-bottom: 2rem; line-height: 1.7;}
.btn-hero-primary { background: var(--primary); color: var(--white); border: none; border-radius: 10px; padding: 14px 28px; font-size: 1rem; font-weight: 700; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(25,158,109,0.4); text-decoration: none; display: inline-flex; align-items: center; gap: 8px;}
.btn-hero-primary:hover { background: #1d7a52; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(25,158,109,0.5); color: var(--white);}
.btn-hero-ghost { color: #cbd5e1; background: transparent; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 13px 24px; font-size: 1rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: border-color 0.2s, color 0.2s;}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

.hero-social-proof {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-avatars {
    display: flex;
}
.hero-avatars span {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid #0d3d28;
    background: linear-gradient(135deg, #199e6d, #eb760e);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    margin-left: -8px;
}
.hero-avatars span:first-child { margin-left: 0; }
.hero-social-proof p { font-size: 0.82rem; color: #94a3b8; }
.hero-social-proof strong { color: #e2e8f0; }

/* Hero mockup placeholder */
.hero-mockup {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.4);
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
}
.hero-mockup-bar {
    background: rgba(255,255,255,0.07);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-img-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    color: #475569;
    font-size: 0.82rem;
    text-align: center;
}
.mockup-img-area .icon-hint {
    font-size: 2.5rem;
    color: #334155;
    margin-bottom: 8px;
}

/* ── LOGOS / CLIENTES ── */
.logos-strip {
    background: var(--light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}
.logos-strip p { font-size: 0.78rem; color: var(--gray); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.logo-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #94a3b8;
    letter-spacing: -0.3px;
}

/* ── SECTION GENERICS ── */
section { padding: 96px 0; }
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--dark);
}
.section-sub {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 560px;
    margin-top: 14px;
    line-height: 1.7;
}

/* ── PAIN POINTS ── */
.pain-section { background: var(--dark); color: var(--white); }
.pain-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    transition: transform 0.2s, border-color 0.2s;
}
.pain-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.4); }
.pain-icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
.pain-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #e2e8f0; }
.pain-card p { font-size: 0.95rem; color: #e4e4e4; line-height: 1.65; }
.pain-card .solved {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.75rem; font-weight: 800; color: var(--green);
    margin-top: 14px;
}

/* ── FEATURES TABS ── */
.features-section { background: var(--white); }
.feat-tab-btn {
    border: none;
    background: none;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 7px;
}
.feat-tab-btn.active, .feat-tab-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.feat-panel { display: none; }
.feat-panel.active { display: flex; }
.feat-list li {
    list-style: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--dark-2);
}
.feat-list li:last-child { border-bottom: none; }
.feat-list li i { color: var(--primary); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.feat-list li strong { display: block; font-weight: 700; color: var(--dark); }
.feat-list li { font-size: .95rem;}
.feat-img-box {
    background: linear-gradient(135deg, #f1f5f9, #e0e7ff);
    border-radius: var(--radius-lg);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    color: #94a3b8;
    text-align: center;
    padding: 24px;
    gap: 10px;
}
.feat-img-box i { font-size: 3rem; color: #c7d2fe; }
.feat-img-box p { font-size: 0.78rem; color: #94a3b8; }

/* ── SEGMENTS ── */
.segments-section { background: var(--light); }
.seg-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: default;
}
.seg-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.seg-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}
.seg-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; color: var(--dark); }
.seg-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.7; }
.seg-tag { display: inline-block; margin-top: 16px; background: var(--primary-light); color: var(--primary); font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 50px;}

/* ── PORTAL PAIS ── */
.portal-section { background: var(--white); }
.portal-feat {display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border);}
.portal-feat:last-child { border-bottom: none; }
.portal-feat-icon {width: 42px; height: 42px; flex-shrink: 0; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--primary);}
.portal-feat h6 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.portal-feat p { font-size: 0.95rem; color: var(--gray); line-height: 1.6; }
.portal-mockup {background: linear-gradient(135deg, #199e6d 0%, #0d3d28 100%); border-radius: var(--radius-lg); min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 32px; color: white; text-align: center; gap: 8px;}
.portal-mockup i { font-size: 3.5rem; color: rgba(255,255,255,0.2); }
.portal-mockup p { font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); max-width: 300px; }

/* ── SOCIAL PROOF / NUMBERS ── */
.numbers-section {
    background: var(--primary);
    color: var(--white);
}
.num-item { text-align: center; padding: 20px; }
.num-item h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -2px; line-height: 1;}
.num-item p { font-size: 0.92rem; color: #fff; margin-top: 6px; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--light); }
.testi-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
    box-shadow: var(--shadow);
}
.testi-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 16px; }
.testi-card blockquote { font-size: 0.95rem; color: var(--dark-2); line-height: 1.7; font-style: italic; border: none; padding: 0; margin: 0 0 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem; color: white;
}
.testi-author-info strong { display: block; font-size: 0.875rem; font-weight: 700; }
.testi-author-info span { font-size: 0.78rem; color: var(--gray); }

/* ── PRICING ── */
.pricing-section { background: var(--white); }
.price-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.price-card.featured {
    border-color: var(--primary);
    background: var(--dark);
    color: var(--white);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}
.price-card:not(.featured):hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.price-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.price-card .price { font-size: 2.4rem; font-weight: 900; letter-spacing: -1px; margin: 12px 0 4px; }
.price-card .price span { font-size: 0.9rem; font-weight: 400; }
.price-card .price-note { font-size: 0.78rem; color: var(--gray); margin-bottom: 20px; }
.price-card.featured .price-note { color: #94a3b8; }
.price-list li {
    list-style: none;
    font-size: 0.875rem;
    padding: 7px 0;
    display: flex;
    align-items: center;
    gap: 9px;
}
.price-list li i { color: var(--green); font-size: 0.9rem; }
.price-card.featured .price-list li { color: #cbd5e1; }
.btn-price {
    display: block;
    text-align: center;
    margin-top: 24px;
    padding: 13px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-price-outline { border: 1.5px solid var(--border); color: var(--dark); }
.btn-price-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-price-fill { background: var(--primary); color: white; }
.btn-price-fill:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); }

/* ── FAQ ── */
.faq-section { background: var(--light); }
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 22px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.15s;
}
.faq-question:hover { background: var(--light); }
.faq-answer { padding: 0 22px 18px; font-size: 0.95rem; color: var(--dark); line-height: 1.7; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.2s; font-size: 1.1rem; color: var(--gray); }

/* ── CTA FINAL ── */
.cta-section {background: linear-gradient(135deg, #0f172a 0%, #0d3d28 100%); color: var(--white); padding: 100px 0; text-align: center; position: relative; overflow: hidden;}
.cta-section::before {content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(25,158,109,0.2) 0%, transparent 70%);}
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -1.5px; }
.cta-section p { font-size: 1.05rem; color: #e2e2e2; margin: 1rem auto; max-width: 480px; }
.btn-cta-white { background: var(--white); color: var(--primary); border-radius: 10px; padding: 15px 32px; font-size: 1rem; font-weight: 800; text-decoration: none; display: inline-flex;align-items: center; gap: 8px; transition: transform 0.15s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(0,0,0,0.2);}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); color: var(--primary); }

/* ── FOOTER ── */
footer { background: var(--dark); color: #94a3b8; padding: 64px 0 32px;}
.footer-brand { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 10px;}
.footer-brand span { color: var(--aux1); }
footer h6 { font-size: 0.78rem; font-weight: 700; color: #e2e8f0; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
footer a { color: #94a3b8; text-decoration: none; font-size: 0.875rem; display: block; margin-bottom: 8px; transition: color 0.2s; }
footer a:hover { color: var(--white); }
.footer-divider { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding-top: 24px; }
.footer-divider span { color: #e4e4e4;}
.footer-bottom { font-size: 0.8rem; color: #475569; }
.social-icon {width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.06); display: inline-flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 1rem; transition: background 0.2s, color 0.2s; text-decoration: none;}
.social-icon:hover { background: var(--primary); color: white; }

/* ── UTILS ── */
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.divider-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--border);
    display: inline-block; margin: 0 10px; vertical-align: middle;
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
    position: fixed;
    bottom: 28px; right: 28px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,0.6); color: white; }
.wa-float i { font-size: 1.2rem; }

/* responsive tweaks */
@media (max-width: 768px) {
    .hero { padding: 70px 0 60px; }
    .price-card.featured { transform: scale(1); }
    section { padding: 70px 0; }
}