/* ============================================================
   Booking Confirmation — clean white page
   Reuses the Offer Generator landing-page system: white bg,
   Inter (bold) headings, signature blue accent. Header/heading
   style matches so the two pages feel like one brand.
   ============================================================ */

:root {
  --blue: var(--tx-blue, #1D84FB);
  --blue-600: var(--tx-blue-600, #0958b4);
  --blue-soft: #eaf3fe;
  --ink: #14161a;
  --muted: #5b6470;
  --line: #e6e8ec;
  --soft: #f5f6f8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #ffffff;
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.page { max-width: 1000px; margin: 0 auto; padding: 48px 24px 90px; }

/* ---- Sticky top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
          backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;   /* no line at the top */
  transition: border-color .2s;
}
.topbar.scrolled { border-bottom-color: var(--line); }   /* line appears on scroll */
.topbar-inner { max-width: 1000px; margin: 0 auto; padding: 15px 24px; text-align: center; }
.topbar-logo { display: inline-block; line-height: 0; }
.topbar-logo img { height: 34px; width: auto; display: block; }

/* ---- Hero (centered) ---- */
.hero { text-align: center; max-width: 920px; margin: 0 auto 48px; }

h1 {
  font-weight: 800; font-size: clamp(26px, 4vw, 46px); line-height: 1.05;
  letter-spacing: -0.025em; margin: 0; color: var(--blue);
  white-space: nowrap;
}
h1 .accent { color: var(--blue); }

/* ---- Shared step section heading + subheading (Steps 1, 2, 3) ---- */
.step-head {
  font-weight: 800; font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.02em;
  margin: 0 0 8px; text-align: center; color: var(--ink);
}
.step-head .step-label { color: var(--blue); }   /* "Step N:" is blue, rest black */
.step-head.end-head { color: var(--blue); }       /* closing note: fully blue */
.step-sub {
  text-align: center; color: var(--muted); font-size: 16px;
  max-width: 620px; margin: 0 auto 32px; line-height: 1.5;
}
.step-intro { margin: 0 auto; }

/* ---- Shared video frame (VSL + FAQ answers) ---- */
.video-frame {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(20,22,26,0.07), 0 2px 6px rgba(20,22,26,0.04);
}

/* ---- VSL ---- */
.vsl { max-width: 760px; margin: 0 auto 56px; }

/* ---- Client logo carousel ---- */
.logos { margin: 0 auto 60px; }
.logos-cap {
  text-align: center; color: var(--muted); font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 24px;
}
.marquee {
  overflow: hidden; position: relative;
  /* fade the edges so logos slide in/out softly */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 56px; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 30px; width: auto; flex: none;
  opacity: 0.7; transition: opacity .2s;
}
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---- FAQ (two-column grid) ---- */
.faq { max-width: 960px; margin: 0 auto 64px; }
.faq-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 36px;
}
.faq-item { margin-bottom: 0; }
.faq-q {
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  margin: 0 0 12px; color: var(--ink);
}

/* ---- Case studies ---- */
.cases { max-width: 1000px; margin: 0 auto 64px; }
/* Full-width rows: video on the left, details on the right. */
.case-grid { display: flex; flex-direction: column; gap: 24px; }
.case-card {
  display: grid; grid-template-columns: minmax(0, 46%) 1fr; gap: 30px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; box-shadow: 0 4px 16px rgba(20,22,26,0.05);
}
.case-video .video-frame { border-radius: 12px; }
.case-name { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); }
.case-role { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
/* Fixed-width label column so the Before/After text lines up on both rows. */
.case-ba {
  display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: start;
  font-size: 14.5px; color: var(--muted); line-height: 1.55; margin-top: 9px;
}
.case-ba .ba-k {
  width: 58px; box-sizing: border-box; text-align: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
  background: var(--soft); border-radius: 5px; padding: 3px 0; margin: 1px 0 0;
}
.case-ba .ba-k.after { color: var(--blue-600); background: var(--blue-soft); }
.case-link {
  display: inline-block; margin-top: 16px; font-size: 14.5px; font-weight: 700;
  color: var(--blue-600); text-decoration: none;
}
.case-link:hover { text-decoration: underline; }
/* "See all case studies" link, centered under the three rows */
.cases-all { text-align: center; margin-top: 28px; }
.cases-all .case-link { margin-top: 0; font-size: 16px; }

/* ---- Closing note (no box; blue heading in the step format) ---- */
.end-note { margin: 8px auto 0; }
.end-note .step-sub { margin-bottom: 0; }

.footer { text-align: center; margin-top: 44px; font-size: 12px; color: #9aa3ad; }

@media (max-width: 680px) {
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .case-card { grid-template-columns: 1fr; gap: 18px; }
  /* headline can't stay one line on small screens — let it wrap */
  h1 { white-space: normal; }
}
@media (max-width: 560px) {
  .end-cta { padding: 24px; }
  .topbar-logo img { height: 30px; }
}
