@keyframes mobileHeaderPanelIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }

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

@media (max-width: 1199px) {
  .appointment-hero__shell {
    display: block;
    min-height: 0;
  }

  .appointment-hero__visual {
    min-height: 450px;
  }

  .appointment-hero__content {
    width: min(100%, 920px);
    padding: 3.9rem 2rem 2.2rem;
  }

  .appointment-hero__image-wrap {
    min-height: 450px;
  }

  .appointment-hero__image-wrap img {
    right: 50%;
    width: min(560px, 76vw);
    transform: translateX(50%);
  }

  .appointment-booking .container {
    width: min(100% - 36px, 1320px);
  }

  .appointment-hero__lead {
    max-width: 30ch;
  }

  .appointment-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 520px);
  }

  .appointment-booking__panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .appointment-page .appointment-hero__shell.reveal,
  .appointment-page .appointment-booking__shell.reveal {
    opacity: 1;
    transform: none;
  }

  #main-content.appointment-page {
    padding-top: calc(var(--topbar-height) + var(--main-header-height) + 10px);
  }

  .appointment-hero {
    padding: 1.1rem 0 2rem;
  }

  .appointment-hero__shell {
    display: block;
    min-height: 0;
    background:
      radial-gradient(circle at 12% 10%, rgba(44, 77, 153, 0.08), transparent 24%),
      radial-gradient(circle at 88% 14%, rgba(22, 148, 71, 0.06), transparent 20%),
      linear-gradient(180deg, #edf5fd 0%, #f8fbff 58%, #ffffff 100%);
    border-top: 0;
    box-shadow: none;
  }

  .appointment-hero__shell::before {
    display: none;
  }

  .appointment-hero__visual {
    position: relative;
    inset: auto;
    min-height: 0;
    padding: 0 1rem;
    margin-top: 1.15rem;
  }

  .appointment-hero__content {
    width: 100%;
    padding: 0.95rem 1rem 0;
    margin-top: 0;
  }

  .appointment-hero__content-inner {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    text-align: left;
  }

  .appointment-hero h1 {
    margin: 0 0 0.8rem;
    max-width: none;
    font-size: clamp(2rem, 8.8vw, 2.42rem);
    line-height: 0.98;
  }

  .appointment-hero__pulse {
    margin: 0 0 0.82rem;
  }

  .appointment-hero__lead {
    max-width: 100%;
    margin-inline: 0;
    font-size: 0.88rem;
    line-height: 1.54;
  }

  .appointment-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.35rem;
  }

  .appointment-hero__feature {
    min-height: 116px;
    padding: 0.9rem 0.78rem 0.82rem;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 14px 28px rgba(22, 40, 72, 0.08);
  }

  .appointment-hero__feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.55rem;
    border-radius: 12px;
  }

  .appointment-hero__feature h2 {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .appointment-hero__feature p {
    font-size: 0.72rem;
    line-height: 1.38;
  }

  .appointment-hero__image-wrap {
    min-height: 300px;
    border-radius: 24px;
    overflow: hidden;
    background:
      radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.44), transparent 24%),
      linear-gradient(180deg, #edf4fb, #dce9f7);
    box-shadow: 0 18px 34px rgba(19, 39, 73, 0.1);
  }

  .appointment-hero__image-wrap::after {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 22%),
      linear-gradient(180deg, rgba(248, 251, 255, 0) 58%, rgba(248, 251, 255, 0.46) 100%);
  }

  .appointment-hero__image-wrap img {
    bottom: 0;
    left: 50%;
    width: min(430px, 108vw);
    transform: translateX(-50%);
    filter: drop-shadow(0 16px 24px rgba(28, 48, 86, 0.1));
  }

  .appointment-booking {
    padding: 1.8rem 0 2.5rem;
  }

  .appointment-booking .container {
    width: min(100% - 20px, 100%);
  }

  .appointment-booking__head {
    margin-bottom: 1.2rem;
  }

  .appointment-booking__head h2 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .appointment-booking__head p {
    font-size: 0.9rem;
    line-height: 1.64;
  }

  .appointment-booking__shell {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 20px;
  }

  .appointment-booking__tabs {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 1rem;
  }

  .appointment-booking__tab {
    min-height: 62px;
    padding: 0.8rem;
    border-radius: 14px;
  }

  .appointment-booking__tab span {
    font-size: 0.98rem;
  }

  .appointment-booking__tab small {
    font-size: 0.76rem;
  }

  .appointment-booking__form-shell {
    border-radius: 22px;
    padding: 0;
  }

  .appointment-booking__section-head h3 {
    font-size: 1.05rem;
  }

  .appointment-booking__form {
    gap: 1rem;
  }

  .appointment-booking__grid,
  .appointment-booking__grid--old {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .appointment-booking__field--half {
    max-width: 100%;
  }

  .appointment-booking__field input,
  .appointment-booking__field select,
  .appointment-booking__field textarea {
    min-height: 50px;
    padding: 0.82rem 0.85rem;
    border-radius: 12px;
    font-size: 0.88rem;
  }

  .appointment-booking__field textarea {
    min-height: 126px;
  }

  .appointment-booking__actions--bar {
    align-items: stretch;
    flex-direction: column;
  }

  .appointment-booking__support-inline {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
  }

  .appointment-booking__support-inline small {
    width: 100%;
    margin-left: 0;
    margin-top: 0.2rem;
  }

  .appointment-booking__submit {
    width: 100%;
    min-height: 54px;
    min-width: 0;
    border-radius: 12px;
  }

  .appointment-booking__sidebar {
    gap: 1rem;
  }

  .appointment-booking__why-card {
    order: 1;
  }

  .appointment-booking__assist-card {
    order: 2;
  }

  .appointment-booking__assist-card,
  .appointment-booking__why-card {
    border-radius: 16px;
  }

  .appointment-booking__assist-card {
    padding: 1.05rem 0.95rem;
  }

  .appointment-booking__assist-card h3 {
    font-size: 1.55rem;
  }

  .appointment-booking__assist-card p,
  .appointment-booking__assist-availability p,
  .appointment-booking__why-card li {
    font-size: 0.88rem;
  }

  .appointment-booking__assist-availability strong {
    font-size: 1.8rem;
  }

  .appointment-booking__why-card {
    padding: 1rem 0.95rem;
  }

  .appointment-booking__note {
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .floating-contact {
    right: 12px;
    bottom: 12px;
    gap: 0.55rem;
  }

  .floating-contact__link {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(22, 40, 72, 0.22);
  }

  .floating-contact__link i {
    font-size: 1.14rem;
  }

  .floating-contact__badge {
    display: none;
  }
}

@media (max-width: 479px) {
  #main-content.appointment-page {
    padding-top: calc(var(--topbar-height) + var(--main-header-height) + 12px);
  }

  .appointment-hero {
    padding: 1.15rem 0 2rem;
  }

  .appointment-hero__content {
    padding-top: 1.1rem;
  }

  .appointment-hero h1 {
    font-size: clamp(1.82rem, 8.8vw, 2.08rem);
  }

  .appointment-hero__lead {
    max-width: 100%;
    font-size: 0.81rem;
    line-height: 1.42;
  }

  .appointment-hero__features {
    gap: 0.65rem;
  }

  .appointment-hero__feature {
    min-height: 104px;
    padding: 0.78rem 0.68rem;
  }

  .appointment-hero__feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.5rem;
  }

  .appointment-hero__feature h2 {
    font-size: 0.74rem;
  }

  .appointment-hero__feature p {
    font-size: 0.67rem;
  }

  .appointment-hero__image-wrap {
    min-height: 286px;
    border-radius: 20px;
  }

  .appointment-hero__image-wrap img {
    width: min(392px, 104vw);
  }

  .appointment-booking__tab {
    min-height: 58px;
  }

  .appointment-booking__tab span {
    font-size: 0.86rem;
  }

  .appointment-booking__tab small {
    font-size: 0.7rem;
  }

  .appointment-booking__support-inline {
    gap: 0.62rem;
  }

  .appointment-booking__head h2 {
    font-size: clamp(1.65rem, 8vw, 1.95rem);
  }

  .appointment-booking__head p {
    font-size: 0.84rem;
  }
}

@media (max-width: 991px) {
  .gallery-hero {
    padding: 0 0 2.2rem;
  }

  .gallery-page#main-content {
    padding-top: calc(var(--topbar-height) + var(--main-header-height));
  }

  .gallery-hero__shell {
    width: 100%;
    min-height: 0;
    display: block;
    background:
      radial-gradient(circle at 12% 10%, rgba(44, 77, 153, 0.08), transparent 24%),
      radial-gradient(circle at 88% 14%, rgba(22, 148, 71, 0.06), transparent 20%),
      linear-gradient(180deg, #edf5fd 0%, #f8fbff 58%, #ffffff 100%);
    border-top: 0;
    box-shadow: none;
  }

  .gallery-hero__shell::before {
    display: none;
  }

  .gallery-hero__visual {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 0 0.9rem;
  }

  .gallery-hero__image-wrap {
    min-height: 360px;
    border-radius: 0 0 34px 34px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(19, 39, 73, 0.14);
  }

  .gallery-hero__image-wrap::after {
    inset: auto 0 0 0;
    height: 56%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(238, 246, 255, 0.28) 28%, rgba(244, 249, 255, 0.88) 72%, #f9fbff 100%);
  }

  .gallery-hero__image-wrap img {
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.04);
  }

  .gallery-hero__content {
    width: 100%;
    padding: 0;
    margin-top: -1.2rem;
  }

  .gallery-hero__content-inner {
    position: relative;
    max-width: none;
    margin: 0 2rem;
    padding: 1.55rem 1.35rem 1.35rem;
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(245, 249, 255, 0.975)),
      linear-gradient(135deg, rgba(44, 77, 153, 0.03), rgba(22, 148, 71, 0.03));
    box-shadow: 0 24px 50px rgba(22, 40, 72, 0.12);
    border: 1px solid rgba(223, 233, 245, 0.96);
    backdrop-filter: blur(12px);
  }

  .gallery-hero h1 {
    margin-bottom: 0.95rem;
    font-size: clamp(2.5rem, 5.4vw, 3.35rem);
    line-height: 0.95;
  }

  .gallery-hero__pulse {
    margin: 0.86rem 0 1.1rem;
    color: #2c4d99;
  }

  .gallery-hero__pulse span {
    background: linear-gradient(90deg, rgba(44, 77, 153, 0.36), rgba(22, 148, 71, 0.28));
  }

  .gallery-hero__lead {
    max-width: none;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.68;
  }

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

  .gallery-hero__feature {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.76rem;
    padding: 0.95rem 0.92rem;
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.95)),
      linear-gradient(135deg, rgba(44, 77, 153, 0.025), rgba(22, 148, 71, 0.03));
    border: 1px solid rgba(223, 233, 245, 0.94);
    box-shadow: 0 12px 24px rgba(22, 40, 72, 0.06);
    text-align: left;
    justify-items: start;
    align-items: center;
  }

  .gallery-hero__feature::after {
    display: none;
  }

  .gallery-hero__feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    background: linear-gradient(180deg, #f9fbff, #eef5ff);
    color: #2c4d99;
    border-color: rgba(180, 200, 236, 0.95);
  }

  .gallery-hero__feature-icon i {
    font-size: 0.96rem;
  }

  .gallery-hero__feature h2 {
    font-size: 0.94rem;
    line-height: 1.34;
    white-space: normal;
  }

  .gallery-showcase {
    padding: 2.4rem 0 3.4rem;
  }

  .gallery-showcase .container {
    width: min(100% - 28px, 1680px);
  }

  .gallery-showcase__tabs {
    gap: 0.75rem;
    margin-bottom: 1.6rem;
  }

  .gallery-showcase__tab {
    padding: 0.8rem 1.15rem;
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .gallery-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .gallery-showcase__card {
    border-radius: 18px;
    min-height: 260px;
  }

  .gallery-showcase__card img {
    height: 260px;
  }

  .contact-hero__shell::after {
    display: none;
  }

  .contact-hero {
    padding: 0 0 2.2rem;
  }

  .contact-hero__shell {
    min-height: auto;
    overflow: visible;
    background:
      radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.85), transparent 28%),
      linear-gradient(180deg, #edf5fd 0%, #f8fbff 100%);
    box-shadow: 0 18px 38px rgba(20, 39, 72, 0.08);
    border-radius: 0 0 28px 28px;
  }

  .contact-hero__visual {
    position: relative;
    inset: auto;
  }

  .contact-hero__image-wrap {
    min-height: 360px;
    border-radius: 0 0 24px 24px;
    background:
      linear-gradient(180deg, #eaf2fb 0%, #dce9f7 100%);
  }

  .contact-hero__image-wrap::after {
    background:
      linear-gradient(180deg, rgba(244, 249, 255, 0.16) 0%, rgba(244, 249, 255, 0) 18%, rgba(244, 249, 255, 0.72) 86%, rgba(248, 251, 255, 0.96) 100%),
      linear-gradient(90deg, rgba(248, 251, 255, 0.95) 0%, rgba(246, 250, 255, 0.8) 16%, rgba(242, 247, 254, 0.34) 38%, rgba(239, 245, 253, 0) 58%),
      radial-gradient(circle at 18% 48%, rgba(255, 255, 255, 0.9) 0%, rgba(245, 250, 255, 0.68) 28%, rgba(241, 247, 253, 0.1) 58%, rgba(241, 247, 253, 0) 74%);
  }

  .contact-hero__image-wrap img {
    object-position: center top;
    transform: scale(1.04);
  }

  .contact-hero__content {
    width: 100%;
    padding: 0;
    margin-top: -1.65rem;
    position: relative;
  }

  .contact-hero__content-inner {
    max-width: none;
    margin: 0 18px;
    padding: 1.32rem 1.08rem 1.08rem;
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(247, 250, 255, 0.97) 100%),
      linear-gradient(135deg, rgba(44, 77, 153, 0.03), rgba(22, 148, 71, 0.025));
    border: 1px solid rgba(228, 236, 246, 0.96);
    box-shadow:
      0 18px 36px rgba(22, 40, 72, 0.09),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }

  .contact-hero h1 {
    margin-bottom: 0.88rem;
    font-size: clamp(2.15rem, 5vw, 2.72rem);
    line-height: 1;
  }

  .contact-hero__lead {
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
    line-height: 1.58;
    max-width: 33ch;
  }

  .contact-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    max-width: none;
  }

  .contact-hero__feature {
    min-height: 96px;
    gap: 0.52rem;
    border-right: 0;
    padding: 0.86rem 0.82rem;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(239, 246, 255, 0.95)),
      linear-gradient(135deg, rgba(44, 77, 153, 0.025), rgba(22, 148, 71, 0.03));
    border: 1px solid rgba(223, 233, 245, 0.94);
    box-shadow: 0 10px 22px rgba(22, 40, 72, 0.05);
  }

  .contact-hero__info-band {
    display: none;
  }

  .contact-info-card {
    border-right: 1px solid rgba(230, 236, 244, 0.95);
  }

  .contact-info-card:nth-child(2n) {
    border-right: 0;
  }

  .contact-info-card:nth-last-child(-n + 2) {
    border-top: 1px solid rgba(230, 236, 244, 0.95);
  }

  .contact-connect {
    padding: 1rem 0 2.5rem;
  }

  .contact-connect .container {
    width: min(100% - 24px, 1440px);
  }

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

  .contact-connect__form-panel,
  .contact-connect__info-panel {
    padding: 1.4rem 1rem 1.08rem;
  }

  .contact-connect__form-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(230, 236, 244, 0.95);
  }

  .contact-connect__head h2 {
    font-size: clamp(1.5rem, 4vw, 1.9rem);
  }

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

  .contact-form__field--full {
    grid-column: auto;
  }

  .contact-form__actions {
    align-items: flex-start;
  }

  .contact-map-showcase {
    padding: 0 0 2.6rem;
  }

  .contact-map-showcase .container {
    width: min(100% - 24px, 1440px);
  }

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

  .contact-map-showcase__content {
    padding: 1.4rem 1rem 1.1rem;
  }

  .contact-map-showcase__content p {
    max-width: 28ch;
  }

  .contact-map-showcase__map-card {
    min-height: 300px;
  }

  .contact-support-band .container {
    width: min(100% - 24px, 1640px);
  }

  .contact-support-band__shell {
    grid-template-columns: 164px minmax(0, 1fr);
    gap: 1.1rem 1.2rem;
    padding: 0 1.15rem 0 0.9rem;
  }

  .contact-support-band__actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding-bottom: 1rem;
  }

  .contact-support-band__content {
    padding-block: 1.1rem 0.4rem;
  }

  .contact-support-band__content h2 {
    font-size: clamp(1.72rem, 4vw, 2rem);
    line-height: 1.05;
  }

  .contact-support-band__content p {
    max-width: 35ch;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .contact-support-band__media img {
    width: min(100%, 170px);
  }
}

