/* theme-services-v2 — production service theme (Forum/Manrope, green accent) */
:root {
  --font-serif: 'Forum', 'Georgia', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-bg-main: #F1F1EC;
  --color-bg-white: #FFFFFF;
  --color-text-dark: #1F1F1F;
  --color-text-muted: #6B6F66;
  --color-brand-gold: #26392A;      /* deep green brand accent */
  --color-brand-gold-lt: #E3EAE0;   /* light sage */
  --color-border-light: #E3E3DD;
  --radius-sm: 10px;
  --radius-md: 22px;
}
h1, .h1, h2, .h2, h3, .h3 { font-weight: 400; letter-spacing: -0.01em; }
body { overflow-x: hidden; }

/* ── Legacy hub template fix: mockups.css makes .hero__media an absolute,
   12%-opacity full-bleed layer (built for an unused .hero--split pattern).
   In the plain two-column .hero > .hero__media template it hides the text
   column beneath it, so restore normal in-flow side-image behaviour here. ── */
.hero > .hero__media { position: relative !important; inset: auto !important; z-index: auto !important; pointer-events: auto !important; }
.hero > .hero__media img { opacity: 1 !important; }

/* ── Decorative gradient blobs (creative layer) ── */
.section-glow { position: relative; }
.section-glow::before {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38,57,42,.10) 0%, rgba(38,57,42,0) 68%);
}
.section-glow--tr::before { top: -220px; right: -160px; }
.section-glow--bl::before { bottom: -220px; left: -200px; }
.section-glow > .container { position: relative; z-index: 1; }

/* ── Header ── */
.site-header--solid { background: var(--color-bg-main); box-shadow: none; border-bottom: 1px solid var(--color-border-light); }
.site-nav a { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.95rem; }
.header-cta-secondary { display: none; }
@media (min-width: 1024px) { .header-cta-secondary { display: inline-flex; } }

/* ── Buttons: pill ── */
.btn { border-radius: 999px; text-transform: none; letter-spacing: 0; font-weight: 600; padding: 14px 30px; }
.btn--lg { padding: 18px 38px; }
.btn--secondary { border-color: var(--color-text-dark); }
@media (hover: hover) and (pointer: fine) {
  .btn--secondary:hover { border-color: var(--color-brand-gold); background: var(--color-brand-gold-lt); }
}

/* Page composition */
.page-section { padding: var(--sp-8) 0; }
.page-section--alt { background: var(--color-bg-white); }
/* Disclaimer-only sections were a full page-section with huge vertical padding,
   leaving an empty beige band above the footer. Compact them. */
.page-section:has(> .container > .disclaimer:only-child),
.page-section:has(> .container > .disclaimer:first-child:last-child) {
  padding: var(--sp-4) 0 var(--sp-6);
}
/* .section-head: page-local `{ display:flex; flex-wrap:wrap; justify-content:
   space-between; align-items:end }` squeezes a title and a CTA button onto
   one row on narrow screens (button overlaps/crowds the heading). Page-local
   <style> is emitted after this stylesheet, so an equal-specificity rule here
   loses the cascade on properties both declare — use !important, scoped to
   the narrow range only, so >=640px keeps the existing row layout untouched. */
@media (max-width: 639.98px) {
  .section-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: var(--sp-2) !important;
  }
}
.section-kicker {
  color: var(--color-brand-gold);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  text-transform: none;
  letter-spacing: 0;
}
.section-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  color: var(--color-text-dark);
  margin-bottom: var(--sp-3);
}
.section-lead {
  color: var(--color-text-muted);
  max-width: 68ch;
  line-height: var(--lh-body);
  margin-bottom: var(--sp-4);
}

