/* ===========================================================
   Hair Transplant Landing Page — conversion-focused add-ons
   =========================================================== */

.lp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244,250,249,0.9); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line); padding: 12px 0;
}
.lp-header .nav__logo img { height: 42px; }
.lp-header__cta { display: flex; align-items: center; gap: 14px; }

/* trust strip */
.trust-strip { background: var(--ink); color: #cfe9ec; padding: 11px 0; font-size: .9rem; }
.trust-strip__row { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; text-align: center; }
.trust-strip__row span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.trust-strip__row svg { width: 16px; height: 16px; color: var(--teal); }

/* LP hero with form */
.lp-hero { padding-top: clamp(110px, 14vw, 150px); padding-bottom: clamp(50px, 7vw, 90px); position: relative; }
.lp-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.lp-hero__title { margin: 18px 0 20px; }
.lp-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.lp-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-sm); }
.lp-badge svg { width: 16px; height: 16px; color: var(--teal-deep); }

/* Lead form card */
.lead-card {
  background: var(--white); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative;
}
.lead-card__ribbon { position: absolute; top: -14px; left: 28px; background: var(--gold); color: #3a2c0a; font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; box-shadow: var(--shadow-sm); }
.lead-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.lead-card .muted { font-size: .92rem; margin-bottom: 20px; }
.lead-card .btn { margin-top: 4px; }
.lead-card__note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.lead-card__note svg { width: 14px; height: 14px; color: var(--teal-deep); }

/* offer banner */
.offer { background: linear-gradient(135deg, var(--gold), #d8b876); color: #2e2207; }
.offer .container { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 0; flex-wrap: wrap; text-align: center; font-weight: 700; }
.offer b { font-family: var(--display); font-weight: 600; }

/* sticky mobile CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; display: none;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  padding: 10px 14px; gap: 10px;
  box-shadow: 0 -10px 30px -16px rgba(10,42,46,.4);
}
.sticky-cta .btn { flex: 1; padding: 14px; }

/* reasons grid */
.reason { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; text-align: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.reason:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.reason__ic { width: 56px; height: 56px; border-radius: 14px; background: var(--mint-2); color: var(--teal-deep); display: grid; place-items: center; margin: 0 auto 16px; }
.reason__ic svg { width: 28px; height: 28px; }
.reason h3 { font-size: 1.2rem; margin-bottom: 8px; }
.reason p { color: var(--muted); font-size: .92rem; }

/* technique pills */
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tech__card { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.tech__card--dark { background: linear-gradient(150deg, var(--teal-ink), #082a2f); color: #dff3f5; border: none; }
.tech__card--dark h3, .tech__card--dark .tech__price { color: #fff; }
.tech__card--dark p, .tech__card--dark li { color: #aacdd1; }
.tech__tag { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); }
.tech__card--dark .tech__tag { color: var(--gold-soft); }
.tech__card h3 { font-size: 1.6rem; margin: 8px 0 12px; }
.tech__list { display: grid; gap: 10px; margin-top: 16px; }
.tech__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.tech__list svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }

/* ---- Trust badge strip ---- */
.badge-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.badge-row__item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.badge-row__ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--mint-2); color: var(--teal-deep); display: grid; place-items: center; }
.badge-row__ic svg { width: 24px; height: 24px; }
.badge-row__item b { display: block; font-size: .98rem; line-height: 1.2; }
.badge-row__item span { font-size: .8rem; color: var(--muted); }

/* ---- Norwood calculator ---- */
.norwood { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-md); }
.norwood__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.nw-stage {
  border: 1.5px solid var(--line); background: var(--mint); border-radius: var(--r-md); padding: 12px 6px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background .35s;
}
.nw-stage:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: var(--shadow-sm); }
.nw-stage.active { border-color: var(--teal); background: var(--mint-2); box-shadow: 0 0 0 3px var(--teal-glow); }
.nw-stage svg { width: 100%; height: auto; }
.nw-stage__n { font-weight: 800; font-size: .82rem; color: var(--teal-deep); }
.nw-result { margin-top: 26px; border-radius: var(--r-lg); padding: 26px 28px; background: linear-gradient(150deg, var(--teal-ink), #082a2f); color: #dff3f5; display: none; }
.nw-result.show { display: block; animation: nwFade .5s var(--ease); }
@keyframes nwFade { from { opacity: 0; transform: translateY(12px);} to {opacity:1; transform:none;} }
.nw-result h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.nw-result p { color: #aacdd1; margin-bottom: 18px; max-width: 60ch; }
.nw-result .pillrec { display: inline-block; background: rgba(255,255,255,.12); color: var(--gold-soft); padding: 5px 14px; border-radius: 100px; font-weight: 700; font-size: .8rem; letter-spacing: .05em; margin-bottom: 14px; }

/* ---- Cost estimator ---- */
.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.estimator__controls { background: var(--white); padding: clamp(26px, 3.5vw, 44px); }
.estimator__out { background: linear-gradient(155deg, var(--teal-ink), #082a2f); color: #dff3f5; padding: clamp(26px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.est-group { margin-bottom: 24px; }
.est-group > label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 10px; }
.est-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.est-opt { padding: 10px 16px; border-radius: 100px; border: 1.5px solid var(--line); background: var(--mint); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .3s var(--ease); }
.est-opt:hover { border-color: var(--teal); }
.est-opt.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.est-out__row { margin-bottom: 18px; }
.est-out__row span { font-size: .82rem; color: #8fc0c6; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; }
.est-out__val { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: #fff; line-height: 1.1; }
.est-out__emi { color: var(--gold-soft); font-weight: 700; }
.est-out__note { font-size: .78rem; color: #7ba2a7; margin: 8px 0 20px; }

/* ---- Before/after gallery ---- */
.ba-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ba-mini { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); background: linear-gradient(135deg,#5a6b6d,#2c3a3c); }
.ba-mini img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ba-mini:hover img { transform: scale(1.06); }
.ba-mini__split { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,.85); }
.ba-mini__tags { position: absolute; bottom: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; }
.ba-mini__tags span { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(10,42,46,.72); color: #fff; padding: 4px 9px; border-radius: 100px; backdrop-filter: blur(4px); }

/* ---- Comparison table ---- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--teal-ink); color: #fff; font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.compare thead th:first-child { background: var(--ink); }
.compare tbody td:first-child { font-weight: 600; }
.compare td.col-c { text-align: center; }
.compare .yes { color: var(--teal-deep); font-weight: 800; }
.compare .no { color: #c2776b; font-weight: 800; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody tr:hover { background: var(--mint); }
.compare thead th.col-us { background: var(--teal-deep); box-shadow: inset 0 -3px 0 var(--gold); }
.compare tbody td.col-us { background: rgba(20,184,200,.06); }

@media (max-width: 980px) {
  .badge-row { grid-template-columns: repeat(2, 1fr); }
  .norwood__grid { grid-template-columns: repeat(4, 1fr); }
  .estimator { grid-template-columns: 1fr; }
  .ba-gallery { grid-template-columns: 1fr 1fr; }
  .lp-hero__grid { grid-template-columns: 1fr; }
  .lead-card { max-width: 480px; margin-inline: auto; }
  .tech { grid-template-columns: 1fr; }
  .lp-header__cta .nav__phone { display: none; }
}
@media (max-width: 640px) {
  .sticky-cta { display: flex; }
  body.has-sticky { padding-bottom: 74px; }
  .trust-strip__row { gap: 18px; font-size: .8rem; }
  .badge-row { grid-template-columns: 1fr; }
  .norwood__grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .ba-gallery { grid-template-columns: 1fr; }
  .compare { font-size: .86rem; }
  .compare th, .compare td { padding: 12px 12px; }
  .compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ===== ADVANCED COST ESTIMATOR ===== */

.estimator-section { background: var(--cream); border-block: 1px solid var(--line); }

/* Step indicator */
.est-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin: 48px auto 40px; max-width: 480px;
}
.est-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  position: relative;
}
.est-step__num {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; font-family: var(--sans);
  background: var(--line); color: var(--muted);
  border: 2px solid var(--line);
  transition: all 0.4s var(--ease);
}
.est-step__lbl {
  font-size: 12px; color: var(--muted); font-weight: 600;
  letter-spacing: 0.03em; white-space: nowrap;
  transition: color 0.4s;
}
.est-step.active .est-step__num {
  background: var(--teal); color: #fff; border-color: var(--teal);
  box-shadow: 0 0 0 6px rgba(20,184,200,0.15);
}
.est-step.active .est-step__lbl { color: var(--teal-deep); }
.est-step.done .est-step__num {
  background: var(--teal-deep); color: #fff; border-color: var(--teal-deep);
}
.est-step-line {
  flex: 1; height: 2px; background: var(--line);
  margin: 0 8px; margin-bottom: 22px;
  transition: background 0.4s;
  min-width: 48px;
}
.est-step-line.done { background: var(--teal-deep); }

/* Panels */
.est-panel { display: none; animation: estPanelIn 0.45s var(--ease) forwards; }
.est-panel.active { display: block; }
@keyframes estPanelIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.est-panel__hint {
  text-align: center; color: var(--muted); font-size: 15px;
  margin-bottom: 28px;
}

/* Norwood grid (inside estimator) */
#nwGridEst {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  max-width: 780px; margin: 0 auto;
}
#nwGridEst .nw-stage {
  flex: 1 1 90px; max-width: 100px;
  border: 2px solid var(--line); border-radius: var(--r-md);
  padding: 12px 8px; background: var(--white);
  cursor: pointer; transition: all 0.3s var(--ease);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
#nwGridEst .nw-stage:hover { border-color: var(--teal); transform: translateY(-3px); }
#nwGridEst .nw-stage.active {
  border-color: var(--teal); background: rgba(20,184,200,0.06);
  box-shadow: 0 0 0 4px rgba(20,184,200,0.12);
}
#nwGridEst .nw-stage svg { width: 60px; height: auto; }
#nwGridEst .nw-stage__n { font-size: 11px; font-weight: 700; color: var(--muted); }
#nwGridEst .nw-stage.active .nw-stage__n { color: var(--teal-deep); }

/* Technique cards */
.tech-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 780px; margin: 0 auto;
}
.tech-card {
  border: 2px solid var(--line); border-radius: var(--r-md);
  padding: 24px 20px; background: var(--white);
  cursor: pointer; transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.tech-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,184,200,0.06), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.tech-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.tech-card:hover::before { opacity: 1; }
.tech-card.active {
  border-color: var(--teal); background: rgba(20,184,200,0.05);
  box-shadow: 0 0 0 4px rgba(20,184,200,0.15), var(--shadow-sm);
}
.tech-card.active::before { opacity: 1; }
.tech-card__badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 99px;
  background: var(--teal-glow); color: var(--teal-deep); margin-bottom: 12px;
}
.tech-card.active .tech-card__badge { background: var(--teal); color: #fff; }
.tech-card h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 6px; font-family: var(--sans); }
.tech-card p { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.tech-card__features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tech-card__features li {
  font-size: 13px; color: var(--ink-soft); display: flex; align-items: flex-start; gap: 7px;
}
.tech-card__features li::before {
  content: "\2713"; color: var(--teal); font-weight: 800; flex-shrink: 0; margin-top: 1px;
}
.tech-card__check {
  position: absolute; top: 14px; right: 14px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--line); display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; font-size: 13px; color: transparent;
}
.tech-card.active .tech-card__check { background: var(--teal); color: #fff; }

/* Result panel */
.est-result {
  max-width: 680px; margin: 0 auto;
  background: var(--white); border-radius: var(--r-lg);
  border: 1.5px solid var(--teal); padding: 36px 40px;
  box-shadow: var(--shadow-md);
  animation: estResultIn 0.6s var(--ease) forwards;
}
@keyframes estResultIn {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.est-result__header { margin-bottom: 28px; }
.est-result__badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 14px; border-radius: 99px;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
  color: #fff; margin-bottom: 10px;
}
.est-result__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.est-result__tag {
  font-size: 12px; font-weight: 600; padding: 4px 12px;
  border-radius: 99px; background: var(--mint-2); color: var(--teal-deep);
  border: 1px solid var(--teal);
}
.est-result__numbers {
  display: flex; gap: 0; align-items: stretch;
  background: var(--cream); border-radius: var(--r-sm); overflow: hidden;
  margin-bottom: 28px;
}
.est-num-block {
  flex: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px;
}
.est-num-divider { width: 1px; background: var(--line); margin: 10px 0; }
.est-num-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.est-num-value { font-size: 20px; font-weight: 800; color: var(--ink); font-family: var(--sans); }
.est-num-value--big { font-size: 26px; color: var(--teal-deep); }

/* CSS Bar chart */
.est-chart { margin-bottom: 28px; }
.est-chart__title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.est-chart__bars { display: flex; flex-direction: column; gap: 12px; }
.est-bar-row { display: grid; grid-template-columns: 50px 1fr 120px; align-items: center; gap: 12px; }
.est-bar-lbl { font-size: 13px; font-weight: 700; color: var(--muted); }
.est-bar-lbl.active-lbl { color: var(--teal-deep); }
.est-bar-track { height: 28px; border-radius: 6px; background: var(--mint-2); overflow: hidden; }
.est-bar-fill {
  height: 100%; border-radius: 6px; background: var(--line);
  width: 0; transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; align-items: center; padding-left: 10px;
}
.est-bar-fill.active-bar { background: linear-gradient(90deg, var(--teal), var(--teal-deep)); }
.est-bar-range { font-size: 12px; font-weight: 600; color: var(--muted); text-align: right; }
.est-bar-range.active-range { color: var(--teal-deep); }

/* Everything included */
.est-included {
  background: linear-gradient(150deg, var(--mint-2), var(--cream));
  border: 1.5px solid var(--teal); border-radius: var(--r-sm);
  padding: 20px 22px; margin-bottom: 28px;
}
.est-included__title {
  font-size: 13px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--teal-deep); text-transform: uppercase; margin-bottom: 14px;
}
.est-included__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.est-included__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-left: 26px; position: relative;
  font-size: 14px; color: var(--ink);
}
.est-included__list li::before {
  content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep)); color: #fff;
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.est-included__svc { font-weight: 700; }
.est-included__val { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.est-included__val--free { color: var(--teal-deep); }
.est-included__total {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--teal);
  font-size: 13px; color: var(--muted);
}
.est-included__total b { font-size: 15px; color: var(--teal-deep); font-family: var(--sans); }

/* Actions */
.est-result__actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
}
.est-result__actions .btn { flex: 1; min-width: 200px; justify-content: center; }
.est-result__note {
  font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 16px;
}
.est-reset {
  display: block; margin: 0 auto; font-size: 13px; color: var(--muted);
  text-decoration: underline; cursor: pointer; background: none; border: none;
  font-family: var(--sans);
}
.est-reset:hover { color: var(--teal-deep); }

@media (max-width: 700px) {
  .tech-cards { grid-template-columns: 1fr; }
  .est-result { padding: 24px 20px; }
  .est-result__numbers { flex-direction: column; }
  .est-num-divider { width: 100%; height: 1px; margin: 0; }
  .est-bar-row { grid-template-columns: 40px 1fr; }
  .est-bar-range { display: none; }
}
