/* ==========================================================================
   Header Styles
   ========================================================================== */

.main-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--btn-padding-y) 0;
    font-family: var(--font-family);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.logo-text {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-text);
    font-size: var(--text-base);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-green);
}

.btn-cta {
    border: 2px solid var(--brand-green);
    color: var(--brand-green);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    font-family: var(--font-family);
    transition: all 0.3s;
}

.btn-cta:hover {
    background: var(--brand-green);
    color: var(--white);
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .nav-links {
        gap: var(--space-md);
    }
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.footer {
    background: var(--footer-bg);
    padding: var(--space-lg);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    padding-bottom: var(--btn-padding-y);
    border-bottom: 1px solid var(--footer-border);
    margin-bottom: var(--btn-padding-y);
}

.footer-links a {
    font-size: var(--text-base);
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-middle {
    font-size: var(--text-xs);
    color: var(--footer-text);
    margin-bottom: var(--btn-padding-y);
}

.footer-middle a {
    color: var(--brand-green);
    text-decoration: none;
}

.footer-compliance {
    font-size: var(--text-xs);
    color: var(--footer-text);
    margin-bottom: var(--space-sm);
}

.footer-compliance a {
    color: var(--footer-text);
    text-decoration: none;
}

.footer-compliance a:hover {
    text-decoration: underline;
}

.footer-compliance span {
    margin: 0 var(--space-sm);
}

.footer-copyright {
    font-size: var(--text-xs);
    color: var(--footer-text);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: clamp(400px, 50vh, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero--top-aligned {
    align-items: flex-start;
    padding-top: clamp(80px, 15vh, 140px);
}

.hero--bordered {
    border-bottom: 4px solid var(--brand-green);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero .container {
    max-width: 800px;
}

.hero h1 {
    font-size: var(--text-4xl);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.hero p {
    font-size: var(--text-lg);
    color: var(--white);
    margin: 0 auto var(--space-2xl);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: var(--text-2xl);
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: relative;
    z-index: 1;
    padding: var(--space-4xl) 0;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.cta-content {
    max-width: 550px;
    color: var(--white);
}

.cta-content h2 {
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
}

.cta-content p {
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-overlay {
        background: rgba(0,0,0,0.85);
    }

    .cta-content h2 {
        font-size: var(--text-2xl);
    }
}

/* ==========================================================================
   Section Component
   ========================================================================== */

.section {
    padding: var(--space-4xl) 0;
}

.section--light {
    background: var(--bg-light);
}

.section--white {
    background: var(--bg-white);
}

/* ==========================================================================
   Section Intro Component
   ========================================================================== */

.section-intro {
    text-align: center;
    max-width: var(--container-sm);
    margin: 0 auto var(--space-xl);
    color: var(--text-secondary);
}

.section-intro h2 {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.section-intro p {
    font-size: var(--text-base);
    line-height: 1.7;
}

