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

:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50: #ecfdf5;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ee;
    --cream-200: #ece8df;
    --cream-300: #e0dcd2;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --stone-900: #1c1917;
    --stone-800: #292524;
    --stone-700: #44403c;
    --stone-600: #57534e;
    --stone-500: #78716c;
    --stone-400: #a8a29e;
    --stone-300: #d6d3cd;
    --stone-200: #e7e5e0;
    --stone-100: #f2f1ee;
    --white: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Lora', Georgia, 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(--stone-800);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.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 var(--cream-200);
    transition: box-shadow 0.3s var(--ease-out);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.06);
}

.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;
    text-decoration: none;
    color: var(--emerald-900);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

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

.nav-logo-text {
    font-family: var(--font-serif);
}

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

.nav-links a:not(.nav-cta) {
    color: var(--stone-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    position: relative;
}

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

.nav-links a:not(.nav-cta)::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:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--emerald-700);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--emerald-200, var(--emerald-100));
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-300, var(--emerald-500));
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--stone-700);
    padding: 4px;
}

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.7;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--emerald-700);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding: 6px 14px;
    border: 1px solid var(--emerald-200, var(--emerald-100));
    border-radius: 100px;
    background: var(--emerald-50);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--stone-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--emerald-700);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--stone-600);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

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

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s var(--ease-out);
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--emerald-800);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.25);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(6, 78, 59, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--stone-700);
    border: 1px solid var(--stone-300);
}

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

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

/* ─── HERO CARDS ────────────────────────────────── */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 24px rgba(6, 78, 59, 0.06);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(6, 78, 59, 0.1);
}

.stat-card--1 { border-left: 3px solid var(--emerald-600); }
.stat-card--2 { border-left: 3px solid var(--amber-500); }
.stat-card--3 { border-left: 3px solid var(--stone-400); }

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card--1 .stat-card-icon { background: var(--emerald-50); color: var(--emerald-700); }
.stat-card--2 .stat-card-icon { background: #fef3c7; color: var(--amber-600); }
.stat-card--3 .stat-card-icon { background: var(--stone-100); color: var(--stone-600); }

.stat-card-value {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--stone-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.8rem;
    color: var(--stone-500);
    margin-top: 2px;
}

.hero-map-card {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 24px rgba(6, 78, 59, 0.06);
}

.hero-map-label {
    font-size: 0.78rem;
    color: var(--stone-500);
    margin-bottom: 10px;
    font-weight: 400;
}

/* ─── SECTION COMMON ────────────────────────────── */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    color: var(--stone-900);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-title em {
    font-style: italic;
    color: var(--emerald-700);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--stone-500);
    max-width: 560px;
    line-height: 1.8;
}

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

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

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

.service-card {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 16px;
    padding: 36px 32px;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(6, 78, 59, 0.1);
    border-color: var(--emerald-200, var(--emerald-100));
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-line {
    width: 32px;
    height: 1px;
    background: var(--emerald-400);
    margin-bottom: 20px;
    transition: width 0.3s var(--ease-out);
}

.service-card:hover .service-card-line {
    width: 56px;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--emerald-50);
    color: var(--emerald-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background 0.3s;
}

.service-card:hover .service-card-icon {
    background: var(--emerald-100);
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-size: 0.9rem;
    color: var(--stone-500);
    line-height: 1.7;
}

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

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--emerald-100);
    border-radius: 20px;
    z-index: -1;
}

.about-content {
    max-width: 480px;
}

.about-text {
    font-size: 1rem;
    color: var(--stone-600);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--stone-700);
    font-weight: 400;
}

.value-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-600);
    flex-shrink: 0;
}

/* ─── PROCESS ───────────────────────────────────── */
.process {
    padding: 120px 24px;
    background: var(--cream-50);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--emerald-200, #a7f3d0);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--stone-500);
    line-height: 1.75;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-300);
    margin: 0 -8px;
    align-self: center;
    height: 60px;
}

/* ─── CTA / CONTACT ─────────────────────────────── */
.cta {
    padding: 120px 24px;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(217, 119, 6, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
}

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

.cta .section-tag {
    color: var(--emerald-400);
}

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

.cta .section-title em {
    color: var(--emerald-400);
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.2s;
}

.cta-detail:hover {
    color: var(--white);
}

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

/* ─── FORM ──────────────────────────────────────── */
.cta-form-wrap {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--stone-600);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--stone-200);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--stone-800);
    background: var(--cream-50);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success svg {
    color: var(--emerald-600);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--stone-900);
}

.form-success p {
    color: var(--stone-500);
    font-size: 0.95rem;
}

/* ─── FOOTER ────────────────────────────────────── */
.footer {
    background: var(--stone-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 24px 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--emerald-500);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-contact h4,
.footer-hours h4 {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.8;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--emerald-400);
}

.footer-hours p {
    font-size: 0.9rem;
    line-height: 1.8;
}

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

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

/* ─── REVEAL ANIMATIONS ─────────────────────────── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal[data-revealed="true"] {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 200px;
    }

    .hero-map-card {
        grid-column: 1 / -1;
    }

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

    .about-image-wrap {
        max-width: 480px;
    }

    .about-image-wrap img {
        height: 480px;
    }

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

@media (max-width: 768px) {
    .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(-120%);
        opacity: 0;
        transition: transform 0.4s var(--ease-out), opacity 0.3s;
        pointer-events: none;
    }

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

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

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

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

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

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

    .step-connector {
        display: none;
    }

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

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

    .cta-form-wrap {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.75rem;
    }

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

    .btn {
        justify-content: center;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card-value {
        font-size: 1.3rem;
    }
}

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

    .reveal[data-revealed="true"] {
        opacity: 1;
        transform: translateY(0);
    }
}
