:root {
    --primary: #2d5a27;
    --accent: #d4af37;
    --neutral-light: #f9fbf9;
    --neutral-dark: #1a1a1a;
    --text-main: #333333;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.2;
}

p {
    font-family: 'Lato', sans-serif;
    margin: 0 0 1rem 0;
}

/* Guardrail Styles */
html, body { margin: 0; padding: 0; }
section, header, footer, nav { margin: 0; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Lato', sans-serif;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #bfa030;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 500;
    font-family: 'Lato', sans-serif;
    transition: var(--transition);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    background-image: url('https://ytttxtzoazhogljousvc.supabase.co/storage/v1/object/public/site-assets/e44408d2-8f07-45ec-b58a-c379faa0035b/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

#hero::before, #cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    color: #ffffff;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    color: #ffffff;
}

/* Trust Bar */
.trust-bar {
    background: var(--neutral-light);
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-item p {
    margin: 0;
    font-weight: bold;
    color: #666;
}

/* Services */
.services {
    padding: 100px 0;
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.service-info {
    padding: 30px;
}

.service-info h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* About */
.about {
    padding: 100px 0;
    background: var(--neutral-light);
    text-align: center;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: var(--neutral-light);
    padding: 30px;
    border-radius: 8px;
}

.stars {
    color: var(--accent);
    margin-bottom: 15px;
}

/* CTA Banner */
#cta-banner {
    position: relative;
    min-height: 60vh;
    background-image: url('https://ytttxtzoazhogljousvc.supabase.co/storage/v1/object/public/site-assets/e44408d2-8f07-45ec-b58a-c379faa0035b/footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    color: #ffffff;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    color: #ffffff;
}

/* Footer */
footer {
    background: var(--neutral-dark);
    color: var(--white);
    padding: 60px 0 30px;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h4 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.footer-info p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 30px;
    color: #888;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    #hero { min-height: 70vh !important; }
    #cta-banner { min-height: 50vh !important; }
}

#hero, #cta-banner {
  background-size: cover;
  background-attachment: scroll !important;
}

/* ══ Guardrail: flush sections, background-image sizing ══ */
html, body { margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }
section, header, footer, nav { margin: 0; }
#hero, #cta-banner {
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll !important;
  margin: 0;
}
#hero { min-height: 100vh; }
#cta-banner { min-height: 60vh; }
@media (max-width: 767px) {
  #hero { min-height: 70vh !important; }
  #cta-banner { min-height: 50vh !important; }
}
section { text-align: center; }
section > * { margin-left: auto; margin-right: auto; max-width: 1200px; }
