/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Public Sans', sans-serif;
    color: #1a2e23;
    background: #f5f0e8;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.2; color: #0f1f17; }

/* ===== SECTION COMMON ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a5c2a;
    background: rgba(26, 92, 42, 0.08);
    border: 1px solid rgba(26, 92, 42, 0.2);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: #3d5c47; }
.highlight { color: #1a5c2a; position: relative; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-primary {
    background: #1a5c2a;
    color: #f5f0e8;
    border-color: #1a5c2a;
}
.btn-primary:hover { background: #144a21; border-color: #144a21; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26, 92, 42, 0.3); }
.btn-outline {
    background: transparent;
    color: #0f1f17;
    border-color: #0f1f17;
}
.btn-outline:hover { background: #0f1f17; color: #f5f0e8; transform: translateY(-2px); }
.btn-white {
    background: #f5f0e8;
    color: #1a5c2a;
    border-color: #f5f0e8;
}
.btn-white:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-ghost {
    background: transparent;
    color: #f5f0e8;
    border-color: rgba(245, 240, 232, 0.5);
}
.btn-ghost:hover { background: rgba(245, 240, 232, 0.1); border-color: #f5f0e8; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 92, 42, 0.08);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(15, 31, 23, 0.08); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; height: 72px; }
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f1f17;
}
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #1a2e23;
    transition: color 0.2s;
}
.nav-links a:hover { color: #1a5c2a; }
.btn-nav {
    background: #1a5c2a;
    color: #f5f0e8 !important;
    border: 2px solid #1a5c2a;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}
.btn-nav:hover { background: #144a21; border-color: #144a21; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0f1f17;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f5f0e8;
    padding: 100px 0 60px;
    overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape { position: absolute; border-radius: 50%; opacity: 0.06; }
.shape-1 { width: 600px; height: 600px; background: #1a5c2a; top: -200px; left: -150px; }
.shape-2 { width: 400px; height: 400px; background: #2d8a4e; bottom: -100px; right: 20%; }
.shape-3 { width: 200px; height: 200px; background: #1a5c2a; top: 30%; right: 5%; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
.shape-4 { width: 120px; height: 120px; background: #2d8a4e; bottom: 20%; left: 10%; border-radius: 20%; transform: rotate(45deg); }
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a5c2a;
    background: rgba(26, 92, 42, 0.08);
    border: 1px solid rgba(26, 92, 42, 0.15);
    border-radius: 100px;
    padding: 8px 16px;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0f1f17;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: #3d5c47;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a2e23;
}
.hero-image-wrap { position: relative; }
.hero-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 31, 23, 0.12);
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-accent {
    position: absolute;
    bottom: -30px;
    left: -40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 31, 23, 0.15);
    border: 4px solid #f5f0e8;
}
.hero-stat-card {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #1a5c2a;
    color: #f5f0e8;
    border-radius: 20px;
    padding: 20px 28px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(26, 92, 42, 0.3);
}
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: #f5f0e8;
}
.stat-number span { font-size: 1.5rem; }
.stat-label { font-size: 0.85rem; opacity: 0.85; margin-top: 4px; }

/* ===== SERVICES ===== */
.services { background: #f5f0e8; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid rgba(26, 92, 42, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a5c2a, #2d8a4e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(15, 31, 23, 0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(26, 92, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f1f17;
}
.service-card p { font-size: 0.95rem; color: #3d5c47; line-height: 1.65; }

/* ===== ABOUT ===== */
.about { background: #fff; overflow: hidden; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-images { position: relative; }
.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 31, 23, 0.1);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 31, 23, 0.12);
    border: 4px solid #fff;
}
.about-geo {
    position: absolute;
    top: -20px;
    right: 40px;
    width: 120px;
    height: 120px;
}
.geo-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #1a5c2a;
    opacity: 0.1;
    top: 0;
    left: 0;
}
.geo-square {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #2d8a4e;
    opacity: 0.08;
    bottom: 0;
    right: 0;
    border-radius: 12px;
    transform: rotate(30deg);
}
.about-content .section-tag { margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 20px; }
.about-content > p { font-size: 1.05rem; color: #3d5c47; line-height: 1.75; margin-bottom: 16px; }
.about-stats {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 32px 0;
    padding: 28px 0;
    border-top: 1px solid rgba(26, 92, 42, 0.1);
    border-bottom: 1px solid rgba(26, 92, 42, 0.1);
}
.about-stat { text-align: center; flex: 1; }
.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1a5c2a;
    line-height: 1;
}
.stat-num span { font-size: 1.2rem; }
.stat-desc { font-size: 0.85rem; color: #3d5c47; margin-top: 6px; }
.about-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(26, 92, 42, 0.15);
}

