/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Navigation ── */
.nav { transition: box-shadow 0.3s ease; }
.nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.08); }

.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3f6529;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Hero ── */
.hero {
    background: #F7F5EE;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(118,163,84,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(63,101,41,0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Geometric shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.shape {
    position: absolute;
    opacity: 0.12;
}
.shape-circle-1 {
    width: 420px; height: 420px;
    background: #3f6529;
    border-radius: 50%;
    top: -100px; right: -80px;
}
.shape-circle-2 {
    width: 200px; height: 200px;
    background: #76a354;
    border-radius: 50%;
    bottom: 15%; left: 5%;
    opacity: 0.08;
}
.shape-circle-3 {
    width: 80px; height: 80px;
    background: #9ec17d;
    border-radius: 50%;
    top: 30%; right: 15%;
    opacity: 0.15;
}
.shape-rect-1 {
    width: 160px; height: 160px;
    background: #3f6529;
    top: 20%; left: 60%;
    transform: rotate(45deg);
    opacity: 0.06;
}
.shape-rect-2 {
    width: 100px; height: 260px;
    background: #558238;
    bottom: 10%; right: 8%;
    transform: rotate(-15deg);
    opacity: 0.07;
    border-radius: 12px;
}
.shape-dot-grid {
    width: 120px; height: 120px;
    top: 25%; left: 8%;
    background-image: radial-gradient(circle, #3f6529 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.25;
}
.shape-triangle {
    width: 0; height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #76a354;
    bottom: 25%; left: 15%;
    opacity: 0.08;
    transform: rotate(-20deg);
}

/* Hero badge */
.hero-badge {
    animation: badgeIn 0.8s ease both;
}
@keyframes badgeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero heading */
.hero h1 {
    animation: headingIn 0.8s 0.15s ease both;
}
@keyframes headingIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero p {
    animation: paraIn 0.8s 0.3s ease both;
}
@keyframes paraIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero .flex-wrap {
    animation: btnIn 0.8s 0.45s ease both;
}
@keyframes btnIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero .grid {
    animation: gridIn 0.8s 0.6s ease both;
}
@keyframes gridIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stat cards */
.stat-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(63,101,41,0.1);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(63,101,41,0.12);
}
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3f6529;
}
.stat-label {
    font-size: 0.85rem;
    color: #5a7a4a;
    font-weight: 500;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #3f6529;
    color: #F7F5EE;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 1.75rem;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #3f6529;
}
.btn-primary:hover {
    background: #315021;
    border-color: #315021;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(63,101,41,0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #3f6529;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 1.75rem;
    border-radius: 14px;
    text-decoration: none;
    border: 2px solid #c6dbb0;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    border-color: #3f6529;
    background: #f2f7f0;
    transform: translateY(-2px);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    background: #F7F5EE;
    color: #3f6529;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.875rem 1.75rem;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-white:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #F7F5EE;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 1.75rem;
    border-radius: 14px;
    text-decoration: none;
    border: 2px solid rgba(247,245,238,0.4);
    transition: all 0.3s ease;
}
.btn-outline-white:hover {
    border-color: #F7F5EE;
    background: rgba(247,245,238,0.1);
    transform: translateY(-2px);
}

/* ── Section labels & titles ── */
.section-label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #558238;
    background: #e3ecd9;
    padding: 0.4rem 0.875rem;
    border-radius: 100px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: #213416;
}

/* ── Area cards ── */
.area-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}
.area-card:hover {
    transform: translateY(-6px);
    border-color: rgba(118,163,84,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* ── Service cards ── */
.service-card {
    background: #fff;
    border: 1px solid #e3ecd9;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(63,101,41,0.1);
    border-color: #c6dbb0;
}

/* ── Testimonial cards ── */
.testimonial-card {
    background: #F7F5EE;
    border: 1px solid #e3ecd9;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(63,101,41,0.08);
}

/* ── Form ── */
.input-field {
    border: 1.5px solid #e3ecd9;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #213416;
    background: #fff;
    transition: all 0.2s ease;
    outline: none;
    width: 100%;
}
.input-field::placeholder { color: #9ec17d; }
.input-field:focus {
    border-color: #3f6529;
    box-shadow: 0 0 0 3px rgba(63,101,41,0.1);
}
.input-field:hover:not(:focus) { border-color: #c6dbb0; }

select.input-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233f6529' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile menu ── */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e3ecd9;
}
.mobile-link:last-child { border-bottom: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .stat-card { padding: 1rem; }
    .stat-number { font-size: 1.25rem; }
}
