*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest: #1a3a2a;
    --forest-light: #2d5a3f;
    --forest-dark: #0f2419;
    --cream: #f7f5f0;
    --cream-dark: #ece8e0;
    --warm: #d4a574;
    --warm-light: #e8c9a0;
    --text-dark: #1a1a1a;
    --text-muted: #5a5a5a;
    --text-light: #8a8a8a;
    --white: #ffffff;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* NAV */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 58, 42, 0.08);
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(247, 245, 240, 0.97);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--forest);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--forest);
}

.nav-cta {
    background: var(--forest);
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-size: 0.8125rem !important;
    letter-spacing: 0.04em;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
    background: var(--forest-light);
    color: var(--white) !important;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--forest);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* HERO */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--forest-dark) 0%,
        var(--forest) 30%,
        var(--forest-light) 60%,
        #3d7a52 85%,
        var(--warm) 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212, 165, 116, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(45, 90, 63, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    max-width: 780px;
}

.hero-location {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-light);
    margin-bottom: 2rem;
}

#hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--white);
    color: var(--forest);
}

.btn-primary:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

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

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

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

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* SECTIONS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 7rem 0;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--forest);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* SERVICES */
#services {
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(26, 58, 42, 0.08);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: rgba(26, 58, 42, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(26, 58, 42, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--forest), var(--forest-light));
    margin-bottom: 1.5rem;
}

.service-icon svg {
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ABOUT */
#about {
    background: var(--white);
}

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

.about-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(26, 58, 42, 0.08);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--forest);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* WORK */
#work {
    background: var(--cream);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.work-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover img {
    transform: scale(1.04);
}

.work-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0;
    transition: opacity var(--transition);
}

.work-item:hover .work-caption {
    opacity: 1;
}

/* CONTACT */
#contact {
    background: var(--white);
}

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

.contact-info p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--forest);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color var(--transition);
}

.contact-item:hover {
    color: var(--forest-light);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--warm);
}

/* FORM */
.contact-form-wrap {
    background: var(--cream);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(26, 58, 42, 0.15);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(26, 58, 42, 0.08);
}

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

.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.form-success svg {
    color: var(--forest);
    margin-bottom: 1.25rem;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* FOOTER */
footer {
    background: var(--forest-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--white);
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition);
}

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

.footer-contact span {
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* MOBILE */
@media (max-width: 900px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        aspect-ratio: 16/9;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(247, 245, 240, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(26, 58, 42, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

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

    .nav-toggle {
        display: flex;
    }

    section {
        padding: 5rem 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .about-stats {
        gap: 2rem;
    }

    .contact-form-wrap {
        padding: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

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

    .about-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
