/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', sans-serif;
    color: #1a2e23;
    background: #F7F5EE;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── COLORS ─── */
:root {
    --green-dark: #0D5C2E;
    --green-mid: #158A44;
    --green-light: #1DB954;
    --cream: #F7F5EE;
    --cream-dark: #EDE9DC;
    --text-dark: #1a2e23;
    --text-muted: #4a5e52;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
}

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 245, 238, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(13, 92, 46, 0.08);
    transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(13, 92, 46, 0.1); }
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 32px;
}
.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}
.nav-logo .logo-icon { flex-shrink: 0; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}
.nav-links a:hover { background: rgba(13, 92, 46, 0.08); color: var(--green-dark); }
.nav-cta {
    background: var(--green-dark) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-mid) !important; transform: translateY(-1px); }

/* Mobile toggle */
.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: 2.5px;
    background: var(--green-dark);
    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); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 2px solid var(--green-dark);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links a { width: 100%; text-align: center; padding: 12px; font-size: 1rem; }
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
}
.btn-primary {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
}
.btn-primary:hover { background: var(--green-mid); border-color: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13, 92, 46, 0.3); }
.btn-outline {
    background: transparent;
    color: var(--green-dark);
    border-color: var(--green-dark);
}
.btn-outline:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); }
.btn-white {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}
.btn-white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ─── SECTION COMMON ─── */
.section-tag {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-mid);
    background: rgba(13, 92, 46, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}
.accent-text { color: var(--green-dark); }
.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header .section-desc { margin: 0 auto; }

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--green-dark);
    overflow: hidden;
    padding: 120px 24px 0;
}
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}
.geo-circle--1 {
    width: 600px; height: 600px;
    background: var(--green-light);
    top: -200px; right: -150px;
}
.geo-circle--2 {
    width: 300px; height: 300px;
    background: var(--white);
    bottom: 100px; left: -80px;
}
.geo-tri {
    position: absolute;
    width: 0; height: 0;
    opacity: 0.06;
}
.geo-tri--1 {
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid var(--green-light);
    top: 15%; left: 8%;
    transform: rotate(15deg);
}
.geo-diamond {
    position: absolute;
    width: 100px; height: 100px;
    background: var(--white);
    opacity: 0.05;
    top: 30%; right: 15%;
    transform: rotate(45deg);
}
.geo-diamond--1 { width: 80px; height: 80px; top: 60%; right: 25%; opacity: 0.04; }
.geo-rect {
    position: absolute;
    width: 200px; height: 80px;
    background: var(--green-light);
    opacity: 0.06;
    bottom: 25%; left: 5%;
    border-radius: 12px;
    transform: rotate(-20deg);
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}
.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-light);
    background: rgba(29, 185, 84, 0.15);
    border: 1px solid rgba(29, 185, 84, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}
.hero-headline {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}
.hero-headline .accent-text {
    color: var(--green-light);
}
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.hero-actions .btn-outline:hover { background: var(--white); color: var(--green-dark); border-color: var(--white); }

/* Hero visual + stat cards */
.hero-visual {
    position: relative;
    height: 520px;
}
.hero-card {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-card--main {
    width: 360px;
    top: 20px;
    right: 20px;
    z-index: 2;
}
.hero-card--main img { width: 100%; height: 280px; object-fit: cover; }
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,92,46,0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.card-tag {
    background: var(--green-light);
    color: var(--green-dark);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.stat-card {
    background: var(--white);
    padding: 20px 24px;
    z-index: 3;
}
.stat-card--1 { bottom: 180px; left: 0; }
.stat-card--2 { bottom: 80px; right: 0; }
.stat-card--3 { top: 0; left: 20px; }
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1;
}
.stat-number span { font-size: 1.2rem; }
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .hero-visual { height: 400px; margin: 0 auto; max-width: 400px; }
    .hero-card--main { width: 280px; right: 0; }
    .stat-card--1 { left: -10px; }
    .stat-card--2 { right: -10px; }
    .stat-card--3 { left: 10px; }
}

@media (max-width: 480px) {
    .hero-visual { height: 340px; }
    .hero-card--main { width: 240px; }
    .stat-card { padding: 14px 18px; }
    .stat-number { font-size: 1.5rem; }
}

