/* ==========================================================
   APEX DETAIL — Auto detailer concept (Avara Designs)
   Matte black + bright pearl + bold red. Bebas Neue display.
   ========================================================== */

:root {
  --bg:        #0D0D0D;
  --bg-2:      #161616;
  --bg-3:      #1F1F1F;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.16);
  --ink:       #F2F2F0;
  --ink-soft:  rgba(242, 242, 240, 0.66);
  --ink-faint: rgba(242, 242, 240, 0.45);
  --red:       #E63946;
  --red-deep:  #C1232E;

  --display: 'Bebas Neue', 'Impact', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --container-max: 1280px;
  --container-pad: clamp(20px, 4vw, 48px);
}

*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

::selection { background: var(--red); color: var(--bg); }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding-inline: var(--container-pad); }

/* Typography */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.dot-red { display:inline-block; width:8px; height:8px; border-radius:50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

.section-headline {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.accent-red { color: var(--red); }
.hero-headline-accent { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 200ms cubic-bezier(.22,1,.36,1), background 200ms ease, color 200ms ease, border-color 200ms ease;
  border: 1px solid transparent;
}
.btn-red { background: var(--red); color: var(--ink); }
.btn-red:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-block { width: 100%; }

/* ----------- NAV ----------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(13, 13, 13, 0);
  transition: background 250ms ease, backdrop-filter 250ms ease, padding 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand span { color: var(--red); }

.nav-links { display: flex; gap: 32px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links a { transition: color 200ms ease; }
.nav-links a:hover { color: var(--red); }
.nav-cta { padding: 10px 20px; font-size: 12px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ----------- HERO ----------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../../concepts/detailer/images/hero.jpg'), url('https://images.unsplash.com/photo-1583121274602-3e2820c69888?w=1920');
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  filter: brightness(0.65);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.4) 0%, rgba(13,13,13,0.6) 60%, rgba(13,13,13,1) 100%),
    radial-gradient(circle at 75% 30%, rgba(230, 57, 70, 0.18), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; max-width: 920px; }

.hero-headline {
  font-family: var(--display);
  font-size: clamp(60px, 11vw, 160px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 640px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 80px; }

.hero-stats { display: flex; gap: clamp(32px, 6vw, 80px); padding-top: 40px; border-top: 1px solid var(--line); }
.stat-num {
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--red);
  line-height: 1;
}
.stat-num::after { content: '+'; color: var(--ink); }
.stat:nth-child(2) .stat-num::after { content: '%'; }
.stat:nth-child(3) .stat-num::after { content: ''; }
.stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 8px;
}

@media (max-width: 720px) {
  .hero-stats { gap: 28px; flex-wrap: wrap; }
}

/* ----------- SECTIONS ----------- */

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 36px 28px;
  position: relative;
  transition: transform 280ms cubic-bezier(.22,1,.36,1), border-color 220ms ease, background 220ms ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  background: var(--bg-3);
}
.service-card-popular { border-color: var(--red); background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); }
.popular-tag {
  position: absolute;
  top: -1px; right: 16px;
  background: var(--red);
  color: var(--bg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 5px 10px;
}

.service-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--red); }
.service-tier {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.service-price {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 24px;
}

.service-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.service-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 2px;
  background: var(--red);
}

.service-time {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

/* ----------- BEFORE/AFTER GALLERY ----------- */

.gallery { background: var(--bg-2); }

.ba-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 40px 0 24px; }
.ba-tab {
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.ba-tab:hover { color: var(--ink); }
.ba-tab.is-active { background: var(--red); color: var(--ink); border-color: var(--red); }

.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  background: var(--bg-3);
  border: 1px solid var(--line);
  cursor: ew-resize;
  touch-action: pan-y;
}

/* Real car photos behind each before/after slider.
   Same photo used for before+after, with different filter treatment to fake the contrast.
   FLAG: replace these Unsplash IDs with real client before/after pairs in production. */

.ba-after, .ba-before {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0d0d0d;
}

/* Slider 0 — M3 Paint Correction (black sports car, dramatic lighting) */
#ba0 .ba-after,
#ba0 .ba-before {
  background-image: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1400&q=85&auto=format&fit=crop");
}
#ba0 .ba-after  { filter: saturate(1.15) contrast(1.08) brightness(1.02); }
#ba0 .ba-before { clip-path: inset(0 50% 0 0); filter: saturate(0.35) brightness(0.7) contrast(0.85); }

