*, *::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: #fefce8;
    --cream-200: #fef9c3;
    --cream-300: #fef08a;
    --cream-400: #fde68a;
    --cream-500: #fcd34d;
    --cream-600: #fbbf24;
    --cream-700: #f59e0b;

    --gray-50: #fafaf9;
    --gray-100: #f5f5f4;
    --gray-200: #e7e5e4;
    --gray-300: #d6d3d1;
    --gray-400: #a8a29e;
    --gray-500: #78716c;
    --gray-600: #57534e;
    --gray-700: #44403c;
    --gray-800: #292524;
    --gray-900: #1c1917;
    --gray-950: #0c0a09;

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

    --nav-height: 72px;
    --container-max: 1200px;
    --radius: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

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

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

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

.nav-cta {
    background: var(--emerald-700);
    color: white !important;
    padding: 9px 20px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.8125rem;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
}

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

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--gray-700);
    transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* ─── HERO ─── */
.hero {
    padding-top: var(--nav-height);
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--cream-50);
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 24px;
}

.hero-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--emerald-500);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.125rem);
    font-weight: 500;
    line-height: 1.18;
    color: var(--gray-950);
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.hero-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 36px;
    max-width: 480px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

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

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

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

.btn-secondary:hover {
    border-color: var(--emerald-400);
    color: var(--emerald-700);
}

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

.btn-white:hover {
    background: var(--cream-100);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

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

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--gray-300);
}

.hero-right {
    position: relative;
}

.hero-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 5/6;
}

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

.hero-img-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 40%;
    background: var(--emerald-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ─── SECTION COMMON ─── */
section {
    padding: 100px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--emerald-400);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--gray-950);
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

/* ─── SERVICES ─── */
.services {
    background: white;
}

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

.service-card {
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    background: var(--cream-50);
}

.service-card:hover {
    border-color: var(--emerald-300);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(4, 120, 87, 0.08);
}

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

.service-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--gray-600);
    font-weight: 300;
}

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

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

.about-img-col {
    position: relative;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -32px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 4px solid var(--cream-50);
    aspect-ratio: 3/2;
    max-width: 260px;
}

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

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

.about-lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 16px;
    font-weight: 300;
}

.about-text-col > p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 12px;
    font-weight: 300;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 400;
}

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

/* ─── PROCESS ─── */
.process {
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.process-step {
    padding: 40px 32px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    position: relative;
    background: var(--cream-50);
}

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

.process-step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.process-step p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--gray-600);
    font-weight: 300;
}

.process-step a {
    color: var(--emerald-700);
    text-decoration: underline;
    text-decoration-color: var(--emerald-200);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.process-step a:hover {
    text-decoration-color: var(--emerald-600);
}

/* ─── CTA SECTION ─── */
.cta-section {
    background: var(--emerald-800);
    padding: 80px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.cta-content p {
    font-size: 1rem;
    color: var(--emerald-200);
    font-weight: 300;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

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

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

.contact-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 36px;
    font-weight: 300;
}

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

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

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

.contact-item span,
.contact-item a {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

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

.contact-item a {
    color: var(--emerald-700);
    text-decoration: underline;
    text-decoration-color: var(--emerald-200);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

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

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--gray-900);
    background: var(--cream-50);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.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 input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

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

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

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

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    color: white;
    margin-bottom: 14px;
}

.footer-logo svg {
    color: var(--emerald-400);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--gray-500);
    font-weight: 300;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-300);
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: color 0.2s;
    font-weight: 300;
}

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

.footer-contact p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--gray-500);
    font-weight: 300;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--gray-400);
    text-decoration: underline;
    text-decoration-color: var(--gray-700);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    font-weight: 300;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

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

    .nav-cta {
        text-align: center;
        display: block;
        padding: 12px 24px;
    }

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

    .hero-right {
        order: -1;
    }

    .hero-img-wrap {
        aspect-ratio: 4/3;
    }

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

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

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

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

    .about-img-secondary {
        right: 0;
        bottom: -24px;
    }

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

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

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

    .contact-form {
        padding: 28px;
    }

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

    section {
        padding: 72px 0;
    }
}

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

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

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

    .step-number {
        font-size: 2.25rem;
    }
}