@media (max-width: 575px) {
  .gallery-hero {
    padding: 0 0 1.75rem;
  }

  .gallery-hero__image-wrap {
    min-height: 248px;
    border-radius: 0 0 24px 24px;
  }

  .gallery-hero__image-wrap img {
    object-position: center 38%;
    transform: scale(1.06);
  }

  .gallery-hero__content {
    margin-top: -0.5rem;
  }

  .gallery-hero__content-inner {
    margin: 0 12px;
    padding: 1.08rem 0.96rem 1rem;
    border-radius: 22px;
  }

  .gallery-hero__breadcrumb {
    gap: 0.5rem;
    margin-bottom: 0.86rem;
    font-size: 0.78rem;
  }

  .gallery-hero h1 {
    margin-bottom: 0.76rem;
    font-size: clamp(2.15rem, 7.6vw, 2.6rem);
    line-height: 0.98;
  }

  .gallery-hero__pulse {
    margin: 0.76rem 0 0.96rem;
    gap: 0.36rem;
  }

  .gallery-hero__pulse span {
    width: 28px;
  }

  .gallery-hero__lead {
    margin-bottom: 1.08rem;
    font-size: 0.91rem;
    line-height: 1.62;
  }

  .gallery-hero__features {
    grid-template-columns: 1fr;
    gap: 0.58rem;
  }

  .gallery-hero__feature {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.62rem;
    padding: 0.78rem 0.8rem;
    border-radius: 17px;
  }

  .gallery-hero__feature-icon {
    width: 38px;
    height: 38px;
    border-width: 1px;
  }

  .gallery-hero__feature-icon i {
    font-size: 0.84rem;
  }

  .gallery-hero__feature h2 {
    font-size: 0.84rem;
    line-height: 1.32;
  }

  .gallery-showcase {
    padding: 2rem 0 2.8rem;
  }

  .gallery-showcase .container {
    width: min(100% - 20px, 1680px);
  }

  .gallery-showcase__tabs {
    justify-content: flex-start;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.18rem;
    scrollbar-width: none;
  }

  .gallery-showcase__tabs::-webkit-scrollbar {
    display: none;
  }

  .gallery-showcase__tab {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0.72rem 0.95rem;
    border-radius: 11px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .gallery-showcase__grid {
    grid-template-columns: 1fr;
    gap: 0.78rem;
  }

  .gallery-showcase__card {
    border-radius: 18px;
    min-height: 236px;
  }

  .gallery-showcase__card img {
    height: 236px;
  }

  .contact-hero {
    padding: 0 0 1.4rem;
  }

  .contact-hero__shell {
    overflow: hidden;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 14px 28px rgba(20, 39, 72, 0.06);
  }

  .contact-hero__image-wrap {
    min-height: 190px;
    border-radius: 0;
  }

  .contact-hero__image-wrap img {
    object-position: center 18%;
    transform: scale(1.03);
  }

  .contact-hero__content {
    margin-top: -1.2rem;
  }

  .contact-hero__content-inner {
    margin: 0 10px;
    padding: 0.98rem 0.82rem 0.84rem;
    border-radius: 20px;
  }

  .contact-hero h1 {
    margin-bottom: 0.68rem;
    font-size: clamp(1.74rem, 7vw, 2.02rem);
    line-height: 1;
  }

  .contact-hero__lead {
    margin-bottom: 0.86rem;
    font-size: 0.84rem;
    line-height: 1.52;
    max-width: none;
  }

  .contact-hero__pulse {
    margin-bottom: 0.86rem;
    gap: 0.36rem;
  }

  .contact-hero__pulse span {
    width: 24px;
  }

  .contact-hero__features {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .contact-hero__feature {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    min-height: 0;
    gap: 0.64rem;
    padding: 0.68rem 0.72rem;
    border-radius: 15px;
    box-shadow:
      inset 0 0 0 1px rgba(224, 233, 245, 0.92),
      0 8px 18px rgba(22, 40, 72, 0.04);
  }

  .contact-hero__feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 0.84rem;
  }

  .contact-hero__feature h2 {
    font-size: 0.79rem;
    line-height: 1.2;
    align-self: center;
  }

  .contact-hero__info-band {
    display: none;
  }

  .contact-info-card,
  .contact-info-card:nth-child(2n) {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.64rem;
    padding: 0.78rem 0.8rem;
    border-right: 0;
    border-top: 1px solid rgba(230, 236, 244, 0.95);
  }

  .contact-info-card:first-child {
    border-top: 0;
  }

  .contact-info-card__icon {
    width: 42px;
    height: 42px;
    font-size: 0.96rem;
  }

  .contact-info-card h3 {
    margin-bottom: 0.18rem;
    font-size: 0.8rem;
  }

  .contact-info-card a,
  .contact-info-card p {
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .contact-connect {
    padding: 0.9rem 0 2rem;
  }

  .contact-connect__shell {
    border-radius: 22px;
  }

  .contact-connect__form-panel,
  .contact-connect__info-panel {
    padding: 1.05rem 0.9rem 0.94rem;
  }

  .contact-connect__head {
    gap: 0.58rem;
    margin-bottom: 0.84rem;
  }

  .contact-connect__head h2 {
    font-size: clamp(1.42rem, 7vw, 1.74rem);
    line-height: 1.06;
  }

  .contact-connect__form-panel > p {
    font-size: 0.88rem;
    line-height: 1.56;
    margin-bottom: 0.95rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.9rem 0.92rem;
    font-size: 0.88rem;
    border-radius: 11px;
  }

  .contact-form textarea {
    min-height: 122px;
  }

  .contact-form__consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.72rem 0 0.82rem;
    font-size: 0.74rem;
    line-height: 1.4;
    color: #5a6f8f;
    flex-wrap: wrap;
  }

  .contact-form__consent input {
    width: 14px;
    height: 14px;
    margin: 0;
    flex: 0 0 auto;
  }

  .contact-form__consent span {
    display: inline;
    flex: 1 1 0;
    min-width: 0;
  }

  .contact-form__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.78rem;
    margin-top: 0.92rem;
  }

  .contact-form__submit {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border-radius: 14px;
  }

  .contact-details {
    gap: 0.78rem;
  }

  .contact-detail-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.68rem;
    align-items: start;
  }

  .contact-detail-item__icon {
    width: 42px;
    height: 42px;
    font-size: 0.96rem;
  }

  .contact-detail-item h3 {
    margin-bottom: 0.16rem;
    font-size: 0.82rem;
    line-height: 1.24;
  }

  .contact-detail-item p,
  .contact-detail-item a {
    font-size: 0.75rem;
    line-height: 1.44;
  }

  .contact-emergency-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.78rem;
    margin-top: 1rem;
    padding: 0.9rem 0.88rem;
    border-radius: 14px;
  }

  .contact-emergency-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.22rem;
  }

  .contact-emergency-card h3 {
    font-size: 0.98rem;
  }

  .contact-emergency-card p {
    font-size: 0.82rem;
  }

  .contact-emergency-card a {
    font-size: 0.98rem;
  }

  .contact-map-showcase {
    padding: 0 0 2rem;
  }

  .contact-map-showcase__shell {
    border-radius: 22px;
  }

  .contact-map-showcase__content {
    padding: 1.08rem 0.9rem 1rem;
  }

  .contact-map-showcase__content h2 {
    font-size: clamp(1.5rem, 7vw, 1.82rem);
  }

  .contact-map-showcase__content p {
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.62;
    margin-bottom: 1.08rem;
  }

  .contact-map-showcase__cta {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding-inline: 1.2rem;
    border-radius: 16px;
    font-size: 0.96rem;
  }

  .contact-map-showcase__map-card {
    min-height: 258px;
  }

  .contact-map-showcase__marker-card {
    top: 1rem;
    right: 0.9rem;
    left: 0.9rem;
    max-width: none;
    padding: 0.82rem 0.88rem;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 0.62rem;
    border-radius: 16px;
  }

  .contact-map-showcase__marker-icon {
    width: 30px;
    height: 30px;
    font-size: 1.14rem;
  }

  .contact-map-showcase__marker-card strong {
    font-size: 0.9rem;
  }

  .contact-map-showcase__marker-card p {
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .contact-support-band {
    padding-bottom: 0;
  }

  .contact-support-band__shell {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1rem 0.9rem 1rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
  }

  .contact-support-band__media {
    margin: 0 auto -0.2rem;
  }

  .contact-support-band__media img {
    width: min(100%, 150px);
  }

  .contact-support-band__content {
    padding: 0.25rem 0 0.85rem;
  }

  .contact-support-band__content h2 {
    font-size: clamp(1.5rem, 6.6vw, 1.82rem);
    line-height: 1.05;
    margin-bottom: 0.5rem;
  }

  .contact-support-band__content p {
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .contact-support-band__actions {
    grid-template-columns: 1fr;
    gap: 0.78rem;
    padding-bottom: 0;
  }

  .contact-support-band__cta {
    min-height: 54px;
    width: 100%;
    border-radius: 14px;
    font-size: 0.93rem;
    padding-inline: 1rem;
  }

  .contact-support-band__cta i {
    font-size: 1rem;
  }

  .contact-support-band__cta--whatsapp i {
    font-size: 1.14rem;
  }
}

@media (max-width: 991px) {
  #main-content.doctors-page {
    padding-top: calc(var(--topbar-height) + var(--main-header-height));
  }

  .doctors-hero {
    padding: 0 0 2rem;
  }

  .doctors-hero__shell {
    display: block;
    min-height: auto;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .doctors-hero__shell::before {
    display: none;
  }

  .doctors-hero__visual {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .doctors-hero__image-wrap {
    min-height: 360px;
    border-radius: 0;
    background: linear-gradient(180deg, #eaf2fb 0%, #dce9f7 100%);
  }

  .doctors-hero__image-wrap::after {
    background:
      linear-gradient(180deg, rgba(244, 249, 255, 0.2) 0%, rgba(244, 249, 255, 0) 20%, rgba(244, 249, 255, 0.72) 88%, rgba(248, 251, 255, 0.96) 100%),
      linear-gradient(90deg, rgba(248, 251, 255, 0.96) 0%, rgba(246, 250, 255, 0.84) 16%, rgba(242, 247, 254, 0.34) 36%, rgba(239, 245, 253, 0) 55%),
      radial-gradient(circle at 18% 48%, rgba(255, 255, 255, 0.92) 0%, rgba(245, 250, 255, 0.72) 28%, rgba(241, 247, 253, 0.12) 56%, rgba(241, 247, 253, 0) 74%);
  }

  .doctors-hero__image-wrap img {
    object-position: center top;
    transform: scale(1.02);
  }

  .doctors-hero__content {
    width: 100%;
    margin-top: -1.35rem;
    padding: 0;
    display: block;
  }

  .doctors-hero__content-inner {
    max-width: none;
    margin: 0 18px;
    padding: 1.15rem 1rem 1rem;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(247, 250, 255, 0.97) 100%),
      linear-gradient(135deg, rgba(44, 77, 153, 0.03), rgba(22, 148, 71, 0.025));
    box-shadow: 0 16px 34px rgba(22, 40, 72, 0.08);
  }

  .doctors-hero h1 {
    margin-bottom: 0.9rem;
    font-size: clamp(2.25rem, 5.4vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .doctors-hero__pulse {
    margin-bottom: 1rem;
  }

  .doctors-hero__lead {
    max-width: none;
    margin-bottom: 1.05rem;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .doctors-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
    margin-top: 1.05rem;
  }

  .doctors-hero__feature {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.88rem 0.84rem;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(239, 246, 255, 0.95)),
      linear-gradient(135deg, rgba(44, 77, 153, 0.025), rgba(22, 148, 71, 0.03));
    border: 1px solid rgba(223, 233, 245, 0.94);
    box-shadow: 0 10px 22px rgba(22, 40, 72, 0.05);
  }

  .doctors-hero__feature-icon {
    width: 44px;
    height: 44px;
    font-size: 0.96rem;
    background: linear-gradient(180deg, #f9fbff, #eef5ff);
    color: #2c4d99;
    box-shadow: inset 0 0 0 1px rgba(180, 200, 236, 0.95);
  }

  .doctors-hero__feature h2 {
    font-size: 0.94rem;
    line-height: 1.25;
    white-space: normal;
  }

  .doctors-hero__feature p {
    font-size: 0.81rem;
    line-height: 1.5;
  }

  .doctors-hero__stats-card {
    position: static;
    width: auto;
    margin: 1rem 18px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .doctors-hero__stat {
    padding: 0.9rem 0.85rem;
    border-radius: 18px;
    border: 1px solid rgba(222, 232, 245, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.98));
    box-shadow: 0 12px 26px rgba(22, 40, 72, 0.05);
  }

  .doctor-finder,
  .appointment-home {
    position: relative;
    z-index: 2;
    clear: both;
  }

  .doctor-finder {
    padding-top: 0.4rem;
  }

  .doctor-finder__shell,
  .appointment-banner {
    overflow: visible;
  }
}

@media (max-width: 575px) {
  #main-content.doctors-page {
    padding-top: calc(var(--topbar-height) + var(--main-header-height));
  }

  .doctors-hero {
    padding: 0 0 1.8rem;
  }

  .doctors-hero__image-wrap {
    min-height: 258px;
  }

  .doctors-hero__image-wrap img {
    object-position: center top;
    transform: scale(1.03);
  }

  .doctors-hero__content {
    margin-top: -1.15rem;
  }

  .doctors-hero__content-inner {
    margin: 0 10px;
    padding: 0.98rem 0.88rem 0.94rem;
    border-radius: 22px;
  }

  .doctors-hero h1 {
    font-size: clamp(1.95rem, 8vw, 2.2rem);
    line-height: 0.95;
  }

  .doctors-hero__lead {
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .doctors-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.58rem;
  }

  .doctors-hero__feature {
    grid-template-columns: 1fr;
    gap: 0.42rem;
    padding: 0.82rem 0.68rem 0.76rem;
    border-radius: 18px;
    text-align: center;
  }

  .doctors-hero__feature-icon {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    margin: 0 auto;
  }

  .doctors-hero__feature h2 {
    font-size: 0.82rem;
    line-height: 1.22;
  }

  .doctors-hero__feature p {
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .doctors-hero__stats-card {
    margin: 0.9rem 10px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
    padding: 0.72rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(36, 89, 187, 0.95), rgba(30, 153, 101, 0.92));
    box-shadow: 0 16px 32px rgba(22, 40, 72, 0.12);
  }

  .doctors-hero__stat {
    grid-template-columns: 1fr;
    gap: 0.38rem;
    padding: 0.82rem 0.62rem 0.76rem;
    border-radius: 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
    backdrop-filter: blur(10px);
  }

  .doctors-hero__stat i {
    margin: 0 auto;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  }

  .doctors-hero__stat strong {
    font-size: 1.18rem;
    color: #ffffff;
  }

  .doctors-hero__stat span {
    margin-top: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.88);
  }
}

@media (max-width: 1199px) {
  .doctor-finder__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-finder__submit {
    min-width: 100%;
  }

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

@media (max-width: 767px) {
  .doctor-finder .container {
    width: min(100% - 20px, 1440px);
  }

  .doctor-finder,
  .appointment-home {
    display: block;
    width: 100%;
  }

  .doctor-finder__shell {
    padding: 1rem 0.9rem 1.2rem;
    border-radius: 22px;
  }

  .doctor-finder__head h2 {
    font-size: 1.55rem;
  }

  .doctor-finder__head p {
    font-size: 0.86rem;
    line-height: 1.58;
  }

  .doctor-finder__filters {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: 18px;
  }

  .doctor-finder__field input,
  .doctor-finder__field select,
  .doctor-finder__submit {
    height: 52px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

  .doctor-finder__toolbar {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.7rem;
  }

  .doctor-finder__count,
  .doctor-finder__reset,
  .doctor-finder__listing-head {
    justify-self: center;
  }

  .doctor-finder__listing-head {
    order: -1;
    margin-top: 0.1rem;
  }

  .doctor-finder__eyebrow {
    font-size: 0.88rem;
  }

  .doctor-finder__grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1rem;
  }

  .doctor-finder__actions {
    margin-top: 1rem;
  }

  .doctor-finder__more {
    width: 100%;
    max-width: 280px;
  }

  .doctor-search-card__body h3 {
    font-size: 0.95rem;
  }

  .appointment-home {
    padding-top: 1rem;
  }
}

@media (max-width: 1199px) {
  .appointment-banner__form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .appointment-banner__submit,
  .appointment-banner .form-note {
    grid-column: span 3;
  }

  .patient-stories__shell {
    grid-template-columns: 1fr;
  }

  .services-preview__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .doctors-preview__grid,
  .leadership__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .primary-nav__menu {
    gap: 1rem;
  }

  .header-actions .btn {
    padding-inline: 1rem;
  }

  .hero-metrics,
  .stats-band__grid,
  .facility-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leadership__grid,
  .quick-actions__grid,
  .card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  :root {
    --topbar-height: 48px;
    --main-header-height: 96px;
    --header-stack-height: 144px;
  }

  .topbar {
    display: block;
    background: linear-gradient(90deg, #223d7a, #2c4d99);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  #main-content {
    padding-top: calc(var(--topbar-height) + var(--main-header-height));
  }

  .header-nav,
  .header-nav:not(.is-sticky),
  .site-header.is-hero-active .header-nav {
    position: fixed;
    top: var(--topbar-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(223, 232, 245, 0.96);
    box-shadow: 0 10px 24px rgba(22, 40, 72, 0.08);
  }

  .topbar__inner {
    min-height: 48px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .topbar__info {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.78rem;
  }

  .topbar__info p:nth-child(2),
  .topbar__info a:last-child,
  .topbar__links {
    display: none;
  }

  .topbar__info p,
  .topbar__info a {
    white-space: nowrap;
  }

  .appointment-banner {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
    border-radius: 26px 26px 0 0;
    min-height: 0;
    padding: 1.1rem 1rem 1rem;
    gap: 0.65rem;
    background:
      radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 34%),
      linear-gradient(135deg, #223d7a 0%, #2c4d99 58%, #169447 100%);
    box-shadow: 0 24px 44px rgba(22, 40, 72, 0.18);
  }

  .appointment-banner__content {
    width: 100%;
  }

  .appointment-banner__head {
    text-align: left;
    padding-top: 0.3rem;
    margin-bottom: 0.95rem;
    padding-inline: 0.05rem;
  }

  .appointment-banner__visual {
    position: static;
    order: 2;
    margin-top: 0.15rem;
    justify-content: flex-end;
  }

  .appointment-banner__doctor-image {
    width: min(100%, 210px);
    transform: none;
    margin-right: -0.15rem;
    filter: drop-shadow(0 16px 24px rgba(5, 36, 92, 0.18));
  }

  .appointment-banner__head h2 {
    font-size: clamp(1.7rem, 3.8vw, 2rem);
    line-height: 1.04;
  }

  .appointment-banner__head p {
    max-width: 28ch;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.92;
  }

  .appointment-banner__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 0.9rem;
    border-radius: 20px;
    box-shadow:
      0 18px 30px rgba(9, 51, 112, 0.12),
      inset 0 0 0 1px rgba(27, 111, 223, 0.06);
  }

  .appointment-banner__field--date,
  .appointment-banner__submit,
  .appointment-banner .form-note {
    grid-column: 1 / -1;
  }

  .appointment-banner__field {
    gap: 0.38rem;
    min-width: 0;
  }

  .appointment-banner__field label {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }

  .appointment-banner__field input,
  .appointment-banner__field select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    padding: 0.72rem 0.88rem;
    border-radius: 12px;
    font-size: 0.86rem;
  }

  .appointment-banner__submit {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    margin-top: 0.1rem;
    border-radius: 14px;
    font-size: 0.88rem;
    box-shadow: 0 14px 28px rgba(15, 102, 214, 0.18);
  }

  .appointment-banner .form-note {
    text-align: left;
  }

  .patient-stories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .doctors-nav {
    display: none;
  }

  .doctors-preview__grid,
  .leadership__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctors-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    background: linear-gradient(180deg, #f2f6fc 0%, #fbfdff 100%);
    padding: 0;
  }

  .header-nav__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 96px;
    gap: 1rem;
    padding-block: 0.85rem;
    position: relative;
  }

  .topbar {
    background: #2c4d99;
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .topbar__inner {
    min-height: 48px;
    padding-block: 0.35rem;
  }

  .topbar__info {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.7rem;
  }

  .topbar__info p,
  .topbar__info a {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    min-height: 34px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.96);
    box-shadow: none;
  }

  .topbar__info p:nth-of-type(2),
  .topbar__info a[href^="mailto:"] {
    display: none;
  }

  .topbar__links {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex: 0 0 auto;
  }

  .topbar__links > a:first-child {
    display: none;
  }

  .topbar__social-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .header-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(223, 232, 245, 0.92);
    backdrop-filter: blur(18px);
  }

  .header-nav.is-sticky,
  .site-header.is-hero-active .header-nav {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 18px 42px rgba(22, 40, 72, 0.12);
  }

  .brand {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(223, 232, 245, 0.96);
    box-shadow: 0 14px 28px rgba(22, 40, 72, 0.07);
  }

  .brand__text strong {
    color: #233c70;
  }

  .brand__text small {
    color: #8aa0c5;
  }

  .header-nav.menu-open {
    box-shadow: 0 24px 50px rgba(22, 40, 72, 0.16);
  }

  .header-nav.menu-open .header-nav__inner {
    max-height: calc(100vh - var(--topbar-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    align-content: start;
    padding-bottom: 0.65rem;
    scrollbar-width: thin;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    position: relative;
    z-index: 2;
    overflow: hidden;
  }

  .primary-nav,
  .header-actions {
    display: none;
  }

  .header-nav.menu-open .primary-nav,
  .header-nav.menu-open .header-actions {
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
  }

  .header-nav.menu-open .primary-nav {
    position: relative;
    max-height: none;
    overflow: visible;
    padding-right: 0.15rem;
    padding-top: 0.25rem;
    padding-bottom: 0.3rem;
    animation: mobileHeaderPanelIn 0.28s cubic-bezier(.22,1,.36,1);
  }

  .header-nav.menu-open .primary-nav::before {
    content: "Navigation";
    display: block;
    margin-bottom: 0.45rem;
    color: #28457f;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .header-nav.menu-open .primary-nav__menu,
  .header-nav.menu-open .header-actions {
    grid-auto-flow: row;
    justify-content: stretch;
  }

  .header-nav.menu-open .primary-nav__menu {
    gap: 0.42rem;
    padding: 0.72rem;
    border: 1px solid rgba(214, 225, 239, 0.98);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(242, 247, 254, 0.98) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 28px 46px rgba(22, 40, 72, 0.09);
  }

  .header-nav.menu-open .primary-nav__menu a[aria-current="page"] {
    color: #2c4d99;
  }

  .header-nav.menu-open .primary-nav__menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    min-height: 44px;
    padding: 0.72rem 0.82rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 250, 255, 0.98));
    border: 1px solid rgba(223, 232, 245, 0.92);
    box-shadow: 0 14px 28px rgba(22, 40, 72, 0.05);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  .header-nav.menu-open .primary-nav__menu a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, #3559ac, #28478e);
    box-shadow: 0 0 0 5px rgba(44, 77, 153, 0.08);
    flex: 0 0 auto;
  }

  .header-nav.menu-open .primary-nav__menu a::after {
    position: static;
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    width: auto;
    height: auto;
    background: none;
    color: #7a8fb6;
    transform: none;
    opacity: 1;
  }

  .header-nav.menu-open .primary-nav__menu a:hover,
  .header-nav.menu-open .primary-nav__menu a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(44, 77, 153, 0.22);
    box-shadow: 0 18px 30px rgba(22, 40, 72, 0.08);
  }

  .header-nav.menu-open .header-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 0.08rem 0 0.35rem;
    animation: mobileHeaderPanelIn 0.34s cubic-bezier(.22,1,.36,1);
  }

  .header-nav.menu-open .header-actions .btn {
    width: 100%;
    min-height: 44px;
    border-radius: 14px;
    padding-inline: 0.78rem;
    font-size: 0.82rem;
    box-shadow: 0 16px 28px rgba(22, 40, 72, 0.12);
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 54px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.62rem 0.42rem 0.28rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 249, 255, 0.86));
    border: 1px solid rgba(214, 225, 239, 0.86);
    box-shadow: 0 12px 26px rgba(22, 40, 72, 0.08);
  }

  .brand__logo {
    width: clamp(178px, 40vw, 225px);
    max-width: 100%;
    flex: 0 0 auto;
  }

  .brand__text {
    display: none;
  }

  .brand__text small {
    color: #5f759d;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .nav-toggle {
    width: 52px;
    height: 52px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    position: relative;
    padding: 0;
    border: 1px solid rgba(208, 220, 237, 0.94);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 255, 0.96));
    box-shadow: 0 14px 26px rgba(22, 40, 72, 0.1);
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .nav-toggle::before,
  .nav-toggle::after {
    content: none;
  }

  .nav-toggle > .nav-toggle__line {
    display: block;
    width: 24px;
    height: 2.5px;
    min-width: 24px;
    max-width: 24px;
    margin: 0;
    border-radius: 999px;
    background: #28457f;
    transition: transform 0.22s ease, opacity 0.18s ease, background 0.18s ease;
    transform-origin: center;
  }

  .nav-toggle > .nav-toggle__line + .nav-toggle__line {
    margin-top: 6px;
  }

  .nav-toggle .sr-only {
    position: absolute;
  }

  .nav-toggle:hover > .nav-toggle__line,
  .nav-toggle:focus-visible > .nav-toggle__line {
    background: #1b3463;
  }

  .nav-toggle[aria-expanded="true"] > .nav-toggle__line--top {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > .nav-toggle__line--bottom {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(62, 96, 171, 0.28);
    box-shadow: 0 18px 30px rgba(22, 40, 72, 0.14);
  }

  .nav-toggle[aria-expanded="true"] {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(230, 240, 255, 0.98));
    border-color: rgba(62, 96, 171, 0.24);
    box-shadow: 0 18px 30px rgba(22, 40, 72, 0.12);
  }

  .nav-toggle > .nav-toggle__frame,
  .nav-toggle > .nav-toggle__dot {
    display: none;
  }

  body.menu-open-mobile {
    overflow: hidden;
  }

  body.menu-open-mobile::before {
    content: "";
    position: fixed;
    inset: calc(var(--topbar-height) + var(--main-header-height)) 0 0;
    background: rgba(15, 30, 58, 0.22);
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 30;
  }

  .hero__grid,
  .two-column,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    position: absolute;
    inset: auto 0 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 7rem 1.4rem 1.35rem;
    transform: none;
    justify-content: flex-start;
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 251, 255, 0.82) 18%, rgba(255, 255, 255, 0.97) 34%, #ffffff 100%);
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero__media {
    min-height: auto;
    padding-inline: 0;
    padding-bottom: 0;
  }

  .hero-stage {
    height: auto;
    min-height: 640px;
    max-height: none;
    width: min(100% - 24px, 760px);
    margin: 0 auto;
    border-radius: 32px;
    box-shadow: 0 24px 54px rgba(22, 40, 72, 0.16);
    background: linear-gradient(180deg, #eef4fc 0%, #f8fbff 100%);
    border: 1px solid rgba(222, 231, 243, 0.92);
  }

  .hero-slider,
  .hero-slide img {
    min-height: 640px;
    height: auto;
    max-height: none;
  }

  .hero-slider {
    border-radius: 32px;
  }

  .hero-stage__overlay {
    background:
      linear-gradient(180deg, rgba(12, 27, 52, 0.12) 0%, rgba(12, 27, 52, 0.02) 22%, rgba(255, 255, 255, 0) 36%),
      linear-gradient(180deg, rgba(255, 255, 255, 0) 38%, rgba(243, 247, 253, 0.18) 48%, rgba(247, 250, 255, 0.78) 66%, rgba(255, 255, 255, 0.98) 82%, #ffffff 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 34%, rgba(26, 148, 71, 0.08) 100%);
  }

  .hero-slide img {
    object-fit: cover;
    object-position: center center;
  }

  .hero-highlights {
    position: relative;
    right: auto;
    top: auto;
    width: min(100% - 24px, 680px);
    margin: 1.15rem auto 0;
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .hero-slider__arrow {
    display: none;
  }

  .hero__image-frame {
    margin-inline: auto;
  }

  .hero-highlights__track {
    animation: none;
    transform: none;
  }

  .hero-highlights__group,
  .hero-highlights__group[aria-hidden="true"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .hero-highlights__group[aria-hidden="true"] {
    display: none;
  }

  .hero-highlight-card {
    min-height: 92px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(223, 232, 245, 0.92);
    box-shadow: 0 16px 30px rgba(22, 40, 72, 0.08);
    padding: 0.9rem 1rem;
  }

  .hero__content h1 {
    margin-bottom: 0.9rem;
    max-width: 10ch;
    font-size: clamp(2.4rem, 5.1vw, 3.35rem);
    line-height: 0.98;
  }

  .hero__title-line,
  .hero__title-accent {
    white-space: normal;
  }

  .hero__lead {
    max-width: 34ch;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #465467;
  }

  .hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 0.8rem;
    margin-block: 1.35rem 0;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border-radius: 14px;
  }

  .hero-metrics--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.85rem;
    margin-top: 1.35rem;
    padding-top: 0;
  }

  .hero-metrics--inline li {
    padding: 0.9rem 0.95rem;
    border: 1px solid rgba(224, 232, 244, 0.92);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
    box-shadow: 0 14px 28px rgba(22, 40, 72, 0.06);
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
      "icon value"
      "icon label";
  }

  .hero-metrics--inline li strong {
    font-size: 1.18rem;
  }

  .hero-metrics--inline li span {
    margin-top: 0.12rem;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  :root {
    --topbar-height: 44px;
    --main-header-height: 90px;
    --header-stack-height: 134px;
    --section-space: clamp(3rem, 10vw, 4rem);
  }

  .container {
    width: min(100% - 24px, 1280px);
  }

  .topbar__inner {
    min-height: 44px;
    padding-block: 0.24rem;
  }

  .topbar__info {
    grid-template-columns: 1fr;
    font-size: 0.72rem;
    gap: 0.45rem;
  }

  .topbar__inner {
    justify-content: space-between;
  }

  .topbar__links {
    gap: 0.35rem;
  }

  .topbar__social-link {
    width: 26px;
    height: 26px;
  }

  .topbar__info p,
  .topbar__info a {
    padding: 0;
    font-size: 0.72rem;
  }

  .section-head,
  .emergency-cta__inner,
  .footer-bottom__links,
  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav__inner {
    min-height: 90px;
    gap: 0.6rem;
    padding-block: 0.72rem;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
  }

  .nav-toggle > .nav-toggle__line {
    width: 22px;
    min-width: 22px;
    max-width: 22px;
  }

  .nav-toggle > .nav-toggle__line + .nav-toggle__line {
    margin-top: 6px;
  }

  .brand__logo {
    width: 176px;
    max-width: min(100%, 176px);
  }

  .header-nav.menu-open .primary-nav__menu a {
    min-height: 42px;
    padding: 0.66rem 0.78rem;
    font-size: 0.84rem;
  }

  .header-nav.menu-open .primary-nav__menu {
    gap: 0.38rem;
    padding: 0.62rem;
    border-radius: 20px;
  }

  .header-nav.menu-open .header-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .header-nav.menu-open .header-actions .btn {
    min-height: 42px;
    padding-inline: 0.7rem;
    font-size: 0.78rem;
  }

  .brand {
    gap: 0.55rem;
    padding-right: 0.55rem;
  }

  .brand__text strong {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
  }

  .brand__text small {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .hero-stage {
    width: 100%;
    min-height: 700px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0;
  }

  .hero-shell {
    padding-top: 0;
  }

  .hero-slider,
  .hero-slide img {
    min-height: 760px;
    object-fit: cover;
    object-position: center top;
    background: linear-gradient(180deg, #dbeafb 0%, #eef5fd 100%);
  }

  .hero-slide {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .hero-slider,
  .hero-slide img {
    border-radius: 0;
  }

  .hero-slide img {
    width: 100%;
    max-width: none;
    margin-left: 0;
    transform: none;
    transform-origin: center center;
  }

  .hero-stage__overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 30%, rgba(246, 250, 255, 0.2) 44%, rgba(250, 252, 255, 0.78) 58%, rgba(255, 255, 255, 0.96) 72%, #ffffff 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.24) 18%, rgba(255, 255, 255, 0.1) 34%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0) 62%);
  }

  .hero__content {
    width: auto;
    max-width: none;
    padding: 12.9rem 1.15rem 1rem;
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 42%, rgba(250, 252, 255, 0.26) 54%, rgba(255, 255, 255, 0.72) 66%, rgba(255, 255, 255, 0.94) 78%, #ffffff 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.54) 52%, rgba(255, 255, 255, 0.08) 74%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: none;
  }

  .hero__content h1 {
    margin-bottom: 0.8rem;
    max-width: 8.2ch;
    font-size: clamp(2rem, 6.8vw, 2.55rem);
    line-height: 0.94;
    letter-spacing: -0.045em;
  }

  .hero__lead {
    max-width: 30ch;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-block: 1rem 0.25rem;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border-radius: 14px;
  }

  .hero-metrics--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 320px);
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 1.2rem;
    gap: 1rem 1.1rem;
    margin-top: 1.35rem;
    justify-items: center;
    align-items: start;
    justify-content: center;
    text-align: center;
  }

  .hero-metrics--inline li {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "value"
      "label";
    align-items: center;
    justify-items: center;
    justify-content: center;
    min-height: 78px;
    width: 100%;
    max-width: 144px;
    padding: 0.8rem 0.65rem 0.72rem;
    margin-inline: auto;
    border: 1px solid rgba(220, 229, 241, 0.95);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
    box-shadow: 0 10px 24px rgba(22, 40, 72, 0.06);
    text-align: center;
    gap: 0.18rem;
  }

  .hero-metrics--inline li i {
    grid-area: icon;
    font-size: 0.86rem;
    line-height: 1;
  }

  .hero-metrics--inline li strong {
    grid-area: value;
    font-size: 1.02rem;
  }

  .hero-metrics--inline li span {
    grid-area: label;
    margin-top: 0;
    font-size: 0.7rem;
    line-height: 1.24;
    white-space: normal;
    text-align: center;
  }

  .hero-metrics,
  .quick-actions__grid,
  .mission-grid,
  .patient-stories__grid,
  .services-preview__grid,
  .doctors-preview__grid,
  .doctors-stats,
  .card-grid--three,
  .card-grid--four,
  .department-grid,
  .leadership__grid,
  .facility-grid,
  .stats-band__grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    padding-top: 1.65rem;
    padding-bottom: 2rem;
  }

  .quick-actions .container {
    width: min(100% - 24px, 1440px);
  }

  .quick-actions__grid {
    gap: 1rem;
    justify-items: center;
  }

  .info-card {
    width: 100%;
    max-width: 420px;
    min-height: 0;
    margin-inline: auto;
    padding: 1.35rem 1rem 1.15rem;
    border-radius: 20px;
  }

  .info-card h3,
  .info-card p {
    text-align: center;
  }

  .info-card h3 {
    margin-bottom: 0.46rem;
    font-size: 1rem;
  }

  .info-card p {
    max-width: 26ch;
    margin-inline: auto;
    font-size: 0.86rem;
    line-height: 1.56;
  }

  .icon-badge {
    width: 56px;
    height: 56px;
    margin-bottom: 0.9rem;
    border-radius: 18px;
  }

  .hero-highlights {
    display: none;
  }

  .hero-slide img {
    min-height: 600px;
  }

  .hero-slider {
    min-height: 600px;
  }

  .hero-stage {
    min-height: 660px;
    height: auto;
  }

  .doctors-preview .container {
    width: min(100% - 24px, 1440px);
  }

  .doctors-preview {
    padding-top: 1.75rem;
    padding-bottom: 1.2rem;
  }

  .section-head--doctors {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .doctors-preview__eyebrow {
    grid-column: auto;
    gap: 0.55rem;
    font-size: 0.86rem;
    line-height: 1.35;
    text-align: center;
  }

  .doctors-preview__eyebrow::before,
  .doctors-preview__eyebrow::after {
    width: 34px;
  }

  .doctors-preview__cta {
    grid-column: auto;
    justify-self: center;
    width: 100%;
    max-width: 212px;
    min-height: 44px;
    padding-inline: 0.95rem;
  }

  .doctors-preview__shell {
    gap: 0;
  }

  .doctors-preview__viewport {
    overflow: hidden;
    padding-inline: 0.15rem;
  }

  .doctors-preview__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 82%);
    gap: 0.8rem;
    width: auto;
    padding: 0.2rem 0 0.35rem;
  }

  .doctor-card--specialist {
    width: 100%;
    min-width: 0;
    border-radius: 18px;
  }

  .doctor-portrait {
    aspect-ratio: 1 / 0.94;
  }

  .doctor-card--specialist h3 {
    font-size: 0.94rem;
  }

  .doctor-meta--speciality {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .doctor-card__actions {
    justify-content: flex-start;
  }

  .doctors-highlights {
    padding-top: 0.75rem;
    padding-bottom: 2rem;
  }

  .doctors-highlights .container {
    width: min(100% - 24px, 1440px);
  }

  .doctors-highlights__band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 22px;
    overflow: hidden;
  }

  .doctors-highlights__item {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 0.4rem;
    min-height: 108px;
    padding: 1rem 0.85rem 0.95rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .doctors-highlights__item:nth-child(2n) {
    border-right: 0;
  }

  .doctors-highlights__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .doctors-highlights__item:last-child {
    grid-column: auto;
  }

  .doctors-highlights__item i {
    font-size: 1rem;
  }

  .doctors-highlights__item strong,
  .doctors-highlights__item span {
    display: block;
    text-align: center;
  }

  .doctors-highlights__item strong {
    font-size: 1.35rem;
    line-height: 1;
  }

  .doctors-highlights__item span {
    margin-top: 0.18rem;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .services-preview .container {
    width: min(100% - 24px, 1440px);
  }

  .services-preview {
    padding-top: 1.85rem;
    padding-bottom: 2.15rem;
  }

  .section-head--services {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .services-preview__eyebrow {
    grid-column: auto;
    gap: 0.55rem;
    font-size: 0.84rem;
    line-height: 1.35;
    text-align: center;
  }

  .services-preview__eyebrow::before,
  .services-preview__eyebrow::after {
    width: 34px;
  }

  .services-preview__cta {
    grid-column: auto;
    justify-self: center;
    width: 100%;
    min-height: 46px;
    padding-inline: 1rem;
    border-radius: 14px;
  }

  .services-preview__grid {
    gap: 1rem;
  }

  .service-card--medical {
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  }

  .service-card__media {
    padding: 0.62rem 0.62rem 0;
    border-radius: 22px 22px 0 0;
  }

  .service-card__media img {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    object-fit: cover;
    object-position: center center;
  }

  .service-card__content {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.78rem 0.95rem 1rem;
    align-items: center;
  }

  .service-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    transform: translateY(-10px);
  }

  .service-card__icon i {
    font-size: 1rem;
  }

  .service-card__copy {
    margin-top: 0;
  }

  .service-card--medical h3 {
    margin-bottom: 0.16rem;
    font-size: 1rem;
    line-height: 1.24;
  }

  .service-card--medical p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .patient-stories .container {
    width: min(100% - 24px, 1440px);
  }

  .patient-stories {
    padding-top: 1.9rem;
    padding-bottom: 2.1rem;
  }

  .patient-stories__shell {
    gap: 1rem;
  }

  .patient-stories__head {
    margin-bottom: 0.9rem;
  }

  .patient-stories__title-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .patient-stories__head h2 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
    line-height: 1.04;
  }

  .patient-stories__google-summary {
    min-height: 38px;
    padding: 0.52rem 0.78rem;
  }

  .patient-stories__google-meta {
    font-size: 0.76rem;
  }

  .patient-stories__body {
    gap: 0;
  }

  .patient-stories__viewport {
    overflow: hidden;
    padding: 0.12rem 0;
  }

  .patient-stories__grid {
    display: flex;
    width: max-content;
    gap: 0.9rem;
  }

  .story-card {
    min-height: 0;
    padding: 1rem 0.95rem 0.95rem;
    border-radius: 18px;
  }

  .story-card--google {
    flex: 0 0 284px;
    width: auto;
    min-height: 0;
  }

  .story-card p {
    margin-bottom: 0.8rem;
    font-size: 0.84rem;
    line-height: 1.66;
  }

  .story-card__footer h3 {
    font-size: 0.9rem;
  }

  .story-card__footer span {
    font-size: 0.73rem;
  }

  .story-avatar {
    width: 46px;
    height: 46px;
    font-size: 0.92rem;
  }

  .patient-emergency {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1.2rem 1rem 0;
    border-radius: 24px;
  }

  .patient-emergency__content {
    max-width: none;
  }

  .patient-emergency__eyebrow {
    margin-bottom: 0.8rem;
    font-size: 0.62rem;
  }

  .patient-emergency h3 {
    margin-bottom: 0.62rem;
    font-size: 1.75rem;
  }

  .patient-emergency p {
    margin-bottom: 1rem;
    font-size: 0.88rem;
    line-height: 1.62;
  }

  .patient-emergency__cta {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding-inline: 0.95rem;
    border-radius: 14px;
    font-size: 0.88rem;
  }

  .patient-emergency__media {
    justify-self: center;
    width: min(100%, 276px);
    transform: translateX(0) translateY(8px);
  }

  .site-footer .container {
    width: min(100% - 24px, 1440px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 0.9rem;
    padding: 1.35rem 0 1.6rem;
    align-items: start;
  }

  .footer-brand,
  .footer-contact,
  .footer-links,
  .footer-services,
  .footer-info,
  .footer-map {
    padding-right: 0;
  }

  .footer-brand::after,
  .footer-contact::after,
  .footer-links::after,
  .footer-services::after,
  .footer-info::after {
    display: none;
  }

  .footer-brand,
  .footer-map {
    grid-column: 1 / -1;
  }

  .footer-brand {
    max-width: none;
    padding-bottom: 0.15rem;
    align-items: center;
    text-align: center;
  }

  .footer-brand__logo,
  .footer-brand__logo img {
    width: 148px;
  }

  .footer-brand__logo {
    margin-inline: auto;
    align-self: center;
  }

  .footer-brand p {
    margin: 0.8rem 0 0.78rem;
    max-width: 34ch;
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: center;
  }

  .footer-socials {
    gap: 0.55rem;
    justify-content: center;
  }

  .footer-links,
  .footer-services,
  .footer-info,
  .footer-contact {
    min-width: 0;
  }

  .footer-links h3,
  .footer-services h3,
  .footer-info h3,
  .footer-contact h3,
  .footer-map h3 {
    margin-bottom: 0.65rem;
    font-size: 1rem;
  }

  .footer-grid ul {
    gap: 0.46rem;
  }

  .footer-links li a,
  .footer-services li a,
  .footer-info li a,
  .footer-contact a {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .footer-contact ul li {
    font-size: 0.86rem;
    gap: 0.48rem;
  }

  .footer-map__card {
    min-height: 180px;
    margin-bottom: 0.8rem;
  }

  .footer-map__card iframe {
    min-height: 180px;
  }

  .footer-bottom__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .footer-bottom__links {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .footer-bottom__inner p {
    flex: 1 1 100%;
    margin: 0;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .footer-bottom__links {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom__links a {
    font-size: 0.8rem;
    line-height: 1.4;
    white-space: nowrap;
  }

  .footer-links__columns {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointment-home .container {
    width: 100%;
    max-width: none;
  }

  .appointment-banner {
    align-items: end;
    border-radius: 0;
    padding: 1rem 1rem 0;
    gap: 0.5rem;
  }

  .appointment-banner__form {
    grid-template-columns: 1fr;
    padding: 0.82rem;
    border-radius: 18px;
  }

  .appointment-banner__submit,
  .appointment-banner .form-note {
    grid-column: auto;
  }

  .appointment-banner__visual {
    margin-top: 0.35rem;
    margin-bottom: 0;
    min-height: 172px;
    justify-content: center;
    align-items: end;
  }

  .appointment-banner__doctor-image {
    width: min(100%, 228px);
    max-width: none;
    margin-inline: auto;
    margin-bottom: -0.3rem;
  }

  .patient-stories__body {
    grid-template-columns: 1fr;
  }

  .stories-nav {
    display: none;
  }

  .doctors-preview .section-head {
    gap: 1rem;
  }

  .doctor-card--specialist .doctor-card__body {
    grid-template-columns: 1fr;
  }

  .doctor-card__actions {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0.35rem;
  }

  .leadership {
    padding-top: 1.9rem;
    padding-bottom: 2.1rem;
  }

  .leadership .container {
    width: min(100% - 24px, 1440px);
  }

  .leadership__header {
    margin-bottom: 1.15rem;
  }

  .leadership__kicker {
    margin-bottom: 0.4rem;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .leadership__header h2 {
    font-size: clamp(2rem, 6vw, 2.55rem);
    line-height: 1.02;
  }

  .leadership-shell {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .leadership-shell__nav {
    display: none;
  }

  .leadership__grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    width: 100%;
  }

  .leader-card--director {
    border-radius: 22px;
    box-shadow: 0 18px 34px rgba(2, 12, 24, 0.22);
  }

  .leader-card__media {
    width: calc(100% - 1.1rem);
    margin-top: 0.58rem;
    padding: 0.22rem;
    border-radius: 16px;
  }

  .leader-photo-trigger,
  .leader-photo {
    border-radius: 14px;
  }

  .leader-photo {
    aspect-ratio: 1 / 0.98;
    object-position: center 16%;
  }

  .leader-card--director .leader-card__body {
    padding: 0.95rem 0.95rem 1.05rem;
    gap: 0.22rem;
  }

  .leader-card--director h3 {
    min-height: 0;
    font-size: 1rem;
    line-height: 1.22;
  }

  .leader-card--director .leader-role {
    margin-bottom: 0.7rem;
    font-size: 0.84rem;
  }

  .leader-profile-btn {
    min-height: 40px;
    min-width: 136px;
    padding: 0.68rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
  }

  .doctors-stats article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .doctors-stats article:last-child {
    border-bottom: 0;
  }

  .about-home .section-copy h2 {
    max-width: none;
  }

  .about-home {
    min-height: 0;
    padding-top: 1.8rem;
    padding-bottom: 2.2rem;
  }

  .about-showcase {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 1440px);
    gap: 1.35rem;
  }

  .about-showcase__copy {
    order: 2;
    padding-top: 0;
  }

  .about-showcase__copy h2 {
    margin: 0.2rem 0 0.9rem;
    font-size: clamp(2.15rem, 6vw, 2.8rem);
    line-height: 1;
  }

  .about-showcase__title-line,
  .about-showcase__title-accent {
    white-space: normal;
  }

  .about-showcase__divider {
    margin-bottom: 1rem;
  }

  .about-showcase__copy > p {
    max-width: none;
    margin-bottom: 1.05rem;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .about-showcase__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 1.15rem 0 1.35rem;
  }

  .about-feature {
    grid-template-columns: 48px 1fr;
    gap: 0.7rem;
  }

  .about-feature__icon {
    width: 46px;
    height: 46px;
  }

  .about-feature__icon i {
    font-size: 1rem;
  }

  .about-feature h3 span {
    white-space: normal;
  }

  .about-feature p {
    max-width: none;
  }

  .about-showcase__cta {
    min-height: 48px;
    margin-top: 0.1rem;
  }

  .about-showcase__visual {
    order: 1;
    padding-left: 0;
  }

  .about-showcase__hero-frame {
    border-radius: 24px;
  }

  .about-showcase__hero-frame img {
    aspect-ratio: 1.15 / 1;
    object-position: center;
  }

  .about-showcase__floating-card {
    right: 14px;
    top: auto;
    bottom: 92px;
    width: min(220px, calc(100% - 28px));
    padding: 0.95rem 0.85rem 0.9rem;
  }

  .about-showcase__floating-card h3,
  .about-showcase__cta span {
    white-space: normal;
  }

  .about-showcase__gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.6rem;
  }

  .about-gallery-card {
    border-radius: 18px;
  }

  .about-gallery-card img {
    min-height: 120px;
  }

  .about-showcase__dots {
    display: none;
  }

  .section-media--about {
    padding: 0.75rem 0 0;
  }

  .about-media-play {
    width: 64px;
    height: 64px;
  }

  .media-accent {
    display: none;
  }

  .about-hero__shell {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 1440px);
  }

  .about-hero__copy {
    max-width: none;
    padding: 1rem 0 0;
  }

  .about-hero__copy p {
    max-width: none;
  }

  .about-hero__features {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0;
  }

  .about-hero__feature:nth-child(2) {
    border-right: 0;
  }

  .about-hero__feature:nth-child(-n + 2) {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(26, 61, 121, 0.11);
  }

  .about-hero__visual {
    justify-content: center;
  }

  .about-hero__visual::before,
  .about-hero__image-wrap {
    width: 100%;
    border-radius: 36px;
  }

  .about-hero__image-wrap,
  .about-hero__image-wrap img {
    min-height: 440px;
  }

  .about-story__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-story__stat {
    border-right: 0;
    border-bottom: 1px solid rgba(30, 70, 134, 0.12);
  }

  .about-story__stat:nth-last-child(-n + 2),
  .about-story__stat:last-child {
    border-bottom: 0;
  }

  .about-story__panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 2rem;
  }

  .about-story__intro {
    padding-left: 0.5rem;
  }

  .about-story__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .director-feature {
    grid-template-columns: 1fr;
  }

  .director-feature__media {
    min-height: 248px;
  }

  .director-feature__photo-wrap {
    min-height: 248px;
  }

  .director-feature__photo-wrap img {
    object-fit: cover;
    object-position: center 18%;
    transform: scale(1.01);
  }

  .director-feature__body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.4rem 1.2rem;
  }

  .director-feature__copy,
  .director-feature__contact {
    padding: 0;
  }

  .director-feature__contact {
    border-left: 0;
    border-top: 1px solid rgba(27, 57, 109, 0.12);
    padding-top: 1rem;
  }

}

@media (max-width: 575px) {
  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }

  .site-header .container,
  .container {
    width: min(100% - 20px, 1280px);
  }

  .appointment-home .container {
    width: 100%;
    max-width: none;
  }

  .brand__logo {
    width: 164px;
    max-width: min(100%, 164px);
  }

  .topbar__info {
    justify-content: flex-start;
  }

  .topbar__info p {
    display: none;
  }

  .topbar__info a:first-of-type {
    display: inline-flex;
    font-size: 0.76rem;
  }

  .about-home {
    padding-top: 1.4rem;
    padding-bottom: 1.8rem;
  }

  .about-showcase {
    width: min(100% - 20px, 1440px);
    gap: 1.1rem;
  }

  .about-showcase__copy h2 {
    font-size: 1.9rem;
  }

  .about-showcase__copy > p {
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .about-showcase__features {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin: 1rem 0 1.2rem;
  }

  .about-feature {
    grid-template-columns: 42px 1fr;
    gap: 0.62rem;
  }

  .about-feature__icon {
    width: 40px;
    height: 40px;
  }

  .about-feature__icon i {
    font-size: 0.92rem;
  }

  .about-feature h3 {
    font-size: 0.86rem;
  }

  .about-feature p {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .about-showcase__hero-frame {
    border-radius: 22px;
  }

  .about-showcase__hero-frame img {
    aspect-ratio: 1 / 1;
  }

  .about-showcase__floating-card {
    right: 10px;
    bottom: 76px;
    width: min(180px, calc(100% - 20px));
    padding: 0.8rem 0.72rem;
    border-radius: 18px;
  }

  .about-showcase__floating-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 0.5rem;
  }

  .about-showcase__floating-icon i {
    font-size: 1.2rem;
  }

  .about-showcase__floating-card h3 {
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
  }

  .about-showcase__floating-card p {
    font-size: 0.68rem;
    line-height: 1.38;
  }

  .about-showcase__gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .about-gallery-card img {
    min-height: 92px;
  }

  .leadership {
    padding-top: 1.7rem;
    padding-bottom: 1.9rem;
  }

  .leadership .container {
    width: min(100% - 20px, 1440px);
  }

  .leadership__header {
    margin-bottom: 1rem;
  }

  .leadership__kicker {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .leadership__header h2 {
    font-size: 1.86rem;
  }

  .leadership__grid {
    gap: 0.85rem;
  }

  .director-feature__media {
    min-height: 232px;
  }

  .director-feature__photo-wrap {
    min-height: 232px;
    clip-path: polygon(0 0, 87% 0, 97% 50%, 87% 100%, 0 100%);
  }

  .director-feature__photo-wrap::before {
    right: 22px;
    width: 44px;
  }

  .director-feature__photo-accent {
    right: 10px;
    width: 16px;
  }

  .director-feature__photo-wrap img {
    object-position: center 16%;
    transform: scale(1);
  }

  .leader-card--director {
    border-radius: 20px;
  }

  .leader-card__media {
    width: calc(100% - 0.95rem);
    margin-top: 0.5rem;
  }

  .leader-photo-trigger,
  .leader-photo {
    border-radius: 12px;
  }

  .leader-photo {
    aspect-ratio: 1 / 1.02;
  }

  .leader-card--director .leader-card__body {
    padding: 0.88rem 0.82rem 0.95rem;
  }

  .leader-card--director h3 {
    font-size: 0.92rem;
  }

  .leader-card--director .leader-role {
    margin-bottom: 0.62rem;
    font-size: 0.78rem;
  }

  .leader-profile-btn {
    min-height: 38px;
    min-width: 128px;
    padding: 0.62rem 0.92rem;
    font-size: 0.78rem;
  }

  .hero-stage {
    width: 100%;
    min-height: 680px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: linear-gradient(180deg, #edf4fd 0%, #f8fbff 100%);
    margin: 0;
  }

  .hero-slider,
  .hero-slide img {
    min-height: 720px;
  }

  .hero-slide {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .hero-slide img {
    object-fit: cover;
    object-position: center top;
    background: linear-gradient(180deg, #dbeafb 0%, #eef5fd 100%);
    border-radius: 0;
    width: 100%;
    max-width: none;
    margin-left: 0;
    transform: none;
    transform-origin: center center;
  }

  .hero-slider {
    border-radius: 0;
  }

  .hero-stage__overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.03) 24%, rgba(255, 255, 255, 0.14) 38%, rgba(247, 250, 255, 0.48) 50%, rgba(251, 253, 255, 0.86) 62%, rgba(255, 255, 255, 0.98) 74%, #ffffff 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.72) 24%, rgba(255, 255, 255, 0.36) 42%, rgba(255, 255, 255, 0.06) 58%, rgba(255, 255, 255, 0) 70%);
  }

  .hero__content {
    width: auto;
    max-width: none;
    padding: 11.9rem 0.95rem 0.9rem;
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 40%, rgba(250, 252, 255, 0.24) 52%, rgba(255, 255, 255, 0.72) 64%, rgba(255, 255, 255, 0.94) 76%, #ffffff 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.52) 52%, rgba(255, 255, 255, 0.08) 74%, rgba(255, 255, 255, 0) 100%);
  }

  .hero__content h1 {
    max-width: 7.6ch;
    font-size: clamp(1.95rem, 8vw, 2.2rem);
    line-height: 0.95;
  }

  .hero__lead {
    max-width: 26ch;
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .hero__actions {
    grid-template-columns: 1fr;
    gap: 0.56rem;
    margin-top: 0.95rem;
    margin-bottom: 0.35rem;
  }

  .hero-metrics--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 296px);
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 1rem;
    gap: 0.9rem 0.95rem;
    margin-top: 1.25rem;
    justify-items: center;
    align-items: start;
    justify-content: center;
    text-align: center;
  }

  .hero-highlights {
    display: none;
  }

  .hero-metrics--inline li {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "value"
      "label";
    align-items: center;
    justify-items: center;
    justify-content: center;
    min-height: 74px;
    width: 100%;
    max-width: 136px;
    padding: 0.72rem 0.58rem 0.66rem;
    margin-inline: auto;
    border: 1px solid rgba(220, 229, 241, 0.95);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
    box-shadow: 0 10px 22px rgba(22, 40, 72, 0.055);
    text-align: center;
    gap: 0.16rem;
  }

  .hero-metrics--inline li i {
    grid-area: icon;
    font-size: 0.82rem;
    line-height: 1;
  }

  .hero-metrics--inline li strong {
    grid-area: value;
    font-size: 0.96rem;
  }

  .hero-metrics--inline li span {
    grid-area: label;
    margin-top: 0;
    font-size: 0.66rem;
    line-height: 1.2;
    text-align: center;
  }

  .quick-actions {
    padding-top: 1.45rem;
    padding-bottom: 1.7rem;
  }

  .quick-actions .container {
    width: min(100% - 20px, 1440px);
  }

  .quick-actions__grid {
    gap: 0.9rem;
  }

  .info-card {
    max-width: none;
    padding: 1.15rem 0.9rem 1rem;
    border-radius: 18px;
  }

  .icon-badge {
    width: 52px;
    height: 52px;
    margin-bottom: 0.82rem;
    border-radius: 16px;
  }

  .info-card h3 {
    font-size: 0.96rem;
  }

  .info-card p {
    max-width: 24ch;
    font-size: 0.82rem;
    line-height: 1.52;
  }

  .appointment-banner {
    gap: 0.75rem;
    border-radius: 0;
    padding-inline: 0.95rem;
    padding-bottom: 0;
  }

  .appointment-banner__head {
    padding-top: 0.2rem;
    margin-bottom: 0.75rem;
  }

  .appointment-banner__head h2 {
    font-size: 1.46rem;
  }

  .appointment-banner__head p {
    font-size: 0.82rem;
  }

  .appointment-banner__doctor-image {
    width: min(100%, 214px);
    margin-inline: auto;
    margin-bottom: -0.2rem;
  }

  .appointment-banner__form {
    padding: 0.76rem;
    gap: 0.72rem;
  }

  .appointment-banner__field {
    gap: 0.32rem;
    min-width: 0;
  }

  .appointment-banner__field input,
  .appointment-banner__field select,
  .appointment-banner__submit {
    min-height: 44px;
  }

  .appointment-banner__field input,
  .appointment-banner__field select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: 0.8rem;
    font-size: 0.84rem;
  }

  .appointment-banner__visual {
    min-height: 158px;
  }

  .appointment-banner__submit {
    font-size: 0.85rem;
  }

  .about-hero {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .about-hero__copy h1 {
    font-size: 2.9rem;
  }

  .about-hero__copy p {
    font-size: 1rem;
    margin-top: 1.15rem;
  }

  .about-hero__features {
    grid-template-columns: 1fr;
  }

  .about-hero__feature {
    justify-items: start;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(26, 61, 121, 0.11);
    padding: 0.25rem 0 1rem;
  }

  .about-hero__feature:last-child {
    border-bottom: 0;
  }

  .about-hero__feature:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(26, 61, 121, 0.11);
  }

  .about-hero__image-wrap,
  .about-hero__image-wrap img {
    min-height: 300px;
  }

  .about-story {
    padding-bottom: 2.5rem;
  }

  .about-story__shell {
    width: min(100% - 20px, 1440px);
  }

  .about-story__stats,
  .about-story__cards {
    grid-template-columns: 1fr;
  }

  .about-story__stat {
    padding-inline: 0.4rem;
  }

  .about-story__panel {
    margin-top: 0.85rem;
    padding: 1.8rem 1rem 1rem;
    border-radius: 22px;
  }

  .about-story__intro {
    padding: 0.5rem 0.15rem;
  }

  .about-story__intro h2 {
    font-size: 2rem;
  }

  .about-story-card {
    min-height: auto;
  }

  .about-directors {
    padding-bottom: 2.75rem;
  }

  .about-directors__shell {
    width: min(100% - 20px, 1440px);
  }

  .director-feature__count {
    width: 48px;
    height: 48px;
    font-size: 1.55rem;
  }

  .director-feature__copy h3 {
    font-size: 1.8rem;
  }

  .about-showcase__copy h2,
  .leadership__header h2,
  .patient-stories__head h2,
  .appointment-banner__head h2 {
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(1.9rem, 8vw, 2.05rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  .about-showcase__copy > p,
  .info-card p,
  .service-card--medical p,
  .story-card p,
  .patient-emergency p,
  .appointment-banner__head p,
  .footer-brand p {
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    line-height: 1.58;
    letter-spacing: 0;
  }

  .hero__actions .btn,
  .about-showcase__cta,
  .doctors-preview__cta,
  .services-preview__cta,
  .patient-emergency__cta,
  .leader-profile-btn,
  .appointment-banner__submit,
  .footer-map__directions {
    min-height: 46px;
    border-radius: 14px;
    padding: 0.82rem 1rem;
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.1;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  }

  .hero__actions .btn:hover,
  .about-showcase__cta:hover,
  .doctors-preview__cta:hover,
  .services-preview__cta:hover,
  .patient-emergency__cta:hover,
  .leader-profile-btn:hover,
  .appointment-banner__submit:hover,
  .footer-map__directions:hover,
  .hero__actions .btn:focus-visible,
  .about-showcase__cta:focus-visible,
  .doctors-preview__cta:focus-visible,
  .services-preview__cta:focus-visible,
  .patient-emergency__cta:focus-visible,
  .leader-profile-btn:focus-visible,
  .appointment-banner__submit:focus-visible,
  .footer-map__directions:focus-visible {
    transform: translateY(-2px);
  }

}
@media (max-width: 991px) {
  .coming-soon-shell {
    grid-template-columns: 1fr;
  }

  .coming-soon-card {
    min-height: auto;
  }

  .legal-hero__shell,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-hero__shell {
    min-height: 0;
  }

  .legal-hero__content {
    padding: 3.6rem 2rem 2rem;
  }

  .legal-hero__content-inner {
    max-width: none;
  }

  .legal-hero__lead {
    max-width: 100%;
  }

  .legal-hero__meta {
    gap: 0.7rem;
  }

  .legal-hero__meta-item {
    font-size: 0.9rem;
  }

  .legal-hero__visual {
    padding: 0 2rem 2.4rem;
  }

  .legal-hero__card {
    width: min(100%, 680px);
  }

  .legal-sections {
    padding: 2.8rem 0 3.8rem;
  }

  .legal-sections .container {
    width: min(100% - 36px, 100%);
  }

  .legal-sidebar {
    position: static;
  }

  .legal-sidebar__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #main-content.about-page {
    padding-top: calc(var(--topbar-height) + var(--main-header-height));
  }

  .coming-soon-page {
    padding: 4rem 0;
  }

  .coming-soon-copy h1 span {
    display: inline;
  }

  .coming-soon-card {
    padding: 1.35rem;
    border-radius: 26px;
  }

  .coming-soon-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  #main-content.legal-page {
    padding-top: calc(var(--topbar-height) + var(--main-header-height) + 10px);
  }

  .legal-hero__shell {
    min-height: 0;
    background:
      radial-gradient(circle at 12% 10%, rgba(44, 77, 153, 0.08), transparent 24%),
      radial-gradient(circle at 88% 14%, rgba(22, 148, 71, 0.06), transparent 20%),
      linear-gradient(180deg, #edf5fd 0%, #f8fbff 58%, #ffffff 100%);
    border-top: 0;
    box-shadow: none;
  }

  .legal-hero__shell::before {
    display: none;
  }

  .legal-hero__content {
    padding: 1.35rem 1rem 0.95rem;
  }

  .legal-hero__content-inner {
    max-width: none;
  }

  .legal-hero__breadcrumb {
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    font-size: 0.78rem;
    flex-wrap: wrap;
  }

  .legal-hero__eyebrow {
    margin-bottom: 0.6rem;
  }

  .legal-hero h1 {
    font-size: clamp(2.05rem, 8.8vw, 2.5rem);
  }

  .legal-hero__pulse {
    margin: 0.78rem 0 0.96rem;
  }

  .legal-hero__pulse span {
    width: 28px;
  }

  .legal-hero__lead {
    font-size: 0.9rem;
    line-height: 1.62;
    margin-bottom: 1rem;
  }

  .legal-hero__meta {
    gap: 0.65rem;
  }

  .legal-hero__meta-item {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
    padding: 0.68rem 0.9rem;
    font-size: 0.84rem;
  }

  .legal-hero__visual {
    padding: 0 1rem 1.2rem;
  }

  .legal-hero__card {
    padding: 1.25rem;
    border-radius: 26px;
  }

  .legal-hero__card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero__card-badge {
    font-size: 0.82rem;
  }

  .legal-hero__card-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    font-size: 1.5rem;
  }

  .legal-hero__card h2 {
    margin-top: 1rem;
    font-size: clamp(1.55rem, 7.2vw, 1.92rem);
  }

  .legal-hero__card p {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .legal-hero__card-list {
    gap: 0.72rem;
    margin-top: 1rem;
  }

  .legal-hero__card-item {
    align-items: flex-start;
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
  }

  .legal-hero__card-item strong {
    font-size: 0.9rem;
  }

  .legal-hero__card-item span {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .legal-sections {
    padding: 1.9rem 0 2.8rem;
  }

  .legal-sections .container {
    width: min(100% - 24px, 100%);
  }

  .legal-grid {
    gap: 1rem;
  }

  .legal-content {
    order: 1;
  }

  .legal-sidebar {
    order: 2;
    gap: 0.85rem;
  }

  .legal-content,
  .legal-sidebar__card {
    border-radius: 22px;
  }

  .legal-content {
    padding: 0.8rem;
  }

  .legal-sidebar__card,
  .legal-sidebar__support {
    padding: 1rem;
    border-radius: 20px;
  }

  .legal-sidebar__card h2,
  .legal-sidebar__support h3 {
    font-size: 1rem;
  }

  .legal-sidebar__nav {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .legal-sidebar__nav a {
    min-height: 44px;
    padding: 0.8rem 0.85rem;
    border-radius: 12px;
  }

  .legal-sidebar__support p {
    margin-bottom: 0.8rem;
    font-size: 0.84rem;
    line-height: 1.6;
  }

  .legal-section {
    padding: 1rem;
    border-radius: 18px;
  }

  .legal-section h2 {
    font-size: 1.12rem;
    gap: 0.55rem;
  }

  .legal-section p,
  .legal-section li,
  .legal-sidebar__nav a {
    font-size: 0.88rem;
  }

  .legal-section li {
    padding-left: 1.05rem;
  }

  .legal-section li::before {
    top: 0.72rem;
    width: 7px;
    height: 7px;
  }

  .legal-note {
    padding: 0.9rem;
    border-radius: 16px;
  }
}

@media (max-width: 479px) {
  #main-content.legal-page {
    padding-top: calc(var(--topbar-height) + var(--main-header-height) + 12px);
  }

  .legal-hero__content {
    padding: 1.2rem 0.9rem 0.9rem;
  }

  .legal-hero h1 {
    font-size: clamp(1.78rem, 8.4vw, 2.08rem);
  }

  .legal-hero__lead {
    font-size: 0.84rem;
    line-height: 1.56;
  }

  .legal-hero__meta {
    gap: 0.55rem;
  }

  .legal-hero__meta-item {
    min-height: 40px;
    padding: 0.62rem 0.82rem;
    font-size: 0.79rem;
  }

  .legal-hero__visual {
    padding: 0 0.9rem 1rem;
  }

  .legal-hero__card {
    padding: 1rem;
    border-radius: 22px;
  }

  .legal-hero__card-badge {
    min-height: 38px;
    padding: 0.55rem 0.8rem;
    font-size: 0.76rem;
  }

  .legal-hero__card-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.28rem;
  }

  .legal-hero__card h2 {
    font-size: 1.42rem;
  }

  .legal-hero__card p {
    font-size: 0.84rem;
  }

  .legal-hero__card-item {
    gap: 0.72rem;
    padding: 0.8rem 0.82rem;
  }

  .legal-sections .container {
    width: min(100% - 18px, 100%);
  }

  .legal-content {
    padding: 0.72rem;
    border-radius: 18px;
  }

  .legal-sidebar__card,
  .legal-sidebar__support,
  .legal-section {
    padding: 0.88rem;
    border-radius: 16px;
  }

  .legal-section h2 {
    font-size: 1rem;
  }

  .legal-section p,
  .legal-section li,
  .legal-sidebar__nav a {
    font-size: 0.82rem;
    line-height: 1.68;
  }

  .about-hero {
    min-height: 0;
    padding: 0 0 2.2rem;
    background: linear-gradient(180deg, #edf4fb 0%, #f9fcff 26%, #f4f8ff 100%);
  }

  .about-hero__shell {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    gap: 0;
    align-items: start;
  }

  .about-hero__visual {
    order: 1;
    width: calc(100% + 48px);
    margin-inline: -24px;
    justify-content: center;
  }

  .about-hero__visual::before {
    display: none;
  }

  .about-hero__image-wrap {
    width: 100%;
    min-height: 300px;
    border-radius: 0;
    box-shadow: 0 24px 42px rgba(22, 40, 72, 0.14);
  }

  .about-hero__image-wrap img {
    min-height: 300px;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.04);
  }

  .about-hero__copy {
    order: 2;
    max-width: none;
    position: relative;
    z-index: 1;
    margin: -1.2rem 12px 0;
    padding: 1.1rem 1rem 1rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.97));
    box-shadow: 0 18px 40px rgba(22, 40, 72, 0.08);
    border: 1px solid rgba(223, 232, 244, 0.92);
  }

  .about-hero__copy h1 {
    margin-bottom: 0.7rem;
    font-size: clamp(2.15rem, 8vw, 2.7rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .about-hero__copy p {
    max-width: none;
    margin-top: 0;
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .about-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.82rem;
    margin-top: 1rem;
  }

  .about-hero__feature,
  .about-hero__feature:nth-child(-n + 2),
  .about-hero__feature:nth-child(2) {
    align-content: start;
    justify-items: start;
    gap: 0.52rem;
    padding: 0.88rem 0.8rem 0.82rem;
    min-height: 0;
    border: 1px solid rgba(221, 231, 244, 0.94);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 248, 255, 0.97));
    box-shadow: 0 12px 24px rgba(22, 40, 72, 0.06);
    text-align: left;
  }

  .about-hero__feature:last-child {
    border-bottom: 1px solid rgba(221, 231, 244, 0.94);
  }

  .about-hero__feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(22, 40, 72, 0.08);
  }

  .about-hero__feature-icon i {
    font-size: 0.98rem;
  }

  .about-hero__feature h3 {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .about-story {
    margin-top: 0;
    padding: 0 0 2.6rem;
  }

  .about-story__shell {
    width: min(100% - 24px, 1440px);
  }

  .about-story__stats {
    grid-template-columns: 1fr;
    gap: 0.72rem;
    margin: 0 0 1.15rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .about-story__stat {
    justify-content: flex-start;
    gap: 0.82rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid rgba(221, 231, 244, 0.95);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(243, 248, 255, 0.975));
    box-shadow: 0 14px 30px rgba(22, 40, 72, 0.06);
    text-align: left;
  }

  .about-story__stat:nth-last-child(-n + 2),
  .about-story__stat:last-child {
    border-bottom: 1px solid rgba(221, 231, 244, 0.95);
  }

  .about-story__stat:last-child {
    border-bottom: 1px solid rgba(221, 231, 244, 0.95);
  }

  .about-story__stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #eef4fc);
    box-shadow: inset 0 0 0 1px rgba(44, 77, 153, 0.08), 0 8px 18px rgba(22, 40, 72, 0.06);
    font-size: 1.1rem;
    flex: 0 0 auto;
  }

  .about-story__stat strong {
    font-size: 1.22rem;
  }

  .about-story__stat span {
    margin-top: 0.16rem;
    font-size: 0.8rem;
  }

  .about-story__panel {
    margin-top: 0;
  }

  .about-story__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .about-story__cta i {
    font-size: 0.82rem;
    line-height: 1;
    transform: translateY(1px);
  }

  #main-content.departments-page {
    padding-top: calc(var(--topbar-height) + var(--main-header-height));
  }

  .departments-hero {
    padding: 0 0 1.9rem;
  }

  .departments-hero__shell {
    width: 100%;
    min-height: 0;
    display: block;
    background:
      radial-gradient(circle at 12% 10%, rgba(44, 77, 153, 0.08), transparent 24%),
      radial-gradient(circle at 88% 14%, rgba(22, 148, 71, 0.06), transparent 20%),
      linear-gradient(180deg, #edf5fd 0%, #f8fbff 58%, #ffffff 100%);
    border-top: 0;
    box-shadow: none;
  }

  .departments-hero__shell::before {
    display: none;
  }

  .departments-hero__visual {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 0;
  }

  .departments-hero__image-wrap {
    min-height: 320px;
    border-radius: 0 0 26px 26px;
    overflow: hidden;
  }

  .departments-hero__image-wrap::after {
    inset: auto 0 0 0;
    height: 52%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(243, 248, 255, 0.42) 32%, rgba(247, 250, 255, 0.9) 74%, #f9fbff 100%);
  }

  .departments-hero__image-wrap img {
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
  }

  .departments-hero__content {
    width: 100%;
    padding: 0;
    margin-top: -2.1rem;
  }

  .departments-hero__content-inner {
    position: relative;
    max-width: none;
    margin: 0 16px;
    padding: 1.2rem 1rem 1.05rem;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(245, 249, 255, 0.975)),
      linear-gradient(135deg, rgba(44, 77, 153, 0.03), rgba(22, 148, 71, 0.03));
    box-shadow: 0 18px 36px rgba(22, 40, 72, 0.1);
    border: 1px solid rgba(223, 233, 245, 0.96);
  }

  .departments-hero h1 {
    margin-bottom: 0.9rem;
    font-size: clamp(2.4rem, 5.1vw, 3.35rem);
    line-height: 0.98;
  }

  .departments-hero__pulse {
    margin: 0.82rem 0 1rem;
    color: #2c4d99;
  }

  .departments-hero__pulse span {
    background: linear-gradient(90deg, rgba(44, 77, 153, 0.36), rgba(22, 148, 71, 0.28));
  }

  .departments-hero__lead {
    max-width: none;
    margin-bottom: 1.3rem;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .departments-hero__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .departments-hero__feature {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.88rem 0.85rem;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.95)),
      linear-gradient(135deg, rgba(44, 77, 153, 0.025), rgba(22, 148, 71, 0.03));
    border: 1px solid rgba(223, 233, 245, 0.94);
    box-shadow: 0 10px 22px rgba(22, 40, 72, 0.05);
  }

  .departments-hero__feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(180deg, #f9fbff, #eef5ff);
    color: #2c4d99;
    border-color: rgba(180, 200, 236, 0.95);
  }

  .departments-hero__feature-icon i {
    font-size: 0.96rem;
  }

  .departments-hero__feature h2 {
    font-size: 0.96rem;
    white-space: normal;
  }

  .departments-hero__feature p {
    font-size: 0.82rem;
    line-height: 1.52;
  }

  .departments-explore {
    padding-top: 1.8rem;
    padding-bottom: 1rem;
  }

  .departments-explore .container {
    width: min(100% - 24px, 1440px);
  }

  .departments-explore__head {
    margin-bottom: 1.15rem;
    text-align: center;
  }

  .departments-explore__head h2 {
    font-size: clamp(2rem, 5vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .departments-explore__divider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.38rem;
    color: #2c4d99;
  }

  .departments-explore__divider span {
    background: linear-gradient(90deg, rgba(44, 77, 153, 0.34), rgba(22, 148, 71, 0.28));
  }

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

  .department-showcase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 214px;
    padding: 1.2rem 0.95rem 1rem;
    border-radius: 18px;
    align-items: center;
    text-align: center;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(247, 250, 255, 0.98)),
      linear-gradient(135deg, rgba(44, 77, 153, 0.02), rgba(22, 148, 71, 0.02));
    border: 1px solid rgba(226, 233, 244, 0.95);
    box-shadow: 0 12px 28px rgba(22, 40, 72, 0.05);
    overflow: hidden;
  }

  .department-showcase-card__icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 0.9rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fbff, #edf4ff);
    color: #2d66d1;
    box-shadow: inset 0 0 0 1px rgba(227, 235, 247, 0.9);
  }

  .department-showcase-card__icon i {
    font-size: 1.5rem;
  }

  .department-showcase-card h3 {
    margin-bottom: 0.54rem;
    font-size: 0.96rem;
    line-height: 1.28;
  }

  .department-showcase-card p {
    max-width: 18ch;
    margin: 0 auto 0.95rem;
    font-size: 0.82rem;
    line-height: 1.52;
  }

  .department-showcase-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2c4d99;
  }

  .department-showcase-card a i {
    font-size: 0.76rem;
  }

  .departments-explore--continuation {
    padding-top: 0.15rem;
    padding-bottom: 1.8rem;
  }
}