/* Slider 1 — 911 Interior Detail (leather cabin) */
#ba1 .ba-after,
#ba1 .ba-before {
  background-image: url("https://images.unsplash.com/photo-1583121274602-3e2820c69888?w=1400&q=85&auto=format&fit=crop");
}
#ba1 .ba-after  { filter: saturate(1.15) contrast(1.08) brightness(1.05); }
#ba1 .ba-before { clip-path: inset(0 50% 0 0); filter: saturate(0.4) brightness(0.65) contrast(0.85); }

/* Slider 2 — F-150 Full Detail (truck) */
#ba2 .ba-after,
#ba2 .ba-before {
  background-image: url("https://images.unsplash.com/photo-1605559424843-9e4c228bf1c2?w=1400&q=85&auto=format&fit=crop");
}
#ba2 .ba-after  { filter: saturate(1.2) contrast(1.08) brightness(1.05); }
#ba2 .ba-before { clip-path: inset(0 50% 0 0); filter: saturate(0.35) brightness(0.7) contrast(0.85); }

/* Subtle sheen on the "after" half */
.ba-after::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255,255,255,0.10), transparent 35%);
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--ink);
  transform: translateX(-1px);
  z-index: 3;
  cursor: ew-resize;
}
.ba-handle-line { display: block; width: 2px; height: 100%; background: var(--ink); }
.ba-handle-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.ba-handle:focus { outline: none; }
.ba-handle:focus .ba-handle-knob { box-shadow: 0 0 0 3px var(--red), 0 8px 24px rgba(0,0,0,0.6); }

.ba-label {
  position: absolute;
  bottom: 18px;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  background: rgba(13,13,13,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 12px;
  pointer-events: none;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.06);
  text-transform: uppercase;
}
.ba-label-before { left: 18px; color: rgba(237,233,223,0.85); }
.ba-label-after { right: 18px; color: #fff; background: rgba(230,57,70,0.85); border-color: rgba(255,255,255,0.15); }

/* ----------- AREAS ----------- */

.areas-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .areas-inner { grid-template-columns: 1fr; gap: 32px; } }

.areas-sub { font-size: 17px; color: var(--ink-soft); margin-bottom: 32px; max-width: 540px; }
.areas-list { display: flex; flex-direction: column; gap: 14px; }
.areas-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 20px;
}
.areas-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 22px;
  width: 8px; height: 2px;
  background: var(--red);
}

.areas-map {
  aspect-ratio: 5 / 4;
  background:
    linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 60%, #1a0d10 100%),
    radial-gradient(circle at 30% 40%, rgba(230,57,70,0.15), transparent 50%);
  background-size: cover;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.areas-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(230,57,70,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,57,70,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pulse {
  position: absolute;
  left: var(--x, 45%); top: var(--y, 50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
  animation: mapPulse 2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes mapPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(2); opacity: 0.4; }
}

/* ----------- TESTIMONIALS ----------- */

.testimonials { background: var(--bg-2); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 880px) { .testimonials-grid { grid-template-columns: 1fr; } }

.t-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 220ms ease, transform 280ms cubic-bezier(.22,1,.36,1);
}
.t-card:hover { border-color: var(--red); transform: translateY(-3px); }
.stars { color: var(--red); font-size: 16px; letter-spacing: 2px; }
.t-card blockquote { font-size: 16px; line-height: 1.55; color: var(--ink); }
.t-card figcaption { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-top: 8px; }

/* ----------- BOOKING ----------- */

.booking-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.booking-subline {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink-soft);
  margin: 16px auto 32px;
  max-width: 560px;
  line-height: 1.6;
}
.booking-frame {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  margin-bottom: 32px;
  min-height: 640px;
}
.cal-embed {
  width: 100%;
  min-height: 640px;
  background: var(--bg);
}
.cal-embed iframe { width: 100%; height: 100%; min-height: 640px; border: none; display: block; }
.booking-frame-placeholder {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  line-height: 1.3;
}
.booking-frame-placeholder span { font-size: 13px; font-family: var(--sans); letter-spacing: 0.06em; color: var(--ink-faint); display: block; margin-top: 8px; text-transform: uppercase; }
.booking-direct { color: var(--ink-soft); }
.booking-direct a { color: var(--red); font-weight: 700; }

/* ----------- FOOTER ----------- */

.footer { background: #050505; padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }

.brand-logo { font-family: var(--display); font-size: 28px; letter-spacing: 0.04em; }
.brand-logo span { color: var(--red); }
.footer-brand p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; font-size: 14px; color: var(--ink-soft); }
.footer-contact a:hover { color: var(--red); }
@media (max-width: 720px) { .footer-contact { align-items: flex-start; } }
.footer-copy { grid-column: 1 / -1; padding-top: 32px; border-top: 1px solid var(--line); margin-top: 16px; font-size: 12px; color: var(--ink-faint); }
.footer-copy a { color: var(--red); }