.hero-service {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--sp-8);
  align-items: center;
  padding: var(--sp-8) 0 var(--sp-8);
  position: relative;
}
.hero-service__media-wrap { position: relative; }
.hero-service__media-wrap::before {
  content: '';
  position: absolute;
  top: 22px; left: 22px; right: -22px; bottom: -22px;
  background: var(--color-brand-gold);
  border-radius: var(--radius-md);
  z-index: 0;
}
.hero-service__media {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-border-light);
  aspect-ratio: 4/3;
}
.hero-service__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-tech-badge {
  position: absolute;
  left: -28px; bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 232px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 16px 32px rgba(0,0,0,.16);
}
.hero-tech-badge__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-brand-gold-lt);
  color: var(--color-brand-gold);
  display: grid;
  place-items: center;
}
.hero-tech-badge__icon svg { width: 19px; height: 19px; }
.hero-tech-badge strong { display: block; font-size: .85rem; line-height: 1.25; }
.hero-tech-badge span { display: block; font-size: .72rem; color: var(--color-text-muted); margin-top: 2px; }
.hero-service h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 4.6vw, 3.75rem);
  line-height: 1.08;
  margin-bottom: var(--sp-3);
}
.hero-service__offer {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: var(--lh-body);
  margin-bottom: var(--sp-4);
  max-width: 48ch;
}
.price-from {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: var(--sp-1);
}
.price-from span { color: var(--color-brand-gold); }
.price-note {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
  line-height: var(--lh-small);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

.prose { color: var(--color-text-dark); line-height: var(--lh-body); max-width: 72ch; }
.prose p + p { margin-top: var(--sp-3); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.card-soft {
  background: var(--color-bg-white);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--sp-4);
}
.page-section--alt .card-soft { background: var(--color-bg-main); }
.card-soft h3 { font-family: var(--font-serif); font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.card-soft.ok h3 { color: #3C6B3F; }
.card-soft.warn h3 { color: #8A4A3E; }
.card-soft ul { padding-left: 1.1rem; list-style: disc; color: var(--color-text-muted); line-height: 1.7; }
.card-soft li + li { margin-top: .4rem; }

.media-row {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--sp-4);
  align-items: center;
}
.media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-border-light);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--sq { aspect-ratio: 4/3; }
.media-frame--wide { aspect-ratio: 16/9; }

/* Offer meta → checkerboard stat cards */
.offer-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.offer-meta__item {
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
}
.offer-meta__item.is-accent { background: var(--color-brand-gold); }
.offer-meta__label { display: block; font-size: var(--fs-small); color: var(--color-text-muted); font-weight: 500; margin-bottom: 6px; }
.offer-meta__item.is-accent .offer-meta__label { color: rgba(255,255,255,.7); }
.offer-meta__value { font-family: var(--font-serif); font-size: 1.4rem; color: var(--color-text-dark); line-height: 1.2; }
.offer-meta__item.is-accent .offer-meta__value { color: #fff; }
.offer-meta__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-brand-gold-lt);
  color: var(--color-brand-gold);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.offer-meta__item.is-accent .offer-meta__icon { background: rgba(255,255,255,.16); color: #fff; }
.offer-meta__icon svg { width: 15px; height: 15px; }

/* ── Icon list (indications / contraindications) ── */
.icon-list { display: flex; flex-direction: column; gap: .65rem; color: var(--color-text-muted); }
.icon-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.icon-list__mark {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.icon-list__mark svg { width: 11px; height: 11px; }
.card-soft.ok .icon-list__mark { background: #E1EDDD; color: #3C6B3F; }
.card-soft.warn .icon-list__mark { background: #F3E1DC; color: #8A4A3E; }

/* Chips: pill */
.chip { border-radius: 999px; }
@media (hover: hover) and (pointer: fine) {
  .chip:hover { background: var(--color-brand-gold-lt); border-color: var(--color-brand-gold); color: var(--color-brand-gold); }
}

/* ── Steps: creative connected rail ──
   Higher specificity beats page-local `.steps { display:grid }` / `.step { grid… }` */
.steps.steps--rail {
  display: flex !important;
  align-items: stretch;
  gap: var(--sp-2);
  grid-template-columns: none !important;
}
.steps.steps--rail .step {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .65rem;
  border: none !important;
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-3);
  background: var(--color-bg-white);
  grid-template-columns: none !important;
}
.page-section--alt .steps.steps--rail .step { background: var(--color-bg-main); }
.steps.steps--rail .step__n {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--color-brand-gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.steps.steps--rail .step > div:not(.step__n) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  width: 100%;
}
.steps.steps--rail .step h3 { font-size: 1.05rem; margin: 0; }
.steps.steps--rail .step p { font-size: .875rem; color: var(--color-text-muted); line-height: 1.5; margin: 0; }
.step-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  color: var(--color-border-light);
  padding-top: 27px;
}
.step-arrow svg { width: 20px; height: 20px; }

/* ── Review cards: decorative quote mark ── */
.review-card { position: relative; }
.review-card__quote {
  position: absolute;
  top: 10px; right: var(--sp-3);
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-brand-gold-lt);
  user-select: none;
}

/* ── License teaser banner (solid, no photo overlay) ── */
.license-teaser {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: flex;
  background: var(--color-text-dark);
}
.license-teaser__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-8);
  color: #fff;
}
.license-teaser__content { max-width: 56ch; }
.license-teaser__eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; opacity: .75; margin-bottom: 6px; }
.license-teaser__title { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 400; margin-bottom: 12px; }
.license-teaser__text { font-size: .95rem; opacity: .88; line-height: 1.5; margin: 0; }
.license-teaser .btn {
  flex-shrink: 0;
  background: #fff;
  color: var(--color-text-dark);
  white-space: nowrap;
}
@media (max-width: 980px) {
  .license-teaser__overlay {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    align-items: start;
    padding: var(--sp-6);
  }
  .license-teaser__title { font-size: 1.65rem; margin-bottom: 10px; }
  .license-teaser__text { max-width: none; }
  .license-teaser .btn {
    width: max-content;
    min-width: 220px;
  }
}
@media (max-width: 560px) {
  .license-teaser .btn {
    width: 100%;
    min-width: 0;
  }
}
@media (hover: hover) and (pointer: fine) {
  .license-teaser .btn:hover { background: var(--color-brand-gold-lt); }
}

