@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    --primary-dark: #1a2332;
    --primary-light: #2a3a4e;
    --primary-navy: #1e2d40;
    --accent-gold: #c5a059;
    --accent-gold-hover: #d4af37;
    --accent-gold-soft: rgba(197, 160, 89, 0.08);
    --accent-gold-border: rgba(197, 160, 89, 0.2);
    --text-light: #ffffff;
    --text-muted: #64748b;
    --text-dark: #0f172a;
    --text-dark-muted: #475569;
    --bg-body: #f8fafc;
    --bg-white: #ffffff;
    --bg-section-alt: #f1f5f9;
    --bg-warm: #fefdfb;
    --border-light: #e2e8f0;
    --border-subtle: #f1f5f9;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.03);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
    --shadow-gold: 0 10px 25px -5px rgba(197, 160, 89, 0.25);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.04);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1200px;
    --header-height: 80px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-dark-muted);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* --- UTILITY CLASSES --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-light { color: var(--text-light); }

.section-padding {
    padding: 5rem 0;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-color: var(--border-light);
}

.btn-white:hover {
    background-color: var(--bg-body);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- HEADER & NAVIGATION --- */
.header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
    height: 70px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1320px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 44px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--text-dark-muted);
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.contact-action {
    display: flex;
    flex-direction: column;
    text-align: right;
    color: var(--text-dark-muted);
}

.contact-action span {
    font-size: 0.6875rem;
    opacity: 0.7;
}

.contact-action a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    padding: 0.25rem;
}

/* Drawer backdrop overlay */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* --- HERO SECTION (Light Mode) --- */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 5rem;
    background: linear-gradient(160deg, var(--bg-white) 0%, #f5f0e8 40%, var(--bg-warm) 100%);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.06) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--accent-gold-soft);
    border: 1px solid var(--accent-gold-border);
    color: var(--accent-gold);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-desc {
    color: var(--text-dark-muted);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeIn 1.2s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}

.hero-image-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* --- STATS SECTION (Light Mode) --- */
.stats {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 2.5rem 0;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 1rem 0.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- BENEFITS SECTION --- */
.benefits {
    background-color: var(--bg-body);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--accent-gold);
    background-color: var(--accent-gold);
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-gold-border);
}

.benefit-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    flex-shrink: 0;
}

.benefit-image-wrapper > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.benefit-card:hover .benefit-image-wrapper img {
    transform: scale(1.05);
}

.benefit-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
}

.benefit-logo {
    max-height: 38px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.benefit-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.benefit-card-title {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

.benefit-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.benefit-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}

.benefit-link svg {
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-link svg {
    transform: translateX(4px);
}

/* --- HOW IT WORKS (Light Mode) --- */
.how-it-works {
    background-color: var(--bg-section-alt);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
}

.how-it-works .section-title {
    color: var(--text-dark);
}

.how-it-works .section-desc {
    color: var(--text-muted) !important;
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    margin-top: 2rem;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 12%;
    width: 76%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-gold-border) 20%, var(--accent-gold-border) 80%, transparent);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 0.75rem;
}

.step-number {
    width: 96px;
    height: 96px;
    background-color: var(--bg-white);
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.step-item:hover .step-number {
    transform: scale(1.08);
    box-shadow: var(--shadow-gold);
    background-color: var(--accent-gold);
    color: var(--text-light);
}

.step-title {
    color: var(--text-dark);
    font-size: 1.0625rem;
    margin-bottom: 0.625rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* --- PARTNERS SEARCH BANNER (Light Mode) --- */
.partners-banner {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(160deg, #faf8f4 0%, var(--bg-warm) 50%, #f5f0e8 100%);
    overflow: hidden;
}

.partners-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://divinaluz.org/wp-content/uploads/BENEFICIOS.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    pointer-events: none;
}

.banner-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.banner-left h2 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.banner-left p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    margin-bottom: 1.75rem;
}

.search-simulation {
    display: flex;
    background-color: var(--bg-body);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 0.375rem;
    align-items: center;
    max-width: 500px;
}

.search-simulation input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-dark);
    padding: 0 1.25rem;
    flex-grow: 1;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    min-width: 0;
}

.search-simulation input::placeholder {
    color: var(--text-muted);
}

.search-simulation .btn {
    padding: 0.625rem 1.5rem;
    flex-shrink: 0;
}

.banner-right {
    display: flex;
    justify-content: center;
}

.banner-right .btn-white.btn-outline {
    background-color: var(--bg-body) !important;
    border-color: var(--border-light) !important;
    backdrop-filter: none !important;
}

.banner-right .btn-white.btn-outline span {
    color: var(--text-dark) !important;
}

.banner-right .btn-white.btn-outline svg {
    color: var(--accent-gold);
}