/* ─── SERVICES ─── */
.services {
    padding: 100px 0;
    background: var(--cream);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 92, 46, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 92, 46, 0.06);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(13, 92, 46, 0.12); }
.service-icon-wrap {
    width: 56px; height: 56px;
    background: rgba(13, 92, 46, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 28px 0;
}
.service-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    padding: 16px 28px;
    letter-spacing: -0.02em;
}
.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding: 0 28px 20px;
}
.service-img {
    margin: 0 28px 28px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.service-img img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-img img { transform: scale(1.05); }

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ─── PRODUCTS ─── */
.products {
    padding: 100px 0;
    background: var(--white);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--cream);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(13, 92, 46, 0.06);
    transition: all 0.3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(13, 92, 46, 0.1); }
.product-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.product-img-wrap img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-tag {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--green-dark);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.product-info { padding: 20px; }
.product-info h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.product-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products-grid { grid-template-columns: 1fr; } }

/* ─── ABOUT ─── */
.about {
    padding: 100px 0;
    background: var(--cream);
    overflow: hidden;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-visual { position: relative; }
.about-img-stack { position: relative; height: 520px; }
.about-img {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(13, 92, 46, 0.15);
}
.about-img--1 { width: 280px; height: 360px; top: 0; left: 0; z-index: 2; }
.about-img--2 { width: 240px; height: 240px; bottom: 0; right: 0; z-index: 3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-geo {
    position: absolute;
    width: 120px; height: 120px;
    background: var(--green-dark);
    opacity: 0.1;
    border-radius: 20px;
    bottom: 60px; left: 50%;
    transform: translateX(-50%) rotate(25deg);
    z-index: 1;
}
.about-content .section-tag { margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 24px; }
.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}
.about-feature svg { flex-shrink: 0; }

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-img-stack { height: 400px; }
    .about-img--1 { width: 220px; height: 280px; }
    .about-img--2 { width: 180px; height: 180px; }
}
@media (max-width: 480px) {
    .about-features { grid-template-columns: 1fr; }
}

/* ─── CTA STRIP ─── */
.cta-strip {
    background: var(--green-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-strip-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 48px;
}
.cta-geo-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.cta-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: var(--green-light);
}
.cta-circle--1 { width: 300px; height: 300px; top: -100px; left: -80px; }
.cta-circle--2 { width: 200px; height: 200px; bottom: -80px; right: 10%; }
.cta-tri {
    position: absolute;
    width: 0; height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid var(--white);
    opacity: 0.06;
    top: 20%; right: 30%;
    transform: rotate(-15deg);
}
.cta-content { flex: 1; }
.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}
.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
}
.cta-actions { display: flex; gap: 16px; flex-shrink: 0; }

@media (max-width: 768px) {
    .cta-strip-inner { flex-direction: column; text-align: center; gap: 32px; }
    .cta-actions { justify-content: center; }
}

/* ─── CONTACT ─── */
.contact {
    padding: 100px 0;
    background: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.contact-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
    width: 48px; height: 48px;
    background: rgba(13, 92, 46, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-dark);
    margin-bottom: 4px;
}
.contact-item p { font-size: 0.95rem; color: var(--text-dark); line-height: 1.6; }
.contact-item a { color: var(--green-mid); font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Form */
.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(13, 92, 46, 0.06);
}
.form-decoration {
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: var(--green-dark);
    opacity: 0.04;
    border-radius: 50%;
}
.contact-form-wrap h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(13, 92, 46, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-dark);
    box-shadow: 0 0 0 4px rgba(13, 92, 46, 0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #a0b0a6; }
.form-group textarea { resize: vertical; min-height: 100px; }

/* Success state */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.form-success.show { display: block; }
.success-icon {
    width: 72px; height: 72px;
    background: rgba(13, 92, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.form-success h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.form-success p { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
}

/* ─── FOOTER ─── */
.footer {
    background: #0a1f14;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-links h4,
.footer-contact h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.footer-links a:hover { color: var(--green-light); }
.footer-contact p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 4px; }
.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: var(--green-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ─── PROGRESSIVE ENHANCEMENT: scroll reveal ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Fallback: always visible if JS disabled or reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}
