/* Custom styles — layout utilities come from css/tailwind-public.css; tokens are the public source of truth */
@import url('./public/tokens.css');
@import url('./public/primitives.css');
@import url('./public/chrome.css');
@import url('./public/homepage.css');

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-surface-page);
  color: var(--color-text);
  overflow-x: hidden;
}

body.custom-cursor-active {
  cursor: none;
}

body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active [role="button"],
body.custom-cursor-active input,
body.custom-cursor-active textarea,
body.custom-cursor-active select,
body.custom-cursor-active .dept-modal-scroll,
body.custom-cursor-active .staff-category-tab,
body.custom-cursor-active .doctor-card,
body.custom-cursor-active .dept-gallery img {
  cursor: none;
}

/* Custom scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--emerald) var(--teal-deep);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, var(--teal-deep) 0%, var(--blue-deep) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--emerald) 0%, var(--gold) 100%);
  border-radius: 100px;
  border: 3px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.25);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #34d399 0%, var(--gold-light, #e8c547) 100%);
  background-clip: padding-box;
}

::-webkit-scrollbar-corner {
  background: var(--teal-deep);
}

/* Hospital cursor */
.hospital-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10050;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition: opacity 0.25s ease;
}

body.custom-cursor-active .hospital-cursor {
  opacity: 1;
}

body.custom-cursor-suspended.custom-cursor-active {
  cursor: auto;
}

body.custom-cursor-suspended.custom-cursor-active .hospital-cursor {
  opacity: 0;
  visibility: hidden;
}

body.custom-cursor-suspended.custom-cursor-active a,
body.custom-cursor-suspended.custom-cursor-active button,
body.custom-cursor-suspended.custom-cursor-active [role="button"],
body.custom-cursor-suspended.custom-cursor-active input,
body.custom-cursor-suspended.custom-cursor-active textarea,
body.custom-cursor-suspended.custom-cursor-active select,
body.custom-cursor-suspended.custom-cursor-active video {
  cursor: auto;
}

body.custom-cursor-suspended.custom-cursor-active .media-modal video {
  cursor: pointer;
}

.cursor-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 2px solid rgba(24, 119, 210, 0.55);
  border-radius: 50%;
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.cursor-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  color: var(--emerald);
  transition: transform 0.2s ease, color 0.2s ease;
}

.cursor-cross svg {
  width: 100%;
  height: 100%;
}

.hospital-cursor.is-hover .cursor-ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-color: var(--gold);
  background: rgba(24, 119, 210, 0.12);
}

.hospital-cursor.is-hover .cursor-cross {
  transform: scale(1.15);
  color: var(--gold);
}

.hospital-cursor.is-click .cursor-ring {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-color: #fff;
  background: rgba(24, 119, 210, 0.35);
}

/* Institutional badge */
.facility-badge {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(13, 60, 110, 0.55);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.facility-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.85rem;
  background: rgba(24, 119, 210, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--emerald);
}

.facility-badge-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.facility-badge-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.55rem 1rem 0.6rem;
  gap: 0.15rem;
}

.facility-badge-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.3;
}

.facility-badge-meta {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.3;
}

@media (min-width: 640px) {
  .facility-badge-title { font-size: 0.78rem; }
  .facility-badge-meta { font-size: 0.72rem; }
}

.font-display {
  font-family: var(--font-display);
}

.text-gradient {
  background: linear-gradient(90deg, var(--emerald), var(--teal-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(13, 60, 110, 0.08);
}

.section-padding {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 1.5rem;
  }
}

/* Loading screen */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--teal-deep);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-glow {
  animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(24, 119, 210, 0.3)); }
  50% { filter: drop-shadow(0 0 40px rgba(24, 119, 210, 0.7)); }
}

.ecg-line {
  stroke-dasharray: 1000;
  animation: ecgDraw 2.5s linear infinite;
}

@keyframes ecgDraw {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

.progress-bar-fill {
  transition: width 0.3s ease;
}

/* Navbar */
#navbar {
  transition: padding 0.5s;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.75rem;
  background: rgba(10, 51, 104, 0.45);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}

#navbar.scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(13, 60, 110, 0.08);
  box-shadow: 0 4px 24px rgba(13, 60, 110, 0.1);
}

.nav-brand {
  grid-column: 1;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  min-width: 9.75rem;
  text-decoration: none;
}

.nav-brand-logo {
  flex-shrink: 0;
}

.nav-brand-text {
  display: block;
  min-width: 7.75rem;
  overflow: visible;
}

.nav-brand-title,
.nav-brand-sub {
  white-space: nowrap;
}

.nav-links {
  grid-column: 2;
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.15rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  flex-shrink: 0;
}

.nav-actions {
  grid-column: 3;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav-emergency-label {
  display: none;
}

.nav-emergency-short {
  display: inline;
}

.nav-cta {
  display: none;
}

/* Always show language control in the top bar (phone + tablet + desktop) */
.lang-switcher {
  display: inline-flex;
}

.menu-btn {
  display: inline-flex;
}

@media (min-width: 640px) {
  .nav-emergency-label {
    display: inline;
  }
  .nav-emergency-short {
    display: none;
  }
}

/* Desktop nav: reserved brand column, links never sit on top of the name */
@media (min-width: 1100px) {
  .nav-shell {
    column-gap: 1rem;
  }

  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .menu-btn {
    display: none;
  }

  .nav-pill {
    padding: 0.4rem 0.55rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 1280px) {
  .nav-pill {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .nav-shell {
    column-gap: 1.25rem;
  }
}

.nav-pill {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

#navbar.scrolled .nav-pill {
  color: var(--teal-mid);
}

#navbar.scrolled .nav-pill:hover {
  background: var(--sage);
  color: var(--teal-deep);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-deep);
  background: #fff;
  border-radius: 999px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

#navbar.scrolled .nav-cta {
  background: var(--emerald);
  color: #fff;
}

.nav-emergency-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger-soft);
  animation: pulseDot 2s ease-in-out infinite;
}

#navbar.scrolled .nav-emergency {
  color: var(--danger);
}

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav-emergency {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(220, 38, 38, 0.28);
  color: #dc2626;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
}

.mobile-nav-emergency-label {
  flex-shrink: 0;
}

.mobile-nav-emergency-phone {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 340px) {
  .mobile-nav-emergency {
    font-size: 0.75rem;
    padding: 0.65rem 0.6rem;
    gap: 0.3rem;
  }
}

.mobile-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1100px) {
  .mobile-menu,
  .mobile-overlay {
    display: none !important;
  }
}

#navbar.scrolled .nav-brand-sub,
#navbar.scrolled .nav-brand-title {
  color: var(--teal-deep) !important;
}

#navbar.scrolled .nav-brand-sub {
  opacity: 0.65;
}

#navbar.scrolled .menu-btn {
  color: var(--teal-deep);
}

/* Section system */
.section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.section-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(24, 119, 210, 0.25);
  padding-top: 0.15rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1.15;
}

/* Hero section ? left scrim for type, photo stays visible on the right */
.hero-section {
  background: var(--teal-deep);
}

.hero-overlay-main {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  /* Light scrim for type — keep the photo itself readable */
  background:
    linear-gradient(
      100deg,
      rgba(5, 24, 52, 0.56) 0%,
      rgba(5, 24, 52, 0.34) 28%,
      rgba(5, 24, 52, 0.12) 52%,
      transparent 78%
    ),
    linear-gradient(
      to top,
      rgba(5, 24, 52, 0.38) 0%,
      rgba(5, 24, 52, 0.14) 26%,
      transparent 50%
    );
}

.hero-overlay-vignette {
  display: none;
}

.hero-grid-lines {
  display: none;
}

/* Text column only — no glass card / boxed overlay */
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 4px 24px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 6px 28px rgba(0, 0, 0, 0.4);
}

.hero-title-accent {
  color: var(--gold-light);
  background: none;
  -webkit-text-fill-color: var(--gold-light);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 4px 22px rgba(0, 0, 0, 0.35);
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.94);
  max-width: 34rem;
  line-height: 1.7;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 3px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
  .hero-overlay-main {
    background:
      linear-gradient(
        to top,
        rgba(5, 24, 52, 0.58) 0%,
        rgba(5, 24, 52, 0.32) 36%,
        rgba(5, 24, 52, 0.14) 62%,
        rgba(5, 24, 52, 0.06) 100%
      );
  }

  .hero-copy {
    max-width: none;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-emergency {
    width: 100%;
    justify-content: center;
  }

  .hero-check-link {
    align-self: center;
    margin-top: 0.15rem;
  }
}

.hero-check-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero-check-link:hover {
  color: #fff;
}

.hero-stats-bar--off {
  display: none !important;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.btn-primary {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 8px 24px rgba(24, 119, 210, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(24, 119, 210, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-section .btn-secondary,
.hero-check-booking {
  background: #fff;
  color: var(--teal-deep);
  border: 1px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  font-weight: 700;
}

.hero-section .btn-secondary:hover,
.hero-check-booking:hover {
  background: var(--cream);
  color: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

/* Hero emergency CTA ? solid red family for WCAG AA contrast on photo backgrounds */
.btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--danger-darker) 0%, var(--danger-deep) 55%, var(--danger-mid) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(127, 29, 29, 0.4);
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}

.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(127, 29, 29, 0.5);
  filter: brightness(1.05);
}

.btn-emergency:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.btn-emergency svg {
  color: #fff;
  flex-shrink: 0;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: rgba(6, 32, 68, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.hero-feature-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(245, 184, 74, 0.28);
  flex-shrink: 0;
}

.hero-info-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(10, 51, 104, 0.12);
}

.hero-info-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(10, 51, 104, 0.08);
}

.hero-info-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

.hero-info-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero-info-list {
  padding: 0.5rem 0;
}

.hero-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(10, 51, 104, 0.06);
}

.hero-info-list li:last-child {
  border-bottom: none;
}

.hero-info-key {
  font-size: 0.8125rem;
  color: var(--muted);
}

.hero-info-val {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.hero-info-link {
  color: var(--blue);
  text-decoration: none;
}

.hero-info-link:hover {
  color: var(--blue-mid);
}

.hero-info-ecg {
  padding: 0.75rem 1.25rem 1rem;
  color: rgba(24, 119, 210, 0.4);
}

.hero-info-ecg svg {
  width: 100%;
  height: 36px;
}

.hero-info-ecg path {
  stroke-dasharray: 400;
  animation: ecgDraw 3s linear infinite;
}

.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 12;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(13, 60, 110, 0.08);
  backdrop-filter: blur(12px);
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .hero-stats-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(13, 60, 110, 0.08);
  transition: background 0.3s;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--sage);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 7.5rem;
  right: 1.5rem;
  z-index: 14;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .scroll-indicator {
    display: flex;
  }
}

.scroll-indicator-text {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  writing-mode: vertical-rl;
}

.scroll-indicator-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-indicator-line .scroll-dot {
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
}

/* About */
.about-section {
  background: #fff;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-visual {
  position: relative;
  min-height: 420px;
}

.about-image-main {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 51, 104, 0.12);
}

.about-image-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -0.5rem;
  width: 45%;
  border: 4px solid #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 51, 104, 0.15);
}

.about-image-accent img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.about-years-badge {
  position: absolute;
  top: 1.5rem;
  left: -1rem;
  background: var(--teal-deep);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(10, 51, 104, 0.25);
}

.about-years-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.about-years-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  margin-top: 0.25rem;
  display: block;
  color: rgba(255, 255, 255, 0.7);
}

.about-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 2rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-value-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 4px;
  border-left: 3px solid var(--emerald);
  transition: transform 0.3s;
}

.about-value-card:hover {
  transform: translateX(4px);
}

.about-value-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(24, 119, 210, 0.35);
  line-height: 1;
}

.about-value-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0.35rem;
}

.about-value-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-deep);
  border-bottom: 2px solid var(--emerald);
  padding-bottom: 0.15rem;
  transition: gap 0.25s, color 0.25s;
}

.about-link:hover {
  color: var(--emerald);
  gap: 0.75rem;
}

/* Services bento */
.services-section {
  background: var(--cream);
}

.services-intro {
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: -1rem 0 1.5rem;
}

.services-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.services-search-wrap {
  flex: 1 1 18rem;
  max-width: 28rem;
}

.dept-search-count {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

.services-empty {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(10, 51, 104, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
}

.services-empty p {
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 0.35rem;
}

.services-empty span {
  font-size: 0.875rem;
  color: var(--muted);
}

.services-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
  }
}

.service-bento-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 220px;
}

.service-bento-card.featured {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .service-bento-card.featured {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 240px;
  }
}

.service-bento-bg {
  position: absolute;
  inset: 0;
}

.service-bento-bg img,
.service-bento-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Prefer top of frame so faces / heads are not cropped out */
  object-position: center top;
  transition: transform 0.7s ease;
}

.service-bento-bg .staff-photo-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.service-bento-card:hover .service-bento-bg img,
.service-bento-card:hover .service-bento-bg-img {
  transform: scale(1.02);
}

.service-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 51, 104, 0.92) 0%, rgba(10, 51, 104, 0.2) 60%, transparent 100%);
}

.service-bento-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.service-bento-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--emerald);
  margin-bottom: 0.35rem;
}

.service-bento-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-bento-card.featured .service-bento-title {
  font-size: 1.45rem;
}

.service-bento-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-visit-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  position: relative;
  z-index: 2;
  width: fit-content;
}

.service-visit-more:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  transform: translateX(3px);
}

.service-visit-more svg {
  width: 0.9rem;
  height: 0.9rem;
}

/* Department detail modal */
.dept-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.dept-modal.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.dept-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 51, 104, 0.65);
  backdrop-filter: blur(4px);
}

.dept-modal-panel {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  background: var(--cream);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -8px 40px rgba(10, 51, 104, 0.25);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

@media (min-width: 640px) {
  .dept-modal {
    align-items: center;
    padding: 1.5rem;
  }

  .dept-modal-panel {
    border-radius: 12px;
    max-height: 88vh;
    transform: translateY(24px) scale(0.97);
  }

  .dept-modal.open .dept-modal-panel {
    transform: translateY(0) scale(1);
  }
}

.dept-modal.open .dept-modal-panel {
  transform: translateY(0);
}

.dept-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 10;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  background: rgba(10, 51, 104, 0.55);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.dept-modal-close:hover {
  background: var(--emerald);
  transform: scale(1.08);
}

.dept-modal-scroll {
  max-height: 92vh;
  overflow-y: auto;
}

@media (min-width: 640px) {
  .dept-modal-scroll {
    max-height: 88vh;
  }
}

.dept-modal-hero {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #eef2f6;
}

.dept-modal-hero img,
.dept-modal-hero-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
}

.dept-modal-hero .staff-photo-placeholder {
  width: 100%;
  height: 260px;
  border: none;
  border-radius: 0;
}

.dept-gallery-placeholder {
  min-height: 160px;
  border-radius: 12px;
}

.dept-modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 51, 104, 0.92) 0%, rgba(10, 51, 104, 0.35) 55%, transparent 100%);
}

.dept-modal-hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 1.5rem 1.5rem;
  color: #fff;
}

.dept-modal-hero-text h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.dept-modal-hero-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  line-height: 1.55;
}

.dept-modal-body {
  padding: 1.75rem 1.5rem 2rem;
}

.dept-modal-section {
  margin-bottom: 2rem;
}

.dept-modal-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.85rem;
}

.dept-modal-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(10, 51, 104, 0.82);
}

.dept-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

@media (max-width: 639px) {
  .dept-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

.dept-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px;
}

