/* ═══════════════════════════════════════════════════════════
   DOCTORS PAGE — styles used only by doctors.php
   Split out from style.css.
   Depends on shared tokens/utilities still in style.css:
   CSS variables (--navy, --crimson, --gold, --ice, etc.),
   .reveal / .reveal-delay-* scroll-in animation, and the
   .gsh-service-hero page-hero component.
   Load AFTER style.css in doctors.php.
   ═══════════════════════════════════════════════════════════ */

/* ─────────────── FILTER BAR ─────────────── */
.filter-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  white-space: nowrap;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--slate);
  transition: all 0.25s;
}

.pill:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.pill.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* ─────────────── MAIN GRID WRAPPER ─────────────── */
.doctors-wrap {
  max-width: 1300px;
  margin: 40px auto 80px;
  padding: 0 40px;
}

/* ─────────────── SECTION LABEL ─────────────── */
.dept-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  margin-top: 10px;
}

.dept-label-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.dept-label-text {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dept-label-text i {
  font-size: 11px;
}

/* ─────────────── DOCTORS GRID ─────────────── */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.doctors-grid-pair {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  margin-bottom: 24px;
}

.doctors-grid-pair > .doc-card {
  flex: 1 1 0;
  width: 50%;
  min-width: 0;
}

/* ─────────────── DOCTOR CARD ─────────────── */
.doc-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  display: flex;
  flex-direction: column;
}

.doc-card:hover {
  box-shadow: 0 20px 56px rgba(15, 32, 64, 0.13);
  transform: translateY(-6px);
  border-color: transparent;
}

/* top colour strip */
.doc-card-strip {
  height: 5px;
  background: linear-gradient(90deg, var(--crimson), var(--crimson-dark));
}

/* ── PHOTO AREA — square with slight radius ── */
.doc-photo-area {
  position: relative;
  background: linear-gradient(160deg, var(--ice2) 0%, #e8eef7 100%);
  padding: 0;
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: stretch;
}

.doc-photo-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.doc-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.doc-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--slate-light);
  background: linear-gradient(160deg, var(--ice2) 0%, #e8eef7 100%);
}

.doc-card:hover .doc-photo-frame img {
  transform: scale(1.04);
}

/* overlay gradient at bottom of photo */
.doc-photo-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(15, 32, 64, 0.18), transparent);
  pointer-events: none;
}

/* dept badge on photo */
.dept-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--navy);
  color: white;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* ── DEGREE BADGE STRIP — sits between photo and body ── */
.doc-degree-strip {
  background: var(--navy);
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.doc-degree-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.6px;
  line-height: 1;
}

/* highlight the primary/top degree */
.doc-degree-pill.primary {
  background: var(--crimson);
  border-color: var(--crimson-dark);
  color: white;
}

.doc-degree-pill.gold {
  background: rgba(201, 147, 42, 0.2);
  border-color: rgba(201, 147, 42, 0.4);
  color: var(--gold-light);
}

/* ── CARD BODY ── */
.doc-body {
  padding: 18px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.doc-spec-tag {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 5px;
}

.doc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
  font-weight: 700;
}

.doc-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

/* highlights */
.doc-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.doc-highlights li {
  font-size: 12px;
  color: var(--slate);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}

.doc-highlights li i {
  color: var(--crimson);
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* specialty tags */
.doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.doc-tag-pill {
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--ice2);
  font-size: 10px;
  font-weight: 600;
  color: var(--navy-light);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.doc-card:hover .doc-tag-pill {
  background: var(--crimson-pale);
  border-color: rgba(200, 16, 46, 0.15);
  color: var(--crimson-dark);
}

/* ── ACTIONS — Book + View Profile ── */
.doc-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-appt {
  flex: 1;
  padding: 10px 14px;
  background: var(--crimson);
  color: white;
  border-radius: 9px;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.25s;
  border: 1px solid var(--crimson);
}

.btn-appt:hover {
  background: transparent;
  color: var(--crimson);
}

/* View Profile / More Info button */
.btn-view-profile {
  padding: 10px 14px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-view-profile:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.btn-view-profile i {
  font-size: 12px;
}

/* ─────────────── FEATURED CARD (Dr Sumit) ─────────────── */
.doc-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 350px 1fr;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.doc-card-featured:hover {
  box-shadow: 0 24px 64px rgba(15, 32, 64, 0.14);
  transform: translateY(-6px);
  border-color: transparent;
}

.feat-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  z-index: 1;
}

/* Photo column — now full square fill */
.feat-photo-col {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.feat-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.doc-card-featured:hover .feat-photo-col img {
  transform: scale(1.04);
}

/* fallback placeholder when a doctor photo fails to load inside the featured card */
.feat-photo-col .doc-photo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* overlay on featured photo */
.feat-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(8, 21, 38, 0.95) 0%, rgba(8, 21, 38, 0.6) 60%, transparent 100%);
  z-index: 2;
}

