/* --c-* come from config.js (set inline by demo.js); dark mode swaps what they feed. */
:root { --main: var(--c-main); --head: var(--c-main); --accent: var(--c-accent); --bg: var(--c-bg); --ink: #1d1d1b; --muted: #5c5a55;
  --line: rgba(0,0,0,.12); --card: #fff; --field-line: #b8b2a6; color-scheme: light; }
:root[data-theme=dark] { --bg: #141413; --ink: #ecebe8; --muted: #a9a7a1; --line: rgba(255,255,255,.14); --card: #1e1e1c;
  --field-line: #4a4844; --head: color-mix(in srgb, var(--c-accent) 70%, #fff); color-scheme: dark; }
.theme { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.theme svg { width: 18px; height: 18px; }
[data-theme=dark] .theme .moon, [data-theme=light] .theme .sun { display: none; }
.top .wrap > div { display: flex; gap: 8px; align-items: center; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.01em; line-height: 1.1; }
h2 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 18px; color: var(--head); }
section.wrap { margin: 56px auto; }

.top { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-family: Georgia, serif; font-size: 19px; }
.logo span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--main); color: #fff; font-size: 15px; letter-spacing: .02em; }

.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 13px 24px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.1); }
.btn.small { padding: 8px 16px; font-size: 15px; }
.btn.light { background: #fff; color: #1d1d1b; }
.btn.full { grid-column: 1 / -1; justify-self: start; }

.hero { margin: 0; min-height: 70vh; display: flex; align-items: flex-end; background: center/cover; color: #fff; padding: 64px 0 48px; }
.hero h1 { font-size: clamp(40px, 9vw, 76px); margin: 0 0 8px; }
.hero p { font-size: 20px; margin: 0 0 24px; max-width: 34ch; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.intro p { font-size: 20px; max-width: 60ch; margin: 0; }

.items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.items li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.items p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.items span { font-weight: 800; color: var(--head); white-space: nowrap; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; background: var(--line); }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; } }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.reviews figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stars { color: #e3a008; letter-spacing: 2px; }
blockquote { margin: 8px 0; }
figcaption { color: var(--muted); font-size: 15px; font-weight: 600; }

.two { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
td { text-align: right; }
.addr { color: var(--muted); }
iframe { width: 100%; height: 300px; border: 0; border-radius: 14px; background: var(--line); }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form label.full { grid-column: 1 / -1; }
input, select, textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--bg); width: 100%; color: var(--ink); }
textarea { min-height: 100px; }
.sent { grid-column: 1 / -1; margin: 0; padding: 12px; border-radius: 10px; background: var(--bg); font-weight: 600; }

footer { padding: 24px 16px 96px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
