/* ===========================================================
   Fill Your Clinic — Growth funnel
   Brand: deep navy + mint accent (mint = the win/cash signal)
=========================================================== */
:root {
  --bg:        #12171e;
  --bg-2:      #161b22;
  --panel:     #1c232d;
  --panel-2:   #212a35;
  --line:      #2b3542;
  --line-soft: #232c37;
  --ink:       #eef2f7;
  --ink-soft:  #b8c2cf;
  --muted:     #8695a6;
  --accent:    #32e1c4;
  --accent-ink:#052b25;
  --accent-dim:#1d6f62;
  --radius:    16px;
  --shadow:    0 20px 50px -20px rgba(0,0,0,.6);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(50,225,196,.12), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(50,225,196,.06), transparent 55%),
    var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }

/* ---------- header ---------- */
.hd {
  display: flex; align-items: center; justify-content: center;
  padding: 18px clamp(16px, 5vw, 44px);
  max-width: 1180px; margin: 0 auto;
}
.hd__brand { text-decoration: none; display: inline-flex; align-items: center; }
.hd__logo { height: 26px; width: auto; display: block; }
.hd__trust {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-soft); font-weight: 600;
}
.hd__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(50,225,196,.18); }

/* ---------- screens ---------- */
.screen { display: none; }
.screen.is-active { display: block; animation: fade .4s ease both; }
[hidden] { display: none !important; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(12px, 3vw, 30px) clamp(16px, 5vw, 44px) 60px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  background: rgba(50,225,196,.1); border: 1px solid rgba(50,225,196,.22);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero__h1 {
  font-size: clamp(30px, 5vw, 50px); line-height: 1.06; font-weight: 800;
  letter-spacing: -.02em; margin: 0 0 18px;
}
.hl {
  color: var(--accent);
  background: linear-gradient(120deg, var(--accent), #7ef2df);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__sub { font-size: clamp(16px, 2vw, 18.5px); color: var(--ink-soft); margin: 0 0 22px; max-width: 34ch; }
.hero__points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.hero__points li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: var(--ink); font-weight: 500; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(50,225,196,.12); border-radius: 6px; padding: 3px; }
.stars { color: #ffcf4d; letter-spacing: 2px; font-size: 15px; }

/* star review line, centered above the quiz */
.quiz-col { display: flex; flex-direction: column; }
.proof { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 14px; font-size: clamp(12px, 3.3vw, 13.5px); color: var(--muted); white-space: nowrap; }
.proof__txt { font-weight: 500; }

/* in-quiz contact form */
.qc { display: grid; gap: 13px; margin-top: 14px; }
.qc__field label { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; color: var(--ink-soft); margin-bottom: 6px; }
.qc__field input {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 11px;
  padding: 13px 14px; transition: border-color .15s; outline: none;
}
.qc__field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(50,225,196,.14); }
.qc__field input::placeholder { color: #5f6d7e; }
.qc__field--wa label { color: var(--accent); }
.qc__wa-ic { width: 16px; height: 16px; fill: #25D366; }
.qc__field--wa input { border-color: rgba(37,211,102,.4); }
.qc__field--wa input:focus { border-color: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,.16); }
.qc__note { font-size: 12px; color: var(--muted); margin: 6px 2px 0; }
.qc__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qc__submit {
  width: 100%; cursor: pointer; font-family: inherit; font-size: 16.5px; font-weight: 750; margin-top: 4px;
  color: var(--accent-ink); background: linear-gradient(120deg, var(--accent), #7ef2df);
  border: 0; border-radius: 12px; padding: 15px;
  box-shadow: 0 10px 26px -10px rgba(50,225,196,.6); transition: transform .12s, filter .15s;
}
.qc__submit:hover { filter: brightness(1.05); }
.qc__submit:active { transform: scale(.99); }
.qc__submit:disabled { opacity: .8; cursor: default; }
.qc__err { font-size: 14px; color: #ff8b8b; background: rgba(255,90,90,.08); border: 1px solid rgba(255,90,90,.25); padding: 11px 13px; border-radius: 10px; }

/* intl-tel-input (flag + auto-detected country) — dark theme */
.qc__field--wa .iti { width: 100%; display: block; }
.iti__selected-flag { border-radius: 11px 0 0 11px; }
.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
.iti__selected-flag:focus { background: rgba(255,255,255,.05); }
.iti__arrow { border-top-color: var(--muted); }
.iti__arrow--up { border-top-color: transparent; border-bottom-color: var(--muted); }
.iti__country-list {
  background: var(--panel-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 14px 34px -12px rgba(0,0,0,.65); scrollbar-width: thin;
}
.iti__country { color: var(--ink); }
.iti__country.iti__highlight { background: rgba(50,225,196,.14); }
.iti__country:hover { background: rgba(255,255,255,.06); }
.iti__divider { border-bottom-color: var(--line); }
.iti__dial-code { color: var(--muted); }

/* ---------- quiz card ---------- */
.quiz {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(20px, 3vw, 28px);
  position: relative;
}
.quiz__head { margin-bottom: 20px; }
.quiz__progress { height: 6px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.quiz__bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #7ef2df); border-radius: 999px; transition: width .4s cubic-bezier(.4,0,.2,1); }
.quiz__meta { margin-top: 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.quiz__body.is-in { animation: qin .32s ease both; }
@keyframes qin { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.quiz__q { font-size: clamp(19px, 2.4vw, 23px); font-weight: 750; line-height: 1.25; margin: 0 0 6px; letter-spacing: -.01em; }
.quiz__help { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; }
.quiz__opts { display: grid; gap: 10px; margin-top: 14px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: left; cursor: pointer;
  background: var(--bg-2); border: 1.5px solid var(--line);
  color: var(--ink); font-size: 15.5px; font-weight: 550; font-family: inherit;
  padding: 15px 16px; border-radius: 12px;
  transition: border-color .15s, background .15s, transform .12s;
}
.opt:hover { border-color: var(--accent-dim); background: #1a222c; }
.opt:active { transform: scale(.99); }
.opt__go { color: var(--muted); font-size: 17px; transition: transform .15s, color .15s; }
.opt:hover .opt__go { color: var(--accent); transform: translateX(3px); }
.opt.is-picked { border-color: var(--accent); background: rgba(50,225,196,.1); }
.opt.is-picked .opt__go { color: var(--accent); }
.quiz__back {
  margin-top: 18px; background: none; border: 0; color: var(--muted);
  font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; padding: 4px 0;
}
.quiz__back:hover { color: var(--ink-soft); }

/* ---------- booking screen ---------- */
.screen--book { padding: clamp(16px, 4vw, 40px) clamp(16px, 5vw, 44px) 60px; }
.book-wrap { max-width: 720px; margin: 0 auto; }
.book-intro { text-align: center; margin-bottom: 26px; }
.book-h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.book-lead { color: var(--ink-soft); font-size: 16px; margin: 0 auto; max-width: 52ch; }
.booking-host { background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 28px); }

/* ---------- slot picker ---------- */
.bk__loading, .bk__msg { text-align: center; color: var(--ink-soft); padding: 30px 10px; }
.bk__msg-h { font-weight: 700; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.bk__spin { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; vertical-align: -3px; margin-right: 8px; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.bk__h { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.bk__tz { color: var(--muted); font-weight: 500; font-size: 13px; }
.bk__dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.bk__date {
  flex: 0 0 auto; min-width: 62px; cursor: pointer; font-family: inherit;
  background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--ink-soft); transition: border-color .15s, background .15s, color .15s;
}
.bk__date-dow { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.bk__date-day { font-size: 18px; font-weight: 800; color: var(--ink); }
.bk__date.is-sel { border-color: var(--accent); background: rgba(50,225,196,.1); color: var(--accent); }
.bk__date.is-sel .bk__date-day { color: var(--accent); }

.bk__group { margin-bottom: 16px; }
.bk__group-h { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 9px; }
.bk__group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bk__slot {
  cursor: pointer; font-family: inherit; font-size: 14.5px; font-weight: 650;
  background: var(--bg-2); border: 1.5px solid var(--line); color: var(--ink);
  padding: 11px 6px; border-radius: 10px; transition: border-color .15s, background .15s, transform .1s;
}
.bk__slot:hover { border-color: var(--accent); background: rgba(50,225,196,.08); }
.bk__slot:active { transform: scale(.97); }
.bk__empty { color: var(--muted); font-size: 14px; padding: 10px 0; }

/* ---------- booking form ---------- */
.bk__chosen {
  display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink);
  background: rgba(50,225,196,.08); border: 1px solid rgba(50,225,196,.22);
  padding: 12px 14px; border-radius: 12px; margin-bottom: 18px;
}
.bk__chosen-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.bk__chosen strong { color: var(--accent); }
.bk__greet { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 16px; }
.bk__field { margin-bottom: 14px; }
.bk__field label { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; color: var(--ink-soft); margin-bottom: 6px; }
.bk__field input {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 11px;
  padding: 13px 14px; transition: border-color .15s; outline: none;
}
.bk__field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(50,225,196,.14); }
.bk__field input::placeholder { color: #5f6d7e; }
.bk__field--wa label { color: var(--accent); }
.bk__wa-ic { width: 17px; height: 17px; fill: #25D366; }
.bk__field--wa input { border-color: rgba(37,211,102,.4); }
.bk__field--wa input:focus { border-color: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,.16); }
.bk__note { font-size: 12.5px; color: var(--muted); margin: 7px 2px 0; }
.bk__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.bk__submit {
  width: 100%; cursor: pointer; font-family: inherit; font-size: 16.5px; font-weight: 750;
  color: var(--accent-ink); background: linear-gradient(120deg, var(--accent), #7ef2df);
  border: 0; border-radius: 12px; padding: 15px; margin-top: 6px;
  box-shadow: 0 10px 26px -10px rgba(50,225,196,.6); transition: transform .12s, filter .15s;
}
.bk__submit:hover { filter: brightness(1.05); }
.bk__submit:active { transform: scale(.99); }
.bk__submit:disabled { opacity: .8; cursor: default; }
.bk__back { display: block; width: 100%; margin-top: 12px; background: none; border: 0; color: var(--muted); font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.bk__back:hover { color: var(--ink-soft); }
.bk__err { margin-top: 14px; font-size: 14px; color: #ff8b8b; background: rgba(255,90,90,.08); border: 1px solid rgba(255,90,90,.25); padding: 11px 13px; border-radius: 10px; }

/* ---------- thank-you / done ---------- */
.bk__done { text-align: center; padding: 8px 4px 4px; }
.bk__done-icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(50,225,196,.14); display: grid; place-items: center; color: var(--accent); }
.bk__done-icon svg { width: 28px; height: 28px; }
.bk__done-when { font-size: 19px; font-weight: 650; line-height: 1.4; margin-bottom: 20px; }
.bk__done-when strong { font-size: 24px; color: var(--accent); }
.bk__done-rows { display: grid; gap: 8px; max-width: 380px; margin: 0 auto 22px; text-align: left; }
.bk__done-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 11px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px; color: var(--ink-soft); }
.bk__done-k { color: var(--muted); font-weight: 600; }
.bk__done-row--wa { border-color: rgba(37,211,102,.3); }
.bk__done-next { text-align: left; max-width: 420px; margin: 0 auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.bk__done-next-h { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.bk__done-next ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 8px; padding-bottom: 32px; gap: 20px; }
  .hero__copy { text-align: center; }
  .hero__h1 { margin-bottom: 16px; }
  .hero__sub { margin: 0 auto 8px; }
  .hero__points { max-width: 340px; margin: 0 auto; text-align: left; }
  .proof { margin-bottom: 16px; }
  .hero__proof { justify-content: center; }
}
@media (max-width: 520px) {
  .eyebrow { margin-bottom: 16px; }
  .hero__h1 { font-size: 28px; line-height: 1.12; }
  .hero__sub { font-size: 15.5px; }
  .quiz { padding: 20px 16px; }
  .quiz__q { font-size: 19px; }
  .opt { padding: 14px 15px; }
  .bk__group-grid { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
}
