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

:root {
    --emerald-900: #022c22;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #047857;
    --emerald-500: #10b981;
    --emerald-50: #ecfdf5;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ee;
    --cream-200: #ebe7dd;
    --cream-300: #e0dbd0;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #7a7a7a;
    --white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-primary);
    background: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

.nav.scrolled {
    border-bottom-color: var(--cream-200);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--emerald-700);
}

.nav-logo-icon {
    color: var(--emerald-600);
}

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    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-600);
    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: 0.8125rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase;
    color: var(--emerald-600) !important;
    border: 1px solid var(--emerald-600);
    padding: 10px 20px;
    transition: all 0.25s ease !important;
}

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

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

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out);
    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;
    padding-top: 72px;
    background: var(--cream-50);
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 440px;
}

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

.hero-trust {
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.hero-image {
    position: relative;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--emerald-500);
    border-radius: 2px;
    pointer-events: none;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--cream-300);
}

.btn-ghost:hover {
    border-color: var(--emerald-600);
    color: var(--emerald-700);
}

.btn-full {
    width: 100%;
}

/* ─── SECTIONS ─── */
.section {
    padding: 120px 0;
}

.section-cream {
    background: var(--cream-100);
}

.section-dark {
    background: var(--emerald-900);
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 16px;
}

.section-eyebrow-light {
    color: var(--emerald-500);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

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

.section-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 64px;
}

/* ─── SERVICES ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--cream-200);
    border: 1px solid var(--cream-200);
}

.service-card {
    background: var(--cream-50);
    padding: 48px 36px;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-600);
    transition: width 0.4s var(--ease-out);
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--emerald-600);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.3;
}

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

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

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

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

.about-stats {
    display: flex;
    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-serif);
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--emerald-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    background: var(--cream-200);
    align-self: stretch;
}

/* ─── PROCESS ─── */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.process-step {
    position: relative;
    padding-left: 0;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 24px;
    left: -24px;
    width: 48px;
    height: 1px;
    background: var(--cream-200);
}

.process-step:first-child::before {
    display: none;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--cream-200);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.process-step h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.process-step p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 300px;
}

/* ─── CONTACT ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    padding-top: 8px;
}

.contact-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 48px;
    max-width: 440px;
}

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

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-detail a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.25s ease;
}

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

.contact-detail svg {
    color: var(--emerald-500);
    flex-shrink: 0;
}

/* ─── FORM ─── */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.5;
    transition: border-color 0.25s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

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

.form-group 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='rgba(255,255,255,0.5)' 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;
}

.form-group select option {
    background: var(--emerald-800);
    color: var(--white);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 2px;
    color: var(--emerald-500);
    font-size: 0.9375rem;
    margin-top: 20px;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--emerald-900);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 64px;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.25s ease;
}

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

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact a {
    display: block;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.25s ease;
    margin-bottom: 6px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* ─── SCROLL REVEAL ─── */
.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 ─── */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }

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

    .about-grid {
        gap: 48px;
    }

    .contact-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        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;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

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

    .hero-image-accent {
        display: none;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

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

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

    .section {
        padding: 80px 0;
    }

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

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

    .about-image {
        order: -1;
    }

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

    .about-stats {
        flex-wrap: wrap;
    }

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

    .process-step::before {
        display: none;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

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

    .nav-inner {
        padding: 0 20px;
    }

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

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

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

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

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
