/* ==========================================================================
   GLM · Option B — Flagship Treatment Showcase
   Structured, card-based, CRO-forward. Full-bleed hero over scalp-science
   imagery, a concern→treatment finder, a heavy flagship spotlight, a process
   timeline. Calm palette — cypress/sage on paper; stucco/shiitake for tags.
   ========================================================================== */

.opt-b { background: var(--paper); }
.opt-b em { font-style: italic; color: var(--cypress); }

/* Inverted helpers for the dark hero */
.eyebrow--inv { color: #e7d9b8; }
.eyebrow--inv::before { background: #e7d9b8; opacity: .6; }
.rating-chip--inv { background: rgba(243,234,218,.12); border-color: rgba(243,234,218,.22); color: #f3eada; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.rating-chip--inv .src { color: rgba(243,234,218,.72); }
.rating-chip--inv strong { color: #fff; }

/* ---- Hero ---- */
.hero-b { position: relative; overflow: hidden; }
.hero-b__bg {
  position: absolute; inset: 0;
  background: #2c3322 url("../assets/scalp-science-hero-banner.jpg") center 35%/cover no-repeat;
}
.hero-b__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(33,38,26,.92) 0%, rgba(46,52,34,.74) 38%, rgba(54,61,38,.32) 70%, rgba(54,61,38,.10) 100%),
    linear-gradient(0deg, rgba(33,35,34,.30), rgba(33,35,34,0) 40%);
}
.hero-b__inner { position: relative; z-index: 2; }
.hero-b__copy { max-width: 640px; padding: clamp(72px, 12vh, 150px) 0 clamp(56px, 8vh, 96px); color: #f5ecd6; }
.hero-b__title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); margin: 20px 0 22px; color: #fbf4e2; letter-spacing: -.018em; }
.hero-b__title em { color: #c9d3a6; }
.hero-b__sub { color: rgba(251,244,226,.86); margin-bottom: 30px; }
.hero-b__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-b__creds { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-b__arrow { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; color: rgba(243,234,218,.7); }
.hero-b__arrow a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(243,234,218,.3); }
.hero-b__arrow svg { width: 20px; height: 20px; }

/* ---- Concern explorer ---- */
.concerns-b__head { max-width: 60ch; margin-bottom: 40px; }
.concerns-b__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 14px 0 14px; }
.concerns-b__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.concern-card {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.concern-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage); }
.concern-card__ico {
  width: 46px; height: 46px; border-radius: 999px; background: var(--paper-deep); color: var(--cypress);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.concern-card__ico svg { width: 23px; height: 23px; }
.concern-card h3 { font-size: 1.32rem; color: var(--cypress-deep); }
.concern-card p { font-size: 14px; color: var(--jet-60); flex: 1; }
.concern-card__rec { font-size: 13.5px; color: var(--cypress); font-weight: 600; border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 4px; }
.concern-card__rec em { font-style: italic; color: var(--shiitake); font-weight: 500; }

/* ---- Flagship spotlight ---- */
.flag-b { background: var(--paper-soft); border-top: 1px solid var(--line); }
.flag-b__card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow);
}
.flag-b__media { position: relative; min-height: 340px; }
.flag-b__media img { width: 100%; height: 100%; object-fit: cover; }
.flag-b__pill {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: var(--cypress-deep); color: #f3eada; font-size: 11.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px;
}
.flag-b__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.flag-b__body h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--cypress-deep); }
.flag-b__points { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 10px; }
.flag-b__points li { font-size: 14.5px; color: var(--jet-60); padding-left: 22px; position: relative; }
.flag-b__points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; background: var(--sage); }
.flag-b__points strong { color: var(--jet); font-weight: 600; }
.flag-b__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- Treatment menu ---- */
.menu-b__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.menu-b__head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-top: 12px; }
.menu-b__all { color: var(--cypress); font-weight: 600; font-size: 14.5px; white-space: nowrap; padding-bottom: 4px; }
.menu-b__all:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-b__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.menu-card {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.menu-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.menu-card__tag { align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--shiitake); background: var(--paper-deep); padding: 5px 10px; border-radius: 999px; }
.menu-card h3 { font-size: 1.25rem; color: var(--cypress-deep); }
.menu-card p { font-size: 14px; color: var(--jet-60); }