/* Horizontal department gallery carousel */
.dept-gallery-carousel {
  display: grid;
  gap: 0.75rem;
}
.dept-gallery-viewport {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
}
.dept-gallery-carousel .dept-gallery-track,
.dept-gallery-carousel .sp-gallery-track,
.dept-gallery-carousel .dept-gallery {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 0.15rem 0.15rem 0.45rem;
  grid-template-columns: none;
}
.dept-gallery-carousel .dept-gallery-track::-webkit-scrollbar,
.dept-gallery-carousel .sp-gallery-track::-webkit-scrollbar {
  height: 6px;
}
.dept-gallery-carousel .dept-gallery-track::-webkit-scrollbar-thumb,
.dept-gallery-carousel .sp-gallery-track::-webkit-scrollbar-thumb {
  background: rgba(10, 51, 104, 0.25);
  border-radius: 999px;
}
.dept-gallery-carousel .dept-gallery-slide,
.dept-gallery-carousel .sp-gallery-item {
  flex: 0 0 min(78%, 18rem);
  scroll-snap-align: start;
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8eef5;
}
@media (min-width: 768px) {
  .dept-gallery-carousel .dept-gallery-slide,
  .dept-gallery-carousel .sp-gallery-item {
    flex-basis: min(42%, 16rem);
  }
}
.dept-gallery-carousel .dept-gallery-slide img,
.dept-gallery-carousel .sp-gallery-item img,
.dept-gallery-carousel .dept-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.dept-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.dept-gallery-nav {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 51, 104, 0.14);
  border-radius: 999px;
  background: var(--cream, #f4f1ea);
  color: var(--blue-deep, #0a3366);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.dept-gallery-nav:hover {
  background: #fff;
  border-color: rgba(10, 51, 104, 0.28);
  transform: translateY(-1px);
}
.dept-gallery-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1rem;
}
.dept-gallery-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 51, 104, 0.22);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}
.dept-gallery-dot.is-active {
  width: 1.1rem;
  background: var(--blue-deep, #0a3366);
}
.dept-gallery-pause {
  border: 1px solid rgba(10, 51, 104, 0.14);
  border-radius: 999px;
  background: transparent;
  color: var(--blue-deep, #0a3366);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}
.dept-gallery-pause[aria-pressed="true"] {
  background: rgba(10, 51, 104, 0.08);
}
.dept-gallery-carousel.is-single .dept-gallery-controls {
  display: none;
}
.dept-gallery-carousel.is-paused .dept-gallery-pause {
  background: rgba(10, 51, 104, 0.08);
}
@media (prefers-reduced-motion: reduce) {
  .dept-gallery-carousel .dept-gallery-track,
  .dept-gallery-carousel .sp-gallery-track {
    scroll-behavior: auto;
  }
}

.dept-highlights {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dept-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(10, 51, 104, 0.85);
}

.highlight-dot {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--emerald);
}

.doctors-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Staff categories ? doctors & nurses */
.dept-staff-section {
  background: linear-gradient(180deg, rgba(232, 239, 233, 0.5) 0%, transparent 100%);
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 1.5rem;
  border-radius: 8px;
}

.staff-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.staff-section-sub {
  font-size: 0.875rem;
  color: rgba(10, 51, 104, 0.62);
  margin-top: 0.25rem;
  max-width: 28rem;
  line-height: 1.55;
}

.dept-staff-search-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.dept-staff-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateY(-50%);
  color: rgba(10, 51, 104, 0.45);
  pointer-events: none;
}

.dept-staff-search {
  width: 100%;
  padding: 0.75rem 0.9rem 0.75rem 2.5rem;
  border: 1px solid rgba(10, 51, 104, 0.12);
  border-radius: 10px;
  background: #fff;
  font-size: 0.9375rem;
  color: var(--ink);
}

.dept-staff-search:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 51, 104, 0.08);
}

.dept-staff-search-empty {
  padding: 1rem 0 0.25rem;
  font-size: 0.875rem;
  color: rgba(10, 51, 104, 0.55);
}

.staff-summary {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.staff-summary-item {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.staff-summary-doctors {
  background: rgba(13, 60, 110, 0.1);
  color: var(--teal-deep);
}

.staff-summary-nurses {
  background: rgba(24, 119, 210, 0.15);
  color: #047857;
}

.staff-category-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.08);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}

.staff-category-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(10, 51, 104, 0.55);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.staff-category-tab svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.staff-category-tab.active {
  background: var(--teal-deep);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 61, 61, 0.25);
}

.staff-category-tab:not(.active):hover {
  background: rgba(10, 51, 104, 0.06);
  color: var(--teal-deep);
}

.staff-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.staff-category-tab:not(.active) .staff-tab-count {
  background: rgba(10, 51, 104, 0.08);
  color: var(--teal-deep);
}

.staff-category-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.staff-category-panel.active {
  display: grid;
}

.staff-empty {
  font-size: 0.875rem;
  color: rgba(10, 51, 104, 0.55);
  padding: 1rem 0;
}

.doctor-photo-wrap,
.doctor-card-media {
  position: relative;
  overflow: hidden;
  background: #e8eef5;
}

.doctor-card,
.doctor-card--v2 {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 51, 104, 0.06);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.doctor-card:hover,
.doctor-card--v2:hover {
  box-shadow: 0 16px 36px rgba(10, 51, 104, 0.12);
  border-color: rgba(24, 119, 210, 0.28);
  transform: translateY(-3px);
}

.doctor-card-media {
  aspect-ratio: auto;
  width: 112px;
  min-height: 140px;
  height: 100%;
  max-height: none;
  align-self: stretch;
}

.doctor-card-media .doctor-photo {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.doctor-card-media .staff-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 140px;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.doctor-card-media .doctor-chip {
  position: absolute;
  left: 0.45rem;
  top: 0.45rem;
  margin: 0;
  z-index: 2;
  font-size: 0.65rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.doctor-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.9rem 1rem 1rem;
  flex: 1;
  min-width: 0;
}

.doctor-card-body .doctor-bio {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(18, 36, 58, 0.72);
  margin: 0.15rem 0 0;
}

.doctor-card-body .doctor-view-more {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  padding-top: 0.55rem;
}

.doctor-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  background: #e8eef5;
}

@media (min-width: 720px) {
  .staff-category-panel.active {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.staff-photo-placeholder {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, #e8f1fb 0%, #d5e5f6 55%, #c5daf0 100%);
  color: var(--blue-deep, #0a3366);
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
}

.staff-photo-mark {
  display: none;
  line-height: 0;
}

.staff-photo-icon {
  width: 1.65rem;
  height: 1.65rem;
  opacity: 0.38;
  color: currentColor;
}

.staff-photo-initials {
  display: block;
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(0.95rem, 2.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: currentColor;
  /* Optical center for capital letters in a circle */
  transform: translateY(0.04em);
  user-select: none;
}

/* Small circular list avatars: initials only, perfectly centered */
.staff-dir-photo .staff-photo-placeholder,
.doctor-peer-photo .staff-photo-placeholder,
.testimonial-author .staff-photo-placeholder {
  flex-direction: row;
  gap: 0;
}

.staff-dir-photo .staff-photo-mark,
.doctor-peer-photo .staff-photo-mark,
.testimonial-author .staff-photo-mark {
  display: none;
}

.staff-dir-photo .staff-photo-initials {
  font-size: 1.15rem;
}

@media (min-width: 900px) {
  .staff-dir-photo .staff-photo-initials {
    font-size: 1.3rem;
  }
}

/* Large profile / modal photos: soft person mark + monogram */
.sp-hero-photo-fallback,
.doctor-profile-photo .staff-photo-placeholder,
.dp-hero-photo .staff-photo-placeholder,
.doctor-card-media .staff-photo-placeholder {
  flex-direction: column;
  gap: 0.55rem;
}

.sp-hero-photo-fallback .staff-photo-mark,
.doctor-profile-photo .staff-photo-mark,
.dp-hero-photo .staff-photo-mark,
.doctor-card-media .staff-photo-mark,
.sp-hero-photo-fallback.staff-photo-placeholder .staff-photo-mark {
  display: block;
}

.sp-hero-photo-fallback .staff-photo-icon,
.doctor-profile-photo .staff-photo-icon,
.dp-hero-photo .staff-photo-icon,
.doctor-card-media .staff-photo-icon {
  width: 2.75rem;
  height: 2.75rem;
}

.sp-hero-photo-fallback .staff-photo-initials,
.doctor-profile-photo .staff-photo-initials,
.dp-hero-photo .staff-photo-initials {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  transform: none;
}

.staff-category-badge {
  position: static;
  transform: none;
  display: inline-flex;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.staff-badge-doctor {
  background: var(--teal-deep);
  color: #fff;
}

.staff-badge-nurse {
  background: var(--emerald);
  color: #fff;
}

.doctor-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.doctor-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0;
  line-height: 1.25;
}

.doctor-role {
  font-size: 0.8125rem;
  color: var(--emerald);
  font-weight: 600;
  margin: 0;
}

.doctor-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.doctor-rating-val {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--forest);
}

.doctor-review-count {
  font-size: 0.75rem;
  color: rgba(10, 51, 104, 0.55);
}

.doctor-bio {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(10, 51, 104, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doctor-not-rated {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.star {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
}
.star::before {
  content: "\2606"; /* empty star — encoding-safe */
}
.star-filled::before {
  content: "\2605"; /* filled star */
  color: inherit;
}
.star-empty::before {
  content: "\2606";
  color: inherit;
}

.star-filled {
  color: #e8a317;
}

.star-empty {
  color: rgba(10, 51, 104, 0.2);
}

.star-interactive {
  cursor: pointer;
  transition: transform 0.15s, color 0.15s;
}

.star-interactive:hover {
  transform: scale(1.15);
}

.doctor-reviews {
  border-top: 1px solid rgba(10, 51, 104, 0.08);
  padding-top: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.doctor-reviews h5,
.doctor-comment-form h5 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.doctor-review {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(10, 51, 104, 0.06);
}

.doctor-review:last-child {
  border-bottom: none;
}

.doctor-review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.doctor-review-head strong {
  font-size: 0.875rem;
  color: var(--forest);
}

.doctor-review-stars .star {
  font-size: 0.8rem;
}

.doctor-review p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(10, 51, 104, 0.78);
  margin-bottom: 0.25rem;
}

.doctor-review time {
  font-size: 0.7rem;
  color: rgba(10, 51, 104, 0.45);
}

.doctor-comment-form {
  border-top: 1px solid rgba(10, 51, 104, 0.08);
  padding-top: 1rem;
}

.doctor-comment-form .form-group {
  margin-bottom: 0.85rem;
}

.rating-input {
  display: flex;
  gap: 0.15rem;
}

.rating-input .star-interactive {
  font-size: 1.35rem;
}

.dept-modal-actions {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.dept-schedule-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

/* Why strip */
.why-section {
  background: var(--sage);
}

.why-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .why-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-tile {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(13, 60, 110, 0.08);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 51, 104, 0.08);
}

.why-tile-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-soft);
  border-radius: 8px;
  color: var(--emerald);
  margin-bottom: 1rem;
}

.why-tile h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0.5rem;
}

.why-tile p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.why-tile-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Reviews ? auto-rotating showcase (no scroll required) */
.reviews-rotator {
  max-width: 52rem;
  margin: 1.25rem auto 0;
}

.reviews-rotator-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
}

.reviews-rotator-viewport {
  position: relative;
  min-width: 0;
}

.reviews-rotator-slideshow.comments-slideshow {
  min-height: 12rem;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.reviews-rotator-slideshow .comment-slide {
  padding: 0.15rem;
  transform: translateX(12%) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease;
}

.reviews-rotator-slideshow .comment-slide.active {
  transform: translateX(0) scale(1);
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.reviews-rotator-slideshow .comment-slide.exit-left {
  transform: translateX(-10%) scale(0.98);
  opacity: 0;
  visibility: visible;
  z-index: 1;
  transition:
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s ease;
}

.reviews-rotator-card {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  min-height: 0;
  background: var(--cream);
  box-shadow: 0 14px 40px rgba(10, 51, 104, 0.08);
}

.reviews-rotator-card:hover {
  transform: none;
  box-shadow: 0 14px 40px rgba(10, 51, 104, 0.08);
}

.reviews-rotator-progress {
  height: 3px;
  margin: 0.85rem auto 0;
  max-width: 12rem;
  border-radius: 999px;
  background: rgba(13, 60, 110, 0.1);
  overflow: hidden;
  pointer-events: none;
}

.reviews-rotator-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
}

.reviews-rotator-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.reviews-rotator-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(13, 60, 110, 0.14);
  background: #fff;
  color: var(--teal-deep);
  box-shadow: 0 6px 18px rgba(10, 51, 104, 0.08);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.reviews-rotator-nav:hover {
  background: var(--sage);
  border-color: rgba(13, 60, 110, 0.28);
  transform: translateY(-1px);
}

.reviews-rotator-nav:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
}

.reviews-rotator-dots .comment-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(13, 60, 110, 0.2);
  border: none;
  padding: 0;
  transition: width 0.25s, background 0.25s;
}

.reviews-rotator-dots .comment-dot.active {
  width: 1.35rem;
  background: var(--emerald);
}

@media (max-width: 639px) {
  .reviews-rotator-stage {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .reviews-rotator-nav {
    display: none;
  }

  .reviews-rotator-slideshow.comments-slideshow {
    min-height: 16rem;
  }

  .reviews-rotator-card {
    min-height: 14rem;
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-rotator-slideshow .comment-slide,
  .reviews-rotator-slideshow .comment-slide.exit-left,
  .reviews-rotator-slideshow .comment-slide.active {
    transition: none;
  }

  .reviews-rotator-progress span {
    display: none;
  }
}

/* Testimonials & comments swipe carousel (doctor reviews still use this) */
.testimonials-section {
  background: #fff;
}

.comments-carousel {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
}

.testimonials-dual.comments-carousel {
  max-width: 56rem;
}

.comments-dual-viewport {
  overflow: hidden;
  width: 100%;
  background: var(--cream);
  border-radius: 10px;
  border: 1px solid rgba(10, 51, 104, 0.08);
  padding: 0.25rem 0;
}

.comments-dual-track {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  will-change: transform;
}

.comments-dual-item {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .comments-dual-item {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: calc(50% - 0.5rem);
  }
}

.comments-dual-item .testimonial-card {
  height: 100%;
  margin: 0;
}

@media (max-width: 639px) {
  .comments-dual-item .testimonial-quote {
    font-size: 0.8125rem;
  }

  .comments-dual-item .testimonial-card {
    padding: 1.25rem;
  }
}

.comments-slideshow {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  width: 100%;
  background: var(--cream);
  border-radius: 10px;
  border: 1px solid rgba(10, 51, 104, 0.08);
}

.doctor-reviews-carousel .comments-slideshow {
  min-height: 150px;
  background: #fff;
  border: none;
  border-radius: 6px;
}

.comment-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  z-index: 0;
  opacity: 1;
  visibility: visible;
}

.comment-slide.active {
  transform: translateX(0);
  z-index: 2;
}

.comment-slide.exit-left {
  transform: translateX(-100%);
  z-index: 1;
}

.comment-slide-inner,
.comment-slide .testimonial-card {
  width: 100%;
  max-width: 100%;
}

.comments-flow-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  white-space: nowrap;
}

.comments-auto-progress {
  height: 3px;
  margin-top: 0.75rem;
  background: rgba(10, 51, 104, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.comments-auto-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  border-radius: 999px;
}

.testimonials-carousel .comments-auto-progress {
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

.comment-slide-inner {
  width: 100%;
}

.testimonials-carousel .comment-slide {
  align-items: center;
  justify-content: center;
}

.testimonials-carousel .testimonial-card {
  width: 100%;
  margin: 0;
}

.comments-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.comments-nav {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 51, 104, 0.12);
  border-radius: 50%;
  background: var(--cream);
  color: var(--teal-deep);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  flex-shrink: 0;
}

.comments-nav:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #fff;
  transform: scale(1.06);
}

.comments-nav svg {
  width: 1.1rem;
  height: 1.1rem;
}

.comments-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.comment-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(10, 51, 104, 0.2);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, width 0.25s;
}

.comment-dot.active {
  background: var(--emerald);
  transform: scale(1.2);
}

.comment-dot:hover {
  background: var(--teal-deep);
}

.doctor-reviews-carousel {
  margin-top: 0.5rem;
  max-width: none;
}

.doctor-reviews-carousel .comments-carousel-controls {
  margin-top: 0.75rem;
  gap: 0.65rem;
}

.doctor-reviews-carousel .comments-nav {
  width: 1.85rem;
  height: 1.85rem;
}

.doctor-reviews-carousel .comment-slide-inner {
  padding: 0.25rem 0;
}

.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--cream);
  border-radius: 6px;
  padding: 1.75rem;
  border: 1px solid rgba(13, 60, 110, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 51, 104, 0.08);
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink);
  flex: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 60, 110, 0.08);
}

.testimonial-author img,
.testimonial-author-photo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author .staff-photo-placeholder {
  border-radius: 50%;
  border-width: 2px;
}

.testimonial-author .staff-photo-initials {
  font-size: 0.85rem;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal-deep);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Emergency */
.emergency-section {
  padding: 2rem 0 0;
  background: var(--cream);
}

.emergency-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--danger-darker) 0%, var(--danger-deep) 50%, var(--danger-mid) 100%);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(127, 29, 29, 0.25);
}

@media (min-width: 768px) {
  .emergency-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 3rem;
  }
}

.emergency-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.emergency-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.emergency-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 28rem;
}

.emergency-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1rem;
}

.emergency-live-dot {
  background: #fff;
}

.emergency-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  background: #fff;
  color: var(--danger-deep);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
  transition: transform 0.25s, box-shadow 0.25s;
  flex-shrink: 0;
}

.emergency-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Specialists directory */
.specialists-section {
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(24, 119, 210, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 20%, rgba(232, 148, 45, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  overflow: hidden;
}

.specialists-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 51, 102, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}

.specialists-section > .max-w-7xl {
  position: relative;
  z-index: 1;
}

.specialists-intro {
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: -1rem 0 2rem;
}

.testimonials-intro {
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: -1rem 0 2.5rem;
}

/* Specialist swipe carousel (hero-style) */
.specialist-carousel-wrap.mode-swipe .specialist-swipe-view {
  display: grid;
  gap: 1.25rem;
}

.specialist-carousel-wrap.mode-list .specialist-swipe-view {
  display: none;
}

.specialist-carousel-wrap.mode-list .specialist-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.specialist-carousel-wrap.mode-swipe .specialist-list {
  display: none;
}

@media (min-width: 900px) {
  .specialist-carousel-wrap.mode-swipe .specialist-swipe-view {
    grid-template-columns: 1.35fr 1fr;
    align-items: stretch;
  }
}

.specialist-list-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 1rem 1.15rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.1);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(10, 51, 104, 0.04);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.specialist-list-item:hover {
  box-shadow: 0 10px 28px rgba(10, 51, 104, 0.1);
  border-color: rgba(24, 119, 210, 0.2);
  transform: translateY(-2px);
}

