/* ============================================================
   NEW SECTIONS · What Changes / Lead Magnet / Trust Bar /
   Google Reviews / Cookie Banner / Exit Popup / Video Placeholder
   ============================================================ */

/* ---------- What Changes ---------- */
.what-changes .changes-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .what-changes .changes-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.changes-col .eyebrow { margin-bottom: 1.25rem; }
.change-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  padding: 1.4rem 1.5rem 1.4rem 4.25rem;
  margin-bottom: 1rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.change-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(0,0,0,0.14); }
.change-card .num {
  position: absolute;
  left: 1.1rem; top: 1.3rem;
  font-family: var(--h-font);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--red);
  letter-spacing: -0.02em;
}
.change-card h3 {
  font-family: var(--h-font);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
}
.change-card p { color: var(--muted); margin: 0; }

/* ---------- Lead Magnet section ---------- */
.lead-section { padding-top: 4rem; padding-bottom: 4rem; }

/* ---------- Trust Bar / Logo Strips ---------- */
.trust-bar-section { padding-top: 4rem; padding-bottom: 4rem; }
.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.logo-cell {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 1rem 0.9rem;
  text-align: center;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.logo-cell:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--red);
}
.logo-cell span {
  display: block;
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #0A0A0A;
}
.logo-cell small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Google Reviews Badge ---------- */
.google-rev-section { padding-top: 3rem; padding-bottom: 3rem; }
.g-review-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: center;
  box-shadow: 0 10px 30px -16px rgba(0,0,0,0.08);
}
@media (min-width: 720px) {
  .g-review-card { grid-template-columns: 2fr 1fr; }
}
.g-review-badge { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.g-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285F4, #34A853, #FBBC04, #EA4335);
  color: #fff;
  font-family: var(--h-font);
  font-weight: 900;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.g-stars-wrap { display: flex; flex-direction: column; gap: 0.15rem; }
.g-stars { color: #FBBC04; font-size: 1.3rem; letter-spacing: 0.1em; line-height: 1; }
.g-stars .s { display: inline-block; }
.g-rating { font-family: var(--h-font); font-weight: 800; font-size: 1.1rem; color: #0A0A0A; }
.g-rating strong { font-size: 1.5rem; color: var(--red); }
.g-label { width: 100%; margin-top: 0.5rem; color: var(--muted); font-size: 0.9rem; }
.g-review-action { text-align: right; }
.g-review-action .btn { margin-bottom: 0.5rem; }
.g-fine { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) {
  .g-review-action { text-align: left; }
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  background: #0A0A0A;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  z-index: 9000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner.is-show { opacity: 1; transform: translateY(0); }
.cookie-inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 800px) {
  .cookie-inner { grid-template-columns: 1.4fr 1fr; }
}
.cookie-text h4 {
  font-family: var(--h-font);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.cookie-text p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin: 0; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-start;
}
@media (min-width: 800px) {
  .cookie-actions { justify-content: flex-end; }
}
.cookie-link { color: rgba(255,255,255,0.7); font-size: 0.85rem; text-decoration: underline; }
.cookie-link:hover { color: #fff; }

/* ---------- Exit-Intent Popup ---------- */
.exit-pop {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.exit-pop[hidden] { display: none !important; }
.exit-pop.is-show { opacity: 1; }
.exit-pop-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.exit-pop-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  border-top: 4px solid var(--red);
  padding: 2rem 1.75rem;
  max-width: 460px;
  width: calc(100% - 2rem);
  box-shadow: 0 30px 90px rgba(0,0,0,0.45);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.25s ease;
}
.exit-pop.is-show .exit-pop-card { transform: translateY(0) scale(1); }
.exit-close {
  position: absolute;
  top: 0.5rem; right: 0.65rem;
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.25rem 0.5rem;
}
.exit-close:hover { color: var(--red); }
.exit-pop-card .eyebrow { color: var(--red); margin-bottom: 0.5rem; }
.exit-pop-card h3 {
  font-family: var(--h-font);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: #0A0A0A;
}
.exit-pop-card p { color: var(--muted); margin-bottom: 1.25rem; }
.exit-pop-card .cta-row { gap: 0.5rem; flex-wrap: wrap; }

/* ---------- Video Placeholder ---------- */
.video-embed-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.video-embed-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(226,7,31,0.18), transparent 60%);
  pointer-events: none;
}
.video-placeholder-inner { position: relative; z-index: 1; max-width: 420px; }
.vp-icon {
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  margin-bottom: 1rem;
}
.vp-icon svg { width: 22px; height: 22px; margin-left: 4px; }
.vp-title {
  font-family: var(--h-font);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.vp-sub { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; font-size: 0.95rem; }
.vp-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.vp-yt:hover { background: #c20e1a; transform: translateY(-2px); }
.vp-yt .yt-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; }
.vp-yt .yt-mark svg { width: 100%; height: 100%; }

/* ============================================================
   WORK SECTION · Horizontal Slider
   ============================================================ */
.work-slider-wrap {
  position: relative;
  margin-top: 2.5rem;
}

/* The horizontal track */
.work-slider {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0.5rem;
  padding: 0.5rem 0.5rem 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
  cursor: grab;
  outline: none;
}
.work-slider.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.work-slider:focus-visible { box-shadow: 0 0 0 2px var(--red); border-radius: 4px; }

.work-slider::-webkit-scrollbar { height: 8px; }
.work-slider::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 8px; }
.work-slider::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 8px; }
.work-slider::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }

