/* ============================================================
   Ampl Funnel v3 — light, on-brand redesign
   New-funnel layout + copy, rendered in Ampl brand:
   cream bg, white cards, black text, dark green (#005139)
   used sparingly. No gradients, no glow, high contrast.
   ============================================================ */

:root {
  --green:       #1BA262;   /* funnel green (the scheme you preferred) */
  --green-dark:  #158551;   /* CTA hover */
  --green-soft:  rgba(27, 162, 98, 0.08);   /* soft fills */
  --green-line:  rgba(27, 162, 98, 0.22);   /* soft borders */

  --bg:          #FBF6EE;   /* cream page */
  --card:        #FFFFFF;   /* white cards */
  --tile:        #FBF6EE;   /* inner tiles/quote cards on white */
  --ink:         #14171A;   /* headings */
  --text:        #1C1C1B;   /* body */
  --muted:       #5A5F5C;   /* secondary text */
  --hairline:    #ECE7DD;   /* faint separators */
  --cta-text:    #F7F3EC;

  --radius:      16px;
  --radius-sm:   12px;
  --tp-green:    #00b67a;

  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

/* ---------- Layout ---------- */
.wrap { max-width: 600px; margin: 0 auto; padding: 14px 12px 110px; }

.card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 20px;
  margin-bottom: 14px;
}
.center { text-align: center; }

/* ---------- Logo (real transparent PNG) ---------- */
.logo { display: block; height: 32px; width: auto; margin: 0 auto 16px; }
footer .logo { height: 22px; margin-bottom: 12px; opacity: 0.9; }

/* ---------- Hero ---------- */
.hero { padding: 22px 20px 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--green-soft); border: 1px solid var(--green-line);
  border-radius: 999px; padding: 5px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--green); margin-bottom: 16px;
}
.badge .ping { display: inline-flex; height: 7px; width: 7px; }
.badge .ping i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.badge .ping i.pulse,
.badge .sep, .badge .spots { display: none; } /* legacy bits, unused */

h1 {
  font-size: 36px; line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 800; text-align: center; color: var(--ink); margin-bottom: 14px;
}
h1 .grad { color: var(--green); }

.subhead { text-align: center; color: var(--muted); font-size: 17px; line-height: 1.5; margin-bottom: 18px; }
.subhead strong { color: var(--text); font-weight: 700; }

.guarantee-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-soft); color: var(--green);
  font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px;
}
.guarantee-sub {
  display: block; text-align: center; color: var(--green);
  font-weight: 700; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.09em; margin-top: 10px;
}

/* ---------- Video frames ---------- */
.video { width: 100%; margin: 20px 0; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.video.vert .wistia_responsive_padding { padding-top: 177.78% !important; }

/* ---------- Trustpilot ---------- */
.tp-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px 12px; margin: 16px 0 0; text-decoration: none; color: var(--text);
}
.tp-bar .tp-label { font-size: 15px; font-weight: 700; }
.tp-bar .tp-stars { height: 21px; width: auto; display: block; }
.tp-bar .tp-meta { font-size: 13px; color: var(--muted); }
.tp-bar .tp-meta strong { color: var(--text); }
.tp-bar .tp-logo { height: 17px; width: auto; display: block; }

/* ---------- CTA ---------- */
.cta {
  display: block; width: 100%;
  background: var(--green); color: var(--cta-text);
  font-weight: 700; font-size: 19px; line-height: 1.3;
  padding: 16px 24px; border-radius: 10px; border: 0;
  text-align: center; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.14);
  transition: background .15s ease, transform .15s ease;
  margin: 14px 0 0;
}
.cta:hover, .cta:focus { background: var(--green-dark); }
.cta:active { transform: scale(0.98); }

