/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-900: #0a1f14;
    --green-800: #1B4332;
    --green-700: #2d6a4f;
    --green-600: #40916c;
    --green-500: #52b788;
    --green-100: #d8f3dc;
    --green-50: #f0faf3;
    --cream: #FAFAF7;
    --cream-dark: #F5F5F0;
    --cream-light: #FEFEFC;
    --text-dark: #1a1a1a;
    --text-mid: #3a3a3a;
    --text-light: #6b6b6b;
    --text-muted: #999;
    --line: rgba(27, 67, 50, 0.12);
    --line-strong: rgba(27, 67, 50, 0.25);
    --white: #ffffff;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    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;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-800);
    color: var(--white);
    padding: 8px 16px;
    z-index: 9999;
    border-radius: 4px;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s var(--ease-smooth);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: var(--green-800);
    clip-path: polygon(50% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--green-800);
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-mid);
    letter-spacing: 0.01em;
    transition: color 0.2s var(--ease-smooth);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-700);
    transition: width 0.3s var(--ease-out);
}

.main-nav a:hover {
    color: var(--green-800);
}

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

.nav-cta {
    background: var(--green-800);
    color: var(--white) !important;
    padding: 9px 20px;
    border-radius: 100px;
    font-weight: 400;
    transition: background 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth) !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--green-700);
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-900);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 31, 20, 0.7) 0%,
        rgba(27, 67, 50, 0.6) 50%,
        rgba(10, 31, 20, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--green-500);
}

.hero-sub {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.03em;
    padding: 13px 28px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    text-decoration: none;
}

.btn-primary {
    background: var(--green-800);
    color: var(--white);
    border-color: var(--green-800);
}

.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-ghost-light {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-800);
}

.btn-ghost-light:hover {
    background: var(--green-800);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== STATS ===== */
.stats {
    background: var(--cream-light);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 48px 24px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 500;
    color: var(--green-800);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--line-strong);
}

/* ===== SECTION COMMON ===== */
.section-eyebrow {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 560px;
    font-weight: 300;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--green-500);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.4;
}

.about-content {
    padding: 16px 0;
}

.about-content p {
    color: var(--text-mid);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.about-signature {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.signature-name {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    color: var(--green-800);
    margin-bottom: 4px;
}

.signature-title {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ===== SERVICES ===== */
.services {
    padding: 120px 0;
    background: var(--cream-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--cream-light);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 40px 36px;
    transition: all 0.3s var(--ease-smooth);
}

.service-card:hover {
    border-color: var(--green-500);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(27, 67, 50, 0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--green-800);
}

.service-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
    font-weight: 300;
}

/* ===== AREAS ===== */
.areas {
    padding: 120px 0;
    background: var(--cream);
}

.areas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.areas-content {
    padding: 16px 0;
}

.areas-content .section-subtitle {
    margin-bottom: 32px;
}

.areas-list {
    margin-bottom: 40px;
}

.areas-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    gap: 16px;
}

.areas-list li:last-child {
    border-bottom: none;
}

.area-name {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-dark);
}

.area-desc {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
    text-align: right;
    flex-shrink: 0;
}

.areas-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 120px 0;
    background: var(--green-800);
}

.testimonials .section-eyebrow {
    color: var(--green-500);
}

.testimonials .section-title {
    color: var(--white);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 36px 32px;
    transition: all 0.3s var(--ease-smooth);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 64px;
    line-height: 1;
    color: var(--green-500);
    opacity: 0.5;
    margin-bottom: -8px;
}

.testimonial-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.testimonial-author {
    font-size: 13px;
    color: var(--green-500);
    letter-spacing: 0.04em;
    font-weight: 400;
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: var(--cream-dark);
    border-top: 1px solid var(--line);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
    background: var(--cream-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    padding: 16px 0;
}

.contact-info .section-subtitle {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--green-800);
}

.contact-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 400;
}

.contact-value {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-value a {
    color: var(--green-700);
    transition: color 0.2s;
}

.contact-value a:hover {
    color: var(--green-800);
}

/* Form */
.contact-form-wrap {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 40px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream-light);
    transition: border-color 0.2s var(--ease-smooth);
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--green-600);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--green-800);
    margin: 16px 0 8px;
}

.form-success p {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 300;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 32px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-contact a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--green-500);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
}

/* ===== REVEAL ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 247, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
        padding: 24px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s var(--ease-out);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav .nav-cta {
        border-bottom: none;
        text-align: center;
        margin-top: 8px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-grid,
    .areas-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 360px;
    }

    .areas-image img {
        height: 400px;
    }

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

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        flex-direction: row;
        width: 100%;
    }

    .stats-inner {
        flex-direction: column;
        gap: 32px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .about,
    .services,
    .areas,
    .testimonials,
    .contact {
        padding: 80px 0;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}
