:root {
  --brand: #004893;
  --brand-700: #003a77;
  --brand-800: #002b59;
  --brand-900: #001d3d;
  --brand-50: #eef4fb;
  --brand-100: #dbe8f6;
  --teal: #4f8f9c;
  --teal-50: #ecf5f6;
  --teal-ink: #2a6672;
  --peach: #eaac8b;
  --peach-50: #fdf3ed;
  --peach-700: #a6532a;
  --sage: #bcc8a2;
  --ink: #0a2434;
  --ink-2: #364c63;
  --muted: #566a80;
  --bg: #ffffff;
  --surface: #f4f7fb;
  --surface-2: #e9eff6;
  --line: #d8e1eb;
  --heading: #003a77;
  --link: #004893;
  --btn-bg: #004893;
  --btn-bg-hover: #003a77;
  --btn-fg: #ffffff;
  --focus: #c2410c;
  --ok: #157347;
  --closed: #b42318;
  --footer-bg: #0a2434;
  --footer-ink: #d4e0ec;
  --shadow-sm: 0 1px 2px rgb(10 36 52 / 6%), 0 1px 3px rgb(10 36 52 / 8%);
  --shadow: 0 18px 40px -20px rgb(10 36 52 / 35%);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --topbar-h: 40px;
  --header-h: 76px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", sans-serif;
  color-scheme: light;
}


:root[data-theme="dark"] {
  --brand: #8cbcf2;
  --brand-700: #a9cdf6;
  --brand-800: #0d3a6b;
  --brand-900: #071d36;
  --brand-50: #10263c;
  --brand-100: #17324f;
  --teal: #7cc0cc;
  --teal-50: #0f2a2f;
  --teal-ink: #8fd3de;
  --peach: #f0b796;
  --peach-50: #2b1d15;
  --peach-700: #f4b08c;
  --ink: #e8eff7;
  --ink-2: #bccbdb;
  --muted: #97abc0;
  --bg: #0b1724;
  --surface: #102233;
  --surface-2: #152b40;
  --line: #243a51;
  --heading: #d4e6fa;
  --link: #8cbcf2;
  --btn-bg: #2563b5;
  --btn-bg-hover: #2f72c9;
  --focus: #fdba74;
  --ok: #4ade80;
  --closed: #fca5a5;
  --footer-bg: #07111c;
  --footer-ink: #c3d2e2;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
  --shadow: 0 18px 40px -20px rgb(0 0 0 / 70%);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
  hyphens: auto;
}

