/* ClearWave funnel - shared styles. Mobile-first, flat and high-contrast. */
:root {
  --navy: #030b1a;
  --navy-2: #0c2040;
  --blue: #0b62d6;        /* banner + footer: one flat, saturated brand blue */
  --green: #3ee08f;       /* single accent: chip, headline highlight, buttons */
  --green-dark: #17a860;
  --white: #ffffff;
  --ink: #0b1b33;
  --muted: #5d6b80;
  --gutter: 20px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--white);
  background: var(--navy);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header { padding: 22px var(--gutter); display: flex; justify-content: center; }
.site-header img { height: 44px; width: auto; }

/* ---------- Banner (Page 1) ---------- */
.hero { padding: 0 var(--gutter); }
.banner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--blue);
  border-radius: 20px;
  overflow: hidden;
  padding: 22px 20px 0;
}
.chip {
  display: inline-block;
  background: var(--green);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 10px 14px;
  border-radius: 8px;
}
.banner-title {
  margin-top: 14px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -.01em;
  font-size: clamp(34px, 11vw, 46px);
  color: var(--white);
}
.banner-photo { margin: 6px -20px 0; }
.banner-photo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(2, 12, 40, .35));
}
.banner-caption {
  margin: 0 -20px;
  padding: 12px 10px 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,.92);
}
.banner-caption strong { font-weight: 600; color: var(--white); }
.banner-caption span { display: block; }
.banner-caption .dot { display: none; }
@media (min-width: 560px) { .banner-caption span { display: inline; } .banner-caption .dot { display: inline; margin: 0 8px; } }

/* ---------- Headline block ---------- */
.headline-block { padding: 30px 0 0; text-align: center; }
.headline, .subhead { text-wrap: balance; }
.headline {
  font-weight: 700;
  line-height: 1.16;
  font-size: clamp(30px, 8.4vw, 44px);
  letter-spacing: -.01em;
}
.accent { color: var(--green); }
.headline .accent { display: block; }
.subhead {
  margin-top: 18px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
}
.support {
  margin-top: 12px;
  color: rgba(255,255,255,.82);
  font-size: 15.5px;
  line-height: 1.65;
}
.delivery {
  margin-top: 22px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--white);
}

.below-form { padding: 26px 0 0; text-align: center; }
.below-form .support { margin-top: 0; }

/* ---------- Offer bar ---------- */
.offer {
  margin: 24px auto 0;
  max-width: 460px;
  border: 2px solid var(--green);
  border-radius: 16px;
  padding: 16px 18px;
  text-align: center;
}
.offer-tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
}
.offer-main {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.offer-main em { font-style: normal; color: var(--green); }
.offer-fine {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(255,255,255,.8);
}

/* ---------- Form card ---------- */
.form-section { padding: 22px 0 0; scroll-margin-top: 12px; }
.form-card {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--blue);
  border-radius: 20px;
  padding: 22px 14px 14px;
}
.form-card h2 {
  font-size: 21px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  color: var(--blue);
  padding: 0 6px 14px;
}
.embed-slot { width: 100%; }
.embed-placeholder {
  border: 2px dashed #b9c8de;
  border-radius: 14px;
  background: #f4f7fb;
  color: var(--muted);
  text-align: center;
  padding: 40px 18px;
  font-size: 14px;
}
.embed-placeholder strong { display: block; color: var(--navy); font-size: 16px; margin-bottom: 6px; }

