/* ==========================================================================
   GMM Lead-Gen Funnel — Shared Design System
   Brand matches growthmarketingco.com
   ========================================================================== */

:root {
  /* Colors */
  --bg-dark: #0A0A0A;
  --bg-dark-alt: #101510;
  --bg-light: #FAFAF8;
  --text-on-dark: #FFFFFF;
  --text-on-light: #14180F;
  --accent: #61B13B;
  --accent-hover: #4A8A2D;
  --border: #222222;
  --red: #E5484D;
  --yellow: #FFD43B;

  /* CTA + reference (closers.io) styling */
  --cta: #009444;
  --cta-hover: #007D39;
  --pill-bg: #FBD9D2;
  --pill-text: #BE3A28;
  --muted-on-dark: #B5B5B5;
  --muted-on-light: #5A5F52;

  /* Type */
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  /* Layout */
  --maxw: 1080px;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-on-light);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg-dark);
  padding: 16px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.site-header img { height: 48px; max-height: 48px; width: auto; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #0A0A0A;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  padding: 16px 32px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
  text-align: center;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-lg { font-size: 1.2rem; padding: 18px 40px; width: 100%; max-width: 420px; }

/* Red CTA (reference style) */
.btn-cta {
  background: var(--cta);
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  padding: 20px 48px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,148,68,0.28);
}
.btn-cta:hover { background: var(--cta-hover); }

/* ---------- Multi-step lead form ---------- */
.multistep {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #E4E4DE;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  text-align: left;
}
.ms-bar { height: 5px; background: #ECECE6; overflow: hidden; border-radius: 13px 13px 0 0; }
.ms-bar > i { display: block; height: 100%; width: 20%; background: var(--cta); transition: width 0.3s ease; }
.ms-body { padding: 26px 26px 22px; }
.ms-step label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-on-light);
  margin-bottom: 10px;
}
.ms-step .ms-label-top { margin-top: 16px; }
.ms-step .ms-label-top:first-child { margin-top: 0; }
.req { color: var(--red); }
.ms-input {
  width: 100%;
  background: #fff;
  border: 1px solid #D6D6CF;
  border-radius: 8px;
  font-size: 1.05rem;
  font-family: var(--font-body);
  padding: 13px 14px;
  color: var(--text-on-light);
}
.ms-input::placeholder { color: #9A9A92; }
.ms-input:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(0,148,68,0.15); }
select.ms-input { appearance: auto; cursor: pointer; }

