/* ---------------------------------------------------------------------------
 * Authored service pages — richer layout vocabulary, built entirely from the site's
 * own design tokens (bronze/rose, chestnut, Hedvig headings) so it reads as native.
 *
 * Mobile-first: everything is a single column by default and opens up at >=768px.
 * All classes are namespaced `dj-` and never touch the migrated pages.
 * Every pill/stat/label carries a fact from the source document — no invented data.
 * ------------------------------------------------------------------------- */

:root {
  --dj-accent: var(--color--bronze);
  --dj-ink: var(--color--chestnut);
  --dj-body: var(--color--body);
  --dj-line: var(--color--chestnut-10);
  --dj-soft: var(--color--gray-2);
  --dj-rose: var(--color--gray-3);
  --dj-serif: var(--_typography---font-family--heading);
}

/* --- rhythm ----------------------------------------------------------------
   .service-single-content is a flex column with a built-in 100px gap, so dj-block only
   needs a small top-up to reach the reference page's ~140px section rhythm — not a full
   80px, which stacked on top of the container gap to make an oversized 180px void. */
.dj-block { margin-top: 1.5rem; }
.dj-block:first-child { margin-top: 0; }

/* Hero headline: match the reference page (4rem desktop / ~1.9rem mobile). The authored
   pages don't carry the per-page <style> embed that shrinks .service-detail-title, so
   without this they fall back to the global 5.5rem (88px) and dominate the hero. */
.dj-hero-h1 { font-size: clamp(1.9rem, 5vw, 4rem); line-height: 1.08; }

.dj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--dj-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dj-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dj-accent);
  flex: none;
}

.dj-h2 {
  margin: 0 0 0.75rem;
  color: var(--dj-ink);
  font-family: var(--dj-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.15;
}
.dj-lead {
  margin: 0;
  max-width: 62ch;
  color: var(--dj-body);
  font-size: 1.05rem;
  line-height: 1.6;
}
.dj-lead + .dj-lead { margin-top: 1rem; }

/* --- pull quote (the clinic's motto, set as a real quote) ------------------
   Explicit resets so it doesn't inherit Webflow's global filled/centered blockquote —
   we want a light editorial rule that contrasts the filled panels around it. */
.dj-quote {
  margin: 2rem 0 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-left: 3px solid var(--dj-accent);
  border-radius: 0;
  background: transparent;
  text-align: left;
  color: var(--dj-ink);
  font-family: var(--dj-serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.25;
}

/* --- signature: the diagnosis → cause → treatment chain ------------------- */
.dj-chain {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.dj-chain-step {
  flex: 1;
  background: #fff;
  border: 1px solid var(--dj-line);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
}
.dj-chain-k {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--dj-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dj-chain-v { color: var(--dj-ink); font-weight: 600; line-height: 1.35; }
.dj-chain-arrow {
  align-self: center;
  color: var(--dj-accent);
  font-size: 1.25rem;
  line-height: 1;
  transform: rotate(90deg);
}
@media (min-width: 900px) {
  .dj-chain { flex-direction: row; align-items: stretch; }
  .dj-chain-arrow { transform: none; align-self: center; }
}

/* --- category cards (title + compact list) -------------------------------- */
.dj-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}
@media (min-width: 600px) { .dj-cards { grid-template-columns: 1fr 1fr; gap: 1.1rem; } }
@media (min-width: 992px) { .dj-cards.dj-cards-3 { grid-template-columns: repeat(3, 1fr); } }

.dj-card {
  background: #fff;
  border: 1px solid var(--dj-line);
  border-radius: 18px;
  padding: 1.5rem;
}
.dj-card-title {
  margin: 0 0 0.85rem;
  color: var(--dj-ink);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}
.dj-card-list { margin: 0; padding: 0; list-style: none; }
.dj-card-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--dj-body);
  font-size: 0.95rem;
  line-height: 1.5;
}
.dj-card-list li:last-child { margin-bottom: 0; }
.dj-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dj-accent);
}
.dj-card p { margin: 0.75rem 0 0; color: var(--dj-body); font-size: 0.95rem; line-height: 1.55; }

/* --- split panels (aesthetic | medical, adults | children) ---------------- */
.dj-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}
@media (min-width: 768px) { .dj-split { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

.dj-panel { border-radius: 22px; padding: 1.75rem; }
.dj-panel--soft { background: var(--dj-soft); border: 1px solid var(--dj-line); }
.dj-panel--rose { background: var(--dj-rose); }
.dj-panel-title {
  margin: 0 0 1rem;
  color: var(--dj-ink);
  font-family: var(--dj-serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
}
.dj-panel-list { margin: 0; padding: 0; list-style: none; }
.dj-panel-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--dj-body);
  line-height: 1.5;
}
.dj-panel-list li:last-child { margin-bottom: 0; }
.dj-panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--dj-accent);
}

/* --- fact pills (each carries a datum from the document) ------------------
   Crisp white chips with a thin rose ring + soft shadow, rather than a pale filled blob. */
.dj-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.dj-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(45, 27, 37, 0.05), inset 0 0 0 1px rgba(212, 117, 158, 0.22);
  color: var(--dj-ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
}
.dj-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dj-accent);
  flex: none;
}
.dj-pill strong { color: var(--dj-accent); font-weight: 600; }

/* --- awards band (international recognition) ------------------------------- */
.dj-awards {
  margin-top: 1.75rem;
  background: var(--dj-ink);
  border-radius: 24px;
  padding: 1.75rem;
  color: #fff;
}
@media (min-width: 768px) { .dj-awards { padding: 2.5rem; } }
.dj-awards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (min-width: 768px) { .dj-awards-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; } }
.dj-award {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding-top: 1rem;
  border-top: 1px solid #ffffff26;
  color: #fff;
  line-height: 1.45;
}
.dj-award-mark { color: var(--color--bronze); font-weight: 600; flex: none; }

/* --- numbered steps: reuse the site's .step-item, just guarantee spacing --- */
.dj-steps { margin-top: 1.75rem; }

/* --- contraindication / safety notes (warm caution, not alarm) ------------ */
.dj-note {
  margin-top: 1.75rem;
  background: var(--color--bronze-6);
  border: 1px solid var(--color--bronze-10);
  border-radius: 20px;
  padding: 1.5rem 1.6rem;
}
.dj-note-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.dj-note-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--dj-body);
  line-height: 1.5;
}
.dj-note-list li:last-child { margin-bottom: 0; }
.dj-note-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--dj-accent);
}

/* --- authored hero: pack the content -------------------------------------
   .service-detail-left is space-between with a 150px row-gap (Webflow spreads the top copy
   and the bottom spec-list across the tall hero). Our authored hero has copy + pills + CTA
   as three children, so that spreads them into big voids. Group them at a sane rhythm. */
.service-detail-left.dj-hero-left {
  justify-content: center;
  row-gap: 1.25rem;
}
.service-detail-left.dj-hero-left .dj-pills { margin-top: 0.25rem; }
.service-detail-left.dj-hero-left .cta-direct { margin-top: 0.25rem; }
