/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --emerald-900: #022c22;
    --emerald-800: #047857;
    --emerald-700: #059669;
    --emerald-600: #10b981;
    --cream-50: #fafaf5;
    --cream-100: #f5f5ee;
    --cream-200: #e8e8dc;
    --cream-300: #d4d4c4;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.2; }

.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--emerald-800); color: #fff;
    padding: 0.5rem 1rem; border-radius: 0 0 4px 4px; z-index: 100;
    font-size: 0.875rem;
}
.skip-link:focus { top: 0; }

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

/* ── Header ── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(250, 250, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow 0.3s var(--ease-out);
}
.site-header.scrolled { box-shadow: 0 1px 20px rgba(4, 120, 87, 0.06); }

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

.logo {
    display: flex; align-items: center; gap: 0.625rem;
    font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em;
    color: var(--stone-900);
}
.logo-mark {
    width: 28px; height: 28px; border-radius: 6px;
    background: var(--emerald-800);
    background-image: linear-gradient(135deg, var(--emerald-700), var(--emerald-900));
    flex-shrink: 0;
}
.logo-text { font-family: var(--font-serif); font-size: 1.0625rem; }

.nav-menu {
    display: flex; align-items: center; gap: 0.25rem;
}
.nav-menu a {
    padding: 0.5rem 0.875rem; border-radius: 100px;
    font-size: 0.875rem; font-weight: 400; color: var(--stone-600);
    transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover { color: var(--emerald-800); background: rgba(4, 120, 87, 0.06); }
.nav-cta {
    background: var(--emerald-800) !important; color: #fff !important;
    font-weight: 500 !important; margin-left: 0.5rem;
    transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--emerald-700) !important; transform: translateY(-1px); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    width: 24px; padding: 4px 0;
}
.nav-toggle-bar {
    display: block; height: 1.5px; background: var(--stone-700);
    border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.8125rem 1.625rem; border-radius: 100px;
    font-size: 0.9375rem; font-weight: 500;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
}
.btn-primary {
    background: var(--emerald-800); color: #fff;
    box-shadow: 0 2px 12px rgba(4, 120, 87, 0.25);
}
.btn-primary:hover { background: var(--emerald-700); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(4, 120, 87, 0.3); }
.btn-ghost {
    background: transparent; color: var(--stone-600);
    border: 1px solid var(--cream-300);
}
.btn-ghost:hover { border-color: var(--emerald-800); color: var(--emerald-800); }
.btn-light {
    background: #fff; color: var(--emerald-900);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.btn-outline-light {
    background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-full { width: 100%; justify-content: center; }

/* ── Section shared ── */
.section-label {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--emerald-700);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-serif); font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--stone-900); margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.section-desc { font-size: 1.0625rem; color: var(--stone-500); max-width: 540px; }
.section-header { margin-bottom: 4rem; }

/* ── Hero ── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden; padding-top: 72px;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(4, 120, 87, 0.85) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(5, 150, 105, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 60% 80%, rgba(2, 44, 34, 0.5) 0%, transparent 50%),
        linear-gradient(160deg, #022c22 0%, #047857 40%, #059669 70%, #10b981 100%);
}
.hero-pattern {
    position: absolute; inset: 0; opacity: 0.04;
    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='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
    padding-top: 2rem; padding-bottom: 2rem;
}
.hero-content { color: #fff; }
.hero-eyebrow {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; opacity: 0.7; margin-bottom: 1.25rem;
}
.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400; line-height: 1.1;
    letter-spacing: -0.025em; margin-bottom: 1.5rem;
}
.hero-headline em { font-style: italic; opacity: 0.85; }
.hero-sub {
    font-size: 1.0625rem; line-height: 1.75;
    opacity: 0.8; margin-bottom: 2rem; max-width: 480px;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.8125rem; opacity: 0.65;
}
.trust-dot {
    width: 3px; height: 3px; border-radius: 50%;
    background: rgba(255,255,255,0.5); flex-shrink: 0;
}
.hero-image {
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 32px 64px rgba(0,0,0,0.3);
    aspect-ratio: 6/7;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Services ── */
.services {
    padding: 7rem 0;
    background: var(--cream-50);
}
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
    padding: 2rem; border-radius: 16px;
    background: #fff; border: 1px solid var(--cream-200);
    transition: all 0.3s var(--ease-out);
}
.service-card:hover {
    border-color: var(--emerald-600);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(4, 120, 87, 0.1);
}
.service-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(4, 120, 87, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--emerald-700); margin-bottom: 1.25rem;
    transition: background 0.2s;
}
.service-card:hover .service-icon { background: var(--emerald-800); color: #fff; }
.service-card h3 {
    font-family: var(--font-serif); font-size: 1.1875rem;
    color: var(--stone-900); margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}
.service-card p { font-size: 0.9375rem; color: var(--stone-500); line-height: 1.7; }

/* ── About ── */
.about {
    padding: 7rem 0;
    background: var(--cream-100);
}
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
    border-radius: 16px; width: 100%; height: 100%; object-fit: cover;
    box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}
