/*
  Global site styles for Neurogen.
  Built strictly on top of site/css/tokens.css.
*/

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  /* Default to instant so cross-page "#section" links land directly with no
     visible scroll animation. Same-page anchor clicks get smooth behavior via
     the .smooth-scroll class, added by JS after the initial load + hash jump. */
  scroll-behavior: auto;
}

html.is-loading {
  background: #fff;
}

html.is-loading body {
  opacity: 0;
}

html.smooth-scroll {
  scroll-behavior: smooth;
}

/* Offset anchored sections so they clear the sticky header on jump. */
.service-section,
.legal-content__block,
[id].page-section {
  scroll-margin-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background: var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-header__inner,
main,
.hero__copy {
  transition:
    opacity 0.24s ease,
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  /* NOTE: deliberately NOT `will-change: transform` — that makes `main` a
     containing block for position:fixed descendants, which breaks the
     viewport-centered .doctor-modal (anchors it to main's full height). */
  will-change: opacity;
}

html.is-language-entering .site-header__inner {
  opacity: 0;
  transform: translateY(-8px);
}

html.is-language-entering main {
  opacity: 0;
  transform: translateY(12px);
}

html.is-language-entering .hero__copy {
  opacity: 0;
  transform: translateX(20px);
}

html.is-language-leaving .site-header__inner {
  opacity: 0.58;
  transform: translateY(-8px);
}

html.is-language-leaving main {
  opacity: 0;
  transform: translateY(10px);
}

html.is-language-leaving .hero__copy {
  opacity: 0;
  transform: translateX(-20px);
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  text-decoration: none;
}

p,
ul,
ol,
dl,
blockquote,
figure {
  margin: 0 0 var(--space-3);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-2);
  color: var(--color-navy);
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: var(--font-size-h1);
  letter-spacing: -0.018em;
}

h2 {
  font-size: var(--font-size-h2);
  letter-spacing: -0.012em;
}

h3 {
  font-size: var(--font-size-h3);
}

ul,
ol {
  padding-left: 1.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2 * var(--space-2), var(--container-max));
  margin-inline: auto;
}

.page-section {
  padding: var(--space-6) 0;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: var(--space-4);
}

.section-kicker {
  display: inline-block;
  margin-bottom: var(--space-1);
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.section-lead {
  font-size: var(--font-size-body);
  color: var(--color-text-light);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell main {
  flex: 1;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 8px;
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(430px, 1.25fr) minmax(250px, auto);
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: 12px 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.site-brand__logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  transform: scale(1.43);
  transform-origin: center;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.site-brand__text strong {
  color: var(--color-navy);
  font-size: 0.98rem;
  line-height: 1.08;
}

.site-brand__text span {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(82px, 1fr));
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.18s ease, transform 0.18s ease;
  transform: scaleX(0.5);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  background: var(--color-teal);
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: rgba(0, 169, 195, 0.08);
  color: var(--color-navy);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.site-header__actions > .button {
  width: 154px;
  flex: 0 0 154px;
  padding-inline: 16px;
}

.site-header__langs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(247, 249, 250, 0.88);
}

.site-lang {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--color-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.site-lang img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  object-fit: cover;
}

.site-lang:hover,
.site-lang:focus-visible {
  transform: translateY(-1px);
  border-color: var(--color-teal);
}

.site-lang.is-active {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0, 169, 195, 0.14);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--color-teal);
  color: var(--color-bg);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--color-teal-dark);
}

.button--secondary {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: var(--color-navy);
  color: var(--color-bg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.5vw, 44px) 0 clamp(24px, 3vw, 36px);
  background: var(--color-navy);
  color: var(--color-bg);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
  min-height: clamp(330px, 39vh, 390px);
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  padding: clamp(28px, 5vw, 48px) 0;
}

.hero__title {
  margin-bottom: var(--space-3);
  color: var(--color-bg);
  max-width: 16ch;
  font-size: clamp(2.5rem, 4.6vw, 3.85rem);
  line-height: 1.07;
  text-shadow: 0 2px 18px rgba(13, 28, 33, 0.55);
}

.hero__lead {
  max-width: 40rem;
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(13, 28, 33, 0.45);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: var(--space-4);
}

.hero__actions .button {
  flex: 0 0 16.5rem;
  inline-size: 16.5rem;
  font-size: 1.15rem;
  padding: 16px 32px;
  min-height: 58px;
  white-space: nowrap;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: var(--space-4);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(13, 28, 33, 0.45);
}

.hero__meta-row {
  display: inline-flex;
  align-items: center;
  gap: 10px 16px;
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero__meta-item a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.hero__meta-item a:hover,
.hero__meta-item a:focus-visible {
  color: var(--color-teal);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 58rem);
  margin-top: var(--space-4);
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--color-bg) 28%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--color-navy) 68%, transparent);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.hero-stat {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 14px 12px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--color-bg) 10%, transparent);
  text-align: center;
  align-content: center;
}

.hero-stat__value {
  color: var(--color-bg);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1;
}

.hero-stat__label {
  color: color-mix(in srgb, var(--color-bg) 82%, transparent);
  font-size: var(--font-size-small);
  font-weight: 600;
  line-height: 1.35;
}

.hero__meta-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--color-teal);
}

.hero__meta-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: var(--color-navy);
  background-image: url("../../assets/hero/video/hero-poster.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity 1000ms linear;
}

.hero-video-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(32, 57, 66, 0.86) 0%, rgba(32, 57, 66, 0.66) 46%, rgba(32, 57, 66, 0.30) 100%);
}

/* Older-audience accessibility: honor reduced-motion by showing the poster still */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

.hero .button--secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--color-bg);
  background: rgba(255, 255, 255, 0.06);
}

.hero .button--secondary:hover,
.hero .button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--color-bg);
}

@media (min-width: 901px) {
  .hero {
    padding: clamp(14px, 2vw, 24px) 0 clamp(14px, 2vw, 22px);
  }

  .hero__grid {
    min-height: 0;
  }

  .hero__copy {
    max-width: 43rem;
    padding: clamp(18px, 2.5vw, 30px) 0 clamp(14px, 2vw, 24px);
  }

  .hero__title {
    margin-bottom: 18px;
    font-size: clamp(2.35rem, 3.9vw, 3.35rem);
    line-height: 1.06;
  }

  .hero__lead {
    font-size: clamp(1.0625rem, 1.28vw, 1.2rem);
    line-height: 1.45;
  }

  .hero__actions {
    margin-top: 22px;
  }

  .hero__actions .button {
    min-height: 50px;
    padding: 13px 26px;
    font-size: 1.05rem;
  }

  .hero-stats {
    width: min(100%, 50rem);
    margin-top: 22px;
    padding: 8px;
  }

  .hero-stat {
    min-height: 68px;
    padding: 10px;
  }

  .hero-stat__value {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
  }

  .hero-stat__label {
    font-size: 0.82rem;
  }

  .hero__meta {
    margin-top: 18px;
    font-size: 0.86rem;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-3);
}

.service-grid .card {
  grid-column: span 4;
}

.card {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover,
.card:focus-within,
.service-section__card:hover,
.service-section__card:focus-within,
.content-card:hover,
.content-card:focus-within,
.doctor-card:hover,
.doctor-card:focus-within,
.page-intro__panel:hover,
.page-intro__panel:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(32, 57, 66, 0.12);
  border-color: rgba(0, 169, 195, 0.22);
}