.doctors { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: var(--sp-4); }
.doctor-card { border: none; border-radius: var(--radius-md); }

/* Hub pages use .docs for specialist teaser cards (not .doctors).
   Local templates stretch them with repeat(3, 1fr) → giant photos.
   Cap card width and center the row, same budget as .doctors. */
.docs {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 280px)) !important;
  justify-content: start;
  gap: var(--sp-3);
}
.docs a {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
@media (hover: hover) and (pointer: fine) {
  .docs a:hover { border-color: var(--color-brand-gold); }
}
.docs img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; display: block; }
.docs__body { padding: var(--sp-3); }
.docs__body strong { display: block; font-family: var(--font-serif); margin-bottom: .25rem; font-weight: 400; }
.docs__body span { color: var(--color-text-muted); font-size: var(--fs-small); }
.doctor-card__photo-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--color-bg-main); }
.doctor-card__photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doctor-card__badge {
  position: absolute; left: 12px; bottom: 12px;
  background: #fff; color: var(--color-text-dark);
  font-size: 0.8rem; font-weight: 700;
  padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
}

.ba-caption { font-size: var(--fs-small); color: var(--color-text-muted); line-height: 1.5; margin-top: var(--sp-2); }

.price-table-wrap {
  background: var(--color-bg-white);
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.price-table-wrap .price-table { margin: 0; }
.price-table-wrap .price-table th {
  background: var(--color-brand-gold);
  color: #fff;
}

.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.review-card { border: none; border-radius: var(--radius-md); }
/* Mobile-first: form/widget under content; desktop restores 2 columns */
.faq-grid,
.lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: start;
}
@media (min-width: 1024px) {
  .faq-grid,
  .lead-grid {
    grid-template-columns: 1.15fr .85fr;
    gap: var(--sp-6);
  }
}
/* FAQ accordion — hairline rows + plus (design ref 2026-08) */
.page-section:has(.faq-grid) .section-kicker,
.page-section:has(.faq) .section-kicker,
.page-section:has(.faq-item) .section-kicker {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}
.page-section:has(.faq-grid) .section-title,
.page-section:has(.faq) .section-title,
.page-section:has(.faq-item) .section-title {
  font-family: Forum, Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: var(--sp-5);
}

.faq-item,
.faq details {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border-light);
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.faq-grid > div > .faq-item:first-child,
.faq > details:first-child,
div > .faq-item:first-child {
  border-top: 1px solid var(--color-border-light);
}

.faq-item summary,
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text-dark);
}
.faq-item summary::-webkit-details-marker,
.faq summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after,
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
  color: var(--color-text-dark);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
}
.faq-item[open] summary::after,
.faq details[open] summary::after {
  content: "−";
  font-weight: 400;
}
.faq-item[open] summary,
.faq details[open] summary {
  margin-bottom: 0;
  color: var(--color-text-dark);
}
.faq-item p,
.faq details > p,
.faq p {
  margin: 0;
  padding: 0 2rem var(--sp-4) 0;
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  max-width: 62ch;
}

/* Legacy hub accordion (class="faq") — same hairline look */
.faq { display: grid; gap: 0; max-width: none; }