@media (max-width: 575px) {
  #main-content.departments-page {
    padding-top: calc(var(--topbar-height) + var(--main-header-height));
  }

  .departments-hero {
    padding: 0 0 1.7rem;
  }

  .departments-hero__image-wrap {
    min-height: 244px;
    border-radius: 0;
  }

  .departments-hero__image-wrap img {
    object-position: center center;
    transform: scale(1.03);
  }

  .departments-hero__content {
    margin-top: -1.2rem;
  }

  .departments-hero__content-inner {
    margin: 0 10px;
    padding: 0.98rem 0.88rem 0.92rem;
    border-radius: 22px;
  }

  .departments-hero h1 {
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 6.8vw, 2.55rem);
    line-height: 0.94;
    letter-spacing: -0.045em;
  }

  .departments-hero__lead {
    margin-bottom: 1.05rem;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .departments-hero__features {
    grid-template-columns: 1fr;
    gap: 0.64rem;
  }

  .departments-hero__feature {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.64rem;
    padding: 0.78rem 0.74rem;
    border-radius: 16px;
  }

  .departments-hero__feature-icon {
    width: 40px;
    height: 40px;
  }

  .departments-hero__feature h2 {
    font-size: 0.9rem;
  }

  .departments-hero__feature p {
    font-size: 0.8rem;
    line-height: 1.48;
  }

  .departments-explore {
    padding-top: 1.45rem;
    padding-bottom: 0.75rem;
  }

  .departments-explore .container {
    width: min(100% - 24px, 1440px);
  }

  .departments-explore__head {
    margin-bottom: 0.96rem;
  }

  .departments-explore__head h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .departments-explore__divider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #2c4d99;
  }

  .departments-explore__divider span {
    background: linear-gradient(90deg, rgba(44, 77, 153, 0.34), rgba(22, 148, 71, 0.28));
  }

  .departments-explore__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .department-showcase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 1.08rem 0.9rem 0.96rem;
    border-radius: 18px;
    width: calc(100% - 4px);
    margin-inline: auto;
    align-items: center;
    text-align: center;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(247, 250, 255, 0.98)),
      linear-gradient(135deg, rgba(44, 77, 153, 0.02), rgba(22, 148, 71, 0.02));
    border: 1px solid rgba(226, 233, 244, 0.95);
    box-shadow: 0 12px 28px rgba(22, 40, 72, 0.05);
    overflow: hidden;
  }

  .department-showcase-card__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 0.82rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fbff, #edf4ff);
    color: #2d66d1;
    box-shadow: inset 0 0 0 1px rgba(227, 235, 247, 0.9);
  }

  .department-showcase-card__icon i {
    font-size: 1.4rem;
  }

  .department-showcase-card h3 {
    font-size: 0.98rem;
  }

  .department-showcase-card p {
    max-width: 19ch;
    margin-bottom: 0.84rem;
    font-size: 0.82rem;
    line-height: 1.52;
  }

  .department-showcase-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2c4d99;
  }

  .department-showcase-card a i {
    font-size: 0.76rem;
  }

  .departments-explore--continuation {
    padding-bottom: 1.55rem;
  }

  #main-content.about-page {
    padding-top: calc(var(--topbar-height) + var(--main-header-height));
  }

  .about-hero {
    padding: 0 0 2rem;
  }

  .about-hero__shell {
    width: 100%;
    gap: 0;
  }

  .about-hero__image-wrap,
  .about-hero__image-wrap img {
    min-height: 232px;
    border-radius: 0;
  }

  .about-hero__image-wrap img {
    object-position: center center;
    transform: scale(1.03);
  }

  .about-hero__visual {
    width: calc(100% + 40px);
    margin-inline: -20px;
  }

  .about-hero__copy {
    margin: -0.95rem 10px 0;
    padding: 0.95rem 0.88rem 0.92rem;
    border-radius: 22px;
  }

  .about-story__cta {
    gap: 0.42rem;
  }

  .about-story__cta i {
    font-size: 0.76rem;
  }

  .about-hero__copy h1 {
    font-size: clamp(1.88rem, 9vw, 2.2rem);
    line-height: 0.96;
  }

  .about-hero__copy p {
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .about-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.68rem;
    margin-top: 0.9rem;
  }

  .about-hero__feature,
  .about-hero__feature:nth-child(-n + 2),
  .about-hero__feature:nth-child(2),
  .about-hero__feature:last-child {
    align-content: start;
    padding: 0.78rem 0.72rem;
  }

  .about-hero__feature h3 {
    font-size: 0.8rem;
    line-height: 1.24;
  }

  .about-story {
    padding-bottom: 2.3rem;
  }

  .about-story__shell {
    width: min(100% - 20px, 1440px);
  }

  .about-story__stats {
    grid-template-columns: 1fr;
    gap: 0.62rem;
    margin-bottom: 1rem;
    padding: 0;
  }

  .about-story__stat,
  .about-story__stat:nth-last-child(-n + 2),
  .about-story__stat:last-child {
    gap: 0.72rem;
    padding: 0.82rem 0.82rem;
    border: 1px solid rgba(221, 231, 244, 0.95);
    border-radius: 18px;
    border-bottom: 1px solid rgba(221, 231, 244, 0.95);
  }

  .about-story__stat:last-child {
    border-bottom: 1px solid rgba(221, 231, 244, 0.95);
  }

  .about-story__stat-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .about-story__stat strong {
    font-size: 1.08rem;
  }

  .about-story__stat span {
    font-size: 0.74rem;
  }

}

