/* ══════════════════════════════════════════════════════════════════
 *  KCC — DOCTOR PROFILE CSS
 *  File: /doctors/doctor-profile.css
 *
 *  Covers every class emitted by /doctors/templates/profile.php.
 *  Relies on /assets/css/main.css for --kcc-* tokens, .btn, .container.
 *  Nothing here duplicates base tokens — only profile-specific styles.
 * ══════════════════════════════════════════════════════════════════ */

/* ── Local tokens (profile-only) ────────────────────────────────── */
:root {
  --prof-sidebar-w:   320px;
  --prof-gap:         clamp(24px, 4vw, 48px);
  --prof-panel-pad:   clamp(20px, 3vw, 36px);
  --prof-radius:      12px;
  --prof-radius-sm:   8px;
  --prof-shadow:      0 2px 12px rgba(15,31,61,.08);
  --prof-shadow-md:   0 4px 24px rgba(15,31,61,.12);
  --prof-border:      1px solid rgba(15,31,61,.09);
  --tag-bg:           rgba(13,148,136,.08);
  --tag-color:        #0d6b63;
  --tag-bg-hi:        rgba(200,146,42,.12);
  --tag-color-hi:     #9a6c15;
  --aside-bg:         #f8fafc;
  --aside-accent:     #0f1f3d;
  --stat-gradient:    linear-gradient(135deg,#0f1f3d 0%,#1a3563 100%);
  --hero-bg:          #f7f9fc;
  --cta-bg:           linear-gradient(135deg,#0f1f3d 0%,#1a3563 60%,#0d9488 100%);
}

/* ══════════════════════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════════════════════ */
.doc-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: .75rem;
  font-family: 'Sora', sans-serif;
  color: #6b7a99;
  margin-bottom: 20px;
}
.doc-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.doc-breadcrumb a:hover { color: var(--kcc-teal, #0d9488); }
.doc-breadcrumb span[aria-hidden] { opacity: .5; }
.doc-breadcrumb [aria-current] { color: var(--kcc-navy, #0f1f3d); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════ */
.doc-hero {
  background: var(--hero-bg);
  padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 4vw, 48px);
  border-bottom: var(--prof-border);
}

.doc-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--prof-gap);
  align-items: start;
}

/* ── Photo column ─────────────────────────────────────────────── */
.doc-photo-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doc-photo-wrap {
  position: relative;
  border-radius: var(--prof-radius);
  overflow: hidden;
  box-shadow: var(--prof-shadow-md);
  aspect-ratio: 3/4;
  background: #e8ecf2;
}
.doc-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.doc-nmc-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15,31,61,.82);
  backdrop-filter: blur(6px);
  color: #e8f4f3;
  font-size: .65rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── Desktop appointment box (inside photo col) ───────────────── */
.doc-appt-box {
  background: #fff;
  border: var(--prof-border);
  border-radius: var(--prof-radius);
  padding: 20px;
  box-shadow: var(--prof-shadow);
}
.doc-appt-box__heading {
  font-family: 'Sora', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--kcc-navy, #0f1f3d);
  margin: 0 0 14px;
}
.doc-appt-schedule {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc-appt-schedule li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .8rem;
}
.doc-appt-schedule svg { color: var(--kcc-teal, #0d9488); flex-shrink: 0; margin-top: 2px; }
.doc-appt-schedule span { display: flex; flex-direction: column; gap: 1px; }
.doc-appt-schedule__loc {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--kcc-navy, #0f1f3d);
  font-size: .78rem;
}
.doc-appt-schedule__days {
  color: #6b7a99;
  font-size: .72rem;
}
.doc-appt-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Info column ──────────────────────────────────────────────── */
.doc-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 38px; /* aligns with breadcrumb height */
}

.doc-specialty-badge {
  display: inline-flex;
  align-items: center;
  background: var(--tag-bg);
  color: var(--tag-color);
  font-family: 'Sora', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

.doc-name {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--kcc-navy, #0f1f3d);
  line-height: 1.15;
  margin: 0;
}

.doc-credentials {
  font-family: 'Sora', sans-serif;
  font-size: .85rem;
  color: #4a5568;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

.doc-bio {
  font-size: 1rem;
  color: #374151;
  line-height: 1.7;
  margin: 0;
  max-width: 60ch;
}

/* ── Training tags ────────────────────────────────────────────── */
.doc-training {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.doc-training-tag {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: var(--prof-border);
  border-left: 3px solid var(--kcc-teal, #0d9488);
  border-radius: var(--prof-radius-sm);
  padding: 8px 14px;
  min-width: 160px;
}
.doc-training-tag__inst {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: var(--kcc-navy, #0f1f3d);
  letter-spacing: .04em;
}
.doc-training-tag__detail {
  font-size: .7rem;
  color: #6b7a99;
  margin-top: 2px;
}

/* ── Surgeon procedure highlights (hero) ──────────────────────── */
.doc-procedure-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc-procedure-highlights__label {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7a99;
  margin: 0;
}
.doc-procedure-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.procedure-tag {
  background: rgba(15,31,61,.06);
  color: var(--kcc-navy, #0f1f3d);
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(15,31,61,.12);
}

/* ── Hero CTAs ────────────────────────────────────────────────── */
.doc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════════════ */
.doc-stats-bar {
  background: var(--stat-gradient);
  color: #fff;
  padding: 20px 0;
}
.doc-stats-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
}
.doc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.doc-stat__number {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.doc-stat__label {
  font-family: 'Sora', sans-serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* ══════════════════════════════════════════════════════════════════
   PROFILE BODY — two-column layout
══════════════════════════════════════════════════════════════════ */
.doc-profile-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr var(--prof-sidebar-w);
  gap: var(--prof-gap);
  align-items: start;
}

/* ── Tab nav ──────────────────────────────────────────────────── */
.profile-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid rgba(15,31,61,.1);
  margin-bottom: clamp(20px, 3vw, 32px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.profile-tabs::-webkit-scrollbar { display: none; }

.profile-tab-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 12px 20px;
  font-family: 'Sora', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: #6b7a99;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  letter-spacing: .02em;
}
.profile-tab-btn:hover { color: var(--kcc-navy, #0f1f3d); }
.profile-tab-btn.is-active {
  color: var(--kcc-teal, #0d9488);
  border-bottom-color: var(--kcc-teal, #0d9488);
}

/* ── Tab panels ───────────────────────────────────────────────── */
.profile-panel { display: none; }
.profile-panel.is-active { display: block; }
.profile-panel[hidden] { display: none !important; }

/* ── Panel sections ───────────────────────────────────────────── */
.panel-section {
  margin-bottom: clamp(28px, 4vw, 44px);
}
.panel-section:last-child { margin-bottom: 0; }

.panel-section__title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--kcc-navy, #0f1f3d);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(13,148,136,.15);
}

.panel-prose {
  font-size: .95rem;
  color: #374151;
  line-height: 1.8;
}
.panel-prose p { margin: 0 0 1em; }
.panel-prose p:last-child { margin-bottom: 0; }

/* ── Pull-quote ───────────────────────────────────────────────── */
.doc-pullquote {
  margin: 24px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--kcc-gold, #c8922a);
  background: rgba(200,146,42,.05);
  border-radius: 0 var(--prof-radius-sm) var(--prof-radius-sm) 0;
}
.doc-pullquote p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--kcc-navy, #0f1f3d);
  margin: 0 0 6px;
  line-height: 1.6;
}
.doc-pullquote footer {
  font-family: 'Sora', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: #6b7a99;
  font-style: normal;
}

/* ── Expertise tags ───────────────────────────────────────────── */
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.expertise-tag {
  display: inline-flex;
  background: var(--tag-bg);
  color: var(--tag-color);
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background .2s, color .2s;
}
.expertise-tag:hover {
  background: rgba(13,148,136,.15);
}
.expertise-tag--highlighted {
  background: var(--tag-bg-hi);
  color: var(--tag-color-hi);
}
.expertise-tag--highlighted:hover {
  background: rgba(200,146,42,.2);
}

/* ── Cancer types grid ────────────────────────────────────────── */
.cancer-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.cancer-type-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: var(--prof-border);
  border-radius: var(--prof-radius-sm);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cancer-type-item:hover {
  border-color: var(--kcc-teal, #0d9488);
  box-shadow: 0 2px 10px rgba(13,148,136,.1);
  transform: translateY(-1px);
}
.cancer-type-item__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kcc-teal, #0d9488);
  margin-top: 5px;
}
.cancer-type-item__name {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--kcc-navy, #0f1f3d);
  line-height: 1.3;
}
.cancer-type-item__desc {
  display: block;
  font-size: .72rem;
  color: #6b7a99;
  margin-top: 2px;
  line-height: 1.4;
}

/* ── Procedures list ──────────────────────────────────────────── */
.procedures-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.procedure-item {
  padding: 16px 20px;
  background: #fff;
  border: var(--prof-border);
  border-left: 4px solid var(--kcc-navy, #0f1f3d);
  border-radius: 0 var(--prof-radius-sm) var(--prof-radius-sm) 0;
}
.procedure-item__name {
  font-family: 'Sora', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--kcc-navy, #0f1f3d);
  margin-bottom: 6px;
}
.procedure-item__desc {
  font-size: .82rem;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 4px;
}
.procedure-item__outcomes {
  font-size: .78rem;
  color: var(--tag-color);
  font-weight: 600;
  margin: 0;
}

/* ── Qualifications ───────────────────────────────────────────── */
.qualification-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qual-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  background: #fff;
  border: var(--prof-border);
  border-radius: var(--prof-radius-sm);
}
.qual-item__year {
  flex-shrink: 0;
  font-family: 'Sora', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--kcc-teal, #0d9488);
  background: var(--tag-bg);
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 2px;
  white-space: nowrap;
}
.qual-item__degree {
  font-family: 'Sora', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--kcc-navy, #0f1f3d);
  margin-bottom: 3px;
}
.qual-item__institution {
  font-size: .78rem;
  color: #6b7a99;
}

/* ── Simple list (awards, memberships) ───────────────────────── */
.simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.simple-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: #374151;
  line-height: 1.5;
}
.simple-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kcc-teal, #0d9488);
  margin-top: 7px;
}

/* ── Media panel ──────────────────────────────────────────────── */
.media-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--prof-radius);
  overflow: hidden;
  background: #0f1f3d;
  box-shadow: var(--prof-shadow-md);
}
.media-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.media-caption {
  font-size: .78rem;
  color: #6b7a99;
  font-style: italic;
  margin: 8px 0 0;
  font-family: 'Sora', sans-serif;
}
.media-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.media-gallery-item {
  border-radius: var(--prof-radius-sm);
  overflow: hidden;
  box-shadow: var(--prof-shadow);
}
.media-gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.media-gallery-item:hover img { transform: scale(1.03); }

/* ── Publications ─────────────────────────────────────────────── */
.publication-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pub-item {
  padding: 18px 20px;
  background: #fff;
  border: var(--prof-border);
  border-radius: var(--prof-radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pub-item__badge {
  display: inline-flex;
  background: var(--tag-bg-hi);
  color: var(--tag-color-hi);
  font-family: 'Sora', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}
.pub-item__journal {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--kcc-teal, #0d9488);
}
.pub-item__title {
  font-family: 'Lora', Georgia, serif;
  font-size: .92rem;
  font-weight: 600;
  color: var(--kcc-navy, #0f1f3d);
  line-height: 1.4;
}
.pub-item__authors {
  font-size: .78rem;
  color: #6b7a99;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════
   ASIDE — sticky sidebar
══════════════════════════════════════════════════════════════════ */
aside[aria-label="Book appointment and clinic info"] {
  position: sticky;
  top: 90px;           /* clears fixed navbar */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doc-aside-box {
  background: var(--kcc-navy, #0f1f3d);
  color: #fff;
  border-radius: var(--prof-radius);
  padding: 22px;
}
.doc-aside-box__title {
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin: 0 0 16px;
}
.aside-clinic-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.aside-clinic-row:last-of-type { border-bottom: none; margin-bottom: 4px; }
.aside-clinic-row__name {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.aside-clinic-row__detail {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
}
.aside-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

/* Why KCC box */
.why-kcc-box {
  background: var(--aside-bg);
  border: var(--prof-border);
  border-radius: var(--prof-radius);
  padding: 20px;
}
.why-kcc-box__title {
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--kcc-navy, #0f1f3d);
  margin: 0 0 12px;
}
.why-kcc-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.why-kcc-box li {
  font-size: .8rem;
  color: #374151;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.why-kcc-box li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--kcc-teal, #0d9488);
  font-weight: 700;
  font-size: .8rem;
  margin-top: 1px;
}

/* Colleague section */
.colleague-section {
  background: #fff;
  border: var(--prof-border);
  border-radius: var(--prof-radius);
  padding: 18px 20px;
}
.colleague-section__title {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7a99;
  margin: 0 0 14px;
}
.colleague-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.colleague-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: var(--prof-radius-sm);
  padding: 6px 8px;
  transition: background .2s;
}
.colleague-item:hover { background: var(--aside-bg); }
.colleague-item__photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  background: #e8ecf2;
}
.colleague-item__name {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--kcc-navy, #0f1f3d);
  line-height: 1.3;
}
.colleague-item__title {
  display: block;
  font-size: .7rem;
  color: #6b7a99;
  margin-top: 1px;
}

/* ══════════════════════════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════════════════════════ */
.doc-faq-section {
  background: #f7f9fc;
  border-top: var(--prof-border);
  padding: clamp(40px, 6vw, 80px) 0;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px,4vw,40px); }
.container--narrow { max-width: 780px; }

.section-intro { text-align: center; margin-bottom: clamp(24px, 4vw, 44px); }
.section-intro__overline {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kcc-teal, #0d9488);
  margin: 0 0 8px;
}
.section-intro__title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--kcc-navy, #0f1f3d);
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: var(--prof-border);
  border-radius: var(--prof-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--prof-shadow);
}
.faq-item { border-bottom: var(--prof-border); }
.faq-item:last-child { border-bottom: none; }

.faq-item__trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: 'Sora', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--kcc-navy, #0f1f3d);
  text-align: left;
  cursor: pointer;
  transition: background .2s;
  line-height: 1.4;
}
.faq-item__trigger:hover { background: #f7f9fc; }
.faq-item.is-open .faq-item__trigger { background: #f7f9fc; color: var(--kcc-teal, #0d9488); }

.faq-item__icon {
  flex-shrink: 0;
  font-size: .7rem;
  color: #6b7a99;
  transition: transform .25s;
}
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); color: var(--kcc-teal, #0d9488); }

.faq-item__body {
  padding: 0 22px 18px;
}
.faq-item__body[hidden] { display: none; }
.faq-item__body p {
  font-size: .88rem;
  color: #374151;
  line-height: 1.75;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════════════════ */
.doc-cta-section {
  background: var(--cta-bg);
  color: #fff;
  padding: clamp(48px, 7vw, 96px) 0;
  text-align: center;
}
.doc-cta-section__overline {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin: 0 0 12px;
}
.doc-cta-section__title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}
.doc-cta-section__title em {
  font-style: italic;
  color: rgba(255,255,255,.85);
}
.doc-cta-section__sub {
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  max-width: 52ch;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════════
   RELATED DOCTORS
══════════════════════════════════════════════════════════════════ */
.doc-related {
  padding: clamp(40px, 6vw, 80px) 0;
  background: #fff;
  border-top: var(--prof-border);
}
.doc-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: clamp(20px, 3vw, 36px);
}
.doc-related-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--prof-radius);
  overflow: hidden;
  border: var(--prof-border);
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
  background: #fff;
}
.doc-related-card:hover {
  box-shadow: var(--prof-shadow-md);
  transform: translateY(-3px);
}
.doc-related-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  background: #e8ecf2;
  display: block;
}
.doc-related-card__body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.doc-related-card__name {
  font-family: 'Sora', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--kcc-navy, #0f1f3d);
  display: block;
  line-height: 1.3;
}
.doc-related-card__title {
  font-size: .72rem;
  color: #6b7a99;
  display: block;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE CTA BAR
══════════════════════════════════════════════════════════════════ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: var(--prof-border);
  box-shadow: 0 -4px 16px rgba(15,31,61,.1);
  gap: 10px;
}

/* ══════════════════════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════════════════════ */
#backToTop {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 190;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--kcc-navy, #0f1f3d);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15,31,61,.3);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
#backToTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#backToTop:hover { background: var(--kcc-teal, #0d9488); }

/* ══════════════════════════════════════════════════════════════════
   UTILITY — hide-mobile
══════════════════════════════════════════════════════════════════ */
.hide-mobile { display: block; }

/* ══════════════════════════════════════════════════════════════════
   BUTTON ADDITIONS (profile-specific variants)
   Base .btn lives in components.css
══════════════════════════════════════════════════════════════════ */
.btn--outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}
.btn--w-full { width: 100%; justify-content: center; }
.btn--xl { padding: 14px 28px; font-size: .9rem; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════ */

/* Tablet — collapse sidebar, keep hero 2-col */
@media (max-width: 900px) {
  .doc-profile-body {
    grid-template-columns: 1fr;
  }
  aside[aria-label="Book appointment and clinic info"] {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .doc-aside-box { grid-column: 1 / -1; }
}

/* Mobile — full single column */
@media (max-width: 640px) {
  .doc-hero__inner {
    grid-template-columns: 1fr;
  }
  .doc-photo-col { max-width: 280px; margin: 0 auto; width: 100%; }
  .doc-info-col { padding-top: 0; }
  .doc-training-tag { min-width: 140px; }
  .cancer-types-grid { grid-template-columns: 1fr; }
  .doc-related__grid { grid-template-columns: repeat(2, 1fr); }
  .hide-mobile { display: none !important; }
  .mobile-cta-bar {
    display: flex;
    align-items: center;
  }
  .mobile-cta-bar .btn { flex: 1; text-align: center; justify-content: center; }
  #backToTop { bottom: 72px; }
  aside[aria-label="Book appointment and clinic info"] {
    grid-template-columns: 1fr;
  }
  .doc-stats-bar__inner { gap: 20px; }
  .doc-stat__number { font-size: 1.3rem; }
  .profile-tab-btn { padding: 10px 14px; font-size: .78rem; }
  .faq-item__trigger { padding: 14px 16px; font-size: .82rem; }
  .faq-item__body { padding: 0 16px 14px; }
}

@media (max-width: 400px) {
  .doc-related__grid { grid-template-columns: 1fr; }
}

/* ── Print ────────────────────────────────────────────────────── */
@media print {
  .mobile-cta-bar,
  #backToTop,
  .doc-hero-actions,
  .doc-appt-box,
  .doc-aside-box,
  .aside-ctas,
  .doc-cta-section,
  .doc-related { display: none !important; }
  .doc-profile-body { grid-template-columns: 1fr; }
  .profile-panel { display: block !important; }
  .profile-tabs { display: none; }
}