.card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-soft);
  isolation: isolate;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-zoom {
  transition: transform 0.34s ease, filter 0.34s ease;
  will-change: transform;
}

.card:hover .media-zoom,
.card:focus-within .media-zoom,
.service-section__card:hover .media-zoom,
.service-section__card:focus-within .media-zoom,
.doctor-card:hover .media-zoom,
.doctor-card:focus-within .media-zoom,
.page-intro__panel:hover .media-zoom,
.page-intro__panel:focus-within .media-zoom {
  transform: scale(1.04);
}

.card__body {
  padding: var(--space-3);
  display: grid;
  gap: 14px;
  flex: 1;
}

.card__title {
  margin-bottom: 10px;
  color: var(--color-navy);
}

.card__text {
  color: var(--color-text-light);
}

.card__meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 169, 195, 0.1);
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.card__list {
  margin: 0;
  padding-left: 0;
  color: var(--color-text);
  list-style: none;
  display: grid;
  gap: 10px;
}

.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.card__list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(0, 169, 195, 0.12);
  box-shadow: inset 0 0 0 1.5px rgba(0, 169, 195, 0.45);
  background-image: linear-gradient(180deg, rgba(0, 169, 195, 0.98), rgba(0, 169, 195, 0.98));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M8.2 13.7 4.9 10.4 3.5 11.8l4.7 4.7L16.8 8l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M8.2 13.7 4.9 10.4 3.5 11.8l4.7 4.7L16.8 8l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.card__footer {
  margin-top: auto;
  padding: 0 var(--space-3) var(--space-3);
}

.card__footer .button {
  width: 100%;
}

.service-grid .card {
  min-height: 100%;
}

.info-band {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-soft);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

/* ---- Services section ---- */
.services-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-3);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #f8fcfd 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.services-section::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 169, 195, 0.18) 0%, rgba(0, 169, 195, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.services-section > .container {
  position: relative;
  z-index: 1;
}

.section-heading--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
}

.section-heading--row .section-heading__copy {
  max-width: 40rem;
}

.section-heading__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-bottom: 6px;
  color: var(--color-teal);
  font-weight: 700;
  white-space: nowrap;
}

.section-heading__link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.section-heading__link:hover svg,
.section-heading__link:focus-visible svg {
  transform: translateX(4px);
}

.service-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-4);
}

.service-filter {
  appearance: none;
  cursor: pointer;
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-filter:hover,
.service-filter:focus-visible {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.service-filter.is-active {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 169, 195, 0.28);
}

.service-card.is-hidden {
  display: none;
}

.service-card {
  border-color: #e4eef1;
  box-shadow: 0 2px 14px rgba(32, 57, 66, 0.06);
}

.service-grid--preview .service-card:nth-child(n + 7) {
  display: none;
}

.service-grid--preview.is-expanded .service-card:nth-child(n + 7) {
  display: flex;
}

.service-card--simple .card__body {
  align-items: center;
  text-align: center;
}

.service-card--simple .card__title {
  margin-bottom: 0;
  text-wrap: balance;
}

.service-card--simple .card__content {
  width: 100%;
  align-items: center;
}

.service-card--simple .card__cta {
  align-self: center;
  justify-content: center;
  min-width: 150px;
}

.service-placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: var(--space-3);
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-teal) 14%, var(--color-bg)), var(--color-bg-soft));
  color: var(--color-navy);
  text-align: center;
  font-weight: 800;
}

.service-placeholder__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-teal);
  box-shadow: var(--shadow-card);
}

.service-placeholder__icon svg {
  width: 30px;
  height: 30px;
}

.service-more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
}

.service-card .card__media {
  aspect-ratio: 16 / 10;
}

.service-card .card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: var(--space-3);
}

.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 169, 195, 0.12);
  color: var(--color-teal);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card .card__title {
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.service-card .card__meta {
  min-height: 26px;
  padding: 0 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(0, 169, 195, 0.1);
  color: #0d7d90;
}

.card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  flex: 1;
}

.card__content .card__list {
  width: 100%;
}

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: auto;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-navy);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card__cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.service-card:hover .card__cta,
.service-card:focus-within .card__cta {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 169, 195, 0.3);
}

.service-card:hover .card__cta svg,
.service-card:focus-within .card__cta svg {
  transform: translateX(3px);
}

@media (max-width: 880px) {
  .section-heading--row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
}

.info-card {
  padding: var(--space-3);
}

.info-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-4);
  align-items: stretch;
}

.content-card {
  position: relative;
  height: 100%;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-story {
  background:
    radial-gradient(circle at 14% 18%, color-mix(in srgb, var(--color-teal) 13%, transparent), transparent 28%),
    linear-gradient(180deg, var(--color-bg) 0%, color-mix(in srgb, var(--color-teal) 6%, var(--color-bg-soft)) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.home-story__grid {
  width: min(100% - 2 * var(--space-2), 1320px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: clamp(42px, 5.5vw, 78px);
  align-items: start;
}

.home-story__about {
  display: grid;
  grid-template-columns: minmax(210px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(24px, 3.5vw, 42px);
  align-items: start;
}

.home-story__media {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--color-bg-soft);
  box-shadow: 0 24px 58px rgba(32, 57, 66, 0.14);
}

.home-story__photo {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.home-story__copy,
.home-story__doctors {
  display: grid;
  gap: 18px;
}

.home-story__copy p,
.home-story__doctors .section-lead {
  max-width: 46rem;
  line-height: 1.72;
}

.home-story__copy .button,
.home-story__doctors .button {
  width: fit-content;
  min-width: 10rem;
}

.home-story__doctors .button {
  margin-top: -4px;
}

.home-story__doctors {
  padding-left: clamp(26px, 4vw, 48px);
  border-left: 1px solid color-mix(in srgb, var(--color-teal) 28%, var(--color-border));
}

.home-story__doctors h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.08;
}

.address-list {
  display: grid;
  gap: var(--space-3);
}

.address-item {
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.address-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.address-item h3 {
  margin-bottom: 8px;
}

.address-item p {
  margin-bottom: 8px;
}

.address-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-navy);
  line-height: 1.6;
}

.address-line .inline-icon {
  margin-top: 2px;
}

.address-line__text {
  display: block;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-teal);
  font-weight: 700;
}

.contact-links a::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.95;
}

.contact-links a[href^="tel:"]::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.11.37 2.31.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.27.2 2.47.57 3.58a1 1 0 0 1-.24 1.01z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.11.37 2.31.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.27.2 2.47.57 3.58a1 1 0 0 1-.24 1.01z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

.contact-links a[href^="mailto:"]::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2m8 7.2L4.4 7.5V17h15.2V7.5zm0-2.3L18.1 7H5.9z'/%3E%3C/svg%3E") center / 19px 19px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2m8 7.2L4.4 7.5V17h15.2V7.5zm0-2.3L18.1 7H5.9z'/%3E%3C/svg%3E") center / 19px 19px no-repeat;
}

.feature-card {
  overflow: hidden;
}

.feature-card--brand {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-4);
  align-items: center;
}

.about-media-stack {
  display: grid;
  gap: 14px;
  height: 100%;
}

