:root {
    --brown: #3b2314;
    --brown-2: #5a3720;
    --gold: #b8873b;
    --gold-soft: #e9d8b8;
    --green: #3f5a2a;
    --cream: #fbf7f0;
    --paper: #ffffff;
    --text: #2b1d14;
    --muted: #6f6157;
    --line: #eadfce;
    --radius: 14px;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown-2); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--brown); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 46ch; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--brown);
    color: #fff;
    padding: .8em 1.6em;
    border-radius: 999px;
    border: 1px solid var(--brown);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    transition: background .2s, color .2s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-ghost { background: transparent; color: var(--brown); }
.btn-sm { padding: .55em 1.2em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 247, 240, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand span { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--brown); line-height: 1; }
.brand small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 4px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--brown); border-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brown); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--gold); font-weight: 600; }
.hero-logo img { width: min(360px, 100%); margin: 0 auto; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 36px; }
.page-head { padding: 56px 0 8px; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-head .container { padding-bottom: 32px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    display: flex; flex-direction: column;
}
.card p { color: var(--muted); font-size: .95rem; }
.cards-service .card .btn { align-self: flex-start; margin-top: auto; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }

.cta { text-align: center; }
.cta-inner h2 { max-width: 22ch; margin: 0 auto 24px; }

/* Prose (policies/about) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.note { margin: 48px auto 0; }
.info-table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; background: var(--paper); }
.info-table th, .info-table td { text-align: left; padding: 10px 14px; border: 1px solid var(--line); vertical-align: top; }
.info-table th { background: #f6efe3; color: var(--brown); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info h3 { font-size: 1.15rem; margin-top: 1.2em; margin-bottom: .3em; }
.contact-info h3:first-child { margin-top: 0; }
.form { display: grid; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; color: var(--brown); }
.form input, .form select, .form textarea {
    font: inherit; font-weight: 400; color: var(--text);
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--line); border-radius: 10px; background: var(--cream);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 16px; font-size: .95rem; }
.alert-ok { background: #edf4e6; color: var(--green); border: 1px solid #cfe0bf; }
.alert-err { background: #fbecea; color: #8a2a1d; border: 1px solid #efc9c3; }

/* Footer */
.site-footer { background: var(--brown); color: #e9ddcc; padding: 56px 0 0; margin-top: 0; font-size: .93rem; }
.site-footer h4 { color: var(--gold-soft); font-size: 1.2rem; }
.site-footer a { color: #e9ddcc; text-decoration: none; display: block; margin-bottom: 6px; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .muted { color: #c7b6a0; }
.footer-logo { background: var(--cream); border-radius: 50%; padding: 4px; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 40px; padding: 18px 20px; font-size: .82rem; color: #c7b6a0;
}

/* Mobile */
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: var(--cream); border-bottom: 1px solid var(--line);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .site-nav a { padding: 14px 20px; border-bottom: 1px solid var(--line); }
    .site-nav a.active { border-color: var(--line); background: #f6efe3; }
    .site-nav.open { max-height: 320px; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { padding: 40px 0 48px; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-logo { order: -1; }
    .hero-logo img { width: 220px; }
    .lead { margin-left: auto; margin-right: auto; }
    .btn-row { justify-content: center; }
    .features { grid-template-columns: 1fr; gap: 20px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 48px 0; }
}
@media (max-width: 520px) {
    .container { padding: 0 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form { padding: 20px; }
    .info-table th, .info-table td { padding: 8px 10px; }
}
