/* Boerseun Boomslopings. When this file changes, bump ASSET_V in tools/build.py. */
:root {
  --bg: #f6f4ef; --card: #ffffff; --alt: #ece8df; --fg: #1f2a1f; --muted: #55605a;
  --accent: #b3261e; --accent-fg: #ffffff; --line: #d9d4c7; --focus: #1a56db;
  --header-h: 64px; --sticky-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131913; --card: #1b231b; --alt: #181f18; --fg: #eef1ea; --muted: #a8b2a8;
    --accent: #ff7b6e; --accent-fg: #1a0c0b; --line: #2c372c; --focus: #8ab4ff;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { margin: 0 0 12px; font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -.02em; }
h2 { margin: 0 0 14px; font-size: clamp(1.4rem, 3.5vw, 1.8rem); }
h3 { margin: 0 0 6px; font-size: 1.1rem; }
p { margin: 0 0 14px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 16px; }
.prose > *, .narrow > * { max-width: 46rem; }
.narrow > * { max-width: 40rem; }
.section { padding: 44px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--alt); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--card); color: var(--fg); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 12px 20px; border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-fg); font: inherit; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; }
.btn-alt { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-sm { padding: 8px 14px; font-size: .95rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { max-width: 68rem; margin: 0 auto; padding: 0 16px; min-height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--fg); text-decoration: none; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.nav-desktop { display: none; align-items: center; gap: 4px; }
.nav-desktop > a, .dd > summary { padding: 8px 12px; border-radius: 8px; color: var(--fg); text-decoration: none; font-weight: 600; cursor: pointer; list-style: none; }
.nav-desktop > a:hover, .dd > summary:hover { background: var(--alt); }
.nav-desktop [aria-current="page"], .dd.has-current > summary { color: var(--accent); }
.dd { position: relative; }
.dd > summary::-webkit-details-marker, .menu > summary::-webkit-details-marker { display: none; }
.dd > summary::after { content: " ▾"; font-size: .8em; }
.dd ul { position: absolute; top: calc(100% + 6px); left: 0; min-width: 14rem; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.dd li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--fg); text-decoration: none; font-weight: 600; }
.dd li a:hover { background: var(--alt); }
.dd li a[aria-current="page"] { color: var(--accent); }
.call-top { display: none; }
.menu { position: static; }
.menu > summary { list-style: none; cursor: pointer; padding: 9px 16px; border-radius: 8px; border: 2px solid var(--accent); color: var(--accent); font-weight: 700; }
.menu[open] > summary { background: var(--accent); color: var(--accent-fg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 14px 24px rgba(0,0,0,.18); max-height: calc(100vh - var(--header-h) - var(--sticky-h)); overflow: auto; }
.menu-panel a { padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; font-weight: 600; }
.menu-panel a[aria-current="page"] { color: var(--accent); }
@media (min-width: 62rem) {
  .nav-desktop { display: flex; }
  .call-top { display: inline-block; }
  .menu { display: none; }
  .brand { margin-right: 12px; }
  .bar { gap: 8px; }
  .nav-desktop { margin-right: auto; }
}

/* ---------- hero ---------- */
.hero { padding: 40px 0 28px; }
.hero.small { padding: 28px 0 24px; }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.hero-photo img { display: block; width: 100%; max-width: 414px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.badges { display: grid; gap: 12px; list-style: none; padding: 0; margin: 28px 0 0; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.badges li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.badges strong { display: block; font-size: 1.2rem; color: var(--accent); }
.badges span { color: var(--muted); font-size: .95rem; }
.badges + .trust { margin-top: 18px; }
@media (max-width: 40rem) {
  .badges { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
  .badges li { padding: 10px 6px; text-align: center; }
  .badges strong { font-size: .98rem; }
  .badges span { font-size: .8rem; }
}
.lead { margin: 0 0 12px; color: var(--muted); font-size: 1.15rem; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 18px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); color: var(--muted); }
.trust strong { color: var(--fg); }
@media (min-width: 52rem) {
  .hero { padding: 56px 0 36px; }
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 40px; }
  .hero-photo { justify-self: end; width: 100%; max-width: 414px; }
}

/* ---------- breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--fg); font-weight: 600; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.cards li, .card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.cards li:not(:has(.card-link)) { padding: 18px; }
.cards p { margin: 0; color: var(--muted); }
.card-link { display: block; height: 100%; padding: 18px; color: var(--fg); text-decoration: none; border-radius: 12px; }
.card-link:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.card-link span { display: inline-block; margin-top: 10px; color: var(--accent); font-weight: 700; }
.card-link span::after { content: " →"; }

.steps { display: grid; gap: 14px; padding-left: 0; margin: 0; list-style: none; counter-reset: s; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.steps li { counter-increment: s; padding: 18px 18px 18px 64px; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg); font-weight: 800; }

/* ---------- gallery & reviews ---------- */
.gallery { display: grid; gap: 8px; padding: 0; margin: 0 0 12px; list-style: none; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
@media (min-width: 52rem) { .gallery { grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); } }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--line); }
.reviews { display: grid; gap: 14px; padding: 0; margin: 0 0 14px; list-style: none; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.review { margin: 0; height: 100%; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; }
.review blockquote { margin: 8px 0 12px; flex: 1; }
.review blockquote p { margin: 0; }
.review figcaption { color: var(--muted); font-size: .95rem; }
.stars { color: #e0a100; letter-spacing: 2px; font-size: 1.1rem; }
.lead-sm { color: var(--muted); }
.note { color: var(--muted); font-size: .95rem; }
.hours { color: var(--muted); }

/* ---------- content ---------- */
.prose h2 { margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.plain { padding-left: 1.2rem; margin: 0 0 12px; }
.plain li { margin-bottom: 8px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.faq summary { padding: 14px 16px; font-weight: 700; cursor: pointer; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--muted); }

/* ---------- forms ---------- */
form { display: grid; gap: 14px; }
label { display: grid; gap: 4px; font-weight: 600; }
input, textarea, select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--fg); font: inherit; }

/* ---------- footer & sticky bar ---------- */
.foot { border-top: 1px solid var(--line); background: var(--alt); padding: 36px 0 calc(var(--sticky-h) + 28px); color: var(--muted); font-size: .96rem; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.foot-title { margin: 0 0 8px; color: var(--fg); font-weight: 800; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 6px; }
.foot p { margin: 0 0 6px; }
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.15); }
.sticky .btn { padding: 11px 6px; font-size: .95rem; }
@media (min-width: 62rem) {
  .sticky { display: none; }
  .foot { padding-bottom: 36px; }
}
