/* ZoomFones — hand-written CSS, no build step, no framework. */

/* ---------------------------------------------------------------------- */
/* Fonts (self-hosted, no external font CDN)                              */
/* ---------------------------------------------------------------------- */

/* font-display:optional (not swap) for the 3 weights used above the fold (preloaded in
   head.php) - swap guarantees a reflow when the custom font arrives after the fallback has
   already painted, which is what was causing the hero badge-strip's measured 0.198 CLS; a
   real-browser trace confirmed no JS/Cloudflare involvement, so the font swap itself was the
   only remaining cause. optional uses the fallback for this view if the (preloaded) font isn't
   ready almost immediately, trading an occasional fallback-font first paint for zero layout
   shift. Below-the-fold weights keep swap, where a brief reflow is harmless. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: optional; src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: optional; src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/sora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: optional; src: url('/assets/fonts/sora-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

/* ---------------------------------------------------------------------- */
/* Design tokens                                                          */
/* ---------------------------------------------------------------------- */

:root {
  --brand: #A74625;
  --brand-light: #D9714A;
  --brand-deep: #8F3C1F;
  --obsidian: #0A0A0B;
  --silver: #F7F5F3;

  --warning: #f59e0b;
  --danger: #ef4444;
  --success: #22c55e;
  --info: #3b82f6;

  --bg: #ffffff;
  --fg: #16140f;
  --muted-bg: var(--silver);
  --muted-fg: #6b6560;
  --border: #e8e3dd;
  --card: #ffffff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  /* 8px spacing scale */
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px; --sp-8: 128px;

  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --shadow-sm: 0 1px 2px rgba(20,15,10,0.04);
  --shadow-md: 0 8px 24px -8px rgba(20,15,10,0.10);
  --shadow-lg: 0 24px 48px -16px rgba(20,15,10,0.16);
  --glow: 0 0 0 1px rgba(167,70,37,0.08), 0 16px 32px -12px rgba(167,70,37,0.35);
}

/* ---------------------------------------------------------------------- */
/* Reset + base                                                           */
/* ---------------------------------------------------------------------- */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--fg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
::selection { background: var(--brand); color: #fff; }
button { font: inherit; cursor: pointer; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.text-brand { color: var(--brand); }
.muted { color: var(--muted-fg); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: var(--sp-1);
}

.section { padding: var(--sp-5) 0; }
.section-tight { padding: var(--sp-4) 0; }
@media (min-width: 768px) {
  .section { padding: var(--sp-7) 0; }
  .section-tight { padding: var(--sp-6) 0; }
}
.section-muted { background: var(--muted-bg); }
.section-dark { background: var(--obsidian); color: #f4f2f0; }
.section-dark .muted { color: #a8a39d; }

.section-head { max-width: 640px; margin-bottom: var(--sp-4); }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: var(--sp-2); }
.section-head p { color: var(--muted-fg); font-size: 1.02rem; }
.section-head.center { margin: 0 auto var(--sp-4); text-align: center; }

.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------------------------------------------------------------------- */
/* Grids                                                                  */
/* ---------------------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: var(--border); color: var(--fg); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-dark { background: var(--obsidian); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn svg { flex-shrink: 0; }

/* ---------------------------------------------------------------------- */
/* Badges / pills                                                         */
/* ---------------------------------------------------------------------- */

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.pill-brand { background: rgba(167,70,37,0.09); color: var(--brand-deep); }
.pill-dark { background: var(--obsidian); color: #fff; }
.pill-outline { border: 1px solid var(--border); color: var(--muted-fg); }

.pulse-dot { position: relative; display: inline-flex; width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--success); animation: pulse-ring 2.2s infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .6; } 70% { transform: scale(3.5); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse-dot::after { animation: none; } }

/* ---------------------------------------------------------------------- */
/* Cards                                                                  */
/* ---------------------------------------------------------------------- */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.card { display: block; }
@media (hover: hover) and (pointer: fine) {
  .card.hoverable:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(167,70,37,0.25); }
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(167,70,37,0.09);
  color: var(--brand);
  margin-bottom: var(--sp-2);
  flex-shrink: 0;
}
.icon-circle.solid { background: var(--brand); color: #fff; }
.icon-circle.sm { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 8px; }

.card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: var(--sp-2); margin-top: var(--sp-2); border-top: 1px solid var(--border); }
.price-from .label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted-fg); text-transform: uppercase; }
.price-from .value { font-size: 1.15rem; font-weight: 700; font-family: var(--font-heading); }
.turnaround { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--muted-fg); }

