/* ── Site-wide premium layout ── */
.site-page {
  background: #f4f9fb;
}

.privacy-content {
  max-width: 860px;
}

.privacy-content h2 {
  margin: 1.75rem 0 0.5rem;
  color: var(--color-primary-dark, #0b5a72);
}

.privacy-content p {
  color: #496c78;
  line-height: 1.9;
}

.privacy-updated {
  margin-top: 2rem;
  font-weight: 700;
}

.clinic-detail {
  display: grid;
  gap: 2rem;
}

.clinic-detail__intro {
  max-width: 780px;
}

.clinic-detail__intro h2,
.clinic-detail__section h2 {
  margin: 0.75rem 0;
  color: var(--ink);
}

.clinic-detail__intro p {
  color: #496c78;
  line-height: 1.9;
}

.clinic-detail__doctors,
.clinic-detail__schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.clinic-doctor-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
}

.clinic-doctor-card img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  background: #edf3f6;
}

.clinic-doctor-card strong,
.clinic-doctor-card span {
  display: block;
}

.clinic-doctor-card span {
  margin-top: 0.25rem;
  color: #5a7a8a;
  line-height: 1.6;
  font-size: 0.9rem;
}

.clinic-detail__schedule article,
.doctor-profile__slots article {
  padding: 1rem;
  border: 1px solid #e5f0f3;
  border-radius: 18px;
  background: #fff;
}

.clinic-detail__schedule strong,
.doctor-profile__slots strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--teal-deep);
}

.clinic-detail__schedule div,
.doctor-profile__slots div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.clinic-detail__schedule span,
.doctor-profile__slots span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #eaf8fa;
  color: #0b5a72;
  font-weight: 700;
  font-size: 0.88rem;
}

.site-header--premium {
  box-shadow: 0 4px 24px rgba(8, 72, 96, 0.06);
}

.main-nav a[aria-current="page"],
.main-nav a.is-active {
  color: var(--teal-deep);
  font-weight: 800;
}

.main-nav a[aria-current="page"]::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  color: #fff;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 52, 68, 0.9), rgba(24, 167, 184, 0.5));
}

.page-hero:not(:has(.page-hero__bg)) {
  background: linear-gradient(135deg, #083444 0%, #0f5f72 50%, #1aa8b6 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.page-hero__content h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.25;
}

.page-hero__content p {
  margin: 1rem auto 0;
  max-width: 58ch;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.page-body {
  padding: 2.5rem 0 4rem;
}

.page-intro {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 2.5rem;
}

.page-intro h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
}

.page-intro p {
  margin: 0;
  color: #5a7a8a;
  line-height: 1.85;
}

/* Hub landing */
.hub-hero {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  display: flex;
  align-items: center;
  color: #fff;
}

.hub-hero__bg {
  position: absolute;
  inset: 0;
}

.hub-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hub-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 42, 56, 0.55) 0%, rgba(6, 42, 56, 0.78) 55%, rgba(6, 42, 56, 0.88) 100%);
}

.hub-hero--facade .hub-hero__bg img {
  object-position: center 18%;
}

.hub-hero--facade .hub-hero__bg::after {
  background: linear-gradient(180deg, rgba(6, 42, 56, 0.5) 0%, rgba(6, 42, 56, 0.72) 50%, rgba(6, 42, 56, 0.9) 100%);
}

.hub-hero__secondary {
  margin-top: 1rem;
}

.hub-hero__inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  text-align: center;
}

.hub-hero__inner h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.2;
}

.hub-hero__inner > p {
  margin: 1rem auto 0;
  max-width: 52ch;
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
}

.hub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.hub-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hub-hero__btn--gold {
  background: linear-gradient(135deg, #e8b84a, #d4a035);
  color: #1a2a32;
  box-shadow: 0 12px 28px rgba(212, 160, 53, 0.35);
}

.hub-hero__btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hub-hero__btn:hover {
  transform: translateY(-2px);
}

.hub-stats {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}

/* Home — leadership message card */
.home-leadership {
  padding: 3rem 0 3.25rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(24, 167, 184, 0.08), transparent 70%),
    linear-gradient(180deg, #f7fbfc 0%, #eef4f6 100%);
}

.home-leadership__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.home-leadership__head h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  color: var(--ink);
}

