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

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;

    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #faf3e0;
    --cream-300: #f5e9c8;
    --cream-400: #eddbaa;
    --cream-500: #e0c580;
    --cream-600: #c9a855;
    --cream-700: #a6853a;
    --cream-800: #846a2e;
    --cream-900: #6d5827;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #0a0f1a;

    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* ─── HEADER ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--slate-900);
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--emerald-700);
    color: var(--cream-50);
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    letter-spacing: -0.5px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 18px;
    letter-spacing: -0.3px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.main-nav a {
    text-decoration: none;
    color: var(--slate-600);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.main-nav a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--slate-700);
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition);
}

.mobile-toggle:hover {
    background: var(--cream-200);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--emerald-900) 0%,
        var(--emerald-700) 25%,
        var(--emerald-600) 45%,
        var(--cream-600) 70%,
        var(--cream-400) 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(6, 78, 59, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201, 168, 85, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cream-100);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(42px, 8vw, 88px);
    font-weight: 400;
    color: var(--cream-50);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 28px;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(254, 253, 248, 0.8);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 44px;
    font-weight: 300;
}

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

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--cream-50);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--cream-50);
    color: var(--emerald-800);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-full {
    width: 100%;
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--emerald-600);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--emerald-400);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    color: var(--slate-900);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

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

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

.service-card {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-500), var(--cream-500));
    opacity: 0;
    transition: opacity var(--transition);
}

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

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

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.service-card > p {
    font-size: 15px;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--slate-700);
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--emerald-400);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ─── ABOUT ─── */
.about {
    background: var(--cream-100);
}

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

.about-image {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 6/7;
    position: relative;
}

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

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content > p {
    font-size: 16px;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 42px;
    color: var(--emerald-700);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 13px;
    color: var(--slate-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── APPROACH ─── */
.approach {
    background: var(--slate-950);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.approach .section-label {
    color: var(--emerald-400);
}

.approach .section-label::before {
    background: var(--emerald-500);
}

.approach .section-title {
    color: var(--cream-50);
    margin-bottom: 64px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.approach-step {
    padding: 36px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all var(--transition);
}

.approach-step:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-4px);
}

.step-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 48px;
    color: var(--emerald-600);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.approach-step h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--cream-50);
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.approach-step p {
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.7;
}

/* ─── CTA SECTION ─── */
.cta-section {
    background: linear-gradient(
        135deg,
        var(--emerald-800) 0%,
        var(--emerald-700) 50%,
        var(--emerald-600) 100%
    );
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.cta-card {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-card h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 48px);
    color: var(--cream-50);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 17px;
    color: rgba(254, 253, 248, 0.75);
    line-height: 1.7;
    margin-bottom: 36px;
}

/* ─── CONTACT ─── */
.contact {
    background: var(--cream-50);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

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

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

.contact-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 15px;
    color: var(--slate-600);
    line-height: 1.7;
}

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

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

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

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--slate-900);
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

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

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: 12px;
    margin-top: 16px;
    color: var(--emerald-800);
    font-size: 14px;
    font-weight: 500;
}

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

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

/* ─── FOOTER ─── */
.site-footer {
    background: var(--slate-950);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .logo-mark {
    width: 44px;
    height: 44px;
    font-size: 16px;
}

.footer-brand .logo-text {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--cream-50);
}

.footer-brand p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 280px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--slate-400);
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    font-size: 14px;
    color: var(--slate-500);
}

.footer-contact a {
    color: var(--emerald-400);
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--slate-600);
}

/* ─── MOBILE NAV ─── */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    top: 72px;
    background: rgba(254, 253, 248, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 40px 24px;
}

.mobile-nav.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav a {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--slate-800);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid var(--cream-200);
    transition: color var(--transition);
}

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

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

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

    .about-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .main-nav {
        display: none;
    }

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

    .hero {
        min-height: 100svh;
    }

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

    .hero-headline {
        letter-spacing: -1px;
    }

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

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

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

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

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

    .about-image {
        aspect-ratio: 4/3;
    }

    .about-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 32px;
    }

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

    .approach .section-title {
        margin-bottom: 40px;
    }

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

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

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

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

    .cta-section {
        padding: 80px 0;
    }
}

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

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .approach-step,
    .contact-form-wrap {
        transition: all var(--transition);
    }
}

/* ─── SCROLL REVEAL (progressive enhancement) ─── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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