/* ----------- STICKY BOOK ----------- */

.sticky-book {
  position: fixed;
  bottom: 16px; right: 16px;
  background: var(--red);
  color: var(--ink);
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(230,57,70,0.4);
  z-index: 30;
  border-radius: 2px;
  display: none;
}
@media (max-width: 720px) { .sticky-book { display: inline-flex; } }

/* ----------- REVEAL ----------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 700ms cubic-bezier(.22,1,.36,1), transform 700ms cubic-bezier(.22,1,.36,1); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ==========================================================
   v5: Apex booking section in concept-mode
   "Like what you see?" lead capture for Avara, framed as
   a non-disruptive aside inside the Apex Detail concept page.
   ========================================================== */

.apex-leadcap {
  position: relative;
  margin: 48px auto 0;
  max-width: 720px;
  padding: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(217,96,59,0.10) 0%, rgba(13,13,13,0) 100%), var(--bg-2);
  border: 1px solid rgba(217, 96, 59, 0.30);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}
.apex-leadcap-eyebrow {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: #D9603B;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.apex-leadcap-headline {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}
.apex-leadcap-sub {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 32px;
}
.apex-leadcap-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #D9603B;
  color: #0B0B0B;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 18px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.apex-leadcap-cta:hover {
  background: #E8714A;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217, 96, 59, 0.35);
}
.apex-leadcap-fine {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-faint);
  font-family: var(--sans);
}
.apex-leadcap-fine a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
}
.apex-leadcap-fine a:hover { color: #D9603B; }

/* ==========================================================
   v8 POLISH — side-by-side sliders, amber popular treatment,
   reviews carousel, real star icons, embedded booking.
   ========================================================== */

.ba-demo-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 8px;
  margin-bottom: 8px;
  max-width: 64ch;
}

/* Three sliders side by side (desktop) — stack mobile */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 64px);
}
@media (max-width: 880px) {
  .ba-grid { grid-template-columns: 1fr; gap: 32px; }
}
.ba-grid .ba {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.ba-caption {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 3px;
  pointer-events: none;
}
.ba-caption-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.ba-caption-name {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.9);
  font-feature-settings: 'ss01';
}
.ba-caption-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
/* Hide tabbed nav — sliders all visible */
.ba-tabs { display: none !important; }

/* Amber accent for the popular service card (per brief) */
:root {
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.12);
}
.service-card-popular {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, var(--bg-2) 100%);
  border-top: 2px solid var(--amber) !important;
}
.popular-tag {
  background: var(--amber) !important;
  color: #1A0E00 !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45) !important;
}

/* Star icons — render as actual SVGs in the markup, color amber for warmth */
.t-card .stars {
  display: inline-flex;
  gap: 2px;
  color: var(--amber);
  margin-bottom: 16px;
}

/* Reviews carousel — auto-scroll horizontally on desktop */
.testimonials .testimonials-grid {
  display: flex !important;
  gap: clamp(20px, 3vw, 32px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.testimonials .testimonials-grid::-webkit-scrollbar { display: none; }
.testimonials .t-card {
  flex: 0 0 min(420px, 88%);
  scroll-snap-align: start;
}
@media (min-width: 980px) {
  .testimonials .testimonials-grid {
    grid-template-columns: none !important;
    overflow: hidden;
  }
  .testimonials .t-card {
    flex: 0 0 calc((100% - clamp(20px, 3vw, 32px) * 2) / 3);
  }
  .testimonials.is-rolling .testimonials-grid {
    animation: reviewRoll 16s linear infinite;
  }
  .testimonials.is-rolling:hover .testimonials-grid {
    animation-play-state: paused;
  }
}
@keyframes reviewRoll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 3 - clamp(20px, 3vw, 32px) / 3)); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials .testimonials-grid { animation: none !important; }
}

/* Stat suffix span (rendered after the count) */
.stat-num .stat-suffix {
  font-size: 0.6em;
  margin-left: 2px;
  color: var(--ink-soft);
  vertical-align: super;
}

/* ---------- VISUAL MOCK BOOKING (no real iframe — concept preview only) ---------- */
.apex-book-frame, .apex-book-iframe { display: none; }

.apex-book-mock {
  background: linear-gradient(180deg, var(--bg-2) 0%, #0a0a0a 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  margin-block: clamp(32px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.apex-book-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(230,57,70,0.06), transparent 55%);
  pointer-events: none;
}
.apex-book-mock > * { position: relative; z-index: 1; }

.apex-mock-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.9fr;
  gap: clamp(20px, 3vw, 32px);
}
@media (max-width: 880px) { .apex-mock-grid { grid-template-columns: 1fr; gap: 24px; } }

