/* =========================================================
   FaceStim page styles
   Warm gold / rose-champagne palette — distinct from BodyStim
   ========================================================= */

:root {
  --fs-gold:      #b8924a;
  --fs-gold-lt:   #d4ad72;
  --fs-rose:      #e8ddd4;
  --fs-dark:      #005782;  
}

/* ── Hero ────────────────────────────────────────────────── */

.hero.hero--facestim {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-inline: 0;
  width: 100%;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
}

.hero--facestim .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 2;
}

.hero--facestim .hero-title {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
  letter-spacing: .04em;
}

.hero--facestim .strapline {
  color: #f5ede2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
  font-size: 1.1rem;
  margin-top: .5rem;
}

.hero--facestim .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero--facestim .hero-bg img,
.hero--facestim .hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* warm gold gradient overlay */
.hero--facestim::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(42, 31, 20, .45) 0%,
    rgba(184, 146, 74, .25) 100%
  );
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 48em) {
  .hero.hero--facestim { height: 60vh; }
}

@media (min-width: 70em) {
  .hero.hero--facestim { height: 65vh; }
}

@media (prefers-reduced-motion: reduce) {
  .fs-hero-vid { display: none; }
}

/* ── Key benefits band ───────────────────────────────────── */

.key-band--facestim {
  background: var(--fs-rose);
  padding: 3rem var(--gutter);
  margin-bottom: 1rem;
}

/* Grid layout — mirrors bodystim.css .key-list but scoped here
   because bodystim.css isn't loaded on this page               */
.key-band--facestim .key-list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
  padding: 0;
}

.key-band--facestim .key-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.key-band--facestim .key-icon {
  font-size: 1.35rem;
  color: var(--fs-gold);
  flex-shrink: 0;
}

.key-band--facestim .key-label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .02em;
}

/* ── Treatment sections ──────────────────────────────────── */

.treatment-grid.two-col {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: var(--max);
  margin: 0 auto 2rem;
  padding: 0 var(--gutter);
  align-items: center;
}

@media (min-width: 60em) {
  .treatment-grid.two-col {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }

  .treatment-grid.two-col > :nth-child(1) { grid-column: 1; grid-row: 1; align-self: center; }
  .treatment-grid.two-col > :nth-child(2) { grid-column: 2; grid-row: 1; align-self: center; }
  .treatment-grid.two-col > :nth-child(3) { grid-column: 1; grid-row: 2; align-self: start; }
  .treatment-grid.two-col > :nth-child(4) { grid-column: 2; grid-row: 2; align-self: start; }
}

.treatment-img {
  min-height: 300px;
  display: flex;
}

.treatment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  display: block;
  min-height: 300px;
}

/* ── Benefits list ───────────────────────────────────────── */

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  row-gap: .75rem;
}

.benefits-list li {
  padding-left: 1.4em;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
}

.benefits-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--fs-gold);
  font-size: .75rem;
  top: .35em;
}

/* ── Ideal-for two-column list ───────────────────────────── */

.ideal-grid {
  display: grid;
  gap: 1rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1rem auto 0;
  max-width: var(--max);
  padding: 0 var(--gutter);
}

