
:root {
    --primary:     #0A8F8E;
    --primary-dark:#077877;
    --primary-light:#E6F7F7;
    --accent:      #FF6B35;
    --dark:        #1A2332;
    --gray:        #6B7280;
    --light-bg:    #F8FFFE;
    --white:       #FFFFFF;
    --border:      #E5E7EB;
    --card-shadow: 0 2px 16px rgba(10,143,142,.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

/* ── HEADER ─────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    padding: 0 0;
}
.site-header.hide {
    transform: translateY(-100%);
}
.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon {
    width: 38px; height: 38px;
    background: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.logo-icon i { color: #fff; font-size: 18px; }
.logo-text {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}
.logo-text span { color: var(--primary); }

/* Center Nav */
.nav-center {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.nav-center a {
    text-decoration: none;
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all .2s;
}
.nav-center a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-whatsapp:hover {
    background: #1ebe5d;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,211,102,.35);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
    z-index: 1100;
}
.hamburger span {
    display: block;
    width: 24px; height: 2.5px;
    background: var(--dark);
    border-radius: 4px;
    transition: all .3s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0; transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
}
.mobile-nav.open {
    transform: translateX(0);
}
.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all .2s;
}
.mobile-nav a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}
.mobile-nav a i { font-size: 18px; color: var(--primary); width: 22px; }
.mobile-nav .btn-whatsapp {
    justify-content: center;
    padding: 14px;
    font-size: 15px;
    margin-top: 8px;
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
    margin-top: 68px;
    background: linear-gradient(135deg, #0A8F8E 0%, #077877 50%, #055f5e 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 70px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 10%;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: .04em;
}
.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
}
.hero h1 em {
    font-style: normal;
    color: #FFE082;
}
.hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    color: var(--primary-dark);
}
.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all .25s;
}
.btn-outline-hero:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 44px;
    flex-wrap: wrap;
}
.hero-stat-item { color: #fff; }
.hero-stat-num {
    font-size: 26px;
    font-weight: 800;
    font-family: 'Fraunces', serif;
    line-height: 1;
}
.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 3px;
}

/* Hero right illustration */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.hero-card-float {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    max-width: 360px;
}
.hcf-label {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}
.hcf-question {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.5;
}
.hcf-option {
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 10px 14px;
    color: rgba(255,255,255,0.85);
    font-size: 13.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all .2s;
}
.hcf-option.correct {
    background: rgba(34,197,94,0.2);
    border-color: #22c55e;
    color: #fff;
}
.hcf-option.correct .opt-icon { background: #22c55e; }
.hcf-option.wrong {
    background: rgba(239,68,68,0.2);
    border-color: #ef4444;
    color: #fff;
}
.hcf-option.wrong .opt-icon { background: #ef4444; }
.opt-icon {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    color: #fff;
}
.hcf-explanation {
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 4px;
}
.hcf-explanation strong { color: #fca5a5; font-size: 13px; }
.hcf-explanation p { color: rgba(255,255,255,0.75); font-size: 12.5px; margin: 4px 0 0; line-height: 1.5; }

/* ── SECTION COMMON ──────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--light-bg); }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 15.5px;
    color: var(--gray);
    max-width: 520px;
    line-height: 1.7;
}

/* ── CATEGORIES CAROUSEL ─────────────────────────────── */
.carousel-wrapper { position: relative; }
.cat-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px 16px;
}
.cat-carousel::-webkit-scrollbar { display: none; }
.cat-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 24px 18px;
    text-decoration: none;
    color: var(--dark);
    transition: all .25s;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}
.cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.cat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--card-shadow);
    transform: translateY(-4px);
    color: var(--dark);
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon {
    width: 44px; height: 44px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.cat-name {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}
.cat-arrow {
    margin-top: auto;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Carousel nav buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    transition: all .2s;
    z-index: 10;
    color: var(--dark);
    font-size: 14px;
}
.carousel-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.carousel-btn.prev { left: -20px; }
.carousel-btn.next { right: -20px; }



/* ── HOW IT WORKS ────────────────────────────────────── */
.step-card {
    text-align: center;
    padding: 32px 24px;
}
.step-num {
    width: 52px; height: 52px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    font-weight: 800;
    font-family: 'Fraunces', serif;
    margin: 0 auto 18px;
}
.step-card h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}
.step-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}
.step-connector {
    position: relative;
}
.step-connector::after {
    content: '';
    position: absolute;
    top: 26px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary) 0, var(--primary) 6px, transparent 6px, transparent 14px);
    z-index: 0;
}

/* ── FEATURES ────────────────────────────────────────── */
.feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}
.feature-icon {
    width: 44px; height: 44px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.feature-text h6 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.feature-text p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Quiz preview card */
.quiz-preview-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(10,143,142,.15);
    padding: 28px;
    border: 1.5px solid var(--border);
}
.qpc-header {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
}
.qpc-question {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.5;
}
.qpc-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.qpc-option.correct {
    border-color: #22c55e;
    background: #f0fdf4;
    color: #166534;
}
.qpc-option.wrong {
    border-color: #ef4444;
    background: #fff5f5;
    color: #991b1b;
}
.qpc-icon {
    width: 26px; height: 26px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    background: var(--border);
    flex-shrink: 0;
}
.qpc-icon.green { background: #22c55e; color: #fff; }
.qpc-icon.red   { background: #ef4444; color: #fff; }
.qpc-explanation {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 4px;
}
.qpc-explanation strong { color: #ef4444; font-size: 14px; }
.qpc-explanation p { font-size: 13px; color: #555; margin: 6px 0 0; line-height: 1.6; }
.progress-bar-quiz {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: 25%;
    background: var(--primary);
    border-radius: 3px;
}

/* ── CTA SECTION ─────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #0A8F8E, #055f5e);
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.cta-section h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}
.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,.8);
    margin-bottom: 32px;
}

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding: 48px 0 24px;
}
.footer-logo-text {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}
.footer-logo-text span { color: var(--primary); }
.footer-tagline {
    font-size: 13.5px;
    margin-top: 8px;
    line-height: 1.6;
    max-width: 240px;
}
.footer-heading {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    text-decoration: none;
    color: rgba(255,255,255,.6);
    font-size: 13.5px;
    transition: color .2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.social-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
}
.social-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 991px) {
    .nav-center { display: none; }
    .btn-whatsapp.desktop { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: flex; }
    .step-connector::after { display: none; }
    .hero { padding: 56px 0 48px; }
    .hero-visual { margin-top: 40px; }
    .carousel-btn { display: none; }
}
@media (max-width: 576px) {
    .hero-stats { gap: 20px; }
    .cat-card { flex: 0 0 160px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}