.specialist-list-photo-wrap {
  width: 88px;
  height: 112px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eef5;
}

.specialist-list-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  background: #e8eef5;
}

.specialist-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.specialist-list-dept-chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  color: var(--blue-mid);
  background: var(--blue-soft);
}

.specialist-list-body {
  min-width: 0;
}

.specialist-list-name {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1.25;
}

.specialist-list-role {
  margin: 0 0 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--emerald);
}

.specialist-list-schedule-line {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.specialist-list-schedule-hint {
  color: var(--muted);
}

.specialist-list-aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 8.5rem;
}

.specialist-book-btn-list {
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--teal-deep);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.specialist-book-btn-list:hover {
  background: var(--emerald);
  transform: translateY(-1px);
}

.specialist-list-aside .specialist-view-more {
  justify-content: center;
  width: 100%;
}

@media (max-width: 719px) {
  .specialist-list-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .specialist-list-photo-wrap {
    width: 72px;
    height: 96px;
  }

  .specialist-list-aside {
    grid-column: 1 / -1;
    flex-direction: row;
    min-width: 0;
  }

  .specialist-list-aside .specialist-view-more,
  .specialist-book-btn-list {
    flex: 1;
  }
}

.specialist-carousel-wrap {
  display: block;
}

.specialist-swipe-view {
  display: grid;
  gap: 1.25rem;
}

.specialist-carousel {
  position: relative;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--teal-deep);
  touch-action: pan-y;
  box-shadow:
    0 24px 60px rgba(10, 51, 104, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.specialist-carousel.is-empty {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px dashed rgba(10, 51, 104, 0.15);
}

.specialist-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.specialist-slide {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #071f3d 0%, #0a3368 35%, #145a8a 70%, #1a6b5c 100%);
  overflow: hidden;
}

.specialist-slide-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.specialist-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: specialistOrbFloat 12s ease-in-out infinite;
}

.specialist-orb-1 {
  width: 280px;
  height: 280px;
  background: var(--blue-bright);
  top: -80px;
  right: -60px;
}

.specialist-orb-2 {
  width: 220px;
  height: 220px;
  background: var(--gold);
  bottom: -40px;
  left: -50px;
  animation-delay: -4s;
}

.specialist-orb-3 {
  width: 160px;
  height: 160px;
  background: #4dd4ac;
  top: 40%;
  left: 55%;
  animation-delay: -8s;
}

@keyframes specialistOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.08); }
}

.specialist-slide-showcase {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem 7.5rem;
  animation: specialistShowcaseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.specialist-slide.active .specialist-slide-showcase {
  animation: specialistShowcaseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes specialistShowcaseIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.specialist-slide-frame {
  position: relative;
  padding: 6px;
}

.specialist-slide-ring {
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  background: conic-gradient(from 210deg, var(--gold-light), var(--blue-bright), #fff, var(--gold-light));
  opacity: 0.75;
  animation: specialistRingSpin 10s linear infinite;
}

@keyframes specialistRingSpin {
  to { transform: rotate(360deg); }
}

.specialist-slide-portrait {
  position: relative;
  z-index: 1;
  width: min(280px, 72vw);
  aspect-ratio: 3 / 4;
  height: auto;
  max-height: min(420px, 62vh);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #e8eef5;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
  border: 4px solid rgba(255, 255, 255, 0.95);
}

.specialist-slide-photo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center 16%;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  transform: none !important;
  animation: none !important;
}

.specialist-slide-dept-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

.specialist-slide.active {
  transform: translateX(0);
  z-index: 2;
}

.specialist-slide.exit-left {
  transform: translateX(-100%);
  z-index: 1;
}

.specialist-carousel-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(7, 31, 61, 0.95) 0%,
    rgba(10, 51, 104, 0.4) 38%,
    transparent 62%
  );
}

.specialist-slide-info {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 5;
  padding: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.specialist-slide-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.specialist-info-glass {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.specialist-info-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.specialist-info-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.specialist-info-badge.staff-badge-doctor {
  background: rgba(24, 119, 210, 0.35);
  color: #c8e4ff;
}

.specialist-info-badge.staff-badge-nurse {
  background: rgba(77, 212, 172, 0.35);
  color: #d4fff0;
}

.specialist-info-main {
  flex: 1;
  min-width: 10rem;
}

.specialist-available-muted {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

.specialist-info-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.1rem;
  line-height: 1.2;
}

.specialist-info-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.1rem;
}

.specialist-info-dept {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

.specialist-slide-info .specialist-available-today {
  background: rgba(24, 119, 210, 0.25);
  color: #a8d4ff;
}

.specialist-book-btn-slide {
  width: auto;
  padding: 0.65rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--emerald);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(24, 119, 210, 0.3);
}

.specialist-book-btn-slide:hover {
  background: var(--emerald);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(24, 119, 210, 0.4);
}

.specialist-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.specialist-carousel-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.06);
}

.specialist-carousel-nav svg {
  width: 1.25rem;
  height: 1.25rem;
}

.specialist-carousel-prev {
  left: 0.85rem;
}

.specialist-carousel-next {
  right: 0.85rem;
}

.specialist-slide-dots {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: auto;
  bottom: auto;
  transform: none;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  max-width: 50%;
  padding: 0.35rem 0.6rem;
  background: rgba(10, 51, 104, 0.45);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}

.specialist-slide-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.specialist-slide-dot.active {
  background: var(--emerald);
  transform: scale(1.25);
}

.specialist-slide-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.specialist-schedule-panel {
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(10, 51, 104, 0.06);
  position: relative;
  overflow: hidden;
}

.specialist-schedule-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 50%, var(--emerald) 100%);
}

.specialist-schedule-panel-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.specialist-schedule-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
}

.specialist-schedule-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.specialist-schedule-panel-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0;
}

.specialist-schedule-bio {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(10, 51, 104, 0.08);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}

.specialists-empty-carousel {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

.specialists-empty-carousel p {
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 0.35rem;
}

.specialists-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 900px) {
  .specialists-toolbar {
    flex-direction: row;
    align-items: stretch;
  }
}

.specialists-search-wrap {
  position: relative;
  flex: 1;
}

.specialists-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.15rem;
  height: 1.15rem;
  color: var(--muted);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .specialist-orb,
  .specialist-slide-ring,
  .specialist-slide-showcase {
    animation: none !important;
  }
}

.specialists-search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  font-size: 0.9375rem;
  border: 1px solid rgba(10, 51, 104, 0.12);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.specialists-search-input:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(24, 119, 210, 0.15);
}

.specialists-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.specialists-filter-select {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid rgba(10, 51, 104, 0.12);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  min-width: 9rem;
}

.specialists-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.specialists-meta-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.specialist-view-mode {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(13, 60, 110, 0.08);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.specialist-view-mode.is-list {
  background: rgba(24, 119, 210, 0.12);
  color: #047857;
}

.specialist-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.specialist-today-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--emerald);
}

/* Grid display (search / filter active) */
.specialists-results.display-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .specialists-results.display-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .specialists-results.display-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Auto display (default ? rotates by department) */
.specialists-results.display-auto {
  display: block;
}

.specialists-auto-wrap {
  background: var(--cream);
  border: 1px solid rgba(10, 51, 104, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.specialists-auto-header {
  padding: 1.25rem 1.25rem 0;
  border-bottom: 1px solid rgba(10, 51, 104, 0.06);
}

.specialists-auto-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.specialists-auto-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
}

.specialists-auto-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.specialists-dept-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.specialists-dept-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(10, 51, 104, 0.55);
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.1);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.specialists-dept-tab.active {
  background: var(--teal-deep);
  color: #fff;
  border-color: var(--teal-deep);
}

.specialists-dept-tab:not(.active):hover {
  border-color: var(--emerald);
  color: var(--teal-deep);
}

.specialists-auto-progress {
  height: 3px;
  background: rgba(10, 51, 104, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0;
}

.specialists-auto-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  border-radius: 999px;
}

.specialists-auto-dept-title {
  padding: 1.25rem 1.25rem 0.75rem;
}

.specialists-auto-dept-title h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 0.2rem;
}

.specialists-auto-dept-title p {
  font-size: 0.8125rem;
  color: var(--muted);
}

.specialists-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0 1.25rem 1.25rem;
}

.specialist-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.06);
  border-radius: 8px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.specialist-row:hover {
  box-shadow: 0 4px 16px rgba(10, 51, 104, 0.06);
  transform: translateX(3px);
}

.specialist-row-photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.specialist-row-photo {
  width: 72px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 16%;
  border: 2px solid var(--sage);
  background: #e8eef5;
}

.specialist-row-body {
  flex: 1;
  min-width: 0;
}

.specialist-row-body .specialist-name {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.specialist-row-body .specialist-role {
  margin-bottom: 0.15rem;
}

.specialist-row-schedule {
  font-size: 0.75rem;
  color: var(--muted);
}

.specialist-row-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
}

.specialist-book-btn-compact {
  width: auto;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
}

@media (max-width: 559px) {
  .specialist-row {
    flex-wrap: wrap;
  }

  .specialist-row-aside {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding-left: calc(64px + 1rem);
  }
}

.specialists-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .specialists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .specialists-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.specialist-card {
  background: var(--cream);
  border: 1px solid rgba(10, 51, 104, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.3s, transform 0.3s;
}

.specialist-card:hover {
  box-shadow: 0 8px 28px rgba(10, 51, 104, 0.08);
  transform: translateY(-2px);
}

.specialist-card-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.specialist-photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.specialist-photo {
  width: 84px;
  height: 112px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 16%;
  background: #e8eef5;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(10, 51, 104, 0.1);
}

.specialist-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 0.15rem;
}

.specialist-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 0.2rem;
}

.specialist-dept {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.specialist-available-today {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #047857;
  background: rgba(24, 119, 210, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.specialist-available-later {
  font-size: 0.7rem;
  color: var(--muted);
}

.specialist-schedule-block {
  flex: 1;
}

.specialist-schedule-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.5rem;
}

.specialist-schedule-table {
  width: 100%;
  font-size: 0.8125rem;
  border-collapse: collapse;
}

.specialist-schedule-table th,
.specialist-schedule-table td {
  padding: 0.4rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(10, 51, 104, 0.06);
}

.specialist-schedule-table th {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.specialist-schedule-table tr.schedule-today td {
  background: rgba(24, 119, 210, 0.08);
  font-weight: 600;
  color: var(--teal-deep);
}

.schedule-today-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--emerald);
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  margin-left: 0.25rem;
  vertical-align: middle;
}

.specialist-no-schedule {
  font-size: 0.8125rem;
  color: var(--muted);
}

.specialist-book-btn {
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--emerald);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(24, 119, 210, 0.3);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}

.specialist-book-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(24, 119, 210, 0.4);
  color: #fff;
  background: var(--emerald);
}

.specialists-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
}

.specialists-empty svg {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  opacity: 0.45;
}

.specialists-empty p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 0.35rem;
}

.specialists-empty span {
  font-size: 0.875rem;
}

/* Location & map */
.location-section {
  background: var(--sage);
}

.location-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
  }
}

.location-info {
  background: #fff;
  border-radius: 10px;
  padding: 1.75rem;
  border: 1px solid rgba(10, 51, 104, 0.08);
}

.location-info-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

.location-street {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.location-full {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.location-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.location-details li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: rgba(10, 51, 104, 0.78);
}

.location-details svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--emerald);
}

.location-details a {
  color: inherit;
  text-decoration: none;
}

.location-details a:hover {
  color: var(--emerald);
}

.location-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--teal-deep);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}

.location-directions-btn:hover {
  background: var(--emerald);
  transform: translateY(-1px);
}

.location-directions-btn svg {
  width: 1rem;
  height: 1rem;
}

.location-map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(10, 51, 104, 0.08);
  min-height: 320px;
  background: #e8efe9;
}

