:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #f8f3e8;
    --cream-800: #1c1917;
    --cream-900: #0c0a09;
    --gray-100: #f5f5f4;
    --gray-200: #e7e5e4;
    --gray-300: #d6d3d1;
    --gray-400: #a8a29e;
    --gray-500: #78716c;
    --gray-600: #57534e;
    --gray-700: #3f3f3f;
    --gray-800: #292524;
    --white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

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

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--cream-900);
    margin-bottom: 20px;
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 0;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

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

.btn-outline {
    background: transparent;
    color: var(--cream-800);
    border-color: var(--gray-300);
}
.btn-outline:hover { border-color: var(--emerald-600); color: var(--emerald-700); }

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

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}
.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 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--cream-900);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.main-nav a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s ease;
}
.main-nav a:hover { color: var(--emerald-600); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--cream-800);
    transition: all 0.3s ease;
}

/* ── Hero ── */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.08;
    color: var(--cream-900);
    margin-bottom: 24px;
}

.text-emerald { color: var(--emerald-600); }

.hero-sub {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 440px;
}

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

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card {
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.hero-card--main {
    width: 100%;
    max-width: 400px;
}
.hero-card--main img { width: 100%; height: 520px; object-fit: cover; }

.hero-card--accent {
    max-width: 300px;
    align-self: flex-end;
}
.hero-card--accent img { width: 100%; height: 200px; object-fit: cover; }

.card-stat {
    background: var(--emerald-600);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.card-stat .stat-number {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1;
}
.card-stat .stat-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald-200);
}

/* ── Services ── */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease-out);
}
.service-card:hover {
    border-color: var(--emerald-200);
    box-shadow: 0 12px 40px rgba(5, 150, 105, 0.08);
    transform: translateY(-4px);
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
    color: var(--emerald-600);
}
.service-icon svg { width: 100%; height: 100%; }

.service-title {
    font-size: 1.3rem;
    color: var(--cream-900);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ── About ── */
.about { padding: 100px 0; }

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

.about-image-wrapper { overflow: hidden; }
.about-image-wrapper img { width: 100%; height: 640px; object-fit: cover; }

.about-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.about-stat { display: flex; flex-direction: column; gap: 4px; }
.about-stat .stat-number {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--cream-900);
    line-height: 1;
}
.about-stat .stat-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-400);
}

/* ── Gallery ── */
.gallery {
    padding: 100px 0;
    background: var(--cream-100);
}

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

.gallery-item { overflow: hidden; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }

/* ── CTA / Contact ── */
.cta { padding: 100px 0; }

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--emerald-600);
    overflow: hidden;
}

.cta-content {
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-content .section-eyebrow { color: var(--emerald-200); }
.cta-content .section-title { color: var(--white); }
.cta-text {
    font-size: 1rem;
    color: var(--emerald-100);
    line-height: 1.7;
    max-width: 400px;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.cta-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.cta-contact-item:hover { opacity: 0.75; }
.cta-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.8; }

.cta-form-wrapper {
    background: var(--white);
    padding: 64px 56px;
}

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

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--cream-800);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--emerald-600); }

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    margin-top: 16px;
    color: var(--emerald-600);
    font-size: 0.9rem;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Footer ── */
.site-footer {
    padding: 64px 0 32px;
    background: var(--cream-900);
    color: var(--gray-400);
}

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

.footer-brand .logo { color: var(--white); margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 0.88rem; color: var(--gray-500); }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--emerald-400); }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact a {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact a:hover { color: var(--emerald-400); }

.footer-bottom {
    padding-top: 24px;
    font-size: 0.75rem;
    color: var(--gray-600);
}

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

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--gray-200);
        padding: 24px;
        transform: translateY(-120%);
        transition: transform 0.4s var(--ease-out);
        z-index: 99;
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav ul { flex-direction: column; gap: 20px; }
    .main-nav a { font-size: 0.9rem; }

    .hero { padding-top: 110px; padding-bottom: 60px; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; flex-direction: row; flex-wrap: wrap; }
    .hero-card--main { max-width: 100%; }
    .hero-card--main img { height: 360px; }
    .hero-card--accent { display: none; }
    .card-stat { flex: 1; min-width: 140px; }

    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrapper img { height: 400px; }
    .about-stats { gap: 32px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }

    .cta-card { grid-template-columns: 1fr; }
    .cta-content { padding: 56px 32px; }
    .cta-form-wrapper { padding: 48px 32px; }

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

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero-headline { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item img { height: 320px; }
}

/* ── Scroll Reveal ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}