.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.adv-card {
  background: var(--color-bg-main);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--sp-4);
}
.adv-card { position: relative; padding-top: var(--sp-7, 56px); }
.adv-card h3 { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: .6rem; font-weight: 400; }
.adv-card p { color: var(--color-text-muted); line-height: 1.55; font-size: .95rem; }
.adv-card__n {
  position: absolute;
  top: var(--sp-3); left: var(--sp-4);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-brand-gold-lt);
  -webkit-text-stroke: 1.5px var(--color-brand-gold);
}

.site-footer {
  background: var(--color-brand-gold);
  color: rgba(255,255,255,.82);
  padding: var(--sp-8) 0 var(--sp-6);
  margin-top: var(--sp-8);
}
.site-footer a { color: #fff; opacity: .88; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover { opacity: 1; text-decoration: underline; }
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(170px, 1fr) minmax(170px, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
  align-items: start;
}
@media (min-width: 1280px) {
  .site-footer .footer-grid {
    grid-template-columns: 1.3fr 1.1fr 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-5);
  }
}
@media (max-width: 560px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-grid h3 {
  color: #fff;
  font-size: var(--fs-ui);
  letter-spacing: var(--ls-ui);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
  font-family: var(--font-sans);
  font-weight: 700;
}
.footer-grid ul { display: grid; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.footer-brand { max-width: 34ch; }
.footer-brand p { color: rgba(255,255,255,.78); line-height: 1.55; }
.footer-address {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-5);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}
@media (max-width: 1023px) {
  .footer-address {
    margin-bottom: var(--sp-6);
  }
  .site-footer .footer-brand {
    margin-bottom: var(--sp-2);
  }
  /* Stacked contacts on home: clear space between CTAs and map */
  .contacts-grid {
    gap: 14px !important;
  }
  .contacts-grid .hero-actions {
    margin-bottom: 4px;
  }
  .contacts-grid .map-embed {
    margin-top: 12px !important;
  }
}
.footer-address strong {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.footer-address a {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  opacity: 1;
  text-decoration: none;
}
.footer-address span { color: rgba(255,255,255,.8); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { line-height: 1.35; }
.footer-col--services a,
.footer-col--legal a {
  position: relative;
  display: inline-block;
  padding-left: 0;
}
.footer-col--contact li + li { margin-top: 6px; }
.footer-copy {
  font-size: var(--fs-small);
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: var(--sp-3);
  color: rgba(255,255,255,.74);
}
.disclaimer {
  position: relative;
  font-size: .96rem;
  color: #253426;
  line-height: 1.62;
  margin-top: var(--sp-4);
  padding: 14px 16px 14px 50px;
  border: 1px solid #c5d4c6;
  border-left: 5px solid var(--color-brand-gold);
  border-radius: 12px;
  background: linear-gradient(180deg, #f6faf6 0%, #edf4ee 100%);
}
.disclaimer::before {
  content: '!';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand-gold);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  display: grid;
  place-items: center;
}
.legal-note {
  margin-top: var(--sp-3);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.header-actions { display: flex; gap: var(--sp-2); align-items: center; }
.modal { position: relative; }
.modal h2, .side-panel h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-2);
  font-weight: 400;
}
.side-panel .lead-form { border: 0; padding: 0; }
.lead-form { border: none; }
.author-strip, .trust-strip span { border: none; background: var(--color-bg-white); }
/* ── Timeline ── */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  border-left: 1px solid var(--color-border-light);
  margin-left: 8px;
  padding-left: 32px;
  margin-top: var(--sp-4);
}
@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    border-left: none;
    border-top: 1px solid var(--color-border-light);
    margin-left: 0;
    padding-left: 0;
    padding-top: 40px;
    margin-top: 40px;
  }
}
.timeline__item {
  background: transparent !important;
  border: none !important;
  padding: 0 0 var(--sp-6) 0;
  min-height: auto;
  position: relative;
}
@media (min-width: 900px) {
  .timeline__item { padding: 0 var(--sp-4) 0 0; }
}
.timeline__item::before {
  content: '';
  position: absolute;
  top: 6px; left: -37px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-brand-gold);
  box-shadow: 0 0 0 8px var(--color-bg-main);
}
@media (min-width: 900px) {
  .timeline__item::before {
    top: -45px; left: 0;
  }
}
.page-section--alt .timeline__item::before { box-shadow: 0 0 0 8px var(--color-bg-white); }

