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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(74, 122, 58, 0.15);
    color: #1c3317;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #1c3317 0%, #2d4f24 30%, #4a7a3a 60%, #6a9656 80%, #8fb57e 100%);
}

.hero-pattern {
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

/* ── Navbar ── */
.nav-logo {
    letter-spacing: 0.02em;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Menu ── */
.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-active {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* ── Hero Animations ── */
.hero-eyebrow {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Hero Buttons ── */
.hero-btn-primary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 16px 36px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.hero-btn-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-btn-secondary {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    padding: 16px 36px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.hero-btn-secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ── Section Labels ── */
.section-label {
    display: block;
    color: #6a9656;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: #1c3317;
    line-height: 1.15;
}

/* ── Service Cards ── */
.service-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(28, 51, 23, 0.08);
}

/* ── Area Cards ── */
.area-card {
    cursor: pointer;
}

.area-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    transition: border-color 0.4s ease;
    pointer-events: none;
}

.area-card:hover::after {
    border-color: rgba(255, 255, 255, 0.3);
}

/* ── Testimonial Cards ── */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(28, 51, 23, 0.06);
}

/* ── CTA Button ── */
.cta-btn {
    display: inline-block;
    background: #fff;
    color: #1c3317;
    padding: 18px 48px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s ease;
}

.cta-btn:hover {
    background: #f0f5ee;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ── CTA Pattern ── */
.cta-pattern {
    background-image: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.04) 0%, transparent 50%),
                      radial-gradient(circle at 70% 30%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

/* ── Contact Form ── */
.contact-input {
    width: 100%;
}

.contact-input:focus {
    border-color: #4a7a3a !important;
}

.form-submit {
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.form-submit:hover::before {
    left: 100%;
}

/* ── Scroll Reveal (below fold only) ── */
@media (prefers-reduced-motion: no-preference) {
    .service-reveal,
    .about-reveal,
    .about-image-reveal,
    .area-reveal,
    .testimonial-reveal,
    .cta-reveal,
    .contact-info-reveal,
    .contact-form-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem !important;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }
}
