/* ==========================================================================
   SAHAJTA AI — ENQUIRY-TO-SITE-VISIT ENGINE
   Calm, clean, premium. Brand: deep green, cream, gold, ink. Inter.
   ========================================================================== */

/* Headings in Syne, body text in Inter, both self-hosted (Build Brief 4.2 and Part 7) */
@font-face {
  font-family: 'Syne';
  src: url('/fonts/syne-latin.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --green: #0B422A;
  --green-deep: #072F1E;
  --green-tint: rgba(11, 66, 42, 0.07);
  --cream: #FDFCF0;
  --cream-deep: #F5F3E2;
  --gold: #D9B75B;
  --gold-deep: #C7A246;
  --ink: #121212;
  --ink-soft: #3E433F;
  --ink-mute: #5B615C;
  --line: rgba(18, 18, 18, 0.12);
  --line-strong: rgba(18, 18, 18, 0.22);
  --error: #B3261E;

  --font-heading: 'Syne', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition-fast: 160ms var(--ease);
  --transition-normal: 280ms var(--ease);

  /* Legacy names kept so the screenshot wall renders as before */
  --brand-forest: #0B422A;
  --brand-forest-dark: #072F1E;
  --brand-forest-light: rgba(11, 66, 42, 0.08);
  --brand-forest-border: rgba(11, 66, 42, 0.18);
  --brand-gold: #C8991A;
  --brand-gold-light: #FFFBEB;
  --brand-gold-border: #FCD34D;
  --text-main: #121212;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --bg-card: #FFFFFF;
  --bg-section-alt: #F9FAFB;
  --border-light: #E5E7EB;
  --border-medium: #D1D5DB;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--cream);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--cream);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--ink-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 820px;
}

/* Client faces under the hero button */
.client-faces {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem; /* inside the button box, centred under the button (5.3) */
}

.faces-row {
  display: inline-flex;
}

.faces-row img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream);
  display: block;
}

.faces-row picture + picture {
  margin-left: -10px;
}

.client-faces p {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ==========================================================================
   Header (not sticky)
   ========================================================================== */
.site-header {
  width: 100%;
  padding: 1.25rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  min-height: 56px;
  padding: 0.9rem 2.5rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), background-color var(--transition-fast), box-shadow var(--transition-normal);
  box-shadow: 0 1px 0 rgba(18, 18, 18, 0.18), 0 10px 22px -12px rgba(7, 47, 30, 0.55);
  -webkit-tap-highlight-color: transparent;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-18deg);
  transition: left 620ms var(--ease);
  pointer-events: none;
}

.btn-primary:hover {
  background-color: #E1C06A;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(18, 18, 18, 0.18), 0 16px 26px -12px rgba(7, 47, 30, 0.6);
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 1rem 0 3.5rem;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* One width for the video and the button box under it, so their edges line up (Shubhang, 16 Nov).
     The rule: the whole hero, button box included, fits the first screen (no scroll). app.js sets the exact width
     from the real space left (fitHero); this formula is only the starting guess before it runs. */
  --hero-w: min(100%, 1000px, max(560px, calc((100svh - 400px) * 16 / 9)));
}

/* Laptops: the hero is zoomed as one piece (html.hero-zoomed, set in index.html), so it looks the same on every laptop.
   Inside it the sizes are fixed at what the 1470x800 reference screen gives; screen-based units (vw, vh) would undo the zoom. */
html.hero-zoomed .hero { zoom: var(--hero-zoom, 1); }
html.hero-zoomed .hero-pre { font-size: 1.0625rem; }
html.hero-zoomed .hero-title { font-size: 2.5rem; }
html.hero-zoomed .hero-sub { font-size: 1.125rem; }
html.hero-zoomed .cta-box-question { font-size: 1.4rem; }
html.hero-zoomed .cta-actions .client-faces p { font-size: 0.875rem; }
html.hero-zoomed .video-panel-text { font-size: 1.5rem; }
/* Laptops: tighter gaps around the video and in the button box, so the video gets that space and is a bit bigger
   (same layout, same text sizes; 17 Nov) */
