:root {
    /* Primary background: #2B2D2F (gunmetal charcoal) */
    --bg-primary: #2B2D2F;
    /* Secondary background: #3A3D35 (warm dark olive) */
    --bg-secondary: #3A3D35;
    /* Light section background: #F5F0E8 (warm off-white) */
    --bg-light: #F5F0E8;
    /* Primary accent: #B8860B (aged brass) */
    --accent-primary: #B8860B;
    /* Secondary accent: #C0622A (burnished copper) */
    --accent-secondary: #C0622A;
    /* CTA button color: #A0740A (deep brass) */
    --cta-bg: #A0740A;
    /* CTA button text: #F5F0E8 */
    --cta-text: #F5F0E8;
    /* Body text on dark backgrounds: #F0EBE0 (warm white) */
    --text-on-dark: #F0EBE0;
    /* Body text on light backgrounds: #2B2D2F (warm charcoal) */
    --text-on-light: #2B2D2F;
    /* Muted secondary text: #7A7670 (warm gray) */
    --text-muted: #7A7670;
    /* Navigation bar background: #222426 */
    --nav-bg: #222426;

    /* Typography */
    --font-heading: 'Fjalla One', sans-serif;
    --font-body: 'Source Serif 4', serif;
    --font-accent: 'IBM Plex Mono', monospace;

    --h1-size-desktop: 48px;
    --h1-size-mobile: 32px;
    --h2-size-desktop: 36px;
    --h2-size-mobile: 26px;
    --h3-size: 24px;
    --body-size: 18px;
    --min-size: 15px;
    --line-height-body: 1.8;
    --paragraph-max-width: 680px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--line-height-body);
    color: var(--text-on-light);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

h1 {
    font-size: var(--h1-size-desktop);
    color: var(--text-on-dark);
}

h2 {
    font-size: var(--h2-size-desktop);
    margin-bottom: 24px;
}

h3 {
    font-size: var(--h3-size);
    font-weight: 600;
}

p {
    max-width: var(--paragraph-max-width);
    margin-bottom: 1.5rem;
}

section {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

button, .btn {
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    text-transform: uppercase;
    transition: 0.3s ease;
    display: inline-block;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--cta-bg);
    color: var(--cta-text);
}

.btn-primary:hover {
    background-color: var(--accent-primary);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--text-on-dark);
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: var(--cta-text);
}

/* Nav Bar */
nav {
    background-color: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo::after {
    content: "•";
    font-size: 14px;
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-on-dark);
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-cta {
    background-color: var(--cta-bg);
    color: var(--cta-text);
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
}

.mobile-menu-btn {
    display: none;
    color: var(--text-on-dark);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--bg-primary);
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #3a3d35 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    pointer-events: none;
}

.hero .container {
    max-width: 900px;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    color: var(--text-on-dark);
}

.hero .subheadline {
    font-size: 20px;
    color: var(--text-muted);
    font-family: var(--font-body);
    margin: 0 auto 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid rgba(184, 134, 11, 0.2);
    padding-top: 48px;
}

.stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-accent);
    font-size: 36px;
    color: var(--accent-primary);
    font-weight: 600;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
}

/* Trust Strip */
.trust-strip {
    background-color: var(--bg-secondary);
    padding: 24px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust-text {
    font-size: 17px;
    color: var(--text-on-dark);
    font-style: italic;
}

.trust-divider {
    width: 100px;
    height: 1px;
    background-color: var(--accent-primary);
}

/* Core Problem Section */
.core-problem {
    background-color: var(--bg-light);
    text-align: left;
    align-items: flex-start;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--cta-bg);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.core-problem h2 {
    color: var(--text-on-light);
    margin-bottom: 48px;
}

.problem-layout {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 60px;
    width: 100%;
}

.problem-text {
    font-size: 18px;
    color: var(--text-on-light);
}

.problem-text p {
    max-width: 100%;
}

.problem-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.problem-card {
    background-color: white;
    border-left: 4px solid var(--accent-primary);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.problem-card h3 {
    font-size: 18px;
    color: var(--text-on-light);
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 17px;
    color: var(--text-on-light);
    margin-bottom: 0;
    max-width: 100%;
}

/* Services Section */
.services {
    background-color: var(--bg-primary);
    text-align: left;
    align-items: flex-start;
}

.services h2 {
    color: var(--text-on-dark);
    margin-bottom: 48px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.service-card {
    background-color: var(--bg-secondary);
    padding: 28px;
    border-top: 3px solid var(--accent-primary);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    color: var(--accent-primary);
    font-size: 32px;
}

.service-card h3 {
    color: var(--text-on-dark);
    margin-bottom: 0;
    font-size: 20px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 0;
}

.service-link {
    color: var(--accent-primary);
    text-decoration: underline;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    margin-top: auto;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--bg-light);
}

.how-it-works h2 {
    color: var(--text-on-light);
    margin-bottom: 64px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    gap: 40px;
}

.steps-container::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: var(--accent-primary);
    z-index: 0;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--cta-bg);
    color: var(--cta-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 24px;
}

.step-content h3 {
    font-size: 19px;
    color: var(--text-on-light);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 17px;
    color: var(--text-on-light);
    line-height: 1.7;
    text-align: center;
    margin-bottom: 0;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--bg-secondary);
    text-align: left;
    align-items: flex-start;
}

.why-choose-us h2 {
    color: var(--text-on-dark);
    margin-bottom: 48px;
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--text-on-dark);
}

.benefit-item i {
    color: var(--accent-primary);
    font-size: 20px;
    margin-top: 4px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-primary);
}

.testimonials h2 {
    color: var(--text-on-dark);
    margin-bottom: 48px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.testimonial-card {
    background-color: var(--bg-secondary);
    padding: 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stars {
    color: var(--accent-primary);
    font-size: 14px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-on-dark);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    margin-top: auto;
}

.author-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--accent-primary);
}

.author-location {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-muted);
}

/* Final CTA Banner */
.final-cta {
    background-color: var(--accent-primary);
    padding: 100px 20px;
}

.final-cta h2 {
    color: var(--text-on-light);
    font-size: 38px;
    margin-bottom: 16px;
}

.final-cta p {
    color: var(--text-on-light);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 680px;
    text-align: center;
}

.final-cta .btn {
    background-color: var(--bg-primary);
    color: var(--bg-light);
}

/* Footer */
footer {
    background-color: var(--nav-bg);
    padding: 80px 20px 40px;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-on-dark);
    margin-bottom: 24px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    font-size: 16px;
}

.footer-col ul a:hover {
    color: var(--text-on-dark);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    color: var(--accent-primary);
    font-size: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(184, 134, 11, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--nav-bg);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s ease;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-on-dark);
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-on-dark);
    text-transform: uppercase;
}

/* Responsive Queries */
@media (max-width: 991px) {
    h1 { font-size: var(--h1-size-mobile); }
    h2 { font-size: var(--h2-size-mobile); }
    
    .problem-layout {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        flex-direction: column;
        gap: 60px;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    
    .step-content p {
        text-align: left;
    }
    
    .benefits-layout {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .trust-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
