:root {
    --ink: #1c231e;
    --ink-soft: #4a544c;
    --paper: #f6f3ec;
    --paper-alt: #efeadf;
    --card: #fffdf8;
    --green: #223a2e;
    --green-deep: #16271e;
    --accent: #8a6d3b;
    --line: #ddd6c7;
    --white: #ffffff;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(28,35,30,.05), 0 8px 24px rgba(28,35,30,.06);
    --maxw: 1140px;
    --serif: "Fraunces", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.22rem; }
p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .5rem; padding: .82rem 1.5rem; border-radius: 999px;
    font-weight: 600; font-size: .96rem; cursor: pointer; border: 1px solid transparent;
    transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-block { width: 100%; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246,243,236,.82); backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent; transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(246,243,236,.94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.logo-mark {
    width: 34px; height: 34px; border-radius: 9px; background: var(--green);
    color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem;
}
.logo-text { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.logo-light .logo-text, .logo-light { color: var(--paper); }

.nav { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-link { font-size: .95rem; font-weight: 500; color: var(--ink-soft); transition: color .2s ease; }
.nav-link:hover { color: var(--ink); }
.nav-cta { padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.nav-cta:hover { border-color: var(--green); color: var(--green); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; }
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; content: "";
}
.hamburger { position: relative; margin: 0 auto; }
.hamburger::before { position: absolute; top: -7px; }
.hamburger::after { position: absolute; top: 7px; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.hero-lead { font-size: 1.12rem; margin: 1.3rem 0 2rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--paper-alt); }
.section-header { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.section-subtitle { margin-top: .9rem; font-size: 1.05rem; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem 1.6rem; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(28,35,30,.1); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .96rem; }
.note { text-align: center; margin-top: 2.4rem; font-size: .9rem; color: var(--ink-soft); }

/* About */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-media img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-content h2 { margin: .8rem 0 1.2rem; }
.about-content p { margin-bottom: 1rem; }
.facts { list-style: none; margin-top: 1.8rem; display: grid; gap: 1rem; }
.facts li { display: grid; gap: .15rem; padding-left: 1.2rem; border-left: 2px solid var(--accent); }
.facts strong { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.facts span { color: var(--ink-soft); font-size: .96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--paper); font-family: var(--serif); font-size: 1.15rem; margin-bottom: 1rem; }
.step h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.step p { font-size: .93rem; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-intro h2 { margin: .8rem 0 1.1rem; }
.contact-details { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.contact-details p { font-size: .95rem; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.field input, .field textarea {
    width: 100%; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-family: inherit; font-size: .96rem; color: var(--ink); background: var(--white); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,58,46,.1); }
.field textarea { resize: vertical; }
.form-note { margin-top: 1rem; font-size: .82rem; color: var(--ink-soft); }
.form-note a { color: var(--green); text-decoration: underline; }

/* Footer */
.site-footer { background: var(--green-deep); color: var(--paper); padding: 3.5rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand p { color: rgba(246,243,236,.72); font-size: .93rem; margin-top: 1rem; }
.footer-nav h3, .footer-info h3 { color: var(--paper); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--sans); font-weight: 600; }
.footer-nav ul { list-style: none; display: grid; gap: .6rem; }
.footer-nav a { color: rgba(246,243,236,.72); font-size: .95rem; transition: color .2s ease; }
.footer-nav a:hover { color: var(--paper); }
.footer-info p { color: rgba(246,243,236,.72); font-size: .93rem; margin-bottom: .45rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; border-top: 1px solid rgba(246,243,236,.15); }
.footer-bottom p { color: rgba(246,243,236,.6); font-size: .86rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(246,243,236,.72); font-size: .86rem; }
.footer-legal a:hover { color: var(--paper); }

/* Legal pages */
.legal { padding: clamp(3rem, 6vw, 5rem) 0; }
.legal-inner { max-width: 800px; margin: 0 auto; }
.legal h1 { margin-bottom: .5rem; }
.legal .updated { color: var(--ink-soft); font-size: .9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 .8rem; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: .9rem; }
.legal ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal a { color: var(--green); text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
    .hero-inner, .about, .contact-wrap { grid-template-columns: 1fr; }
    .hero-media, .about-media { order: -1; }
    .cards-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .nav-menu {
        position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem 24px;
        transform: translateY(-120%); transition: transform .3s ease; z-index: 40;
    }
    .nav-menu.active { transform: translateY(0); }
    .nav-menu li { width: 100%; }
    .nav-link, .nav-cta { display: block; padding: .8rem 0; width: 100%; border: none; }
    .nav-cta { border-top: 1px solid var(--line); border-radius: 0; }
    .mobile-menu-btn { display: block; }
    .cards-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
}