.location-map-embed {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.footer-map-wrap {
  height: 160px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-map-embed {
  width: 100%;
  height: 160px;
  border: 0;
  display: block;
}

.site-footer {
  position: relative;
  z-index: 2;
  clear: both;
  width: 100%;
}

.site-footer-brand p:last-child {
  margin: 0;
}

/* Booking sections */
.booking-section {
  background: #fff;
}

.booking-intro {
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: -1rem 0 1.75rem;
}

.booking-benefits {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .booking-benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .booking-benefits {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.booking-benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(15, 76, 140, 0.04);
  border: 1px solid rgba(15, 76, 140, 0.08);
}

.booking-benefit-icon {
  grid-row: 1 / span 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--blue-mid, #0f4c8c);
  border: 1px solid rgba(15, 76, 140, 0.12);
  align-self: center;
}

.booking-benefit strong {
  font-size: 0.9rem;
  color: var(--blue-deep, #0a3366);
}

.booking-benefit span:last-child {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

.booking-grid {
  display: grid;
  gap: 1.5rem;
}

.booking-grid--appt-first {
  align-items: start;
}

@media (min-width: 1024px) {
  .booking-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.75rem;
  }

  /* Appointment + check-status side panel (visitors off) */
  .booking-grid--appt-only.booking-grid--with-status {
    grid-template-columns: minmax(0, 1.45fr) minmax(17.5rem, 0.9fr);
    max-width: none;
  }

  /* Appointment + visitor + status: status spans full width under the two cards */
  .booking-grid--with-status:not(.booking-grid--appt-only) {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .booking-grid--with-status:not(.booking-grid--appt-only) > .booking-status-panel {
    grid-column: 1 / -1;
  }

  .booking-status-panel--side {
    position: sticky;
    top: 6.25rem;
  }
}

.booking-card {
  background: var(--cream);
  border: 1px solid rgba(13, 60, 110, 0.08);
  border-radius: 12px;
  padding: 1.75rem;
  scroll-margin-top: 6rem;
  transition: box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.booking-card--primary {
  background: #fff;
  border-color: rgba(15, 76, 140, 0.18);
  box-shadow: 0 12px 36px rgba(10, 51, 102, 0.08);
}

.booking-card--secondary {
  opacity: 0.98;
}

.booking-card-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold, #e8942d);
}

.booking-anchor {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.booking-card--primary {
  position: relative;
}

/* Searchable select */
.search-select {
  position: relative;
  width: 100%;
}

.search-select-trigger {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(13, 60, 110, 0.15);
  background: #fff;
  border-radius: 8px;
  padding: 0.7rem 2.25rem 0.7rem 0.85rem;
  font-size: 0.95rem;
  color: var(--blue-deep, #0a3366);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230A3366' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}

.search-select-trigger.is-placeholder {
  color: rgba(10, 51, 102, 0.45);
}

.search-select.is-open .search-select-trigger,
.search-select-trigger:focus {
  outline: 2px solid rgba(24, 119, 210, 0.35);
  border-color: rgba(24, 119, 210, 0.55);
}

.search-select.is-invalid .search-select-trigger {
  border-color: var(--danger, #c0392b);
}

.search-select-panel {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.14);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(10, 51, 102, 0.16);
  overflow: hidden;
}

.search-select-filter {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(13, 60, 110, 0.1);
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  outline: none;
}

.search-select-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  max-height: 14rem;
  overflow-y: auto;
}

.search-select-option {
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--blue-deep, #0a3366);
}

.search-select-option-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.search-select-option-text {
  min-width: 0;
  line-height: 1.35;
}

.search-select-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(24, 119, 210, 0.1);
  border: 1px solid rgba(13, 60, 110, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-select-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-select-avatar--ph {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue-deep, #0a3366);
}

.search-select-trigger .search-select-avatar {
  width: 24px;
  height: 24px;
}

.search-select-trigger .search-select-avatar--ph {
  font-size: 0.58rem;
}

.search-select-option:hover,
.search-select-option.is-active {
  background: rgba(24, 119, 210, 0.1);
}

.search-select-option.is-disabled {
  color: rgba(10, 51, 102, 0.4);
  cursor: default;
}

.search-select-empty {
  padding: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.booking-card .booking-form {
  display: flex;
  flex-direction: column;
}

.booking-card .form-submit {
  margin-top: 0.5rem;
}

.booking-card .form-success {
  margin-top: 0.75rem;
}

.booking-card:target {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(24, 119, 210, 0.15);
}

.booking-card-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(13, 60, 110, 0.08);
}

.booking-card-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.booking-card-icon-visitor {
  background: rgba(24, 119, 210, 0.12);
  color: var(--emerald);
}

.booking-card-icon-schedule {
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold);
}

.booking-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 0.35rem;
}

.booking-card-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.form-submit.is-loading,
.form-submit[aria-busy='true'] {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}

.form-submit.is-loading::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin-top: -0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: eftu-spin 0.7s linear infinite;
}

@keyframes eftu-spin {
  to { transform: rotate(360deg); }
}

.inline-spinner {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid rgba(10, 51, 104, 0.15);
  border-top-color: var(--blue-accent, #1877D2);
  border-radius: 50%;
  animation: eftu-spin 0.7s linear infinite;
  margin-bottom: 0.65rem;
}

.booking-status-card.is-loading-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.booking-status-bar {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  left: auto;
  top: auto;
  z-index: 55;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom);
  pointer-events: none;
  width: min(24rem, calc(100vw - 1.5rem));
}

.booking-status-bar-inner {
  max-width: none;
  margin: 0;
  pointer-events: auto;
}

.booking-status-bar-items {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
  justify-content: flex-end;
}

.booking-status-cardlet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-rows: auto auto;
  column-gap: 0.65rem;
  row-gap: 0.35rem;
  align-items: center;
  min-width: 0;
  max-width: none;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 51, 104, 0.12);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 28px rgba(10, 51, 104, 0.14);
  color: var(--blue-deep);
}

.booking-status-cardlet.is-pending,
.booking-status-cardlet.is-new {
  border-color: rgba(232, 148, 45, 0.55);
  background:
    linear-gradient(135deg, rgba(232, 148, 45, 0.12), transparent 55%),
    #fff;
  box-shadow: 0 12px 30px rgba(232, 148, 45, 0.18);
}

.booking-status-cardlet.is-confirmed {
  border-color: rgba(16, 185, 129, 0.4);
}

.booking-status-cardlet.is-cancelled {
  border-color: rgba(220, 38, 38, 0.35);
}

.booking-status-cardlet-copy {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.booking-status-cardlet-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-status-cardlet.is-pending .booking-status-cardlet-label,
.booking-status-cardlet.is-new .booking-status-cardlet-label {
  color: #b45309;
}

.booking-status-cardlet-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-status-badge {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--blue-deep);
}

.booking-status-badge.is-new {
  background: rgba(232, 148, 45, 0.18);
  color: #9a3412;
}

.booking-status-badge.is-confirmed {
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
}

.booking-status-badge.is-cancelled {
  background: var(--danger-wash);
  color: var(--danger-deep);
}

.booking-status-view {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border: none;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(24, 119, 210, 0.28);
}

.booking-status-view:hover {
  background: var(--blue-mid);
}

.booking-status-chip-dismiss {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 51, 104, 0.12);
  background: #fff;
  color: rgba(10, 51, 104, 0.55);
  cursor: pointer;
  line-height: 1;
  align-self: center;
}

.booking-pending-lock {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(232, 148, 45, 0.45);
  background: linear-gradient(180deg, #fff8ef, #fff);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.booking-form-alert {
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(185, 28, 28, 0.28);
  background: var(--danger-wash, #fef2f2);
  color: var(--danger-deep, #991b1b);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.booking-form-alert[hidden] {
  display: none !important;
}

.booking-form-alert-title {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.booking-form-alert-list {
  margin: 0;
  padding-left: 1.15rem;
  font-weight: 550;
}

.booking-form-alert-list li + li {
  margin-top: 0.2rem;
}

.booking-form-alert-list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.booking-availability-hint {
  margin: -0.35rem 0 0.9rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(24, 119, 210, 0.2);
  background: rgba(24, 119, 210, 0.06);
  color: var(--blue-deep, #0a3366);
  font-size: 0.84rem;
  line-height: 1.45;
}
.booking-availability-hint[hidden] {
  display: none !important;
}

.booking-availability-hint.is-warning {
  border-color: rgba(185, 28, 28, 0.28);
  background: var(--danger-wash, #fef2f2);
  color: var(--danger-deep, #991b1b);
}

.booking-date-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.45rem 0 0;
}

.booking-date-days[hidden] {
  display: none !important;
}

.booking-date-picker {
  position: relative;
}

.booking-date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.18);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.booking-date-trigger:hover:not(:disabled),
.booking-date-trigger[aria-expanded='true'] {
  border-color: var(--emerald, #1877d2);
  box-shadow: 0 0 0 3px rgba(24, 119, 210, 0.14);
}

.booking-date-trigger:disabled,
.booking-date-trigger.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
}

#schedule-time {
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(13, 60, 110, 0.18);
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

#schedule-time:focus {
  outline: none;
  border-color: var(--emerald, #1877d2);
  box-shadow: 0 0 0 3px rgba(24, 119, 210, 0.14);
}

.booking-date-trigger-text {
  flex: 1;
  min-width: 0;
}

.booking-date-trigger-icon {
  flex-shrink: 0;
  color: var(--blue-mid, #145a9c);
}

.booking-cal {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  min-width: min(100%, 18rem);
  max-width: 22rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.14);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(10, 51, 102, 0.16);
}

.booking-cal[hidden] {
  display: none !important;
}

.booking-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.booking-cal-month {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-deep, #0a3366);
}

.booking-cal-nav {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(13, 60, 110, 0.14);
  border-radius: 8px;
  background: var(--cream, #f7fafc);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.booking-cal-nav:hover {
  border-color: var(--emerald, #1877d2);
  color: var(--blue-deep);
}

.booking-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
  margin-bottom: 0.35rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
}

.booking-cal-cell {
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.booking-cal-cell.is-empty {
  pointer-events: none;
  visibility: hidden;
}

.booking-cal-cell:not(.is-disabled):not(.is-empty):hover {
  background: rgba(24, 119, 210, 0.1);
}

.booking-cal-cell.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px rgba(24, 119, 210, 0.45);
}

.booking-cal-cell.is-selected {
  background: var(--emerald, #1877d2);
  color: #fff;
}

.booking-cal-cell.is-disabled {
  color: rgba(92, 102, 115, 0.38);
  text-decoration: line-through;
  cursor: not-allowed;
  background: transparent;
}

.form-group.is-invalid .booking-date-trigger {
  border-color: var(--danger, #dc2626);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.phone-field-hint,
.booking-status-field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

.phone-field-hint[hidden] {
  display: none !important;
}

.booking-day-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue-deep, #0a3366);
  background: rgba(24, 119, 210, 0.1);
  border: 1px solid rgba(24, 119, 210, 0.18);
}

.booking-form .form-group.is-invalid > label {
  color: var(--danger-deep, #991b1b);
}

.booking-form .form-group.is-invalid input,
.booking-form .form-group.is-invalid select,
.booking-form .form-group.is-invalid textarea,
.booking-form input.is-invalid,
.booking-form select.is-invalid,
.booking-form textarea.is-invalid {
  border-color: var(--danger, #dc2626) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
  background-color: #fff8f8;
}

.booking-form .field-error {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--danger-deep, #991b1b);
}

.booking-form .field-error::before {
  content: '';
  flex-shrink: 0;
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: var(--danger, #dc2626);
  box-shadow: inset 0 0 0 2px #fff;
}

.search-select.is-invalid .search-select-trigger {
  border-color: var(--danger, #dc2626) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
  background-color: #fff8f8;
}

.booking-side-help {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 60, 110, 0.1);
}

.booking-side-help-title {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-side-help-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink, #1a2a3e);
}

.booking-side-help-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(24, 119, 210, 0.05);
  border: 1px solid rgba(13, 60, 110, 0.08);
}

.booking-side-help-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-mid, #145a9c);
  border: 1px solid rgba(24, 119, 210, 0.18);
  flex-shrink: 0;
}

.booking-side-help-ico svg {
  display: block;
}

.booking-status-panel--side {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: fit-content;
  background: #fff;
  border: 1px solid rgba(15, 76, 140, 0.16);
  border-radius: 12px;
  padding: 1.35rem 1.25rem 1.2rem;
  box-shadow: 0 10px 28px rgba(10, 51, 102, 0.06);
}

.booking-status-panel--side .booking-status-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.booking-status-panel--side .booking-status-panel-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(24, 119, 210, 0.1);
  color: var(--blue-deep, #0a3366);
}

.booking-status-panel--side .booking-status-panel-title {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
}

.booking-status-panel--side .booking-status-panel-desc {
  max-width: none;
  font-size: 0.84rem;
}

.booking-status-panel--side .booking-status-form--stack,
.booking-status-panel--side .booking-status-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
}

.booking-status-panel--side .booking-status-submit {
  width: 100%;
  min-width: 0;
  align-self: stretch;
  margin-top: 0.15rem;
}

.booking-status-panel--side .booking-status-result {
  margin-top: 1rem;
}

.booking-status-panel--side .form-group.is-invalid .field-error {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--danger-deep, #991b1b);
}

@media (min-width: 1024px) {
  .booking-status-panel--side {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    padding: 1.4rem 1.35rem 1.25rem;
  }

  .booking-status-panel--side .booking-status-grid {
    grid-template-columns: none;
  }
}

@media (min-width: 768px) {
  .booking-status-panel.booking-status-panel--side {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 0;
  }

  .booking-status-panel--side .booking-status-panel-head {
    margin-bottom: 1.1rem;
  }

  .booking-status-panel--side .booking-status-grid {
    grid-template-columns: 1fr;
  }

  .booking-status-panel--side .booking-status-submit {
    width: 100%;
  }

  .booking-status-panel--side .booking-status-result {
    grid-column: auto;
  }
}

.booking-pending-lock-view {
  display: inline-flex;
  margin-left: 0.35rem;
  padding: 0.2rem 0.65rem;
  border: none;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.booking-form.is-booking-locked .form-submit:disabled {
  opacity: 0.55;
}

.booking-status-card.is-status-new {
  border-color: rgba(232, 148, 45, 0.45);
  box-shadow: 0 0 0 1px rgba(232, 148, 45, 0.12);
}

.booking-status-card.is-status-confirmed {
  border-color: rgba(16, 185, 129, 0.4);
}

.booking-status-card.is-status-cancelled {
  border-color: rgba(239, 68, 68, 0.35);
}

body.has-booking-status-bar {
  scroll-padding-bottom: 8rem;
}

@media (max-width: 640px) {
  .booking-status-bar {
    bottom: 0.75rem;
    right: 0.65rem;
    left: 0.65rem;
    width: auto;
  }

  .booking-status-cardlet {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .booking-status-chip-dismiss {
    grid-column: 2;
    grid-row: 1;
  }

  .booking-status-view {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: stretch;
    width: 100%;
  }

  body.has-booking-status-bar {
    padding-bottom: 5.5rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group--phone .phone-field {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9.5rem) 1fr;
  gap: 0.5rem;
  align-items: stretch;
}

.phone-field select,
.phone-field .search-select {
  min-width: 0;
}

.phone-field input[type='tel'] {
  min-width: 0;
}

@media (max-width: 520px) {
  .form-group--phone .phone-field {
    grid-template-columns: 1fr;
  }
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.form-optional {
  font-weight: 400;
  color: var(--muted);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.15);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(24, 119, 210, 0.12);
}

.booking-form input:invalid:not(:placeholder-shown),
.booking-form select:invalid:not(:placeholder-shown),
.booking-form textarea:invalid:not(:placeholder-shown) {
  border-color: #f87171;
}

.booking-form textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  margin-top: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}

.form-submit:hover {
  transform: translateY(-1px);
}

.form-submit-visitor {
  background: var(--emerald);
  box-shadow: 0 6px 20px rgba(24, 119, 210, 0.3);
}

.form-submit-visitor:hover {
  box-shadow: 0 8px 28px rgba(24, 119, 210, 0.4);
}

.form-submit-schedule {
  background: var(--emerald);
  box-shadow: 0 6px 20px rgba(24, 119, 210, 0.3);
}

.form-submit-schedule:hover {
  box-shadow: 0 8px 28px rgba(24, 119, 210, 0.4);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--teal-deep);
  background: rgba(24, 119, 210, 0.12);
  border: 1px solid rgba(24, 119, 210, 0.25);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin-top: 0.25rem;
}

.form-success.hidden {
  display: none;
}

/* Hero scroll down (home page only) */
.hero-scroll-controls {
  position: absolute;
  bottom: 7.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 14;
}

@media (min-width: 768px) {
  .hero-scroll-controls {
    bottom: 8.5rem;
  }
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(6, 32, 68, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
  animation: heroScrollBounce 2.5s ease-in-out infinite;
}

.hero-scroll-btn:hover {
  background: rgba(24, 119, 210, 0.25);
  border-color: var(--emerald);
  transform: translateY(2px);
  animation: none;
}

.hero-scroll-btn svg {
  animation: heroScrollArrow 2.5s ease-in-out infinite;
}

.hero-scroll-btn:hover svg {
  animation: none;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes heroScrollArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Back to home ? visible outside hero */
.back-to-home {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: #fff;
  background: rgba(10, 51, 104, 0.92);
  border: 1px solid rgba(24, 119, 210, 0.45);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(10, 51, 104, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, background 0.25s;
}

.back-to-home.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-home:hover {
  background: var(--emerald);
  border-color: var(--emerald);
}

@media (max-width: 640px) {
  .back-to-home {
    right: 0.75rem;
    bottom: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--teal-deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  background: var(--teal-deep);
}

.hero-slide.active {
  transform: none;
  z-index: 2;
}

.hero-slide.exit-left {
  transform: translateX(-100%);
  z-index: 1;
}

.hero-slide-photo,
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  animation: none;
  image-rendering: auto;
}

.hero-slide-blur {
  display: none !important;
}

.hero-slide-label {
  display: none;
}

.hero-slide-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .hero-slide-dots {
    bottom: 1.75rem;
    left: 2.5rem;
    transform: none;
  }
}

.hero-bg {
  transform: none;
}

.hero-slide-dot {
  width: 1.75rem;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.35s ease, background 0.35s ease;
}

.hero-slide-dot.active {
  width: 2.5rem;
  background: #fff;
}

.hero-slide-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-particle {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-30px); opacity: 0.8; }
}

.scroll-indicator {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-dot {
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

.hero-pill {
  animation: float 6s ease-in-out infinite;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Stats */
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
}

.stat-icon {
  transition: background 0.3s, color 0.3s;
}

.stat-card:hover .stat-icon {
  background: rgba(24, 119, 210, 0.2);
  color: var(--emerald);
}

/* Service cards */
.service-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(13, 60, 110, 0.12);
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

.service-card:hover .service-border {
  opacity: 1;
}

.service-img {
  transition: transform 0.7s ease;
}

.service-border {
  opacity: 0;
  transition: opacity 0.3s;
}

/* Why choose us */
.why-card:nth-child(even) {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .why-card:nth-child(even) {
    transform: translateY(1.5rem);
  }
}

.why-card.visible:nth-child(even) {
  transform: translateY(1.5rem);
}

/* Emergency */
.emergency-stripe {
  animation: stripeMove 2s linear infinite;
}

@keyframes stripeMove {
  from { background-position: 0 0; }
  to { background-position: 40px 0; }
}

.pulse-dot {
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.emergency-icon {
  animation: emergencyPulse 1.5s ease-in-out infinite;
}

@keyframes emergencyPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Footer social */
.social-link {
  transition: background 0.3s, transform 0.3s;
}

.social-link:hover {
  background: var(--emerald);
  transform: scale(1.1);
}

/* Community ? feedback, news, media */
.testimonials-share-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(24, 119, 210, 0.35);
}

.testimonials-share-link:hover {
  color: var(--blue-mid);
}

.feedback-section {
  background: var(--sage);
}

.feedback-intro,
.news-intro,
.media-intro {
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: -1rem 0 2.5rem;
}

.feedback-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .feedback-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feedback-form-card,
.feedback-list-wrap {
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.08);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 8px 28px rgba(10, 51, 104, 0.06);
}

.feedback-form-title,
.feedback-list-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 1.25rem;
}

.feedback-empty {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.feedback-empty.hidden {
  display: none;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 32rem;
  overflow-y: auto;
}

.feedback-card {
  padding: 1rem 1.1rem;
  background: var(--cream);
  border: 1px solid rgba(10, 51, 104, 0.08);
  border-radius: 8px;
}

.feedback-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.feedback-card-name {
  display: block;
  font-size: 0.9375rem;
  color: var(--blue-deep);
}

.feedback-card-role {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.feedback-card-stars .star {
  font-size: 0.85rem;
}

.feedback-card-quote {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(10, 51, 104, 0.82);
  margin-bottom: 0.5rem;
}

.feedback-card-date {
  font-size: 0.72rem;
  color: var(--muted);
}

.news-section {
  background: #fff;
}

.news-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(10, 51, 104, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 51, 104, 0.1);
}

.news-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-card-image img,
.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-image .staff-photo-placeholder,
.news-modal-image .staff-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border: none;
  border-radius: 0;
}

.news-card-category {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
}

.news-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-date {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.35;
  margin-bottom: 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-read-more {
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.news-read-more:hover {
  color: var(--blue-mid);
}

.news-modal,
.media-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.news-modal.open,
.media-modal.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.news-modal-backdrop,
.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 32, 68, 0.72);
  backdrop-filter: blur(4px);
}

.news-modal-panel,
.media-modal-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.media-modal-panel {
  max-width: 960px;
}

.news-modal-close,
.media-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  background: rgba(10, 51, 104, 0.65);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.news-modal-content {
  padding: 1.5rem;
}

.news-modal-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.news-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-modal-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a2744;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.news-modal-video iframe,
.news-modal-video video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.news-modal-body-html {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
}

.news-modal-body-html p {
  margin: 0 0 0.85rem;
}

.news-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin: 0.5rem 0 0.75rem;
}

.news-modal-body-text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(10, 51, 104, 0.82);
}

.media-section {
  background: var(--cream);
}

.media-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.media-filter-tab {
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-mid);
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.media-filter-tab:hover,
.media-filter-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.media-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.media-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-top: 1.75rem;
}

.media-pagination[hidden] {
  display: none;
}

.media-page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.media-page-btn {
  min-width: 2.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-mid);
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.media-page-btn:hover:not(:disabled),
.media-page-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.media-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.media-page-status {
  flex-basis: 100%;
  margin: 0.25rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(10, 51, 104, 0.65);
}

.media-card {
  padding: 0;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.08);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(10, 51, 104, 0.12);
}

.media-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.media-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.media-card-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  background: #0a3366;
  transition: transform 0.35s;
}

.media-card:hover .media-card-thumb img,
.media-card:hover .media-card-video-thumb {
  transform: scale(1.05);
}

.media-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 32, 68, 0.35);
}

.media-play-badge svg {
  width: 3rem;
  height: 3rem;
  color: #fff;
}

.media-card-info {
  padding: 0.85rem 1rem 1rem;
}

.media-card-type {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.media-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.35;
}

.media-card-caption {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(10, 51, 104, 0.68);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-empty {
  grid-column: 1 / -1;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
}

.media-modal-photo img {
  width: 100%;
  display: block;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.media-modal-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.media-modal-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-modal-video-native {
  padding-top: 0;
  min-height: min(70vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-modal-video-native video {
  width: 100%;
  max-height: 70vh;
  display: block;
  background: #000;
  cursor: pointer;
}

.media-modal-caption {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ===== Responsive ? all screen sizes ===== */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img,
video,
iframe {
  max-width: 100%;
}

video,
iframe {
  height: auto;
}

.max-w-7xl,
.max-w-6xl,
.max-w-5xl,
.max-w-4xl {
  width: 100%;
}

#navbar {
  padding-top: max(1rem, env(safe-area-inset-top));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

@media (max-width: 1023px) {
  .nav-pill {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 639px) {
  .section-padding {
    padding: 3rem 1rem;
  }

  .section-header {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .section-number {
    font-size: 2rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero-subtext {
    font-size: 0.9375rem;
  }

  .btn-primary,
  .btn-secondary,
  .btn-emergency {
    width: 100%;
    justify-content: center;
    min-height: 2.75rem;
  }

  .hero-features {
    display: none;
  }

  .hero-slide-dots {
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 0.35rem;
  }

  .hero-slide-dot {
    width: 1.5rem;
    height: 3px;
  }

  .hero-slide-dot.active {
    width: 2rem;
  }

  .hero-scroll-controls {
    display: none;
  }

  .media-intro,
  .news-intro,
  .services-intro,
  .specialists-intro,
  .booking-intro,
  .feedback-intro,
  .testimonials-intro {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }

  .booking-grid {
    gap: 1rem;
  }

  .booking-card {
    padding: 1.25rem;
  }

  .about-grid {
    gap: 1.5rem;
  }

  .location-grid {
    gap: 1rem;
  }

  .stat-item:nth-child(2n) {
    border-right: none;
  }

  .stat-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(13, 60, 110, 0.08);
  }

  .stat-item {
    padding: 1rem 0.75rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .about-years-badge {
    transform: scale(0.9);
    transform-origin: bottom right;
  }

  .service-bento-content {
    padding: 1.15rem;
  }

  .service-bento-card {
    min-height: 200px;
  }

  .specialists-filter-select {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    width: auto;
  }

  .specialists-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .specialist-carousel {
    min-height: 440px;
  }

  .specialist-slide {
    align-items: flex-start;
  }

  .specialist-slide-showcase {
    padding: 1rem 1rem 6.75rem;
    width: 100%;
  }

  .specialist-slide-portrait {
    width: min(220px, 70vw);
    aspect-ratio: 3 / 4;
    height: auto;
    max-height: min(300px, 42vh);
  }

  .specialist-slide-info {
    padding: 1rem 1rem 3rem;
  }

  .specialist-info-name {
    font-size: 1.15rem;
  }

  .specialist-info-avatar {
    width: 56px;
    height: 56px;
    object-fit: cover;
    object-position: center top;
  }

  .specialist-carousel-nav {
    width: 2.25rem;
    height: 2.25rem;
  }

  .specialist-carousel-prev {
    left: 0.5rem;
  }

  .specialist-carousel-next {
    right: 0.5rem;
  }

  .specialist-book-btn-slide,
  .specialist-view-more-slide {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .specialist-info-glass {
    flex-direction: column;
    align-items: stretch;
  }

  .specialist-info-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .specialist-list-item {
    padding: 1rem;
  }

  .booking-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .booking-form input,
  .booking-form select,
  .booking-form textarea {
    font-size: 16px;
  }

  .form-submit {
    width: 100%;
  }

  .emergency-call-btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .emergency-card {
    padding: 1.5rem;
  }

  .testimonials-dual.comments-carousel {
    max-width: 100%;
  }

  .comments-dual-track {
    padding: 0.5rem;
    gap: 0.75rem;
  }

  .comments-carousel-controls,
  .testimonials-controls {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }

  .comments-next {
    margin-left: 0;
  }

  .location-map-embed,
  .footer-map-embed {
    min-height: 220px;
  }

  .location-map-wrap {
    min-height: 220px;
  }

  .location-info {
    padding: 1.25rem;
  }

  .dept-modal-hero img {
    height: 200px;
  }

  .dept-modal-hero-text h2 {
    font-size: 1.35rem;
  }

  .dept-modal-body {
    padding: 1rem 1rem 1.5rem;
  }

  .staff-category-tabs {
    flex-wrap: wrap;
  }

  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .feedback-list {
    max-height: none;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-filters {
    justify-content: stretch;
  }

  .media-filter-tab {
    flex: 1 1 calc(33.333% - 0.35rem);
    text-align: center;
    padding: 0.65rem 0.5rem;
  }

  .media-card-info {
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .media-card-caption {
    font-size: 0.75rem;
    -webkit-line-clamp: 3;
  }

  .media-pagination {
    gap: 0.4rem;
  }

  .media-page-btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
  }

  .media-page-prev,
  .media-page-next {
    flex: 1 1 calc(50% - 0.25rem);
  }

  .media-page-numbers {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
  }

  .media-page-status {
    order: 4;
    font-size: 0.75rem;
  }

  .media-modal-panel {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
  }

  .media-modal-close {
    top: 0.35rem;
    right: 0.35rem;
  }

  .media-modal-photo img,
  .media-modal-video-native video {
    max-height: 55vh;
  }

  .media-modal-caption {
    padding: 0.85rem 1rem 1rem;
    font-size: 0.8125rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .nav-shell {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .specialists-filter-select {
    flex: 1 1 100%;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .specialist-carousel {
    min-height: 460px;
  }

  .specialist-slide-portrait {
    width: min(240px, 55vw);
    height: min(320px, 46vh);
  }
}

/* Touch devices ? larger tap targets, no hover-only UI */
@media (hover: none) and (pointer: coarse) {
  .nav-pill,
  .nav-cta,
  .menu-btn,
  .comment-dot,
  .specialist-carousel-nav,
  .hero-slide-dot,
  .service-visit-more,
  .form-submit,
  .specialist-book-btn-slide,
  .media-filter-tab,
  .media-page-btn {
    min-height: 44px;
    min-width: 44px;
  }

  .comment-dot,
  .hero-slide-dot {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-slide-dot {
    width: 2rem;
    height: 4px;
    min-height: 44px;
    padding: 20px 0;
    background-clip: content-box;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  body.custom-cursor-active {
    cursor: auto;
  }

  body.custom-cursor-active a,
  body.custom-cursor-active button {
    cursor: pointer;
  }

  .hospital-cursor {
    display: none !important;
  }

  .hero-slide {
    transition: opacity 0.4s ease;
    transform: none !important;
    opacity: 0;
  }

  .hero-slide.active {
    opacity: 1;
  }

  .hero-slide-photo,
  .hero-slide-blur {
    animation: none !important;
    transform: none !important;
  }

  .specialist-slide {
    transition: opacity 0.4s ease;
    transform: none !important;
    opacity: 0;
  }

  .specialist-slide.active {
    opacity: 1;
  }

  .specialist-slide img,
  .specialist-slide-photo {
    animation: none !important;
    transform: none !important;
  }

  .comment-slide {
    transition: opacity 0.4s ease;
    transform: none !important;
    opacity: 0;
  }

  .comment-slide.active {
    opacity: 1;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* Language switcher styles live in css/public/chrome.css (.lang-menu*) */

/* Hide Google Translate chrome; keep the widget in-flow so the combo/select can init. */
.google-translate-host,
#google_translate_element {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}
body {
  top: 0 !important;
}
.goog-te-spinner-pos {
  display: none !important;
}
/* Spec �2.2 / �2.4 ? skip link, splash skip, mobile brand, skeletons */
.skip-to-content {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #0A3366; color: #fff; padding: 0.75rem 1rem; font-weight: 700;
}
.skip-to-content:focus { left: 1rem; top: 1rem; outline: var(--focus-ring); outline-offset: var(--focus-ring-offset); }
.loading-skip {
  position: absolute; bottom: 1.5rem; right: 1.5rem; z-index: 5;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(10,51,102,0.55);
  color: #fff; font-size: 0.8rem; font-weight: 600; padding: 0.45rem 0.85rem;
  border-radius: 999px; cursor: pointer;
}
.nav-brand-text { display: block !important; }
#navbar.scrolled .nav-brand-logo { width: 2rem; height: 2rem; }
#navbar.scrolled .nav-shell { padding-top: 0.45rem; padding-bottom: 0.45rem; }
.skel-block {
  background: linear-gradient(90deg, #e8eef5 25%, #f4f7fb 37%, #e8eef5 63%);
  background-size: 400% 100%; animation: skelShimmer 1.2s ease infinite;
  border-radius: 10px;
}
@keyframes skelShimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.skel-card { min-height: 140px; }
.skel-line { height: 12px; margin-bottom: 0.5rem; }
.skel-line.w-2-3 { width: 66%; }
.skel-line.w-1-2 { width: 50%; }

/* Lighthouse: defer offscreen section paint cost */
.services-section .service-card,
.news-section .news-card,
.media-section .media-card {
  content-visibility: auto;
  contain-intrinsic-size: 280px;
}

/* ?? Doctor profile ("View more") ?? */
.doctor-view-more,
.specialist-view-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-mid);
  background: var(--blue-soft);
  border: 1px solid rgba(24, 119, 210, 0.2);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.doctor-view-more svg {
  width: 0.9rem;
  height: 0.9rem;
}

.doctor-view-more:hover,
.specialist-view-more:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}

.specialist-view-more-slide {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--blue-deep);
  margin-right: 0.5rem;
}

/* ?? Doctor profile (redesigned) ?? */
.doctor-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.doctor-profile-modal.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.doctor-profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 51, 104, 0.72);
  backdrop-filter: blur(5px);
}

.doctor-profile-panel {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 94vh;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 48px rgba(10, 51, 104, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.doctor-profile-modal.open .doctor-profile-panel {
  transform: translateY(0);
}

@media (min-width: 720px) {
  .doctor-profile-modal {
    align-items: center;
    padding: 1.5rem;
  }

  .doctor-profile-panel {
    border-radius: 18px;
    max-height: 90vh;
    transform: translateY(20px) scale(0.98);
  }

  .doctor-profile-modal.open .doctor-profile-panel {
    transform: translateY(0) scale(1);
  }
}

.doctor-profile-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 12;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.doctor-profile-close:hover {
  background: var(--blue);
  transform: scale(1.06);
}

.doctor-profile-scroll {
  overflow-y: auto;
  max-height: 94vh;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 720px) {
  .doctor-profile-scroll {
    max-height: 90vh;
  }
}

.dp-layout {
  display: flex;
  flex-direction: column;
  min-height: min(94vh, 900px);
}

.dp-hero {
  display: grid;
  gap: 1.15rem;
  padding: 1.4rem 1.25rem 1.35rem;
  padding-right: 3.4rem;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(110, 181, 255, 0.28), transparent 48%),
    linear-gradient(150deg, #0a3366 0%, #0f4c8c 48%, #145a9c 100%);
  color: #fff;
}

@media (min-width: 640px) {
  .dp-hero {
    grid-template-columns: 148px minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 1.75rem 1.6rem;
    padding-right: 3.5rem;
  }
}

.dp-hero-photo {
  width: 118px;
  height: 148px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  background: #e8eef5;
}

@media (min-width: 640px) {
  .dp-hero-photo {
    width: 148px;
    height: 186px;
    margin: 0;
  }
}

.dp-hero-photo .dp-photo,
.dp-hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.dp-hero-photo .staff-photo-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.dp-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
  text-align: left;
}

.dp-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.dp-hero h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  line-height: 1.15;
  color: #fff;
}

.dp-specialty {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.dp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.25rem;
}

.dp-status {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.dp-status.is-open {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.45);
}

.dp-status.is-leave {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.4);
}

.dp-today-chip {
  display: inline-flex;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dp-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
}

.dp-rating.is-empty {
  margin: 0;
  opacity: 0.85;
  font-size: 0.8rem;
}

.dp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
  width: 100%;
}

.dp-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.85rem 1.4rem;
  border: none;
  border-radius: 6px;
  background: var(--emerald);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(24, 119, 210, 0.3);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}

.dp-book-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(24, 119, 210, 0.4);
  filter: none;
}

.dp-book-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.dp-share {
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.dp-share:hover {
  background: rgba(255, 255, 255, 0.18);
}

.dp-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.65rem 1rem 0;
  background: #fff;
  border-bottom: 1px solid rgba(10, 51, 104, 0.08);
  position: sticky;
  top: 0;
  z-index: 2;
}

.dp-tab {
  flex: 1;
  min-height: 2.6rem;
  padding: 0.55rem 0.75rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.dp-tab:hover {
  color: var(--blue-deep);
}

.dp-tab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.dp-panels {
  padding: 1.15rem 1.15rem 6.5rem;
  background: #fff;
  flex: 1;
}

.dp-panel[hidden] {
  display: none !important;
}

.dp-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

@media (max-width: 520px) {
  .dp-facts {
    grid-template-columns: 1fr;
  }
}

.dp-fact {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: var(--sage);
  border: 1px solid rgba(10, 51, 104, 0.06);
}

.dp-fact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.dp-fact-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.35;
}

.dp-bio h3,
.dp-creds h3,
.dp-form h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--blue-deep);
}

.dp-bio p {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
  font-size: 0.95rem;
}

.dp-creds {
  margin-top: 1.15rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, var(--cream));
  border: 1px solid rgba(10, 51, 104, 0.08);
}

.dp-creds ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
  line-height: 1.55;
}

.dp-note {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.dp-empty-reviews {
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--sage);
  text-align: center;
  margin-bottom: 1rem;
}

.dp-empty-reviews p {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.dp-empty-reviews span {
  font-size: 0.88rem;
  color: var(--muted);
}

.dp-reviews {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dp-reviews li {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 51, 104, 0.08);
  background: #fff;
}

.dp-review-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.25rem;
}

.dp-review-date {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.dp-reviews li p {
  margin: 0;
  line-height: 1.55;
  color: var(--ink);
}

.dp-form {
  padding: 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 51, 104, 0.1);
  background: var(--cream);
}

.dp-sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(10, 51, 104, 0.1);
  box-shadow: 0 -8px 24px rgba(10, 51, 104, 0.1);
  backdrop-filter: blur(8px);
}

.dp-sticky-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.dp-sticky-copy strong {
  font-size: 0.9rem;
  color: var(--blue-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-sticky-copy span {
  font-size: 0.75rem;
  color: var(--muted);
}

.dp-book-btn--sticky {
  flex-shrink: 0;
  min-width: 10.5rem;
}

@media (max-width: 520px) {
  .dp-hero-actions .dp-book-btn {
    width: 100%;
  }

  .dp-sticky-copy {
    display: none;
  }

  .dp-book-btn--sticky {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doctor-profile-modal,
  .doctor-profile-panel,
  .doctor-view-more,
  .specialist-view-more,
  .dp-book-btn {
    transition: none;
  }
}

.booking-status-panel {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.14);
  box-shadow: 0 10px 28px rgba(10, 51, 104, 0.06);
  scroll-margin-top: 6rem;
}

.booking-status-panel:target {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(24, 119, 210, 0.15);
}

.booking-status-panel-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.booking-status-panel-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--sage);
  color: var(--teal-deep);
}

.booking-status-panel-title {
  margin: 0 0 0.3rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.2;
}

.booking-status-panel-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 40rem;
}

.booking-status-form .form-group {
  margin-bottom: 0;
}

.booking-status-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-deep);
}

.booking-status-grid {
  display: grid;
  gap: 0.75rem;
  align-items: end;
}

@media (min-width: 768px) {
  .booking-status-panel {
    display: grid;
    grid-template-columns: minmax(14rem, 0.95fr) minmax(0, 1.35fr);
    gap: 1.25rem 1.5rem;
    align-items: start;
    padding: 1.35rem 1.5rem;
  }

  .booking-status-panel-head {
    margin-bottom: 0;
  }

  .booking-status-form {
    min-width: 0;
  }

  .booking-status-grid {
    grid-template-columns: 1fr 1fr auto;
    margin-bottom: 0;
  }

  .booking-status-result {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .booking-status-grid {
    grid-template-columns: 1fr 1fr;
  }

  .booking-status-submit {
    grid-column: 1 / -1;
  }
}

.booking-status-form input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(13, 60, 110, 0.18);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.booking-status-form input::placeholder {
  color: rgba(92, 102, 115, 0.75);
}

.booking-status-form input:focus {
  outline: none;
  background: #fff;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(24, 119, 210, 0.16);
}

.booking-status-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--teal-deep);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .booking-status-submit {
    width: auto;
    min-width: 9.5rem;
    align-self: end;
  }
}

.booking-status-submit:hover:not(:disabled) {
  background: var(--blue-mid, #0f4c8c);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(10, 51, 104, 0.2);
}

.booking-status-submit:disabled {
  cursor: wait;
  opacity: 0.85;
}

.booking-status-submit.is-loading .booking-status-submit-label {
  display: none;
}

.booking-status-submit.is-loading .booking-status-submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-status-submit-loading[hidden] {
  display: none !important;
}

.booking-status-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: bookingStatusSpin 0.7s linear infinite;
}

@keyframes bookingStatusSpin {
  to { transform: rotate(360deg); }
}

.booking-status-result {
  margin-top: 1rem;
}

.booking-status-result[hidden] {
  display: none !important;
}

.booking-status-card {
  border-radius: 10px;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(13, 60, 110, 0.12);
  background: var(--cream);
}

.booking-status-card.is-error {
  background: var(--danger-wash);
  border-color: rgba(220, 38, 38, 0.22);
}

.booking-status-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.booking-status-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.02em;
}

.booking-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-status-badge.is-new {
  background: rgba(24, 119, 210, 0.14);
  color: var(--teal-deep);
}

.booking-status-badge.is-confirmed {
  background: #e8f7ee;
  color: #166534;
}

.booking-status-badge.is-completed {
  background: var(--sage);
  color: var(--muted);
}

.booking-status-badge.is-cancelled {
  background: rgba(220, 38, 38, 0.12);
  color: var(--danger-deep);
}

.booking-status-meta {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
}

.booking-status-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--ink);
}

.booking-status-meta span:first-child {
  color: var(--muted);
  font-weight: 500;
}

.booking-status-meta strong {
  font-weight: 600;
  text-align: right;
}

.booking-status-next {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(13, 60, 110, 0.1);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink);
}