/* ===== PROJECTS ===== */
.projects { background: #f5f0e8; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.project-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(26, 92, 42, 0.06);
    transition: all 0.3s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(15, 31, 23, 0.1); }
.project-img { overflow: hidden; aspect-ratio: 5/3.8; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-img img { transform: scale(1.05); }
.project-info { padding: 20px 24px; }
.project-category {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a5c2a;
    background: rgba(26, 92, 42, 0.08);
    border-radius: 6px;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 8px;
}
.project-info h3 { font-size: 1.1rem; font-weight: 700; color: #0f1f17; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: #0f1f17; color: #f5f0e8; }
.testimonials .section-tag { background: rgba(45, 138, 78, 0.2); border-color: rgba(45, 138, 78, 0.3); color: #6fbf88; }
.testimonials .section-title { color: #f5f0e8; }
.testimonials .section-subtitle { color: rgba(245, 240, 232, 0.6); }
.testimonials .highlight { color: #6fbf88; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}
.testimonial-card:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-4px); }
.testimonial-quote {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: #2d8a4e;
    opacity: 0.4;
    margin-bottom: -8px;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a5c2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #f5f0e8;
    flex-shrink: 0;
}
.author-name { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.95rem; color: #f5f0e8; }
.author-location { font-size: 0.8rem; color: rgba(245, 240, 232, 0.5); }

/* ===== CTA BANNER ===== */
.cta-banner {
    position: relative;
    background: #1a5c2a;
    padding: 80px 0;
    overflow: hidden;
}
.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape { position: absolute; border-radius: 50%; opacity: 0.1; }
.cta-shape-1 { width: 400px; height: 400px; background: #f5f0e8; top: -150px; right: -100px; }
.cta-shape-2 { width: 250px; height: 250px; background: #f5f0e8; bottom: -80px; left: 10%; }
.cta-shape-3 { width: 100px; height: 100px; background: #f5f0e8; top: 20%; left: 30%; border-radius: 20%; transform: rotate(45deg); }
.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #f5f0e8;
    margin-bottom: 16px;
}
.cta-text { font-size: 1.1rem; color: rgba(245, 240, 232, 0.8); margin-bottom: 32px; line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { background: #fff; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info .section-tag { margin-bottom: 16px; }
.contact-info .section-title { margin-bottom: 16px; }
.contact-info > .section-subtitle { margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(26, 92, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a5c2a;
    margin-bottom: 4px;
}
.contact-value { font-size: 1rem; color: #1a2e23; line-height: 1.6; }
.contact-value a { color: #1a5c2a; text-decoration: underline; text-underline-offset: 3px; }
.contact-value a:hover { color: #144a21; }

/* Form */
.contact-form-wrap {
    background: #f5f0e8;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(26, 92, 42, 0.08);
}
.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f1f17;
    margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a2e23;
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(26, 92, 42, 0.15);
    border-radius: 10px;
    font-family: 'Public Sans', sans-serif;
    font-size: 0.95rem;
    color: #0f1f17;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a5c2a;
    box-shadow: 0 0 0 3px rgba(26, 92, 42, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #8fa896; }
.form-group textarea { resize: vertical; min-height: 100px; }

/* Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}
.form-success h3 { font-size: 1.5rem; color: #0f1f17; margin: 16px 0 8px; }
.form-success p { color: #3d5c47; }

/* ===== FOOTER ===== */
.footer { background: #0f1f17; color: rgba(245, 240, 232, 0.7); padding: 60px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #f5f0e8;
}
.footer-links h4,
.footer-contact h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f5f0e8;
    margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.2s;
}
.footer-links a:hover { color: #6fbf88; }
.footer-contact p {
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    line-height: 1.6;
}
.footer-contact a { color: rgba(245, 240, 232, 0.6); transition: color 0.2s; }
.footer-contact a:hover { color: #6fbf88; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(245, 240, 232, 0.4);
}
.footer-bottom a { color: rgba(245, 240, 232, 0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: #6fbf88; }

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Fallback: ensure content is visible even without JS */
.reveal { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-image-wrap { max-width: 500px; }
    .hero-img-accent { left: -20px; bottom: -20px; }
    .hero-stat-card { right: -10px; top: -10px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-images { max-width: 500px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(245, 240, 232, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(26, 92, 42, 0.08);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        box-shadow: 0 8px 24px rgba(15, 31, 23, 0.08);
    }
    .nav-links.open { transform: translateY(0); }
    .nav-toggle { display: flex; }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .hero-trust { flex-direction: column; gap: 12px; }
    .hero-img-accent { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section { padding: 60px 0; }
    .about-stats { flex-direction: column; gap: 16px; }
    .about-stat-divider { width: 48px; height: 1px; }
}
