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

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #faf3e0;
    --cream-300: #f5ebd0;
    --neutral-50: #fafaf8;
    --neutral-100: #f5f4f0;
    --neutral-200: #e8e6e0;
    --neutral-300: #d4d0c8;
    --neutral-400: #a8a29e;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--neutral-800);
    background: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--neutral-900);
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--emerald-600);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.1rem;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--neutral-600);
    transition: color var(--transition);
    letter-spacing: 0.01em;
}

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

.nav-cta {
    background: var(--emerald-600) !important;
    color: white !important;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500 !important;
    transition: background var(--transition), transform var(--transition) !important;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 14px;
    display: block;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--neutral-700);
    transition: var(--transition);
}

.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translate(-50%, -50%); }
.hamburger::after { bottom: 0; }

.nav-toggle.active .hamburger::before {
    top: 50%;
    transform: rotate(45deg);
}
.nav-toggle.active .hamburger span {
    opacity: 0;
}
.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

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

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

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--neutral-200) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-600);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 36px;
    font-weight: 300;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--emerald-600);
    color: white;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--neutral-700);
    border: 1.5px solid var(--neutral-300);
}

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

.btn-light {
    background: white;
    color: var(--emerald-800);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* ── HERO CARDS ── */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    max-width: 460px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-100);
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card--primary {
    grid-column: 1;
    grid-row: 1;
    background: var(--emerald-600);
    border-color: var(--emerald-600);
}

.stat-card--primary .stat-card-value { color: white; }
.stat-card--primary .stat-card-label { color: rgba(255,255,255,0.8); }
.stat-card--primary .stat-card-icon { color: rgba(255,255,255,0.9); }

.stat-card--accent {
    grid-column: 2;
    grid-row: 1;
    background: var(--cream-200);
    border-color: var(--cream-300);
}

.stat-card--accent .stat-card-value { color: var(--emerald-800); }
.stat-card--accent .stat-card-label { color: var(--neutral-600); }
.stat-card--accent .stat-card-icon { color: var(--emerald-600); }

.stat-card--dark {
    grid-column: 1 / 3;
    grid-row: 2;
    background: var(--neutral-900);
    border-color: var(--neutral-900);
}

.stat-card--dark .stat-card-value { color: white; }
.stat-card--dark .stat-card-label { color: var(--neutral-400); }
.stat-card--dark .stat-card-icon { color: var(--emerald-400); }

.stat-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.stat-card-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-900);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.stat-card-label {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    font-weight: 400;
}

.hero-image-card {
    grid-column: 2;
    grid-row: 2;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5 / 3.8;
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neutral-400);
}

.hero-scroll svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ── SECTION COMMON ── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--neutral-900);
    letter-spacing: -0.02em;
}

.section-line {
    width: 48px;
    height: 1.5px;
    background: var(--emerald-400);
    margin: 24px auto 0;
}

/* ── SERVICES ── */
.services {
    padding: 120px 0;
    background: white;
}

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

.service-card {
    padding: 36px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition);
    background: var(--cream-50);
}

.service-card:hover {
    border-color: var(--emerald-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    background: white;
}

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

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

.service-title {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--neutral-900);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.7;
    font-weight: 300;
}

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

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

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 7 / 8;
}

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

.about-content .section-header {
    text-align: left;
    margin-bottom: 32px;
}

.about-content .section-line {
    margin: 24px 0 0;
}

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

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 36px;
}

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

.value-item svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* ── WHY ── */
.why {
    padding: 120px 0;
    background: var(--neutral-900);
    color: white;
}

.why .section-eyebrow {
    color: var(--emerald-400);
}

.why .section-title {
    color: white;
}

.why .section-line {
    background: var(--emerald-500);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 0;
}

.why-card {
    padding: 40px 36px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    transition: all var(--transition);
}

.why-card:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    transform: translateY(-4px);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--emerald-500);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.why-title {
    font-size: 1.1875rem;
    font-weight: 500;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.why-desc {
    font-size: 0.9375rem;
    color: var(--neutral-400);
    line-height: 1.75;
    font-weight: 300;
}

/* ── CTA STRIP ── */
.cta-strip {
    padding: 80px 0;
    background: var(--emerald-700);
}

.cta-content {
    text-align: center;
}

.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald-200);
    margin-bottom: 14px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: white;
    line-height: 1.25;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

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

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

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

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

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neutral-400);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 0.9375rem;
    color: var(--neutral-700);
    line-height: 1.6;
}

.contact-link {
    color: var(--emerald-700);
    transition: color var(--transition);
}

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

.map-placeholder {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 20px;
    box-shadow: var(--shadow-md);
    aspect-ratio: 8 / 3;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-link {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    color: var(--neutral-800);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.map-link:hover {
    background: var(--emerald-600);
    color: white;
}

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

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--neutral-900);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    margin-bottom: 32px;
    font-weight: 300;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--neutral-800);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-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;
    text-align: center;
    padding: 48px 24px;
}

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

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

.form-success p {
    font-size: 1rem;
    color: var(--neutral-700);
    line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-400);
    padding: 64px 0 32px;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    max-width: 280px;
    line-height: 1.7;
    font-weight: 300;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: var(--neutral-400);
    transition: color var(--transition);
    font-weight: 300;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    font-size: 0.8125rem;
    color: var(--neutral-600);
}

/* ── REVEAL ANIMATIONS ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal[data-revealed="false"] {
        opacity: 0;
        transform: translateY(24px);
    }
}

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

    .hero-cards {
        max-width: 100%;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto;
    }

    .stat-card--primary { grid-column: 1; grid-row: 1; }
    .stat-card--accent { grid-column: 2; grid-row: 1; }
    .stat-card--dark { grid-column: 3 / 5; grid-row: 2; }
    .hero-image-card { grid-column: 1 / 5; grid-row: 3; aspect-ratio: 16 / 7; }

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

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

    .about-image {
        aspect-ratio: 16 / 10;
        max-height: 400px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--neutral-200);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

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

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }

    .hero-cards {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }

    .stat-card--primary { grid-column: 1; grid-row: 1; }
    .stat-card--accent { grid-column: 2; grid-row: 1; }
    .stat-card--dark { grid-column: 1 / 3; grid-row: 2; }
    .hero-image-card { grid-column: 1 / 3; grid-row: 3; }

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

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

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

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

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

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

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

    .hero-scroll {
        display: none;
    }
}

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

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

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

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .stat-card--primary { grid-column: 1; grid-row: 1; }
    .stat-card--accent { grid-column: 1; grid-row: 2; }
    .stat-card--dark { grid-column: 1; grid-row: 3; }
    .hero-image-card { grid-column: 1; grid-row: 4; }
}
