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

:root {
    --emerald-900: #042f23;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #047857;
    --emerald-500: #10b981;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ee;
    --cream-200: #ebe8e0;
    --cream-300: #e0dbd0;
    --text-primary: #1a1a18;
    --text-secondary: #4a4a44;
    --text-muted: #7a7a72;
    --white: #ffffff;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-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-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-primary);
    background: var(--cream-50);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

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

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

.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, 249, 246, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease-smooth), background 0.3s ease;
}

.nav.scrolled {
    border-bottom-color: var(--cream-200);
    background: rgba(250, 249, 246, 0.97);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--emerald-800);
    letter-spacing: -0.01em;
}

.nav-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--emerald-800);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
}

.nav-logo-text {
    display: none;
}

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

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.25s ease;
    position: relative;
}

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

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

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

.nav-cta {
    font-size: 13px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--emerald-700) !important;
    border: 1px solid var(--emerald-700);
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.25s ease !important;
}

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

.nav-cta:hover {
    background: var(--emerald-700) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--emerald-800);
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    background: var(--cream-50);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--emerald-700) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, var(--emerald-700) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, var(--emerald-700) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 50px 50px;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-line {
    width: 48px;
    height: 1px;
    background: var(--emerald-600);
    margin: 0 auto 32px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 17px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

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

.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-800);
    border-color: var(--emerald-800);
}

.btn-outline:hover {
    background: var(--emerald-800);
    color: var(--white);
}

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

.hero-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.hero-divider {
    color: var(--cream-300);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── SECTION COMMON ─── */
.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

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

.section-lead {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 540px;
}

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

.services .container {
    text-align: center;
}

.services .section-lead {
    margin: 0 auto 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--cream-200);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    overflow: hidden;
}

.service-card {
    background: var(--cream-50);
    padding: 40px 32px;
    text-align: left;
    transition: background 0.3s ease;
}

.service-card:hover {
    background: var(--white);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cream-300);
    border-radius: 10px;
    margin-bottom: 24px;
    color: var(--emerald-700);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    border-color: var(--emerald-600);
    color: var(--emerald-700);
}

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

.service-card p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

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

.about-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 560/700;
    background: var(--cream-200);
}

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

.about-text {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

.stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    color: var(--emerald-700);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.5;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--cream-300);
    flex-shrink: 0;
}

/* ─── VALUES ─── */
.values {
    padding: 120px 0;
    background: var(--cream-50);
}

.values-header {
    text-align: center;
    margin-bottom: 72px;
}

.values-header .section-lead {
    margin: 0 auto;
}

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

.value-item {
    padding: 40px;
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    background: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    border-color: var(--emerald-300, #a7f3d0);
    box-shadow: 0 8px 32px rgba(6, 78, 59, 0.06);
}

.value-number {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    color: var(--emerald-600);
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 16px;
}

.value-item h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.value-item p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── TESTIMONIAL BANNER ─── */
.testimonial-banner {
    padding: 100px 0;
    background: var(--emerald-800);
}

.testimonial-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-quote {
    color: var(--white);
    margin-bottom: 24px;
}

.testimonial-banner blockquote {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 32px;
}

.testimonial-attribution {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

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

.contact-lead {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
}

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

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

.contact-detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cream-200);
    border-radius: 8px;
    color: var(--emerald-700);
    flex-shrink: 0;
}

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

.contact-detail a {
    font-size: 15px;
    color: var(--text-primary);
    transition: color 0.2s ease;
    font-weight: 400;
}

.contact-detail a:hover {
    color: var(--emerald-700);
}

/* ─── FORM ─── */
.contact-form-wrap {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    padding: 40px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--text-primary);
    background: var(--white);
    border: 1px solid var(--cream-300);
    border-radius: 8px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.25s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(6, 78, 59, 0.06);
    border: 1px solid rgba(6, 78, 59, 0.15);
    border-radius: 8px;
    color: var(--emerald-800);
    font-size: 14px;
    font-weight: 400;
    margin-top: 8px;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--emerald-700);
}

/* ─── MAP ─── */
.map-section {
    background: var(--cream-100);
}

.map-container {
    border-radius: 0;
    overflow: hidden;
    background: var(--cream-200);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--emerald-900);
    color: var(--white);
    padding: 64px 0 40px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

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

.footer-brand .nav-logo-mark {
    background: rgba(255, 255, 255, 0.15);
}

.footer-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

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

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

.footer-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* ─── MOBILE NAV ─── */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--cream-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s var(--ease-out);
    }

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

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-logo-text {
        display: inline;
    }

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

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

    .about-image-wrap {
        aspect-ratio: 4/3;
        max-height: 400px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .hero-details {
        flex-direction: column;
        gap: 8px;
    }

    .hero-divider {
        display: none;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 60px;
    }

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

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

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

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

/* ─── SCROLL REVEAL (below-fold only, progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

    .reveal.visible {
        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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}