.about-logo-panel,
.about-photo-panel {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--color-border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.about-logo-panel {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background:
    radial-gradient(circle at 25% 20%, rgba(0, 169, 195, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
}

.about-logo-panel img {
  width: min(230px, 82%);
  filter: drop-shadow(0 10px 24px rgba(32, 57, 66, 0.12));
}

.about-photo-panel {
  min-height: 250px;
  background: var(--color-bg-soft);
}

.about-photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.doctor-home {
  display: grid;
  gap: var(--space-3);
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(0, 169, 195, 0.09), rgba(255, 255, 255, 0) 44%),
    var(--color-bg);
}

.service-tags,
.social-icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.doctor-home__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.doctor-home__chips li,
.service-tags li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
}

.doctor-home > .button {
  width: 100%;
}

.contact-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(180deg,
      var(--color-bg) 0%,
      color-mix(in srgb, var(--color-teal) 3%, var(--color-bg)) 34%,
      color-mix(in srgb, var(--color-teal) 7%, var(--color-bg-soft)) 100%);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 74%, color-mix(in srgb, var(--color-teal) 10%, transparent), transparent 42%),
    radial-gradient(circle at 86% 70%, color-mix(in srgb, var(--color-teal) 8%, transparent), transparent 44%);
  pointer-events: none;
}

.contact-section--page {
  border-top: 0;
}

.contact-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-map-wide {
  grid-column: 1 / -1;
}

.contact-showcase h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  line-height: 1.12;
}

.contact-primary {
  display: grid;
  gap: 20px;
  align-content: start;
  min-height: clamp(580px, 44vw, 700px);
  padding-top: 0;
}

.contact-primary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
  padding-top: 0;
}

.contact-primary__actions .button {
  min-width: 150px;
}

.contact-primary .social-icon-list--card {
  margin-bottom: clamp(30px, 4vw, 58px);
}

.contact-hub {
  display: grid;
  gap: var(--space-3);
}

.contact-hours-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.contact-hours-card h2 {
  margin-bottom: 0;
  max-width: 14ch;
}

.contact-hours-card .section-kicker {
  display: block;
}

.map-card {
  overflow: hidden;
  display: grid;
  border: 1px solid color-mix(in srgb, var(--color-teal) 22%, var(--color-border));
  border-radius: 22px;
  background: var(--color-bg);
  box-shadow: 0 16px 42px rgba(32, 57, 66, 0.12);
}

.map-card__frame {
  position: relative;
  min-height: clamp(300px, 34vw, 430px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--color-teal) 10%, var(--color-bg-soft)), var(--color-bg-soft));
}

.map-card__frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid color-mix(in srgb, var(--color-teal) 18%, transparent);
  border-radius: 16px;
  pointer-events: none;
}

.map-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-border);
}

.map-card__location {
  display: grid;
  grid-template-columns: 121px minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  align-items: center;
}

.map-card__logo {
  width: 121px !important;
  height: 121px !important;
  max-width: 121px;
  max-height: 121px;
  object-fit: contain;
  justify-self: start;
  opacity: 0.82;
  filter: drop-shadow(0 6px 12px rgba(32, 57, 66, 0.06));
}

.map-card__body h3 {
  margin-bottom: 6px;
}

.map-card__body p {
  margin-bottom: 0;
}

.map-card__actions {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.map-card__actions a[href^="tel:"] {
  color: var(--color-navy);
  font-weight: 800;
}

.map-card__link {
  width: fit-content;
  color: var(--color-teal);
  font-weight: 800;
}

.map-card__link:hover,
.map-card__link:focus-visible {
  color: var(--color-teal-dark);
}

.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.map-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hours-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.hours-list div {
  display: grid;
  grid-template-columns: minmax(8.5rem, 1fr) minmax(8.5rem, max-content);
  align-items: center;
  gap: var(--space-2);
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border);
}

.hours-list div:last-child {
  border-bottom: 0;
}

.hours-list dt {
  color: var(--color-navy);
  font-weight: 800;
}

.hours-list dd {
  margin: 0;
  color: var(--color-text);
  font-weight: 600;
  text-align: left;
  justify-self: start;
}

.site-footer {
  margin-top: 0;
  padding: clamp(42px, 6vw, 68px) 0 28px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at top left, rgba(0, 169, 195, 0.16), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #274650 0%, #203942 48%, #1c3239 100%);
  color: var(--color-bg);
}

.site-footer a {
  color: inherit;
}

.site-footer .button--secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--color-bg);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer .button--secondary:hover,
.site-footer .button--secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.14);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.site-footer__brand {
  display: grid;
  gap: var(--space-3);
  max-width: 32rem;
}

.site-footer__logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(8, 18, 21, 0.18);
}

.site-footer__logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  transform: scale(1.25);
  transform-origin: center;
}

.site-footer__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__cta-row .button {
  width: 164px;
}

.site-footer__title {
  color: var(--color-bg);
}

.site-footer__brand-title {
  margin-bottom: 0;
  color: var(--color-bg);
  font-size: 1.05rem;
  font-weight: 700;
}

.site-footer__list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer__list--contact {
  gap: 10px;
}

.site-footer__social-block {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.site-footer__social-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-size-small);
  font-weight: 700;
}

