/* ============================================================
   TREATMENT DETAIL PAGE - shared by all /treatments/<x>/ pages
   .det- prefix. Reuses faq.css, final.css, footer.css, header.css
   ============================================================ */

/* --- Masthead --- */
.det-hero {
  background: var(--color-ivory);
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-2xl);
}
.det-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.det-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 1.5rem + 5.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: var(--ls-tight);
  color: var(--color-charcoal);
  margin-top: var(--space-sm);
}
.det-hero__title em { font-style: italic; color: var(--color-champagne-deep); }
.det-hero__lead {
  font-family: var(--font-sans);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--color-charcoal-soft);
  max-width: 46ch;
  margin-top: var(--space-md);
}
.det-hero__points {
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.det-hero__points li {
  position: relative;
  padding-left: 1.8rem;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-charcoal-mute);
}
.det-hero__points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.05em;
  width: 6px;
  height: 11px;
  border: solid var(--color-champagne);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.det-hero__actions {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}
.det-hero__phone {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-charcoal-soft);
  text-decoration: none;
}
.det-hero__phone:hover { color: var(--color-champagne-deep); }
.det-hero__portrait { position: relative; margin: 0; }
.det-hero__portrait img {
  display: block;
  width: 100%;
  height: clamp(400px, 64vh, 640px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}
.det-hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 1px solid var(--color-champagne);
  border-radius: var(--radius-lg);
}

/* --- Intro / what it is --- */
.det-intro {
  background: var(--color-cream);
  padding: var(--space-2xl) 0;
}
.det-intro__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: var(--ls-tight);
  color: var(--color-charcoal);
  margin-top: var(--space-sm);
}
.det-intro p {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-charcoal-soft);
  margin-top: var(--space-md);
  max-width: 62ch;
}
.det-intro__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.5rem);
  line-height: 1.22;
  color: var(--color-charcoal);
  margin: var(--space-lg) 0 0;
  padding-left: var(--space-md);
  border-left: 2px solid var(--color-champagne);
  max-width: 30ch;
}

/* --- Full-bleed image moment --- */
.det-band { position: relative; }
.det-band__img {
  display: block;
  width: 100%;
  height: clamp(320px, 50vh, 540px);
  object-fit: cover;
  object-position: center 30%;
}
.det-band__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-xl);
  background: linear-gradient(to top, rgba(20, 14, 10, 0.66) 0%, rgba(20, 14, 10, 0.08) 46%, rgba(20, 14, 10, 0) 70%);
}
.det-band__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
  line-height: 1.18;
  color: var(--color-ivory);
  max-width: 24ch;
  text-shadow: 0 1px 24px rgba(20, 14, 10, 0.5);
}

/* --- Good to know (specs) --- */
.det-specs {
  background: var(--color-ivory);
  padding: var(--space-2xl) 0;
}
.det-specs__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: var(--ls-tight);
  color: var(--color-charcoal);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.det-specs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.det-spec {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-line);
}
.det-spec__label {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-charcoal-mute);
}
.det-spec__value {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.1;
  color: var(--color-charcoal);
}

/* --- Value note beneath the specs grid --- */
.det-specs__note {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-charcoal-soft);
  margin-top: var(--space-lg);
  max-width: 62ch;
}

@media (min-width: 760px) {
  .det-specs__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-2xl);
  }
}
@media (min-width: 880px) {
  .det-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1.02fr;
    gap: var(--space-2xl);
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .det-hero__portrait::after { display: none; }
}

/* --- More results (extra imagery) --- */
.det-more { background: var(--color-white); padding: var(--space-2xl) 0; }
.det-more__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: var(--ls-tight);
  color: var(--color-charcoal);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.det-more__grid { column-count: 2; column-gap: var(--space-md); }
.det-more__item {
  break-inside: avoid;
  margin: 0 0 var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-ivory);
}
.det-more__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}
.det-more__item:hover img { transform: scale(1.04); }
.det-more__single {
  max-width: 640px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-ivory);
}
.det-more__single img { width: 100%; height: auto; display: block; }
.det-more__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: var(--space-lg);
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-champagne-deep);
  text-decoration: none;
}
.det-more__link svg {
  width: 1rem; height: 1rem; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--dur-fast) var(--ease-out);
}
.det-more__link:hover svg { transform: translateX(4px); }

@media (min-width: 760px) {
  .det-more__grid { column-count: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .det-more__item:hover img { transform: none; }
}

/* --- Feature split: text beside a supporting image (e.g. the specialist note) --- */
.det-feature {
  background: var(--color-cream);
  padding: var(--space-2xl) 0;
}
.det-feature__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.det-feature__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: var(--ls-tight);
  color: var(--color-charcoal);
  margin-top: var(--space-sm);
}
.det-feature__text p {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-charcoal-soft);
  margin-top: var(--space-md);
  max-width: 54ch;
}
.det-feature__media { position: relative; margin: 0; }
.det-feature__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}
.det-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(12px, 12px);
  border: 1px solid var(--color-champagne);
  border-radius: var(--radius-lg);
}

@media (min-width: 880px) {
  .det-feature__inner {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: var(--space-2xl);
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .det-feature__media::after { display: none; }
}