.feat-spec-label {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  margin-bottom: 5px;
}

.feat-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: white;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 10px;
}

.feat-aiims-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(200, 16, 46, 0.25);
  border: 1px solid rgba(200, 16, 46, 0.4);
  border-radius: 6px;
}

.feat-aiims-badge i {
  font-size: 10px;
  color: #ff8fa3;
}

.feat-aiims-badge span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* ── FEATURED DEGREE ROW — prominent block ── */
.feat-degree-block {
  background: var(--navy);
  padding: 12px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.feat-degree-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
  margin-right: 4px;
  flex-shrink: 0;
}

.feat-deg-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.5px;
  line-height: 1;
}

.feat-deg-pill.primary {
  background: var(--crimson);
  border-color: var(--crimson-dark);
}

.feat-deg-pill.gold {
  background: rgba(201, 147, 42, 0.2);
  border-color: rgba(201, 147, 42, 0.4);
  color: var(--gold-light);
}

/* Info column */
.feat-info-col {
  padding: 40px 30px 36px;
  display: flex;
  flex-direction: column;
}

.feat-info-top {
  margin-bottom: 20px;
}

/* Desktop / Default Padding */
.doctor-card-content {
  padding: 32px 36px 28px;
}

/* Mobile Padding (Screens smaller than 768px) */
@media (max-width: 768px) {
  .doctor-card-content {
    padding: 16px 10px 16px;
    /* Reduced spacing for smaller screens */
  }
}

.feat-eyebrow {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.feat-eyebrow::before {
  content: '';
  width: 14px;
  height: 1.5px;
  background: var(--gold);
}

.feat-full-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 2.5vw, 34px);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 700;
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--ice2);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.feat-item i {
  font-size: 13px;
  color: var(--crimson);
  margin-top: 1px;
  flex-shrink: 0;
}

.feat-item-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--slate-light);
  font-weight: 600;
  margin-bottom: 2px;
}

.feat-item-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.feat-tag {
  padding: 5px 13px;
  border-radius: 100px;
  background: var(--crimson-pale);
  border: 1px solid rgba(200, 16, 46, 0.15);
  font-size: 10px;
  font-weight: 600;
  color: var(--crimson-dark);
}

.feat-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

/* ─────────────── DOCTOR MODAL ─────────────── */
.doc-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 21, 38, 0.7);
  z-index: 9000;
  padding: 12px;
  padding-top: max(12px, env(safe-area-inset-top));
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: blur(4px);
}

.doc-modal-overlay.open {
  display: block;
}

.doc-modal {
  background: white;
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: 0 32px 80px rgba(8, 21, 38, 0.35);
  animation: modalIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(8, 21, 38, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
  touch-action: manipulation;
}

.modal-close:hover {
  background: var(--crimson);
  border-color: var(--crimson);
}

.modal-header {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 200px;
  position: relative;
}

.modal-photo {
  height: 200px;
  overflow: hidden;
  background: var(--navy-deep);
}

.modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.modal-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  color: rgba(255, 255, 255, 0.2);
  font-size: 56px;
}

.modal-header-info {
  padding: 24px 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-spec {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: white;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

/* Degree block inside modal */
.modal-degrees {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.modal-deg-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.5px;
}

.modal-deg-pill.primary {
  background: var(--crimson);
  border-color: var(--crimson-dark);
}

.modal-deg-pill.gold {
  background: rgba(201, 147, 42, 0.2);
  border-color: rgba(201, 147, 42, 0.45);
  color: var(--gold-light);
}

.modal-body {
  padding: 28px 32px 32px;
}

.modal-section-title {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section-title::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--crimson);
}

.modal-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-highlights li {
  font-size: 13px;
  color: var(--slate);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.modal-highlights li i {
  color: var(--crimson);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}

.modal-tag {
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--ice2);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--navy-light);
}

/* PDF link inside modal */
.modal-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ice2);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 24px;
  transition: all 0.2s;
}