.home-leadership__card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  align-items: stretch;
  padding: 0;
  border-radius: 28px;
  background: linear-gradient(155deg, #1a9aaa 0%, #148a98 48%, #0f7584 100%);
  color: #fff;
  box-shadow:
    0 24px 52px rgba(8, 72, 96, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.home-leadership__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(255, 255, 255, 0.14), transparent 58%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(0, 0, 0, 0.12), transparent 55%);
  pointer-events: none;
}

.home-leadership__panel {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-leadership__card > .home-leadership__panel {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-leadership__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.08);
}

.home-leadership__panel--profile img {
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.32),
    0 14px 32px rgba(0, 0, 0, 0.2);
}

.home-leadership__identity strong {
  display: block;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.35;
}

.home-leadership__identity span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  opacity: 0.92;
}

.home-leadership__quote {
  position: relative;
  margin: 0;
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  line-height: 1.95;
  font-size: 1.12rem;
  font-weight: 500;
  text-align: start;
  background: rgba(255, 255, 255, 0.06);
}

.home-leadership__quote p {
  margin: 0;
}

.home-leadership__quote-mark {
  flex-shrink: 0;
  font-size: 2.4rem;
  line-height: 1;
  opacity: 0.35;
  font-family: Georgia, serif;
}

/* Epic scroll reveal — leadership card */
.reveal.reveal-epic {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.reveal-epic .home-leadership__card {
  opacity: 0;
  transform: translateY(36px) scale(0.94);
  filter: blur(5px);
}

.reveal.reveal-epic .home-leadership__panel {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.reveal-epic.is-visible .home-leadership__card {
  animation: leadership-epic-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal.reveal-epic.is-visible .home-leadership__panel--profile {
  animation: leadership-panel-in 0.7s 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal.reveal-epic.is-visible .home-leadership__panel--quote {
  animation: leadership-panel-in 0.75s 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal.reveal-epic.is-visible .home-leadership__card::after {
  animation: leadership-shine 1.15s 0.35s ease forwards;
}

.home-leadership__card::after {
  content: '';
  position: absolute;
  inset: -20% -40%;
  z-index: 2;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0.08) 52%,
    transparent 62%
  );
  transform: translateX(-120%) rotate(8deg);
  opacity: 0;
  pointer-events: none;
}

@keyframes leadership-epic-in {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.94);
    filter: blur(5px);
  }
  65% {
    opacity: 1;
    transform: translateY(-4px) scale(1.015);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes leadership-panel-in {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes leadership-shine {
  0% {
    opacity: 0;
    transform: translateX(-120%) rotate(8deg);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%) rotate(8deg);
  }
}

@media (max-width: 768px) {
  .home-leadership {
    padding: 2rem 0 2.25rem;
  }

  .home-leadership__head {
    margin-bottom: 1.25rem;
  }

  .home-leadership__head h2 {
    font-size: 1.35rem;
  }

  .home-leadership__card {
    grid-template-columns: 1fr;
    max-width: none;
    padding: 0.9rem;
    border-radius: 24px;
    box-shadow:
      0 28px 60px rgba(8, 72, 96, 0.28),
      0 0 0 1px rgba(255, 255, 255, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  .home-leadership__card > .home-leadership__panel {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .home-leadership__aside {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: start;
    padding: 1rem 1.1rem;
    margin-bottom: 0.85rem;
    border-inline-end: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
  }

  .home-leadership__panel--profile img {
    width: 76px;
    height: 76px;
  }

  .home-leadership__identity strong {
    font-size: 1.2rem;
  }

  .home-leadership__quote {
    padding: 1.15rem 1.2rem;
    font-size: 0.98rem;
    line-height: 1.95;
    text-align: center;
    flex-direction: column;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
  }

  .home-leadership__quote-mark {
    font-size: 1.6rem;
  }

  .reveal.reveal-epic .home-leadership__card {
    transform: translateY(72px) scale(0.82);
    filter: blur(10px);
  }

  .reveal.reveal-epic.is-visible .home-leadership__card {
    animation: leadership-epic-in-mobile 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .reveal.reveal-epic.is-visible .home-leadership__panel--profile img {
    animation: leadership-photo-pop 0.85s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }

  .home-leadership__panel--profile img {
    transform: scale(0.6);
    opacity: 0;
  }

  .home-leadership__panel--quote {
    font-size: 0.98rem;
    line-height: 1.95;
  }

  @keyframes leadership-epic-in-mobile {
    0% {
      opacity: 0;
      transform: translateY(72px) scale(0.82);
      filter: blur(10px);
    }
    55% {
      opacity: 1;
      transform: translateY(-8px) scale(1.03);
      filter: blur(0);
    }
    78% {
      transform: translateY(3px) scale(0.99);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }
  }

  @keyframes leadership-photo-pop {
    0% {
      opacity: 0;
      transform: scale(0.6);
    }
    70% {
      opacity: 1;
      transform: scale(1.08);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-epic .home-leadership__card,
  .reveal.reveal-epic .home-leadership__panel,
  .home-leadership__panel--profile img {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none !important;
  }
}

.hub-section {
  padding: 3rem 0;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #e8f1f4;
  box-shadow: 0 14px 36px rgba(8, 72, 96, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(8, 72, 96, 0.14);
}

.hub-card__visual {
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f6f8, #d4eef2);
}

.hub-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.hub-card:hover .hub-card__visual img {
  transform: scale(1.06);
}

/* Doctors team collage */
.doctors-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 5px;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: linear-gradient(145deg, #e9eef5 0%, #d8e4ef 50%, #c5d6e6 100%);
  box-sizing: border-box;
}

.doctors-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 10px;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px rgba(8, 52, 68, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hub-card:hover .doctors-collage img {
  transform: scale(1.02);
}

.hub-card__visual--doctors-collage {
  height: 180px;
  background: linear-gradient(145deg, #e9eef5, #c5d6e6);
}

.hub-card__visual--doctors-collage .doctors-collage {
  padding: 12px;
  gap: 6px;
}

.doctors-collage-banner {
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1.5rem;
}

.doctors-collage--banner {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.65rem;
  padding: 1rem;
  min-height: 200px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e5f0f3;
  box-shadow: 0 18px 40px rgba(8, 72, 96, 0.12);
}

.doctors-collage--banner img {
  border-radius: 14px;
  border-width: 3px;
  aspect-ratio: 1;
}

@media (max-width: 640px) {
  .doctors-collage {
    gap: 4px;
    padding: 8px;
  }

  .doctors-collage--banner {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
    padding: 0.75rem;
    min-height: 160px;
  }

  .doctors-collage--banner img {
    border-radius: 10px;
    border-width: 2px;
  }
}

.hub-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hub-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.hub-card__body p {
  margin: 0;
  flex: 1;
  color: #5a7a8a;
  line-height: 1.75;
  font-size: 0.95rem;
}

.hub-card__arrow {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--teal-deep);
  font-size: 0.9rem;
}

.hub-card--accent-gold .hub-card__arrow { color: #b8860b; }
.hub-card--accent-purple .hub-card__arrow { color: #6b4c9a; }

.hub-featured {
  padding: 2rem 0 3.5rem;
  background: #fff;
}

.hub-featured__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hub-featured__head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.hub-featured__head a {
  font-weight: 800;
  color: var(--teal-deep);
  text-decoration: none;
}

.hub-doctors-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hub-doctor-mini {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  background: #f6fafb;
  border-radius: 16px;
  border: 1px solid #e5f0f3;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-doctor-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 72, 96, 0.1);
}

.hub-doctor-mini img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(8, 72, 96, 0.1);
}

.hub-doctor-mini strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.hub-doctor-mini span {
  display: block;
  font-size: 0.8rem;
  color: #5a7a8a;
  margin-top: 0.15rem;
}

/* Page CTA strip */
.page-cta {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--teal-deep), #1aa8b6);
  color: #fff;
}

.page-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-cta__inner h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.page-cta__inner p {
  margin: 0.5rem 0 0;
  opacity: 0.92;
  max-width: 48ch;
  line-height: 1.8;
}

.page-cta__btn {
  display: inline-flex;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  background: #fff;
  color: var(--teal-deep);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.page-cta__btn:hover {
  transform: translateY(-2px);
}

/* Contact page */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-premium-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid #e5f0f3;
  box-shadow: 0 12px 32px rgba(8, 72, 96, 0.08);
}

.contact-premium-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.contact-premium-card > p {
  margin: 0 0 1rem;
  color: #5a7a8a;
  line-height: 1.75;
}

.contact-premium-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-premium-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid #edf3f6;
  line-height: 1.7;
}

.contact-premium-list li:last-child {
  border-bottom: 0;
}

.contact-premium-list a {
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.contact-map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(8, 72, 96, 0.12);
  border: 1px solid #e5f0f3;
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* Homepage — photo clinic grid */
.home-specialties {
  padding: 2.75rem 0 3rem;
  background: #fff;
}

.specialties-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}

.specialties-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 2.15rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.specialties-heading h2 em {
  font-style: normal;
  color: var(--teal-deep);
}

.specialties-heading p {
  margin: 0.65rem auto 0;
  max-width: 560px;
  color: #5a7a8a;
  line-height: 1.8;
  font-size: 0.95rem;
}

.specialties-heading__line {
  width: min(240px, 55%);
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-deep), var(--gold));
}

.clinic-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.clinic-photo-card {
  position: relative;
  display: block;
  min-height: clamp(168px, 32vw, 230px);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(8, 72, 96, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.clinic-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(8, 72, 96, 0.16);
}

.clinic-photo-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.clinic-photo-card:hover .clinic-photo-card__img {
  transform: scale(1.06);
}

.clinic-photo-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 40, 52, 0.08) 0%,
    rgba(8, 40, 52, 0.2) 42%,
    rgba(6, 32, 42, 0.82) 100%
  );
  pointer-events: none;
}

.clinic-photo-card__label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem 0.85rem 1.1rem;
  text-align: center;
  color: #fff;
  font-size: clamp(0.92rem, 2.4vw, 1.12rem);
  font-weight: 800;
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.clinic-photo-foot {
  margin-top: 1.35rem;
  text-align: center;
}

.clinic-photo-foot__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8b84a, #d4a035);
  color: #1a2a32;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(212, 160, 53, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clinic-photo-foot__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(212, 160, 53, 0.34);
}

@media (min-width: 981px) {
  .home-page .hub-hero {
    min-height: min(680px, calc(100vh - 40px));
  }

  .home-page .hub-hero__inner {
    max-width: 760px;
    margin-inline: auto;
    padding-block: 4.5rem 3.5rem;
  }

  .home-page .hub-hero__inner h1 {
    font-size: clamp(2.35rem, 4vw, 3.45rem);
  }

  .home-page .booking-strip {
    max-width: 760px;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    padding: 1rem;
  }

  .home-page .booking-strip .strip-cta {
    grid-column: 1 / -1;
    width: 100%;
  }

  .home-page .strip-field {
    min-height: 58px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
  }

  .home-page .strip-field:last-of-type {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .home-page .clinic-photo-grid {
    max-width: 940px;
    margin-inline: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .home-page .clinic-photo-card {
    min-height: clamp(210px, 24vw, 280px);
    border-radius: 22px;
  }
}

.home-why {
  padding: 3rem 0 3.25rem;
  background:
    radial-gradient(ellipse 80% 55% at 100% 0%, rgba(24, 167, 184, 0.1), transparent 58%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(231, 177, 78, 0.08), transparent 55%),
    linear-gradient(180deg, #f8fcfd 0%, #f1f7f9 100%);
}

.why-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}

.why-heading h2 {
  margin: 0.55rem 0 0.35rem;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}

.why-heading h2 em {
  font-style: normal;
  color: var(--teal-deep);
}

.why-heading p {
  margin: 0 auto;
  max-width: 580px;
  color: #5a7a8a;
  line-height: 1.8;
  font-size: 0.95rem;
}

.why-heading__line {
  width: min(220px, 52%);
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-deep), var(--gold));
}

.why-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.why-pillar-card {
  position: relative;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 14px 36px rgba(8, 72, 96, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.why-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--pillar-accent, var(--teal));
  opacity: 0.85;
}

.why-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 44px rgba(8, 72, 96, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.why-pillar-card--teal {
  --pillar-accent: #18a7b8;
}

.why-pillar-card--gold {
  --pillar-accent: #d4a035;
}

.why-pillar-card--sky {
  --pillar-accent: #3d9fd4;
}

.why-pillar-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.why-pillar-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.why-pillar-card--teal .why-pillar-card__icon {
  background: rgba(24, 167, 184, 0.12);
  color: var(--teal-deep);
}

.why-pillar-card--gold .why-pillar-card__icon {
  background: rgba(212, 160, 53, 0.14);
  color: #7a5c14;
}

.why-pillar-card--sky .why-pillar-card__icon {
  background: rgba(61, 159, 212, 0.14);
  color: #0f5f86;
}

.why-pillar-card__icon svg {
  width: 26px;
  height: 26px;
}

.why-pillar-card__num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(11, 90, 114, 0.35);
}

.why-pillar-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}

.why-pillar-card p {
  margin: 0;
  color: #5a7a8a;
  line-height: 1.75;
  font-size: 0.9rem;
}

.why-pillars-foot {
  margin-top: 1.35rem;
  text-align: center;
}

.why-pillars-foot__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 90, 114, 0.14);
  background: rgba(255, 255, 255, 0.62);
  color: var(--teal-deep);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.why-pillars-foot__link:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.home-doctors {
  padding: 3rem 0;
  background: #fff;
}

.home-doctors__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-doctor-banner-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5f0f3;
  box-shadow: 0 14px 36px rgba(8, 72, 96, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-doctor-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(8, 72, 96, 0.14);
}

.home-doctor-banner-card img {
  display: block;
  width: 100%;
  height: auto;
}

.home-doctor-banner-card__label {
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #083444, #0f5f72);
  color: #fff;
}

.home-doctor-banner-card__label strong {
  display: block;
  font-size: 0.95rem;
}

.home-doctor-banner-card__label span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  opacity: 0.9;
}

.home-health {
  padding: 2.5rem 0 3rem;
  background: #f6fafb;
}

.home-health-snippet {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem;
  border: 1px solid #e5f0f3;
  box-shadow: 0 14px 36px rgba(8, 72, 96, 0.08);
}

.home-health-snippet__visual {
  border-radius: 14px;
  overflow: hidden;
  background: #edf3f6;
}

.home-health-snippet__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.home-health-snippet__body h3 {
  margin: 0.4rem 0 0.5rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.home-health-snippet__body p {
  margin: 0;
  color: #5a7a8a;
  line-height: 1.8;
}

.home-health-snippet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.home-health-snippet__more {
  font-weight: 800;
  color: var(--teal-deep);
  text-decoration: none;
  font-size: 0.9rem;
}

.hub-section {
  padding: 2rem 0 1rem;
}

/* Services / doctors page polish */
.page-panel {
  background: #fff;
  border-radius: 0;
}

.page-panel--alt {
  background: #f6fafb;
}

/* Mobile bar (all pages) */
.site-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e5f0f3;
  box-shadow: 0 -8px 24px rgba(8, 72, 96, 0.08);
  backdrop-filter: blur(10px);
}

.site-mobile-bar__btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8b84a, #d4a035);
  color: #1a2a32;
  font-weight: 800;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .clinic-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .why-pillar-card {
    padding: 1.15rem 1.1rem;
  }

  .home-doctors__grid {
    grid-template-columns: 1fr;
  }

  .home-health-snippet {
    grid-template-columns: 1fr;
  }
}

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

  .clinic-photo-grid {
    gap: 0.85rem;
  }

  .clinic-photo-card {
    min-height: clamp(155px, 42vw, 190px);
    border-radius: 18px;
  }

  .page-hero {
    padding: 3.5rem 0 2.5rem;
  }

  .site-mobile-bar {
    display: block;
  }

  body.site-page {
    padding-bottom: 4.5rem;
  }

  body.booking-page {
    padding-bottom: 4.5rem;
  }

  .footer-shell__inner {
    padding-bottom: 1.25rem;
  }
}