.timeline__item strong {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-brand-gold);
  margin-bottom: .75rem;
  display: block;
  line-height: 1.1;
}
.timeline__item p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-float);
}

/* ── Mobile layout helpers (body.mobile-layout twin files) ── */
body.mobile-layout { padding-bottom: 84px; }
body.mobile-layout .sticky-cta { display: flex; }
body.mobile-layout .hero-service {
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  padding: var(--sp-5) 0 var(--sp-6);
}
body.mobile-layout .hero-service__media-wrap { order: 0; }
body.mobile-layout .hero-tech-badge {
  left: 12px;
  bottom: 16px;
  max-width: min(220px, calc(100% - 24px));
}
body.mobile-layout .offer-meta { grid-template-columns: 1fr 1fr; }
body.mobile-layout .hero-actions { flex-direction: column; }
body.mobile-layout .hero-actions .btn { width: 100%; justify-content: center; }
body.mobile-layout .two-col,
body.mobile-layout .media-row,
body.mobile-layout .adv-grid,
body.mobile-layout .reviews,
body.mobile-layout .faq-grid,
body.mobile-layout .lead-grid { grid-template-columns: 1fr; }
body.mobile-layout .doctors,
body.mobile-layout .docs {
  grid-template-columns: 1fr !important;
  justify-content: stretch;
}
body.mobile-layout .steps.steps--rail { flex-direction: column !important; }
body.mobile-layout .step-arrow { display: none; }
body.mobile-layout .section-glow::before { width: 320px; height: 320px; }
body.mobile-layout .section-glow--tr::before { top: -120px; right: -100px; }
body.mobile-layout .section-glow--bl::before { bottom: -120px; left: -100px; }
body.mobile-layout .site-footer .footer-grid { grid-template-columns: 1fr; }
body.mobile-layout .license-teaser { min-height: 0; }
body.mobile-layout .license-teaser__overlay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: none;
}
body.mobile-layout .license-teaser .btn { width: 100%; justify-content: center; margin-bottom: 0; }
body.mobile-layout .disclaimer {
  font-size: .93rem;
  padding: 12px 14px 12px 44px;
}
body.mobile-layout .disclaimer::before {
  left: 14px;
  width: 20px;
  height: 20px;
  font-size: .75rem;
}

/* Soften page-local footer/button conflicts from older mockups */
/* Keep white label on deep-green primary — page rules like `.contacts-card a`
   are more specific than `.btn--primary` alone and otherwise hide the text. */
a.btn--primary,
button.btn--primary,
.btn--primary {
  background: var(--color-brand-gold);
  border-color: var(--color-brand-gold);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  a.btn--primary:hover,
  button.btn--primary:hover,
  .btn--primary:hover {
    background: var(--color-brand-gold);
    border-color: var(--color-brand-gold);
    filter: brightness(1.08);
    color: #fff;
  }
}

/* Fix page-local ".doctors { grid-template-columns: repeat(2, minmax(0,300px)) }":
   with a common 3-card list the 3rd card drops to its own half-empty row at
   ANY viewport width, since the grid never grows past 2 fixed 300px columns.
   Auto-fit lets the row use all available cards (2 or 3) and stretch to fill
   the container width. !important needed: page-local <style> is declared
   after this stylesheet in <head> and otherwise wins the cascade. */
.doctors {
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px)) !important;
  justify-content: center;
}

/* ── Narrow-desktop safety net ──────────────────────────────
   Desktop mockup files are page-local and not responsive below
   ~1024px (that's what the twin mobile/*.html files are for).
   The shared header/footer from components.css already switch to
   the mobile nav below 1024px, so without this, a resized browser
   window shows a "hybrid" state: mobile header + squeezed desktop
   grids (FAQ+lead form, hero, quick-facts, etc.). This block makes
   the desktop files degrade gracefully instead of visually breaking
   when the window is narrower than 1024px. Uses !important because
   page-local <style> blocks are declared after this stylesheet and
   would otherwise win the cascade at equal specificity. */