.booking-status-error-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--danger-deep);
}

.booking-status-error-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .booking-status-spinner {
    animation: none;
    border-top-color: #fff;
  }
  .booking-status-submit:hover:not(:disabled) {
    transform: none;
  }
}

.booking-confirm-modal {
  position: fixed; inset: 0; z-index: 10050;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.booking-confirm-modal.open { pointer-events: auto; opacity: 1; visibility: visible; }
.booking-confirm-backdrop {
  position: absolute; inset: 0; background: rgba(10, 51, 104, 0.55); backdrop-filter: blur(3px);
}
.booking-confirm-panel {
  position: relative; width: min(420px, 100%); background: #fff; border-radius: 14px;
  padding: 1.75rem 1.5rem 1.35rem; box-shadow: 0 24px 60px rgba(10, 51, 104, 0.28); text-align: center;
}
.booking-confirm-close {
  position: absolute; top: 0.65rem; right: 0.65rem; width: 2rem; height: 2rem;
  border: 0; border-radius: 50%; background: var(--sage); color: var(--ink); font-size: 1.25rem; cursor: pointer;
}
.booking-confirm-icon {
  width: 3rem; height: 3rem; margin: 0 auto 0.85rem; border-radius: 50%;
  display: grid; place-items: center; background: #e8f7ee; color: #1a7a46;
}
.booking-confirm-modal.is-warn .booking-confirm-icon { background: #fff4e5; color: #b86a12; }
.booking-confirm-icon svg { width: 1.5rem; height: 1.5rem; }
.booking-confirm-panel h2 { margin: 0 0 0.5rem; font-size: 1.25rem; color: var(--ink); }
.booking-confirm-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald, #1877d2);
}
.booking-confirm-message { margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; }
.booking-confirm-ref {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem; background: var(--cream); border-radius: 10px; margin-bottom: 0.85rem;
}
.booking-confirm-ref span {
  width: 100%; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
}
.booking-confirm-ref strong { font-size: 1.15rem; letter-spacing: 0.04em; color: var(--blue-deep); }
.booking-confirm-copy {
  border: 1px solid rgba(10, 51, 104, 0.15); background: #fff; border-radius: 999px;
  padding: 0.35rem 0.75rem; font-size: 0.75rem; font-weight: 700; color: var(--blue-mid); cursor: pointer;
}
.booking-confirm-steps { margin: 0; font-size: 0.85rem; color: var(--ink); line-height: 1.5; }
.booking-confirm-next {
  margin: 0 0 1.15rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md, 8px);
  background: rgba(13, 60, 110, 0.04);
  border: 1px solid rgba(13, 60, 110, 0.08);
  text-align: left;
}
.booking-confirm-next-title {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.booking-confirm-details {
  margin: 0 0 1rem;
  text-align: left;
}
.booking-confirm-details-title {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.booking-confirm-dl {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}
.booking-confirm-dl > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  font-size: 0.86rem;
}
.booking-confirm-dl dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}
.booking-confirm-dl dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.booking-confirm-contact {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.booking-confirm-contact a {
  color: var(--blue-deep, #0d3c6e);
  text-decoration: underline;
}
.booking-confirm-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.booking-confirm-actions .btn-primary,
.booking-confirm-actions .btn-secondary { width: auto; }

.booking-confirm-actions .btn-secondary {
  background: #fff;
  color: var(--teal-deep);
  border: 1px solid rgba(13, 60, 110, 0.22);
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .booking-confirm-modal { transition: none; }
}


/* Booking review modal (pre-submit) */
.booking-review-modal {
  position: fixed; inset: 0; z-index: 10060;
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.booking-review-modal.open { pointer-events: auto; opacity: 1; visibility: visible; }
.booking-review-backdrop {
  position: absolute; inset: 0; background: rgba(10, 51, 104, 0.62); backdrop-filter: blur(4px);
}
.booking-review-panel {
  position: relative; width: 100%; max-width: 560px; max-height: 92vh;
  overflow: auto; background: #fff; border-radius: 18px 18px 0 0;
  padding: 1.35rem 1.25rem 1.25rem; box-shadow: 0 -16px 48px rgba(10, 51, 104, 0.28);
  transform: translateY(24px); transition: transform 0.3s ease;
}
.booking-review-modal.open .booking-review-panel { transform: none; }
@media (min-width: 640px) {
  .booking-review-modal { align-items: center; padding: 1.25rem; }
  .booking-review-panel { border-radius: 16px; max-height: 88vh; }
}
.booking-review-close {
  position: absolute; top: 0.75rem; right: 0.75rem; width: 2.25rem; height: 2.25rem;
  border: 0; border-radius: 50%; background: var(--sage); color: var(--ink); font-size: 1.35rem; cursor: pointer;
}
.booking-review-kicker {
  margin: 0 0 0.35rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #b45309;
}
.booking-review-panel h2 { margin: 0 0 0.4rem; font-size: 1.35rem; color: var(--blue-deep); }
.booking-review-lead { margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.booking-review-body { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.15rem; }
.booking-review-section {
  padding: 0.9rem 1rem; border-radius: 12px; background: var(--cream);
  border: 1px solid rgba(10, 51, 104, 0.08);
}
.booking-review-section h3 {
  margin: 0 0 0.65rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--blue-mid);
}
.booking-review-dl { margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.booking-review-row { display: grid; grid-template-columns: minmax(6.5rem, 34%) 1fr; gap: 0.5rem; }
.booking-review-row dt { margin: 0; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.booking-review-row dd { margin: 0; font-size: 0.92rem; color: var(--ink); font-weight: 600; line-height: 1.4; word-break: break-word; }
.booking-review-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  position: sticky;
  bottom: 0;
  padding-top: 0.5rem;
  background: #fff;
}
.booking-review-change,
.booking-review-confirm {
  min-height: 2.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.booking-review-change {
  background: #fff;
  color: var(--blue-deep);
  border: 1px solid rgba(10, 51, 104, 0.2);
}
.booking-review-confirm.form-submit {
  margin-top: 0;
  width: 100%;
  box-shadow: 0 4px 14px rgba(24, 119, 210, 0.22);
}
.booking-review-confirm.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(24, 119, 210, 0.28);
}
.booking-review-confirm:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
@media (max-width: 480px) {
  .booking-review-actions { grid-template-columns: 1fr; }
  .booking-review-row { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* Booking detail / status result */
.booking-detail-card { padding: 0; overflow: hidden; }
.booking-detail-hero {
  display: flex; justify-content: space-between; gap: 0.75rem; align-items: flex-start;
  padding: 1.1rem 1.15rem; background: linear-gradient(135deg, #0a3366, #145a9c); color: #fff;
}
.booking-detail-kicker {
  margin: 0 0 0.2rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.booking-detail-ref { margin: 0; font-size: 1.15rem; letter-spacing: 0.03em; color: #fff; }
.booking-detail-hero .booking-status-badge { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.booking-detail-grid { display: grid; gap: 0.75rem; padding: 1rem 1.05rem; }
@media (min-width: 720px) {
  .booking-detail-grid { grid-template-columns: 1fr 1fr; }
  .booking-detail-grid .booking-detail-section:last-child { grid-column: 1 / -1; }
}
.booking-detail-section {
  padding: 0.9rem 1rem; border-radius: 12px; background: var(--cream);
  border: 1px solid rgba(10, 51, 104, 0.08);
}
.booking-detail-section h4 {
  margin: 0 0 0.65rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--blue-mid);
}
.booking-detail-dl { margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.booking-detail-row { display: grid; grid-template-columns: minmax(6rem, 36%) 1fr; gap: 0.45rem; }
.booking-detail-row dt { margin: 0; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.booking-detail-row dd { margin: 0; font-size: 0.9rem; color: var(--ink); font-weight: 600; line-height: 1.4; word-break: break-word; }
.booking-detail-status-note {
  margin: 0 1.05rem 1.1rem; padding: 0.9rem 1rem; border-radius: 12px;
  background: #eef6ff; border: 1px solid rgba(24, 119, 210, 0.18);
}
.booking-detail-status-note strong { display: block; margin-bottom: 0.25rem; color: var(--blue-deep); font-size: 0.85rem; }
.booking-detail-status-note p { margin: 0; color: var(--ink); font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 520px) {
  .booking-detail-row { grid-template-columns: 1fr; gap: 0.12rem; }
}

/* ?? Dedicated specialist profile page (/specialists/{slug}) ?? */
.sp-page-body { background: var(--cream, #F8F6F2); }
.sp-page { position: relative; padding: 6.5rem 0 3rem; min-height: 70vh; }
.sp-page-bg {
  position: absolute; inset: 0 0 auto 0; height: 22rem; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(24, 119, 210, 0.14), transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(232, 148, 45, 0.1), transparent 45%);
}
.sp-shell { position: relative; max-width: 70rem; margin: 0 auto; padding: 0 1.1rem 2rem; }
.sp-breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.55rem; align-items: center;
  font-size: 0.82rem; color: rgba(18, 36, 58, 0.55); margin-bottom: 1.35rem;
}
.sp-breadcrumb a { color: var(--blue-deep, #0A3366); font-weight: 600; text-decoration: none; }
.sp-breadcrumb a:hover { color: var(--blue-accent, #1877D2); }
.sp-hero {
  display: grid; gap: 1.5rem; align-items: start; margin-bottom: 1.75rem;
  padding: 1.25rem; border-radius: 1.25rem; background: #fff;
  border: 1px solid rgba(10, 51, 102, 0.1);
  box-shadow: 0 18px 40px rgba(10, 51, 102, 0.07);
}
@media (min-width: 768px) {
  .sp-hero { grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr); gap: 2rem; padding: 1.75rem; }
}
.sp-hero-photo {
  width: min(16rem, 100%); margin: 0 auto; aspect-ratio: 4 / 5; border-radius: 1rem;
  overflow: hidden; background: #e8eef5; box-shadow: 0 12px 28px rgba(10, 51, 102, 0.12);
}
@media (min-width: 768px) { .sp-hero-photo { width: 100%; margin: 0; } }
.sp-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.sp-hero-photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  color: var(--blue-deep);
  background: linear-gradient(160deg, #e8f1fb 0%, #d5e5f6 55%, #c5daf0 100%);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
}
.sp-kicker {
  margin: 0 0 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-accent, #1877D2);
}
.sp-hero-copy h1 {
  margin: 0 0 0.35rem; font-size: clamp(1.85rem, 4vw, 2.55rem); line-height: 1.15;
  color: var(--blue-deep, #0A3366);
}
.sp-specialty { margin: 0 0 1rem; font-size: 1.05rem; color: rgba(18, 36, 58, 0.72); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.15rem; }
.sp-chip {
  display: inline-flex; align-items: center; padding: 0.28rem 0.7rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 650; text-decoration: none; border: 1px solid transparent;
}
.sp-chip:not(.sp-chip-muted):not(.sp-chip-warn):not(.sp-chip-ok) {
  background: rgba(24, 119, 210, 0.1); color: var(--blue-deep);
}
.sp-chip-muted { background: rgba(10, 51, 102, 0.06); color: rgba(18, 36, 58, 0.75); }
.sp-chip-ok { background: rgba(16, 185, 129, 0.12); color: #047857; }
.sp-chip-warn { background: rgba(232, 148, 45, 0.16); color: #9a5b10; }
.sp-quickfacts {
  display: grid; gap: 0.75rem; margin: 0 0 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
}
.sp-quickfacts div {
  padding: 0.7rem 0.8rem; border-radius: 0.75rem; background: rgba(248, 246, 242, 0.9);
  border: 1px solid rgba(10, 51, 102, 0.06);
}
.sp-quickfacts dt {
  margin: 0 0 0.2rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(18, 36, 58, 0.5);
}
.sp-quickfacts dd { margin: 0; font-size: 0.92rem; font-weight: 650; color: var(--ink, #12243a); }
.sp-quickfacts a { color: var(--blue-deep); text-decoration: none; }
.sp-quickfacts a:hover { color: var(--blue-accent); }
.sp-muted { color: rgba(18, 36, 58, 0.55); font-weight: 500; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sp-book-btn,
.sp-secondary-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.2rem; border-radius: 999px; font-weight: 650; font-size: 0.92rem;
  text-decoration: none !important; border: 1px solid transparent;
}
.sp-book-btn { background: var(--emerald, #059669); color: #fff !important; }
.sp-book-btn:hover { filter: brightness(1.05); }
.sp-book-btn.is-disabled {
  background: rgba(18, 36, 58, 0.12); color: rgba(18, 36, 58, 0.45) !important; cursor: not-allowed;
}
.sp-secondary-btn {
  background: rgba(24, 119, 210, 0.08); color: var(--blue-deep) !important;
}
.sp-secondary-btn:hover { background: rgba(24, 119, 210, 0.14); }
.sp-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .sp-grid { grid-template-columns: 1.15fr 0.85fr; }
  .sp-card-wide { grid-column: 1 / -1; }
}
.sp-card {
  padding: 1.25rem 1.35rem; border-radius: 1rem; background: rgba(255,255,255,0.92);
  border: 1px solid rgba(10, 51, 102, 0.08);
}
.sp-card h2 {
  margin: 0 0 0.65rem; font-size: 1.35rem; color: var(--blue-deep);
}
.sp-lead { margin: 0 0 0.85rem; color: rgba(18, 36, 58, 0.75); }
.sp-prose { font-size: 1.02rem; line-height: 1.65; color: var(--ink); }
.sp-prose p { margin: 0 0 0.85rem; }
.sp-note { margin: 0 0 1rem; font-size: 0.88rem; color: rgba(18, 36, 58, 0.62); line-height: 1.5; }
.sp-detail-list { list-style: none; margin: 0; padding: 0; }
.sp-detail-list li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: 0.7rem 0; border-top: 1px solid rgba(10, 51, 102, 0.08); font-size: 0.95rem;
}
.sp-detail-list li:first-child { border-top: 0; }
.sp-detail-list span { color: rgba(18, 36, 58, 0.55); }
.sp-detail-list strong { color: var(--blue-deep); text-align: right; font-weight: 650; }
.sp-detail-list a { color: inherit; text-decoration: none; }
.sp-schedule { list-style: none; margin: 0; padding: 0; }
.sp-schedule li {
  display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 0.75rem; align-items: center;
  padding: 0.75rem 0.85rem; border-radius: 0.65rem; border-top: 1px solid rgba(10, 51, 102, 0.06);
}
.sp-schedule li:first-child { border-top: 0; }
.sp-schedule li.is-today { background: rgba(24, 119, 210, 0.08); }
.sp-schedule strong { color: var(--blue-deep); }
.sp-schedule span { color: rgba(18, 36, 58, 0.75); }
.sp-schedule em {
  font-style: normal; font-size: 0.72rem; font-weight: 700; color: var(--blue-accent);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.sp-reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.sp-reviews li {
  padding: 0.9rem 1rem; border-radius: 0.75rem; background: rgba(248, 246, 242, 0.85);
  border: 1px solid rgba(10, 51, 102, 0.06);
}
.sp-review-head { display: flex; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.35rem; }
.sp-review-head strong { color: var(--blue-deep); }
.sp-reviews p { margin: 0; color: rgba(18, 36, 58, 0.78); line-height: 1.5; }
.sp-colleagues {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.65rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.sp-colleagues a {
  display: block; padding: 0.85rem 1rem; border-radius: 0.75rem; text-decoration: none;
  background: #fff; border: 1px solid rgba(10, 51, 102, 0.1);
  transition: border-color 0.15s, transform 0.15s;
}
.sp-colleagues a:hover { border-color: rgba(24, 119, 210, 0.45); transform: translateY(-1px); }
.sp-colleague-name { display: block; font-weight: 700; color: var(--blue-deep); }
.sp-colleague-meta { display: block; margin-top: 0.2rem; font-size: 0.82rem; color: rgba(18, 36, 58, 0.55); }
.sp-cta-band {
  margin-top: 1.5rem; padding: 1.35rem 1.5rem; border-radius: 1.1rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--blue-deep), #0f4c8c);
  color: #fff;
}
.sp-cta-band h2 { margin: 0 0 0.35rem; font-size: 1.35rem; color: #fff; }
.sp-cta-band p { margin: 0; color: rgba(255,255,255,0.78); max-width: 36rem; }
.sp-cta-band .sp-book-btn { background: #fff; color: var(--blue-deep) !important; }
a.specialist-view-more,
a.doctor-view-more { text-decoration: none; }


/* Profile/department pages: footer must stay visible without scroll-reveal JS */
.sp-page-body--static .reveal,
.sp-page-body--static .reveal-left,
.sp-page-body--static .reveal-right,
.sp-page-body--static footer .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.sp-hero--dept {
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .sp-hero--dept {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  }
}
.sp-hero-photo--wide {
  width: 100%;
  aspect-ratio: 16 / 10;
}
.sp-gallery {
  display: flex;
  gap: 0.75rem;
}
.sp-gallery-item {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8eef5;
}
.sp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-index-hero { margin-bottom: 1.75rem; }
.sp-index-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--blue-deep);
}
.sp-dept-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.sp-dept-index-card {
  display: grid;
  grid-template-rows: 9rem auto;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(10, 51, 102, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.15s, border-color 0.15s;
}
.sp-dept-index-card:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 119, 210, 0.4);
}
.sp-dept-index-media {
  background: #e8eef5;
  overflow: hidden;
}
.sp-dept-index-media img,
.sp-dept-index-media .sp-hero-photo-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.sp-dept-index-body { padding: 1rem 1.05rem 1.15rem; }
.sp-dept-index-body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--blue-deep);
}
.sp-dept-index-body p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: rgba(18, 36, 58, 0.68);
  line-height: 1.45;
}
.sp-dept-index-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-accent);
}
a.service-visit-more { text-decoration: none; }

/* ?? Hospital news index + article pages ?? */
.news-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.news-card-author {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(10, 51, 104, 0.65);
}
.news-section-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}
.news-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--blue-deep);
  text-decoration: none;
  border: 1px solid rgba(10, 51, 104, 0.16);
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  background: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.news-all-link:hover {
  background: rgba(24, 119, 210, 0.08);
  border-color: rgba(10, 51, 104, 0.28);
  transform: translateY(-1px);
}
.news-empty {
  text-align: center;
  color: rgba(18, 36, 58, 0.62);
  padding: 1.5rem;
}

.news-index-hero {
  margin: 0 0 1.75rem;
  max-width: 40rem;
}
.news-index-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--blue-deep);
}
.news-index-lead {
  margin: 0;
  color: rgba(18, 36, 58, 0.72);
  font-size: 1.05rem;
  line-height: 1.55;
}
.news-index-empty {
  padding: 2rem 0;
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.news-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.news-index-card {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(10, 51, 102, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
@media (min-width: 720px) {
  .news-index-card {
    grid-template-columns: minmax(12rem, 17rem) 1fr;
  }
}
.news-index-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(10, 51, 104, 0.1);
}
.news-index-card-media {
  position: relative;
  min-height: 11rem;
  background: #e8eef5;
}
.news-index-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 11rem;
}
.news-index-card-fallback {
  display: grid;
  place-items: center;
  min-height: 11rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: rgba(10, 51, 104, 0.35);
  letter-spacing: 0.08em;
}
.news-index-chip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(10, 51, 104, 0.9);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.news-index-card-body {
  padding: 1.15rem 1.25rem 1.3rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.news-index-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  font-size: 0.8rem;
  color: rgba(18, 36, 58, 0.58);
  font-weight: 600;
}
.news-index-card-body h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--blue-deep);
  line-height: 1.25;
}
.news-index-card-body p {
  margin: 0;
  color: rgba(18, 36, 58, 0.72);
  line-height: 1.5;
  font-size: 0.95rem;
}
.news-index-more {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue-accent, #1877d2);
}
.news-index-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.75rem 0 0.5rem;
  flex-wrap: wrap;
}
.news-index-pager a,
.news-index-pager .is-disabled {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 51, 104, 0.14);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--blue-deep);
}
.news-index-pager .is-disabled {
  opacity: 0.45;
}
.news-index-page-label {
  font-size: 0.86rem;
  color: rgba(18, 36, 58, 0.62);
  font-weight: 600;
}

.news-article-shell {
  max-width: 52rem;
}
.news-article-header {
  margin: 0 0 1.35rem;
}
.news-article-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-accent, #1877d2);
}
.news-article-header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.15;
  color: var(--blue-deep);
}
.news-article-deck {
  margin: 0 0 1.1rem;
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(18, 36, 58, 0.78);
}
.news-article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  align-items: baseline;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(10, 51, 102, 0.1);
  font-size: 0.92rem;
  color: rgba(18, 36, 58, 0.68);
}
.news-article-author-label {
  margin-right: 0.25rem;
  color: rgba(18, 36, 58, 0.5);
}
.news-article-author {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
}
.news-article-author-creds,
.news-index-author-creds {
  font-weight: 500;
  color: color-mix(in srgb, var(--ink, #12243a) 58%, transparent);
  font-size: 0.9em;
}
.news-article-updated {
  font-size: 0.86rem;
  color: color-mix(in srgb, var(--ink, #12243a) 55%, transparent);
}
.doctor-education {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--blue, #0a3366) 10%, transparent);
}
.doctor-education .font-display {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--blue-deep, #0a3366);
}
.news-article-byline time {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.news-article-tz {
  color: rgba(18, 36, 58, 0.45);
  font-size: 0.82rem;
}
.news-article-media {
  margin: 0 0 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--blue, #0a3366) 8%, #e8eef5);
}
.news-article-cover {
  margin: 0 0 1.75rem;
}
.news-article-cover img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 28rem);
  object-fit: cover;
}
.news-article-media-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin: 0 0 0.85rem;
}
.news-article-media-head .font-display {
  margin: 0;
  font-size: 1.35rem;
  color: var(--blue-deep, #0a3366);
}
.news-article-media-count {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--ink, #12243a) 55%, transparent);
}
.news-article-gallery,
.news-article-videos {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--blue, #0a3366) 12%, transparent);
}
.news-article-gallery-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}
.news-article-gallery-grid.is-two,
.news-article-gallery-grid.is-three,
.news-article-gallery-grid.is-four,
.news-article-gallery-grid.is-many {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.news-article-gallery-item {
  margin: 0;
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--blue, #0a3366) 8%, #e8eef5);
  min-width: 0;
}
.news-article-gallery-grid.is-one .news-article-gallery-item {
  aspect-ratio: 16 / 10;
}
.news-article-gallery-grid.is-two .news-article-gallery-item,
.news-article-gallery-grid.is-four .news-article-gallery-item,
.news-article-gallery-grid.is-many .news-article-gallery-item {
  aspect-ratio: 4 / 3;
}
.news-article-gallery-grid.is-three .news-article-gallery-item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}
.news-article-gallery-grid.is-three .news-article-gallery-item:not(:first-child) {
  aspect-ratio: 4 / 3;
}
.news-article-gallery-open {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
}
.news-article-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.news-article-gallery-open:hover img,
.news-article-gallery-open:focus-visible img {
  transform: scale(1.03);
}
.news-article-gallery-open:focus-visible {
  outline: 2px solid var(--blue-accent, #1877d2);
  outline-offset: 2px;
}
.news-article-videos-stack {
  display: grid;
  gap: 1.15rem;
}
.news-article-video {
  margin: 0;
}
.news-article-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a1930;
  overflow: hidden;
}
.news-article-video-frame video,
.news-article-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0a1930;
}
.news-article-video-frame video {
  object-fit: contain;
}
.news-page-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}
.news-page-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.75rem;
  display: block;
}
.news-lightbox {
  padding: 0;
  border: 0;
  border-radius: 0.85rem;
  max-width: min(96vw, 64rem);
  max-height: 92vh;
  background: #0a1930;
  color: #fff;
  overflow: hidden;
}
.news-lightbox::backdrop {
  background: rgba(6, 16, 32, 0.78);
  backdrop-filter: blur(4px);
}
.news-lightbox-bar {
  display: flex;
  justify-content: flex-end;
  padding: 0.55rem 0.65rem;
  background: rgba(0, 0, 0, 0.35);
}
.news-lightbox-close {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}
.news-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 3rem);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
@media (min-width: 640px) {
  .news-article-gallery-grid.is-many {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .news-article-gallery-grid.is-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-page-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .news-article-gallery-grid.is-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-article-gallery-grid.is-many {
    gap: 0.85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-article-gallery-item img {
    transition: none;
  }
}
.news-article-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(18, 36, 58, 0.9);
}
.news-article-prose p,
.news-article-prose ul,
.news-article-prose ol,
.news-article-prose blockquote,
.news-article-prose figure {
  margin: 0 0 1.05rem;
}
.news-article-prose h2,
.news-article-prose h3 {
  margin: 1.5rem 0 0.65rem;
  color: var(--blue-deep);
  line-height: 1.25;
}
.news-article-prose img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.85rem;
  display: block;
}
.news-article-prose video,
.news-article-prose iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 0.85rem;
  display: block;
  background: #0a1930;
}
.news-article-prose a {
  color: var(--blue-accent, #1877d2);
  font-weight: 600;
}
.news-article-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(10, 51, 102, 0.1);
}
.news-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(10, 51, 102, 0.1);
}
.news-related h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--blue-deep);
}
.news-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .news-related-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.news-related-list a {
  display: grid;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(10, 51, 102, 0.08);
  height: 100%;
}
.news-related-list img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.55rem;
  background: #e8eef5;
}
.news-related-list time {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(18, 36, 58, 0.55);
  margin-bottom: 0.2rem;
}
.news-related-list strong {
  color: var(--blue-deep);
  font-size: 0.95rem;
  line-height: 1.3;
}