/* ---------------------------------------------------------------------- */
/* Header / nav                                                           */
/* ---------------------------------------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,11,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 2px solid rgba(217,113,74,0.4); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.site-header .logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header .logo img { height: 40px; width: auto; }

.main-nav { display: none; align-items: center; gap: 1px; }
.main-nav .nav-item, .nav-item-location { position: relative; }
.nav-link { display: flex; flex-direction: column; align-items: center; gap: 3px; font-weight: 600; font-size: 0.68rem; color: rgba(255,255,255,0.75); padding: 9px 10px; border-radius: var(--radius-sm); white-space: nowrap; min-width: 56px; }
.nav-link:hover, .nav-link:focus-visible { color: var(--brand-light); }
.nav-item:hover .nav-link, .nav-item:focus-within .nav-link { color: var(--brand-light); }

.nav-dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 280px; background: rgba(255,255,255,0.9); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); border: 1px solid rgba(255,255,255,0.9); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,0.22); padding: 8px; display: flex; flex-direction: column; gap: 1px; opacity: 0; visibility: hidden; transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s; z-index: 60; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown, .nav-item.open .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--fg); }
.nav-dropdown a:hover { background: rgba(167,70,37,0.1); }
.nav-dropdown a:hover .nav-dropdown-label { color: var(--brand); }
.nav-dropdown-label { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; }
.nav-dropdown-desc { font-size: 0.76rem; font-weight: 400; color: var(--muted-fg, rgba(30,30,30,0.6)); }
.pill-soon { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 999px; background: rgba(167,70,37,0.12); color: var(--brand); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.nav-dropdown-right { left: auto; right: 0; transform: translateY(6px); min-width: 220px; }
.nav-item-location:hover .nav-dropdown-right, .nav-item-location:focus-within .nav-dropdown-right, .nav-item-location.open .nav-dropdown-right { transform: translateY(0); }

.nav-cta { display: none; align-items: center; gap: 8px; flex-shrink: 0; }
.location-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--radius-sm); background: none; color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 600; }
.location-pill svg:first-child { color: var(--brand-light); }
.location-pill:hover { color: var(--brand-light); }
/* background/appearance/cursor set explicitly — this class was only ever used on an <a> before
   (transparent by default there), so a <button> using it rendered the browser's native grey
   chrome instead of the intended transparent dark-header style. */
.btn-secondary-dark { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.15); background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; color: #fff; font-size: 0.86rem; font-weight: 600; }
.btn-secondary-dark:hover { border-color: rgba(217,113,74,0.6); color: var(--brand-light); }

@media (min-width: 1024px) { .main-nav { display: flex; } .nav-cta { display: flex; } }