.micro {
  display: flex; align-items: center; justify-content: center; gap: 10px 20px;
  flex-wrap: wrap; color: var(--text); font-size: 13.5px; font-weight: 500; margin-top: 16px;
}
.micro span { display: inline-flex; align-items: center; gap: 6px; }
.micro .tick { color: var(--green); font-weight: 800; font-size: 14px; }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.stat { background: var(--tile); border-radius: var(--radius-sm); padding: 16px 8px; text-align: center; }
.stat .n { display: block; font-size: 23px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.stat .n .grad { color: var(--ink); }   /* numbers stay ink, not green */
.stat .l { display: block; font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.3; }

/* ---------- Section heads ---------- */
.sec-head { text-align: center; margin-bottom: 8px; }
.sec-head h2 { font-size: 27px; line-height: 1.14; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }
.sec-head h2 .grad { color: var(--ink); }   /* keep section heads black, not green */
.sec-head p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ---------- Form / booking embed ---------- */
.embed-card { padding: 0; overflow: hidden; }
.embed-card .embed-head { padding: 22px 20px 6px; text-align: center; }
.embed-card .embed-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.embed-card .embed-head h2 .grad { color: var(--green); }
.embed-card .embed-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.embed-card iframe { display: block; width: 100%; border: 0; }
.form-frame { min-height: 720px; }
.booking-frame { min-height: 760px; }

/* ---------- Feature cards ---------- */
.features { display: grid; gap: 10px; }
.feature { display: flex; gap: 14px; align-items: flex-start; background: var(--tile); border-radius: var(--radius-sm); padding: 16px; }
.feature .ic { flex: none; display: grid; place-items: center; height: 40px; width: 40px; border-radius: 11px; background: var(--green-soft); }
.feature .ic svg { width: 19px; height: 19px; color: var(--green); }
.feature h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- Video testimonials ---------- */
.vid-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.vid-cell .video { margin: 0 0 8px; }
.vid-cell .nm { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.vid-cell .ro { font-size: 12px; color: var(--muted); }

/* ---------- Text testimonials ---------- */
.quotes { display: grid; gap: 10px; }
.quote { background: var(--tile); border-radius: var(--radius-sm); padding: 18px; }
.quote .vrf { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.quote .vrf .tick { color: var(--green); }
.quote .stars { color: var(--tp-green); font-size: 14px; letter-spacing: 1px; margin-bottom: 8px; }
.quote .hl { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.quote .bd { font-size: 14px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }
.quote .who { display: flex; align-items: center; gap: 10px; }
.quote .who .av { height: 34px; width: 34px; border-radius: 50%; background: var(--green); color: var(--cta-text); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.quote .who .nm { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.quote .who .ro { font-size: 12px; color: var(--muted); }

/* ---------- Final offer card ---------- */
.offer { text-align: center; }
.offer h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); margin-bottom: 8px; }
.offer .grad { color: var(--green); display: block; }
.offer p.sub { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.offer ul { list-style: none; text-align: left; max-width: 360px; margin: 0 auto 20px; display: grid; gap: 10px; }
.offer li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.offer li .tick { flex: none; color: var(--green); font-weight: 800; margin-top: 1px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(251,246,238,0), rgba(251,246,238,0.96) 40%);
}
.sticky-cta a {
  display: block; max-width: 576px; margin: 0 auto;
  background: var(--green); color: var(--cta-text);
  font-weight: 700; font-size: 17px; text-align: center; text-decoration: none;
  padding: 15px; border-radius: 10px; box-shadow: inset 0 -3px 0 rgba(0,0,0,0.14);
}

/* ---------- Thanks page ---------- */
.alert-h1 { font-size: 29px; line-height: 1.14; font-weight: 800; letter-spacing: -0.02em; color: var(--green); text-align: center; margin-bottom: 14px; }
.alert-h1 .grad { color: var(--green); }
.alert-h1 .underline { text-decoration: underline; text-underline-offset: 3px; }
.instr { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.steps-title { font-size: 19px; font-weight: 800; color: var(--ink); text-align: center; margin: 4px 0 20px; letter-spacing: -0.01em; }
.step-h { font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: 0.08em; text-transform: uppercase; margin: 20px 0 12px; }
.step-list { list-style: none; counter-reset: s; padding: 0; }
.step-list li { counter-increment: s; position: relative; padding: 7px 0 7px 42px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.step-list li strong { color: var(--ink); }
.step-list li::before {
  content: counter(s); position: absolute; left: 0; top: 5px;
  width: 27px; height: 27px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--cta-text);
  border-radius: 50%; font-weight: 800; font-size: 13px;
}

/* ---------- Footer ---------- */
footer { text-align: center; color: var(--muted); font-size: 12px; padding: 28px 0 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 380px) {
  h1 { font-size: 30px; }
  .sec-head h2 { font-size: 24px; }
  .alert-h1 { font-size: 25px; }
  .cta { font-size: 18px; }
  .stat .n { font-size: 20px; }
  .vid-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) {
  .card { padding: 32px 28px; }
  h1 { font-size: 42px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
}