/* ===== Section 02 — Clinical departments showcase ===== */
.dept-showcase {
  position: relative;
  background: linear-gradient(165deg, #f3f7fb 0%, #eef4fa 42%, #f8f6f2 100%);
  isolation: isolate;
}
.dept-showcase::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 51, 104, 0.12), transparent);
}
.dept-showcase-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .dept-showcase-head {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
    align-items: end;
  }
}
.dept-showcase-copy .section-number { display: block; margin-bottom: 0.35rem; }
.dept-showcase-copy .section-eyebrow { display: block; margin-bottom: 0.45rem; }
.dept-showcase-copy .section-title { margin: 0 0 0.85rem; }
.dept-showcase-copy .services-intro { margin: 0; }
.dept-showcase-grid.services-bento { gap: 1.15rem; }

.dept-card {
  margin: 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.08);
  box-shadow: 0 10px 28px rgba(10, 51, 104, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.dept-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 119, 210, 0.22);
  box-shadow: 0 16px 36px rgba(10, 51, 104, 0.1);
}
.dept-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.dept-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dbe7f4;
}
.dept-card-img,
.dept-card-media img,
.dept-card-media .staff-photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 0;
  border-radius: 0;
}
.dept-card-index {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  font-family: "Playfair Display", serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(10, 51, 104, 0.72);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  line-height: 1;
}
.dept-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.1rem 1.15rem 1.2rem;
  flex: 1;
}
.dept-card-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--teal-deep);
}
.dept-card-desc {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dept-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(10, 51, 104, 0.08);
}
.dept-card-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(18, 36, 58, 0.55);
}
.dept-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}
.dept-card-find {
  appearance: none;
  border: 1px solid rgba(10, 51, 104, 0.16);
  background: var(--blue-deep, #0a3368);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.dept-card-find:hover {
  background: var(--blue-mid, #0f4c8c);
}
.dept-card-find:focus-visible {
  outline: 2px solid var(--blue, #1877d2);
  outline-offset: 2px;
}
.dept-card-title a {
  color: inherit;
  text-decoration: none;
}
.dept-card-title a:hover { color: var(--blue); }
.dept-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  text-decoration: none;
}
.dept-card-cta svg {
  width: 1rem !important;
  height: 1rem !important;
  flex: 0 0 1rem;
  display: block;
  stroke: currentColor;
}
.dept-card--featured { border-color: rgba(24, 119, 210, 0.18); }

/* ===== Section 04 — Staff directory ===== */
.staff-dir-section {
  background: #fff;
  border-top: 1px solid rgba(10, 51, 104, 0.08);
  border-bottom: 1px solid rgba(10, 51, 104, 0.08);
}
.staff-dir-lead {
  max-width: 40rem;
  margin: -0.35rem 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(18, 36, 58, 0.68);
}
.staff-dir-controls {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(10, 51, 104, 0.1);
}
@media (min-width: 720px) {
  .staff-dir-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1rem;
  }
}
.staff-dir-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(10, 51, 104, 0.04);
  border: 1px solid rgba(10, 51, 104, 0.08);
}
.staff-dir-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  appearance: none;
  border: 1px solid rgba(10, 51, 104, 0.16);
  background: #fff;
  color: var(--teal-deep);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}