p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 650; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 200;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: .75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .7rem 1.25rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.btn--outline { background: transparent; color: var(--link); border-color: currentColor; }
.btn--outline:hover { background: var(--brand-50); }
.btn--light { background: #fff; color: #002b59; }
.btn--light:hover { background: #eef4fb; color: #002b59; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 70%); }
.btn--ghost-light:hover { background: rgb(255 255 255 / 12%); color: #fff; }
.btn--sm { min-height: 40px; padding: .5rem .95rem; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .85rem 1.5rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover { background: var(--surface); }
.icon-btn .icon { width: 22px; height: 22px; }

.theme-icon--sun { display: none; }
:root[data-theme="dark"] .theme-icon--sun { display: block; }
:root[data-theme="dark"] .theme-icon--moon { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}
.chip .icon { color: var(--brand); width: 1.1em; height: 1.1em; }
.chip--link { color: var(--link); text-decoration: none; }
.chip--link:hover { background: var(--brand-50); border-color: var(--brand-100); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: .35rem .85rem .35rem .7rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .92rem;
  font-weight: 650;
  color: var(--ink);
}
.status-pill__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
[data-state="open"] .status-pill__dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
[data-state="closed"] .status-pill__dot { background: var(--closed); }
.status-pill--invert { background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 30%); color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 650;
  text-decoration: none;
}
.link-arrow:hover span { text-decoration: underline; }

.site-header {
  position: sticky;
  top: calc(var(--topbar-h) * -1);
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  height: var(--topbar-h);
  background: var(--brand-800);
  color: #e6eef8;
  font-size: .85rem;
}
.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow: hidden;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  white-space: nowrap;
  color: inherit;
}
.topbar__item .icon { width: 1.05em; height: 1.05em; opacity: .9; }
.topbar__status { margin-inline-start: auto; }
.topbar__phone { font-weight: 650; text-decoration: none; color: #fff; }
.topbar__phone:hover { text-decoration: underline; }
.topbar [data-state="open"] .icon { color: #86efac; }

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  text-decoration: none;
  margin-inline-end: auto;
  min-width: 0;
}
.brand__logo { width: auto; height: 52px; }
:root[data-theme="dark"] .brand__logo { filter: brightness(1.9) saturate(.6); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__name { font-weight: 750; font-size: 1.08rem; color: var(--heading); white-space: nowrap; }
.brand__sub { font-size: .82rem; color: var(--muted); white-space: nowrap; }

.header__actions { display: flex; align-items: center; gap: .5rem; }
.header__call { display: none; }
.menu-btn__close { display: none; }

.nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .8rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.nav__link:hover { background: var(--surface); }
.nav__link[aria-current] { color: var(--link); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 10px 10px 0 0; }
.nav__item--menu { position: relative; display: flex; align-items: center; }
.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-inline-start: -.35rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav__toggle:hover { background: var(--surface); }
.nav__toggle .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__drawer-extra { display: none; }

.mega { display: none; }
.mega__grid { display: grid; gap: 1.5rem; }
.mega__title {
  display: block;
  margin: 0 0 .5rem;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--teal-ink);
  text-decoration: none;
}
a.mega__title:hover { text-decoration: underline; }
.mega__list { list-style: none; display: grid; gap: .15rem; }
.mega__link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .6rem;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
}
.mega__link:hover, .mega__link[aria-current] { background: var(--brand-50); color: var(--link); }
.mega__icon { width: 22px; height: 22px; color: var(--brand); }
.mega__all {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-weight: 650;
  text-decoration: none;
}

@media (max-width: 1023.98px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .js .nav {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    z-index: 80;
    width: min(88vw, 400px);
    padding: calc(var(--header-h) + 8px) 20px 28px;
    background: var(--bg);
    box-shadow: var(--shadow);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  [dir="rtl"].js .nav { transform: translateX(-105%); }
  .js .nav.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
  .js .nav__list { flex-direction: column; gap: 0; }
  .js .nav__item { border-bottom: 1px solid var(--line); }
  .js .nav__link { width: 100%; min-height: 52px; font-size: 1.08rem; }
  .js .nav__link[aria-current] { box-shadow: none; }
  .js .nav__item--menu { flex-wrap: wrap; }
  .js .nav__item--menu .nav__link { width: auto; flex: 1; }
  .js .nav__toggle { width: 48px; height: 48px; margin: 0; }
  .js .nav__item--menu.is-open .mega { display: block; width: 100%; padding: 0 0 1rem; }
  .js .nav__drawer-extra { display: grid; gap: 1rem; margin-top: 1.5rem; }
  .nav__drawer-address { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink-2); margin: 0; }
  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgb(5 15 25 / 45%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  .menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
  .menu-open .site-header { z-index: 75; }
  .menu-open .menu-btn { position: relative; z-index: 90; }
  .menu-open .menu-btn__open { display: none; }
  .menu-open .menu-btn__close { display: block; }
  html:not(.js) .nav { flex-basis: 100%; }
  html:not(.js) .header__inner { flex-wrap: wrap; height: auto; padding-block: .75rem; }
  html:not(.js) .menu-btn { display: none; }
}

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .header__call { display: inline-flex; }
  .nav__list { flex-wrap: nowrap; }
  .header__inner { position: relative; }
  .nav__item--menu { position: static; }
  .mega {
    position: absolute;
    top: calc(100% - 4px);
    inset-inline-end: var(--gutter);
    width: min(900px, calc(100% - 2 * var(--gutter)));
    padding: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
  }
  .mega::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
  .mega__grid { grid-template-columns: repeat(3, 1fr); }
  .nav__item--menu:hover .mega,
  .nav__item--menu.is-open .mega { display: block; }
  .js .nav__item--menu:not(.is-open):not(:hover) .mega { display: none; }
}

@media (max-width: 719.98px) {
  :root { --header-h: 68px; }
  .brand__logo { height: 44px; }
  .brand__name { font-size: 1rem; }
  .topbar__item--hide-sm { display: none; }
  .topbar__inner { gap: .85rem; font-size: .8rem; }
  .topbar__phone { display: none; }
}
@media (max-width: 389.98px) {
  .brand__sub { display: none; }
  .topbar__item:first-child { display: none; }
}

.notice {
  background: var(--peach-50);
  border-bottom: 1px solid color-mix(in srgb, var(--peach) 55%, transparent);
  color: var(--ink);
}
.notice__inner { display: flex; align-items: flex-start; gap: .75rem; padding-block: .8rem; }
.notice__icon { color: var(--peach-700); margin-top: .15em; }
.notice__text { margin: 0; font-size: .98rem; }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(28px, 4.5vw, 56px); }
.section--alt { background: var(--surface); }
.section__head { max-width: 780px; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section__title { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.4rem); }
.section__lead { font-size: 1.12rem; color: var(--ink-2); margin: 0; }
.section__more { margin: 2rem 0 0; }

.hero {
  padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 88px);
  background:
    radial-gradient(1200px 520px at 100% 0%, var(--brand-50), transparent 65%),
    radial-gradient(700px 380px at 0% 100%, var(--peach-50), transparent 70%),
    var(--bg);
}
.hero__grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.025em; margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 36em; }
.chips--hero { margin: 1.5rem 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__media { position: relative; border-radius: var(--radius-lg); }
.hero__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 560px;
  object-fit: cover;
  object-position: 50% 58%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}