.mobile-cta { display: flex; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .mobile-cta { display: none; } }
.mobile-call { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: rgba(255,255,255,0.9); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: none; color: #fff; background: none; }

/* Mobile full-screen drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 70; display: none; flex-direction: column; background: rgba(10,10,11,0.97); backdrop-filter: blur(20px); overflow-y: auto; }
.mobile-drawer.open { display: flex; }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 64px; border-bottom: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; }
.mobile-drawer-close { width: 36px; height: 36px; border: none; background: none; color: #fff; font-size: 1.2rem; }
.mobile-drawer-nav { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 22px; }
.mobile-drawer-link { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-drawer-link svg { color: rgba(217,113,74,0.6); flex-shrink: 0; }
.mobile-drawer-link:hover { color: var(--brand-light); }
.mobile-drawer-foot { padding: 18px 20px; border-top: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; }
.mobile-store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 10px; }
.mobile-store-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 8px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 600; background: none; }
.mobile-store-btn.is-active { border-color: var(--brand-light); color: var(--brand-light); background: rgba(217,113,74,0.1); }
.mobile-drawer-call { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-weight: 600; margin-bottom: 10px; }
.mobile-drawer-book { display: block; padding: 13px; border-radius: var(--radius-sm); background: var(--brand); color: #fff; font-weight: 700; text-align: center; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */

.site-footer { background: var(--obsidian); color: #c9c5bf; padding: var(--sp-6) 0 var(--sp-3); }
.site-footer h4 { color: #fff; font-size: 0.88rem; font-weight: 600; margin-bottom: var(--sp-2); padding-bottom: 10px; border-bottom: 2px solid rgba(217,113,74,0.3); }
.site-footer a { color: #c9c5bf; font-size: 0.88rem; }
.site-footer a:hover { color: #fff; }
/* .muted's default (--muted-fg, #6b6560) is tuned for light backgrounds and fails WCAG AA
   contrast against the footer's near-black background (~3.6:1, needs 4.5:1) - reuse the
   footer's own already-passing text colour instead of a one-off new one. */
.site-footer .muted { color: #c9c5bf; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 3fr; } }
.footer-cols { display: none; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.footer-cols ul, .footer-accordions ul { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1024px) { .footer-cols { display: grid; } .footer-accordions { display: none; } }
.footer-accordions { display: block; }
.footer-accordion { border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-family: var(--font-heading); font-weight: 700; color: #fff; cursor: pointer; list-style: none; }
.footer-accordion summary::-webkit-details-marker { display: none; }
.footer-accordion summary svg { transition: transform 0.2s ease; color: rgba(255,255,255,0.5); }
.footer-accordion[open] summary svg { transform: rotate(180deg); }
.footer-accordion ul { padding-bottom: 14px; }
.hours-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.hours-dot.is-open { background: var(--brand); }
.footer-bottom { margin-top: var(--sp-5); padding-top: var(--sp-2); border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.8rem; color: #c9c5bf; display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: space-between; }

/* ---------------------------------------------------------------------- */
/* FAQ accordion                                                          */
/* ---------------------------------------------------------------------- */

.faq-item { background: var(--muted-bg); border: 1px solid transparent; border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 400;
  background: var(--card); color: var(--fg);
}
.faq-item[open] { background: var(--bg); border-color: var(--brand); }
.faq-item[open] summary::after { content: '\2212'; background: var(--brand); color: #fff; }
.faq-item p { margin-top: 12px; color: var(--muted-fg); }

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */

.hero { position: relative; padding: var(--sp-6) 0 var(--sp-5); background: linear-gradient(180deg, #fffaf7 0%, var(--bg) 100%); overflow: hidden; }
@media (min-width: 768px) { .hero { padding: var(--sp-8) 0 var(--sp-7); } }
.hero-glow { position: absolute; top: -200px; right: -180px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(167,70,37,0.20) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: 0.5; background-image: linear-gradient(rgba(167,70,37,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(167,70,37,0.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: var(--sp-5); align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); font-weight: 700; margin-bottom: var(--sp-2); }
.hero .lead { font-size: 1.1rem; color: var(--muted-fg); max-width: 540px; margin-bottom: var(--sp-3); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--sp-3); }
.hero-stats { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.hero-stats .stat-num { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.hero-stats .stat-label { font-size: 0.78rem; color: var(--muted-fg); }

.hero-panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.hero-panel img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,11,0.55), transparent 55%); }
.hero-panel .tag { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.18); color: #fff; }

.badge-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: var(--sp-3); }
@media (min-width: 540px) { .badge-strip { grid-template-columns: repeat(3, 1fr); } }
.badge-strip .b { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); font-size: 0.78rem; font-weight: 600; }
.badge-strip .b svg { color: var(--brand); flex-shrink: 0; }

/* ---------------------------------------------------------------------- */
/* Price preview panel                                                    */
/* ---------------------------------------------------------------------- */

.price-preview { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-3); box-shadow: var(--shadow-md); }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.price-row:last-child { border-bottom: none; }
.price-row strong { color: var(--brand); font-family: var(--font-heading); }

/* ---------------------------------------------------------------------- */
/* Reviews                                                                */
/* ---------------------------------------------------------------------- */

.review-rail { display: flex; gap: var(--sp-2); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.review-card { min-width: 300px; max-width: 320px; flex-shrink: 0; scroll-snap-align: start; }
.review-card .stars { color: var(--brand); letter-spacing: 2px; font-size: 0.95rem; }
.review-card p { margin: 10px 0; color: var(--muted-fg); font-size: 0.92rem; line-height: 1.6; }

/* ---------------------------------------------------------------------- */
/* Booking wizard                                                         */
/* ---------------------------------------------------------------------- */

.wiz-stepper { display: flex; align-items: center; gap: 4px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; scroll-behavior: smooth; }
.wiz-stepper::-webkit-scrollbar { display: none; }
/* Turnstile's widget has a vendor-fixed min width (~300px) that doesn't fit every phone's content width; scroll it in place instead of letting it push the whole page wider. */
.turnstile-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-top: 14px; }
.turnstile-wrap::-webkit-scrollbar { display: none; }
.wiz-step { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; white-space: nowrap; background: var(--muted-bg); color: var(--muted-fg); flex-shrink: 0; transition: background 0.25s ease, color 0.25s ease; }
.wiz-step.done { background: rgba(34,197,94,0.12); color: #15803d; }
.wiz-step.active { background: var(--brand); color: #fff; }
.wiz-sep { width: 8px; height: 1px; background: var(--border); flex-shrink: 0; }
.wiz-crumb { font-size: 0.85rem; color: var(--brand); font-weight: 600; margin: 10px 0 18px; display: flex; justify-content: space-between; }
.wiz-crumb .price { color: var(--fg); }

.wiz-choice { display: block; width: 100%; text-align: left; padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.wiz-choice:hover { border-color: rgba(167,70,37,0.35); }
.wiz-choice.selected { border-color: var(--brand); background: rgba(167,70,37,0.06); }
.wiz-choice .meta { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted-fg); text-transform: uppercase; margin-top: 4px; }
.wiz-badge-open { font-size: 0.72rem; font-weight: 700; color: #15803d; background: rgba(34,197,94,0.12); padding: 3px 9px; border-radius: 999px; }

.wiz-row { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--card); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.wiz-row:hover { border-color: rgba(167,70,37,0.35); }
.wiz-row.selected { border-color: var(--brand); background: rgba(167,70,37,0.06); }
.wiz-row .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; margin-top: 2px; position: relative; }
.wiz-row.selected .radio { border-color: var(--brand); }
.wiz-row.selected .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand); }
.wiz-row .check { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--border); flex-shrink: 0; margin-top: 2px; }
.wiz-row.selected .check { border-color: var(--brand); background: var(--brand); }

.wiz-stars { color: var(--brand); font-size: 0.85rem; letter-spacing: 1px; }
/* Light brand-tinted, not the dark/obsidian CTA pattern — matches the rest of the booking
   wizard's light theme (the dark band was tried sitewide and explicitly rejected). */
.wiz-price-match { background: rgba(167,70,37,0.06); border: 1px solid rgba(167,70,37,0.22); border-radius: var(--radius-sm); padding: 16px; margin: 16px 0; }
.wiz-price-match strong { display: block; margin-bottom: 4px; color: var(--brand-deep); }
.wiz-price-match p { font-size: 0.82rem; color: var(--muted-fg); }

.wiz-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
@media (min-width: 420px) { .wiz-slots { grid-template-columns: repeat(4, 1fr); } }
.wiz-slot { padding: 9px 4px; text-align: center; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.85rem; background: var(--card); cursor: pointer; }
.wiz-slot:hover { border-color: var(--brand); }
.wiz-slot.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.wiz-quickdates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }.wiz-quickdate { padding: 10px 6px; text-align: center; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 600; background: var(--card); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease; }.wiz-quickdate:hover { border-color: var(--brand); color: var(--brand); }.wiz-quickdate.selected { background: var(--brand); color: #fff; border-color: var(--brand); }.wiz-customdate-row { margin-top: 10px; font-size: 0.76rem; color: var(--muted-fg); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

.wiz-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.wiz-toggle button { flex: 1; padding: 11px; background: var(--card); border: none; font-weight: 600; font-size: 0.9rem; cursor: pointer; color: var(--muted-fg); }
.wiz-toggle button.selected { background: var(--brand); color: #fff; }

.wiz-voucher-row { display: flex; gap: 8px; }
.wiz-voucher-row input { flex: 1; min-width: 0; padding: 11px 14px; min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.wiz-voucher-row input:focus { outline: none; border-color: var(--brand); }
.wiz-voucher-row button { padding: 0 18px; min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); font-weight: 700; font-size: 0.88rem; cursor: pointer; }
.wiz-voucher-row button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.wiz-voucher-row button:disabled { opacity: 0.5; cursor: default; }
.wiz-voucher-error { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.85rem; color: #dc2626; }
.wiz-voucher-applied { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(34,197,94,0.35); background: rgba(34,197,94,0.07); }
.wiz-voucher-check { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: #16a34a; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.wiz-voucher-applied strong { font-size: 0.9rem; }
.wiz-voucher-code-tag { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; color: #16a34a; flex-shrink: 0; }
.wiz-voucher-applied button { border: none; background: none; color: var(--muted-fg); font-size: 1.1rem; line-height: 1; padding: 2px 4px; cursor: pointer; flex-shrink: 0; }
.wiz-voucher-applied button:hover { color: var(--brand); }

.wiz-reward-box { padding: 14px; border-radius: var(--radius-sm); background: var(--muted-bg); }

/* ---------------------------------------------------------------------- */
/* Scroll-reveal                                                          */
/* ---------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------------------- */
/* Booking wizard step transition                                         */
/* ---------------------------------------------------------------------- */

@keyframes wizStepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
#wizCard.wiz-anim { animation: wizStepIn 0.32s cubic-bezier(.16,1,.3,1); }
@media (prefers-reduced-motion: reduce) { #wizCard.wiz-anim { animation: none; } }

/* ---------------------------------------------------------------------- */
/* Price table (grouped by device type -> brand, optional search)         */
/* ---------------------------------------------------------------------- */

.price-search { position: relative; max-width: 480px; margin-bottom: var(--sp-4); }
.price-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-fg); pointer-events: none; }
.price-search input { width: 100%; padding: 14px 16px 14px 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 1rem; }
.price-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(167,70,37,0.15); }

.price-type-section { margin-bottom: var(--sp-5); }
.price-type-section:last-child { margin-bottom: 0; }
.price-type-head h2 { font-size: 1.5rem; font-weight: 700; padding-bottom: var(--sp-2); border-bottom: 1px solid var(--border); margin-bottom: var(--sp-3); }

.price-brand-heading { font-size: 1.1rem; font-weight: 700; color: var(--brand); margin: var(--sp-3) 0 12px; }

.price-brand-accordion { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 12px; }
.price-brand-accordion summary {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer;
  list-style: none; background: var(--muted-bg); font-weight: 600;
}
.price-brand-accordion summary::-webkit-details-marker { display: none; }
.price-brand-accordion summary svg { margin-left: auto; color: var(--muted-fg); transition: transform 0.2s ease; }
.price-brand-accordion[open] summary svg { transform: rotate(180deg); }
.price-brand-name { color: var(--brand); font-family: var(--font-heading); }
.price-brand-count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted-fg); text-transform: uppercase; letter-spacing: 0.06em; }
.price-brand-accordion .price-model-grid { padding: 16px; }

.price-model-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .price-model-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .price-model-grid { grid-template-columns: repeat(3, 1fr); } }

.price-model-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.price-model-name { font-weight: 700; margin-bottom: 10px; }
.price-model-name a { color: var(--brand); }
.price-model-name a:hover { text-decoration: underline; }
.part-name a { color: var(--brand); }
.part-name a:hover { text-decoration: underline; }
.price-model-parts { display: flex; flex-direction: column; gap: 6px; }
.price-model-part { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 0.88rem; }
.part-name { color: var(--muted-fg); }
.part-grade { color: var(--fg); font-weight: 600; }
.part-price { font-weight: 700; white-space: nowrap; }
.part-price-quote { color: var(--brand); }
.price-model-book { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.85rem; font-weight: 700; color: var(--brand); }

.price-empty { text-align: center; padding: 48px 16px; }
.price-empty-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.price-empty-phones { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