/* --- CTA SECTION (Light Mode) --- */
.cta {
    position: relative;
    background-color: var(--bg-body);
    overflow: hidden;
}

.cta-box {
    background: linear-gradient(135deg, #faf8f4 0%, var(--bg-warm) 50%, #f5f0e8 100%);
    border-radius: var(--radius-xl);
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-desc {
    color: var(--text-muted);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
}

.cta-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-image {
    max-height: 360px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

/* --- FOOTER (Light Mode) --- */
.footer {
    background-color: var(--bg-white);
    color: var(--text-dark-muted);
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col-title {
    color: var(--text-dark);
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.footer-link:hover {
    color: var(--accent-gold);
    transform: translateX(4px);
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.footer-cert img {
    max-width: 160px;
    height: auto;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer-cert img:hover {
    opacity: 1;
}

.footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-info-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-info-item svg {
    flex-shrink: 0;
    color: var(--accent-gold);
    margin-top: 2px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-body);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--text-light);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    gap: 1rem;
}

/* --- FLOATING WIDGETS --- */
.whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-widget:hover {
    transform: scale(1.05) translateY(-3px);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background-color: #25d366;
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.875rem;
}

/* --- ANIMATIONS & TRANSITIONS --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- SCROLL ANIMATIONS (IntersectionObserver) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   FLUID TYPOGRAPHY
   =================================================== */
.hero-title    { font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.75rem); }
.section-title { font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.125rem); }
.cta-title     { font-size: clamp(1.5rem, 2.8vw + 0.5rem, 2.25rem); }
.banner-left h2 { font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem); }
.stat-number   { font-size: clamp(1.5rem, 3vw + 0.25rem, 2.25rem); }

/* ===================================================
   RESPONSIVE MEDIA QUERIES — 5 breakpoints
   1280 → 1024 → 768 → 480 → 360
   =================================================== */

/* ─────────────── 1280 px (small desktops) ─────────────── */
@media (max-width: 1280px) {
    .container {
        max-width: 1080px;
    }

    /* Header switches to hamburger at this size — 8 links won't fit */
    .menu-toggle {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 75vw;
        max-width: 340px;
        height: 100vh;
        height: 100dvh;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 5rem 2rem 3rem;
        gap: 0;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-right: 1px solid var(--border-light);
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.08);
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--border-subtle);
        width: 100%;
        display: block;
        color: var(--text-dark-muted);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--accent-gold);
    }

    .hero .container {
        gap: 2.5rem;
    }

    .benefits-grid {
        gap: 1.75rem;
    }

    .cta-box {
        padding: 3rem;
        gap: 2.5rem;
    }

    .footer-grid {
        gap: 2rem;
    }
}