.ideal-grid article {
  background: var(--fs-rose);
  border-left: 3px solid var(--fs-gold);
  padding: .9rem 1.1rem;
  border-radius: 0 4px 4px 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* ── Technology callout strip ────────────────────────────── */

.fs-tech-strip {
  background: var(--fs-dark);
  color: #f5ede2;
  padding: 3.5rem var(--gutter);
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.fs-tech-strip h2 {
  color: var(--fs-gold-lt);
  margin-bottom: .75rem;
}

.fs-tech-strip p {
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e8ddd4;
}

/* ── Package / pricing ───────────────────────────────────── */

.package-section.facestim-pricing {
  background: #faf8f5;
  padding: 2rem var(--gutter) 1.5rem;
  margin-top: 0;
  border-top: none;
}

/* Double class + child selector beats main.css specificity */
.package-section.facestim-pricing > .package-grid,
.facestim-pricing .package-grid {
  max-width: 560px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.5rem;
}

@media (max-width: 36em) {
  .package-section.facestim-pricing > .package-grid,
  .facestim-pricing .package-grid {
    grid-template-columns: 1fr !important;
    max-width: 320px;
  }
}

/* Eliminate gap between before/after and pricing */
.ba-section + .package-section.facestim-pricing {
  margin-top: 0 !important;
  padding-top: 2rem;
}
.facestim-pricing + .booking-strip {
  margin-top: 0;
}

.package-section.facestim-pricing .package-card.highlight {
  border-color: var(--fs-gold);
  background: linear-gradient(135deg, #fffdf8 0%, #fdf3e3 100%);
}

.package-section.facestim-pricing .package-card.highlight .price-lg {
  color: var(--fs-gold);
}

.recommendation {
  margin-top: .75rem;
  font-size: 1rem;
  color: var(--text);
  text-align: center;
}

/* ── Before / after placeholder ─────────────────────────── */

.fs-gallery-placeholder {
  background: var(--fs-rose);
  border: 2px dashed var(--fs-gold-lt);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--fs-gold);
  font-size: 1rem;
  margin: 2rem 0;
}

/* ── New-treatment badge used on the launch banner ───────── */

.new-badge {
  display: inline-block;
  background: var(--fs-gold);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3em .75em;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: .5rem;
  position: relative;
  top: -.1em;
}
/* ── Before / After comparison carousel ─────────────────── */

.ba-section {
  padding: 3rem 0 0;
  text-align: center;
  background: #faf8f5;
}

.ba-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--fs-gold);
  margin-bottom: .35rem;
}

.ba-subheading {
  font-size: .95rem;
  color: #777;
  margin-bottom: 2rem;
}

.ba-carousel {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
}

.ba-track {
  display: flex;
  transition: transform .4s ease;
  will-change: transform;
}

.ba-slide {
  min-width: 100%;
  padding: 0 3rem; /* room for nav arrows */
  box-sizing: border-box;
}

/* ── The comparison widget itself ── */

.ba-compare {
  position: relative;
  width: 100%;
  user-select: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.14);
  cursor: col-resize;
}

.ba-before,
.ba-after {
  position: relative;
  width: 100%;
  line-height: 0;
}

.ba-after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  clip-path: inset(0 50% 0 0);
}

.ba-before img,
.ba-after img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/* Labels */
.ba-label {
  position: absolute;
  bottom: .6rem;
  font-family: 'Poppins', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25em .65em;
  border-radius: 2px;
  pointer-events: none;
}

.ba-label--before {
  left: .6rem;
  background: rgba(0,0,0,.45);
  color: #fff;
}

.ba-label--after {
  right: .6rem;
  background: var(--fs-gold);
  color: #fff;
}

/* Handle */
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

.ba-handle__line {
  flex: 1;
  width: 2px;
  background: #fff;
}

.ba-handle__circle {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  font-size: .7rem;
  color: var(--fs-gold);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  flex-shrink: 0;
}

/* Range input — invisible but covers the full widget for interaction */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: col-resize;
  margin: 0;
  z-index: 3;
  -webkit-appearance: none;
}

/* ── Carousel nav arrows ── */

.ba-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  color: var(--fs-gold);
  font-size: .85rem;
  z-index: 10;
  transition: background .2s;
}

.ba-nav:hover { background: var(--fs-gold); color: #fff; }
.ba-nav--prev { left: 0; }
.ba-nav--next { right: 0; }

/* ── Dots ── */

.ba-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.25rem;
}

.ba-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}

.ba-dot--active { background: var(--fs-gold); }

/* ── Disclaimer ── */

.ba-disclaimer {
  font-size: .8rem;
  color: #999;
  margin-top: 1.5rem;
  padding: 0 var(--gutter);
}