html.hero-zoomed .hero { padding-top: 0.5rem; }
html.hero-zoomed .hero-sub { margin-bottom: 0.65rem; }
html.hero-zoomed .cta-box { margin-top: 0.65rem; padding: 0.65rem 1rem 0.75rem; gap: 0.5rem; }
/* Laptops: a bigger "Check if you qualify" button; it always fits the first screen (app.js), the faces under it may not */
html.hero-zoomed .cta-box .btn-primary { min-width: 340px; min-height: 60px; font-size: 1.1875rem; }

.hero-pre {
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.75;
  color: var(--ink);
  max-width: 860px;
  margin-bottom: 0.5rem;
}

/* Gold highlighter that follows each wrapped line */
.hl {
  background: linear-gradient(transparent 8%, rgba(217, 183, 91, 0.55) 8%, rgba(217, 183, 91, 0.55) 94%, transparent 94%);
  padding: 0.12em 0.3em;
  border-radius: 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-title {
  font-size: clamp(1.6rem, min(4vw, 5vh), 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 1020px;
  margin: 0 auto 0.5rem;
  text-wrap: balance;
}

.nowrap { white-space: nowrap; }

.mark {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.2em;
  padding-bottom: 0.04em;
}

.hero-sub {
  line-height: 1.6;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  max-width: 840px;
  margin: 0 auto 0.85rem;
}

.hero-sub strong {
  color: var(--ink);
  font-weight: 700;
}

/* Video panel (placeholder until the sales video arrives) */
.video-panel {
  width: var(--hero-w);
  container-type: inline-size; /* the button and captions scale with the video, not the screen */
  aspect-ratio: 16 / 9;
  background: var(--green);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  box-shadow: 0 30px 60px -34px rgba(7, 47, 30, 0.7);
}

/* The sales video inside the panel */
.video-panel { position: relative; overflow: hidden; }
.video-panel.has-video { background: #000; }

.sales-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sales-video[hidden],
.sales-sound-btn[hidden],
.video-panel-text[hidden] { display: none; }

/* Our own captions: always on, always at the very bottom of the picture */
.vid-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.5%;
  z-index: 2;
  width: fit-content; /* centred, and free to use the video's full width (left: 50% only allowed half) */
  max-width: 94%;
  margin: 0 auto;
  padding: 0.15em 0.5em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-family: var(--font-sans, Inter, sans-serif);
  font-size: 0.8125rem;
  font-size: clamp(0.6875rem, 2.1cqw, 1.125rem); /* small on a small video, never over his face */
  line-height: 1.3;
  text-align: center;
  white-space: nowrap; /* always one line (Shubhang, 18 Nov); app.js splits 2-line captions into two */
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  opacity: 0;
  transition: bottom 0.2s ease;
}
.vid-cap.is-on { opacity: 1; }
/* The control bar is showing: the caption sits just above it, so the seek bar stays clear */
.video-panel.bar-up .vid-cap { bottom: calc(2.5% + 52px); }

/* Phones: an invisible layer that takes taps on the picture (tap to pause/play); the bottom strip is the control bar's */
.sales-tap { display: none; }
@media (hover: none) and (pointer: coarse) {
  .video-panel.has-video .sales-tap {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
  }
  /* While our bar shows the caption sits just above it; when the bar hides it goes back to the very bottom */
  .video-panel.bar-up .vid-cap { bottom: 46px; }
}

/* Phones: our own control bar (Shubhang, 18 Nov): play/pause, time, seek bar, full screen */
.sales-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 4px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: #fff;
  font-family: var(--font-sans);
}
.sales-bar[hidden] { display: none; }
/* It hides a few seconds after the last tap while the video plays, and shows on a tap or while paused (app.js: bar-up) */
.sales-bar { opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.video-panel.bar-up .sales-bar { opacity: 1; pointer-events: auto; }
.sb-btn {
  flex: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sb-btn svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)); }