.staff-dir-back:hover {
  border-color: rgba(24, 119, 210, 0.35);
  color: var(--blue);
}
.staff-dir-context-copy {
  flex: 1 1 10rem;
  min-width: 0;
}
.staff-dir-context-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.25;
}
.staff-dir-context-sub {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.staff-dir-dept-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.staff-dir-dept-link:hover { text-decoration: underline; }
.staff-dir-dept-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
@media (min-width: 720px) {
  .staff-dir-dept-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
  }
}
@media (min-width: 1100px) {
  .staff-dir-dept-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.staff-dir-dept-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-height: 5.5rem;
  padding: 1rem 1.05rem;
  text-align: left;
  appearance: none;
  border: 1px solid rgba(10, 51, 104, 0.1);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.staff-dir-dept-tile:hover {
  border-color: rgba(24, 119, 210, 0.28);
  box-shadow: 0 10px 24px rgba(10, 51, 104, 0.08);
  transform: translateY(-2px);
}
.staff-dir-dept-tile:focus-visible {
  outline: 2px solid var(--blue, #1877d2);
  outline-offset: 2px;
}
.staff-dir-dept-tile-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--teal-deep);
}
.staff-dir-dept-tile-meta {
  font-size: 0.82rem;
  color: var(--muted);
}
.staff-dir-list-tools {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.staff-dir-chips {
  display: grid;
  gap: 0.4rem;
}
.staff-dir-chips-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(18, 36, 58, 0.5);
}
.staff-dir-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.staff-dir-chip-row--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.staff-dir-chip-row--scroll .staff-dir-chip {
  flex: 0 0 auto;
}
.staff-dir-chip {
  appearance: none;
  border: 1px solid rgba(10, 51, 104, 0.14);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}
