:root {
    --pine-950: #0b2118;
    --pine-900: #123326;
    --pine-800: #173c2d;
    --pine-700: #24553f;
    --cream: #f5f0e4;
    --paper: #fffdf8;
    --gold: #d4ad5b;
    --ink: #17231d;
    --muted: #657168;
    --line: #d8ded9;
    --danger: #a12d2d;
    --success: #1c7149;
    --shadow: 0 28px 80px rgba(4, 20, 13, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--pine-950);
    color: var(--ink);
    font-family: "Inter", system-ui, sans-serif;
}
body.modal-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.site-shell { min-height: calc(100vh - 68px); }
.hero {
    position: relative;
    min-height: calc(100vh - 68px);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 48px 20px;
    background:
        linear-gradient(110deg, rgba(7, 28, 20, .97) 10%, rgba(15, 50, 36, .9) 55%, rgba(25, 67, 49, .72)),
        radial-gradient(circle at 80% 20%, rgba(212, 173, 91, .22), transparent 34%),
        var(--pine-900);
}
.hero::before,
.hero::after,
.hero__forest::before,
.hero__forest::after {
    content: "";
    position: absolute;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 140px solid transparent;
    border-right: 140px solid transparent;
    border-bottom: 430px solid rgba(5, 25, 17, .52);
    filter: drop-shadow(170px 60px 0 rgba(8, 34, 24, .42)) drop-shadow(340px 5px 0 rgba(7, 29, 21, .58));
}
.hero::before { right: 8%; transform: scale(.8); transform-origin: bottom; }
.hero::after { right: 42%; transform: scale(.55); opacity: .5; }
.hero__forest::before { left: -80px; transform: scale(.7); opacity: .45; }
.hero__forest::after { left: 35%; transform: scale(.45); opacity: .35; }

.hero__content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    padding: clamp(30px, 6vw, 68px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    background: rgba(255, 253, 248, .96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}
.eyebrow {
    margin: 0 0 10px;
    color: var(--pine-700);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
h1, h2 { font-family: "Lora", Georgia, serif; color: var(--pine-900); }
h1 { margin: 0; font-size: clamp(2.7rem, 8vw, 5.2rem); line-height: .98; letter-spacing: -.04em; }
h2 { margin: 0; font-size: clamp(1.75rem, 5vw, 2.35rem); line-height: 1.15; }
.intro { max-width: 610px; margin: 22px 0 0; color: #45534a; font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.7; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px 0; }
.details__item { padding: 20px; border-left: 3px solid var(--gold); background: #f6f4ec; border-radius: 0 12px 12px 0; }
.details__label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.details p, address { margin: 0; font-style: normal; font-weight: 600; line-height: 1.55; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--pine-800);
    color: white;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(23, 60, 45, .22);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--pine-700); box-shadow: 0 14px 28px rgba(23, 60, 45, .28); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, .modal__close:focus-visible { outline: 3px solid rgba(212, 173, 91, .7); outline-offset: 3px; }
.button--full { width: 100%; }
.button[disabled] { cursor: wait; opacity: .72; transform: none; }
.button__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.button.is-loading .button__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.site-footer { min-height: 68px; display: grid; place-items: center; padding: 18px; background: #071810; color: rgba(255,255,255,.67); text-align: center; font-size: .82rem; }
.site-footer p { margin: 0; }

.modal { position: fixed; inset: 0; z-index: 20; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 15, 10, .78); backdrop-filter: blur(5px); }
.modal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: clamp(24px, 5vw, 42px);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: var(--shadow);
}
.modal__close { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #eef1ed; color: var(--pine-900); font-size: 1.65rem; line-height: 1; }
.modal__intro { margin: 12px 44px 24px 0; color: var(--muted); line-height: 1.55; }
.form-grid { display: grid; gap: 16px; }
.form-grid--two { grid-template-columns: 1fr 1fr; }
.field { margin-bottom: 17px; }
.field label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-size: .88rem; font-weight: 700; color: var(--pine-900); }
.field label span { color: var(--muted); font-size: .75rem; font-weight: 500; }
.field label strong { color: var(--pine-700); font-size: .75rem; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); padding: 12px 13px; transition: border-color .18s ease, box-shadow .18s ease; }
input { min-height: 48px; }
textarea { resize: vertical; min-height: 138px; }
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 173, 91, .14); outline: none; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.turnstile-wrap { min-height: 65px; margin: 4px 0 12px; }
.consent { margin: 0 0 16px; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.form-status { display: none; margin: 0 0 16px; padding: 12px 14px; border-radius: 9px; font-size: .88rem; line-height: 1.5; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: #e7f5ed; color: var(--success); }
.form-status.is-error { background: #f9eaea; color: var(--danger); }

.form-success {
    padding: 44px 18px 24px;
    text-align: center;
}

.form-success[hidden] {
    display: none;
}

.form-success__icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    place-items: center;
    border-radius: 50%;
    background: #e7f5ed;
    color: var(--success);
    font-size: 2.2rem;
    font-weight: 700;
}

.form-success h2 {
    margin: 0 0 14px;
}

.form-success p:not(.eyebrow) {
    max-width: 470px;
    margin: 0 auto 26px;
    color: var(--muted);
    line-height: 1.65;
}

.form-success .button {
    min-width: 190px;
}

.notice { margin: 0 0 20px; padding: 12px 14px; border-radius: 9px; font-size: .84rem; line-height: 1.5; }
.notice--warning { background: #fff1cf; color: #71520d; }
.notice code { font-size: .8em; }

@media (max-width: 650px) {
    .hero { align-items: start; padding-top: 28px; }
    .hero__content { border-radius: 18px; }
    .details, .form-grid--two { grid-template-columns: 1fr; }
    .details { gap: 12px; margin: 26px 0; }
    .modal { padding: 0; align-items: stretch; }
    .modal__dialog { width: 100%; max-height: 100vh; border-radius: 0; padding-top: 52px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

#contact-form-panel[hidden] {
    display: none;
}

@media (max-width: 650px) {
    .form-success {
        padding: 72px 12px 32px;
    }
}