.sb-full svg { width: 20px; height: 20px; }
.sb-play .sb-i-play { display: none; }
.sales-bar.is-paused .sb-i-play { display: block; }
.sales-bar.is-paused .sb-i-pause { display: none; }
.sb-time { flex: none; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.sb-track {
  flex: 1;
  height: 28px; /* a big tap area around a thin line */
  position: relative;
  cursor: pointer;
  touch-action: none;
}
.sb-track::before,
.sb-fill {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
}
.sb-track::before { right: 0; background: rgba(255, 255, 255, 0.35); }
.sb-fill { width: 0; background: #fff; }
.sb-fill::after { /* the handle */
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: #fff;
}

/* "Click for sound": a see-through gold block, centred over the video (Shubhang's reference, 16 Nov) */
.sales-sound-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.85em 1.5em;
  border: none;
  border-radius: 3px;
  background: rgba(217, 183, 91, 0.82); /* --gold, see-through */
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-size: clamp(0.875rem, 2.6cqw, 1.375rem); /* scales with the video */
  font-weight: 600;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.sales-sound-btn:hover { background: rgba(217, 183, 91, 0.95); }
.sales-sound-btn:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }

.sales-sound-btn svg { width: 1.2em; height: 1.2em; flex: none; }

.video-panel-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  opacity: 0.9;
}

/* Button box */
.cta-box {
  width: var(--hero-w);
  margin-top: 1rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* The button and the client faces: side by side on laptops, stacked on phones */
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.cta-actions .client-faces { margin-top: 0; }
/* Short phones (iPhone SE size): a little smaller text above the video, so the button box fits too */
@media (max-width: 767px) and (max-height: 700px) {
  /* "main" in front: the phone rules further down set .hero and .hero-pre too */
  main .hero { padding-top: 0.6rem; }
  main .hero-pre { font-size: 0.875rem; line-height: 1.6; }
  main .hero-title { font-size: 1.45rem; }
  main .hero-sub { font-size: 0.9375rem; line-height: 1.5; margin-bottom: 0.7rem; }
}
/* Phones: tighter, so the hero still fits a small phone's first screen */
@media (max-width: 767px) {
  .cta-box { padding: 0.75rem 0.85rem 0.85rem; gap: 0.6rem; margin-top: 0.85rem; }
  .cta-box-question { font-size: 1.1rem; }
  .cta-actions { gap: 0.6rem; }
  .cta-actions .client-faces { gap: 0.5rem; }
  .cta-actions .faces-row img { width: 30px; height: 30px; }
  .cta-actions .faces-row picture + picture { margin-left: -8px; }
  .cta-actions .client-faces p { font-size: 0.8125rem; white-space: nowrap; }
}
@media (min-width: 768px) {
  /* The client faces sit under the button, as on phones (Shubhang, 18 Nov): the button is the focus, centred */
  .cta-actions { gap: 0.7rem; }
  .cta-actions .client-faces { gap: 0.6rem; }
  .cta-actions .faces-row img { width: 36px; height: 36px; }
  .cta-actions .client-faces p { font-size: clamp(0.8125rem, 1vw, 0.875rem); white-space: nowrap; }
}

.cta-box-question {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 700px;
  text-wrap: balance;
}

/* ==========================================================================
   On this call, we'll:
   ========================================================================== */
.call-block {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.call-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.75rem;
}

.call-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* the block is centred on the page; its lines start at the same point, so the ticks line up */
  width: fit-content;
  gap: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

.call-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.call-list .tick {
  flex: 0 0 20px;
  margin-top: 0.22em;
  color: var(--gold-deep);
}

/* ==========================================================================
   Sections, headings
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.75rem;
  text-wrap: balance;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* ==========================================================================
   Client videos
   ========================================================================== */
.video-head {
  display: flex;
  flex-direction: column;
  align-items: center; /* every section heading is centred, like the hero */
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.video-head .section-title {
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
}

.video-nav {
  display: flex;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.video-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream-deep);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), opacity var(--transition-fast);
}

