: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: #fafaf9;
    --cream-100: #f5f5f4;
    --cream-200: #e7e5e4;
    --cream-300: #d6d3d1;
    --cream-400: #a8a29e;
    --cream-500: #78716c;

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

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream-50);
    color: #1c1917;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 249, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(4, 120, 87, 0.08);
    transition: box-shadow 0.3s var(--ease-out);
}

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

.nav-container {
    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;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--emerald-800);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #44403c;
    transition: color 0.2s;
    position: relative;
}

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

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

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--emerald-800);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.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);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-700);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
}

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

.btn-outline {
    background: transparent;
    color: var(--emerald-700);
    padding: 12px 28px;
    border-radius: 8px;
    border: 1.5px solid var(--emerald-200);
}

.btn-outline:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-400);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: 10px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 18px 36px;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(160deg, var(--cream-50) 0%, var(--emerald-50) 50%, var(--cream-100) 100%);
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(4, 120, 87, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(4, 120, 87, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

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

.hero-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 24px 64px rgba(4, 120, 87, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-100);
    color: var(--emerald-800);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--emerald-500);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--emerald-950);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: #57534e;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* ===== FLOATING STAT CARDS ===== */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.stat-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(4, 120, 87, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stat-card--1 {
    transform: translateX(20px);
}

.stat-card--2 {
    transform: translateX(-10px);
}

.stat-card--3 {
    transform: translateX(10px);
}

.stat-card:hover.stat-card--1 { transform: translateX(24px) translateY(-4px); }
.stat-card:hover.stat-card--2 { transform: translateX(-6px) translateY(-4px); }
.stat-card:hover.stat-card--3 { transform: translateX(14px) translateY(-4px); }

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

.stat-card--1 .stat-icon { background: var(--emerald-100); color: var(--emerald-700); }
.stat-card--2 .stat-icon { background: #dbeafe; color: #1d4ed8; }
.stat-card--3 .stat-icon { background: #fef3c7; color: #b45309; }

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--emerald-900);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.82rem;
    color: #78716c;
    font-weight: 500;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--emerald-950);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #57534e;
    line-height: 1.7;
    max-width: 560px;
}

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

/* ===== SERVICES ===== */
.services {
    padding: 120px 0;
    background: #fff;
}

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

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

.service-card:hover {
    background: #fff;
    border-color: var(--emerald-200);
    box-shadow: 0 12px 40px rgba(4, 120, 87, 0.1);
    transform: translateY(-4px);
}

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

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emerald-900);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.92rem;
    color: #57534e;
    line-height: 1.7;
}

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

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

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

.about-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

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

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

.about-text {
    font-size: 1.05rem;
    color: #44403c;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--emerald-800);
}

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

/* ===== APPROACH ===== */
.approach {
    padding: 120px 0;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.approach-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

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

.approach-header .section-title {
    color: #fff;
}

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

.approach-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--emerald-600), var(--emerald-600), transparent);
    z-index: 0;
}

.approach-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--emerald-600);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.6;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--emerald-200);
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 120px 0;
    background: var(--cream-50);
}

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

.testimonial-card {
    background: #fff;
    border: 1px solid var(--cream-200);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s var(--ease-out);
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.testimonial-quote {
    color: var(--emerald-300);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #44403c;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--emerald-900);
}

.author-location {
    font-size: 0.82rem;
    color: #78716c;
}

/* ===== CTA / CONTACT FORM ===== */
.cta {
    padding: 120px 0;
    background: #fff;
}

.cta-card {
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
    border-radius: 32px;
    padding: 72px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

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

.cta-content .section-label {
    color: var(--emerald-300);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--emerald-200);
    line-height: 1.7;
}

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

.cta-form {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

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

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #44403c;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

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

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

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

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

.form-success svg {
    color: var(--emerald-500);
    margin: 0 auto 16px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--emerald-900);
    margin-bottom: 8px;
}

.form-success p {
    color: #57534e;
    font-size: 0.95rem;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    padding: 80px 0;
    background: var(--cream-100);
    border-top: 1px solid var(--cream-200);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--emerald-100);
    color: var(--emerald-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--emerald-900);
}

.contact-detail p {
    font-size: 0.88rem;
    color: #57534e;
    line-height: 1.6;
}

.contact-detail a {
    color: var(--emerald-600);
    font-weight: 500;
    transition: color 0.2s;
}

.contact-detail a:hover {
    color: var(--emerald-800);
}

/* ===== FOOTER ===== */
.footer {
    padding: 64px 0 40px;
    background: var(--emerald-950);
    color: #fff;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--emerald-300);
    max-width: 280px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--emerald-300);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--emerald-400);
}

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

.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);
    }
}

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

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

    .stat-card {
        flex: 1;
        min-width: 200px;
        transform: none !important;
    }

    .stat-card:hover {
        transform: translateY(-4px) !important;
    }

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

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

    .about-image img {
        height: 450px;
    }

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

    .approach-steps::before {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .cta-card {
        grid-template-columns: 1fr;
        padding: 48px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 249, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(4, 120, 87, 0.08);
        transform: translateY(-120%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    }

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

    .nav-toggle {
        display: flex;
    }

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

    .hero-card {
        padding: 32px;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        justify-content: center;
    }

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

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

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

    .cta-card {
        padding: 32px;
    }

    .cta-form {
        padding: 28px;
    }

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

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

    .footer-top {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero-card {
        padding: 24px;
    }

    .stat-card {
        padding: 20px 24px;
    }

    .service-card {
        padding: 28px;
    }
}