.hero__card {
  display: grid;
  gap: .55rem;
  margin: 12px 0 0;
  padding: 1rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.hero__card-line { display: flex; gap: .55rem; align-items: flex-start; margin: 0; color: var(--ink-2); font-size: .95rem; }
.hero__card-line .icon { color: var(--brand); margin-top: .15em; }
@media (min-width: 560px) {
  .hero__card {
    position: absolute;
    inset-inline-start: 18px;
    bottom: 18px;
    width: max-content;
    max-width: calc(100% - 36px);
    margin: 0;
    background: color-mix(in srgb, var(--bg) 93%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
  }
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; }
  .hero__card { inset-inline-start: 22px; bottom: 22px; }
}

.group { margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.group:first-of-type { margin-top: 0; }
.group__title { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; margin-bottom: 1rem; }
.group__title--lg { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.group__title a { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; }
.group__title a:hover { color: var(--link); text-decoration: underline; }
.group__title .icon { width: .9em; height: .9em; color: var(--brand); }
.group__lead { color: var(--ink-2); max-width: 760px; margin-top: -.25rem; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.cards--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1.35rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card:focus-within { border-color: var(--brand); }
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand);
}
.card__icon .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.card__title { font-size: 1.15rem; margin: .2rem 0 0; }
.card__link { color: var(--heading); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.card__text { color: var(--ink-2); font-size: .97rem; margin: 0; flex-grow: 1; }
.card__more { display: inline-flex; align-items: center; gap: .35rem; color: var(--link); font-weight: 650; font-size: .95rem; }
.card__more .icon { width: 1em; height: 1em; transition: transform .18s ease; }
.card:hover .card__more .icon { transform: translateX(3px); }
[dir="rtl"] .card:hover .card__more .icon { transform: scaleX(-1) translateX(3px); }

.emergency {
  background-color: #003a77;
  background-image: linear-gradient(135deg, #002b59 0%, #004893 60%, #0d5aa8 100%);
  color: #fff;
  padding-block: clamp(32px, 5vw, 56px);
}
.emergency__inner { display: grid; gap: 1.25rem; align-items: center; }
.emergency__icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgb(255 255 255 / 12%);
}
.emergency__icon .icon { width: 34px; height: 34px; }
.emergency__title { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: .4em; }
.emergency__text p { margin: 0; color: #dbe7f5; max-width: 46em; }
.emergency__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 960px) {
  .emergency__inner { grid-template-columns: auto 1fr auto; gap: 2rem; }
  .emergency__actions { flex-direction: column; align-items: stretch; }
}

.about-teaser { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.about-teaser__team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 960px) { .about-teaser { grid-template-columns: 1fr 1fr; } }

.doctor { display: grid; gap: .9rem; align-content: start; }
.doctor__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.doctor__name { font-size: 1.08rem; margin: 0; }
.doctor__role { margin: .25rem 0 0; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.doctor__bio { margin: 1rem 0; color: var(--ink-2); }
.doctor__focus-title { margin: 0 0 .5rem; font-weight: 700; font-size: .9rem; color: var(--ink); }
.doctors { display: grid; gap: 24px; }
.doctors--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.doctors--compact .doctor { grid-template-columns: 96px 1fr; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.doctors--compact .doctor__img { border-radius: 12px; }
.doctors--detailed { gap: clamp(28px, 4vw, 48px); margin-top: 2rem; }
.doctor--detailed { padding: clamp(1rem, 2.5vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.doctor--detailed .doctor__name { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); }
@media (min-width: 720px) {
  .doctor--detailed { grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
}

.infobox {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--peach-50);
  border-inline-start: 4px solid var(--peach);
}
.infobox p { margin: 0; color: var(--ink-2); }
.infobox__icon { width: 28px; height: 28px; color: var(--peach-700); }
.infobox__title { font-size: 1.05rem; margin: 0 0 .3rem; }
.infobox--spaced { margin-top: 2.5rem; }

.visit { display: grid; gap: 20px; }
.visit__hours, .visit__place {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
}
.section--alt .visit__hours, .section--alt .visit__place { background: var(--bg); }
.visit__title { display: flex; align-items: center; gap: .55rem; font-size: 1.3rem; }
.visit__title .icon { color: var(--brand); }
.visit__hours .status-pill { margin-bottom: 1.25rem; }
.visit__walkin { display: flex; gap: .55rem; align-items: flex-start; margin: 1rem 0 0; color: var(--ink-2); font-weight: 600; }
.visit__walkin .icon { color: var(--teal); margin-top: .15em; }
.visit__address { font-size: 1.05rem; }
.visit__intro { color: var(--ink-2); }
.visit__maps-title { margin: 1.25rem 0 .6rem; font-weight: 700; }
.visit__maps { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.visit__contact { list-style: none; display: grid; gap: .4rem; margin-top: 1.25rem; }
.visit__contact a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; text-decoration: none; }
.visit__contact a:hover span { text-decoration: underline; }
@media (min-width: 960px) { .visit { grid-template-columns: 1fr 1fr; } }
.visit__map { grid-column: 1 / -1; }

.map { position: relative; margin: 0; }
.map__link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #f2efe9;
  color: inherit;
  text-decoration: none;
}
.map__img {
  width: 100%;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform .4s ease;
}
.map__link:hover .map__img { transform: scale(1.015); }
.map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
}
.map__pin-icon {
  width: 40px;
  height: 52px;
  fill: #004893;
  stroke: #ffffff;
  stroke-width: 1.6;
  filter: drop-shadow(0 4px 6px rgb(0 0 0 / 35%));
}
.map__label {
  position: absolute;
  left: 50%;
  top: calc(50% + 10px);
  transform: translateX(-50%);
  padding: .3rem .7rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0a2434;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 14px -6px rgb(0 0 0 / 45%);
}
.map__open {
  position: absolute;
  inset-inline-end: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border-radius: 10px;
  background: #ffffff;
  color: #003a77;
  font-size: .88rem;
  font-weight: 650;
  box-shadow: 0 4px 14px -6px rgb(0 0 0 / 45%);
}
.map__link:hover .map__open span:first-of-type { text-decoration: underline; }
.map__credit { margin-top: .4rem; font-size: .78rem; color: var(--muted); text-align: end; }
.map__credit a { color: inherit; }
:root[data-theme="dark"] .map__img { filter: brightness(.86) contrast(1.05); }
@media (max-width: 719.98px) {
  .map__img { aspect-ratio: 4 / 3; }
  .map__label { font-size: .78rem; }
}

.entrance { margin: 24px 0 0; max-width: 720px; }
.entrance__img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); }
.entrance__caption { margin-top: .5rem; color: var(--muted); font-size: .9rem; }

.transit { list-style: none; display: grid; gap: .55rem; }
.transit__item { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); }
.transit__icon { color: var(--teal); margin-top: .2em; }

.hours { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .hours--split:not(.hours--compact) { grid-template-columns: 1fr 1fr; } }
.hours__label { margin: 0 0 .4rem; font-weight: 750; font-size: .9rem; letter-spacing: .03em; color: var(--teal-ink); text-transform: uppercase; }
.hours__block--next .hours__label { color: var(--peach-700); }
.hours__block--next { position: relative; }
.hours__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours__table th, .hours__table td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours__table th { text-align: start; font-weight: 600; }
.hours__table td { text-align: end; white-space: nowrap; }
.hours__table tr:last-child th, .hours__table tr:last-child td { border-bottom: 0; }
.hours__table .is-today { background: var(--brand-50); }
.hours__table .is-today th { color: var(--heading); }
.hours__table .is-closed { color: var(--muted); }
.hours__today { display: inline-block; margin-inline-start: .35rem; padding: .05rem .45rem; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-size: .72rem; font-weight: 700; vertical-align: .1em; }
.hours__note { margin: .9rem 0 0; color: var(--muted); font-size: .92rem; }
.hours--compact .hours__table th, .hours--compact .hours__table td { padding: .3rem 0; border-color: rgb(255 255 255 / 10%); }
.hours--compact .hours__table td { padding-inline-start: .75rem; }

.page-head {
  padding-block: clamp(20px, 4vw, 48px) clamp(24px, 4vw, 44px);
  background: linear-gradient(180deg, var(--brand-50), var(--bg));
}
.page-head--plain { background: var(--bg); }
.page-head__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1.1; letter-spacing: -.02em; margin-top: .25rem; }
.page-head__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 46em; }
.page-head__grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-head__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--surface-2); }
.page-head .chips { margin-top: 1.25rem; }
@media (min-width: 960px) { .page-head__grid { grid-template-columns: 1.15fr .85fr; } }