.video-nav-btn:hover { background: #ECE9D4; }
.video-nav-btn:disabled { opacity: 0.4; cursor: default; }

.video-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 4px 8px;
  margin: 0 -4px;
}

.video-grid::-webkit-scrollbar { display: none; }

.video-card {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.75rem 1.1rem;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--green-deep);
  border-radius: 16px;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* No player bar (0:00, volume, full screen) until someone presses play: the controls attribute is only added on play,
   and until then the browser's own control strip is hidden too (some phones draw it anyway) */
.video-wrapper:not(.has-controls) video::-webkit-media-controls,
.video-wrapper:not(.has-controls) video::-webkit-media-controls-panel,
.video-wrapper:not(.has-controls) video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Hide only the central native start button; keep the controls bar */
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 47, 30, 0.18);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background var(--transition-normal);
}

.video-play-overlay:hover {
  background: rgba(7, 47, 30, 0.04);
}

/* While playing, the button is invisible but still a tap target, so a tap on the picture pauses.
   Once the native controls are on, the bottom strip is left free for them. */
.video-wrapper.has-controls .video-play-overlay {
  height: calc(100% - 64px);
}

.video-wrapper.is-playing .video-play-overlay {
  background: transparent;
}

.video-wrapper.is-playing .play-icon-badge {
  opacity: 0;
  transform: scale(0.8);
}

.play-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-normal);
}

.video-play-overlay:hover .play-icon-badge {
  transform: scale(1.08);
}

.video-author-meta {
  padding: 1rem 0.5rem 0;
}

.video-author-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.2rem;
}

.video-author-title {
  font-size: 0.975rem;
  color: var(--ink-mute);
  line-height: 1.4;
}


/* ==========================================================================
   If nobody replies within 60 seconds
   ========================================================================== */
.cold-section {
  background: var(--green);
  color: var(--cream);
  padding: 5.5rem 0;
}

.cold-inner {
  max-width: 1020px;
}

.cold-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  color: var(--cream);
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 820px;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}

.cold-lead {
  color: rgba(253, 252, 240, 0.86);
  font-size: clamp(1.0625rem, 2vw, 1.3rem);
  line-height: 1.6;
  max-width: 680px;
  text-align: center;
  margin: 0 auto 3.5rem;
}

.cold-stat {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.25rem 0;
  border-top: 1px solid rgba(253, 252, 240, 0.22);
  border-bottom: 1px solid rgba(253, 252, 240, 0.22);
  margin-bottom: 3.5rem;
}

.cold-number {
  font-family: var(--font-sans);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--gold);
  flex: 0 0 auto;
}

.cold-stat-text {
  color: var(--cream);
  font-size: clamp(1.0625rem, 2vw, 1.3rem);
  line-height: 1.55;
  max-width: 460px;
}

.cold-intro {
  color: rgba(253, 252, 240, 0.86);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cold-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 1.75rem;
  position: relative;
  counter-reset: cold;
  margin-bottom: 4rem;
}

.cold-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.cold-list li {
  padding-top: 1.5rem;
  counter-increment: cold;
}

.cold-list li::before {
  content: '0' counter(cold);
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.cold-list h3 {
  color: var(--cream);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.cold-list p {
  color: rgba(253, 252, 240, 0.82);
  font-size: 1rem;
  line-height: 1.55;
}

.cold-close {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--cream);
  max-width: 640px;
}

/* ==========================================================================
   Questions
   ========================================================================== */
.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 64px;
  padding: 1.15rem 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

/* Plus turns into a minus */
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 3px;
  right: 3px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--green);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: rotate(0deg);
  opacity: 0;
}

.faq-item p {
  padding: 0 2.75rem 1.5rem 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 680px;
  animation: faqIn 320ms var(--ease);
}

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Final box
   ========================================================================== */
