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

:root {
    --emerald-900: #042f23;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ed;
    --cream-200: #e8e4d8;
    --cream-300: #d4cfc0;
    --text-dark: #1a1a1a;
    --text-mid: #3d3d3d;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

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: 100;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: box-shadow 0.3s ease;
}

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

.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-weight: 700;
    font-size: 1.15rem;
    color: var(--emerald-800);
    letter-spacing: -0.02em;
}

.nav-logo svg {
    flex-shrink: 0;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color 0.2s ease;
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--emerald-800);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.15s ease;
}

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

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

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

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

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

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

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

/* ─── HERO ────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #042f23 0%, #064e3b 30%, #059669 65%, #10b981 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(6, 78, 59, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(16, 185, 129, 0.3) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 24px;
}

.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: 28px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

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

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

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

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

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

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

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

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

.btn-full {
    width: 100%;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.trust-item svg {
    color: rgba(255, 255, 255, 0.5);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

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

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

/* ─── SECTION COMMON ──────────────────────────── */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

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

.section-title {
    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: 20px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

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

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-700), var(--emerald-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--emerald-800), var(--emerald-600));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
}

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

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

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

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

.about-image-wrap img {
    border-radius: 20px;
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-500));
    z-index: -1;
    opacity: 0.15;
}

.about-content {
    max-width: 480px;
}

.about-content .section-eyebrow {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

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

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--cream-200);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--emerald-700);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

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

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

.why-item {
    padding: 48px 40px;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--cream-200);
    transition: all 0.3s ease;
}

.why-item:hover {
    border-color: var(--emerald-200, #a7f3d0);
    box-shadow: 0 16px 50px rgba(6, 78, 59, 0.06);
    transform: translateY(-2px);
}

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

.why-item h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.why-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-700) 50%, var(--emerald-600) 100%);
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(16, 185, 129, 0.25) 0%, transparent 60%);
}

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

.cta-content .section-eyebrow {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

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

.contact-info .section-eyebrow {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--cream-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-detail-value {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

.contact-detail-value a {
    color: var(--emerald-700);
    transition: color 0.2s ease;
}

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

.contact-form-wrap {
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    border: 1px solid var(--cream-200);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    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.85rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--cream-200);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

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

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.08);
    color: var(--emerald-700);
    font-size: 0.9rem;
    font-weight: 500;
}

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

/* ─── FOOTER ──────────────────────────────────── */
.footer {
    background: var(--emerald-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

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

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

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

.footer-links h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links ul li a,
.footer-links ul li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

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

    .about-layout {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(6, 78, 59, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        pointer-events: none;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 80px;
        min-height: 100svh;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .services {
        padding: 80px 0;
    }

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

    .about {
        padding: 80px 0;
    }

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

    .about-image-wrap img {
        height: 350px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-content .section-eyebrow,
    .about-content .section-title {
        text-align: center;
    }

    .about-content p {
        text-align: center;
    }

    .why {
        padding: 80px 0;
    }

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

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

    .contact {
        padding: 80px 0;
    }

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

    .contact-info .section-eyebrow,
    .contact-info .section-title {
        text-align: center;
    }

    .contact-intro {
        text-align: center;
    }

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

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

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

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

    .why-item {
        padding: 32px 24px;
    }

    .stat {
        grid-column: 1 / -1;
    }
}

/* ─── ANIMATIONS ──────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
