/* ============================================================
   Dr. Shivanshu Misra — Bariatric Landing Page
   Bootstrap 5 override layer · design tokens
   ============================================================ */

:root {
  /* palette — deep teal trust + gold action + warm cream */
  --ink: #0d2b28;
  --teal-900: #0a3d38;
  --teal-800: #0e5c55;
  --teal-700: #12756c;
  --teal-100: #d8ecea;
  --gold: #e9a13b;
  --gold-dark: #c9821f;
  --gold-soft: #fdf3e3;
  --cream: #faf7f1;
  --white: #ffffff;
  --danger: #d9534f;

  --radius: 14px;
  --shadow-card: 0 18px 45px -18px rgba(13, 43, 40, 0.35);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

/* ---------- base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .hero__title, .section__title {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  color: var(--ink);
}

p { line-height: 1.65; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.85rem;
}
.topbar__item i { color: var(--gold); }
.topbar__call a { color: var(--gold) !important; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(18, 117, 108, 0.14), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(233, 161, 59, 0.16), transparent 55%),
    var(--cream);
  padding: 4rem 0 5rem;
  position: relative;
}

.hero__badge {
  display: inline-block;
  background: var(--teal-100);
  color: var(--teal-800);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

.hero__title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 22ch;
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(13, 43, 40, 0.85);
  max-width: 46ch;
}
.hero__sub-2 { color: var(--teal-700); font-weight: 700; }

.trustbar li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-800);
  background: var(--white);
  border: 1px solid rgba(14, 92, 85, 0.18);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.trustbar i { color: var(--teal-700); font-size: 1rem; }

.hero__stats { gap: 2.2rem !important; }
.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--teal-800);
  line-height: 1.1;
}
.hero__stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(13, 43, 40, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- lead card / forms ---------- */
.leadcard {
  background: var(--white);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(14, 92, 85, 0.12);
  padding: 1.75rem 1.6rem 1.5rem;
  position: relative;
}
.leadcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--teal-800), var(--gold));
}
.leadcard__title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.leadcard__sub {
  font-size: 0.9rem;
  color: rgba(13, 43, 40, 0.65);
  margin-bottom: 1.1rem;
}
.leadcard__micro {
  font-size: 0.74rem;
  color: rgba(13, 43, 40, 0.55);
  text-align: center;
}
.leadcard__micro i { color: var(--teal-700); }

.lead-form .form-control {
  border: 1.5px solid rgba(14, 92, 85, 0.22);
  border-radius: 10px;
  padding: 0.7rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.lead-form .form-control:focus {
  border-color: var(--teal-700);
  box-shadow: 0 0 0 4px rgba(18, 117, 108, 0.12);
}
.lead-form .form-control.is-invalid { border-color: var(--danger); }

.form-success__icon { font-size: 2.6rem; color: var(--teal-700); }

/* ---------- buttons ---------- */
.btn-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #3a2404;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1.6rem;
  box-shadow: 0 10px 24px -8px rgba(201, 130, 31, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-cta:hover, .btn-cta:focus {
  color: #3a2404;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(201, 130, 31, 0.65);
}
.btn-outline-cta {
  border: 2px solid var(--teal-700);
  color: var(--teal-800);
  font-weight: 700;
  border-radius: 12px;
  padding: 0.55rem 1.2rem;
}
.btn-outline-cta:hover { background: var(--teal-800); color: var(--white); }
.btn-whatsapp {
  background: #1faf54;
  color: var(--white);
  font-weight: 800;
  border-radius: 12px;
  padding: 0.8rem 1.4rem;
  border: none;
  box-shadow: 0 10px 24px -10px rgba(31, 175, 84, 0.6);
  transition: transform 0.15s ease;
}
.btn-whatsapp:hover { background: #189a49; color: var(--white); transform: translateY(-2px); }

/* ---------- generic sections ---------- */
.section { padding: 4.5rem 0; }
.section--soft { background: var(--cream); }
.section--pain { background: var(--white); }

.section__title {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
}
.section__lead {
  font-size: 1.05rem;
  color: rgba(13, 43, 40, 0.75);
}
.section__note {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  font-size: 0.98rem;
  color: rgba(13, 43, 40, 0.85);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.eyebrow--light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold);
}

.text-accent { color: var(--gold-dark); }

/* ---------- pain cards ---------- */
.paincard {
  background: var(--cream);
  border: 1px solid rgba(14, 92, 85, 0.12);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.paincard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.paincard__icon {
  font-size: 1.9rem;
  color: var(--teal-700);
  background: var(--teal-100);
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 0.9rem;
}
.paincard p { font-size: 0.92rem; color: rgba(13, 43, 40, 0.7); }

/* ---------- before / after ---------- */
.section--results { background: var(--teal-900); }
.section--results .section__title { color: var(--white); }
.section--results .section__lead { color: rgba(255, 255, 255, 0.75); }
.section--results .eyebrow { background: rgba(255, 255, 255, 0.14); color: var(--gold); }
.section--results .section__note { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); border-left-color: var(--gold); }

.ba-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 32px -14px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}
.ba-card:hover { transform: translateY(-5px) scale(1.02); }
.ba-card__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ba-card__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--white);
  padding: 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-800);
}
.ba-card__caption i { color: var(--gold-dark); }