/* ---------- Reviews (flat gray cards, like the reference) ---------- */
.reviews-block { padding: 48px 0 0; }
.rating-line {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rating-line .num { font-size: 18px; font-weight: 700; }
.stars { display: inline-flex; gap: 2px; color: var(--green-dark); }
.stars svg { width: 16px; height: 16px; }
.rating-line .stars { color: var(--green); }
.reviews { margin-top: 18px; display: grid; gap: 14px; }
.review {
  background: #eef1f6;
  color: var(--ink);
  border: 1px solid #c9d1de;
  border-radius: 14px;
  padding: 18px 18px 16px;
}
.review blockquote { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: #14233b; }
.review-by { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.review-note { margin-top: 14px; text-align: center; font-size: 12px; color: rgba(255,255,255,.6); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  background: var(--green);
  padding: 15px 26px;
  border-radius: 999px;
  min-height: 52px;
  transition: transform .18s ease;
}
.btn:hover { transform: translateY(-2px); }

/* Floating bubble */
.bubble {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
  font-size: 15px;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}
.bubble.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.bubble svg { width: 18px; height: 18px; flex: none; }

/* ---------- Footer (flat brand blue) ---------- */
.site-footer {
  margin-top: 56px;
  background: var(--blue);
  padding: 38px 0 calc(96px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
.site-footer.plain { padding-bottom: 38px; }
.site-footer img { height: 40px; width: auto; margin: 0 auto; }
.footer-links { margin-top: 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.footer-links a { text-decoration: underline; }
.disclaimer { margin: 18px auto 0; max-width: 600px; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.88); }
.disclaimer + .disclaimer { margin-top: 10px; }
.copyright { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.8); }

/* ---------- Page 2 / 3 ---------- */
.page-hero { padding: 6px 0 0; text-align: center; }
.badge-ok {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--navy);
  padding: 9px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
}
.badge-ok svg { width: 16px; height: 16px; flex: none; }
.page-hero .chip { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.page-title {
  margin-top: 18px;
  font-weight: 700; line-height: 1.16; letter-spacing: -.01em;
  font-size: clamp(30px, 8.4vw, 44px);
}
.page-sub { margin: 14px auto 0; max-width: 540px; font-size: 16.5px; color: rgba(255,255,255,.85); line-height: 1.6; }

.card-white {
  background: var(--white); color: var(--ink);
  border: 2px solid var(--blue);
  border-radius: 20px;
  padding: 22px 14px 14px;
}
.card-white h2 { font-size: 21px; font-weight: 700; text-align: center; color: var(--blue); padding-bottom: 12px; }
.call-slot { display: flex; justify-content: center; min-height: 120px; }
.call-slot .call-details-widget { max-width: 100%; }

.section { padding: 48px 0 0; }
.section-eyebrow { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.section-title { margin-top: 8px; text-align: center; font-weight: 700; line-height: 1.2; font-size: clamp(24px, 6.6vw, 32px); }

.checklist { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #eef1f6; color: var(--ink);
  border: 1px solid #c9d1de;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15.5px; line-height: 1.55;
}
.checklist svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--green-dark); }
.checklist strong { color: var(--ink); }

.photo-grid { margin-top: 28px; display: grid; gap: 14px; }
.photo-card { margin: 0; border-radius: 16px; overflow: hidden; background: var(--blue); }
.photo-card img { width: 100%; height: auto; }
.photo-card figcaption { padding: 12px 16px 14px; font-size: 13.5px; color: rgba(255,255,255,.92); text-align: center; line-height: 1.5; }
.photo-card figcaption strong { color: var(--white); }

.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; background: #02091a;
  border: 2px solid var(--blue);
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 12px; color: rgba(255,255,255,.75); font-size: 12.5px; line-height: 1.4;
}
.video-placeholder .play { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--navy); }
.video-placeholder .play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-placeholder strong { color: var(--white); font-size: 15px; }

.note-box {
  margin-top: 24px; padding: 18px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.28);
  text-align: center; font-size: 15px; color: rgba(255,255,255,.88);
}
.note-box a { color: var(--green); font-weight: 600; }

/* Entrance animation (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .bubble { transition: none; }
}

/* ---------- Desktop: text left, people right (like the reference) ---------- */
@media (min-width: 760px) {
  :root { --gutter: 28px; }
  .site-header img { height: 50px; }
  .banner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    grid-template-areas: "copy photo" "cap cap";
    align-items: end;
    padding: 0;
    border-radius: 24px;
  }
  .banner-copy { grid-area: copy; align-self: center; padding: 40px 0 40px 44px; }
  .banner-title { font-size: clamp(48px, 5.4vw, 66px); margin-top: 18px; }
  .chip { font-size: 16px; padding: 12px 18px; }
  .banner-photo { grid-area: photo; margin: 0; align-self: end; }
  .banner-caption { grid-area: cap; margin: 0; padding: 12px 24px 16px; background: rgba(2, 12, 40, .18); }
  .headline-block { padding-top: 40px; }
  .form-card { padding: 28px 24px 18px; }
  .reviews { grid-template-columns: 1fr; }
}