.breadcrumbs { margin-bottom: 1.25rem; font-size: .9rem; }
.breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.breadcrumbs__item { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); }
.breadcrumbs__item a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs__item a:hover { color: var(--link); text-decoration: underline; }
.breadcrumbs__sep { width: 14px; height: 14px; opacity: .7; }

.service-layout {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 80px);
}
@media (min-width: 1024px) {
  .service-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .service-aside { position: sticky; top: calc(var(--header-h) + 20px); }
}
.service-aside { display: grid; gap: 20px; }
.aside-card {
  display: grid;
  gap: .75rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.aside-card .status-pill { justify-self: start; background: var(--bg); }
.aside-card__line { display: flex; gap: .55rem; align-items: flex-start; margin: 0; color: var(--ink-2); font-size: .95rem; }
.aside-card__line .icon { color: var(--brand); margin-top: .15em; }
.toc { padding: 1.1rem 1.35rem; border-inline-start: 3px solid var(--brand-100); }
.toc__title { margin: 0 0 .5rem; font-weight: 750; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.toc__list { list-style: none; display: grid; gap: .3rem; font-size: .95rem; }
.toc__list a { color: var(--ink-2); text-decoration: none; }
.toc__list a:hover { color: var(--link); text-decoration: underline; }

.service-section { margin-top: clamp(2.25rem, 4vw, 3.25rem); scroll-margin-top: calc(var(--header-h) + 20px); }
.service-section__title { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.85rem); }
.service-section__body { display: grid; gap: 1.5rem; }
.service-section__img { width: 100%; height: auto; border-radius: var(--radius); background: var(--surface-2); }
.service-section__figure { margin: 0; }
@media (min-width: 720px) {
  .service-section--media .service-section__body { grid-template-columns: minmax(0, 1fr) 260px; align-items: start; }
}

.prose { max-width: 72ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); margin-top: 1.75em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose h4 { font-size: 1.05rem; margin-top: 1.25em; }
.prose ul, .prose ol { margin: 0 0 1.1em; display: grid; gap: .45rem; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; padding-inline-start: 1.5rem; }
.prose ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: .2rem;
  top: .62em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--teal);
}
.prose ol { padding-inline-start: 1.4rem; }
.prose--intro { font-size: 1.08rem; }
.prose--intro > p:first-child { font-size: 1.15rem; color: var(--ink); }
.prose--steps ul, .prose--steps ol { counter-reset: step; list-style: none; padding: 0; gap: .9rem; }
.prose--steps ul > li, .prose--steps ol > li { counter-increment: step; position: relative; padding-inline-start: 3.1rem; min-height: 2.2rem; }
.prose--steps ul > li::before, .prose--steps ol > li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 750;
  font-size: .95rem;
}
.prose--legal h2 { font-size: 1.35rem; }
.prose--legal h3 { font-size: 1.1rem; }
.legal-updated { margin-top: 2.5rem; color: var(--muted); font-size: .92rem; }

