/*
 * Car spa — public site styles (design/Main|Services|Booking|Mobile.dc.html).
 * Strict CSP: no inline styles anywhere; the accent colour comes from /theme.css (generated from
 * the accent_color setting) and defaults to #8EDCE6 here.
 * Palette: ink #0D1015 · surfaces #141820 · lines #262C36 · pearl #F3F1EC · muted #A7ADB7.
 */

:root {
  --ink: #0D1015;
  --ink-2: #0F1318;
  --surface: #141820;
  --surface-2: #12161D;
  --line: #262C36;
  --line-2: #2F3642;
  --line-3: #343B47;
  --line-4: #3A4250;
  --line-soft: #1D222B;
  --line-head: #222832;
  --pearl: #F3F1EC;
  --text: #F3F1EC;
  --text-2: #D5D8DD;
  --text-3: #C3C8CF;
  --muted: #A7ADB7;
  --dim: #8A919C;
  --faint: #6E7580;
  --l-text: #12151A;
  --l-text-2: #2B3038;
  --l-muted: #4D5560;
  --l-line: #DEDAD1;
  --l-line-2: #D5D0C5;
  --danger: #FF8A80;
  --danger-soft: rgba(255, 138, 128, .08);

  /* overridden by /theme.css from the accent_color setting */
  --accent: #8EDCE6;
  --accent-ink: #0D1015;
  --accent-text: #8EDCE6;
  --accent-soft: rgba(142, 220, 230, .14);

  --font-display: Archivo, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 24px;
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; display: block; }
main:focus { outline: none; }

a { color: var(--text); }
a:hover { color: #FFFFFF; }

h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
svg { flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }

.visually-hidden,
.window-input,
.seg-input,
.pick-input,
.choice-input {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--accent-ink); }

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.muted { color: var(--muted); }
.center { text-align: center; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.hidden-form { display: none; }
.mobile-only { display: none !important; }
.accent-text { color: var(--accent-text); }
.placeholder { color: var(--muted); }
.empty-note { color: var(--muted); font-size: 16px; line-height: 1.6; }

.lm-accent, .ic-accent { stroke: var(--accent); }
.lm-pearl { stroke: var(--pearl); }
.ic-accent-fill { fill: var(--accent); }

/* ---------------------------------------------------------------- type */

.display-1,
.display-1b,
.display-2,
.display-3,
.step-title {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  overflow-wrap: break-word;
}
.display-1 { font-size: clamp(44px, 7vw, 76px); line-height: .98; letter-spacing: -.02em; }
.display-1b { font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -.02em; }
.display-2 { font-size: clamp(34px, 5vw, 52px); line-height: 1.02; letter-spacing: -.015em; }
.display-3 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.02; letter-spacing: -.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 700;
}
.eyebrow-line { display: inline-block; width: 28px; height: 1px; background: var(--accent); }
.eyebrow-muted { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow-dark { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--l-muted); font-weight: 700; }