.modal-pdf-link:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.modal-pdf-link i {
  color: var(--crimson);
  font-size: 16px;
}

.modal-pdf-link:hover i {
  color: #ff8fa3;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-btn-appt {
  flex: 1;
  padding: 13px 20px;
  background: var(--crimson);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
}

.modal-btn-appt:hover {
  background: var(--crimson-dark);
}

.modal-btn-call {
  padding: 13px 20px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}

.modal-btn-call:hover {
  border-color: var(--navy);
  background: var(--ice2);
}

/* ─────────────── UNKNOWN DOCTORS GRID ─────────────── */
.unknown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.unknown-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 0 0 24px 0;
  text-align: center;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.unknown-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--border), var(--border));
  transition: background 0.3s;
}

.unknown-card:hover {
  box-shadow: 0 14px 40px rgba(15, 32, 64, 0.1);
  transform: translateY(-5px);
}

.unknown-card:hover::before {
  background: linear-gradient(90deg, var(--crimson), var(--crimson-dark));
}

/* Square photo for unknown cards */
.unknown-photo {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, var(--ice2), #dce6f5);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 18px;
  transition: border-color 0.3s;
}

.unknown-card:hover .unknown-photo {
  border-color: transparent;
}

.unknown-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.unknown-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--slate-light);
}

/* Degree pills in unknown cards */
.unknown-degree-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 14px;
  margin-bottom: 8px;
}

.unknown-deg-pill {
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--navy);
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.unknown-coming {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate-light);
  font-weight: 600;
  margin-bottom: 6px;
}

.unknown-pos-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  padding: 0 14px;
}

.unknown-sub {
  font-size: 11px;
  color: var(--slate-light);
  line-height: 1.5;
  padding: 0 14px;
}

.unknown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  margin: 12px auto 0;
  transition: background 0.3s;
}

.unknown-card:hover .unknown-dot {
  background: var(--crimson);
}

/* ─────────────── JOIN BANNER ─────────────── */
.join-banner {
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 20px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}

.join-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.join-left {
  position: relative;
  z-index: 1;
}

.join-eyebrow {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.join-eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--crimson);
}

.join-banner h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 36px);
  color: white;
  line-height: 1.15;
  margin-bottom: 10px;
  font-weight: 600;
}

.join-banner h3 em {
  color: #ff8fa3;
  font-style: italic;
}

.join-banner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  max-width: 480px;
}

.join-right {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: scale(1.03);
}

/* ─────────────── RESPONSIVE ─────────────── */
@media(max-width:1100px) {
  .doc-card-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .modal-header {
    grid-template-columns: 140px 1fr;
  }

  .modal-photo {
    height: 180px;
  }
}

@media(max-width:768px) {
  .doctors-hero {
    padding: 60px 24px 80px;
  }

  .filter-wrap {
    padding: 28px 20px 0;
  }

  .doctors-wrap {
    padding: 0 20px;
    margin-top: 28px;
  }

  .doctors-grid {
    grid-template-columns: 1fr 1fr;
  }

  .unknown-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .join-banner {
    flex-direction: column;
    padding: 32px 28px;
  }

  .modal-header {
    grid-template-columns: 120px 1fr;
  }

  .modal-photo {
    height: 180px;
  }

  .modal-photo img {
    object-fit: cover;
    object-position: center top;
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .modal-header-info {
    text-align: left;
    align-items: flex-start;
    padding: 20px 18px;
  }

  .modal-degrees {
    justify-content: flex-start;
  }

  .feat-info-col {
    padding: 24px;
  }

  .feat-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:520px) {
  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .doctors-grid-pair {
    flex-direction: column;
  }

  .doctors-grid-pair > .doc-card {
    width: 100%;
  }

  .unknown-grid {
    grid-template-columns: 1fr 1fr;
  }

  .modal-header {
    grid-template-columns: 1fr;
  }

  .modal-photo {
    height: auto;
    min-height: 220px;
    max-height: 320px;
  }

  .modal-photo img {
    object-fit: contain;
    object-position: center center;
    height: auto;
    min-height: 220px;
    max-height: 320px;
  }

  .modal-header-info {
    padding: 20px 18px;
    text-align: center;
    align-items: center;
  }

  .modal-name {
    font-size: 22px;
  }

  .modal-degrees {
    justify-content: center;
  }

  .modal-body {
    padding: 22px 18px 24px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-btn-appt,
  .modal-btn-call {
    width: 100%;
  }
}