.final-section {
  padding: 1rem 0 5.5rem;
}

.final-box {
  /* Same look as the top button box: light card, thin border, rounded corners.
     Dark green only as an accent: the thin line along the top (Build Brief 5.9) */
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--green);
  border-radius: 14px;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.final-title {
  color: var(--ink);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 640px;
  text-wrap: balance;
}

.final-line {
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(253, 252, 240, 0.74);
  padding: 4rem 0 2.5rem;
  margin-top: auto;
  font-size: 0.9375rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-brand > a:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-company {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.footer-meta {
  color: rgba(253, 252, 240, 0.72);
  line-height: 1.55;
  max-width: 480px;
  margin-bottom: 0.2rem;
}

.footer-meta strong {
  color: var(--cream);
  font-weight: 600;
}

.footer-meta a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.footer-meta a:hover,
.footer-links a:hover {
  color: var(--gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(253, 252, 240, 0.16);
}

.footer-copy {
  color: rgba(253, 252, 240, 0.6);
  font-size: 0.875rem;
}

/* ==========================================================================
   Sticky button (phones only)
   ========================================================================== */
.sticky-cta {
  display: none;
}

/* ==========================================================================
   Booking form
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 47, 30, 0.62);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--cream);
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  height: auto; /* as tall as its content: no big empty space under a short step */
  max-height: calc(100dvh - 3rem);
  transition: transform var(--transition-normal), max-width var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: translateY(18px);
}

/* Laptops: the time step is wider, so the calendar and the times sit side by side */
.modal-container.is-time-step {
  max-width: 880px;
}

.modal-backdrop.active .modal-container {
  transform: none;
}

.modal-header {
  flex: 0 0 auto;
}

.wizard-progress-bar {
  height: 4px;
  width: 100%;
  background: rgba(18, 18, 18, 0.08);
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  width: 25%;
  background: var(--green);
  transition: width 420ms var(--ease);
}

.modal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.25rem 1.5rem;
}

.step-pill {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}

.modal-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(18, 18, 18, 0.07);
}

.modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.75rem 1.5rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: stepIn 360ms var(--ease);
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}

.wizard-question-title {
  font-size: clamp(1.4rem, 3.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.options-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.option-card {
  display: flex;
  align-items: center;
  text-align: left;
  min-height: 92px;
  padding: 1.1rem 1.15rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.options-short .option-card {
  min-height: 72px;
}

.option-card:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

.option-card.selected {
  border-color: var(--green);
  background: var(--green);
  color: var(--cream);
}

.option-label-text {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

.wizard-hint {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-mute);
}

.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
}

.btn-back {
  background: none;
  border: none;
  min-height: 44px;
  padding: 0 0.25rem;
  color: var(--ink-mute);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(18, 18, 18, 0.25);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.btn-back:hover {
  color: var(--ink);
}

/* Details */
.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background-color: #FFFFFF;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(11, 66, 42, 0.14);
}

.form-group.has-error .form-input,
.form-group.has-error .phone-row {
  border-color: var(--error);
}

.error-msg {
  display: none;
  font-size: 0.9rem;
  color: var(--error);
  margin-top: 0.4rem;
  font-weight: 500;
}

.form-group.has-error .error-msg {
  display: block;
}

.phone-row {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.phone-row:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(11, 66, 42, 0.14);
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream-deep);
  border-right: 1.5px solid var(--line-strong);
}

.phone-row .form-input {
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: 49px;
}

.link-btn {
  background: none;
  border: none;
  min-height: 44px;
  padding: 0;
  margin-top: 0.15rem;
  color: var(--green);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.link-btn[hidden],
#field-whatsapp-intl[hidden],
.phone-row[hidden] {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* laptops: name | company, email | WhatsApp */
  gap: 0 1rem;
}

/* Time */
.tz-line {
  margin: -0.75rem 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--ink-mute);
}

.details-line {
  margin: -0.75rem 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--ink-mute);
}

