
/* ---------- Doctors Intro: eyebrow + heading + copy ---------- */
.doctors-intro {
  padding: 40px 0 60px;
  max-width: 1100px;
}

.doctors-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.doctors-eyebrow img {
  width: 32px;
  height: 32px;
}

.doctors-eyebrow span {
  font-weight: 500;
  font-size: 18px;
  color: var(--color-navy);
}

.doctors-intro h2 {
  font-weight: 200;
  font-size: 52px;
  line-height: 1.2;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.doctors-intro p {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* ---------- Doctors Featured Carousel ----------
   Ported from the TCB-style Carousel.jsx pattern: the full doctor list is
   tripled into one continuous real-DOM strip (no mounting/unmounting, no
   content-swap mid-flight) and the track is physically translated by a
   fixed slot width per step. Cards never fade to invisible mid-slide —
   only their distance-from-center drives opacity/scale, and un/highlight
   colors cross-fade via a plain class toggle. See js/doctors-carousel.js. */
.doctors-carousel {
  padding: 60px 0 120px;
}

.doctors-carousel-viewport {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 175px 0 110px;
  opacity: 0;
  transform: translateY(80px);
  filter: blur(14px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctors-carousel-viewport.is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .doctors-carousel-viewport {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.doctors-carousel-track {
  display: flex;
}

.doctors-carousel-slot {
  flex: 0 0 33.3333%;
  display: flex;
  justify-content: center;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctors-card {
  width: calc(100% - 32px);
  border-radius: 26px;
  padding: 90px 28px 40px;
  min-height: 480px;
  text-align: center;
  position: relative;
  background: #fff;
  color: var(--color-navy);
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.1);
  transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}

.doctors-card.is-active {
  background: linear-gradient(260deg, var(--color-navy) 3.5%, #255a96 100%);
  color: #fff;
  box-shadow: 0px 12px 28px 0px rgba(0, 0, 0, 0.16);
}

.doctors-card:hover {
  box-shadow: 0px 14px 32px 0px rgba(0, 0, 0, 0.18);
}

.doctors-card-photo {
  position: relative;
  width: 190px;
  height: 190px;
  margin: -152px auto 24px;
  border-radius: 50%;
  background: #d9d9d9;
}

.doctors-card-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s ease;
}

.doctors-card:hover .doctors-card-photo-img {
  transform: scale(1.06);
}

.doctors-card-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--color-navy) 0%, #255a96 100%);
  color: #fff;
  font-size: 48px;
  font-weight: 500;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.3);
}

.doctors-card-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.doctors-card h3 {
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 8px;
}

.doctors-card-role {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.75;
}

.doctors-card-bio {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
}

.doctors-card.is-active .doctors-card-role {
  opacity: 0.85;
}

.doctors-card.is-active .doctors-card-bio {
  font-size: 15px;
  opacity: 0.9;
}

.doctors-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.doctors-carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.doctors-carousel-arrow img {
  width: 20px;
  height: 20px;
  transition: filter 0.2s ease;
}

.doctors-carousel-arrow:hover {
  opacity: 1;
  background: var(--color-navy);
  border-color: var(--color-navy);
  transform: scale(1.06);
}

.doctors-carousel-arrow:hover img {
  filter: brightness(0) invert(1);
}

@media (max-width: 900px) {
  .doctors-intro h2 {
    font-size: 36px;
  }

  .doctors-card {
    padding-top: 70px;
    min-height: 420px;
  }

  .doctors-card-photo {
    width: 130px;
    height: 130px;
    margin-top: -100px;
  }
}
.doctors-card-photo { overflow: hidden; }
.doctors-card-photo-img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-position: center 30%; }