.staff-dir-chip:hover {
  border-color: rgba(24, 119, 210, 0.35);
  color: var(--blue);
}
.staff-dir-chip.is-active {
  background: rgba(24, 119, 210, 0.1);
  border-color: rgba(24, 119, 210, 0.35);
  color: var(--blue-deep, #0a3368);
}
.staff-dir-chip:focus-visible {
  outline: 2px solid var(--blue, #1877d2);
  outline-offset: 2px;
}
.staff-dir-search { position: relative; }
.staff-dir-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateY(-50%);
  color: rgba(18, 36, 58, 0.45);
  pointer-events: none;
}
.staff-dir-search-input {
  width: 100%;
  padding: 0.75rem 0.9rem 0.75rem 2.55rem;
  border: 1px solid rgba(10, 51, 104, 0.14);
  border-radius: 10px;
  background: #f8fafc;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}
.staff-dir-search-input:focus {
  outline: none;
  border-color: rgba(24, 119, 210, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(24, 119, 210, 0.12);
}
.staff-dir-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (max-width: 640px) {
  .staff-dir-filters { grid-template-columns: 1fr; }
}
.staff-dir-filter {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
}
.staff-dir-filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(18, 36, 58, 0.5);
}
.staff-dir-filter select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(10, 51, 104, 0.14);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
}
.staff-dir-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
}
@media (min-width: 900px) {
  .staff-dir-meta { align-items: flex-end; text-align: right; }
}
.staff-dir-count {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.staff-dir-today {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.staff-dir-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.staff-dir-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(10, 51, 104, 0.1);
  border-radius: 12px;
  background: #fff;
}
@media (min-width: 900px) {
  .staff-dir-row {
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 1.15rem;
    padding: 1rem 1.15rem;
  }
}
.staff-dir-photo {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef5;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .staff-dir-photo { width: 5rem; height: 5rem; }
}
.staff-dir-photo-img,
.staff-dir-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.staff-dir-photo .staff-photo-placeholder {
  width: 100%;
  height: 100%;
  border: 0;
}
.staff-dir-info {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}
@media (min-width: 900px) {
  .staff-dir-info {
    grid-template-columns: minmax(0, 1.4fr) minmax(10rem, 1fr) auto;
    align-items: center;
    gap: 1rem;
  }
}
.staff-dir-identity {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.staff-dir-type {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(18, 36, 58, 0.5);
}
.staff-dir-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--teal-deep);
}
.staff-dir-name a { color: inherit; text-decoration: none; }
.staff-dir-name a:hover { color: var(--blue); }
.staff-dir-role {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
}
.staff-dir-availability {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(10, 51, 104, 0.04);
}
.staff-dir-availability.is-available { background: rgba(24, 119, 210, 0.08); }
.staff-dir-availability-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(18, 36, 58, 0.45);
}
.staff-dir-availability-value {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--teal-deep);
}
.staff-dir-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  width: 100%;
  max-width: 22rem;
}
@media (min-width: 900px) {
  .staff-dir-actions {
    width: 15.75rem;
    max-width: none;
  }
}
.staff-dir-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}
.staff-dir-btn--ghost {
  color: var(--teal-deep);
  background: #fff;
  border-color: rgba(10, 51, 104, 0.18);
}
.staff-dir-btn--ghost:hover {
  border-color: rgba(24, 119, 210, 0.35);
  color: var(--blue);
}
.staff-dir-btn--primary {
  color: #fff;
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}
.staff-dir-btn--primary:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
}
.staff-dir-empty {
  padding: 2.5rem 1.25rem;
  text-align: center;
  border: 1px dashed rgba(10, 51, 104, 0.16);
  border-radius: 12px;
  color: var(--muted);
}
.staff-dir-empty p {
  margin: 0;
  font-weight: 600;
  color: var(--teal-deep);
}
.about-link svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  display: block;
}

/* ===== Public pages: departments index/detail + news grid (20260828c) ===== */
.sp-shell--wide { max-width: 90rem; }
.country-flag {
  width: 1.25rem;
  height: 0.94rem;
  object-fit: cover;
  border-radius: 2px;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -0.12em;
  box-shadow: 0 0 0 1px rgba(10, 51, 104, 0.12);
}
.search-select-trigger .country-flag,
.search-select-option .country-flag {
  margin-right: 0.35rem;
}
.search-select-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.search-select-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dept-index-page { padding-top: 6.25rem; }
.dept-index-hero {
  margin: 0 0 2rem;
  max-width: 42rem;
}
.dept-index-hero .section-number { display: block; margin-bottom: 0.35rem; }
.dept-index-hero .section-eyebrow { display: block; margin-bottom: 0.45rem; }
.dept-index-hero .section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  color: var(--blue-deep, #0A3366);
}
.dept-index-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(18, 36, 58, 0.72);
}
.dept-index-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .dept-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .dept-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
}
@media (min-width: 1280px) {
  .dept-index-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.dept-detail-page { padding-top: 0; }
.dept-detail-hero {
  position: relative;
  min-height: clamp(18rem, 48vw, 26rem);
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.dept-detail-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a3366;
}
.dept-detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.dept-detail-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 24, 48, 0.35) 0%, rgba(6, 24, 48, 0.72) 55%, rgba(6, 24, 48, 0.92) 100%),
    linear-gradient(90deg, rgba(6, 24, 48, 0.55), transparent 65%);
}
.dept-detail-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 5.5rem;
  padding-bottom: 2rem;
}
.sp-breadcrumb--on-dark,
.sp-breadcrumb--on-dark a { color: rgba(255, 255, 255, 0.82); }
.sp-breadcrumb--on-dark a:hover { color: #fff; }
.dept-detail-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.dept-detail-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.12;
  color: #fff;
}
.dept-detail-lead {
  margin: 0 0 1.15rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.dept-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.sp-secondary-btn--light {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.sp-secondary-btn--light:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}
.dept-detail-body { padding-top: 1.75rem; }
.dept-detail-layout {
  display: grid;
  gap: 1.35rem;
  align-items: start;
}
@media (min-width: 960px) {
  .dept-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
    gap: 1.75rem;
  }
}
.dept-detail-main {
  display: grid;
  gap: 1.15rem;
}
.dept-detail-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 51, 104, 0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.3rem 1.4rem;
  box-shadow: 0 10px 28px rgba(10, 51, 104, 0.05);
}
.dept-detail-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: var(--blue-deep, #0A3366);
}
.dept-detail-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.85rem;
}
.dept-detail-card-head h2 { margin: 0; }
.dept-detail-card-head p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(18, 36, 58, 0.58);
  font-weight: 600;
}
.dept-detail-summary {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(18, 36, 58, 0.82);
}
.dept-detail-prose {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(18, 36, 58, 0.78);
}
.dept-detail-offers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.dept-detail-offers li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(248, 246, 242, 0.85);
  border: 1px solid rgba(10, 51, 104, 0.06);
}
.dept-detail-offer-mark {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: var(--blue-accent, #1877D2);
  flex: 0 0 auto;
}
.dept-team-search { margin-bottom: 0.85rem; }
.dept-team-search-input {
  width: 100%;
  border: 1px solid rgba(10, 51, 104, 0.14);
  border-radius: 0.65rem;
  padding: 0.7rem 0.9rem;
  font: inherit;
  background: #fff;
}
.dept-team-search-input:focus {
  outline: 2px solid rgba(24, 119, 210, 0.35);
  border-color: rgba(24, 119, 210, 0.45);
}
.dept-team-empty-actions,
.dept-team-filter-empty {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.dept-team-filter-empty {
  margin: 0.75rem 0 0;
  color: rgba(18, 36, 58, 0.58);
  font-weight: 600;
}
.dept-detail-team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.dept-detail-person-wrap { list-style: none; }
.dept-detail-person {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.75rem 0.9rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(10, 51, 104, 0.1);
  border-radius: 0.85rem;
  background: #fff;
}
@media (min-width: 720px) {
  .dept-detail-person {
    grid-template-columns: 3.75rem minmax(0, 1fr) auto;
  }
}
.dept-detail-person-photo {
  width: 3.5rem;
  height: 4.15rem;
  border-radius: 0.55rem;
  overflow: hidden;
  background: #e8eef5;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  font-weight: 700;
  text-decoration: none;
}
.dept-detail-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.dept-detail-person-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.dept-detail-person-type {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(18, 36, 58, 0.5);
}
.dept-detail-person-copy strong {
  font-size: 1rem;
  color: var(--blue-deep);
}
.dept-detail-person-copy strong a {
  color: inherit;
  text-decoration: none;
}
.dept-detail-person-copy strong a:hover { color: var(--blue-accent, #1877D2); }
.dept-detail-person-role,
.dept-detail-person-clinic {
  font-size: 0.86rem;
  color: rgba(18, 36, 58, 0.62);
}
.dept-detail-person-clinic.is-available {
  color: #047857;
  font-weight: 650;
}
.dept-detail-person-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  grid-column: 1 / -1;
  width: 100%;
  max-width: 22rem;
}
@media (min-width: 720px) {
  .dept-detail-person-actions {
    grid-column: auto;
    width: 15.75rem;
    max-width: none;
    justify-self: end;
  }
}
.dept-detail-person-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  border-radius: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  box-sizing: border-box;
}
.dept-detail-person-btn--ghost {
  color: var(--blue-deep);
  background: #fff;
  border-color: rgba(10, 51, 104, 0.18);
}
.dept-detail-person-btn--primary {
  color: #fff;
  background: var(--blue-deep, #0A3366);
  border-color: var(--blue-deep, #0A3366);
}
.dept-detail-person-btn--primary:hover {
  background: var(--blue-mid, #0F4C8C);
}

.dept-photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12rem, 16rem);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.dept-photo-strip-item {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e8eef5;
  scroll-snap-align: start;
  aspect-ratio: 16 / 11;
}
.dept-photo-strip-item img,
.dept-photo-strip-item video,
.dept-photo-strip-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 0;
}
.dept-photo-strip-item--video {
  aspect-ratio: 16 / 10;
  background: #0a3366;
}
.dept-photo-strip-item--video video,
.dept-photo-strip-item--video iframe {
  object-fit: contain;
  background: #000;
}

.dept-detail-aside-card {
  position: sticky;
  top: 5.5rem;
  background: #fff;
  border: 1px solid rgba(10, 51, 104, 0.1);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem 1.35rem;
  box-shadow: 0 14px 32px rgba(10, 51, 104, 0.07);
}
.dept-detail-aside-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.2rem;
  color: var(--blue-deep);
}
.dept-detail-facts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.dept-detail-facts li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(10, 51, 104, 0.07);
}
.dept-detail-facts span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(18, 36, 58, 0.5);
}
.dept-detail-facts strong {
  font-size: 0.95rem;
  color: var(--ink, #12243a);
  font-weight: 650;
}
.dept-detail-facts a { color: var(--blue-deep); text-decoration: none; }
.dept-detail-aside-cta { width: 100%; text-align: center; margin-bottom: 0.65rem; }
.dept-detail-aside-link {
  display: block;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-accent, #1877D2);
  text-decoration: none;
}
.dept-related { margin-top: 2rem; }
.dept-related h2 {
  margin: 0 0 0.9rem;
  font-size: 1.35rem;
  color: var(--blue-deep);
}
.dept-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}
.dept-related-list a {
  display: grid;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
}
.dept-related-list img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 0.65rem;
  background: #e8eef5;
}
.dept-related-list span {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-deep);
}

.news-index-page { padding-top: 6.25rem; }
.news-index-hero {
  margin: 0 0 2rem;
  max-width: 40rem;
}
.news-index-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.95rem, 4vw, 2.8rem);
  color: var(--blue-deep);
  line-height: 1.15;
}
.news-index-lead {
  margin: 0;
  color: rgba(18, 36, 58, 0.72);
  font-size: 1.05rem;
  line-height: 1.6;
}
.news-index-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .news-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .news-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
}
.news-index-grid .news-index-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 51, 102, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.news-index-grid .news-index-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 119, 210, 0.2);
  box-shadow: 0 16px 36px rgba(10, 51, 104, 0.1);
}
.news-index-grid .news-index-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  background: #e8eef5;
}
.news-index-grid .news-index-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 0;
}
.news-index-grid .news-index-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  flex: 1;
}
.news-index-grid .news-index-card-body h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--blue-deep);
}
.news-index-grid .news-index-card-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(18, 36, 58, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-index-grid .news-index-more {
  margin-top: auto;
  padding-top: 0.55rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue-accent, #1877D2);
}



/* Doctor profile â€” department panel + peer cards */
.doctor-profile-hero .sp-kicker a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.doctor-profile-photo {
  min-height: 16rem;
  background: #e8eef5;
  border-radius: 1rem;
  overflow: hidden;
}
.doctor-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}
.doctor-dept-panel {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(10, 51, 104, 0.1);
  border-radius: 0.9rem;
  overflow: hidden;
  background: #f7f9fc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
@media (min-width: 720px) {
  .doctor-dept-panel {
    grid-template-columns: minmax(10rem, 14rem) 1fr;
  }
}
.doctor-dept-panel:hover {
  border-color: rgba(24, 119, 210, 0.35);
  box-shadow: 0 10px 28px rgba(10, 51, 104, 0.08);
}
.doctor-dept-panel-media {
  min-height: 9rem;
  background: #d9e4f0;
}
.doctor-dept-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  min-height: 9rem;
}
.doctor-dept-panel-body {
  padding: 1.1rem 1.15rem 1.2rem;
  display: grid;
  gap: 0.35rem;
  align-content: center;
}
.doctor-dept-panel-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 76, 140, 0.85);
}
.doctor-dept-panel-body h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--blue-deep);
}
.doctor-dept-panel-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(18, 36, 58, 0.7);
}
.doctor-dept-panel-cta {
  margin-top: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue-accent);
}
.doctor-peer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .doctor-peer-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.doctor-peer-card {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.7rem;
  border: 1px solid rgba(10, 51, 104, 0.1);
  border-radius: 0.85rem;
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.doctor-peer-card:hover {
  border-color: rgba(24, 119, 210, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(10, 51, 104, 0.08);
}
.doctor-peer-photo {
  width: 4rem;
  height: 4.75rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #e8eef5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
}
.doctor-peer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  display: block;
}
.doctor-peer-photo .staff-photo-placeholder {
  width: 100%;
  height: 100%;
}
.doctor-peer-photo .staff-photo-initials {
  font-size: 1.05rem;
}
.doctor-peer-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.doctor-peer-dept {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(15, 76, 140, 0.85);
}
.doctor-peer-copy strong {
  color: var(--blue-deep);
  font-size: 0.98rem;
  line-height: 1.25;
}
.doctor-peer-copy span:last-child {
  font-size: 0.84rem;
  color: rgba(18, 36, 58, 0.62);
}

/* ===== Phase 1 — Privacy + Emergency pages ===== */
.privacy-shell {
  padding-top: 6.5rem;
  padding-bottom: 3rem;
}
.privacy-page-header {
  margin: 1.25rem 0 1.75rem;
  max-width: 40rem;
}
.privacy-page-header h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  color: var(--blue-deep);
}
.privacy-page-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.privacy-updated {
  margin-top: 0.75rem !important;
  font-size: 0.85rem;
  color: rgba(18, 36, 58, 0.5) !important;
}
.privacy-prose {
  max-width: 42rem;
}
.privacy-prose h2 {
  font-family: "Playfair Display", serif;
  color: var(--blue-deep);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}
.privacy-prose p,
.privacy-prose li {
  color: rgba(18, 36, 58, 0.82);
  line-height: 1.7;
}
.privacy-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}
.privacy-prose a {
  color: var(--blue);
  font-weight: 600;
}
.privacy-prose a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.privacy-emergency-note {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--danger-deep);
  font-weight: 600;
}

.emergency-page-banner {
  background: linear-gradient(165deg, var(--danger-darker) 0%, var(--danger-deep) 55%, var(--danger-mid) 100%);
  color: #fff;
  padding: 6.5rem 0 2.75rem;
}
.emergency-page-inner {
  max-width: 48rem;
}
.emergency-page-kicker {
  margin: 1rem 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.emergency-page-title {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  color: #fff;
}
.emergency-page-lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.emergency-page-call {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-width: min(100%, 18rem);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: #fff;
  color: var(--danger-deep);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.emergency-page-call:hover,
.emergency-page-call:focus-visible {
  background: var(--danger-wash);
}
.emergency-page-call:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.emergency-page-call-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.emergency-page-call-number {
  font-size: 1.35rem;
  line-height: 1.2;
}
.emergency-page-missing {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  line-height: 1.55;
}
.emergency-page-body {
  display: grid;
  gap: 1rem;
  padding: 1.75rem 0 3rem;
  max-width: 48rem;
}
.emergency-page-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(10, 51, 104, 0.1);
  border-radius: 12px;
  background: #fff;
}
.emergency-page-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--blue-deep);
}
.emergency-page-list {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(18, 36, 58, 0.82);
  line-height: 1.65;
}
.emergency-page-list li {
  margin: 0.4rem 0;
}
.emergency-page-note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.emergency-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.emergency-page-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 51, 104, 0.18);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  background: #fff;
}
.emergency-page-secondary:hover,
.emergency-page-secondary:focus-visible {
  border-color: rgba(24, 119, 210, 0.4);
  color: var(--blue);
}
.emergency-page-secondary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .emergency-page-call,
  .emergency-page-secondary {
    transition: none;
  }
}


/* ── Holiday celebrations — base layer (theme FX live in seasonal.css) ── */
.holiday-fx-layer {
  position: fixed;
  inset: 0;
  z-index: 36;
  overflow: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .holiday-ambient-bit,
  .holiday-rain-bit,
  .holiday-burst-bit { animation: none !important; display: none; }
}

/* -- SEO pages: FAQ + doctors index -- */
.faq-page { padding-top: 6.25rem; padding-bottom: 3rem; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
  max-width: 44rem;
}
.faq-item {
  border: 1px solid color-mix(in srgb, var(--blue) 14%, transparent);
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--surface, #fff) 92%, var(--blue) 8%);
  padding: 0;
  overflow: hidden;
}
.faq-question {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink, #122033);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-answer {
  padding: 0 1.1rem 1.05rem;
  color: color-mix(in srgb, var(--ink, #122033) 78%, transparent);
  line-height: 1.55;
}
.faq-answer p { margin: 0; }
.dept-faq {
  margin: 2.5rem 0 1rem;
  max-width: 44rem;
}
.dept-faq .font-display { margin-bottom: 0.35rem; }
.doctors-index-photo {
  aspect-ratio: 4 / 5;
  background: color-mix(in srgb, var(--blue) 8%, #f4f7fb);
}
.doctors-index-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctors-index-fallback {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  display: grid;
  place-items: center;
}