.about-accent {
    position: absolute; bottom: -1.5rem; right: -1.5rem;
    width: 120px; height: 120px; border-radius: 16px;
    background: var(--emerald-800); opacity: 0.1;
    z-index: -1;
}
.about-content .section-title { margin-bottom: 1.5rem; }
.about-content p {
    font-size: 1rem; color: var(--stone-600); margin-bottom: 1rem;
    line-height: 1.8;
}
.about-stats {
    display: flex; gap: 2.5rem; margin-top: 2.5rem;
    padding-top: 2rem; border-top: 1px solid var(--cream-200);
}
.stat-number {
    display: block; font-family: var(--font-serif);
    font-size: 1.75rem; color: var(--emerald-800);
    margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.8125rem; color: var(--stone-500); }

/* ── Why ── */
.why {
    padding: 7rem 0;
    background: var(--stone-900);
    color: #fff;
}
.why .section-label { color: var(--emerald-600); }
.why .section-title { color: #fff; }
.why-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.why-item {
    padding: 2.5rem; border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s, border-color 0.3s;
}
.why-item:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(16, 185, 129, 0.3);
}
.why-number {
    font-family: var(--font-serif); font-size: 3rem;
    color: var(--emerald-700); opacity: 0.3;
    line-height: 1; margin-bottom: 1rem;
}
.why-item h3 {
    font-family: var(--font-serif); font-size: 1.25rem;
    color: #fff; margin-bottom: 0.625rem;
}
.why-item p { font-size: 0.9375rem; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* ── CTA ── */
.cta {
    position: relative; padding: 7rem 0; overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 30% 50%, rgba(16, 185, 129, 0.5) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(4, 120, 87, 0.4) 0%, transparent 60%),
        linear-gradient(135deg, #022c22 0%, #047857 50%, #059669 100%);
}
.cta .container { position: relative; z-index: 1; text-align: center; }
.cta-content { max-width: 640px; margin: 0 auto; }
.cta .section-label { color: rgba(255,255,255,0.6); }
.cta-title {
    font-family: var(--font-serif); font-size: clamp(2rem, 4.5vw, 3rem);
    color: #fff; margin-bottom: 1rem; letter-spacing: -0.02em;
}
.cta-desc {
    font-size: 1.0625rem; color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem; line-height: 1.75;
}
.cta-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ── Contact ── */
.contact {
    padding: 7rem 0;
    background: var(--cream-50);
}
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
}
.contact-desc { font-size: 1rem; color: var(--stone-500); margin-bottom: 2.5rem; line-height: 1.75; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item dt {
    display: flex; align-items: center; gap: 0.625rem;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--stone-400);
    margin-bottom: 0.375rem;
}
.contact-item dt svg { color: var(--emerald-700); }
.contact-item dd { font-size: 1rem; color: var(--stone-700); }
.contact-item dd a {
    color: var(--stone-700); transition: color 0.2s;
}
.contact-item dd a:hover { color: var(--emerald-800); }

/* ── Form ── */
.contact-form-wrap {
    background: #fff; border-radius: 20px; padding: 2.5rem;
    border: 1px solid var(--cream-200);
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block; font-size: 0.8125rem; font-weight: 500;
    color: var(--stone-600); margin-bottom: 0.375rem;
    letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea {
    width: 100%; padding: 0.75rem 1rem;
    border: 1px solid var(--cream-200); border-radius: 10px;
    font-family: var(--font-sans); font-size: 0.9375rem;
    color: var(--stone-800); background: var(--cream-50);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--stone-400); }
.form-group textarea { resize: vertical; }
.form-success {
    display: flex; align-items: center; gap: 0.625rem;
    padding: 1rem 1.25rem; border-radius: 10px;
    background: rgba(4, 120, 87, 0.08); color: var(--emerald-800);
    font-size: 0.9375rem; margin-top: 1rem;
}
.form-success svg { flex-shrink: 0; }

/* ── Footer ── */
.site-footer {
    background: var(--stone-900); color: rgba(255,255,255,0.5);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; max-width: 280px; }
.footer-links h4, .footer-contact h4 {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.35);
    margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
    font-size: 0.9375rem; color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--emerald-600); }
.footer-contact p { font-size: 0.9375rem; margin-bottom: 0.375rem; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact a:hover { color: var(--emerald-600); }
.footer-bottom {
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8125rem;
}

/* ── Scroll Animations ── */
.fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-image { order: 0; max-width: 480px; margin: 0 auto; aspect-ratio: 4/3; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-image-wrap { max-width: 480px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 72px; left: 0; right: 0;
        background: rgba(250, 250, 245, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column; padding: 1.5rem;
        border-bottom: 1px solid var(--cream-200);
        transform: translateY(-10px); opacity: 0;
        pointer-events: none;
        transition: transform 0.3s var(--ease-out), opacity 0.2s;
    }
    .nav-menu.open {
        transform: translateY(0); opacity: 1; pointer-events: all;
    }
    .nav-menu a { padding: 0.75rem 1rem; width: 100%; }
    .nav-cta { margin-left: 0 !important; text-align: center; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: column; gap: 1.25rem; }
    .hero-image { aspect-ratio: 16/9; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form-wrap { padding: 1.5rem; }
}
