:root {
  --bg: #fcf8f5;
  --card: #ffffff;
  --ink: #2b2226;
  --muted: #7a6c72;
  --line: #efe4de;
  --brand: #c2410c;
  --brand-ink: #ffffff;
  --brand-soft: #fff1ea;
  --ok: #2f7d1a;
  --err: #b3261e;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding-bottom: 96px;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
a { color: var(--brand); }

.hero {
  background: linear-gradient(135deg, #ffe4d6, #fff8f2);
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}
.brand { font: 600 15px "Inter"; text-decoration: none; color: var(--ink); letter-spacing: .02em; }
.hero h1 { font: 700 clamp(28px, 6vw, 40px)/1.15 "Playfair Display", Georgia, serif; margin: 8px 0 6px; }
.accent { color: var(--brand); }
.sub { margin: 0; color: var(--muted); font-size: 14px; }

.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 20px 0 12px; counter-reset: s; }
.steps li {
  flex: 1; font-size: 13px; color: var(--muted); padding-top: 8px;
  border-top: 3px solid var(--line); counter-increment: s;
}
.steps li::before { content: counter(s) ". "; }
.steps li.active, .steps li.done { color: var(--ink); border-color: var(--brand); font-weight: 600; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.panel h2 { font: 700 22px "Playfair Display", Georgia, serif; margin: 0 0 4px; }
.muted { color: var(--muted); margin: 0 0 12px; }
.tiny { font-size: 13px; text-align: center; margin-top: 8px; }
.small-h { font-size: 14px; margin: 18px 0 8px; }
.center { text-align: center; }

/* services */
.cat { border-top: 1px solid var(--line); }
.cat:first-child { border-top: 0; }
.cat > summary {
  list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.cat > summary::-webkit-details-marker { display: none; }
.cat > summary::after { content: "+"; font-size: 20px; color: var(--muted); }
.cat[open] > summary::after { content: "–"; }
.cat .count { background: var(--brand); color: var(--brand-ink); border-radius: 999px; font-size: 12px; padding: 1px 8px; margin-left: 8px; }
.svc {
  display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 8px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s;
}
.svc:hover { border-color: #e8c9b9; }
.svc input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.svc .nm { flex: 1; }
.svc .pr { text-align: right; white-space: nowrap; }
.svc .pr s { color: var(--muted); font-size: 13px; margin-right: 6px; }
.svc .pr strong { color: var(--brand); }
.svc.on { border-color: var(--brand); background: var(--brand-soft); }
.from { font-size: 12px; color: var(--muted); }
.dur { display: block; font-size: 12px; color: var(--muted); }
.summary .dur-line { margin: -6px 0 10px; font-size: 13px; color: var(--muted); }
.logo { display: block; width: 180px; height: auto; }
@media (min-width: 600px) { .logo { width: 220px; } }

/* dates & times */
.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.date, .time {
  border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer;
  font: inherit; color: var(--ink);
}
.date { flex: none; width: 68px; padding: 8px 0; text-align: center; scroll-snap-align: start; }
.date .dw { display: block; font-size: 12px; color: var(--muted); }
.date .dd { display: block; font-size: 20px; font-weight: 600; }
.date .dm { display: block; font-size: 12px; color: var(--muted); }
.date[disabled] { opacity: .4; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.time { padding: 10px 0; }
.date[aria-selected="true"], .time[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.date[aria-selected="true"] .dw, .date[aria-selected="true"] .dm { color: #ffe3d6; }
.time[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .checkout { grid-template-columns: 1.2fr 1fr; } }
form label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 14px; }
form input, form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px; font: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
form input:focus, form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.opt { color: var(--muted); font-weight: 400; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--err); background: #fdecea; padding: 10px 12px; border-radius: 8px; font-size: 14px; }

.summary { background: var(--brand-soft); border-radius: var(--radius); padding: 16px; align-self: start; }
.summary.inline { text-align: left; max-width: 420px; margin: 16px auto; }
.summary h3 { margin: 0 0 8px; font-size: 16px; }
.summary .when { font-weight: 600; margin: 0 0 10px; }
.summary ul { list-style: none; padding: 0; margin: 0 0 10px; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; }
.summary .row { display: flex; justify-content: space-between; font-size: 14px; padding: 2px 0; }
.summary .save { color: var(--ok); font-weight: 600; }
.summary .total { border-top: 1px solid #f1cdbb; margin-top: 6px; padding-top: 8px; font-weight: 700; font-size: 17px; }

/* buttons & bar */
.btn {
  display: inline-block; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: 600 15px "Inter", sans-serif; padding: 12px 18px; border-radius: 999px; cursor: pointer; text-decoration: none;
}
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; }
.btn.block { width: 100%; }
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.05);
}
.bar-inner { display: flex; align-items: center; gap: 10px; }
.bar-total { flex: 1; display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.bar-total s { color: var(--muted); }
.bar-total strong { font-size: 18px; color: var(--brand); }

.big-check {
  width: 64px; height: 64px; margin: 8px auto 12px; border-radius: 50%;
  background: var(--ok); color: #fff; font-size: 34px; line-height: 64px;
}
.foot { text-align: center; padding: 24px 16px; font-size: 14px; }
.page-top { padding-top: 24px; }
.page-top > a .logo { margin: 0 0 16px; }
.day-note { background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 8px; margin: 12px 0 0; }
