/* =========================================================
   Ontario Appliance Repair — Design System
   Apple-clean. Light, calm, generous whitespace.
   ========================================================= */

/* ---- Tokens ---- */
:root {
  /* Color */
  --bg:        #f5f5f7;
  --surface:   #ffffff;
  --text:      #1d1d1f;
  --muted:     #6e6e73;
  --line:      #d2d2d7;
  --accent:    #0071e3;   /* Apple blue */
  --accent-hi: #0077ed;
  --accent-lo: #0062c4;
  --copper:    #b3672f;   /* warm copper, used sparingly */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.03);
  --shadow-md: 0 10px 30px rgba(0,0,0,.06), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.10), 0 6px 18px rgba(0,0,0,.06);

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --pad:  clamp(20px, 4vw, 40px);
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-spring: cubic-bezier(.16,1.1,.3,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  margin: 0 0 .4em;
  letter-spacing: -0.022em;
  font-weight: 600;
  color: var(--text);
}
h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; }
p  { margin: 0 0 1em; color: var(--text); }
.lede { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* ---- Focus (a11y) ---- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- Layout primitives ---- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  text-transform: none;
  margin-bottom: 12px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hi); }
.btn--primary:focus-visible { background: var(--accent-hi); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { background: #fff; border-color: #c0c0c5; }
.btn--dark {
  background: var(--text);
  color: #fff;
}
.btn--dark:hover { background: #000; }
.btn--lg { padding: 16px 28px; font-size: 17px; }
.btn--pulse { animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,113,227,.45); }
  50%      { box-shadow: 0 0 0 14px rgba(0,113,227,0); }
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,245,247,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
}
.brand__img {
  height: 28px;
  width: auto;
  display: none;
}
.brand[data-has-logo="true"] .brand__img { display: block; }
.brand[data-has-logo="true"] .brand__name { display: none; }
.brand__name {
  font-family: inherit; /* Inter, from body */
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--text);
}

/* TEMP: text-only wordmark until a real logo PNG is added.
   Remove this block (and re-enable the data-has-logo swap above) once the logo ships. */
.brand__img { display: none !important; }
.brand .brand__name { display: inline-block !important; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  display: inline-block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 8px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { background: rgba(0,0,0,.05); }
.nav__link[aria-current="page"] { color: var(--accent); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.header-cta .btn { padding: 9px 16px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  border-radius: 10px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  margin: 5px auto;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

@media (max-width: 820px) {
  .nav, .header-cta__call-text { display: none; }
  .nav-toggle { display: block; }
  .site-header__inner { height: 56px; }
  .mobile-nav-open .nav {
    display: flex;
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--pad) 20px;
    background: rgba(245,245,247,.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    gap: 2px;
  }
  .mobile-nav-open .nav__link {
    padding: 14px 8px;
    font-size: 17px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    border-radius: 0;
  }
}

/* ---- Footer ---- */
.site-footer {
  margin-top: 80px;
  background: #fafafc;
  border-top: 1px solid rgba(0,0,0,.06);
  color: var(--muted);
  font-size: 14px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0;
}
.site-footer h4 {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: var(--text); }
.site-footer__bottom {
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 820px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 0;
  }
}
@media (max-width: 480px) {
  .site-footer__top { grid-template-columns: 1fr; }
}

/* ---- Cards / shared bits ---- */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.grid {
  display: grid;
  gap: 20px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---- Mobile 7-block scroll experience ---- */
.mobile-experience { display: none; }

@media (max-width: 820px) {
  .mobile-experience { display: block; }
}

.m-block {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--c);
  color: #fff;
  padding:
    calc(82px + env(safe-area-inset-top))
    26px
    calc(108px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.m-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 1;
  transition: opacity .9s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.m-block::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(60% 45% at 50% 32%, rgba(255,255,255,.18), rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.m-block.is-in::after { opacity: 0; }
.m-block.is-in::before { opacity: 1; }
.m-block > * { position: relative; z-index: 1; }

.m-block__icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 28px;
  color: #fff;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .8s var(--ease-spring), transform .8s var(--ease-spring);
}
.m-block__icon svg { width: 100%; height: 100%; display: block; }
.m-block.is-in .m-block__icon { opacity: 1; transform: scale(1); }

.m-block__name {
  font-size: clamp(40px, 10vw, 56px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin: 0 0 18px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease) .1s, transform .65s var(--ease) .1s;
}
.m-block.is-in .m-block__name { opacity: 1; transform: none; }

.m-block__sub {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.78);
  margin: 0 0 22px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease) .18s, transform .6s var(--ease) .18s;
}
.m-block.is-in .m-block__sub { opacity: 1; transform: none; }

.m-block__pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 22px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s var(--ease) .28s, transform .65s var(--ease) .28s;
}
.m-block.is-in .m-block__pills { opacity: 1; transform: none; }

.m-pill {
  display: block;
  text-align: center;
  padding: 14px 18px;
  background: rgba(255,255,255,.16);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  -webkit-tap-highlight-color: transparent;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.m-pill:active {
  transform: scale(.98);
  background: rgba(255,255,255,.28);
}

.m-book {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  background: #fff;
  color: var(--c);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s var(--ease) .38s, transform .65s var(--ease) .38s, background .2s var(--ease);
}
.m-block.is-in .m-book { opacity: 1; transform: none; }
.m-book:active { background: #f0f0f3; }

@media (prefers-reduced-motion: reduce) {
  .m-block__icon,
  .m-block__name,
  .m-block__sub,
  .m-block__pills,
  .m-book {
    opacity: 1 !important;
    transform: none !important;
  }
  .m-block::after { opacity: 0; }
  .m-block::before { opacity: 1; }
}

/* ---- Bottom mobile bar (call/book) ---- */
.bottom-bar {
  display: none;
}
@media (max-width: 820px) {
  .bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 60;
    background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,0,0,.08);
    padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
    gap: 10px;
  }
  .bottom-bar .btn { width: 100%; padding: 14px 10px; font-size: 15px; }
  body { padding-bottom: 84px; }
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--text);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---- Reveal-on-scroll utility ---- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---- Hero (signature exploded-washer) ---- */
.hero {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__copy h1 { margin-bottom: 18px; }
.hero__ctas {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero__trust {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 14px;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ---- Washer stage ---- */
.hero__washer {
  position: relative;
  perspective: 1000px;
}
.washer-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}
.washer-svg .part {
  transform: translate(0, 0);
  transform-box: fill-box;
  will-change: transform;
}
/* ---- Persistent floating Book CTA (desktop only) ---- */
.float-book {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 18px;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  animation: floatBookIn .6s var(--ease-spring) .35s both;
}
.float-book:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.float-book:active { transform: translateY(0); }
.float-book__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ac06b;
  box-shadow: 0 0 0 4px rgba(58,192,107,.18);
  animation: dotPulse 1.8s ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(58,192,107,.18); }
  50%      { box-shadow: 0 0 0 8px rgba(58,192,107,0); }
}
@keyframes floatBookIn {
  from { opacity: 0; transform: translateY(20px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 820px) {
  .float-book { display: none; }
}
.washer-hint {
  position: absolute;
  bottom: -6px;
  left: 12px;
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: .85;
}
.washer-hint::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--muted);
  opacity: .5;
}
.hero__washer.is-open .washer-hint { opacity: 0; transition: opacity .3s var(--ease); }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__washer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .washer-popup__dot { animation: none; }
}