/* ---------- eligibility checker ---------- */
.section--checker {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(233, 161, 59, 0.15), transparent 55%),
    linear-gradient(135deg, var(--teal-900), var(--teal-800));
  padding: 4.5rem 0;
}
.checker {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border-radius: calc(var(--radius) + 6px);
  padding: 2.4rem 2rem;
}
.text-light-soft { color: rgba(255, 255, 255, 0.78) !important; }
.text-gold { color: var(--gold) !important; }
.link-gold { color: var(--gold); }

.checker__q { margin-bottom: 0.5rem; }
.checker__q-text { color: var(--white); font-size: 1.02rem; margin-bottom: 0.85rem; }

.btn-choice {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
  border-radius: 12px;
  padding: 0.7rem;
  transition: all 0.15s ease;
}
.btn-choice:hover { background: rgba(255, 255, 255, 0.2); color: var(--white); border-color: var(--gold); }
.btn-choice.selected--yes {
  background: var(--gold);
  color: #3a2404;
  border-color: var(--gold);
}
.btn-choice.selected--no {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.checker__result-icon { font-size: 2.4rem; color: var(--gold); }
.checker__result-icon--info { color: #7cc4ff; }
.btn-restart {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
}
.btn-restart:hover { color: var(--white); }

@media (min-width: 576px) {
  .w-sm-auto { width: auto !important; }
}

/* ---------- doctor / authority ---------- */
.doctor-photo-wrap {
  position: relative;
  display: inline-block;
  padding: 0.9rem;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--teal-100), transparent 70%);
}
.doctor-photo-wrap::after {
  content: " ";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-800);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.doctor-photo {
  width: 100%;
  max-width: 300px;
  border-radius: 18px;
  filter: drop-shadow(0 18px 28px rgba(13, 43, 40, 0.28));
}
.doctor-creds {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-700);
}

.authority li {
  display: flex;
  gap: 0.95rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(14, 92, 85, 0.18);
}
.authority li:last-child { border-bottom: none; }
.authority i {
  color: var(--gold-dark);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.authority strong { display: block; font-size: 0.97rem; }
.authority small { color: rgba(13, 43, 40, 0.6); font-size: 0.84rem; }

/* ---------- procedures ---------- */
.proccard {
  background: var(--white);
  border: 1px solid rgba(14, 92, 85, 0.12);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.proccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.proccard__num { font-size: 1.7rem; color: var(--teal-700); margin-bottom: 0.7rem; }
.proccard p { font-size: 0.9rem; color: rgba(13, 43, 40, 0.7); }

/* ---------- cost ---------- */
.section--cost {
  background:
    radial-gradient(900px 420px at 0% 100%, rgba(18, 117, 108, 0.35), transparent 55%),
    linear-gradient(150deg, var(--teal-900), #0a4a44);
}
.costcard {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1.1rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.costcard__label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
}
.costcard__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
}
.costcard--includes {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  padding: 1.4rem 1.5rem;
  text-align: left;
}
.costcard--includes .h6 { color: var(--white); }
.incl {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
}
.incl i { color: var(--gold); font-weight: 800; }

/* ---------- steps & FAQ ---------- */
.step {
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid rgba(14, 92, 85, 0.1);
  padding: 1.5rem 1.3rem;
  position: relative;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-800);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}
.step p { color: rgba(13, 43, 40, 0.7); }

.faq .accordion-item {
  border: 1px solid rgba(14, 92, 85, 0.15);
  border-radius: 12px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq .accordion-button {
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
}
.faq .accordion-button:not(.collapsed) {
  background: var(--teal-100);
  color: var(--teal-900);
  box-shadow: none;
}
.faq .accordion-button:focus { box-shadow: 0 0 0 4px rgba(18, 117, 108, 0.12); }
.faq .accordion-body { font-size: 0.94rem; color: rgba(13, 43, 40, 0.75); }

/* ---------- final CTA ---------- */
.section--final {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(233, 161, 59, 0.14), transparent 55%),
    linear-gradient(135deg, var(--teal-900), var(--teal-800));
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0 5.5rem;
}
@media (min-width: 992px) {
  .footer { padding-bottom: 2rem; }
}

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  gap: 1px;
  background: rgba(13, 43, 40, 0.2);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}
.sticky-cta__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.4rem;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--white);
}
.sticky-cta__btn--call { background: var(--teal-800); }
.sticky-cta__btn--wa { background: #1faf54; }
.sticky-cta__btn--form { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #3a2404; }

/* smooth scroll for anchor CTAs */
html { scroll-behavior: smooth; }

.ba-disclaimer { color: rgba(255, 255, 255, 0.6) !important; }