.cal-status {
  padding: 2rem 0.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
}

.cal-retry {
  display: inline-flex;
  margin-top: 0.85rem;
  min-height: 48px;
  align-items: center;
  padding: 0 1.5rem;
  border-radius: 8px;
  border: 1.5px solid var(--green);
  background: transparent;
  color: var(--green);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.cal-error {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1.5px solid var(--error);
  color: var(--error);
  font-size: 0.9375rem;
  line-height: 1.45;
  background: #FFFFFF;
}

.month-calendar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cal-layout-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); /* laptops: calendar | times */
  gap: 1.75rem;
  align-items: start;
}

.month-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.month-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.month-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: #FFFFFF;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.month-nav-btn:hover {
  border-color: var(--green);
  background: var(--green-tint);
}

.calendar-weekdays-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 0.35rem;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day-cell {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.975rem;
  font-weight: 600;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.cal-day-cell.other-month {
  color: var(--ink-mute);
  opacity: 0.25;
}

.cal-day-cell.disabled {
  color: var(--ink-mute);
  opacity: 0.4;
  background: transparent;
  cursor: not-allowed;
}

.cal-day-cell.available {
  background: #FFFFFF;
  border-color: var(--line-strong);
  cursor: pointer;
}

.cal-day-cell.available:hover {
  border-color: var(--green);
}

.cal-day-cell.selected {
  background: var(--green) !important;
  color: var(--cream) !important;
  border-color: var(--green) !important;
}

.time-slots-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.time-section-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0.35rem 0 0.35rem;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.time-slot-btn {
  min-height: 48px;
  padding: 0 0.4rem;
  border-radius: 10px;
  border: 1.5px solid var(--line-strong);
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.time-slot-btn:hover {
  border-color: var(--green);
}

.time-slot-btn.selected {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.slot-summary-box {
  position: sticky;
  bottom: -1.5rem;
  margin: 0 -1.5rem -1.5rem;
  padding: 1rem 1.5rem 1.25rem;
  background: var(--cream);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.selected-slot-badge {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.slot-summary-box .btn-primary {
  width: 100%;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .cold-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.5rem;
  }

  .cold-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 84px;
  }

  .site-header {
    padding: 1rem 0;
  }

  .brand-logo-img {
    height: 44px;
  }

  .hero {
    padding: 1rem 0 3rem;
  }

  .hero-pre {
    font-size: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .call-block {
    padding: 3rem 0;
  }

  .video-head {
    flex-direction: column;
    align-items: center;
  }

  .cold-section {
    padding: 4rem 0;
  }

  .cold-list {
    grid-template-columns: 1fr;
  }

  .final-section {
    padding-bottom: 3.5rem;
  }

  /* Sticky button */
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: var(--cream);
    border-top: 1px solid var(--line-strong);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform var(--transition-normal), visibility var(--transition-normal);
  }

  .sticky-cta.is-shown {
    transform: none;
    visibility: visible;
  }

  .sticky-cta .btn-primary {
    width: 100%;
    min-height: 52px;
  }

  /* Booking form fills the screen */
  .modal-backdrop {
    padding: 0;
    align-items: stretch;
  }

  .modal-container {
    max-width: none;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .options-group {
    grid-template-columns: 1fr;
  }

  .form-row,
  .cal-layout-row {
    grid-template-columns: 1fr;
  }

  .cal-layout-row {
    gap: 1.25rem;
  }

  .option-card,
  .options-short .option-card {
    min-height: 64px;
  }

  .modal-body {
    padding: 0.5rem 1.25rem 1.25rem;
  }

  .slot-summary-box {
    bottom: -1.25rem;
    margin: 0 -1.25rem -1.25rem;
    padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* Spam trap field: out of sight, out of the tab order */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Opened from a nudge's link */
.welcome-line {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.welcome-line[hidden],
.start-again-row[hidden] {
  display: none;
}

.start-again-row {
  margin: 0.75rem 0 0;
  text-align: center;
}