.faq { display: grid; gap: .75rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.faq__item[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 650;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--link); }
.faq__chevron { width: 20px; height: 20px; transition: transform .2s ease; color: var(--brand); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__a { padding: 0 1.2rem 1.1rem; color: var(--ink-2); }
.faq__item:target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }

.split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.rounded-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface-2); }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }

.gallery { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 240px), 1fr)); }
.gallery__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }

.contact-cards { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.contact-card {
  display: grid;
  gap: .3rem;
  align-content: start;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.contact-card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); margin-bottom: .5rem; }
.contact-card__label { margin: 0; font-size: .85rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-card__value { font-size: 1.15rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-card__value:hover { text-decoration: underline; }
.contact-card__hint { margin: .2rem 0 0; color: var(--ink-2); font-size: .93rem; }

.cta-band {
  background-color: #003a77;
  background-image: linear-gradient(135deg, #002b59, #004893);
  color: #fff;
  padding-block: clamp(36px, 5vw, 64px);
}
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band__title { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); }
.cta-band__text p { color: #dbe7f5; max-width: 44em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1fr auto; } }

.link-list { list-style: none; display: grid; gap: .6rem; margin-top: 1.5rem; }

.site-footer { background: var(--footer-bg); color: var(--footer-ink); font-size: .96rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; padding-block: clamp(40px, 6vw, 72px); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.2fr 1.1fr 1fr .8fr; } }
.footer__title { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__brand { color: #fff; font-weight: 700; margin-bottom: .4rem; }
.footer__address { margin-bottom: 1rem; }
.footer__contact, .footer__links { list-style: none; display: grid; gap: .45rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer__badge { display: inline-flex; align-items: center; gap: .45rem; margin: 1.25rem 0 0; padding: .35rem .75rem; border-radius: 999px; background: rgb(255 255 255 / 8%); font-weight: 600; font-size: .9rem; }
.site-footer .hours__table th { font-weight: 500; color: var(--footer-ink); }
.site-footer .hours__table td { color: #fff; }
.site-footer .hours__table .is-today { background: rgb(255 255 255 / 8%); }
.site-footer .hours__table .is-closed { color: #9fb2c6; }
.site-footer .hours__label { color: #9fd3dc; }
.site-footer .hours__block--next .hours__label { color: #f6c3a6; }
.site-footer .hours__note { color: #a9bbcd; }
.site-footer .hours__today { background: #fff; color: #002b59; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / 10%); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem; font-size: .88rem; color: #a9bbcd; }
.footer__bottom-inner p { margin: 0; }

.mobilebar { display: none; }
@media (max-width: 719.98px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mobilebar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -18px rgb(10 36 52 / 45%);
  }
  .mobilebar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 52px;
    border-radius: 12px;
    color: var(--ink);
    font-size: .8rem;
    font-weight: 650;
    text-decoration: none;
    background: var(--surface);
  }
  .mobilebar__item .icon { width: 22px; height: 22px; color: var(--brand); }
  .mobilebar__item--primary { background: var(--btn-bg); color: var(--btn-fg); flex-direction: row; gap: .5rem; font-size: .95rem; }
  .mobilebar__item--primary .icon { color: var(--btn-fg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .card:hover { transform: none; }
}

@media print {
  .site-header, .notice, .mobilebar, .service-aside, .cta-band, .emergency__actions, .hero__actions { display: none !important; }
  body { padding: 0; font-size: 11pt; color: #000; background: #fff; }
  a { color: #000; }
  .site-footer { background: #fff; color: #000; }
  .site-footer a { color: #000; }
}

:root[data-theme="dark"] .btn--light { background: #d7e7fb; color: #062a52; }
:root[data-theme="dark"] .site-footer .hours__today { background: #d7e7fb; color: #062a52; }
@media (max-width: 959.98px) {
  .hero__img { aspect-ratio: 4 / 3; max-height: 420px; }
  .page-head__img { aspect-ratio: 16 / 10; max-height: 380px; }
}