.site-footer__muted {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer__section {
  display: grid;
  gap: 14px;
  align-content: start;
}

.site-footer__section h3 {
  margin-bottom: 0;
  color: var(--color-bg);
}

.hours-list--footer {
  grid-template-columns: max-content max-content;
  column-gap: clamp(32px, 4vw, 56px);
}

.hours-list--footer div {
  display: contents;
}

.hours-list--footer dt,
.hours-list--footer dd {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hours-list--footer div:last-child dt,
.hours-list--footer div:last-child dd {
  border-bottom: 0;
}

.hours-list--footer dt {
  color: var(--color-bg);
}

.hours-list--footer dd {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer__link,
.site-footer__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.site-footer__link {
  font-weight: 600;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: #fff;
}

.site-footer__address {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__address-text {
  display: grid;
  gap: 2px;
}

.inline-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
}

.inline-icon svg {
  width: 100%;
  height: 100%;
}

.inline-icon--footer {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 2px;
}

.site-footer__bottom {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-size-small);
}

.site-footer__bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
}

.site-footer__bottom-grid nav {
  justify-self: start;
  text-align: left;
}

.site-footer__copyright {
  justify-self: end;
  text-align: right;
}

.social-icon-list a {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.social-icon-list a:hover,
.social-icon-list a:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.social-icon-list img {
  width: 23px;
  height: 23px;
}

.social-icon-list--footer {
  display: grid;
  grid-template-columns: repeat(4, 44px);
  gap: 10px;
  align-items: center;
}

.social-icon-list--footer a {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-icon-list--card {
  margin-top: var(--space-2);
}

.social-icon-list--card a {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 18px rgba(32, 57, 66, 0.06);
}

.social-icon-list--card a:hover,
.social-icon-list--card a:focus-visible {
  background: rgba(0, 169, 195, 0.08);
}

.page-intro {
  padding: var(--space-5) 0 var(--space-4);
}

.page-intro__wrap {
  display: grid;
  gap: 14px;
  max-width: 46rem;
}

.page-intro--carded {
  padding: var(--space-4) 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 169, 195, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(247, 249, 250, 0.72) 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-intro--carded .page-intro__wrap {
  max-width: 62rem;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 54px rgba(32, 57, 66, 0.08);
}

.page-intro--carded .section-lead {
  max-width: 52rem;
}

.page-intro--split .page-intro__wrap,
.page-intro--split .page-intro__layout {
  max-width: none;
}

.page-intro--split {
  padding: var(--space-5) 0;
  background:
    radial-gradient(circle at 14% 20%, color-mix(in srgb, var(--color-teal) 12%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--color-teal) 9%, var(--color-bg)) 0%, var(--color-bg) 54%, color-mix(in srgb, var(--color-navy) 5%, var(--color-bg-soft)) 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.page-intro__copy {
  display: grid;
  gap: 14px;
  max-width: 42rem;
}

.page-intro__copy .section-lead {
  max-width: 38rem;
  line-height: 1.7;
}

.page-intro__layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.page-intro__layout--single .page-intro__copy {
  max-width: none;
}

.page-intro__layout--single .page-intro__copy .section-lead {
  max-width: 68rem;
}

.page-intro__brief {
  max-width: 52rem;
  margin-bottom: 0;
  color: var(--color-navy);
  font-size: clamp(1.12rem, 1.55vw, 1.3rem);
  font-weight: 700;
  line-height: 1.42;
}

.page-intro__panel {
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(0, 169, 195, 0.08) 0%, rgba(247, 249, 250, 0.96) 100%);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-intro__panel--plain {
  position: relative;
  padding: 0 0 0 clamp(24px, 4vw, 48px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-intro__panel--plain::before {
  content: "";
  position: absolute;
  inset: 2px auto 2px 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--color-teal) 52%, var(--color-border)) 18%, color-mix(in srgb, var(--color-navy) 30%, var(--color-border)) 82%, transparent);
}

.page-intro__panel h2,
.page-intro__panel p:last-child {
  margin-bottom: 0;
}

.page-intro__panel-kicker {
  margin-bottom: 0;
  color: var(--color-teal);
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-intro__panel-quote {
  color: var(--color-navy);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.stat-chip {
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 6px;
}

.stat-chip strong {
  color: var(--color-navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
}

.stat-chip span {
  color: var(--color-text-light);
  font-weight: 600;
}

.content-grid--about {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.about-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.about-block h2 {
  margin-bottom: 0;
}

.about-block p,
.about-block li {
  line-height: 1.75;
}

.about-block .button {
  margin-top: auto;
  align-self: flex-start;
}

.about-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-4);
  align-items: stretch;
}

.about-showcase__visual {
  display: grid;
  gap: 14px;
  height: 100%;
}

.about-showcase__visual h2 {
  max-width: 18ch;
}

.about-visual__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.about-locations {
  display: grid;
  gap: var(--space-3);
}

.about-map {
  display: grid;
  gap: 12px;
  height: 100%;
}

.about-map h3 {
  margin-bottom: 0;
}

.about-map__address {
  margin-bottom: 0;
  color: var(--color-text-light);
  font-weight: 600;
}

.about-map__frame {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 20px;
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-card);
}

.about-list {
  display: grid;
  gap: 10px;
  padding-left: 1rem;
  margin-bottom: 0;
}

.about-page-story {
  padding-top: var(--space-5);
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--color-teal) 10%, transparent), transparent 30%),
    linear-gradient(180deg, var(--color-bg) 0%, color-mix(in srgb, var(--color-teal) 5%, var(--color-bg-soft)) 100%);
  border-top: 1px solid var(--color-border);
}

.about-page-story__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  grid-template-areas:
    "media specialties"
    "mission approach";
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.about-page-story__block--specialties {
  grid-area: specialties;
}

.about-page-story__block--mission {
  grid-area: mission;
  padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--color-teal) 24%, var(--color-border));
}

.about-page-story__block--approach {
  grid-area: approach;
  padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--color-teal) 24%, var(--color-border));
}

.about-page-story__media {
  grid-area: media;
  align-self: start;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--color-bg-soft);
  box-shadow: 0 24px 58px rgba(32, 57, 66, 0.14);
}

.about-page-story__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.about-page-story__block {
  display: grid;
  gap: 14px;
  max-width: 54rem;
}

.about-page-story__block h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.1;
}

.about-page-story__block p {
  max-width: 50rem;
  color: var(--color-text-light);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.75;
}

.about-page-story__services {
  grid-area: services;
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
  padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--color-teal) 24%, var(--color-border));
}

.about-page-story__services h2 {
  max-width: 20ch;
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1.16;
}

.about-list--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 28px;
  padding-left: 1.1rem;
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.45;
}

.about-page-story__services .button {
  white-space: nowrap;
}

.about-quote {
  padding: var(--space-2) var(--space-3);
  border-left: 4px solid var(--color-teal);
  background: rgba(0, 169, 195, 0.06);
  border-radius: 0 16px 16px 0;
  color: var(--color-navy);
  font-weight: 700;
}

.about-gallery {
  padding-top: var(--space-5);
}

.about-gallery__head {
  display: grid;
  gap: 10px;
  max-width: 60rem;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.about-gallery__head h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.14;
}

.about-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 18vw, 210px);
  grid-template-areas:
    "a a b c"
    "a a d d";
  gap: clamp(12px, 1.6vw, 20px);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.about-gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--color-bg-soft);
  box-shadow: 0 18px 42px rgba(32, 57, 66, 0.14);
}

.about-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery__item--a { grid-area: a; }
.about-gallery__item--b { grid-area: b; }
.about-gallery__item--c { grid-area: c; }
.about-gallery__item--d { grid-area: d; }

.about-gallery__item--placeholder {
  display: grid;
  place-items: center;
  padding: var(--space-2);
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.98rem;
  line-height: 1.45;
  border: 1px dashed color-mix(in srgb, var(--color-teal) 42%, var(--color-border));
  background: color-mix(in srgb, var(--color-teal) 5%, var(--color-bg-soft));
  box-shadow: none;
}

.about-gallery__map {
  margin: 0;
}

@media (max-width: 760px) {
  .about-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(140px, 34vw, 190px);
    grid-template-areas:
      "a a"
      "b c"
      "d d";
  }
}

@media (max-width: 440px) {
  .about-gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(180px, 56vw, 240px);
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
  }
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.doctor-card {
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow: 0 12px 28px rgba(32, 57, 66, 0.08);
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(22px, 2.8vw, 30px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.doctor-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: clamp(18px, 3vw, 34px);
  text-align: left;
}

.doctor-card--featured .doctor-card__media {
  width: clamp(150px, 18vw, 218px);
}

.doctor-card--featured .doctor-card__body {
  align-self: center;
  justify-items: start;
  text-align: left;
  padding-top: 0;
}

.doctor-card--text {
  align-items: start;
  justify-items: start;
  gap: 12px;
  text-align: left;
}

.doctor-card--text .doctor-card__body {
  justify-items: start;
  text-align: left;
  padding-top: 0;
  gap: 8px;
}

.doctor-card--text .doctor-card__action {
  margin-top: 4px;
}

.doctor-card[role="button"] {
  cursor: pointer;
}

.doctor-card[role="button"]:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 4px;
}

