:root {
  --green: #1f3d2b; --green-2: #2d5a3f; --cream: #faf6ee; --tan: #e9dfcb; --gold: #b8862f;
  --ink: #1c1c1a; --muted: #5e5b52; --line: #e3dccd; --white: #fff; --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 61, 43, .10);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--cream); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.15; margin: 0 0 .5rem; color: var(--green); }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--green-2); }
img, svg { max-width: 100%; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.demo-bar { background: var(--gold); color: #fff; text-align: center; font-size: .85rem; padding: .4rem 1rem; font-weight: 600; }
header.site { background: var(--green); color: #fff; position: sticky; top: 0; z-index: 20; }
header.site .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; }
.brand svg { width: 34px; height: 34px; }
nav.main { margin-left: auto; display: flex; gap: .25rem; }
nav.main a { color: #e8efe9; text-decoration: none; padding: .55rem .75rem; border-radius: 8px; font-size: .95rem; }
nav.main a:hover, nav.main a[aria-current] { background: rgba(255,255,255,.12); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: .5rem .75rem; font-size: 1rem; min-height: 44px; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  nav.main { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--green); flex-direction: column; padding: .5rem 1rem 1rem; }
  nav.main.open { display: flex; }
  nav.main a { padding: .85rem .75rem; }
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .7rem 1.2rem; border-radius: 10px; border: 0; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.hero { background: linear-gradient(160deg, var(--green) 0%, #2b5139 60%, #3d6b4c 100%); color: #fff; padding: 3.5rem 0 4.5rem; position: relative; overflow: hidden; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p.lead { font-size: 1.15rem; color: #dfe9e1; max-width: 46ch; }
.hero .fence { position: absolute; right: -40px; bottom: -10px; width: 520px; opacity: .12; }
.search { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: .6rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: .5rem; margin-top: 1.5rem; max-width: 900px; }
.search label { display: flex; flex-direction: column; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .35rem .6rem; border-radius: 8px; }
.search input, .search select { border: 0; font: inherit; font-size: 1rem; color: var(--ink); padding: .25rem 0; background: transparent; min-height: 32px; width: 100%; }
.search input:focus, .search select:focus { outline: none; }
.search label:focus-within { background: #f3efe5; }
@media (max-width: 760px) { .search { grid-template-columns: 1fr; } .search .btn { width: 100%; } }
.states { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: 999px; font-size: .85rem; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.chip.live { background: var(--gold); border-color: var(--gold); font-weight: 600; }
.chip.soon { opacity: .75; }
section.block { padding: 3.5rem 0; }
section.alt { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin: 0; max-width: 60ch; }
.grid { display: grid; gap: 1rem; }
.cats { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cat { display: flex; gap: .9rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--tan); display: grid; place-items: center; }
.cat .ico svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat strong { display: block; color: var(--green); }
.cat small { color: var(--muted); }
.cat .count { margin-left: auto; font-size: .8rem; color: var(--muted); }
.cards { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; transition: box-shadow .15s; }
.card:hover { box-shadow: var(--shadow); }
.card .top { height: 92px; position: relative; display: flex; align-items: end; padding: .75rem 1rem; color: #fff; }
.card .top svg { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; stroke: rgba(255,255,255,.55); fill: none; stroke-width: 1.6; }
.card .body { padding: 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card h3 { margin: 0; }
.meta { font-size: .88rem; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.badge { font-size: .72rem; font-weight: 600; padding: .2rem .5rem; border-radius: 6px; background: #eef3ef; color: var(--green-2); }
.badge.gold { background: #f6ecd8; color: #8a6014; }
.badge.red { background: #fbe9e7; color: #9b2c1f; }
.badge.sample { background: #eee; color: #666; }
.stars { color: var(--gold); font-weight: 700; font-size: .9rem; }
.stars span { color: var(--muted); font-weight: 400; }
.events { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.event { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; display: flex; gap: 1rem; }
.date { flex: none; width: 60px; text-align: center; background: var(--green); color: #fff; border-radius: 10px; padding: .4rem 0; }
.date b { display: block; font-size: 1.5rem; font-family: Georgia, serif; line-height: 1.1; }
.date small { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--green); color: #fff; border-radius: 20px; padding: 2rem; }
.panel h2, .panel h3 { color: #fff; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: flex; gap: .9rem; align-items: start; }
.steps li::before { content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-weight: 700; }
.note { font-size: .85rem; color: var(--muted); background: #fff8e8; border-left: 4px solid var(--gold); padding: .75rem 1rem; border-radius: 8px; }
.panel .note { color: #f3eedf; background: rgba(255,255,255,.08); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stats b { display: block; font-family: Georgia, serif; font-size: 2rem; color: var(--green); }
.stats span { color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.pricing { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.plan.best { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.plan ul { padding-left: 1.1rem; margin: .5rem 0 1rem; color: var(--muted); }
.plan .price { font-family: Georgia, serif; font-size: 1.9rem; color: var(--green); }
.plan .price small { font-size: .9rem; color: var(--muted); font-family: inherit; }
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; position: sticky; top: 80px; }
@media (max-width: 860px) { .filters { position: static; } }
.filters fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.filters legend { font-weight: 700; color: var(--green); margin-bottom: .4rem; }
.filters label { display: flex; gap: .5rem; align-items: center; padding: .3rem 0; font-size: .95rem; min-height: 36px; }
.filters select, .field input, .field select, .field textarea { width: 100%; font: inherit; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-height: 44px; }
.toolbar { display: flex; gap: .75rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.toolbar input { flex: 1; min-width: 200px; font: inherit; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; min-height: 46px; }
.result-count { color: var(--muted); font-size: .9rem; }
.form { display: grid; gap: 1rem; max-width: 640px; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.horse { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.horse .pic { height: 150px; display: grid; place-items: center; }
.horse .pic svg { width: 120px; fill: rgba(255,255,255,.85); }
.horse .body { padding: 1rem; }
.fund-meter { background: rgba(255,255,255,.15); border-radius: 999px; height: 12px; overflow: hidden; margin: .5rem 0; }
.fund-meter i { display: block; height: 100%; background: var(--gold); }
footer.site { background: #142a1d; color: #b8c7bd; padding: 2.5rem 0; font-size: .9rem; }
footer.site a { color: #dfe9e1; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 700px) { footer.site .cols { grid-template-columns: 1fr; } }
.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .85rem 1.2rem; border-radius: 10px; box-shadow: var(--shadow); max-width: calc(100% - 2rem); z-index: 50; }
.detail-hero { padding: 2.5rem 0; color: #fff; }
.detail-hero h1 { color: #fff; }
.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; }
@media (max-width: 820px) { .detail { grid-template-columns: 1fr; } }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.map { height: 200px; border-radius: 10px; background: repeating-linear-gradient(45deg, #e8efe6, #e8efe6 12px, #dfe8dc 12px, #dfe8dc 24px); display: grid; place-items: center; color: var(--muted); font-size: .9rem; }
.empty { text-align: center; color: var(--muted); padding: 3rem 1rem; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
