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

:root {
    --green-900: #0B2218;
    --green-800: #1B4332;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-500: #52B788;
    --green-100: #D8F3DC;
    --green-50: #EFF5F0;
    --off-white: #FAFAF7;
    --cream: #F5F5F0;
    --warm-gray: #8C8C85;
    --dark: #1A1A18;
    --dark-soft: #2C2C2A;
    --light-gray: #E8E8E3;
    --white: #FFFFFF;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--dark);
    background-color: var(--off-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease-out);
}

.nav.scrolled {
    border-bottom-color: var(--light-gray);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--green-800);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--warm-gray);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link:hover {
    color: var(--dark);
}

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

.nav-cta {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    background: var(--green-800);
    padding: 10px 20px;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.2s var(--ease-out);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Hero */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--off-white);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--warm-gray);
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
    letter-spacing: 0.01em;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--light-gray);
}

.btn-outline:hover {
    border-color: var(--green-700);
    color: var(--green-700);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Divider */
.divider {
    padding: 0;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: var(--light-gray);
}

/* Section shared */
.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
    letter-spacing: -0.02em;
}

/* Services */
.services {
    padding: 120px 0;
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--green-50);
    color: var(--green-700);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--warm-gray);
    font-weight: 300;
}

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

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

.about-image {
    border-radius: 16px;
    overflow: hidden;
}

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

.about-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--warm-gray);
    font-weight: 300;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--green-700);
    letter-spacing: -0.01em;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--light-gray);
}

/* Contact */
.contact {
    padding: 120px 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 56px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--green-50);
    color: var(--green-700);
}

.contact-item h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 6px;
}

.contact-item p,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--warm-gray);
    font-weight: 300;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--green-700);
}

.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark-soft);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--dark);
    background: var(--off-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--warm-gray);
    opacity: 0.6;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.12);
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--warm-gray);
    text-align: center;
    margin-top: 16px;
    font-weight: 300;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    color: var(--green-600);
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--warm-gray);
    font-weight: 300;
    line-height: 1.6;
}

/* Map */
.map-section {
    background: var(--green-900);
}

.map-section iframe {
    display: block;
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.map-section iframe:hover {
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-mark {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--white);
}

.footer-address,
.footer-phone {
    font-size: 0.9375rem;
    font-weight: 300;
}

.footer-phone a {
    color: var(--green-500);
    transition: color 0.3s ease;
}

.footer-phone a:hover {
    color: var(--green-400);
}

.footer-divider {
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 8px 0;
}

.footer-copy {
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}

/* Scroll reveal (progressive enhancement) */
@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);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Mobile menu */
@media (max-width: 1023px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 247, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--light-gray);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s var(--ease-out);
    }

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

    .nav-cta {
        text-align: center;
        padding: 14px 24px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-headline {
        text-align: center;
    }

    .hero-subheadline {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-eyebrow {
        text-align: center;
    }

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

    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

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

    .hero {
        padding-top: 72px;
    }

    .hero-container {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .hero-image {
        border-radius: 12px;
    }

    .hero-image img {
        border-radius: 12px;
    }

    .services {
        padding: 80px 0;
    }

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

    .service-card {
        padding: 28px 24px;
    }

    .about {
        padding: 80px 0;
    }

    .about-stats {
        gap: 24px;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-form-wrapper {
        padding: 28px 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
}