/* ---- Exploded service-page diagrams (shares washer explode mechanics) ---- */
.explode-stage {
  position: relative;
  perspective: 1000px;
  max-width: 440px;
  margin: 0 auto;
  padding: 8px 0 36px;
  cursor: pointer;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.explode-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}
.explode-svg .exp-part {
  transform: translate(0, 0);
  transform-box: fill-box;
  will-change: transform;
}
.explode-hint {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: .85;
  transition: opacity .3s var(--ease);
  white-space: nowrap;
}
.explode-hint::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--muted);
  opacity: .5;
}
.explode-stage.is-open .explode-hint { opacity: 0; }
.explode-stage:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: var(--radius);
}
@media (max-width: 820px) {
  .explode-stage { max-width: 300px; padding-bottom: 48px; }
}
/* Reduced-motion: static, fully-readable exploded state (no animation) */
@media (prefers-reduced-motion: reduce) {
  .explode-stage { cursor: default; }
  .explode-hint { display: none; }
}

/* =========================================================
   Booking flow (/book.html)
   Apple-clean. Same tokens, same card style as the homepage.
   ========================================================= */
.page-book { background: var(--bg); }
.page-book .site-footer { margin-top: 40px; background: transparent; }
.book-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 120px;
}
@media (min-width: 820px) {
  .book-main { padding: 56px 40px 120px; }
}

/* ---- Progress bar ---- */
.book-progress {
  margin-bottom: 32px;
}
.book-progress__bar {
  height: 6px;
  background: rgba(0,0,0,.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}
.book-progress__bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width .55s var(--ease-spring);
}
.book-progress__steps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.book-progress__steps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--muted);
  background: rgba(0,0,0,.05);
  border-radius: 999px;
  white-space: nowrap;
}
.book-progress__steps span.is-active {
  background: var(--accent);
  color: #fff;
}
.book-progress__steps span.is-done {
  background: rgba(0,113,227,.12);
  color: var(--accent);
}
@media (max-width: 540px) {
  .book-progress__steps span { font-size: 11px; padding: 5px 9px; }
}