/* ---- Process timeline ---- */
.proc-b { background: var(--cypress-deep); color: #f3eada; }
.proc-b__head { max-width: 60ch; margin-bottom: 44px; color: #f3eada; }
.proc-b__head .eyebrow { color: #c9d3a6; }
.proc-b__head .eyebrow::before { background: #c9d3a6; }
.proc-b__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: #fbf4e2; margin: 14px 0 14px; }
.proc-b__head .lede { color: rgba(243,234,218,.78); }
.proc-b__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.proc-step { padding: 30px 30px 6px 0; position: relative; }
.proc-step:not(:last-child)::after {
  content: ""; position: absolute; top: 56px; right: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(201,211,166,.5), rgba(201,211,166,0));
}
.proc-step__num { font-family: var(--serif); font-size: 15px; color: #c9d3a6; letter-spacing: .1em; display: block; margin-bottom: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(201,211,166,.3); }
.proc-step h3 { font-size: 1.7rem; color: #fbf4e2; margin-bottom: 10px; }
.proc-step p { color: rgba(243,234,218,.74); font-size: 14.5px; }

/* ---- Before/after proof ---- */
.proof-b__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.proof-b__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 14px 0 16px; }
.proof-b__stats { display: flex; flex-wrap: wrap; gap: 26px; margin: 24px 0 26px; }
.proof-b__stats div { display: flex; flex-direction: column; }
.proof-b__stats strong { font-family: var(--serif); font-size: 1.9rem; color: var(--cypress-deep); line-height: 1; }
.proof-b__stats span { font-size: 12.5px; color: var(--shiitake); margin-top: 4px; }
.proof-b__media { max-width: 460px; justify-self: end; width: 100%; }
.proof-b__media .ba-slider { border-radius: var(--r-lg); }
.proof-b__cap { font-size: 12.5px; color: var(--jet-40); margin-top: 10px; font-style: italic; }

/* ---- Reviews ---- */
.rev-b__head { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 36px; flex-wrap: wrap; }
.rev-b__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 12px; }
.rev-b__agg { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.rev-b__big { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--cypress-deep); line-height: 1; }
.rev-b__big span { font-size: 1rem; color: var(--stucco); }
.rev-b__src { font-size: 13px; color: var(--jet-40); margin-top: 6px; }

/* ---- Boutiques ---- */
.boutique-b__head { margin-bottom: 36px; }
.boutique-b__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 12px; }
.boutique-b__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.boutique-b__loc { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.boutique-b__loc--feat img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.boutique-b__loc-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.boutique-b__loc h3 { font-size: 1.4rem; color: var(--cypress-deep); }
.boutique-b__loc p { font-size: 14px; color: var(--jet-60); }
.boutique-b__flag { align-self: flex-start; background: var(--sage); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.boutique-b__hours { margin: 8px 0 12px; }
.boutique-b__hours li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.boutique-b__hours li:last-child { border-bottom: 0; }
.boutique-b__hours li span:first-child { color: var(--shiitake); }

/* ---- Booking form ---- */
.book-b { background: var(--paper-soft); border-top: 1px solid var(--line); }
.book-b__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.book-b__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 14px 0 16px; }
.book-b__points { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.book-b__points li { font-size: 14.5px; color: var(--jet-60); padding-left: 22px; position: relative; }
.book-b__points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sage); font-weight: 700; }
.book-b__form { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.book-b__ok { color: var(--cypress); font-size: 14px; background: rgba(138,144,101,.1); padding: 12px 14px; border-radius: var(--r-sm); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .concerns-b__grid { grid-template-columns: repeat(2, 1fr); }
  .flag-b__card { grid-template-columns: 1fr; }
  .flag-b__media { min-height: 260px; aspect-ratio: 16/10; }
  .menu-b__grid { grid-template-columns: repeat(2, 1fr); }
  .proc-b__grid { grid-template-columns: 1fr; gap: 22px; }
  .proc-step:not(:last-child)::after { display: none; }
  .proc-step { padding-right: 0; }
  .proof-b__grid { grid-template-columns: 1fr; }
  .proof-b__media { justify-self: stretch; max-width: none; }
  .boutique-b__grid { grid-template-columns: 1fr; }
  .book-b__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero-b__scrim { background: linear-gradient(180deg, rgba(33,38,26,.55) 0%, rgba(33,38,26,.78) 55%, rgba(33,38,26,.9) 100%); }
  .hero-b__copy { padding-top: 52px; padding-bottom: 64px; }
  .concerns-b__grid { grid-template-columns: 1fr; }
  .menu-b__grid { grid-template-columns: 1fr; }
  .rev-b__agg { align-items: flex-start; text-align: left; }
  .book-b__form { padding: 22px; }
  .proof-b__stats { gap: 18px; }
}