/* Give homepage metric cards a more legible touch target on phones. */
@media (max-width: 767px) {
  .hero-metrics--inline {
    width: 100%;
    gap: 0.75rem;
    margin-top: 1.1rem;
    padding-bottom: 1rem;
    border-top: 0;
  }

  .hero-metrics--inline li {
    min-height: 110px;
    max-width: none;
    padding: 1rem .75rem;
    border-radius: 16px;
    gap: .25rem;
  }

  .hero-metrics--inline li i {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 1.15rem;
  }
  .hero-metrics--inline li strong { font-size: 1.15rem; }
  .hero-metrics--inline li span { font-size: .78rem; line-height: 1.35; }
}

/* Keep director names and profile actions easy to read on phone screens. */
@media (max-width: 767px) {
  .leader-card--director .leader-card__body {
    gap: .32rem;
    padding: 1.05rem .9rem 1.15rem;
  }

  .leader-card--director h3 {
    min-height: 0;
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .leader-card--director .leader-role {
    margin-bottom: .8rem;
    font-size: .9rem;
  }

  .leader-profile-btn {
    min-width: 164px;
    min-height: 46px;
    padding: .78rem 1.1rem;
    border-radius: 11px;
    font-size: .92rem;
  }

  .leader-profile-btn i { font-size: .95rem; }
}

/* Keep every doctor card uniform and balanced on phone screens. */
@media (max-width: 767px) {
  .doctors-preview__grid {
    align-items: stretch;
    grid-auto-rows: 355px;
  }

  .doctors-preview .doctor-card--specialist {
    align-self: stretch;
    height: 100%;
  }

  .doctors-preview .doctor-card--specialist .doctor-card__body {
    flex: 1 1 auto;
    padding: .8rem .8rem .85rem;
  }

  .doctors-preview .doctor-card__actions {
    margin-top: auto;
    padding-top: .65rem;
  }
}

/* Mobile department preview: show six cards, then the directory action. */
@media (max-width: 767px) {
  .departments-preview .section-head--services .services-preview__cta {
    display: none;
  }

  .departments-preview .department-showcase-card:nth-child(n + 7) {
    display: none;
  }

  .departments-preview__mobile-cta {
    display: inline-flex;
    width: 100%;
    min-height: 46px;
    margin: 1.25rem auto 0;
    justify-content: center;
  }

  .services-preview--home .section-head--services .services-preview__cta {
    display: none;
  }

  .services-preview__mobile-cta {
    display: inline-flex;
    width: 100%;
    min-height: 46px;
    margin: 1.25rem auto 0;
    justify-content: center;
  }
}

@media (max-width: 1023px) {
  .hero .hero__title-line {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(10, 24, 44, 0.6);
  }
}

/* Taller, side-cropped mobile photo with copy over a fade into white. */
@media (max-width: 767px) {
  .hero .hero-shell,
  .hero .hero-stage {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero .hero-stage {
    --mobile-hero-photo-height: clamp(680px, 180vw, 840px);
    border: 0;
    background: #ffffff;
    box-shadow: none;
  }

  .hero .hero-slider {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: var(--mobile-hero-photo-height);
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    background: #ffffff;
  }

  .hero .hero-slide img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    object-position: 100% top;
    opacity: 0.75;
    background: #ffffff;
    transform: none;
  }

  .hero .hero-stage__overlay {
    display: block;
    inset: 0 0 auto;
    height: var(--mobile-hero-photo-height);
    pointer-events: none;
    /* The contained square photo ends at one viewport width, not the full hero height. */
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0.06) 40vw,
      rgba(255, 255, 255, 0.45) 62vw,
      rgba(255, 255, 255, 0.88) 82vw,
      #ffffff 98vw,
      #ffffff 100%);
  }

  .hero .hero__content {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    padding: clamp(175px, 46vw, 240px) 1.15rem 1rem;
    background: transparent;
  }

  .hero .hero__content h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 8.6vw, 3.1rem);
    line-height: 1.12;
  }

  .hero .hero__lead {
    max-width: 36ch;
    font-size: clamp(1rem, 4.1vw, 1.15rem);
    line-height: 1.65;
    color: var(--text);
  }
}