.apex-mock-col { display: flex; flex-direction: column; gap: 8px; }
.apex-mock-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.apex-mock-service {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color 200ms ease, background 200ms ease;
}
.apex-mock-service:hover { border-color: var(--ink-soft); }
.apex-mock-service.is-active {
  border-color: var(--red);
  background: rgba(230,57,70,0.06);
  box-shadow: inset 3px 0 0 var(--red);
}
.apex-mock-service-name { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: 0.04em; }
.apex-mock-service-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.04em; }

/* Old grid removed — replaced by .apex-mock-strip below */
.apex-mock-cal { display: none; }

.apex-mock-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.apex-mock-strip::-webkit-scrollbar { display: none; }
.apex-mock-strip-day {
  flex: 0 0 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: all 180ms ease;
}
.apex-mock-strip-day:hover:not(.is-full) { border-color: var(--red); }
.apex-mock-strip-day.is-selected {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.apex-mock-strip-day.is-selected .apex-mock-strip-dow,
.apex-mock-strip-day.is-selected .apex-mock-strip-num,
.apex-mock-strip-day.is-selected .apex-mock-strip-status { color: #fff; }
.apex-mock-strip-day.is-full { opacity: 0.4; cursor: not-allowed; }
.apex-mock-strip-day.is-full .apex-mock-strip-status { color: var(--red); }

.apex-mock-strip-dow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.apex-mock-strip-num {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.apex-mock-strip-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.apex-mock-time {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.04em;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}
.apex-mock-time:hover:not(.is-full) { border-color: var(--red); color: var(--red); }
.apex-mock-time.is-active {
  background: var(--red);
  color: var(--bg);
  border-color: var(--red);
}
.apex-mock-time.is-full { color: var(--ink-faint); text-decoration: line-through; cursor: not-allowed; opacity: 0.55; }

.apex-mock-summary {
  margin-top: 8px;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid rgba(230,57,70,0.4);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.apex-mock-summary-line {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.apex-mock-price {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.02em;
}
.apex-mock-price span:first-child { font-size: 14px; opacity: 0.7; margin-right: 2px; }
.apex-mock-cta {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 10px 18px;
  white-space: nowrap;
  transition: all 200ms ease;
}
.apex-mock-cta:hover { background: var(--red); color: var(--bg); }

@media (max-width: 880px) {
  .apex-mock-summary { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---------- ZIP LOOKUP WIDGET ---------- */
.zip-widget {
  background: linear-gradient(180deg, var(--bg-2) 0%, #0a0a0a 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.zip-widget::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(230,57,70,0.06), transparent 55%),
    radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, 18px 18px;
  pointer-events: none;
}
.zip-widget > * { position: relative; z-index: 1; }
.zip-widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.zip-widget-label {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.zip-widget-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--red);
}

.zip-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.zip-input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  outline: none;
  transition: border-color 200ms ease;
}
.zip-input:focus { border-color: var(--red); }
.zip-input::placeholder { color: var(--ink-faint); }

.zip-submit {
  background: var(--red);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 0 22px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.zip-submit:hover { background: #FF4555; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(230,57,70,0.4); }

.zip-result {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: zipResultIn 360ms cubic-bezier(.22,1,.36,1);
}
@keyframes zipResultIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.zip-result.is-out-of-zone { border-color: rgba(230,57,70,0.4); background: rgba(230,57,70,0.05); }

.zip-result-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.zip-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: zipPulse 2s ease-out infinite;
  flex-shrink: 0;
}
.zip-result.is-out-of-zone .zip-dot { background: var(--red); animation: none; }
@keyframes zipPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.zip-result-line {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.zip-result-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.zip-meta-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.zip-meta-row span:last-child { color: var(--ink); font-weight: 500; }

.zip-result-cta {
  align-self: flex-start;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid currentColor;
  padding: 4px 0;
  text-decoration: none;
  transition: gap 200ms ease;
}
.zip-result.is-out-of-zone .zip-result-cta { color: var(--ink-soft); }

.zip-quicklist {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.zip-quicklist li button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}
.zip-quicklist li button:hover { border-color: var(--red); color: var(--red); }

/* Hide the old dot-grid map — replaced by zip-widget */
.areas-map { display: none; }

@media (max-width: 880px) {
  .zip-form { grid-template-columns: 1fr; }
  .zip-submit { padding: 14px 22px; }
}

/* Sticky book — on mobile becomes a full-width bottom bar */
@media (max-width: 720px) {
  .sticky-book {
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    border-radius: 0 !important;
    text-align: center;
    padding: 16px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase;
  }
}