.doctor-card__media {
  position: relative;
  width: clamp(112px, 34vw, 148px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-bg-soft);
  box-shadow: 0 16px 30px rgba(32, 57, 66, 0.14);
}

.doctor-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.doctor-card__body {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 0 0;
}

.doctor-card__name {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.doctor-card__specialty {
  display: block;
  margin-bottom: 0;
  color: var(--color-text-light);
  font-weight: 600;
  line-height: 1.45;
}

.doctor-card__specialty::before {
  content: none;
}

.doctor-card__note {
  margin-bottom: 0;
  color: var(--color-text);
  line-height: 1.65;
}

.doctor-card__experience {
  margin-bottom: 0;
  color: var(--color-navy);
  font-weight: 700;
}

.doctor-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 8px 0 0;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-teal) 12%, #ffffff);
  color: var(--color-navy);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-teal) 28%, transparent);
}

.doctor-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}

.doctor-modal.is-open {
  display: flex;
}

body:has(.doctor-modal.is-open) .contact-widget {
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) translateZ(0);
}

.doctor-modal__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-navy) 72%, transparent);
}

.doctor-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-bg);
  box-shadow: var(--shadow-widget);
}

.doctor-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-navy);
  cursor: pointer;
  font-weight: 800;
}

.doctor-modal__layout {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px 22px;
  align-items: start;
}

.doctor-modal--no-photo .doctor-modal__layout {
  grid-template-columns: 1fr;
}

.doctor-modal__visual {
  width: 96px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: var(--color-bg-soft);
  box-shadow: 0 12px 24px rgba(32, 57, 66, 0.12);
}

.doctor-modal__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-modal__body {
  display: grid;
  gap: 12px;
}

.doctor-modal__symptoms {
  columns: 2 320px;
  column-gap: 28px;
  margin: 0;
  padding-left: 1.15rem;
  font-size: 1rem;
  line-height: 1.45;
}

.doctor-modal__symptoms li {
  break-inside: avoid;
  margin: 0 0 10px;
}

.doctor-modal__aside {
  display: grid;
  gap: 12px;
  align-content: start;
}

.doctor-modal__doctor {
  display: grid;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--color-border);
}

.doctor-modal__doctor-card {
  display: grid;
  gap: 8px;
}

.doctor-modal__doctor h3 {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-size: 1.05rem;
}

.doctor-modal__doctor-details {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.doctor-modal__doctor-details li {
  margin: 0 0 6px;
}

.doctor-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.doctor-modal__footer .button {
  min-width: 180px;
  flex: 1 1 180px;
}

.doctor-modal--inline {
  padding: clamp(18px, 3vw, 34px);
}

.doctor-modal--inline .doctor-modal__backdrop {
  background: color-mix(in srgb, var(--color-navy) 54%, transparent);
  backdrop-filter: blur(3px);
}

.doctor-modal--inline .doctor-modal__dialog {
  width: min(100%, 1040px);
  max-height: calc(100vh - 2 * clamp(18px, 3vw, 34px));
  overflow: auto;
}

.doctor-modal--inline .doctor-modal__layout {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  grid-template-areas: "body aside";
  gap: clamp(14px, 2.4vw, 24px);
}

.doctor-modal--inline .doctor-modal__body {
  grid-area: body;
}

.doctor-modal--inline .doctor-modal__aside {
  grid-area: aside;
}

.doctor-modal--inline .doctor-modal__aside .doctor-modal__footer {
  flex-direction: column;
  margin-top: 8px;
}

.doctor-modal--inline .doctor-modal__aside .doctor-modal__footer .button {
  width: 100%;
  min-width: 0;
  flex: 0 0 auto;
}

.doctor-modal--inline.doctor-modal--multiple-doctors .doctor-modal__aside {
  gap: 10px;
}

.doctor-modal--inline.doctor-modal--multiple-doctors .doctor-modal__doctor {
  gap: 10px;
  padding-top: 0;
  border-top: 0;
}

.doctor-modal--inline.doctor-modal--multiple-doctors .doctor-modal__doctor-card {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg-soft);
}

.doctor-modal--inline.doctor-modal--multiple-doctors .doctor-modal__doctor-card::after {
  content: "";
  display: block;
  clear: both;
}

.doctor-modal__doctor-photo {
  float: left;
  width: 44px;
  height: 44px;
  margin: 0 10px 6px 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.doctor-modal--inline.doctor-modal--multiple-doctors .doctor-modal__doctor h3 {
  margin-bottom: 2px;
  font-size: 0.98rem;
}

.doctor-modal--inline.doctor-modal--multiple-doctors .doctor-modal__doctor-details {
  font-size: 0.88rem;
  line-height: 1.35;
}

.doctor-modal--inline.doctor-modal--multiple-doctors .doctor-modal__doctor-details li {
  margin-bottom: 4px;
}

.doctor-modal--inline .doctor-modal__visual {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 280px;
  border-radius: 20px;
}

.doctor-modal--inline .doctor-modal__visual img {
  object-position: top;
}

.anchor-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: var(--space-3);
}

.anchor-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 250, 0.94));
  color: var(--color-navy);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 22px rgba(32, 57, 66, 0.045);
}

.anchor-nav a:hover,
.anchor-nav a:focus-visible {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.page-intro--services {
  padding: clamp(42px, 6vw, 78px) 0 var(--space-5);
  background:
    radial-gradient(circle at 8% 10%, color-mix(in srgb, var(--color-teal) 10%, transparent), transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--color-teal) 5%, var(--color-bg)) 0%, var(--color-bg) 70%);
  border-bottom: 1px solid var(--color-border);
}

.page-intro--services .page-intro__wrap {
  max-width: 62rem;
}

.page-intro--services .section-lead {
  max-width: 52rem;
}

.page-intro--services .anchor-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: var(--space-4);
}

.page-intro--services .anchor-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--color-teal) 18%, var(--color-border));
  border-radius: 16px;
  background: var(--color-bg);
  color: var(--color-navy);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: normal;
  text-align: center;
  box-shadow: 0 10px 24px rgba(32, 57, 66, 0.055);
}

.page-intro--services .anchor-nav a.anchor-nav__item--compact {
  padding-inline: 10px;
  font-size: 0.82rem;
  line-height: 1.15;
}

.page-intro--services .anchor-nav a:hover,
.page-intro--services .anchor-nav a:focus-visible {
  border-color: var(--color-teal);
  background: color-mix(in srgb, var(--color-teal) 8%, var(--color-bg));
  color: var(--color-teal-dark);
}

.service-section {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
}

.service-section__inner {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.service-section[data-service="medical-consultations"] .service-section__inner {
  position: relative;
}

.service-overview {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: var(--space-3);
  align-items: center;
}

.service-section__content {
  display: grid;
  gap: var(--space-2);
  max-width: 46rem;
}

.service-section__card {
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-section__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-card);
}

.service-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-section__title {
  margin-bottom: 10px;
}

.service-section__summary {
  color: var(--color-text-light);
}

