/* ==========================================================================
   SPECIALIST HOUSE: SPECIALISTS SECTION
   Loaded on /specialists/ pages only, after styles.css.

   These are factual reference profiles, not marketing pages. The visual
   register is deliberately plainer than the rest of the site: no hover lifts
   on the content, no accent gradients, generous measure. It should read like
   a directory entry, because that is what search engines and patients are
   being asked to trust it as.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.sp-hero {
  padding: 150px 0 60px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.sp-hero--hub { padding-bottom: 70px; }

.sp-crumbs {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.sp-crumbs a { color: var(--text-secondary); }
.sp-crumbs a:hover { color: var(--primary-accent); text-decoration: underline; }
.sp-crumbs span { margin: 0 0.4rem; }
.sp-crumbs span[aria-current] { margin: 0; color: var(--text-primary); }

.sp-hero h1 {
  margin-top: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.sp-hero__title {
  margin-top: 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-accent);
}
.sp-hero__hospital {
  margin-top: 0.5rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
}
.sp-hero__lede {
  margin-top: 1.5rem;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Profile body
   -------------------------------------------------------------------------- */
.sp-body { padding: 70px 0 80px; }

.sp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 4rem;
  align-items: start;
}

.sp-portrait {
  margin: 0 0 2.5rem;
  max-width: 420px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: 0 4px 8px rgba(12, 29, 48, 0.05), 0 18px 40px rgba(12, 29, 48, 0.10);
}
.sp-portrait img { width: 100%; height: auto; display: block; }

.sp-main h2 {
  margin: 2.75rem 0 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.sp-main h2:first-of-type { margin-top: 0; }

.sp-main p {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.sp-main p + p { margin-top: 1.1rem; }

.sp-scope {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2rem;
  max-width: 68ch;
  list-style: none;
  padding: 0;
}
.sp-scope li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.sp-scope li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-accent);
}

/* --------------------------------------------------------------------------
   At-a-glance card
   -------------------------------------------------------------------------- */
.sp-aside { position: sticky; top: 7rem; }

.sp-card {
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(12, 29, 48, 0.04), 0 8px 24px rgba(12, 29, 48, 0.06);
}
.sp-card__title {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.sp-fact + .sp-fact { margin-top: 1.35rem; }
.sp-fact__label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.sp-fact__value {
  display: block;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--text-primary);
}
.sp-fact__value a { color: var(--primary-accent); text-decoration: underline; text-underline-offset: 2px; }

.sp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.sp-link {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-accent);
  border: 1px solid rgba(8, 124, 170, 0.28);
  border-radius: 50px;
  transition: background-color 0.15s ease;
}
.sp-link:hover { background-color: rgba(8, 124, 170, 0.07); }

/* --------------------------------------------------------------------------
   Hub list
   -------------------------------------------------------------------------- */
.sp-list-section { padding: 70px 0 80px; }

.sp-list { display: grid; gap: 1.25rem; }

.sp-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.sp-item:hover {
  border-color: rgba(8, 124, 170, 0.28);
  box-shadow: 0 4px 8px rgba(12, 29, 48, 0.05), 0 16px 36px rgba(12, 29, 48, 0.09);
  transform: translateY(-3px);
}

.sp-item__img {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-surface);
}
.sp-item__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.sp-item__specialty {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-accent);
  margin-bottom: 0.6rem;
}
.sp-item__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.sp-item__title { margin-top: 0.35rem; font-size: 0.97rem; color: var(--text-secondary); }
.sp-item__hospital { margin-top: 0.2rem; font-size: 0.88rem; color: var(--text-muted); }
.sp-item__cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-accent);
}

/* --------------------------------------------------------------------------
   Disclosure, required on every profile
   -------------------------------------------------------------------------- */
.sp-disclosure {
  padding: 2.5rem 0 3.5rem;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.sp-disclosure p {
  max-width: 70ch;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.sp-disclosure__note { margin-top: 0.6rem; color: var(--text-muted); font-size: 0.82rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .sp-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sp-aside { position: static; max-width: 460px; }
}

@media (max-width: 640px) {
  .sp-hero { padding: 120px 0 45px; }
  .sp-body { padding: 50px 0 60px; }
  .sp-scope { grid-template-columns: 1fr; }
  .sp-item { grid-template-columns: 1fr; gap: 1.25rem; }
  .sp-item__img { max-width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-item { transition: none; }
  .sp-item:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Answer-first blocks. Each H2 is a question and the paragraph directly
   beneath it is a self-contained answer, so an AI Overview or voice result
   can lift it without needing the surrounding page. Also the speakable
   target in the ProfilePage schema.
   -------------------------------------------------------------------------- */
.sp-answer {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-primary);
}
.sp-answer a { color: var(--primary-accent); text-decoration: underline; text-underline-offset: 2px; }

.sp-related {
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
  max-width: 68ch;
}
.sp-related li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.sp-related a { color: var(--primary-accent); font-weight: 600; }
.sp-related a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Booking
   -------------------------------------------------------------------------- */
.sp-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0.95rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background-color: #25D366;
  border-radius: 10px;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.sp-book:hover { filter: brightness(0.94); transform: translateY(-2px); }
.sp-book:active { transform: translateY(0); }

.sp-book__note {
  margin-top: 0.85rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Hub FAQ
   -------------------------------------------------------------------------- */
.sp-faq {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  max-width: 72ch;
}
.sp-faq h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}
.sp-faq h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .sp-book { transition: none; }
  .sp-book:hover { transform: none; }
}

/* Keeps clients.html in the link graph from the hub, not just the footer. */
.sp-storylink {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.sp-storylink a { color: var(--primary-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   NAV OVERRIDE, these pages have a LIGHT hero

   styles.css styles the un-scrolled nav for the dark photo hero used on the
   rest of the site: white links, a white-inverted logo and white hamburger
   bars. Over the ivory hero here all three are invisible until you scroll.
   Same selectors as styles.css so specificity matches; this file loads after
   it, so these win. The scrolled state is already dark-on-light and is left
   alone. The mobile overlay stays white via !important in styles.css.
   ========================================================================== */
.nav:not(.scrolled) .nav__link {
  color: var(--text-secondary);
}
.nav:not(.scrolled) .nav__link:hover,
.nav:not(.scrolled) .nav__link.active {
  color: var(--primary-accent);
}
.nav:not(.scrolled) .nav__logo-img {
  filter: none;
}
.nav:not(.scrolled) .nav__toggle span {
  background-color: var(--text-primary);
}
.nav:not(.scrolled) .nav__toggle {
  border-color: rgba(8, 124, 170, 0.3);
  background: rgba(8, 124, 170, 0.06);
}