/* ─────────────── 1024 px (tablets landscape) ─────────────── */
@media (max-width: 1024px) {
    /* --- Hero --- */
    .hero {
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 380px;
        margin: 0 auto;
    }

    /* --- Stats --- */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    /* --- Benefits --- */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* --- Steps --- */
    .steps-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .steps-timeline::before {
        display: none;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.75rem;
    }

    /* --- Partners Banner --- */
    .banner-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.5rem 2rem;
    }

    .search-simulation {
        margin: 0 auto;
        max-width: 100%;
    }

    .banner-right {
        display: none;
    }

    /* --- CTA --- */
    .cta-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 2rem;
    }

    .cta-image-wrapper {
        order: -1;
    }

    .cta-image {
        max-height: 280px;
    }

    .cta-box .btn {
        margin: 0 auto;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* ─────────────── 768 px (tablets portrait / large phones) ─────────────── */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    /* --- Header --- */
    .header {
        height: 64px;
    }

    .header.scrolled {
        height: 58px;
    }

    .logo img {
        height: 38px;
    }

    .nav-menu {
        padding-top: 4.5rem;
    }

    /* --- Hero --- */
    .hero {
        padding-top: calc(64px + 2rem);
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero-tag {
        font-size: 0.6875rem;
        padding: 0.375rem 1rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-btns {
        gap: 0.75rem;
    }

    .hero-btns .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8125rem;
        width: 100%;
        max-width: 280px;
    }

    .hero-image-wrapper {
        max-width: 320px;
    }

    /* --- Stats --- */
    .stats {
        padding: 2rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-card {
        padding: 0.5rem;
    }

    /* --- Section Headers --- */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 0.8125rem;
    }

    .section-desc {
        font-size: 0.9375rem;
    }

    /* --- Benefits --- */
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
        gap: 1.5rem;
    }

    .benefit-info {
        padding: 1.25rem;
    }

    .filter-bar {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.5rem 1.125rem;
        font-size: 0.8125rem;
    }

    /* --- Steps --- */
    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 340px;
        margin: 1.5rem auto 0;
    }

    .step-number {
        width: 72px;
        height: 72px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .step-title {
        font-size: 1rem;
    }

    /* --- Partners Banner --- */
    .partners-banner {
        padding: 3.5rem 0;
    }

    .banner-card {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-md);
    }

    .banner-left p {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }

    .search-simulation {
        flex-direction: column;
        border-radius: var(--radius-md);
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .search-simulation input {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
    }

    .search-simulation .btn {
        width: 100%;
        border-radius: var(--radius-sm);
    }

    /* --- CTA --- */
    .cta-box {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-md);
    }

    .cta-desc {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .cta-image {
        max-height: 220px;
    }

    .cta-box .btn {
        width: 100%;
        max-width: 280px;
    }

    /* --- Footer --- */
    .footer {
        padding-top: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col-title {
        margin-bottom: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        font-size: 0.75rem;
    }

    /* --- WhatsApp --- */
    .whatsapp-widget {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

/* ─────────────── 480 px (phones) ─────────────── */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    /* --- Header --- */
    .header {
        height: 56px;
    }

    .header.scrolled {
        height: 52px;
    }

    .logo img {
        height: 32px;
    }

    .nav-menu {
        width: 85vw;
        max-width: 280px;
        padding: 4rem 1.5rem 2rem;
    }

    .nav-link {
        font-size: 0.9375rem;
        padding: 0.75rem 0;
    }

    /* --- Hero --- */
    .hero {
        padding-top: calc(56px + 1.5rem);
        padding-bottom: 2rem;
    }

    .hero-tag {
        font-size: 0.625rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 1rem;
    }

    .hero-desc {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 0.625rem;
    }

    .hero-btns .btn {
        max-width: 100%;
        width: 100%;
    }

    .hero-image-wrapper {
        max-width: 260px;
    }

    /* --- Stats --- */
    .stats {
        padding: 1.5rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-label {
        font-size: 0.6875rem;
    }

    /* --- Benefits --- */
    .benefits-grid {
        max-width: 100%;
    }

    .benefit-image-wrapper {
        aspect-ratio: 16 / 10;
    }

    .benefit-info {
        padding: 1.125rem;
    }

    .benefit-card-title {
        font-size: 1.0625rem;
    }

    .benefit-desc {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .filter-btn {
        padding: 0.4375rem 0.875rem;
        font-size: 0.75rem;
    }

    /* --- Steps --- */
    .steps-timeline {
        gap: 1.75rem;
        max-width: 100%;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }

    .step-desc {
        font-size: 0.8125rem;
    }

    /* --- Partners Banner --- */
    .partners-banner {
        padding: 2.5rem 0;
    }

    .banner-card {
        padding: 1.5rem 1.25rem;
        border-radius: var(--radius-sm);
    }

    .banner-left h2 {
        margin-bottom: 0.5rem;
    }

    .banner-left p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    /* --- CTA --- */
    .cta-box {
        padding: 1.75rem 1.25rem;
        border-radius: var(--radius-sm);
    }

    .cta-desc {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }

    .cta-image {
        max-height: 180px;
        border-radius: var(--radius-sm);
    }

    /* --- Footer --- */
    .footer {
        padding-top: 2.5rem;
    }

    .footer-grid {
        gap: 1.75rem;
    }

    .footer-about p {
        font-size: 0.875rem;
    }

    .footer-link {
        font-size: 0.875rem;
    }

    .footer-info-item {
        font-size: 0.8125rem;
    }

    /* --- WhatsApp --- */
    .whatsapp-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .whatsapp-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ─────────────── 360 px (small phones) ─────────────── */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 0.75rem;
    }

    .hero-tag {
        font-size: 0.5625rem;
    }

    .hero-image-wrapper {
        max-width: 220px;
    }

    .stats-grid {
        gap: 0.75rem;
    }

    .banner-card {
        padding: 1.25rem 1rem;
    }

    .cta-box {
        padding: 1.5rem 1rem;
    }

    .cta-image {
        max-height: 150px;
    }

    /* Icon-only WhatsApp button on very small screens */
    .whatsapp-btn {
        padding: 0.875rem;
        border-radius: 50%;
        font-size: 0;
        gap: 0;
    }

    .whatsapp-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* ─────────────── Accessibility: reduce motion ─────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-image {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ─────────────── Landscape phones ─────────────── */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: calc(56px + 1.5rem);
        padding-bottom: 2rem;
    }

    .hero .container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-btns {
        justify-content: flex-start;
    }

    .hero-image-wrapper {
        max-width: 200px;
    }

    .nav-menu {
        width: 50vw;
    }
}
