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

:root {
    --emerald-950: #042f2e;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #f7f9f4;
    --cream-100: #f0f4ea;
    --cream-200: #e5ebd8;
    --cream-300: #d4dfc4;
    --cream-500: #a8b896;
    --cream-700: #6b7c5e;
    --text-dark: #1a1f18;
    --text-medium: #3d4a38;
    --text-light: #6b7c5e;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 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);
    color: var(--text-dark);
    background: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    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: 1000;
    background: transparent;
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(247, 249, 244, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
}

.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.15rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
    transition: color 0.4s;
}

.nav.scrolled .nav-logo {
    color: var(--emerald-900);
}

.nav-logo-icon {
    color: var(--cream-200);
    transition: color 0.4s;
}

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

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.01em;
    transition: color 0.3s;
    position: relative;
}

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

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

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

.nav.scrolled .nav-links a {
    color: var(--text-medium);
}

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

.nav-cta {
    background: var(--white) !important;
    color: var(--emerald-900) !important;
    padding: 9px 20px;
    border-radius: 100px;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    letter-spacing: 0.01em;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out) !important;
}

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

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(6, 78, 59, 0.2);
}

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

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

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav.scrolled .nav-toggle span {
    background: var(--emerald-900);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 47, 46, 0.45) 0%,
        rgba(6, 78, 59, 0.70) 50%,
        rgba(4, 47, 46, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 120px;
    width: 100%;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream-300);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    max-width: 720px;
    letter-spacing: -0.02em;
}

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

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 300;
}

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

.hero-scroll {
    position: absolute;
    bottom: 28px;
    right: 40px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--emerald-900);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

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

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

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

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

.about-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

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

.about-text p:last-of-type {
    margin-bottom: 40px;
}

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

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--emerald-800);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.03em;
}

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

.services-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

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

.service-card {
    background: var(--cream-50);
    border-radius: 16px;
    padding: 40px 32px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    border: 1px solid transparent;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--emerald-900);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-200);
    margin-bottom: 24px;
}

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

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

/* ── APPROACH ── */
.approach {
    padding: 120px 0;
    background: var(--cream-100);
}

.approach-content {
    max-width: 900px;
}

.approach-lead {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 56px;
    font-style: italic;
}

.approach-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.pillar {
    position: relative;
    padding-left: 48px;
}

.pillar-number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--emerald-600);
    opacity: 0.6;
}

.pillar h4 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.pillar p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.75;
}

/* ── CTA SECTION ── */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 47, 46, 0.90) 0%,
        rgba(6, 78, 59, 0.82) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-heading {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

.contact-info p {
    font-size: 1.0625rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

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

.contact-item svg {
    flex-shrink: 0;
    color: var(--emerald-700);
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

.map-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.contact-form-wrap {
    background: var(--cream-50);
    border-radius: 16px;
    padding: 48px;
    border: 1px solid var(--cream-200);
}

.contact-form-wrap h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-300);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

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

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

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    margin: 0 auto 16px;
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--text-medium);
}

/* ── FOOTER ── */
.footer {
    background: var(--emerald-950);
    color: var(--cream-200);
    padding: 80px 0 0;
}

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

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

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream-100);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.875rem;
    color: rgba(212, 223, 196, 0.65);
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--cream-100);
}

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(212, 223, 196, 0.65);
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(212, 223, 196, 0.65);
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(212, 223, 196, 0.12);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(212, 223, 196, 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);
    }
}

/* ── MOBILE ── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(247, 249, 244, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

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

    .nav-links a {
        color: var(--text-dark) !important;
        font-size: 1rem;
    }

    .nav-cta {
        background: var(--emerald-900) !important;
        color: var(--white) !important;
        text-align: center;
        display: block;
        padding: 14px 24px !important;
    }

    .hero-content {
        padding: 0 24px 100px;
    }

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

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

    .hero-scroll {
        display: none;
    }

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

    .about-image {
        aspect-ratio: 16/10;
    }

    .about-stats {
        gap: 24px;
    }

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

    .approach-pillars {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}