.service-description {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.service-description p {
  margin-bottom: 0;
  line-height: 1.75;
}

.service-overview--consultations {
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  align-items: stretch;
}

.service-overview--consultations > *,
.consultation-booking-card,
.consultation-specialists-block {
  min-width: 0;
}

.service-overview--consultations .service-section__content {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 58rem;
  order: -1;
  text-align: center;
}

.service-overview--consultations .service-description {
  margin-top: 0;
}

.service-overview--consultations .service-section__media {
  min-height: 340px;
}

.consultation-booking-card {
  display: grid;
  align-content: center;
  gap: var(--space-2);
  min-height: 340px;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-bg-soft);
}

.consultation-booking-card .service-actions {
  margin-top: 0;
}

.consultation-booking-card .button {
  flex: 1 1 220px;
  min-width: 0;
}

.consultation-price-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.consultation-price-summary div {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg);
}

.consultation-price-summary span {
  color: var(--color-text-light);
  font-size: var(--font-size-small);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.consultation-price-summary strong {
  color: var(--color-navy);
  font-size: 1.45rem;
  line-height: 1.15;
}

.consultation-booking-card .price-note {
  padding: 14px 16px;
  background: var(--color-bg);
  font-size: var(--font-size-small);
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-2);
}

.service-actions .button {
  min-height: 52px;
}

.service-specialties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  margin-top: var(--space-3);
}

.consultation-specialists-block {
  display: grid;
  gap: var(--space-2);
}

.consultation-specialists-block__header {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.consultation-specialists-block__header h3,
.consultation-specialists-block__header p {
  margin-bottom: 0;
}

.consultation-specialists-block__header p {
  max-width: 46rem;
  color: var(--color-text-light);
}

.consultation-specialists-block .service-specialties {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 0;
}

.consultation-specialists-block .specialty-button {
  max-width: none;
  min-height: 58px;
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

@media (min-width: 1081px) {
  .consultation-specialists-block .specialty-button:nth-last-child(3) {
    grid-column: 2;
  }
}

.specialty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(25% - 7.5px);
  max-width: calc(25% - 7.5px);
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--color-teal) 24%, var(--color-border));
  border-radius: 14px;
  background: #ffffff;
  color: var(--color-navy);
  cursor: pointer;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 8px 20px rgba(32, 57, 66, 0.055);
}

.specialty-button:hover,
.specialty-button:focus-visible {
  border-color: var(--color-teal);
  background: color-mix(in srgb, var(--color-teal) 8%, var(--color-bg));
  color: var(--color-teal-dark);
}

.service-section__aside {
  padding: var(--space-4);
  border-radius: 24px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
}

.service-pricing {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.service-pricing__header {
  display: grid;
  gap: 6px;
  max-width: 52rem;
}

.service-pricing__header h3,
.service-pricing__header p {
  margin-bottom: 0;
}

.service-pricing__header p {
  color: var(--color-text-light);
}

.pricing-card {
  display: grid;
  gap: var(--space-3);
}

.pricing-group {
  display: grid;
  gap: 10px;
}

.pricing-group h4 {
  margin-bottom: 0;
  color: var(--color-navy);
}

.price-accordion-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.price-accordion {
  overflow: hidden;
  min-width: 0;
  order: 1;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-bg);
  box-shadow: 0 4px 14px rgba(32, 57, 66, 0.045);
}

.price-accordion summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 14px 52px 14px 18px;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
}

.price-accordion summary::-webkit-details-marker {
  display: none;
}

.price-accordion summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-teal);
  border-bottom: 2px solid var(--color-teal);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.18s ease;
}

.price-accordion[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.price-accordion__title {
  font-weight: 800;
  line-height: 1.35;
}

.price-accordion__meta {
  min-height: 30px;
  width: 104px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-teal) 10%, var(--color-bg));
  color: var(--color-teal-dark);
  font-size: var(--font-size-small);
  font-weight: 700;
  white-space: nowrap;
}

.price-accordion[open] .price-accordion__meta {
  background: var(--color-teal);
  color: var(--color-bg);
}

.price-accordion--placeholder .price-accordion__meta {
  background: var(--color-bg-soft);
  color: var(--color-text-light);
}

.price-accordion--placeholder[open] .price-accordion__meta {
  background: var(--color-text-light);
  color: var(--color-bg);
}

.price-accordion__content {
  min-width: 0;
  padding: 0 18px 18px;
}

.price-accordion-output {
  margin-top: 0;
}

.price-accordion-output:not(:empty) {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-bg);
  box-shadow: 0 4px 14px rgba(32, 57, 66, 0.045);
}

.price-accordion-output .price-accordion__content {
  padding: 18px;
}

.analysis-table-slot {
  display: grid;
  gap: var(--space-2);
}

.pricing-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg);
}

.pricing-table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-size: var(--font-size-small);
}

.pricing-table th,
.pricing-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.pricing-table th {
  color: var(--color-navy);
  font-weight: 800;
  background: color-mix(in srgb, var(--color-teal) 10%, var(--color-bg));
}

.pricing-table tbody tr:nth-child(even) {
  background: var(--color-bg-soft);
}

.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Medical Analysis tables can be long (up to ~130 rows): cap height, scroll
   within the panel, keep the header visible, and align the numeric columns. */
.analysis-table-slot .pricing-table-wrap {
  max-height: 60vh;
  overflow-y: auto;
}

.analysis-table-slot .pricing-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.analysis-table-slot .pricing-table td:nth-child(2) {
  text-align: center;
  white-space: nowrap;
}

.analysis-table-slot .pricing-table td:nth-child(3),
.analysis-table-slot .pricing-table th:nth-child(3) {
  text-align: right;
  white-space: nowrap;
}

.price-note {
  padding: var(--space-2);
  border: 1px dashed var(--color-border);
  border-radius: 16px;
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 600;
}

/* Legal / policy pages */
.legal-content {
  display: grid;
  gap: var(--space-4);
  max-width: 52rem;
}

.legal-content__block {
  display: grid;
  gap: 12px;
}

.legal-content__block h2 {
  margin: 0;
  color: var(--color-navy);
}

.legal-content__block p {
  margin: 0;
}

.legal-content__contact {
  margin: 0;
  font-weight: 600;
  color: var(--color-navy);
}

.form-card {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--color-navy);
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg);
  color: var(--color-text);
}

.form-row textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  color: var(--color-text-light);
  font-size: var(--font-size-small);
}

.hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero__grid,
  .content-grid,
  .content-grid--about,
  .home-story__grid,
  .home-story__about,
  .about-page-story__grid,
  .about-showcase,
  .contact-showcase,
  .doctor-grid,
  .stat-strip,
  .service-section__inner,
  .service-section__grid,
  .site-footer__grid,
  .site-footer__bottom-grid,
  .page-intro__layout {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .site-header__actions {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    order: 3;
  }

  .site-nav {
    order: 2;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

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

  .service-overview,
  .price-accordion-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-specialists-block .service-specialties {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-intro__panel--plain {
    padding-left: clamp(20px, 3vw, 36px);
  }

  .doctor-card--featured {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .doctor-card--featured .doctor-card__body,
  .doctor-card--text .doctor-card__body {
    justify-items: center;
    text-align: center;
  }

  .doctor-card--text {
    justify-items: center;
    text-align: center;
  }

  .doctor-modal__layout {
    grid-template-columns: 1fr;
  }

  .doctor-modal__symptoms {
    columns: 1;
  }

  .page-intro__panel--plain {
    padding: 18px 0 0;
  }

  .page-intro__panel--plain::before {
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-teal) 52%, var(--color-border)) 18%, color-mix(in srgb, var(--color-navy) 30%, var(--color-border)) 82%, transparent);
  }

  .site-footer__bottom-grid {
    justify-items: center;
    text-align: center;
  }

  .site-footer__bottom-grid nav,
  .site-footer__copyright {
    justify-self: center;
    text-align: center;
  }

  .service-grid .card {
    grid-column: span 6;
  }

  .home-story__doctors {
    padding-left: 0;
    border-left: 0;
  }

  .home-story__doctors h2 {
    max-width: 22ch;
  }

  .about-page-story__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "specialties"
      "mission"
      "approach";
  }
}