/* custom dropdown (stays inside the card, wraps long options) */
.ms-dropdown { position: relative; }
.ms-dd-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid #D6D6CF;
  border-radius: 8px;
  font-size: 1.05rem;
  font-family: var(--font-body);
  padding: 13px 14px;
  color: var(--text-on-light);
  cursor: pointer;
  text-align: left;
  line-height: 1.3;
}
.ms-dd-toggle .ms-dd-label.placeholder { color: #9A9A92; }
.ms-dd-caret { width: 13px; height: 13px; flex: 0 0 auto; transition: transform 0.2s ease; }
.ms-dropdown.open .ms-dd-caret { transform: rotate(180deg); }
.ms-dropdown.open .ms-dd-toggle { border-color: var(--cta); box-shadow: 0 0 0 3px rgba(0,148,68,0.15); }
.ms-dd-list {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #E4E4DE;
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.14);
  max-height: 260px;
  overflow-y: auto;
}
.ms-dd-list li {
  padding: 11px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.3;
}
.ms-dd-list li:hover { background: #EAF6E5; }
.ms-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--muted-on-light);
}
.ms-check input { margin-top: 3px; flex: 0 0 auto; }
.ms-check a { color: var(--cta); }
.ms-error { color: var(--red); font-size: 0.85rem; min-height: 18px; margin-top: 12px; }
.ms-nav {
  display: flex;
  align-items: stretch;
  background: var(--cta);
  overflow: hidden;
  border-radius: 0 0 13px 13px;
}
.ms-nav button {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 26px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.ms-prev { margin-right: auto; }
.ms-next, .ms-submit { margin-left: auto; background: rgba(0,0,0,0.14); }
.ms-nav button:hover { background: rgba(0,0,0,0.2); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-darker { background: var(--bg-dark-alt); color: var(--text-on-dark); }
.section-light { background: var(--bg-light); color: var(--text-on-light); }

/* ---------- Hero (light, VSL/closers.io style) ---------- */
.hero {
  background: var(--bg-light);
  color: var(--text-on-light);
  padding: 48px 0 56px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  max-width: 900px;
  margin: 0 auto 18px;
  color: var(--text-on-light);
}
/* underlined keywords, like the reference */
.hero h1 u {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* salmon-pink pill subline */
.pill-subhead {
  display: inline-block;
  background: var(--pill-bg);
  color: var(--pill-text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  border-radius: 100px;
  padding: 10px 24px;
  margin: 0 auto 30px;
}
.pill-subhead sup { font-size: 0.7em; }

/* centered video slot */
.video-slot {
  max-width: 860px;
  margin: 0 auto 32px;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0A0A0A;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  border: 1px solid #E4E4DE;
}
.video-frame iframe,
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  background:
    radial-gradient(120% 120% at 50% 0%, #1a1f17 0%, #0A0A0A 70%);
  color: #cfcfcf;
}
.video-placeholder .vp-play {
  width: 74px; height: 74px;
  display: flex; align-items: center; justify-content: center;
}
.video-placeholder .vp-play svg { width: 74px; height: 74px; }
.video-placeholder p { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }

.hl-yellow { color: var(--yellow); }
.hl-green { color: var(--cta); }

/* Trust line + Google badge */
.trust-line {
  font-size: 0.95rem;
  color: var(--muted-on-light);
  margin: 22px auto 14px;
  max-width: 560px;
}
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #E4E4DE;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--text-on-light);
}
.google-badge .stars { color: #F5B301; letter-spacing: 1px; }
.google-badge .rating { font-weight: 700; }
.google-badge .reviews { color: var(--muted-on-light); }
.google-badge .g-label { color: var(--muted-on-light); font-size: 0.82rem; }

/* ---------- Qualifier bar ---------- */
.qualifier {
  background: var(--bg-dark-alt);
  color: var(--text-on-dark);
  border-left: 4px solid var(--accent);
  text-align: center;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
}
.qualifier .container { max-width: 820px; }

/* ---------- Reasons grid ---------- */
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom: 40px;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}
.reason-card {
  background: #fff;
  border: 1px solid #ECECE6;
  border-radius: 12px;
  padding: 28px;
}
.reason-card .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.reason-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.reason-card p { color: var(--muted-on-light); font-size: 0.98rem; }

/* ---------- Side effects list ---------- */
.effects-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.effects-list li {
  position: relative;
  padding: 18px 22px 18px 56px;
  background: #fff;
  border: 1px solid #ECECE6;
  border-radius: 12px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-on-light);
}
.effects-list li::before {
  content: "";
  position: absolute;
  left: 20px; top: 50%;
  width: 22px; height: 22px;
  transform: translateY(-50%);
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230A0A0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Guarantee ---------- */
.guarantee { text-align: center; }
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--text-on-light);
  background: #fff;
  border: 1px solid rgba(97,177,59,0.5);
  border-radius: 100px;
  padding: 14px 28px;
  margin-bottom: 28px;
}
.guarantee-badge svg { width: 34px; height: 34px; flex: 0 0 auto; }

/* ---------- Video cards ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.video-card {
  background: #fff;
  border: 1px solid #ECECE6;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-on-light);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.video-card:hover { transform: translateY(-3px); border-color: var(--cta); box-shadow: 0 10px 28px rgba(0,0,0,0.10); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: #000; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.video-thumb .play {
  position: absolute; inset: 0; margin: auto;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
}
.video-thumb .play svg { width: 58px; height: 58px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.video-card .vtitle { padding: 14px 16px; font-weight: 600; font-size: 0.98rem; }

/* ---------- Testimonials ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.quote-card {
  background: #fff;
  border: 1px solid #ECECE6;
  border-radius: 12px;
  padding: 28px;
}
.quote-card .stars { color: var(--yellow); margin-bottom: 12px; letter-spacing: 1px; }
.quote-card blockquote { font-size: 1.05rem; font-style: italic; margin-bottom: 14px; }
.quote-card cite { font-style: normal; font-weight: 700; color: var(--muted-on-light); font-size: 0.92rem; }

/* ---------- Bottom CTA ---------- */
.cta-block { text-align: center; }
.cta-block h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 28px; }
.cta-micro { color: var(--muted-on-light); font-size: 0.9rem; margin-top: 14px; }
.section-dark .cta-micro { color: var(--muted-on-dark); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: #111;
  color: #fff;
  border: 1px solid var(--cta);
  border-radius: 14px;
  width: 100%; max-width: 420px;
  padding: 36px 30px 32px;
  position: relative;
  text-align: center;
}
.modal-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.modal-card p { color: var(--muted-on-dark); font-size: 0.95rem; margin-bottom: 22px; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: #888;
  font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: #fff; }
.modal-card input {
  width: 100%;
  background: #0A0A0A;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  font-size: 1.1rem;
  padding: 14px 16px;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: 2px;
}
.modal-card input:focus { outline: none; border-color: var(--cta); }
.modal-error { color: var(--red); font-size: 0.85rem; min-height: 18px; margin-bottom: 14px; text-align: left; }
.modal-card .btn { width: 100%; }
.modal-card .btn-cta {
  font-size: 1.2rem;
  padding: 16px 20px;
  white-space: nowrap;
}

/* ---------- Calendar / confirmation pages ---------- */
.page-intro { text-align: center; padding: 56px 0 24px; }
.page-intro h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 14px; }
.page-intro p { color: var(--muted-on-dark); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Territory "available" headline + live blinking dot */
.territory-headline {
  color: #fff;
  font-size: clamp(1.7rem, 4.4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 12px;
}
.blink-dot {
  display: inline-block;
  width: 21px; height: 21px;
  vertical-align: middle;
  margin-left: 16px;
  border-radius: 50%;
  background: #2ECC40;
  box-shadow: 0 0 8px 1px rgba(46,204,64,0.9);
  animation: territory-pulse 1.3s ease-out infinite;
}
@keyframes territory-pulse {
  0%   { box-shadow: 0 0 8px 1px rgba(46,204,64,0.9), 0 0 0 0 rgba(46,204,64,0.7); opacity: 1; }
  70%  { box-shadow: 0 0 8px 1px rgba(46,204,64,0.9), 0 0 0 14px rgba(46,204,64,0); opacity: 0.65; }
  100% { box-shadow: 0 0 8px 1px rgba(46,204,64,0.9), 0 0 0 0 rgba(46,204,64,0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .blink-dot { animation: none; } }
.page-subhead {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--text-on-dark);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  margin-bottom: 8px;
}
.calendar-wrap { max-width: 900px; margin: 0 auto 64px; padding: 0 16px; }
.calendar-wrap iframe { width: 100%; min-height: 700px; border: none; border-radius: 12px; background: #fff; }

.confirm-body { max-width: 620px; margin: 0 auto; text-align: center; color: var(--muted-on-dark); font-size: 1.1rem; }
.confirm-body p { margin-bottom: 16px; }
.cal-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 28px 0 8px; }
.cal-buttons .btn { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.cal-buttons .btn:hover { background: var(--accent); color: #0A0A0A; }

/* ---------- Footer (no links, just legal) ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--muted-on-dark);
  text-align: center;
  padding: 28px 20px;
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
}
.footer-links {
  margin-top: 8px;
}
.footer-links a {
  color: var(--muted-on-dark);
  text-decoration: underline;
}
.footer-links a:hover {
  color: #fff;
}
.footer-links .sep {
  margin: 0 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