@media (max-width: 1023px) {
  /* Desktop mockups are served for all viewports in release — collapse
     page-local multi-column grids the twin mobile/*.html files used to own. */
  .faq-grid,
  .lead-grid,
  .hero,
  .hero-service,
  .home-hero__grid,
  .two-col,
  .media-row,
  .adv-grid,
  .reviews,
  .zone-grid,
  .timeline,
  .grid-2,
  .grid-3,
  .grid-4,
  .story-grid,
  .principles,
  .gallery,
  .equip,
  .team,
  .docs-grid,
  .founders,
  .calc-grid,
  .contacts-grid,
  .select-grid,
  .services-grid,
  .tech-grid,
  .why-grid,
  .ba-grid,
  .blog-grid,
  .review-platforms,
  .hub-grid,
  .offer-meta,
  .footer-grid,
  .doc-hero,
  .svc-grid,
  .certs,
  .about-split,
  .lead-wrap,
  .layout {
    grid-template-columns: 1fr !important;
  }
  /* .doctors / .docs: auto-fit — keep as-is (avoid giant single cards). */
  .quick-facts { grid-template-columns: repeat(2, 1fr) !important; }
  .lead-box,
  .lead-form,
  .faq-grid > .lead-box,
  .lead-grid > .lead-box,
  .lead-wrap .lead-box {
    max-width: 545px;
    width: 100%;
  }
  .yclients-embed { max-width: 545px; margin-inline: 0; }
  .steps.steps--rail { flex-direction: column !important; }
  .step-arrow { display: none !important; }
  .hero-actions,
  .home-hero__actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .home-hero__actions .btn { width: 100%; justify-content: center; }
  .hero-service__media-wrap { order: 0; }
  .doc-hero { gap: var(--sp-5) !important; align-items: stretch !important; }
  .doc-hero__photo {
    max-width: 320px;
    width: 100%;
    margin-inline: auto;
  }
  .about-split { gap: var(--sp-4) !important; align-items: stretch !important; }
  .about-split__media { max-width: 100%; }
  .lead-wrap { gap: var(--sp-5) !important; }
  .lead-wrap .lead-box { max-width: 545px; }
  .layout { gap: var(--sp-5) !important; }
  .gallery img,
  .gallery .temp-slot { height: 220px !important; }
  .sticky-cta { display: flex !important; }
  body { padding-bottom: 84px; }
  .founder { grid-template-columns: 1fr !important; }
  .founder img { width: 100% !important; height: auto !important; max-height: 280px; }
}
/* Service before/after showcase */
.service-ba__heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.service-ba__heading .section-title { margin-bottom: 0; }
.service-ba__heading p:last-child { max-width: 44ch; margin: 0; color: var(--color-text-muted); line-height: 1.55; }
.service-ba__card { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(270px, .72fr); overflow: hidden; background: var(--color-bg-white); border: 1px solid var(--color-border-light); border-radius: 24px; box-shadow: 0 18px 50px rgba(31,46,38,.09); }
.service-ba__photo { position: relative; margin: 0; min-width: 0; background: #e9e4dd; }
.service-ba__photo img { display: block; width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.service-ba__labels { position: absolute; inset: 18px 18px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; pointer-events: none; }
.service-ba__labels span { width: fit-content; padding: 8px 16px; border-radius: 100px; background: rgba(255,255,255,.93); color: #243d30; font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; box-shadow: 0 5px 16px rgba(0,0,0,.09); }
.service-ba__labels span:last-child { justify-self: end; }
.service-ba__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: clamp(26px, 3.6vw, 52px); }
.service-ba__eyebrow { color: var(--color-brand-gold); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.service-ba__body h3 { margin: 0; color: var(--color-text-dark); font: 500 clamp(1.65rem, 2.4vw, 2.35rem)/1.15 var(--font-serif); }
.service-ba__body p { margin: 0; color: var(--color-text-muted); line-height: 1.6; }
.service-ba__body .btn { margin-top: 8px; }
@media (max-width: 850px) {
 .service-ba__heading { display: block; }
 .service-ba__heading p:last-child { margin-top: 10px; }
 .service-ba__card { grid-template-columns: 1fr; }
 .service-ba__photo img { min-height: 0; height: auto; aspect-ratio: 3/2; }
 .service-ba__body { padding: 28px; gap: 12px; }
}
@media (max-width: 480px) {
 .service-ba__heading { margin-bottom: 18px; }
 .service-ba__card { border-radius: 18px; }
 .service-ba__labels { inset: 10px 10px auto; gap: 6px; }
 .service-ba__labels span { padding: 6px 10px; font-size: .67rem; }
 .service-ba__body { padding: 22px; }
}