@media (min-width: 721px) and (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-auto-rows: auto;
    align-items: start;
    row-gap: 10px;
  }

  .site-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-top: 0;
  }

  .site-header__actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    width: auto;
  }

  .site-header__actions > .button {
    width: 144px;
    flex: 0 0 144px;
  }

  .site-header__langs {
    margin-left: 0;
  }

  .service-overview--consultations {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-overview--consultations .service-section__content,
  .service-overview--consultations .consultation-booking-card,
  .service-overview--consultations .service-section__media {
    grid-column: 1 / -1;
  }

  .service-overview--consultations .service-section__content {
    order: 0;
  }

  .service-overview--consultations .consultation-booking-card {
    order: 1;
  }

  .service-overview--consultations .service-section__media {
    order: 2;
    min-height: 0;
  }

  .service-overview--consultations .service-section__media img {
    aspect-ratio: 16 / 9;
  }

  .service-overview--consultations .consultation-booking-card {
    min-height: 0;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 32px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
    max-width: none;
  }

  .site-footer__logo-row {
    justify-content: center;
  }

  .site-footer__cta-row {
    justify-content: center;
  }

  .site-footer__section:nth-child(2) {
    grid-column: 1;
  }

  .site-footer__section:nth-child(3) {
    grid-column: 2;
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hours-list--footer {
    column-gap: 28px;
  }

  .site-footer__bottom-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__bottom-grid nav,
  .site-footer__copyright {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .page-section,
  .hero,
  .site-footer {
    padding-left: 0;
    padding-right: 0;
  }

  .service-grid .card {
    grid-column: 1 / -1;
  }

  .info-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    flex-basis: 100%;
    inline-size: 100%;
  }

  .hero__meta {
    display: grid;
    justify-items: start;
    gap: 8px;
    width: 100%;
    font-size: 0.88rem;
  }

  .hero__meta-row {
    display: flex;
    align-items: center;
    gap: 8px 12px;
    width: auto;
  }

  .hero__meta-row--hours {
    flex-wrap: nowrap;
  }

  .hero__meta-row--phones,
  .hero__meta-item--phones {
    flex-wrap: wrap;
  }

  .hero__meta-item--phones {
    row-gap: 5px;
  }

  .home-story__media,
  .home-story__photo {
    min-height: 340px;
  }

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

  .site-header__actions {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .page-intro--services .anchor-nav {
    grid-template-columns: 1fr;
  }

  .specialty-button {
    flex-basis: 100%;
    max-width: none;
  }

  .site-header__actions > .button {
    flex: 1 1 180px;
  }

  .site-header__langs {
    margin-left: auto;
  }

  .site-footer {
    padding-bottom: 112px;
  }

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

  .site-nav a:last-child {
    grid-column: 1 / -1;
  }

  .site-lang {
    width: 44px;
    height: 44px;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }

  .page-intro--carded .page-intro__wrap {
    padding: var(--space-3);
    border-radius: 22px;
  }

  .anchor-nav {
    grid-template-columns: 1fr;
  }

  .page-intro--services .anchor-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specialty-button {
    flex-basis: calc(50% - 5px);
    max-width: calc(50% - 5px);
  }

  .service-overview,
  .price-accordion-list {
    grid-template-columns: 1fr;
  }

  .service-overview--consultations .service-section__content {
    text-align: left;
  }

  .service-overview--consultations .service-section__media,
  .consultation-booking-card {
    min-height: 0;
  }

  .consultation-specialists-block__header {
    justify-items: start;
    text-align: left;
  }

  .consultation-specialists-block .service-specialties {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-specialists-list {
    text-align: left;
  }

  .doctor-modal--inline .doctor-modal__layout {
    grid-template-columns: 1fr;
  }

  .doctor-modal--inline .doctor-modal__visual {
    order: 0;
    max-width: 260px;
  }

  .doctor-modal--inline .doctor-modal__aside {
    justify-items: center;
  }

  .doctor-modal {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }

  .doctor-modal__backdrop {
    background: var(--color-bg);
  }

  .doctor-modal__dialog,
  .doctor-modal--inline .doctor-modal__dialog {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    padding: calc(env(safe-area-inset-top, 0px) + 20px) clamp(18px, 5vw, 28px) calc(env(safe-area-inset-bottom, 0px) + 26px);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .doctor-modal__close {
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    right: auto;
    justify-self: end;
    float: right;
    width: 48px;
    height: 48px;
    margin: 0 0 10px 12px;
    background: var(--color-bg-soft);
    box-shadow: 0 10px 28px rgba(13, 28, 33, 0.14);
  }

  .doctor-modal__layout,
  .doctor-modal--inline .doctor-modal__layout {
    clear: both;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }

  .doctor-modal__visual,
  .doctor-modal--inline .doctor-modal__visual {
    order: 0;
    width: min(100%, 320px);
    max-width: none;
    aspect-ratio: 4 / 5;
    align-self: center;
    border-radius: 20px;
  }

  .doctor-modal__body {
    width: 100%;
    min-width: 0;
    gap: 14px;
    overflow-wrap: anywhere;
  }

  .doctor-modal__body h2,
  .doctor-modal__body p,
  .doctor-modal__body ul {
    max-width: 100%;
  }

  .doctor-modal__symptoms {
    columns: 1;
    padding-left: 1.1rem;
    font-size: 0.98rem;
  }

  .doctor-modal__footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
  }

  .doctor-modal__footer .button {
    width: 100%;
    min-width: 0;
    flex: none;
    min-height: 54px;
    white-space: normal;
    text-align: center;
  }

  .service-pricing {
    padding: 0;
  }

  .price-accordion summary {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 46px 14px 14px;
  }

  .contact-primary {
    min-height: 0;
  }

  .contact-primary,
  .contact-hours-card,
  .contact-hub {
    justify-items: center;
    text-align: center;
  }

  .contact-links {
    justify-items: center;
  }

  .contact-links a {
    justify-content: center;
  }

  .contact-primary__actions {
    padding-top: var(--space-3);
  }

  .contact-hours-card h2 {
    max-width: 18ch;
    margin-inline: auto;
  }

  .map-card__body {
    grid-template-columns: 1fr;
    padding: var(--space-3);
  }

  .map-card__location {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .map-card__logo {
    width: 92px !important;
    height: 92px !important;
    max-width: 92px;
    max-height: 92px;
    justify-self: center;
    opacity: 0.92;
  }

  .map-card__actions {
    justify-items: center;
    text-align: center;
  }

  .map-card__body h3 {
    margin-bottom: 4px;
  }

  .site-footer__grid {
    gap: 30px;
  }

  .site-footer__brand,
  .site-footer__section {
    justify-items: center;
    text-align: center;
    max-width: none;
  }

  .site-footer__logo-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .site-footer__logo {
    width: 86px;
    height: 86px;
    flex-basis: 86px;
    border-radius: 22px;
  }

  .site-footer__logo img {
    width: 86px;
    height: 86px;
  }

  .site-footer__cta-row {
    justify-content: center;
  }

  .site-footer__cta-row .button {
    width: min(100%, 220px);
  }

  .site-footer__list,
  .site-footer__list--contact {
    justify-items: center;
    text-align: center;
  }

  .site-footer__link,
  .site-footer__address {
    justify-content: center;
    align-items: center;
  }

  .site-footer__social-block {
    justify-items: center;
  }

  .site-footer__bottom-grid {
    justify-items: center;
    text-align: center;
  }

  .site-footer__bottom-grid nav,
  .site-footer__copyright {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero__meta {
    justify-items: start;
    font-size: 0.84rem;
  }

  .hero__meta-row {
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    justify-content: flex-start;
  }

  .hero__meta-row--hours {
    white-space: nowrap;
  }

  .hero__meta-item,
  .hero__meta-item--phones {
    justify-content: flex-start;
    text-align: left;
  }

  .hero__meta-item--phones {
    width: auto;
    display: inline-flex;
    column-gap: 8px;
    row-gap: 4px;
  }

  .hero__meta-item--phones span[aria-hidden="true"] {
    display: none;
  }

  .hero__meta-row--phones {
    flex-wrap: wrap;
  }

  .consultation-booking-card {
    padding: var(--space-3);
  }

  .consultation-price-summary,
  .consultation-specialists-block .service-specialties {
    grid-template-columns: 1fr;
  }

  .contact-primary__actions {
    justify-content: center;
  }

  .contact-primary__actions .button {
    width: min(100%, 220px);
  }

  .contact-primary .social-icon-list--card {
    justify-content: center;
  }

  .pricing-table-wrap {
    overflow-x: visible;
  }

  .pricing-table {
    min-width: 0;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table tbody tr {
    padding: 14px 14px 12px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
  }

  .pricing-table tbody tr:nth-child(even) {
    background: var(--color-bg-soft);
  }

  .pricing-table tbody tr:last-child {
    border-bottom: 0;
  }

  .pricing-table td {
    padding: 0;
    border-bottom: 0;
    text-align: left;
  }

  .pricing-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--color-text-light);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
  }

  .pricing-table td:first-child::before {
    display: none;
  }

  .pricing-table td:first-child {
    margin-bottom: 8px;
    color: var(--color-navy);
    font-size: 1rem;
    font-weight: 700;
  }

  .pricing-table td + td {
    margin-top: 8px;
  }

  .analysis-table-slot .pricing-table-wrap {
    max-height: none;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__inner,
  main,
  .hero__copy {
    transition: none;
  }

  html.is-language-entering .site-header__inner,
  html.is-language-entering main,
  html.is-language-entering .hero__copy,
  html.is-language-leaving .site-header__inner,
  html.is-language-leaving main,
  html.is-language-leaving .hero__copy {
    opacity: 1;
    transform: none;
  }
}

/* ---- Mobile navigation: hamburger + slide-in drawer ---- */
/* Desktop defaults: toggle/backdrop hidden, menu is transparent to the grid. */
.nav-toggle {
  display: none;
}

.site-menu {
  display: contents;
}

.site-menu__brand {
  display: none;
}

.site-menu__quick-contact {
  display: none;
}

.site-menu__backdrop {
  display: none;
}

@media (max-width: 900px) {
  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-brand__logo {
    width: 46px;
    height: 46px;
    transform: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(247, 249, 250, 0.9);
    color: var(--color-navy);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  html.nav-open .nav-toggle {
    position: relative;
    z-index: 151;
    background: var(--color-bg-soft);
    box-shadow: 0 10px 30px rgba(13, 28, 33, 0.12);
  }

  .nav-toggle__box {
    position: relative;
    width: 22px;
    height: 16px;
  }

  .nav-toggle__bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
  }

  .nav-toggle__bar:nth-child(1) {
    top: 0;
  }

  .nav-toggle__bar:nth-child(2) {
    top: 7px;
  }

  .nav-toggle__bar:nth-child(3) {
    top: 14px;
  }

  html.nav-open .nav-toggle__bar:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
  }

  html.nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  html.nav-open .nav-toggle__bar:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
  }

  .site-menu {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vh, 34px);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 140;
    width: 100vw;
    height: 100dvh;
    padding: calc(env(safe-area-inset-top, 0px) + 26px) clamp(24px, 7vw, 42px) calc(env(safe-area-inset-bottom, 0px) + 28px);
    background:
      linear-gradient(180deg, rgba(247, 249, 250, 0.98) 0%, var(--color-bg) 44%, color-mix(in srgb, var(--color-teal) 7%, var(--color-bg)) 100%);
    box-shadow: none;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition:
      opacity 0.24s ease,
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.34s;
  }

  html.nav-open .site-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition:
      opacity 0.24s ease,
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-menu__brand {
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(100%, 360px);
    min-height: 96px;
    margin: 0 auto clamp(4px, 2vh, 14px);
    padding-right: 58px;
    color: var(--color-navy);
  }

  .site-menu__logo {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    object-fit: contain;
  }

  .site-menu__brand span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }

  .site-menu__brand strong {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    line-height: 1.08;
  }

  .site-menu__brand small {
    color: var(--color-text-light);
    font-size: 0.95rem;
    font-weight: 600;
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(100%, 330px);
    margin: 0 auto;
  }

  .site-nav a {
    justify-content: center;
    min-height: 54px;
    padding: 0 18px;
    font-size: 1.08rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1px 0 rgba(32, 57, 66, 0.06);
  }

  .site-nav a::after {
    content: none;
  }

  .site-header__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: min(100%, 330px);
    margin-top: auto;
    margin-inline: auto;
  }

  .site-header__actions > .button {
    width: 100%;
    flex: none;
    min-height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  .site-menu__quick-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .site-menu__quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 0 12px;
    border-radius: 18px;
    color: var(--color-bg);
    font-weight: 800;
    text-align: center;
    box-shadow: 0 14px 28px rgba(13, 28, 33, 0.13);
  }

  .site-menu__quick-link svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .site-menu__quick-link svg circle {
    fill: currentColor;
    stroke: none;
  }

  .site-menu__quick-link--message {
    background: var(--color-teal);
  }

  .site-menu__quick-link--phone {
    background: var(--color-navy);
  }

  .site-header__langs {
    justify-content: center;
    width: max-content;
    margin: 0 auto;
    padding: 7px;
    background: var(--color-bg);
    box-shadow: 0 12px 34px rgba(13, 28, 33, 0.1);
  }

  .site-lang {
    width: 42px;
    height: 42px;
  }

  .site-lang img {
    width: 30px;
    height: 30px;
  }

  .site-menu__backdrop {
    display: none;
  }

  html.nav-open body {
    overflow: hidden;
  }

  html.nav-open .contact-widget {
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px) translateZ(0);
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .site-menu,
  .site-menu__backdrop,
  .nav-toggle__bar {
    transition: none;
  }
}