.section-lead { max-width: 540px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.fine-print { font-size: 14px; line-height: 1.55; color: var(--muted); }
.fine-print a { color: inherit; }

.group-title {
  margin: 0;
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, filter .15s ease;
}
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 15px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { color: var(--accent-ink); filter: brightness(1.07); }
.btn-ghost { background: transparent; border-color: var(--line-4); color: var(--text); font-weight: 600; }
.btn-ghost:hover { border-color: var(--muted); color: #FFFFFF; }
.btn-pearl { background: var(--pearl); border-color: var(--pearl); color: var(--ink); }
.btn-pearl:hover { background: #FFFFFF; color: var(--ink); }
.picker-hero .btn-pearl { border-radius: 14px; min-height: 48px; }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--pearl); }
.btn-ink:hover { background: #000000; color: #FFFFFF; }
.btn-outline-ink { background: transparent; border: 1.5px solid var(--l-text); color: var(--l-text); }
.btn-outline-ink:hover { background: var(--l-text); color: var(--pearl); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); color: #FFB3AC; }
.btn.is-disabled { background: var(--l-line-2); border-color: var(--l-line-2); color: var(--l-muted); cursor: not-allowed; }

.link-btn {
  align-self: flex-start;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.link-btn:hover { color: #FFFFFF; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text);
}
.icon-btn:hover { border-color: var(--muted); color: #FFFFFF; }
.icon-btn.is-disabled { opacity: .35; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.pill-open { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pill-few { border-color: var(--accent); color: var(--accent-text); }
.pill-none { border-color: #3A414C; color: var(--dim); }
.pill-current { border-color: var(--pearl); color: var(--pearl); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.badge-inline { align-self: flex-start; padding: 4px 10px; font-size: 11px; vertical-align: middle; }

/* ---------------------------------------------------------------- header */

.site-header { border-bottom: 1px solid var(--line-head); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand-big { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: .06em; }
.brand-small { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 28px; margin: 0; padding: 0; list-style: none; }
.main-nav ul a { display: inline-block; padding: 10px 0; color: var(--text-2); text-decoration: none; }
.main-nav ul a:hover { color: #FFFFFF; }
.main-nav ul a[aria-current="page"] { color: #FFFFFF; box-shadow: inset 0 -2px 0 var(--accent); }

.mobile-nav { display: none; align-items: center; gap: 10px; }
.menu { position: relative; }
.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 50;
  min-width: 240px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
}
.menu-panel ul { margin: 0; padding: 0; list-style: none; }
.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--line); }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: flex; }
}
@media (max-width: 420px) {
  .brand-small { display: none; }
  .brand { gap: 10px; }
  .brand-big { font-size: 18px; }
  .menu summary { width: 44px; padding: 0; justify-content: center; }
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* booking steps in the header */
.flow-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #2A303A;
  border-radius: 999px;
  color: var(--dim);
}
.flow-step-num { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 12px; }
.flow-step.is-done { border-color: #4A5260; color: var(--text); }
.flow-step.is-current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (max-width: 760px) {
  .flow-step { padding: 8px 12px; }
  .flow-step:not(.is-current) .flow-step-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------------------------------------------------------------- flashes */

.flashes { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; }
.flash { padding: 14px 18px; border: 1px solid var(--line-3); border-radius: 14px; font-weight: 600; line-height: 1.5; }
.flash-success { border-color: var(--accent); background: var(--accent-soft); }
.flash-error { border-color: var(--danger); background: var(--danger-soft); }

/* ---------------------------------------------------------------- hero */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 88px;
  padding-bottom: 72px;
}
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-lead { max-width: 540px; color: var(--text-3); font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 8px 0 0; list-style: none; font-size: 14px; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }

.avail-card {
  flex: 1 1 400px;
  min-width: 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  scroll-margin-top: 24px;
}
.avail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.avail-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.avail-day { font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 22px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent-text); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

@media (max-width: 600px) {
  .hero { gap: 36px; padding-top: 48px; padding-bottom: 48px; }
  .hero-lead { font-size: 17px; }
  .avail-card { padding: 20px; border-radius: 20px; }
}

/* ---------------------------------------------------------------- picker (days + windows) */

.picker { container-type: inline-size; width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 24px; transition: opacity .15s ease; }
.picker[aria-busy="true"] { opacity: .55; }
.picker-hero { gap: 18px; }
.picker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.picker-range { font-weight: 700; font-size: 15px; color: var(--text-2); }
.picker-nav { display: flex; gap: 8px; }
.picker-empty { color: var(--muted); font-size: 15px; line-height: 1.6; }
.picker-empty a { color: var(--accent-text); }

.days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.days-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.days > li { min-width: 0; display: flex; }
.day {
  flex: 1;
  min-width: 0;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 0;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
a.day:hover { border-color: var(--muted); color: var(--text); }
.day-dow { font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--muted); }
.day-num { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 26px; line-height: 1.1; }
.day-note { font-size: 12px; color: var(--muted); white-space: nowrap; }
.day.is-full .day-note, .day.is-past .day-note { color: var(--dim); }
.day.is-closed, .day.is-past { border-style: dashed; border-color: #2A303A; color: var(--faint); }
.day.is-closed .day-dow, .day.is-closed .day-note, .day.is-past .day-dow, .day.is-past .day-note { color: var(--faint); }
.day.is-selected, a.day.is-selected:hover { background: var(--pearl); border-color: var(--pearl); color: var(--ink); }
.day.is-selected .day-dow, .day.is-selected .day-note { color: var(--ink); }

.picker-hero .day { min-height: 56px; padding: 10px 0; border-radius: 14px; gap: 2px; }
.picker-hero .day-dow { font-size: 11px; letter-spacing: .1em; }
.picker-hero .day-num { font-family: var(--font-body); font-stretch: normal; font-weight: 700; font-size: 18px; }
.picker-hero .day-note { display: none; }

@container (max-width: 640px) {
  .days { gap: 6px; }
  .day { min-height: 68px; padding: 10px 0; border-radius: 16px; gap: 2px; }
  .day-dow { font-size: 11px; letter-spacing: .1em; }
  .day-num { font-size: 21px; }
  .day-note { display: none; }
}
@container (max-width: 360px) {
  .days { gap: 3px; }
}
/* below 7 × 44 px + gaps: two rows of four so every day stays a 44 px target */
@container (max-width: 325px) {
  .days:not(.days-5) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
}

.windows { min-width: 0; margin: 0; padding: 0; border: 0; }
.windows-legend {
  margin: 0 0 12px;
  padding: 0;
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.window-opt { position: relative; }
.window-opt + .window-opt { margin-top: 12px; }
.window {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  padding: 20px 22px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.window-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 auto; }
.window .pill { flex: none; }
.window-label { font-weight: 700; font-size: 19px; }
.window-note { font-size: 14px; color: var(--muted); }
.window-input:not(:disabled):not(:checked) + .window:hover { border-color: var(--muted); }
.window-input:checked + .window { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.window-input:checked + .window .window-note { color: var(--accent-ink); }
.window-input:checked + .window .pill { background: var(--ink); border-color: var(--ink); color: var(--accent-text); }
.window-input:focus-visible + .window { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.window-input:disabled + .window { cursor: not-allowed; color: var(--dim); }
.window-input:disabled + .window .window-label { text-decoration: line-through; }
.window-input:disabled + .window-current { cursor: default; color: var(--text); border-style: dashed; }
.window-input:disabled + .window-current .window-label { text-decoration: none; }

.windows-static { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.windows-static .window { min-height: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); cursor: default; }
.windows-static .window-label { font-size: 17px; }
.windows-static .window-note { font-size: 13px; }
.windows-static .pill { padding: 6px 12px; font-size: 13px; }
.windows-static .window-none .window-label { color: var(--dim); text-decoration: line-through; }
.windows-static .window-none .window-note { color: var(--dim); }

@container (max-width: 520px) {
  .window { min-height: 68px; padding: 15px 16px; gap: 10px; border-radius: 16px; }
  .window-label { font-size: 16px; }
  .window-note { font-size: 13px; }
  .window .pill { padding: 6px 11px; font-size: 12px; }
}

/* ---------------------------------------------------------------- car band */

.car-band { overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.car-band-inner { display: flex; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
.car-art { display: block; width: 100%; max-width: 1000px; height: auto; }

/* ---------------------------------------------------------------- sections */

.section { padding-top: 104px; padding-bottom: 104px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head .display-2 { max-width: 640px; }
.section-head .section-lead { max-width: 420px; }
@media (max-width: 600px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-head { margin-bottom: 32px; }
}

.card { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
@media (max-width: 600px) {
  .card { padding: 24px; border-radius: 20px; }
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-step { display: flex; flex-direction: column; gap: 18px; }
.how-num { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 15px; letter-spacing: .12em; color: var(--accent-text); }
.how-step h3 { font-size: 24px; font-weight: 700; }
.how-step p { color: var(--muted); font-size: 16px; line-height: 1.6; }

/* light (pearl) section: packages */
.section-light { background: var(--pearl); color: var(--l-text); }
.section-light :focus-visible { outline-color: var(--l-text); }
.section-light .fine-print { margin-top: 28px; color: var(--l-muted); }
.link-strong { display: inline-flex; align-items: center; min-height: 44px; color: var(--l-text); font-weight: 700; font-size: 16px; text-underline-offset: 6px; }
.link-strong:hover { color: #000000; }

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  align-items: stretch;
}
.pkg {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px;
  border: 1px solid var(--l-line);
  border-radius: 28px;
  background: #FFFFFF;
  color: var(--l-text);
}
.pkg-featured { background: var(--ink); border-color: var(--ink); color: var(--pearl); }
.pkg-featured :focus-visible { outline-color: var(--accent-text); }
.pkg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pkg-head h3 { font-size: 24px; font-weight: 700; }
.pkg-time { font-size: 13px; color: var(--l-muted); }
.pkg-price { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 40px; line-height: 1.1; }
.pkg-summary { color: var(--l-text-2); line-height: 1.6; }
.pkg-featured .pkg-summary { color: var(--text-3); }
.pkg-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 16px; color: var(--l-text-2); }
.pkg-list li { position: relative; padding-left: 20px; }
.pkg-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 2px; border-radius: 2px; background: currentColor; opacity: .45; }
.pkg-featured .pkg-list { color: var(--text-3); }
.pkg-featured .pkg-list li::before { background: var(--accent); opacity: 1; }
.pkg-list-time { color: var(--muted); }
.pkg-cta { margin-top: auto; min-height: 48px; }
@media (max-width: 600px) {
  .pkg { padding: 26px; border-radius: 22px; }
  .pkg-price { font-size: 34px; }
}

/* photo placeholders (until the shop's own photos exist) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  padding-top: 104px;
}
.photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 380px;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-2);
}
.photo-art { position: absolute; inset: 0; }
.photo-paint .photo-art {
  background:
    linear-gradient(115deg, transparent 38%, rgba(243, 241, 236, .16) 47%, transparent 56%),
    radial-gradient(120% 80% at 20% 10%, rgba(142, 220, 230, .22), transparent 60%),
    linear-gradient(160deg, #1B2A36 0%, #101722 55%, #0B0F14 100%);
}
.photo-interior .photo-art {
  background:
    radial-gradient(90% 60% at 70% 20%, rgba(232, 197, 140, .16), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #1E1D1C 0%, #14130F 60%, #0D0C0A 100%);
}
.photo-foam .photo-art {
  background:
    radial-gradient(circle at 22% 30%, rgba(243, 241, 236, .18) 0 18px, transparent 19px),
    radial-gradient(circle at 38% 22%, rgba(243, 241, 236, .12) 0 10px, transparent 11px),
    radial-gradient(circle at 60% 40%, rgba(243, 241, 236, .14) 0 26px, transparent 27px),
    radial-gradient(circle at 80% 26%, rgba(243, 241, 236, .10) 0 14px, transparent 15px),
    radial-gradient(circle at 48% 58%, rgba(243, 241, 236, .08) 0 34px, transparent 35px),
    linear-gradient(180deg, #17202A 0%, #0F141B 100%);
}
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13, 16, 21, .85) 100%); }
.photo figcaption { position: relative; z-index: 1; font-size: 15px; font-weight: 600; color: var(--text); }
.photo-tag { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 600px) {
  .photo-grid { padding-top: 64px; }
  .photo { height: 220px; border-radius: 20px; }
}

/* pay your way */
.pay-way { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.pay-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pay-grid { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.pay-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.pay-card h3 { font-size: 21px; }
.pay-card p { color: var(--muted); line-height: 1.55; }
@media (max-width: 600px) {
  .pay-way { gap: 32px; }
}

/* location & hours */
.visit { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); scroll-margin-top: 0; }
.visit-inner { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 96px; padding-bottom: 96px; }
.visit-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin: 0; font-size: 16px; }
.facts > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.facts dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.instructions h3 { margin-bottom: 8px; font-size: 17px; }
.instructions p { margin-bottom: 8px; color: var(--text-3); line-height: 1.6; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map {
  flex: 1 1 520px;
  min-width: 0;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--ink-2);
}
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border-style: dashed; border-color: var(--line-3); }
.map-placeholder figcaption { padding: 0 24px; color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 600px) {
  .visit-inner { gap: 32px; padding-top: 64px; padding-bottom: 64px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .map, .map iframe { min-height: 260px; }
}

/* FAQ */
.faq { max-width: 920px; }
.faq-list { margin-top: 32px; border-top: 1px solid var(--line); }
.faq-item { padding: 0 4px; border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  min-height: 44px;
  padding: 24px 44px 24px 0;
  font-weight: 700;
  font-size: 19px;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-item p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
@media (max-width: 600px) {
  .faq-item summary { padding: 20px 40px 20px 0; font-size: 17px; }
}

/* ---------------------------------------------------------------- footer */

.site-footer { margin-top: auto; border-top: 1px solid var(--line-head); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}
.footer-brand { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; letter-spacing: .06em; color: var(--text); text-decoration: none; }
.footer-brand span { font-family: var(--font-body); font-stretch: normal; font-weight: 500; font-size: 12px; letter-spacing: .22em; color: var(--muted); }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.site-footer nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--muted); }
.site-footer nav a:hover { color: #FFFFFF; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-contact a { color: var(--muted); }
.footer-legal { flex-basis: 100%; font-size: 13px; color: var(--dim); }

/* ---------------------------------------------------------------- services shop */

.shop-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 40px;
}
.shop-intro { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.shop-intro .section-lead { font-size: 18px; max-width: 680px; }
.size-group { display: flex; flex-direction: column; gap: 10px; max-width: 100%; }

.segmented {
  position: relative;
  display: flex;
  gap: 6px;
  max-width: 100%;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.seg {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.seg:hover { color: #FFFFFF; }
.seg.is-active, .seg-input:checked + .seg { background: var(--pearl); color: var(--ink); font-weight: 700; }
.seg-input:focus-visible + .seg { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.segmented-radio { align-self: flex-start; }
@media (max-width: 480px) {
  .seg { padding: 11px 14px; font-size: 14px; }
  .size-group, .segmented-radio { width: 100%; align-self: stretch; }
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--line-3);
  border-radius: 999px;
  color: #E2E5E9;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.chip:hover { border-color: var(--muted); color: #FFFFFF; }
.chip.is-active, .chip.is-active:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
@media (max-width: 480px) {
  .chips { gap: 8px; }
  .chip { padding: 10px 16px; font-size: 14px; }
}

.shop { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; padding-top: 40px; padding-bottom: 104px; }
.shop-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.shop-group { display: flex; flex-direction: column; gap: 16px; }

.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  scroll-margin-top: 24px;
}
.svc-card.is-added { border-color: var(--accent); box-shadow: inset 0 0 0 .5px var(--accent); }
.svc-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.svc-card h3 { font-size: 21px; }
.svc-price { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 22px; white-space: nowrap; }
.svc-summary { color: var(--muted); font-size: 15px; line-height: 1.55; }
.svc-includes { margin: 0; padding-left: 18px; color: var(--text-3); font-size: 14px; line-height: 1.7; }
.svc-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 4px; }
.svc-time { font-size: 13px; color: var(--muted); }

.toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 104px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--pearl);
  border-radius: 999px;
  color: var(--pearl);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.toggle-btn:hover { background: rgba(243, 241, 236, .08); color: #FFFFFF; }
.toggle-btn.is-added, .toggle-btn.is-added:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.svc-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.svc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.svc-row-main { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.svc-cat { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); font-weight: 700; }
.svc-row h3 { font-size: 19px; }
.svc-row .svc-time { min-width: 120px; font-size: 14px; }
.svc-row .svc-price { min-width: 120px; font-size: 20px; }
@media (max-width: 600px) {
  .svc-card { padding: 22px; }
  .svc-row { gap: 10px 16px; }
  .svc-row .svc-time, .svc-row .svc-price { min-width: 0; }
  .svc-row .toggle-btn { margin-left: auto; min-width: 0; }
}

/* "Your visit" summary (pearl card) */
.summary {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border-radius: 26px;
  background: var(--pearl);
  color: var(--l-text);
}
@media (min-width: 1000px) {
  .summary { position: sticky; top: 24px; }
}
@media (max-width: 600px) {
  .summary { padding: 24px; border-radius: 22px; }
}
.summary :focus-visible { outline-color: var(--l-text); }
.summary h2[tabindex="-1"]:focus { outline: none; } /* focus target after "Remove" (booking.js), not a control */
.summary a:not(.btn) { color: var(--l-text); }
.summary-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.summary h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 26px; }
.summary-size { font-size: 13px; color: var(--l-muted); }
.summary-empty { color: var(--l-muted); font-size: 15px; line-height: 1.5; }
.summary-list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.summary-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary-name { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; overflow-wrap: anywhere; }
.summary-price { font-weight: 700; white-space: nowrap; }
.summary-remove {
  display: inline-block;
  margin: -10px 0 -12px -6px;
  padding: 12px 6px;
  font-size: 13px;
  color: var(--l-muted) !important;
  text-underline-offset: 3px;
}
.summary-link { align-self: flex-start; margin: -12px 0; padding: 12px 0; font-size: 14px; font-weight: 600; text-underline-offset: 4px; }
.summary-rows { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--l-line-2); font-size: 15px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; color: var(--l-muted); }
.summary-row strong { color: var(--l-text); font-weight: 700; text-align: right; }
.summary-note { color: var(--l-muted); font-size: 13px; line-height: 1.5; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 18px; border-top: 1px solid var(--l-line-2); }
.summary-total > span:first-child { font-weight: 700; font-size: 17px; }
.total-amount { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 30px; white-space: nowrap; }
.summary .fine-print { color: var(--l-muted); font-size: 13px; }

/* dark variants (manage page card) */
.summary-list-dark .summary-price { color: var(--text); }
.summary-total-dark { border-top-color: var(--line); }

/* sticky action bar on phones (services shop) */
.mobile-bar { display: none; }
@media (max-width: 999px) {
  .mobile-bar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line-soft);
    background: var(--ink);
  }
}
.mobile-bar-total { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mobile-bar-label { font-size: 12px; color: var(--muted); }
.mobile-bar strong { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 22px; white-space: nowrap; }

/* ---------------------------------------------------------------- booking flow */

.book { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; padding-top: 56px; padding-bottom: 96px; }
.book-main { flex: 999 1 640px; min-width: 0; }
.step { display: flex; flex-direction: column; gap: 28px; }
.step-head { display: flex; flex-direction: column; gap: 10px; }
.step-title { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.02; }
.step-lead { color: var(--muted); font-size: 17px; line-height: 1.6; }
.step-job { display: block; margin-top: 4px; color: var(--text-3); font-size: 15px; }
.step-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
@media (max-width: 600px) {
  .book { gap: 24px; padding-top: 32px; padding-bottom: 48px; }
  .step { gap: 22px; }
}
@media (max-width: 700px) {
  .mobile-only { display: flex !important; }
  .desktop-inline { display: none; }
  .step-actions-sticky {
    position: sticky;
    bottom: 0;
    z-index: 20;
    flex-wrap: nowrap;
    margin: 0 calc(-1 * var(--gutter));
    padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line-soft);
    background: var(--ink);
  }
  .step-actions-sticky .btn-lg { padding: 14px 18px; }
  .sticky-total { flex-direction: column; margin-right: auto; min-width: 0; }
  .sticky-total span { font-size: 12px; color: var(--muted); }
  .sticky-total strong { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 20px; white-space: nowrap; }
}

/* form controls */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.optional { color: var(--muted); font-weight: 500; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 15px 16px;
  border: 1px solid var(--line-3);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
}
textarea.input { min-height: 104px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #7E8692; opacity: 1; }
.input:hover { border-color: #4A5260; }
.input:focus { border-color: var(--accent); }
.has-error .input, .input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; font-weight: 600; line-height: 1.45; }
.field-hint { color: var(--muted); font-size: 14px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.field-group { min-width: 0; margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 12px; }
.field-group > legend { margin: 0 0 14px; padding: 0; }

.error-summary {
  padding: 20px 22px;
  border: 2px solid var(--danger);
  border-radius: 18px;
  background: var(--danger-soft);
}
.error-summary:focus { outline: none; }
.error-summary:focus-visible { outline: 3px solid var(--danger); outline-offset: 3px; }
.error-summary h2 { margin-bottom: 8px; font-size: 18px; }
.error-summary ul { margin: 0; padding-left: 20px; line-height: 1.6; }
.error-summary a { color: var(--danger); font-weight: 600; }

/* step 1: service picker */
.pick-group-title { margin: 10px 0 0; font-size: 15px; font-weight: 700; color: var(--text-2); }
.pick-list { display: flex; flex-direction: column; gap: 10px; }
.pick { position: relative; }
.pick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.pick-input:not(:checked) + .pick-card:hover { border-color: var(--muted); }
.pick-box {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--line-4);
  border-radius: 7px;
}
.pick-input:checked + .pick-card { border-color: var(--accent); background: var(--accent-soft); }
.pick-input:checked + .pick-card .pick-box { border-color: var(--accent); background: var(--accent); }
.pick-input:checked + .pick-card .pick-box::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -2px;
  border-right: 2.5px solid var(--accent-ink);
  border-bottom: 2.5px solid var(--accent-ink);
  transform: rotate(45deg);
}
.pick-input:focus-visible + .pick-card { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.pick-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pick-name { font-weight: 700; font-size: 17px; }
.pick-summary { color: var(--muted); font-size: 14px; line-height: 1.5; }
.pick-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.pick-price { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 18px; white-space: nowrap; }
.pick-time { color: var(--muted); font-size: 13px; white-space: nowrap; }
@media (max-width: 520px) {
  .pick-card { flex-wrap: wrap; padding: 16px; gap: 10px 14px; }
  .pick-main { flex-basis: calc(100% - 40px); }
  .pick-meta { flex-direction: row; align-items: baseline; gap: 12px; width: 100%; padding-left: 38px; text-align: left; }
}

/* step 4: payment choice */
.pay-choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.pay-choices .field-error { margin-bottom: 12px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.choice-opt { position: relative; display: flex; }
.choice {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 150px;
  padding: 26px;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  cursor: pointer;
}
.choice-title { font-weight: 800; font-size: 20px; }
.choice-text { color: var(--text-3); font-size: 15px; line-height: 1.5; }
.choice-input:not(:checked) + .choice:hover { border-color: var(--muted); }
.choice-input:checked + .choice { background: var(--pearl); border-color: var(--accent); color: var(--ink); }
.choice-input:checked + .choice .choice-text { color: var(--l-text-2); }
.choice-input:focus-visible + .choice { outline: 3px solid var(--accent-text); outline-offset: 3px; }
@media (max-width: 600px) {
  .choice { min-height: 0; padding: 22px; }
}

.review { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.review-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px 24px; margin: 0; }
.review-list > div { min-width: 0; }
.review-list dt { margin-bottom: 2px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.review-list dd { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.review-wide { grid-column: 1 / -1; }

.policy { display: flex; flex-direction: column; gap: 10px; }
.policy p { color: var(--text-3); line-height: 1.6; }

.check { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 6px 12px; font-size: 15px; line-height: 1.5; color: var(--text-3); }
.check .field-error { grid-column: 1 / -1; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.check label { cursor: pointer; }
.check a { color: var(--text); }

/* ---------------------------------------------------------------- manage page */

.manage { display: flex; flex-direction: column; gap: 32px; padding-top: 56px; padding-bottom: 96px; }
.manage-head { display: flex; flex-direction: column; gap: 14px; }
.manage-head .section-lead { max-width: 640px; }
.manage-head strong { color: var(--text); overflow-wrap: anywhere; }
.done-mark { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.manage-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); }
.ref { font-family: var(--font-display); font-stretch: 110%; font-size: 18px; letter-spacing: .08em; color: var(--text); }
.booking-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; margin: 0; }
.fact-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.fact-card dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fact-card dd { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.fact-sub { display: block; margin-top: 4px; font-weight: 500; font-size: 14px; color: var(--muted); }
.manage-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
.manage-grid > .manage-card { flex: 1 1 420px; min-width: 0; }
.manage-side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.manage-card { display: flex; flex-direction: column; gap: 18px; }
.manage-card p { color: var(--text-3); line-height: 1.6; }
.manage-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.notice { padding: 18px 20px; border: 1px solid var(--line-3); border-radius: 16px; color: var(--text-3); line-height: 1.6; }
.notice a { color: var(--text); }

.disclosure { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); scroll-margin-top: 24px; }
.disclosure > summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  cursor: pointer;
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.disclosure[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
.disclosure-body { display: flex; flex-direction: column; gap: 18px; padding: 0 22px 22px; }
@media (max-width: 480px) {
  .disclosure > summary { padding: 16px 48px 16px 16px; }
  .disclosure-body { padding: 0 12px 16px; }
}

/* ---------------------------------------------------------------- Stripe return pages (views/public/pay_*.php) */

.pay-status { max-width: 820px; padding-top: 72px; padding-bottom: 104px; }
.pay-facts { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.pay-ref { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; letter-spacing: .08em; }
.pay-retry { display: contents; }
.pay-spinner { width: 48px; height: 48px; margin-bottom: 8px; border: 3px solid var(--line-3); border-top-color: var(--accent); border-radius: 50%; }
@keyframes carspa-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .pay-spinner { animation: carspa-spin 1s linear infinite; }
}
@media (max-width: 600px) {
  .pay-status { padding-top: 40px; padding-bottom: 64px; }
}

/* ---------------------------------------------------------------- text pages + errors */

.prose-page { max-width: 820px; display: flex; flex-direction: column; gap: 16px; padding-top: 72px; padding-bottom: 104px; }
.prose { margin-top: 12px; color: var(--text-3); font-size: 17px; line-height: 1.7; }
.prose h2 { margin: 32px 0 8px; font-size: 22px; color: var(--text); }
.prose p { margin: 0 0 14px; }
.prose a { color: var(--accent-text); }
@media (max-width: 600px) {
  .prose-page { padding-top: 48px; padding-bottom: 64px; }
}

.error-page { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 96px; padding-bottom: 120px; }
.error-code { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(72px, 14vw, 160px); line-height: .9; color: var(--accent-text); }
@supports (-webkit-text-stroke: 2px #000) {
  .error-code { color: transparent; -webkit-text-stroke: 2px var(--accent); }
}
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.error-page .fine-print a { color: var(--text); }
@media (max-width: 600px) {
  .error-page { padding-top: 56px; padding-bottom: 72px; }
}

/* ---------------------------------------------------------------- motion */

@keyframes carspa-twinkle { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes carspa-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (prefers-reduced-motion: no-preference) {
  .sparkle { animation: carspa-twinkle 3.6s ease-in-out infinite; }
  .sparkle:nth-of-type(2n) { animation-delay: 1.2s; }
  .sparkle:nth-of-type(3n) { animation-delay: 2.1s; }
  .live-dot { animation: carspa-pulse 2.4s ease-in-out infinite; }
}

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

/* Windows high-contrast mode: keep selected states visible */
@media (forced-colors: active) {
  .day.is-selected, .window-input:checked + .window, .pick-input:checked + .pick-card,
  .choice-input:checked + .choice, .seg.is-active, .seg-input:checked + .seg, .chip.is-active, .toggle-btn.is-added {
    outline: 3px solid Highlight;
  }
}