/* Each card becomes a fixed-width snap target */
.work-slider .work-card {
  flex: 0 0 86%;
  max-width: 460px;
  scroll-snap-align: start;
  user-select: none;
  /* Reveal animation when entering the viewport */
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.reveal.in-view .work-slider .work-card,
.work-slider-wrap.in-view .work-slider .work-card {
  opacity: 1;
  transform: translateX(0);
}
.work-slider .work-card:nth-child(1) { transition-delay: 0.05s; }
.work-slider .work-card:nth-child(2) { transition-delay: 0.15s; }
.work-slider .work-card:nth-child(3) { transition-delay: 0.25s; }
.work-slider .work-card:nth-child(4) { transition-delay: 0.35s; }
.work-slider .work-card:nth-child(5) { transition-delay: 0.45s; }

.work-slider .work-card:hover { transform: translateY(-4px); }

@media (min-width: 760px) { .work-slider .work-card { flex-basis: 56%; } }
@media (min-width: 1100px) { .work-slider .work-card { flex-basis: 40%; max-width: 420px; } }

/* Arrow nav buttons */
.ws-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 10px 30px -8px rgba(226,7,31,0.5);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.ws-arrow svg { width: 22px; height: 22px; }
.ws-arrow:hover { background: #c20e1a; transform: translateY(-50%) scale(1.08); }
.ws-arrow:disabled { opacity: 0.25; cursor: not-allowed; transform: translateY(-50%) scale(0.95); }
.ws-prev { left: -8px; }
.ws-next { right: -8px; }
@media (min-width: 760px) {
  .ws-prev { left: -22px; }
  .ws-next { right: -22px; }
}
@media (max-width: 520px) {
  .ws-arrow { width: 40px; height: 40px; }
  .ws-arrow svg { width: 18px; height: 18px; }
}

/* Dot indicators */
.ws-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.ws-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), width 0.25s var(--ease);
}
.ws-dot:hover { background: rgba(255,255,255,0.55); transform: scale(1.15); }
.ws-dot.is-active {
  background: var(--red);
  width: 28px;
  border-radius: 8px;
}

/* Slide hint text */
.ws-hint {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.ws-hint span { color: rgba(255,255,255,0.7); }

@media (prefers-reduced-motion: reduce) {
  .work-slider { scroll-behavior: auto; }
  .work-slider .work-card { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   AUDIT · button-based YES/NO answers (replaces hidden-radio pattern)
   ============================================================ */
.audit-q .answers { display: flex; gap: 0.75rem; }
.audit-q .answers .audit-btn {
  flex: 1;
  padding: 0.85rem;
  text-align: center;
  background: #fff;
  color: var(--black);
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  min-height: 48px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.audit-q .answers .audit-btn:hover { border-color: var(--red); color: var(--red); }
.audit-q .answers .audit-btn:active { transform: scale(0.97); }
.audit-q .answers .audit-btn.is-checked {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  font-weight: 800;
}
.audit-q .answers .audit-btn.is-checked:hover { color: #fff; }
.audit-q .answers .audit-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* Ensure reveal animations never block clicks on the audit form */
#audit-form .reveal,
#audit-form .reveal.in-view { pointer-events: auto; }

/* ============================================================
   PRIVACY POLICY MODAL · floating popup with iframe content
   ============================================================ */
.privacy-pop {
  position: fixed;
  inset: 0;
  z-index: 9700;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.privacy-pop[hidden] { display: none !important; }
.privacy-pop.is-show { opacity: 1; }

.privacy-pop-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.privacy-pop-card {
  position: relative;
  width: min(880px, calc(100vw - 2rem));
  height: min(720px, calc(100vh - 2rem));
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--red);
  box-shadow: 0 40px 100px rgba(0,0,0,0.55);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.22s ease;
}
.privacy-pop.is-show .privacy-pop-card { transform: translateY(0) scale(1); }

.privacy-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
  background: #fff;
  flex-shrink: 0;
}
.privacy-pop-head h3 {
  font-family: var(--h-font);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: #0A0A0A;
}

.privacy-close {
  background: transparent;
  border: 0;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}
.privacy-close:hover { color: var(--red); background: rgba(226,7,31,0.08); }
.privacy-close:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.privacy-pop-body {
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
  background: #fafafa;
}
.privacy-pop-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

@media (max-width: 640px) {
  .privacy-pop-card {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    border-top-width: 3px;
  }
}

/* ============================================================
   SPLASH PRIORITY · hide all floating UI while the intro is on screen
   so it can never block the Enter button.
   Skipped automatically when the splash is being bypassed via sessionStorage
   (html.splash-skip) — so floating UI works normally on repeat visits.
   ============================================================ */
html:not(.splash-skip) body.intro-locked .cookie-banner,
html:not(.splash-skip) body.intro-locked .exit-pop,
html:not(.splash-skip) body.intro-locked .privacy-pop,
html:not(.splash-skip) body.intro-locked .wa-float,
html:not(.splash-skip) body.intro-locked .sticky-cta {
  display: none !important;
}
/* Skip splash entirely if the visitor has already passed it this session */
html.splash-skip .intro-splash { display: none !important; pointer-events: none !important; }
html.splash-skip body { overflow: auto !important; }

/* Lazy-map placeholder — keep the slot reserved so layout doesn't jump */
#map-frame-lazy:not([data-mounted]) {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04) 25%, transparent 25%) -8px 0,
    linear-gradient(225deg, rgba(255,255,255,0.04) 25%, transparent 25%) -8px 0,
    #161616;
  background-size: 16px 16px;
  min-height: 260px;
  position: relative;
}
#map-frame-lazy:not([data-mounted])::after {
  content: 'Loading map…';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
#map-frame-lazy iframe { display: block; width: 100%; height: 100%; border: 0; min-height: 260px; }