/* ---- Steps ---- */
.book-step {
  animation: stepIn .45s var(--ease-spring) both;
}
.book-step[hidden] { display: none; }
.book-step h1 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 8px 0 10px;
  outline: none;
}
@media (min-width: 820px) {
  .book-step h1 { font-size: 36px; }
}
.book-step .lede {
  font-size: 16px;
  margin-bottom: 24px;
}
@media (min-width: 820px) {
  .book-step .lede { font-size: 18px; margin-bottom: 28px; }
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .book-step { animation: none; }
}

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---- Choice tiles (Step 1: appliances) ---- */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 820px) {
  .choice-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
  }
}
.choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 14px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 820px) {
  .choice { aspect-ratio: auto; min-height: 120px; padding: 16px 8px; }
}
.choice:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.choice:active { transform: scale(.985); }
.choice.is-selected {
  border-color: var(--accent);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(0,113,227,.18);
}
.choice__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  color: var(--text);
  opacity: .85;
  flex: 0 0 auto;
}
@media (min-width: 820px) {
  .choice__icon { width: 36px; height: 36px; }
}
.choice__icon svg { width: 100%; height: 100%; }
.choice__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.005em;
  line-height: 1.2;
}
@media (min-width: 820px) {
  .choice__label { font-size: 12px; }
}

/* ---- Row-style choices (Step 2: problems) ---- */
.choice-grid--list {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  gap: 0;
}
.choice-grid--list .choice--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  aspect-ratio: auto;
  gap: 12px;
}
.choice-grid--list .choice--row:last-child { border-bottom: none; }
.choice-grid--list .choice--row:hover {
  background: rgba(0,0,0,.03);
  transform: none;
  box-shadow: none;
  border-color: transparent;
  border-bottom-color: var(--line);
}
.choice-grid--list .choice--row.is-selected {
  background: #eff6ff;
  box-shadow: none;
  border-color: transparent;
  border-bottom-color: var(--line);
}
.choice--row .choice__label {
  font-size: 16px;
  font-weight: 500;
  flex: 1 1 auto;
}
.choice__chev {
  color: var(--muted);
  font-size: 18px;
  transition: transform .2s var(--ease), color .2s var(--ease);
  flex: 0 0 auto;
}
.choice--row:hover .choice__chev {
  color: var(--accent);
  transform: translateX(3px);
}
.choice--other .choice__label { color: var(--muted); }

/* ---- Time slot cards (Step 3) ---- */
.choice-grid--time {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  padding: 0;
}
@media (min-width: 720px) {
  .choice-grid--time { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.choice--time {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 4px;
  min-height: 72px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  aspect-ratio: auto;
}
.choice__time-h {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.005em;
}
.choice__time-sub {
  font-size: 14px;
  color: var(--muted);
}

/* ---- Notes textarea ---- */
.notes-wrap {
  margin-top: 16px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.notes-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}
.notes-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  resize: vertical;
  min-height: 84px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.notes-wrap textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,113,227,.18);
}

/* ---- Phone & inputs ---- */
.phone-block {
  margin-top: 24px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.phone-block label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--text);
}
.phone-block label .opt {
  color: var(--muted);
  font-weight: 400;
}
.phone-block input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.phone-block input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,113,227,.18);
}
.phone-note {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
}
.phone-extra {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}
.phone-extra label { margin-top: 10px; }

/* ---- Step actions ---- */
.step-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.step-actions--center { justify-content: center; }
.step-actions .btn {
  height: 52px;
  padding: 0 24px;
}
.step-actions .btn--primary {
  flex: 1 1 220px;
  min-width: 0;
}
.step-actions .btn--ghost {
  flex: 0 0 auto;
}
@media (max-width: 600px) {
  .step-actions { flex-direction: column-reverse; align-items: stretch; }
  .step-actions .btn { width: 100%; flex: 0 0 auto; }
}
.step-actions .btn--primary[disabled] {
  background: rgba(0,0,0,.08);
  color: var(--muted);
  cursor: not-allowed;
}
.step-actions .btn--primary[disabled]:hover { background: rgba(0,0,0,.08); }

#notesNext { height: 52px; padding: 0 24px; }

/* ---- Summary ---- */
.summary {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.summary li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.summary li:last-child { border-bottom: none; }
.summary__k {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  flex: 0 0 auto;
}
.summary__v {
  font-size: 16px;
  font-weight: 500;
  text-align: right;
  color: var(--text);
}

.legal {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---- Done screen ---- */
.book-done {
  text-align: center;
  padding-top: 24px;
}
.book-done h1 { font-size: 32px; }
@media (min-width: 820px) { .book-done h1 { font-size: 40px; } }
.book-done .summary { text-align: left; margin: 24px auto; max-width: 520px; }
.done-tick {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  color: #3ac06b;
  animation: tickPop .65s var(--ease-spring) both;
}
@keyframes tickPop {
  0%   { transform: scale(.4); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
.tap-tally {
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 22px;
}

/* On the booking page hide the homepage "Continue booking" CTA in the
   bottom bar — the in-page form is the destination. */
.page-book .bottom-bar .btn--primary { display: none; }
.page-book .bottom-bar { grid-template-columns: 1fr; }

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