/* Mamak Su Tıp — navy / gold medical chrome */
:root {
  --maroon: #1a365d;
  --maroon-deep: #0f2340;
  --maroon-mid: #2c5282;
  --gold: #b08a3c;
  --gold-soft: #c9a85a;
  --logo-red: #ce1d16;
  --logo-red-deep: #b31812;
  --related-ink: var(--maroon);
  --related-band: #fff;
  --su-skin-hi: #f4f7fb;
  --su-skin-mid: #d9e2ef;
  --su-skin-deep: #b4c4d9;
  --su-ink: #142033;
  --su-bell-hi: #f3e6c0;
  --a11y-red: var(--maroon);
  --a11y-red-deep: var(--maroon-deep);
  --ink: #444444;
  --muted: #707186;
  --line: #d9e0ea;
  --paper: #fff;
  --font: "Titillium Web", Helvetica, Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  /* up + down arrows (~7.1rem) + bottom offset + gap */
  --ms-scrollnav-stack: 9.4rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; }
html, body {
  margin: 0; min-height: 100%; width: 100%; max-width: 100%;
  background: var(--paper); color: var(--ink); font-family: var(--font);
}
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; overflow-y: visible; }
#main { flex: 1 1 auto; width: 100%; max-width: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.ms-skip { position: absolute; inset-inline-start: 0; top: 0; z-index: 1000; transform: translateY(-120%); }
.ms-skip:focus { transform: none; padding: .6rem 1rem; background: #fff; }
.ms-wrap {
  width: min(1680px, calc(100% - clamp(1.5rem, 3.5vw, 3rem)));
  margin-inline: auto;
}
.ms-shell {
  width: 100%;
  max-width: none;
}
.ms-kicker {
  margin: 0 0 .35rem; color: var(--gold); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; display: inline-block;
  border-bottom: 2px solid var(--gold); padding-bottom: .15rem;
}
.ms-kicker a { text-decoration: none; color: inherit; }
.ms-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--maroon); color: #fff; text-decoration: none; border: 0;
  padding: .78rem 1.35rem; font: inherit; font-weight: 700; cursor: pointer;
  border-radius: 999px; min-width: 8.5rem;
}
.ms-btn:hover { background: var(--maroon-deep); }
.ms-btn--ghost { background: #fff; color: var(--maroon); border: 1px solid var(--maroon); }
.ms-btn--ghost:hover { background: #f2f5f9; }
.ms-note { color: var(--muted); font-size: .92rem; }
.ms-ok { background: #eef8f0; border: 1px solid #b7dfc0; padding: .9rem 1rem; border-radius: .5rem; }
.ms-err { background: #fdf0f0; border: 1px solid #e8b4b4; padding: .9rem 1rem; border-radius: .5rem; color: #7a1f1f; }
.ms-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* Top bar */
.ms-top { background: #fff; border-bottom: 0; position: relative; z-index: 30; width: 100%; }
.ms-top__inner {
  min-height: 46px; display: flex; align-items: center; justify-content: flex-end; gap: 1.2rem;
  flex-wrap: wrap; padding: .45rem 0;
}
.ms-top__actions {
  margin-inline-end: auto;
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  min-width: 0;
}
.ms-top__phone {
  display: flex; align-items: center; gap: .55rem;
  background: var(--maroon); color: #fff; text-decoration: none;
  padding: .55rem 1.2rem; font-weight: 700; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(26, 54, 93, .18);
  transform: translateZ(0);
  transition:
    background .2s ease,
    color .2s ease,
    transform .22s ease,
    box-shadow .22s ease;
}
.ms-top__phone:hover {
  background: var(--maroon-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 54, 93, .28);
}
.ms-top__phone:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(26, 54, 93, .18);
}
.ms-top__phone span { font-size: .78rem; font-weight: 600; opacity: .9; }
.ms-top__phone strong { font-size: .95rem; }
.ms-top__feedback {
  display: inline-flex; align-items: center;
  background: #fff; color: var(--maroon); text-decoration: none;
  padding: .55rem 1.05rem; font-weight: 700; font-size: .86rem;
  border-radius: 999px;
  border: 1.5px solid var(--maroon);
  box-shadow: 0 2px 8px rgba(26, 54, 93, .08);
  white-space: nowrap;
  transform: translateZ(0);
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .22s ease,
    box-shadow .22s ease;
}
.ms-top__feedback:hover {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(26, 54, 93, .22);
}
.ms-top__feedback:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 54, 93, .08);
}
.ms-top__meta { margin: 0; display: flex; gap: 1rem; flex-wrap: wrap; color: var(--maroon); font-size: .84rem; font-weight: 600; }
.ms-top__meta a { text-decoration: none; }
.ms-lang { display: flex; gap: .35rem; }
.ms-lang a {
  text-decoration: none; font-size: .78rem; font-weight: 700; padding: .3rem .55rem;
  border: 1px solid var(--line); border-radius: .35rem; color: var(--muted);
}
.ms-lang a.is-active, .ms-lang a:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.ms-lang-menu { display: none; position: relative; }
.ms-lang-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .25rem;
  height: 2.5rem; padding: 0 .65rem; border: 1px solid var(--line); border-radius: .5rem;
  background: #fff; color: var(--maroon); font-weight: 700; font-size: .86rem;
}
.ms-lang-menu summary::-webkit-details-marker { display: none; }
.ms-lang-menu summary svg { transition: transform .2s ease; }
.ms-lang-menu[open] summary svg { transform: rotate(180deg); }
.ms-lang-menu__list {
  position: absolute; top: calc(100% + .35rem); inset-inline-end: 0; z-index: 60; min-width: 9.5rem;
  display: flex; flex-direction: column; padding: .35rem; background: #fff;
  border: 1px solid var(--line); border-radius: .6rem; box-shadow: 0 10px 28px rgba(26, 54, 93, .16);
}
.ms-lang-menu__list a {
  display: flex; align-items: center; gap: .5rem; padding: .55rem .65rem; border-radius: .4rem;
  text-decoration: none; color: var(--maroon); font-size: .9rem; font-weight: 600;
}
.ms-lang-menu__list a strong { font-size: .78rem; min-width: 1.5rem; color: var(--muted); }
.ms-lang-menu__list a:hover { background: #f3f5f9; }
.ms-lang-menu__list a.is-active { background: var(--maroon); color: #fff; }
.ms-lang-menu__list a.is-active strong { color: #fff; }

/* Header */
.ms-header { background: #fff; border-bottom: 0; position: sticky; top: 0; z-index: 40; width: 100%; }
.ms-head { display: flex; align-items: center; gap: 1rem; min-height: 100px; }
.ms-logo { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.ms-logo img { height: 80px; width: auto; }
.ms-logo__word { font-size: 1.35rem; font-weight: 900; color: var(--maroon); }
.ms-nav { display: flex; align-items: center; gap: .35rem; flex: 1 1 auto; flex-wrap: wrap; }
.ms-nav > a, .ms-mega > button {
  appearance: none; background: transparent; border: 0; font: inherit; font-weight: 700;
  color: var(--maroon); text-decoration: none; padding: .55rem .7rem; cursor: pointer; border-radius: 999px;
}
.ms-nav > a:hover, .ms-mega > button:hover { background: #f2f5f9; }
.ms-mega { position: relative; }
.ms-mega__panel {
  display: none; position: absolute; inset-inline-start: 0; top: calc(100% + .35rem);
  min-width: 240px; max-height: min(70vh, 420px); overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: .65rem;
  box-shadow: 0 12px 30px rgba(26, 54, 93, .12); padding: .4rem; z-index: 50;
}
.ms-mega.is-open .ms-mega__panel { display: grid; }
.ms-mega__panel a {
  text-decoration: none; padding: .55rem .7rem; border-radius: .45rem; font-weight: 600; color: var(--ink); font-size: .92rem;
}
.ms-mega__panel a:hover { background: #f2f5f9; color: var(--maroon); }
.ms-mega__panel--icons { min-width: 290px; }
.ms-mega__panel--icons a { display: flex; align-items: center; gap: .65rem; padding: .45rem .6rem; }
.ms-mega__ico {
  flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; background: #eef3f9; color: var(--maroon);
  transition: background .2s ease, color .2s ease;
}
.ms-mega__ico .ms-ico { width: 1.1rem; height: 1.1rem; display: block; }
.ms-mega__panel--icons a:hover .ms-mega__ico { background: var(--maroon); color: #fff; }
.ms-mega__all { border-bottom: 1px solid var(--line); border-radius: .45rem .45rem 0 0 !important; margin-bottom: .2rem; color: var(--maroon) !important; font-weight: 700 !important; }
.ms-mega__all .ms-mega__ico { background: var(--gold); color: #fff; }
@media (min-width: 781px) {
  .ms-mega.is-open .ms-mega__panel--icons {
    grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .25rem;
    min-width: 540px; max-height: min(80vh, 560px);
  }
  .ms-mega__panel--icons .ms-mega__all { grid-column: 1 / -1; }
}
@media (min-width: 781px) and (max-width: 1180px) {
  .ms-mega:last-of-type .ms-mega__panel--icons { inset-inline-start: auto; inset-inline-end: 0; }
}
.ms-tools { margin-inline-start: auto; display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.ms-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 11.5rem;
  max-width: 16rem;
  flex: 0 1 16rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .1rem .15rem .1rem .85rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ms-search:focus-within {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, .12);
}
.ms-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ms-search__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  padding: .45rem .35rem;
  outline: 0;
}
.ms-search__input::placeholder { color: var(--muted); font-weight: 600; }
.ms-search__btn {
  appearance: none;
  border: 0;
  flex: 0 0 auto;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--maroon);
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.ms-search__btn:hover { background: var(--maroon-deep); }
.ms-search__btn svg { display: block; }
.ms-search__panel {
  position: absolute;
  top: calc(100% + .4rem);
  inset-inline-end: 0;
  width: min(22rem, calc(100vw - 1.5rem));
  max-height: min(60vh, 22rem);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .75rem;
  box-shadow: 0 14px 34px rgba(26, 54, 93, .16);
  z-index: 60;
  padding: .35rem;
}
.ms-search__panel[hidden] { display: none !important; }
.ms-search__group {
  margin: 0;
  padding: .45rem .65rem .2rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ms-search__hit {
  display: grid;
  gap: .1rem;
  text-decoration: none;
  color: inherit;
  padding: .55rem .65rem;
  border-radius: .5rem;
}
.ms-search__hit:hover,
.ms-search__hit.is-active {
  background: #f2f5f9;
  color: var(--maroon);
}
.ms-search__hit strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--maroon);
}
.ms-search__hit small {
  font-size: .78rem;
  color: var(--muted);
}
.ms-search__empty {
  margin: 0;
  padding: .75rem .65rem;
  font-size: .86rem;
  color: var(--muted);
}
.ms-search__more {
  display: block;
  margin: .2rem;
  padding: .55rem .65rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
  border-radius: .5rem;
}
.ms-search__more:hover { background: #f2f5f9; }
.ms-search--page {
  max-width: 28rem;
  min-width: 0;
  width: 100%;
  margin-top: .35rem;
  padding: .2rem .2rem .2rem 1rem;
}
.ms-search-results {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.ms-search-results a {
  display: grid;
  gap: .15rem;
  text-decoration: none;
  color: inherit;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #fff;
}
.ms-search-results a:hover {
  border-color: var(--maroon);
  box-shadow: 0 8px 20px rgba(26, 54, 93, .08);
}
.ms-search-results strong {
  color: var(--maroon);
  font-size: 1rem;
}
.ms-search-results small {
  color: var(--muted);
  font-size: .86rem;
}
.ms-nav-toggle {
  display: none; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); background: #fff;
  border-radius: .5rem; flex-direction: column; justify-content: center; gap: .28rem; padding: 0 .55rem; cursor: pointer;
}
.ms-nav-toggle span { display: block; height: 2px; background: var(--maroon); }

/* Hero — sized so CTA cards stay in the first viewport */
.ms-hero {
  position: relative;
  background: transparent;
  color: #fff;
  width: 100%;
  padding: .65rem clamp(.75rem, 2.2vw, 1.35rem) 0;
  overflow: visible;
  z-index: 30;
}
.ms-hero__stage {
  position: relative;
  width: 100%;
  /* Reserve space for top chrome + lab/appointment CTA row */
  height: clamp(220px, calc(100dvh - 20.5rem), 520px);
  min-height: 220px;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #0a1528;
  z-index: 1;
  isolation: isolate;
}
.ms-hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 80% at 88% 42%, rgba(220, 55, 60, .22), transparent 62%),
    radial-gradient(ellipse 40% 70% at 100% 100%, rgba(176, 138, 60, .12), transparent 55%);
}
.ms-hero__tag {
  position: absolute;
  z-index: 4;
  inset-inline-end: clamp(.75rem, 1.6vw, 1.25rem);
  bottom: clamp(.75rem, 1.6vw, 1.25rem);
  display: flex;
  align-items: center;
  padding: .45rem .8rem;
  border-radius: .8rem;
  border: 1px solid rgba(255, 255, 255, .28);
  background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06));
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 8px 22px rgba(10, 21, 40, .3), inset 0 1px 0 rgba(255, 255, 255, .25);
  pointer-events: none;
}
.ms-hero__tag img {
  display: block;
  width: auto;
  height: clamp(1.9rem, 3.2vw, 2.6rem);
}
.ms-hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none;
  width: 100%;
}
.ms-hero__slide.is-on { opacity: 1; pointer-events: auto; z-index: 1; }
.ms-hero__slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4;
}
.ms-hero__slide--insurers img {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  opacity: 1 !important;
  object-fit: contain !important;
  object-position: center !important;
}
.ms-hero__slide--acil img {
  position: static; inset: auto; width: 100%; height: 100%; opacity: 1; object-fit: cover;
}

/* Acil — 24/7 triage board */
.ms-hero__slide--acil { background: #f4f7fb; }
.ms-hero__slide--acil.is-on { z-index: 3; }
.ms-hero__slide--acil::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  height: 2.35rem;
  pointer-events: none;
  background: linear-gradient(90deg, #1a365d 0 55%, #a1031c);
  clip-path: ellipse(118% 145% at 50% 100%);
}
.ms-acilslide {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(14rem, .95fr);
  height: 100%;
  min-height: 100%;
  column-gap: .35rem;
  background:
    radial-gradient(ellipse 42% 70% at 12% 20%, rgba(161, 3, 28, .07), transparent 68%),
    linear-gradient(112deg, #f7f9fc 0%, #eef3f8 46%, #f4f7fb 100%);
}
.ms-acilslide__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .35rem;
  padding: .7rem .55rem 1.7rem 1.15rem;
  min-width: 0;
}
.ms-acilslide__kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--maroon, #1a365d);
  font-weight: 700;
  font-size: clamp(.9rem, 1.3vw, 1.08rem);
}
.ms-acilslide__kicker svg { width: 1.25rem; height: 1.25rem; color: #a1031c; }
.ms-acilslide__copy h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .55rem;
  margin: 0;
  color: var(--maroon, #1a365d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: .95;
  text-transform: uppercase;
}
.ms-acilslide__hour {
  color: var(--maroon, #1a365d);
}
.ms-acilslide__accent { color: #a1031c; }
.ms-acilslide__sub {
  margin: 0;
  color: #a1031c;
  font-weight: 700;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.25;
}
.ms-acilslide__lede {
  margin: 0;
  max-width: none;
  color: #3c4a5e;
  font-size: clamp(.88rem, 1.15vw, 1.02rem);
  line-height: 1.4;
}
.ms-wa-link {
  color: #25d366 !important;
}
.ms-wa-link svg {
  width: 1.1rem !important;
  height: 1.1rem !important;
  fill: currentColor !important;
  stroke: none !important;
  color: #25d366 !important;
}
.ms-wa-link:hover { color: #1ebe57 !important; }
.ms-wa-link:hover svg { color: #1ebe57 !important; }
.ms-acilslide__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: .15rem 0 .1rem;
  padding: 0;
  list-style: none;
}
.ms-acilslide__chips li {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .14rem .55rem .14rem .14rem;
  border-radius: 999px;
  background: #fff;
  color: var(--maroon, #1a365d);
  font-size: .78rem;
  font-weight: 700;
  border: 1px solid rgba(26, 54, 93, .1);
}
.ms-acilslide__chip--focus {
  background: #a1031c;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(161, 3, 28, .25);
}
.ms-acilslide__chips svg {
  width: 1.2rem;
  height: 1.2rem;
  padding: .18rem;
  border-radius: 50%;
  background: var(--maroon, #1a365d);
  color: #fff;
  box-sizing: border-box;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ms-acilslide__chip--focus svg {
  background: #fff;
  color: #a1031c;
}
.ms-acilslide__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-top: .15rem;
}
.ms-acilslide__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .52rem .95rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .92rem;
  text-decoration: none;
}
.ms-acilslide__cta--call {
  background: #a1031c;
  color: #fff;
  box-shadow: 0 6px 16px rgba(161, 3, 28, .28);
}
.ms-acilslide__cta--call:hover { background: #7d0216; }
.ms-acilslide__cta--ghost {
  background: #fff;
  color: var(--maroon, #1a365d);
  border: 1px solid rgba(26, 54, 93, .18);
}
.ms-acilslide__cta--ghost:hover { border-color: var(--maroon, #1a365d); }
.ms-acilslide__cta svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ms-acilslide__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .75rem;
  margin: .15rem 0 0;
  font-size: .86rem;
  font-weight: 700;
}
.ms-acilslide__note {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--maroon, #1a365d);
}
.ms-acilslide__note svg,
.ms-acilslide__meta a svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ms-acilslide__meta a {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  color: var(--maroon, #1a365d);
  text-decoration: none;
}
.ms-acilslide__meta a + a {
  padding-inline-start: .75rem;
  border-inline-start: 1px solid rgba(26, 54, 93, .22);
}
.ms-acilslide__meta .ms-wa-link svg { fill: currentColor; stroke: none; }
.ms-acilslide__visual {
  position: relative;
  margin: .7rem .75rem .7rem .15rem;
  border-radius: 1.15rem;
  overflow: hidden;
  min-height: 0;
  box-shadow: 0 14px 36px rgba(26, 54, 93, .14);
}
.ms-acilslide__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
  transform: scale(1.04);
}
.ms-hero__slide--acil.is-on .ms-acilslide__visual img {
  animation: ms-acil-drift 8s cubic-bezier(.2, .6, .35, 1) forwards;
}
.ms-acilslide__live {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: #fff;
  color: var(--maroon, #1a365d);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .02em;
  border: 1px solid rgba(31, 157, 85, .28);
  box-shadow: 0 4px 12px rgba(26, 54, 93, .06);
}
.ms-acilslide__live-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #1f9d55;
  box-shadow: 0 0 0 0 rgba(31, 157, 85, .55);
}
.ms-hero__slide--acil.is-on .ms-acilslide__live-dot {
  animation: ms-acil-pulse 1.8s ease-out infinite;
}
.ms-acilslide__copy > * {
  opacity: 0;
  transform: translate3d(1.2rem, 0, 0);
}
.ms-hero__slide--acil.is-on .ms-acilslide__copy > * {
  animation: ms-acil-in .75s cubic-bezier(.22, 1, .36, 1) forwards;
}
.ms-hero__slide--acil.is-on .ms-acilslide__copy > *:nth-child(1) { animation-delay: .06s; }
.ms-hero__slide--acil.is-on .ms-acilslide__copy > *:nth-child(2) { animation-delay: .14s; }
.ms-hero__slide--acil.is-on .ms-acilslide__copy > *:nth-child(3) { animation-delay: .22s; }
.ms-hero__slide--acil.is-on .ms-acilslide__copy > *:nth-child(4) { animation-delay: .3s; }
.ms-hero__slide--acil.is-on .ms-acilslide__copy > *:nth-child(5) { animation-delay: .38s; }
.ms-hero__slide--acil.is-on .ms-acilslide__copy > *:nth-child(6) { animation-delay: .46s; }
.ms-hero__slide--acil.is-on .ms-acilslide__copy > *:nth-child(n+7) { animation-delay: .54s; }
@keyframes ms-acil-in {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes ms-acil-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.01) translate3d(-1.2%, -0.6%, 0); }
}
@keyframes ms-acil-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, .55); }
  70% { box-shadow: 0 0 0 .55rem rgba(31, 157, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ms-hero__slide--acil.is-on .ms-acilslide__visual img,
  .ms-hero__slide--acil.is-on .ms-acilslide__live-dot,
  .ms-hero__slide--acil.is-on .ms-acilslide__copy > * {
    animation: none !important;
  }
  .ms-acilslide__copy > * { opacity: 1; transform: none; }
}
body.ms-a11y-stop-anim .ms-hero__slide--acil.is-on .ms-acilslide__visual img,
body.ms-a11y-stop-anim .ms-hero__slide--acil.is-on .ms-acilslide__live-dot,
body.ms-a11y-stop-anim .ms-hero__slide--acil.is-on .ms-acilslide__copy > * {
  animation: none !important;
}
body.ms-a11y-stop-anim .ms-acilslide__copy > * { opacity: 1; transform: none; }
@media (max-width: 820px) {
  .ms-acilslide {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(11rem, 1fr);
  }
  .ms-acilslide__visual {
    grid-row: 1;
    margin: .55rem .55rem 0;
    min-height: 11rem;
    max-height: 13.5rem;
  }
  .ms-acilslide__copy {
    padding: .55rem .7rem 1.55rem;
    gap: .25rem;
  }
  .ms-acilslide__lede { display: none; }
  .ms-acilslide__copy h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .ms-acilslide__meta { font-size: .78rem; }
}

/* Anlaşmalı Sigortalar hero — light logo-board composition */
.ms-inslide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: minmax(17rem, 1.1fr) minmax(0, 1.05fr);
  align-items: stretch;
  overflow: hidden;
  background: #eef3f8;
}
.ms-inslide__atmosphere {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 55% 80% at 8% 18%, rgba(161, 3, 28, .08), transparent 58%),
    radial-gradient(ellipse 50% 70% at 92% 72%, rgba(176, 138, 60, .16), transparent 62%),
    linear-gradient(118deg, #f7f9fc 0%, #eef3f8 46%, #e7edf5 100%);
}
.ms-inslide__atmosphere::after {
  content: "";
  position: absolute; inset: 0;
  opacity: .45;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(26, 54, 93, .08) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 75% 80% at 72% 48%, #000 15%, transparent 78%);
}
.ms-inslide__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start;
  gap: .42rem;
  padding: clamp(.85rem, 2.2vw, 1.5rem) clamp(.9rem, 2vw, 1.4rem);
  max-width: 32rem;
  min-width: 0;
}
.ms-inslide__kicker {
  margin: 0;
  color: var(--maroon, #1a365d);
  font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.ms-inslide__brand {
  margin: 0;
  color: var(--maroon, #1a365d);
  font-size: clamp(1.25rem, 2.4vw, 1.95rem);
  line-height: 1.15; font-weight: 800; letter-spacing: -.02em;
  max-width: 22em;
}
.ms-inslide__sub {
  margin: 0;
  color: #a1031c;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem); font-weight: 700; line-height: 1.3;
}
.ms-inslide__lede {
  margin: 0;
  color: #3c4a5e;
  font-size: clamp(.88rem, 1.2vw, 1rem); line-height: 1.45; max-width: 24rem;
}
.ms-inslide__copy .ms-btn {
  align-self: flex-start;
  margin-top: .2rem;
}
.ms-inslide__sgk {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: .1rem 0 .05rem;
  padding: .35rem .65rem .35rem .75rem;
  border-radius: .75rem;
  background: #fff;
  border: 1px solid rgba(26, 54, 93, .12);
  box-shadow: 0 8px 20px rgba(26, 54, 93, .08);
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.ms-inslide__sgk span {
  color: var(--maroon, #1a365d);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  flex: 0 1 auto;
  white-space: nowrap;
}
.ms-inslide__sgk img {
  display: block;
  flex: 0 0 auto;
  width: auto !important;
  height: 1.55rem !important;
  max-width: 5.25rem !important;
  max-height: 1.55rem !important;
  object-fit: contain !important;
  object-position: center !important;
}
.ms-inslide__logos {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; gap: .55rem;
  padding: .75rem clamp(.55rem, 1.5vw, 1.1rem) .75rem 0;
  min-width: 0;
}
.ms-inslide__rail {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ms-inslide__track {
  display: flex; width: max-content; gap: .55rem;
  animation: ms-ins-marquee 38s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
.ms-inslide__rail--rev .ms-inslide__track {
  animation-name: ms-ins-marquee-rev;
  animation-duration: 44s;
}
.ms-inslide__rail--fwd2 .ms-inslide__track {
  animation-duration: 50s;
  animation-delay: -.8s;
}
.ms-hero__slide--insurers.is-on .ms-inslide__track {
  animation-play-state: running;
}
.ms-inslide__tile {
  flex: 0 0 auto;
  width: 7.1rem; height: 3.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .4rem .55rem;
  border-radius: .75rem;
  background: #fff;
  border: 1px solid rgba(26, 54, 93, .1);
  box-shadow: 0 8px 18px rgba(26, 54, 93, .08);
  transition: box-shadow .35s ease;
  box-sizing: border-box;
  overflow: hidden;
}
.ms-inslide__tile img {
  display: block;
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 auto;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
}
@keyframes ms-ins-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes ms-ins-marquee-rev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ms-inslide__track { animation: none !important; }
}
body.ms-a11y-stop-anim .ms-inslide__track { animation: none !important; }
@media (max-width: 820px) {
  .ms-inslide {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .ms-inslide__copy {
    max-width: none;
    padding-bottom: .25rem;
    gap: .3rem;
  }
  .ms-inslide__lede { display: none; }
  .ms-inslide__logos {
    padding: 0 0 .65rem;
    gap: .4rem;
  }
  .ms-inslide__tile {
    width: 5.2rem; height: 2.9rem;
    border-radius: .55rem;
    padding: .28rem .35rem;
  }
}
/* Art layer sized by JS to the photo's object-fit:cover box, so overlays use photo coordinates. */
.ms-hero__art {
  position: absolute; z-index: 1; left: 0; top: 0; width: 100%; height: 100%;
  visibility: hidden; pointer-events: none;
}
.ms-hero__art.is-fit { visibility: visible; }
.ms-hero__media.has-art > img { visibility: hidden; }
.ms-hero__media {
  position: absolute; inset: 0; overflow: hidden;
  transform-origin: 62% 45%;
}
.ms-hero__slide.is-on .ms-hero__media { animation: ms-hero-drift 7s cubic-bezier(.2, .6, .35, 1) forwards; }
@keyframes ms-hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .ms-hero__slide.is-on .ms-hero__media { animation: none; }
}
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__media { animation: none; }
.ms-hero__slide .ms-hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: .4;
}
.ms-hero__art.is-shifted .ms-hero__photo {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%);
  mask-image: linear-gradient(to bottom, transparent, #000 22%);
}
.ms-hero__art.is-inset .ms-hero__photo {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20%);
  mask-image: linear-gradient(to right, transparent, #000 20%);
}
/* The heart cutout sits exactly over the photo's heart; it only brightens, so the hand stays in front of it. */
.ms-hero__art--heart { transform-origin: 48.5% 33%; }
.ms-hero__beat { position: absolute; inset: 0; }
.ms-hero__heart-glow {
  position: absolute; left: 33.5%; top: 6%; width: 30%; height: 54%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 60, 80, .55), rgba(255, 60, 80, .18) 55%, transparent);
  mix-blend-mode: screen;
  opacity: .25;
}
.ms-hero__slide .ms-hero__heart {
  position: absolute; inset: auto;
  left: 39.417%; top: 18.142%; width: 19.333%; height: auto;
  object-fit: fill; opacity: .55;
}
.ms-hero__ecg {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
}
.ms-hero__ecg path {
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.ms-hero__ecg-line {
  stroke: #fff; stroke-width: 2.6;
}
.ms-hero__ecg-glow {
  stroke: #ff5a69; stroke-width: 6.5; opacity: .35;
}
.ms-hero__ecg-tip {
  stroke: #fff; stroke-width: 4;
}
.ms-hero__ecg-tip-glow {
  filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 7px rgba(255, 90, 105, 1));
}
/*
 * Live trace: the waveform (one beat per 107 viewBox units) runs left 107 units per 1.2s
 * behind a fixed pen at x=678 (the heart's right edge). An R spike reaches the pen at 0.454s;
 * the heart's beat peaks at 9% (0.108s), so it is delayed by -0.346s to flash as each spike is drawn.
 */
.ms-hero__slide.is-on .ms-hero__ecg-run { animation: ms-ecg-run 1.2s linear infinite; }
.ms-hero__slide.is-on .ms-hero__art--heart { animation: ms-heart-thump 1.2s ease-in-out -.346s infinite; }
.ms-hero__slide.is-on .ms-hero__heart { animation: ms-heart-light 1.2s ease-in-out -.346s infinite; }
.ms-hero__slide.is-on .ms-hero__heart-glow { animation: ms-heart-glow 1.2s ease-in-out -.346s infinite; }
@keyframes ms-heart-thump {
  0%, 40%, 100% { transform: scale(1); }
  9% { transform: scale(1.022); }
  18% { transform: scale(1.004); }
  27% { transform: scale(1.014); }
}
@keyframes ms-heart-light {
  0%, 45%, 100% { opacity: .55; }
  9% { opacity: 1; }
  18% { opacity: .7; }
  27% { opacity: .9; }
}
@keyframes ms-heart-glow {
  0%, 45%, 100% { opacity: .25; }
  9% { opacity: 1; }
  18% { opacity: .45; }
  27% { opacity: .75; }
}
@keyframes ms-ecg-run {
  from { transform: translateX(0); }
  to { transform: translateX(-107px); }
}
/* Reduced motion: no scaling, only the light pulses. */
@media (prefers-reduced-motion: reduce) {
  .ms-hero__slide.is-on .ms-hero__art--heart { animation: none; }
}
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__art--heart,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__heart,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__heart-glow,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__ecg-run { animation: none; }

/* Emergency: ambulance light bar + shadow. Sign glyphs live in the photo (no duplicate overlays). */
.ms-hero__art--siren .ms-hero__photo { opacity: .72; }
.ms-hero__amb-fx {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none;
}
.ms-hero__amb-fx--light { mix-blend-mode: screen; }
.ms-hero__amb-fx ellipse,
.ms-hero__amb-fx rect { transform-box: fill-box; transform-origin: center; }
.ms-hero__amb-shadow { fill: #03070f; opacity: .6; }
.ms-hero__amb-move { opacity: 0; }
.ms-hero__amb-r,
.ms-hero__amb-b { opacity: 0; }
/*
 * One pass per slide (6.5s). The bar double-flashes red then blue every 0.8s; the sign's gloss
 * shows a tinted highlight per lamp, and the raised glyphs catch a white glint on every flash.
 */
.ms-hero__slide.is-on .ms-hero__amb-move { animation: ms-amb-pass 6.5s cubic-bezier(.3, 0, .7, 1) infinite; }
.ms-hero__slide.is-on .ms-hero__amb-r { animation: ms-amb-flash .8s linear infinite; }
.ms-hero__slide.is-on .ms-hero__amb-b { animation: ms-amb-flash .8s linear -.4s infinite; }
@keyframes ms-amb-pass {
  0%, 4% { opacity: 0; transform: translateX(0); }
  14% { opacity: 1; }
  76% { opacity: 1; }
  88%, 100% { opacity: 0; transform: translateX(4300px); }
}
@keyframes ms-amb-flash {
  0%, 9% { opacity: 1; }
  11%, 19% { opacity: .08; }
  21%, 30% { opacity: .9; }
  32%, 100% { opacity: 0; }
}
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__amb-move,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__amb-r,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__amb-b { animation: none; }

/* Endoscopy: light runs down the scope into the patient's mouthpiece, which glows, and the camera view flies forward. */
.ms-hero__art--scope .ms-hero__photo { opacity: .9; }
.ms-hero__scope {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
}
.ms-hero__scope path { fill: none; stroke-linecap: round; }
.ms-hero__scope-pulse {
  stroke: #eaf7ff; stroke-width: 5; stroke-dasharray: 9 200; stroke-dashoffset: 9; opacity: 0;
}
.ms-hero__scope-glow {
  stroke: rgba(110, 200, 255, .55); stroke-width: 16; stroke-dasharray: 18 200; stroke-dashoffset: 18; opacity: 0;
  filter: blur(5px);
}
.ms-hero__scope-tip {
  position: absolute; left: 48.125%; top: 69.72%; width: 5%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.6); border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, #fff, rgba(190, 230, 255, .85) 25%, rgba(110, 190, 255, .3) 55%, transparent);
  mix-blend-mode: screen;
}
/* The camera view is clipped to the monitor's oval picture (863,45 to 1149,245 in the photo). */
.ms-hero__cam {
  position: absolute; left: 67.42%; top: 6.25%; width: 22.34%; height: 27.78%;
  border-radius: 50%; overflow: hidden; container-type: inline-size;
  box-shadow: 0 0 2.2rem .4rem rgba(255, 110, 140, .28);
  background: #3a0d16;
}
.ms-hero__cam::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 1.6rem .5rem rgba(20, 0, 6, .7);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent 70%);
  opacity: .15;
}
.ms-hero__cam-feed {
  position: absolute; inset: -12%;
  background-size: cover; background-position: center;
}
.ms-hero__cam-ring {
  position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid rgba(255, 205, 215, .55);
  box-shadow: inset 0 0 .6rem rgba(120, 10, 30, .5);
  transform: translate(-50%, -50%) scale(.08); opacity: 0;
}
.ms-hero__cam-scan {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, .28), transparent 50deg, transparent);
}
.ms-hero__cam-reticle {
  position: absolute; left: 50%; top: 50%; width: 16%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6);
  background:
    linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)) center / 1px 170% no-repeat,
    linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)) center / 170% 1px no-repeat;
}
.ms-hero__cam-label {
  position: absolute; left: 17%; top: 18%;
  font: 700 6cqi/1 system-ui, sans-serif; letter-spacing: .05em; color: rgba(255, 255, 255, .85);
}
.ms-hero__slide.is-on .ms-hero__scope-pulse { animation: ms-scope-pulse 3s cubic-bezier(.4, 0, .7, 1) infinite; }
.ms-hero__slide.is-on .ms-hero__scope-glow { animation: ms-scope-glow 3s cubic-bezier(.4, 0, .7, 1) infinite; }
.ms-hero__slide.is-on .ms-hero__scope-tip { animation: ms-scope-tip 3s ease-out infinite; }
.ms-hero__slide.is-on .ms-hero__cam::after { animation: ms-cam-flash 3s ease-out infinite; }
.ms-hero__slide.is-on .ms-hero__cam-feed { animation: ms-cam-feed 7s ease-in-out infinite alternate; }
.ms-hero__slide.is-on .ms-hero__cam-ring { animation: ms-cam-ring 2.4s linear infinite; }
.ms-hero__slide.is-on .ms-hero__cam-ring:nth-of-type(3) { animation-delay: -.8s; }
.ms-hero__slide.is-on .ms-hero__cam-ring:nth-of-type(4) { animation-delay: -1.6s; }
.ms-hero__slide.is-on .ms-hero__cam-scan { animation: ms-cam-scan 3s linear infinite; }
/* The pulse reaches the tip at 50%, which is when the tip flares and the view flashes. */
@keyframes ms-scope-pulse {
  0% { stroke-dashoffset: 9; opacity: 1; }
  50% { stroke-dashoffset: -100; opacity: 1; }
  51%, 100% { stroke-dashoffset: -100; opacity: 0; }
}
@keyframes ms-scope-glow {
  0% { stroke-dashoffset: 18; opacity: .9; }
  50% { stroke-dashoffset: -100; opacity: .9; }
  51%, 100% { stroke-dashoffset: -100; opacity: 0; }
}
@keyframes ms-scope-tip {
  0%, 46% { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  54% { opacity: .7; transform: translate(-50%, -50%) scale(1.5); }
  80%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.9); }
}
@keyframes ms-cam-flash {
  0%, 50% { opacity: .15; }
  57% { opacity: .9; }
  80%, 100% { opacity: .15; }
}
@keyframes ms-cam-feed {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1.22) rotate(5deg); }
}
@keyframes ms-cam-ring {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.08); }
  25% { opacity: .8; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); }
}
@keyframes ms-cam-scan {
  to { transform: rotate(360deg); }
}
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__scope path,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__scope-tip,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__cam::after,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__cam-feed,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__cam-ring,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__cam-scan { animation: none; }

/* Physical therapy: a scan runs down the back, lighting each vertebra as it passes. */
.ms-hero__art--spine .ms-hero__photo { opacity: .5; }
.ms-hero__spine {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
}
.ms-hero__vert {
  fill: rgba(200, 245, 255, .22); stroke: rgba(127, 227, 255, .5); stroke-width: 1.5;
}
.ms-hero__vert path { vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.ms-hero__vert .ms-hero__rib { fill: none; stroke-opacity: .55; }
.ms-hero__disc { fill: rgba(127, 227, 255, .14); stroke: rgba(127, 227, 255, .3); stroke-width: 1; }
.ms-hero__spine-scan { opacity: 0; }
.ms-hero__slide.is-on .ms-hero__vert { animation: ms-vert-light 3.6s ease-out infinite; }
.ms-hero__slide.is-on .ms-hero__spine-scan { animation: ms-spine-scan 3.6s linear infinite; }
/* The scan covers the spine in the first 70% (2.52s); each vertebra is delayed to that moment. */
@keyframes ms-spine-scan {
  0% { transform: translateY(0); opacity: 0; }
  5% { opacity: 1; }
  66% { opacity: 1; }
  70% { transform: translateY(605px); opacity: 0; }
  100% { transform: translateY(605px); opacity: 0; }
}
@keyframes ms-vert-light {
  0% { fill: rgba(220, 250, 255, .95); stroke: #fff; filter: drop-shadow(0 0 6px rgba(127, 227, 255, 1)); }
  30% { fill: rgba(200, 245, 255, .5); stroke: rgba(127, 227, 255, .8); filter: drop-shadow(0 0 2px rgba(127, 227, 255, .6)); }
  60%, 100% { fill: rgba(200, 245, 255, .22); stroke: rgba(127, 227, 255, .5); filter: none; }
}
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__vert,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__spine-scan { animation: none; }

/* Internal medicine: the chest piece brightens, two rings leave it, a highlight runs down the tube. */
.ms-hero__art--steth .ms-hero__photo { opacity: .78; }
.ms-hero__steth {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
}
.ms-hero__steth path { fill: none; stroke-linecap: round; }
.ms-hero__steth-glow {
  position: absolute; left: 58.75%; top: 62.2%; width: 8%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; opacity: .4;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, .28) 42%, transparent 70%);
  mix-blend-mode: screen;
}
.ms-hero__steth-ring {
  position: absolute; left: 58.75%; top: 62.2%; width: 10%; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55);
  transform: translate(-50%, -50%) scale(.55); opacity: 0;
  mix-blend-mode: screen;
}
.ms-hero__steth-run {
  stroke: rgba(255, 255, 255, .9); stroke-width: 3.5;
  stroke-dasharray: 8 100; stroke-dashoffset: 8; opacity: 0;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .8));
}
.ms-hero__slide.is-on .ms-hero__steth-glow { animation: ms-steth-beat 1.8s ease-in-out infinite; }
.ms-hero__slide.is-on .ms-hero__steth-ring { animation: ms-steth-ring 3.2s ease-out infinite; }
.ms-hero__slide.is-on .ms-hero__steth-ring--2 { animation-delay: -1.6s; }
.ms-hero__slide.is-on .ms-hero__steth-run { animation: ms-steth-run 3.2s ease-in-out infinite; }
@keyframes ms-steth-beat {
  0%, 100% { opacity: .28; transform: translate(-50%, -50%) scale(.96); }
  18% { opacity: .85; transform: translate(-50%, -50%) scale(1.06); }
  36% { opacity: .4; transform: translate(-50%, -50%) scale(1); }
}
@keyframes ms-steth-ring {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.55); }
  18% { opacity: .45; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.55); }
}
@keyframes ms-steth-run {
  0% { stroke-dashoffset: 8; opacity: 0; }
  12% { opacity: .85; }
  78% { stroke-dashoffset: -100; opacity: .85; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__steth-glow,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__steth-ring,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__steth-run { animation: none; }

/* Urology: mesh nodes light in turn on the ultrasound, and the center glow breathes. */
.ms-hero__art--kidneys .ms-hero__photo { opacity: .88; }
.ms-hero__kidneys {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
}
.ms-hero__kidney-mesh {
  fill: none; stroke: rgba(186, 230, 255, .7); stroke-width: 1.6;
  stroke-linejoin: round;
}
.ms-hero__kidney-node {
  fill: rgba(186, 230, 255, .4); stroke: rgba(230, 248, 255, .85); stroke-width: .8;
}
.ms-hero__kidney-glow { opacity: .35; mix-blend-mode: screen; }
.ms-hero__slide.is-on .ms-hero__kidney-node { animation: ms-kidney-node 2.6s ease-out infinite; }
.ms-hero__slide.is-on .ms-hero__kidney-glow { animation: ms-kidney-glow 2.6s ease-in-out infinite; }
@keyframes ms-kidney-node {
  0% { fill: #fff; stroke: #fff; filter: drop-shadow(0 0 5px rgba(170, 220, 255, 1)); }
  28% { fill: rgba(186, 230, 255, .75); stroke: rgba(230, 248, 255, .9); filter: drop-shadow(0 0 2px rgba(140, 200, 255, .7)); }
  55%, 100% { fill: rgba(186, 230, 255, .4); stroke: rgba(230, 248, 255, .85); filter: none; }
}
@keyframes ms-kidney-glow {
  0%, 100% { opacity: .28; }
  50% { opacity: .8; }
}
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__kidney-node,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__kidney-glow { animation: none; }

/* Audiology: a tone runs into the earcup, the cup answers, then the response button lights. */
.ms-hero__art--hear .ms-hero__photo { opacity: .82; }
.ms-hero__art--hear::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 18, 36, .72) 0%, rgba(8, 18, 36, .34) 32%, transparent 56%);
}
.ms-hero__hear {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible;
}
.ms-hero__hear path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ms-hero__hear-wave {
  stroke: #fff; stroke-width: 3.6;
  stroke-dasharray: 24 100; stroke-dashoffset: 24; opacity: 0;
  filter: drop-shadow(0 0 5px rgba(210, 235, 255, .95));
}
.ms-hero__hear-wave--soft {
  stroke: rgba(170, 215, 255, .75); stroke-width: 9;
  filter: blur(3px);
}
.ms-hero__hear-glow,
.ms-hero__hear-ring,
.ms-hero__hear-press { position: absolute; z-index: 2; border-radius: 50%; pointer-events: none; }
.ms-hero__hear-glow {
  left: 72.5%; top: 28.9%; width: 11%; aspect-ratio: 1;
  transform: translate(-50%, -50%); opacity: .15;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(180, 220, 255, .45) 42%, transparent 72%);
  mix-blend-mode: screen;
}
.ms-hero__hear-ring {
  left: 72.5%; top: 28.9%; width: 12%; aspect-ratio: 1;
  border: 2px solid rgba(220, 240, 255, .7);
  transform: translate(-50%, -50%) scale(.4); opacity: 0;
  mix-blend-mode: screen;
}
.ms-hero__hear-press {
  left: 47.7%; top: 88.2%; width: 3.4%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.6); opacity: 0;
  background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, .35) 46%, transparent 72%);
  box-shadow: 0 0 .6rem rgba(255, 255, 255, .85);
  mix-blend-mode: screen;
}
/* The tone reaches the cup at 50% (1.4s of 2.8s); the cup and rings answer then, the button a beat later. */
.ms-hero__slide.is-on .ms-hero__hear-wave { animation: ms-hear-tone 2.8s cubic-bezier(.4, 0, .7, 1) infinite; }
.ms-hero__slide.is-on .ms-hero__hear-glow { animation: ms-hear-glow 2.8s ease-out infinite; }
.ms-hero__slide.is-on .ms-hero__hear-ring { animation: ms-hear-ring 2.8s ease-out infinite; }
.ms-hero__slide.is-on .ms-hero__hear-ring--2 { animation-delay: .32s; }
.ms-hero__slide.is-on .ms-hero__hear-press { animation: ms-hear-press 2.8s ease-out infinite; }
@keyframes ms-hear-tone {
  0% { stroke-dashoffset: 24; opacity: 0; }
  8% { opacity: 1; }
  50% { stroke-dashoffset: -100; opacity: 1; }
  58%, 100% { stroke-dashoffset: -100; opacity: 0; }
}
@keyframes ms-hear-glow {
  0%, 42% { opacity: .12; transform: translate(-50%, -50%) scale(.94); }
  52% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  70% { opacity: .28; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: .12; transform: translate(-50%, -50%) scale(.94); }
}
@keyframes ms-hear-ring {
  0%, 46% { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  58% { opacity: .65; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.15); }
}
@keyframes ms-hear-press {
  0%, 60% { opacity: 0; transform: translate(-50%, -50%) scale(.55); }
  72% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  88%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.75); }
}
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__hear-wave,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__hear-glow,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__hear-ring,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__hear-press { animation: none; }

/* Medical aesthetics: soft treatment beam sweeps, sconce breathes, sparkles catch. */
.ms-hero__art--glow .ms-hero__photo { opacity: .9; }
.ms-hero__art--glow::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(26, 10, 16, .78) 0%, rgba(26, 10, 16, .42) 34%, transparent 58%);
}
.ms-hero__glow-beam {
  position: absolute; z-index: 2; pointer-events: none;
  top: -20%; left: -35%; width: 42%; height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 236, 210, .0) 28%,
    rgba(255, 228, 190, .22) 48%,
    rgba(255, 248, 235, .38) 52%,
    rgba(255, 228, 190, .18) 58%,
    transparent 78%
  );
  mix-blend-mode: soft-light;
  opacity: 0;
  transform: translateX(0) skewX(-8deg);
}
.ms-hero__glow-sconce {
  position: absolute; z-index: 2; pointer-events: none;
  left: 34%; top: 44%; width: 18%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 244, 220, .95), rgba(255, 214, 160, .35) 42%, transparent 72%);
  mix-blend-mode: screen;
  opacity: .35;
}
.ms-hero__glow-spark {
  position: absolute; z-index: 3; pointer-events: none;
  width: .55rem; height: .55rem; border-radius: 50%;
  background: radial-gradient(closest-side, #fff, rgba(255, 230, 190, .85) 45%, transparent 72%);
  box-shadow: 0 0 10px rgba(255, 236, 210, .9);
  opacity: 0;
  mix-blend-mode: screen;
}
.ms-hero__glow-spark--1 { left: 28%; top: 36%; }
.ms-hero__glow-spark--2 { left: 40%; top: 30%; }
.ms-hero__glow-spark--3 { left: 36%; top: 52%; }
.ms-hero__glow-spark--4 { left: 48%; top: 44%; }
.ms-hero__glow-spark--5 { left: 22%; top: 48%; }
.ms-hero__slide.is-on .ms-hero__glow-beam { animation: ms-glow-beam 4.8s ease-in-out infinite; }
.ms-hero__slide.is-on .ms-hero__glow-sconce { animation: ms-glow-sconce 2.6s ease-in-out infinite; }
.ms-hero__slide.is-on .ms-hero__glow-spark--1 { animation: ms-glow-spark 3.2s ease-in-out infinite; }
.ms-hero__slide.is-on .ms-hero__glow-spark--2 { animation: ms-glow-spark 3.2s ease-in-out .45s infinite; }
.ms-hero__slide.is-on .ms-hero__glow-spark--3 { animation: ms-glow-spark 3.2s ease-in-out .9s infinite; }
.ms-hero__slide.is-on .ms-hero__glow-spark--4 { animation: ms-glow-spark 3.2s ease-in-out 1.25s infinite; }
.ms-hero__slide.is-on .ms-hero__glow-spark--5 { animation: ms-glow-spark 3.2s ease-in-out 1.7s infinite; }
@keyframes ms-glow-beam {
  0% { opacity: 0; transform: translateX(0) skewX(-8deg); }
  12% { opacity: .85; }
  55% { opacity: .7; transform: translateX(210%) skewX(-8deg); }
  70%, 100% { opacity: 0; transform: translateX(230%) skewX(-8deg); }
}
@keyframes ms-glow-sconce {
  0%, 100% { opacity: .28; transform: translate(-50%, -50%) scale(.92); }
  45% { opacity: .9; transform: translate(-50%, -50%) scale(1.12); }
}
@keyframes ms-glow-spark {
  0%, 100% { opacity: 0; transform: scale(.4); }
  35% { opacity: 1; transform: scale(1.15); }
  60% { opacity: .35; transform: scale(.7); }
}
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__glow-beam,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__glow-sconce,
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__glow-spark { animation: none; }

.ms-hero__copy {
  position: relative; z-index: 3;
  padding: clamp(1.5rem, 3.5vh, 2.75rem) 0 clamp(2rem, 4.5vh, 3.25rem);
  padding-inline-end: clamp(6rem, 30vw, 17rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100%;
  box-sizing: border-box;
}
.ms-hero__kicker { margin: 0 0 .35rem; color: var(--gold-soft); font-weight: 700; letter-spacing: .04em; font-size: 1.02rem; }
.ms-hero__copy h1 {
  margin: 0 0 .55rem;
  font-size: clamp(1.75rem, 3.55vw, 2.75rem);
  color: #fff; line-height: 1.12; max-width: 36rem;
}
.ms-hero__copy p {
  margin: 0 0 1rem;
  color: rgba(255,255,255,.92);
  max-width: 34rem;
  font-size: clamp(1rem, 1.65vw, 1.18rem);
  line-height: 1.45;
}
.ms-hero__copy .ms-btn {
  align-self: flex-start;
  width: auto;
  min-width: 0;
  padding: .75rem 1.55rem;
  font-size: 1rem;
  white-space: nowrap;
}
.ms-hero__copy > * {
  opacity: 0;
  transform: translate3d(12vw, 0, 0);
}
.ms-hero__slide.is-on .ms-hero__copy > * {
  animation: ms-hero-fly-in .9s cubic-bezier(.22, 1, .36, 1) forwards;
}
.ms-hero__slide.is-on .ms-hero__copy > *:nth-child(1) { animation-delay: .08s; }
.ms-hero__slide.is-on .ms-hero__copy > *:nth-child(2) { animation-delay: .18s; }
.ms-hero__slide.is-on .ms-hero__copy > *:nth-child(3) { animation-delay: .28s; }
.ms-hero__slide.is-on .ms-hero__copy > *:nth-child(4) { animation-delay: .38s; }
.ms-hero__slide.is-on .ms-hero__copy > *:nth-child(5) { animation-delay: .48s; }
.ms-hero__slide.is-on .ms-hero__copy > *:nth-child(n+6) { animation-delay: .55s; }
html[dir="rtl"] .ms-hero__copy > * {
  transform: translate3d(-12vw, 0, 0);
}
html[dir="rtl"] .ms-hero__slide.is-on .ms-hero__copy > * {
  animation-name: ms-hero-fly-in-rtl;
}
.ms-hero__dots {
  position: absolute; inset-inline-start: 50%; bottom: .75rem; transform: translateX(-50%);
  display: flex; gap: .4rem; z-index: 4;
}
.ms-hero__dots button {
  width: .55rem; height: .55rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0;
}
.ms-hero__dots button.is-on { background: var(--gold); }


.ms-hero__slide--doc { background: #f4f7fb; }
.ms-hero__slide--doc.is-on { z-index: 3; }
.ms-hero__slide--doc::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 2.35rem;
  pointer-events: none;
  background: linear-gradient(90deg, #1a365d 0 62%, #b08a3c);
  clip-path: ellipse(118% 145% at 50% 100%);
}
.ms-docslide {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 1.05fr);
  height: 100%;
  min-height: 100%;
  column-gap: .15rem;
  background:
    radial-gradient(ellipse 42% 80% at 78% 40%, rgba(176, 138, 60, .16), transparent 70%),
    linear-gradient(105deg, #f7f9fc 0%, #eef3f8 52%, #f3f6fb 100%);
}
.ms-docslide__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .4rem;
  padding: .85rem .55rem 2.15rem 1.35rem;
  min-width: 0;
}
.ms-docslide__kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--maroon);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(.95rem, 1.45vw, 1.18rem);
}
.ms-docslide__kicker svg { width: 1.45rem; height: 1.45rem; color: var(--gold); }
.ms-docslide__copy h2 {
  margin: 0;
  max-width: 30rem;
  color: var(--maroon);
  font-size: clamp(1.2rem, 2.15vw, 1.75rem);
  line-height: 1.15;
}
.ms-docslide__name {
  display: inline-flex;
  padding: .28rem .75rem;
  border-radius: 999px;
  background: var(--maroon);
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .8rem;
}
.ms-docslide__name:hover { background: var(--maroon-deep); }
.ms-docslide__lead { margin: 0; max-width: none; color: #3c4a5e; font-size: clamp(.9rem, 1.25vw, 1.05rem); line-height: 1.4; }
.ms-docslide__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ms-docslide__chips li {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .16rem .55rem .16rem .16rem;
  border-radius: 999px;
  background: #fff;
  color: var(--maroon);
  font-size: .8rem;
  font-weight: 700;
}
.ms-docslide__chips svg,
.ms-docslide__note svg,
.ms-docslide__cta svg {
  width: 1.35rem;
  height: 1.35rem;
  padding: .22rem;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  box-sizing: border-box;
}
.ms-docslide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.ms-docslide__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  background: #a1031c;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
}
.ms-docslide__cta:hover { background: #7d0216; }
.ms-docslide__cta svg { width: 1rem; height: 1rem; padding: 0; background: transparent; }
.ms-docslide__note {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  color: var(--maroon);
  font-weight: 700;
  font-size: .88rem;
}
.ms-docslide__note svg { background: var(--gold-soft); color: var(--maroon-deep); border-radius: .4rem; }
.ms-docslide__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; margin: 0; }
.ms-docslide__contacts a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--maroon);
  font-weight: 800;
  text-decoration: none;
  font-size: .9rem;
}
.ms-docslide__contacts a + a { padding-inline-start: .8rem; border-inline-start: 1px solid rgba(26, 54, 93, .25); }
.ms-docslide__contacts svg { width: 1rem; height: 1rem; }
.ms-docslide svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ms-docslide .ms-wa-link svg { fill: currentColor; stroke: none; }
.ms-docslide__photo {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  overflow: hidden;
  padding: .35rem .55rem .35rem 0;
  box-sizing: border-box;
}
.ms-hero__slide--doc .ms-docslide__photo img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  border-radius: 1rem;
  -webkit-mask-image: none;
  mask-image: none;
}
@media (max-width: 780px) {
  .ms-hero__slide--doc {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(46%, .95fr);
    min-height: 420px;
  }
  .ms-docslide {
    display: contents;
  }
  .ms-docslide__copy {
    grid-column: 1;
    grid-row: 1;
    padding: .7rem .55rem 2.6rem .7rem;
    gap: .28rem;
    justify-content: center;
  }
  .ms-docslide__photo {
    grid-column: 2;
    grid-row: 1;
    min-height: 420px;
    padding: .35rem .4rem 0 .1rem;
  }
  .ms-hero__slide--doc .ms-docslide__photo img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    border-radius: .75rem;
  }
  .ms-docslide__copy h2 { font-size: clamp(1.05rem, 3.4vw, 1.28rem); max-width: none; }
  .ms-docslide__lead {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    font-size: .76rem;
    line-height: 1.3;
  }
  .ms-docslide__kicker { font-size: .88rem; }
  .ms-docslide__contacts { font-size: .8rem; }
}

.ms-hero__slide--endo { background: #f4f7fb; }
.ms-hero__slide--endo.is-on { z-index: 3; }
.ms-hero__slide--endo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 2.35rem;
  pointer-events: none;
  background: linear-gradient(90deg, #1a365d 0 58%, #a1031c);
  clip-path: ellipse(118% 145% at 50% 100%);
}
.ms-endoslide {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(14rem, .85fr);
  height: 100%;
  min-height: 100%;
  column-gap: .25rem;
  background:
    radial-gradient(ellipse 36% 70% at 18% 18%, rgba(161, 3, 28, .06), transparent 70%),
    linear-gradient(105deg, #f7f9fc 0%, #eef3f8 48%, #f4f7fb 100%);
}
.ms-endoslide__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .38rem;
  padding: .7rem .55rem 1.55rem 1.15rem;
  min-width: 0;
}
.ms-endoslide__kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--maroon);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}
.ms-endoslide__kicker svg { width: 1.3rem; height: 1.3rem; color: var(--gold); }
.ms-endoslide__copy h2,
.ms-endoslide__title {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .45rem;
  margin: 0;
  color: var(--maroon);
  font-size: clamp(1.55rem, 2.9vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.05;
  text-transform: uppercase;
}
.ms-endoslide__accent { color: #a1031c; }
.ms-endoslide__sub {
  margin: 0;
  color: var(--maroon);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}
.ms-endoslide__lede {
  margin: 0;
  max-width: none;
  color: #3c4a5e;
  font-size: clamp(.92rem, 1.2vw, 1.08rem);
  line-height: 1.4;
}
.ms-endoslide__docs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  margin: .15rem 0;
  padding: 0;
  list-style: none;
}
.ms-endoslide__docs a {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: inherit;
  text-decoration: none;
}
.ms-endoslide__doc-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.ms-endoslide__doc-ico svg { width: 1.15rem; height: 1.15rem; }
.ms-endoslide__docs small {
  display: block;
  color: var(--maroon);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.2;
}
.ms-endoslide__docs strong {
  display: inline-flex;
  margin-top: .15rem;
  padding: .18rem .6rem;
  border-radius: 999px;
  background: #a1031c;
  color: #fff;
  font-size: .95rem;
  line-height: 1.3;
}
.ms-endoslide__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ms-endoslide__chips li {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .12rem .5rem .12rem .12rem;
  border-radius: 999px;
  background: #fff;
  color: var(--maroon);
  font-size: .76rem;
  font-weight: 700;
}
.ms-endoslide__chip--focus {
  background: #a1031c;
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  padding: .2rem .7rem .2rem .16rem;
  box-shadow: 0 4px 14px rgba(161, 3, 28, .28);
}
.ms-endoslide__chip--focus svg {
  background: #fff;
  color: #a1031c;
}
.ms-endoslide__chips svg,
.ms-endoslide__cta svg {
  width: 1.25rem;
  height: 1.25rem;
  padding: .2rem;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  box-sizing: border-box;
}
.ms-endoslide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.ms-endoslide__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .48rem .9rem;
  border-radius: 999px;
  background: #a1031c;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
}
.ms-endoslide__cta:hover { background: #7d0216; }
.ms-endoslide__cta svg { width: .95rem; height: .95rem; padding: 0; background: transparent; }
.ms-endoslide__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; margin: 0; }
.ms-endoslide__contacts a {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  color: var(--maroon);
  font-weight: 800;
  text-decoration: none;
  font-size: .88rem;
}
.ms-endoslide__contacts a + a { padding-inline-start: .7rem; border-inline-start: 1px solid rgba(26, 54, 93, .25); }
.ms-endoslide__contacts svg { width: .95rem; height: .95rem; }
.ms-endoslide svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ms-endoslide .ms-wa-link svg { fill: currentColor; stroke: none; }
.ms-endoslide__visual { position: relative; min-height: 100%; overflow: hidden; }
.ms-endoslide__visual .ms-hero__media { position: absolute; inset: 0; }
.ms-hero__slide--endo .ms-hero__art--scope .ms-hero__photo { opacity: 1; }
.ms-endoslide__visual::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, #f4f7fb, transparent);
}
@media (max-width: 780px) {
  .ms-hero__slide--endo {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(52%, 1.05fr);
    min-height: 420px;
  }
  .ms-endoslide { display: contents; }
  .ms-endoslide__copy {
    grid-column: 1;
    grid-row: 1;
    padding: .55rem .4rem 2.6rem .55rem;
    gap: .2rem;
    justify-content: center;
  }
  .ms-endoslide__visual { grid-column: 2; grid-row: 1; min-height: 420px; }
  .ms-endoslide__visual::after { width: 7%; }
  .ms-endoslide__contacts { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .ms-endoslide__contacts a + a { padding-inline-start: 0; border-inline-start: 0; }
  .ms-endoslide__copy h2,
  .ms-endoslide__title { font-size: clamp(1.15rem, 4vw, 1.55rem); }
  .ms-endoslide__sub { font-size: .9rem; }
  .ms-endoslide__lede {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: .78rem;
    line-height: 1.35;
  }
  .ms-endoslide__docs { flex-direction: column; gap: .35rem; }
  .ms-endoslide__docs small { font-size: .78rem; }
  .ms-endoslide__docs strong { font-size: .82rem; }
}

/* CTA row — sits in first viewport under a shorter hero */
.ms-cta-row {
  position: relative;
  z-index: 1;
  padding: 1.1rem 0 1.25rem;
  background: #f2f5f9;
  width: 100%;
}
.ms-cta-row__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.ms-cta-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: .9rem; padding: 1.05rem 1.25rem;
}
.ms-cta-card h2 { margin: 0 0 .35rem; color: var(--maroon); font-size: 1.08rem; }
.ms-cta-card p { margin: 0 0 .85rem; color: var(--muted); font-size: .92rem; line-height: 1.4; flex: 1 1 auto; }
.ms-cta-card .ms-btn { align-self: flex-start; margin-top: auto; }
.ms-cta-card--accent { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.ms-cta-card--accent h2, .ms-cta-card--accent p { color: #fff; }
.ms-cta-card--accent .ms-btn {
	border: 2px solid #fff;
	background: transparent;
	color: #fff;
}
.ms-cta-card--accent .ms-btn:hover {
	background: #fff;
	color: var(--maroon);
}
.ms-cta-card--wa { background: #25d366; color: #fff; border-color: #25d366; }
.ms-cta-card--wa h2, .ms-cta-card--wa p { color: #fff; }
.ms-cta-card--wa h2 { display: flex; align-items: center; gap: .45rem; }
.ms-cta-card__wa-ico { display: grid; place-items: center; flex: 0 0 auto; }
.ms-cta-card__wa-ico svg { width: 1.35rem; height: 1.35rem; display: block; }
.ms-cta-card--wa .ms-btn {
	border: 2px solid #fff;
	background: transparent;
	color: #fff;
}
.ms-cta-card--wa .ms-btn:hover {
	background: #fff;
	color: #128c7e;
}

/* Featured services */
.ms-featured { padding: 3rem 0 .5rem; width: 100%; }
.ms-featured__head { margin-bottom: 1.4rem; }
.ms-featured__head h2 { margin: 0; color: var(--maroon); font-size: clamp(1.4rem, 2.5vw, 1.9rem); max-width: 32rem; }
.ms-featured__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.ms-feature {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 1rem;
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  box-shadow: 0 6px 18px rgba(26, 54, 93, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ms-feature:hover { transform: translateY(-4px); border-color: var(--maroon-mid); box-shadow: 0 16px 34px rgba(26, 54, 93, .16); }
.ms-feature__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ms-feature__media::after {
  content: ""; position: absolute; inset: auto 0 0; height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold-soft));
}
.ms-feature__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.ms-feature:hover .ms-feature__media img { transform: scale(1.06); }
.ms-feature__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.3rem; }
.ms-feature__body h3 { margin: 0 0 .45rem; color: var(--maroon); font-size: 1.2rem; line-height: 1.25; }
.ms-feature__body p { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.ms-feature__cta { margin-top: auto; color: var(--gold); font-weight: 700; font-size: .92rem; }
html[dir="rtl"] .ms-feature__cta [aria-hidden] { display: inline-block; transform: scaleX(-1); }
@media (max-width: 1200px) {
  .ms-featured__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .ms-featured__grid { grid-template-columns: 1fr; gap: .9rem; }
  .ms-feature { flex-direction: row; }
  .ms-feature__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 150px; }
  .ms-feature__media::after { inset: 0 0 0 auto; width: 4px; height: auto; background: linear-gradient(180deg, var(--maroon), var(--gold-soft)); }
}
@media (max-width: 560px) {
  .ms-feature { flex-direction: column; }
  .ms-feature__media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .ms-feature__media::after { inset: auto 0 0; width: auto; height: 4px; background: linear-gradient(90deg, var(--maroon), var(--gold-soft)); }
}
body.ms-a11y-stop-anim .ms-feature,
body.ms-a11y-stop-anim .ms-feature__media img { transition: none; }

/* Contracted institutions / insurers */
.ms-partners { padding: 2rem 0 3.25rem; }
.ms-partner-sgk {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: center;
  background: linear-gradient(135deg, #f7f9fc 0%, #eef3f9 55%, #fff 100%);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 1rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 32px rgba(26, 54, 93, .07);
}
.ms-partner-sgk__logo {
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: .85rem;
  padding: .85rem 1rem; min-height: 5.5rem;
}
.ms-partner-sgk__logo img { width: min(100%, 9rem); height: auto; object-fit: contain; margin: 0 auto; }
.ms-partner-sgk__fallback {
  font-weight: 900; font-size: 1.6rem; color: var(--maroon); letter-spacing: .06em;
}
.ms-partner-sgk__kicker {
  margin: 0 0 .25rem; color: var(--gold); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.ms-partner-sgk__copy h2 {
  margin: 0 0 .45rem; color: var(--maroon); font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.ms-partner-sgk__copy p:last-child { margin: 0; color: var(--muted); line-height: 1.55; }
.ms-partners__head { margin: 0 0 1rem; }
.ms-partners__head h2 {
  margin: 0 0 .35rem; color: var(--maroon); font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.ms-partners__head p { margin: 0; color: var(--muted); max-width: 42rem; }
.ms-partners__list {
  list-style: none; margin: 0 0 1.75rem; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem;
}
@media (max-width: 1100px) {
  .ms-partners__list { grid-template-columns: 1fr; }
}
.ms-partner-chip {
  display: flex; align-items: center; gap: 1rem;
  min-height: 4.75rem; padding: .65rem 1.05rem .65rem .65rem;
  background: #fff; border: 1px solid var(--line); border-radius: .9rem;
  box-shadow: 0 4px 14px rgba(26, 54, 93, .04);
}
.ms-partner-chip__logo {
  flex: 0 0 auto; width: 9.5rem; height: 4.25rem;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: .65rem;
  padding: .55rem .7rem; overflow: hidden;
  box-sizing: border-box;
}
.ms-partner-chip__logo img {
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center;
  display: block;
  margin: 0 auto;
  image-rendering: auto;
}
.ms-partner-chip__mark {
  width: 2.35rem; height: 2.35rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--maroon); color: #fff; font-weight: 800; font-size: .78rem;
  letter-spacing: .02em;
}
.ms-partner-chip__name {
  font-weight: 700; color: var(--su-ink); font-size: .98rem; line-height: 1.25;
  min-width: 0;
}
.ms-partners__extra { margin: 0 0 1.5rem; }
.ms-partner-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  color: #fff; border-radius: 1rem; padding: 1.35rem 1.5rem;
}
.ms-partner-cta h2 { margin: 0 0 .35rem; color: #fff; font-size: 1.2rem; }
.ms-partner-cta p { margin: 0; color: rgba(255, 255, 255, .82); max-width: 36rem; }
.ms-partner-cta .ms-btn { background: var(--gold); }
.ms-partner-cta .ms-btn:hover { background: #fff; color: var(--maroon); }
@media (max-width: 820px) {
  .ms-partner-sgk { grid-template-columns: 1fr; }
  .ms-partners__list { grid-template-columns: 1fr; }
}

/* Health videos */
.ms-videos { padding: 2rem 0 3rem; }
.ms-videos__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.ms-videos__filters button {
  appearance: none; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
  padding: .5rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--maroon); transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ms-videos__filters button:hover { border-color: var(--maroon); }
.ms-videos__filters button.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.ms-videos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ms-video {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 28px rgba(26, 54, 93, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ms-video[hidden] { display: none; }
.ms-video:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(26, 54, 93, .12); }
.ms-video__thumb {
  appearance: none; border: 0; padding: 0; cursor: pointer; position: relative; display: block;
  aspect-ratio: 16 / 9; background: var(--maroon-deep); overflow: hidden;
}
.ms-video__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ms-video__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 35, 64, 0) 45%, rgba(15, 35, 64, .45) 100%);
}
.ms-video:hover .ms-video__thumb img { transform: scale(1.04); }
.ms-video__play {
  position: absolute; inset: 0; margin: auto; z-index: 1; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--maroon);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: background .2s ease, color .2s ease, transform .2s ease;
}
.ms-video__play svg { margin-inline-start: 3px; }
.ms-video__thumb:hover .ms-video__play,
.ms-video__thumb:focus-visible .ms-video__play { background: var(--gold); color: #fff; transform: scale(1.08); }
.ms-video__thumb:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.ms-video__body { padding: 1rem 1.15rem 1.2rem; display: grid; gap: .3rem; }
.ms-video__cat { color: var(--gold); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ms-video__body h2 { margin: 0; color: var(--maroon); font-size: 1.08rem; line-height: 1.3; }
.ms-video__body p { margin: 0; color: var(--muted); font-size: .86rem; }
.ms-videos__note { margin: 1.5rem 0 0; }
.ms-video-modal {
  border: 0; padding: 0; background: transparent; width: min(960px, calc(100vw - 2rem)); max-width: none;
}
.ms-video-modal::backdrop { background: rgba(15, 35, 64, .78); }
.ms-video-modal__inner { position: relative; background: #000; border-radius: 1rem; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.ms-video-modal__frame { aspect-ratio: 16 / 9; }
.ms-video-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.ms-video-modal__title { margin: 0; padding: .8rem 1.1rem; background: #fff; color: var(--maroon); font-weight: 700; }
.ms-video-modal__close {
  position: absolute; top: .5rem; inset-inline-end: .5rem; z-index: 2; width: 2.4rem; height: 2.4rem;
  border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); color: var(--maroon);
  font-size: 1.5rem; line-height: 1;
}
.ms-video-modal__close:hover { background: var(--gold); color: #fff; }
@media (max-width: 980px) {
  .ms-videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ms-videos__grid { grid-template-columns: 1fr; }
  .ms-videos__filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; margin-inline: -1rem; padding-inline: 1rem; }
  .ms-videos__filters button { flex: 0 0 auto; }
}
body.ms-a11y-stop-anim .ms-video,
body.ms-a11y-stop-anim .ms-video__thumb img { transition: none; }

/* Departments — media wrappers keep crops even if absolute img rules fail */
.ms-depts { padding: 3rem 0; width: 100%; scroll-margin-top: 6.5rem; }
.ms-depts__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.25rem; flex-wrap: wrap;
}
.ms-depts__head h2 { margin: 0; color: var(--maroon); font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.ms-deptfeat {
  position: relative;
  display: block;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--maroon-deep);
  color: #fff;
  height: clamp(200px, 28vw, 360px);
  max-height: 360px;
}
.ms-deptfeat__slide {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
  z-index: 0;
}
.ms-deptfeat__slide.is-on {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.ms-deptfeat__media {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--maroon-deep);
}
.ms-deptfeat__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 5s cubic-bezier(.2, .6, .35, 1);
}
.ms-deptfeat__slide.is-on .ms-deptfeat__media img {
  transform: scale(1);
}
.ms-deptfeat__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 35, 64, .88));
}
.ms-deptfeat__label {
  position: absolute;
  inset-inline: 1.25rem;
  bottom: 1.15rem;
  z-index: 1;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.ms-deptfeat__dots {
  position: absolute;
  inset-inline: 0;
  bottom: .55rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: .35rem;
  pointer-events: none;
}
.ms-deptfeat__dots button {
  pointer-events: auto;
  width: .45rem;
  height: .45rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}
.ms-deptfeat__dots button.is-on {
  background: #fff;
  transform: scale(1.15);
}
@media (prefers-reduced-motion: reduce) {
  .ms-deptfeat__slide,
  .ms-deptfeat__media img { transition: none !important; }
  .ms-deptfeat__slide.is-on .ms-deptfeat__media img { transform: none; }
}
body.ms-a11y-stop-anim .ms-deptfeat__slide,
body.ms-a11y-stop-anim .ms-deptfeat__media img { transition: none !important; }
body.ms-a11y-stop-anim .ms-deptfeat__slide.is-on .ms-deptfeat__media img { transform: none; }
.ms-depts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  align-items: stretch;
}
.ms-deptcard {
  position: relative;
  display: block;
  border-radius: .85rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--maroon-deep);
  min-width: 0;
}
.ms-deptcard__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  /* Fallback when aspect-ratio unsupported */
  height: 0;
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
  background: var(--maroon-deep);
}
@supports (aspect-ratio: 4 / 3) {
  .ms-deptcard__media {
    height: auto;
    padding-bottom: 0;
  }
}
.ms-deptcard__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.ms-deptcard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 35, 64, .88));
}
.ms-deptcard__label {
  position: absolute;
  inset-inline: .75rem;
  bottom: .65rem;
  z-index: 1;
  font-weight: 800;
  font-size: .92rem;
  line-height: 1.25;
}

/* Staff */
.ms-staff { padding: 3rem 0; background: #f2f5f9; width: 100%; }
.ms-staff__inner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.35fr); gap: 1.75rem; align-items: center; }
.ms-staff__inner h2 { margin: 0 0 .75rem; color: var(--maroon); font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.ms-staff__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.ms-doc-mini {
  background: #fff; border: 1px solid var(--line); border-radius: .85rem; overflow: hidden;
  text-decoration: none; color: inherit;
}
.ms-doc-mini strong, .ms-doc-mini small { display: block; padding: .55rem .75rem 0; }
.ms-doc-mini strong { color: var(--maroon); }
.ms-doc-mini small { padding-bottom: .75rem; color: var(--muted); }

/* Health guide */
.ms-guide-home { padding: 3rem 0; width: 100%; }
.ms-guide-home__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.25rem;
}
.ms-guide-home__head h2 { margin: 0; color: var(--maroon); font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.ms-guide-page { padding: 0 0 3rem; width: 100%; }
.ms-guide__letters, .ms-guide__cats {
  display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .85rem;
}
.ms-guide__letters button, .ms-guide__cats button {
  font: inherit; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--maroon);
  border-radius: 999px; padding: .35rem .7rem; font-size: .82rem; font-weight: 700;
}
.ms-guide__letters button.is-active, .ms-guide__cats button.is-active {
  background: var(--maroon); color: #fff; border-color: var(--maroon);
}
.ms-guide__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.ms-guide__card {
  display: flex; flex-direction: column; gap: .3rem; justify-content: center;
  min-height: 5.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: .85rem;
  padding: .85rem 1rem; text-decoration: none; color: inherit;
}
.ms-guide__card:hover { border-color: var(--maroon); }
.ms-guide__card[hidden],
.ms-guide__empty[hidden] { display: none !important; }
.ms-guide__kicker { color: var(--gold, #8a6a32); font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.ms-guide__card h3 { margin: 0; color: var(--maroon); font-size: 1.05rem; line-height: 1.3; }
.ms-guide__empty { margin: .5rem 0 0; color: var(--muted); }
.ms-guide-page .ms-note { margin-top: 1.25rem; }

.ms-guide-entry { padding: 1.5rem 0 3.5rem; width: 100%; }
.ms-guide-entry__layout {
  display: grid;
  grid-template-columns: minmax(0, 40rem) 22rem;
  justify-content: start;
  gap: 1.25rem;
  align-items: start;
}
.ms-guide-entry__body { margin: 0; font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.ms-guide-entry__main .ms-note { margin: 1rem 0 0; }
.ms-guide-entry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.25rem; }
.ms-guide-entry__aside { display: grid; gap: 1rem; margin: 0; }

/* FAQ */
.ms-faq-page { padding: 1.75rem 0 3.5rem; width: 100%; }
.ms-faq {
  display: grid; grid-template-columns: 1fr; gap: .65rem; align-items: start;
  width: min(46rem, 100%); margin-inline: auto;
}
.ms-faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: .85rem;
  overflow: hidden;
}
.ms-faq__item:has(button[aria-expanded="true"]) { border-color: var(--maroon); }
.ms-faq__item h2 { margin: 0; font-size: 1rem; }
.ms-faq__item button {
  width: 100%; display: flex; align-items: center; gap: .85rem;
  text-align: start; font: inherit; color: var(--maroon);
  background: transparent; border: 0; cursor: pointer;
  padding: .95rem 1rem;
}
.ms-faq__item button::after {
  content: ""; flex: 0 0 auto; width: .55rem; height: .55rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-top: -.15rem;
}
.ms-faq__item button[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: .15rem; }
.ms-faq__text { flex: 1 1 auto; min-width: 0; }
.ms-faq__kicker {
  display: block; color: var(--gold, #8a6a32); font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: .2rem;
}
.ms-faq__q { display: block; font-weight: 700; line-height: 1.35; }
.ms-faq__a { padding: 0 1rem .95rem; color: var(--ink); background: #f7f9fc; }
.ms-faq__a[hidden] { display: none !important; }
.ms-faq__a p { margin: 0; padding-top: .15rem; line-height: 1.6; }

/* Call me */
.ms-callme { padding: 3rem 0; width: 100%; }
.ms-callme__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.ms-callme h2 { margin: 0 0 .75rem; color: var(--maroon); font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.ms-form { display: grid; gap: .75rem; }
.ms-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; color: var(--maroon); }
.ms-form input, .ms-form textarea, .ms-form select {
  font: inherit; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: .55rem; color: var(--ink);
  background: #fff;
}
.ms-form input:focus, .ms-form textarea:focus, .ms-form select:focus { outline: 2px solid rgba(26, 54, 93,.25); border-color: var(--maroon); }
/* Soft field style shared with floating callback panel */
.ms-form--soft label:not(.ms-form__check):not(.ms-form__captcha) {
  font-size: .78rem;
  font-weight: 700;
  color: #4a5568;
}
.ms-form--soft input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.ms-form--soft textarea,
.ms-form--soft select {
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: .55rem;
  padding: .65rem .75rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  color: #1f2937;
  background: #fff;
}
.ms-form--soft input::placeholder,
.ms-form--soft textarea::placeholder {
  color: #9aa3b2;
  font-weight: 500;
}
.ms-form__captcha {
  display: grid !important;
  gap: .45rem;
  justify-items: start;
}
.ms-form__captcha--v3 {
  display: none !important;
}
.ms-form--soft .ms-tel__times {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
}
.ms-form--soft .ms-tel__times legend {
  padding: 0;
  margin: 0 0 .15rem;
  grid-column: 1 / -1;
  font-size: .78rem;
  font-weight: 700;
  color: #4a5568;
}
.ms-form--soft .ms-tel__chip {
  display: flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  color: #374151;
  background: #f4f6f8;
  border: 1px solid transparent;
  border-radius: .5rem;
  padding: .5rem .55rem;
}
.ms-form--soft .ms-tel__chip input {
  margin: 0;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  accent-color: var(--maroon);
}
.ms-form--soft .ms-tel__chip:has(input:checked) {
  background: color-mix(in srgb, var(--maroon) 8%, #fff);
  border-color: color-mix(in srgb, var(--maroon) 28%, transparent);
  color: var(--maroon);
}
.ms-callme .ms-ok,
.ms-callme .ms-err { margin: 0 0 .25rem; }
.ms-form__file small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.ms-form__file input[type="file"] {
  padding: .55rem .7rem;
  border-style: dashed;
  background: #f2f5f9;
  cursor: pointer;
}
.ms-form__check {
  display: grid !important;
  grid-template-columns: 1.1rem 1fr;
  gap: .55rem;
  align-items: start;
  font-weight: 500 !important;
  font-size: .82rem !important;
  color: #6b7380 !important;
  line-height: 1.45;
}
.ms-form__check input {
  margin: .15rem 0 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--maroon);
}
.ms-form__check span { min-width: 0; }
.ms-form__check a {
  color: #4a5568;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ms-careers { padding: 1.5rem 0 3rem; }
.ms-careers__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 2rem 2.5rem;
  align-items: start;
}
.ms-careers__intro h2 {
  margin: 0 0 .75rem;
  color: var(--maroon);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}
.ms-careers__intro > p { margin: 0 0 1rem; color: var(--muted); max-width: 34rem; line-height: 1.55; }
.ms-careers__tips {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.15rem;
  color: var(--ink);
  line-height: 1.55;
  max-width: 34rem;
}
.ms-careers__tips li { margin: 0 0 .4rem; }
.ms-careers__tips li::marker { color: var(--maroon); }
.ms-form--careers {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 10px 28px rgba(15, 35, 64, .06);
}

/* Lists / cards */
.ms-pagehead { padding: 2.5rem 0 1rem; background: #f2f5f9; width: 100%; }
.ms-pagehead h1 { margin: 0 0 .5rem; color: var(--maroon); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.ms-pagehead p { margin: 0; color: var(--muted); max-width: 40rem; }
.ms-list { padding: 2rem 0 3rem; }
.ms-list__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ms-card {
  display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line);
  border-radius: .9rem; overflow: hidden; background: #fff; color: inherit; min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ms-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26, 54, 93,.1); }
.ms-card__media { aspect-ratio: 16/10; overflow: hidden; background: #eee; }
.ms-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.ms-card:hover .ms-card__media img { transform: scale(1.12); }
.ms-card__body { padding: 1rem 1.05rem 1.15rem; display: grid; gap: .35rem; }
.ms-card__body strong { color: var(--maroon); font-size: 1.05rem; }
.ms-card__body small { color: var(--muted); font-size: .9rem; line-height: 1.4; }

/* Detail */
.ms-detail__hero {
  position: relative;
  width: 100%;
  min-height: clamp(280px, 42vw, 420px);
  color: #fff;
  background: #0a1528;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ms-detail__hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.02);
}
.ms-detail__hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(26,10,16,.88) 0%, rgba(26,10,16,.55) 48%, rgba(26,10,16,.28) 100%),
    linear-gradient(0deg, rgba(26,10,16,.75) 0%, rgba(26,10,16,.15) 55%, rgba(26,10,16,.35) 100%);
}
.ms-detail__copy {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2.75rem;
}
.ms-detail__copy > * {
  opacity: 0;
  transform: translate3d(12vw, 0, 0);
  animation: ms-hero-fly-in .9s cubic-bezier(.22, 1, .36, 1) forwards;
}
.ms-detail__copy > *:nth-child(1) { animation-delay: .05s; }
.ms-detail__copy > *:nth-child(2) { animation-delay: .14s; }
.ms-detail__copy > *:nth-child(3) { animation-delay: .23s; }
.ms-detail__copy > *:nth-child(4) { animation-delay: .32s; }
.ms-detail__copy > *:nth-child(5) { animation-delay: .41s; }
@keyframes ms-hero-fly-in {
  from {
    opacity: 0;
    transform: translate3d(12vw, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
html[dir="rtl"] .ms-detail__copy > * {
  transform: translate3d(-12vw, 0, 0);
  animation-name: ms-hero-fly-in-rtl;
}
@keyframes ms-hero-fly-in-rtl {
  from {
    opacity: 0;
    transform: translate3d(-12vw, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.ms-kicker--light { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.ms-kicker--light a { color: inherit; }
.ms-detail__copy h1 {
  margin: 0 0 .75rem;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.ms-lede {
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,.92);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 38rem;
}
.ms-detail__copy h1 { max-width: 40rem; }
.ms-detail__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .35rem;
}
.ms-detail__intro {
  margin: 0 0 0.65rem;
}
.ms-detail__intro-text {
  margin: 0 0 0.65rem;
  max-width: 46rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
}
.ms-detail__intro-text:last-child { margin-bottom: 0; }
/* Body HTML reuses .ms-prose; drop its top pad so intro→body isn't double-spaced. */
.ms-detail__prose > .ms-detail__body-html.ms-prose {
  padding-top: 0;
  padding-bottom: 2rem;
}
.ms-detail__prose > .ms-detail__body-html.ms-prose > p:first-child {
  margin-top: 0;
}
.ms-btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
}
.ms-btn--ghost-light:hover {
  background: #fff;
  color: var(--maroon);
  border-color: #fff;
}

.ms-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, .78fr);
  gap: 2.25rem 2.5rem;
  padding: 2.5rem 0 1rem;
  align-items: start;
}
.ms-detail__main { min-width: 0; }
.ms-detail__feature {
  margin: 0 0 1.6rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 14px 36px rgba(15, 35, 64, .12);
}
.ms-detail__feature img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.ms-detail__prose { max-width: 46rem; }
.ms-detail__prose > p:first-child {
  font-size: 1.05rem;
  color: #3d3035;
}
.ms-detail__body p,
.ms-detail__prose p {
  line-height: 1.7;
  margin: 0 0 1rem;
  color: var(--ink);
}
/* Detail dept/service body: hierarchy by size/weight; shared brand blue. */
.ms-detail__prose h2,
.ms-detail__body-html h2,
.ms-detail__subhead:not(.ms-detail__subhead--h3):not(h3) {
  margin: 1.75rem 0 .7rem;
  color: var(--maroon);
  font-weight: 800;
  font-size: clamp(1.28rem, 2.1vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: .005em;
}
.ms-detail__prose h3,
.ms-detail__body-html h3,
h3.ms-detail__subhead,
.ms-detail__subhead--h3 {
  margin: 1.15rem 0 .45rem;
  color: var(--maroon);
  font-weight: 700;
  font-size: clamp(1.08rem, 1.6vw, 1.18rem);
  line-height: 1.35;
  letter-spacing: 0;
}
.ms-detail__prose > .ms-detail__subhead:first-child,
.ms-prose > .ms-detail__subhead:first-child {
  margin-top: 0;
}
.ms-detail__appt {
  margin: 2.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(90, 24, 36, .12);
}
.ms-detail__appt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1rem 0 0;
}
.ms-detail__list {
  margin: 0 0 1.15rem;
  padding: 0 0 0 1.25rem;
  list-style: disc;
  line-height: 1.65;
  color: var(--ink);
}
.ms-detail__list li {
  margin: 0 0 .4rem;
  padding: 0;
}
.ms-detail__list li::marker { color: var(--maroon); }

/* In-prose clinic photos — show full image (no crop). */
.ms-detail__inline {
  margin: 1.35rem 0 1.6rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #e8eef5;
  box-shadow: 0 12px 28px rgba(15, 35, 64, .1);
  max-width: 46rem;
}
.ms-detail__inline img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  vertical-align: middle;
  background: #e8eef5;
}
.ms-detail__body-html .ms-detail__inline,
.ms-prose .ms-detail__inline {
  margin-inline: 0;
}
.ms-detail__feature img {
  max-height: none;
  object-fit: contain;
}

.ms-detail__aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  /* Clear sticky site header (.ms-header / .ms-head ≈ 100px). */
  top: var(--ms-sticky-offset, 7.25rem);
  max-height: calc(100dvh - var(--ms-sticky-offset, 7.25rem) - 1rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 5;
}
.ms-detail__panel {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 35, 64, .06);
  display: grid;
  gap: .55rem;
}
.ms-detail__panel--cta {
  background: linear-gradient(165deg, #fff 0%, #f2f5f9 100%);
  border-color: rgba(26, 54, 93, .18);
}
.ms-detail__panel--cta .ms-btn { width: 100%; }
.ms-detail__panel--soft { background: #f2f5f9; }
.ms-detail__panel-kicker {
  margin: 0;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ms-detail__panel strong {
  color: var(--maroon);
  font-size: 1.15rem;
  line-height: 1.3;
}
.ms-detail__panel > p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.ms-detail__docs { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .65rem; }
.ms-detail__docs a {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: .7rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.ms-detail__docs-photo {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  position: relative;
}
.ms-detail__docs-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ms-detail__docs strong {
  display: block;
  color: var(--maroon);
  font-size: .92rem;
  line-height: 1.25;
}
.ms-detail__docs small { color: var(--muted); font-size: .8rem; }
.ms-detail__docs a:hover strong { color: var(--maroon-deep); }
.ms-detail__link {
  color: var(--maroon);
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
}
.ms-detail__link:hover { color: var(--gold); }
.ms-detail__back {
  margin: 2rem 0 1.25rem;
}
.ms-detail__back .ms-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.ms-detail__related { margin: 2.25rem 0 1.25rem; }
.ms-detail__related--embed { margin: 1.1rem 0 1.75rem; }
.ms-detail__related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1100px) {
  .ms-detail__related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .ms-detail__related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
}
.ms-detail__related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .85rem;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.ms-detail__related-card:hover {
  border-color: rgba(26, 54, 93, .28);
  box-shadow: 0 10px 24px rgba(26, 54, 93, .1);
  transform: translateY(-2px);
  color: var(--maroon);
}
.ms-detail__related-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef3f9;
}
.ms-detail__related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ms-detail__related-card:hover .ms-detail__related-media img {
  transform: scale(1.04);
}
.ms-detail__related-card strong {
  display: block;
  padding: .85rem .9rem 1rem;
  font-size: .92rem;
  line-height: 1.35;
  font-weight: 700;
}

/* Related services — letter tiles (mockup red / charcoal) */
.ms-detail__related--tiles {
  margin: 2.25rem 0 1.25rem;
  padding: 1.25rem 1.15rem 1.35rem;
  background: var(--related-band);
  border: 0;
  border-radius: .35rem;
}
.ms-detail__related--tiles > .ms-detail__subhead {
  margin-top: 0;
  color: var(--maroon);
}
.ms-related-group + .ms-related-group {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(26, 54, 93, .12);
}
.ms-related-group__title {
  margin: 0 0 .85rem;
  display: inline-block;
  color: var(--maroon);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.3;
  border-bottom: 3px solid var(--maroon);
  padding-bottom: .28rem;
}
.ms-related-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 12rem)) minmax(0, 1fr);
  gap: .85rem;
  align-items: stretch;
}
.ms-related-board:not(:has(.ms-related-chips)) {
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 12rem));
}
.ms-related-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 12rem;
  padding: 1.15rem .85rem 1rem;
  text-decoration: none;
  text-align: center;
  border: 0;
  border-radius: .2rem;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .18);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.ms-related-feature:hover {
  transform: translateY(-2px);
  box-shadow: 4px 6px 0 rgba(0, 0, 0, .22);
}
.ms-related-feature--accent {
  background: var(--logo-red);
  color: #fff;
}
.ms-related-feature--accent:hover {
  background: var(--logo-red-deep);
  color: #fff;
  filter: brightness(1.02);
}
.ms-related-feature--accent .ms-related-feature__letter,
.ms-related-feature--accent .ms-related-feature__label {
  color: #fff;
}
.ms-related-feature--ink {
  background: var(--related-ink);
  color: #fff;
}
.ms-related-feature--ink:hover {
  background: var(--maroon-deep);
  color: #fff;
}
.ms-related-feature--ink .ms-related-feature__letter,
.ms-related-feature--ink .ms-related-feature__label {
  color: #fff;
}
.ms-related-feature__letter {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 9vw, 5.75rem);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.03em;
  color: inherit;
}
.ms-related-feature__label {
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  font-weight: 700;
  line-height: 1.25;
  max-width: 10.5rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ms-related-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: .65rem;
  align-content: start;
}
.ms-related-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: .65rem .85rem;
  text-decoration: none;
  text-align: center;
  background: var(--related-ink);
  color: #fff;
  border: 0;
  border-radius: .2rem;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .03em;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ms-related-chip:hover {
  background: var(--maroon-deep);
  box-shadow: 4px 6px 0 rgba(26, 54, 93, .22);
  transform: translateY(-2px);
  color: #fff;
}
@media (max-width: 900px) {
  .ms-related-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ms-related-chips {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .ms-related-board { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .ms-related-feature { min-height: 8.75rem; padding: .85rem .55rem; }
  .ms-related-chips { grid-template-columns: 1fr; }
}

.ms-detail__band {
  margin-top: 1.5rem;
  background: var(--maroon);
  color: #fff;
  padding: 1.6rem 0;
}
.ms-detail__band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.ms-detail__band strong { display: block; font-size: 1.2rem; margin-bottom: .25rem; }
.ms-detail__band p { margin: 0; color: rgba(255,255,255,.88); max-width: 36rem; line-height: 1.45; }
.ms-detail__band .ms-btn--ghost {
  background: #fff;
  color: var(--maroon);
  border-color: #fff;
}
.ms-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

/* Doctors directory */
.ms-docs-page { padding-top: 1.25rem; }
.ms-docs-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.35rem;
  padding-bottom: .15rem;
}
.ms-docs-filter__btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--maroon);
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  padding: .45rem .85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ms-docs-filter__btn:hover {
  border-color: var(--maroon);
  background: #f2f5f9;
}
.ms-docs-filter__btn.is-on {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}
.ms-docs-filter__empty {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .95rem;
}
.ms-docs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ms-doc-card {
  display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: .9rem; overflow: hidden; background: #fff; min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ms-doc-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26, 54, 93,.1); }
.ms-doc-card[hidden] { display: none !important; }
.ms-doc-card__media { display: block; aspect-ratio: 3/4; overflow: hidden; background: #eee; position: relative; }
.ms-doc-card__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transform: scale(1);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.ms-doc-card:hover .ms-doc-card__media img { transform: scale(1.1); }
.ms-doc-mini { position: relative; }
.ms-doc-mini__photo {
  display: block;
  position: relative;
  overflow: hidden;
  background: #eee;
}
.ms-doc-mini img,
.ms-doc-mini__photo img {
  aspect-ratio: 3/4; object-fit: cover; object-position: center top; width: 100%;
  display: block;
  transform: scale(1);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.ms-doc-mini:hover img,
.ms-doc-mini:hover .ms-doc-mini__photo img { transform: scale(1.07); }
.ms-doctor .ms-detail__hero > img { object-position: center 18%; }
.ms-docbanner {
  position: relative;
  color: #fff;
  background: linear-gradient(105deg, #0d2748 0%, #143a66 48%, #1c527f 100%);
  overflow: hidden;
}
.ms-docbanner__wash {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  bottom: 0;
  width: min(58%, 46rem);
  background-position: center 18%;
  background-size: cover;
  opacity: .16;
  -webkit-mask-image: linear-gradient(to left, #000 18%, transparent 78%);
  mask-image: linear-gradient(to left, #000 18%, transparent 78%);
  pointer-events: none;
}
html[dir="rtl"] .ms-docbanner__wash {
  -webkit-mask-image: linear-gradient(to right, #000 18%, transparent 78%);
  mask-image: linear-gradient(to right, #000 18%, transparent 78%);
}
.ms-docbanner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr) minmax(18rem, 28rem);
  gap: 1.1rem 1.75rem;
  align-items: center;
  padding: 1.35rem 0;
}
.ms-docbanner__inner:not(:has(.ms-docbanner__photo)) {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
}
.ms-docbanner__photo {
  margin: 0;
  width: 8.6rem;
  border-radius: .85rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  background: rgba(255, 255, 255, .08);
}
.ms-docbanner__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 16%;
}
.ms-docbanner__id { min-width: 0; }
.ms-docbanner__rank {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: 0 0 .55rem;
  padding: .28rem .7rem .28rem .5rem;
  border-radius: 999px;
  background: #a1031c;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
}
.ms-docbanner__rank svg,
.ms-docbanner__appt svg,
.ms-docbanner__facts svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex: 0 0 auto;
}
.ms-docbanner__id h1 {
  margin: 0 0 .85rem;
  color: #fff;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.15;
  text-shadow: none;
}
.ms-docbanner__appt {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .62rem 1rem;
  border-radius: .55rem;
  background: #a1031c;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.ms-docbanner__appt:hover { background: #7d0216; }
.ms-docbanner__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.ms-docbanner__facts > div {
  min-width: 0;
  padding: .7rem .85rem .75rem;
  border-radius: .75rem;
  background: rgba(8, 22, 44, .42);
}
.ms-docbanner__facts p {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0 0 .3rem;
  color: var(--gold-soft);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ms-docbanner__facts strong,
.ms-docbanner__facts span {
  display: block;
  color: #fff;
  font-size: .92rem;
  line-height: 1.35;
}
.ms-docbanner__facts strong { font-weight: 700; }
.ms-docbanner__facts span { font-weight: 600; }
.ms-docbanner__facts a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.ms-docbanner__facts a:hover { text-decoration: underline; }
@media (max-width: 980px) {
  .ms-docbanner__inner,
  .ms-docbanner__inner:not(:has(.ms-docbanner__photo)) {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .ms-docbanner__facts { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ms-docbanner__inner,
  .ms-docbanner__inner:not(:has(.ms-docbanner__photo)) { grid-template-columns: 1fr; }
  .ms-docbanner__photo { width: 7.4rem; }
  .ms-docbanner__facts { grid-template-columns: 1fr; }
}
.ms-doctor__badge {
  display: inline-block;
  margin: -.35rem 0 1.1rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: rgba(176, 138, 60, .22);
  border: 1px solid rgba(201, 168, 90, .55);
  color: var(--gold-soft);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ms-doctor__portrait {
  max-width: 22rem;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
}
.ms-doctor__portrait img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
}

/* Mamaksu M mark — top-left on doctor photos */
.ms-doc-card__media::after,
.ms-doc-mini__photo::after,
.ms-doctor__portrait::after,
.ms-detail__docs-photo::after {
  content: "";
  position: absolute;
  top: .55rem;
  inset-inline-start: .55rem;
  width: clamp(1.65rem, 18%, 2.75rem);
  aspect-ratio: 849 / 760;
  background: url("../images/m-mark.png") center / contain no-repeat;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .28));
}
.ms-detail__docs-photo {
  position: relative;
}
.ms-detail__docs-photo::after {
  top: .2rem;
  inset-inline-start: .2rem;
  width: 1.05rem;
}
.ms-doc-card__body { padding: 1rem 1.05rem 1.15rem; display: grid; gap: .35rem; flex: 1; }
.ms-doc-card__body h2 { margin: 0; font-size: 1.05rem; }
.ms-doc-card__body h2 a { text-decoration: none; color: var(--maroon); }
.ms-doc-card__body h2 a:hover { color: var(--maroon-deep); }
.ms-doc__tag {
  margin: 0; display: inline-block; justify-self: start;
  background: #f2f5f9; color: var(--maroon); font-size: .78rem; font-weight: 700;
  padding: .25rem .55rem; border-radius: 999px;
}
.ms-doc-card__actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .55rem; }
.ms-doc-card__actions .ms-btn { min-width: 0; padding: .55rem .9rem; font-size: .86rem; }
.ms-doc-mini:hover strong { color: var(--maroon-deep); }

/* Doctor profile */
.ms-back {
  display: inline-flex; align-items: center; gap: .35rem;
  color: rgba(255,255,255,.92); text-decoration: none; font-weight: 700;
  font-size: .92rem; margin-bottom: .85rem;
}
.ms-back:hover { color: var(--gold-soft); }
.ms-back--solid {
  color: var(--maroon); background: #fff; border: 1px solid var(--maroon);
  padding: .65rem 1.1rem; border-radius: 999px;
}
.ms-back--solid:hover { background: #f2f5f9; color: var(--maroon-deep); }
.ms-doctor__actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin: 1.2rem 0; }

/* Doctors (legacy list kept for safety) */
.ms-docs { display: grid; gap: 1rem; }
.ms-doc {
  display: grid; grid-template-columns: 200px 1fr; gap: 1.2rem; border: 1px solid var(--line);
  border-radius: .9rem; overflow: hidden; background: #fff;
}
.ms-doc img {
  width: 100%; height: 100%; object-fit: cover; min-height: 160px;
  transform: scale(1);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.ms-doc:hover img { transform: scale(1.06); }
.ms-doc h2 { margin: 1rem 1rem 0; color: var(--maroon); font-size: 1.25rem; }
.ms-doc__spec { margin: .25rem 0; color: var(--gold); font-weight: 700; }
.ms-doc p { margin: .4rem 0; color: var(--muted); }

/* Contact page — inspired by mamaksutip.com.tr/iletisim */
.ms-contact-cards { padding: 2rem 0 1rem; }
.ms-contact-cards__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.ms-info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.4rem 1.35rem; display: grid; gap: .45rem; min-height: 100%;
  box-shadow: 0 8px 22px rgba(26, 54, 93, .06);
}
.ms-info-card__icon {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center; background: #f2f5f9;
  color: var(--maroon); border: 1px solid var(--line);
}
.ms-info-card__icon svg { width: 1.25rem; height: 1.25rem; display: block; }
.ms-info-card h2 { margin: 0; color: var(--maroon); font-size: 1.15rem; line-height: 1.3; word-break: break-word; }
.ms-info-card h2 a { color: inherit; text-decoration: none; }
.ms-info-card h2 a:hover { color: var(--maroon-deep); }
.ms-info-card p { margin: 0; color: var(--muted); }
.ms-info-card__link {
  margin-top: .35rem; color: var(--gold); font-weight: 700; text-decoration: none; font-size: .9rem;
}
.ms-info-card__link:hover { color: var(--maroon); }

.ms-map { padding: 2rem 0 2.5rem; }
.ms-map h2 { margin: 0 0 1rem; color: var(--maroon); font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.ms-map__frame {
  position: relative; border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--line); background: #f0e8eb;
  box-shadow: 0 10px 28px rgba(26, 54, 93, .08);
  aspect-ratio: 21 / 9; min-height: 280px;
}
.ms-map__frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}
.ms-map__caption { margin: .85rem 0 0; color: var(--muted); font-size: .92rem; }
.ms-map__caption a { color: var(--maroon); font-weight: 700; text-decoration: none; }
.ms-map__caption a:hover { color: var(--gold); }

.ms-transport { padding: 2rem 0 2.5rem; background: #f2f5f9; }
.ms-transport h2 { margin: 0 0 1.1rem; color: var(--maroon); font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.ms-transport__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ms-transport__card {
  background: #fff; border: 1px solid var(--line); border-radius: .9rem; padding: 1.2rem 1.25rem;
  display: grid; gap: .45rem; align-content: start;
}
.ms-transport__icon {
  width: 2.6rem; height: 2.6rem; border-radius: .75rem;
  display: grid; place-items: center;
  background: #f2f5f9; color: var(--maroon);
  border: 1px solid rgba(26, 54, 93, .12);
  margin-bottom: .15rem;
}
.ms-transport__icon svg { width: 1.3rem; height: 1.3rem; display: block; }
.ms-transport__card h3 { margin: 0; color: var(--maroon); font-size: 1.05rem; }
.ms-transport__card p { margin: 0; color: var(--muted); font-weight: 600; }
.ms-hours--inline {
  display: flex; flex-wrap: wrap; gap: .85rem 1rem; margin-top: 1.25rem;
  padding: 0; list-style: none;
}
.ms-hours.ms-hours--inline > li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .85rem 1.85rem !important; color: var(--maroon); font-weight: 700; font-size: 1rem;
  line-height: 1.35; white-space: nowrap; min-height: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box;
}
.ms-contact--ask { padding: 2.5rem 0 3rem; }
.ms-contact--ask h2 { margin: 0 0 .5rem; color: var(--maroon); font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Prose / contact */
.ms-prose { padding: 1.5rem 0 3rem; }
.ms-prose p { max-width: 46rem; line-height: 1.65; color: var(--ink); }
.ms-prose--legal { max-width: none; }
.ms-prose--legal .ms-wrap { max-width: min(760px, calc(100% - 2rem)); }
.ms-prose__lead { font-size: 1.02rem; color: #3d3035; }
.ms-prose h2 {
  margin: 2rem 0 .75rem;
  color: var(--maroon);
  font-size: clamp(1.28rem, 2.1vw, 1.45rem);
  font-weight: 800;
  line-height: 1.3;
  max-width: 46rem;
}
.ms-prose h3 {
  margin: 1.15rem 0 .45rem;
  color: var(--maroon);
  font-size: clamp(1.08rem, 1.6vw, 1.18rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 46rem;
}
.ms-prose ul {
  margin: 0 0 1.15rem;
  padding-inline-start: 1.2rem;
  max-width: 46rem;
  color: var(--ink);
  line-height: 1.6;
}
.ms-prose li { margin: 0 0 .45rem; }
.ms-prose li::marker { color: var(--maroon); }
.ms-prose a { color: var(--maroon); }
.ms-prose .ms-btn {
  margin-inline-end: .5rem; margin-top: .35rem;
  color: #fff;
}
.ms-prose .ms-btn--ghost { color: var(--maroon); }
.ms-prose .ms-btn:hover { color: #fff; }
.ms-prose .ms-btn--ghost:hover { color: var(--maroon); }
.ms-checklist { padding-inline-start: 1.2rem; color: var(--ink); }
.ms-checklist li { margin: .35rem 0; }

/* Accordion (Beslenme / Diyet detail) */
.ms-accordion {
  max-width: 46rem;
  margin: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
}
.ms-accordion__item {
  border-bottom: 1px solid var(--line);
}
.ms-accordion__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  user-select: none;
}
.ms-accordion__summary::-webkit-details-marker { display: none; }
.ms-accordion__label {
  min-width: 0;
  flex: 1;
  line-height: 1.35;
}
.ms-accordion__summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--maroon);
  line-height: 1;
  transition: transform .2s ease;
}
.ms-accordion__item[open] > .ms-accordion__summary::after {
  content: "–";
}
.ms-accordion__summary:hover { color: var(--maroon); }
.ms-accordion__panel {
  padding: 0 0 1.35rem;
}
.ms-accordion__figure {
  margin: 0 0 1rem;
  max-width: 28rem;
  border-radius: .75rem;
  overflow: hidden;
  background: #f3f0f1;
}
.ms-accordion__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ms-accordion__panel p {
  margin: 0 0 0.85rem;
  max-width: none;
  line-height: 1.65;
  color: #3d3035;
}
.ms-accordion__panel p:last-child { margin-bottom: 0; }
.ms-accordion__panel h3 {
  margin: 1.15rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink, #2a1f24);
}
.ms-accordion__panel .ms-checklist {
  margin: 0.35rem 0 0.9rem;
}
@media (max-width: 560px) {
  .ms-accordion__figure { max-width: 100%; }
}

/* Medikal Estetik interactive face map */
.ms-face-map {
  margin: 1.5rem 0 2.25rem;
  max-width: 52rem;
}
.ms-face-map__hint {
  margin: 0 0 1rem;
  color: #5a4a50;
  line-height: 1.55;
}
.ms-face-map__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
}
.ms-face-map__stage {
  position: relative;
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #f3f0f1;
  border: 1px solid var(--line);
}
.ms-face-map__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 914;
  object-fit: contain;
  background: #fff;
}
.ms-face-map__hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ms-face-map__hot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  z-index: 1;
}
.ms-face-map__dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--maroon);
  box-shadow: 0 0 0 3px rgba(110, 30, 50, 0.18);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.ms-face-map__hot:hover .ms-face-map__dot,
.ms-face-map__hot:focus-visible .ms-face-map__dot,
.ms-face-map__hot.is-active .ms-face-map__dot {
  transform: scale(1.12);
  background: var(--maroon);
  box-shadow: 0 0 0 5px rgba(110, 30, 50, 0.22);
}
.ms-face-map__hot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 50%;
}
.ms-face-map__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.ms-face-map__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ms-face-map__chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink, #2a1f24);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0.45rem 0.7rem;
  border-radius: 0.55rem;
  cursor: pointer;
  text-align: left;
}
.ms-face-map__chip:hover,
.ms-face-map__chip:focus-visible {
  border-color: var(--maroon);
  color: var(--maroon);
}
.ms-face-map__chip.is-active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}
.ms-face-map__panel {
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: linear-gradient(165deg, #fff 0%, #faf7f8 100%);
}
.ms-face-map__panel-title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink, #2a1f24);
}
.ms-face-map__panel-lede {
  margin: 0 0 0.95rem;
  line-height: 1.6;
  color: #3d3035;
}
.ms-face-map__cta {
  display: inline-flex;
  text-decoration: none;
}
.ms-face-map__empty {
  margin: 0;
  color: #6a5a60;
}
@media (max-width: 820px) {
  .ms-face-map__layout {
    grid-template-columns: 1fr;
  }
  .ms-face-map__stage {
    max-width: 26rem;
    margin-inline: auto;
  }
}

/* Youth / aging triangle compare (dolgu hub) */
.ms-youth-tri {
  margin: 1.5rem 0 2.25rem;
  max-width: 52rem;
}
.ms-youth-tri__hint {
  margin: 0 0 1rem;
  color: #5a4a50;
  line-height: 1.55;
}
.ms-youth-tri__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
}
.ms-youth-tri__compare {
  margin: 0;
}
.ms-youth-tri__stage {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  user-select: none;
  touch-action: none;
}
.ms-youth-tri__base,
.ms-youth-tri__aging {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 500 / 682;
  object-fit: contain;
  background: #fff;
  pointer-events: none;
}
.ms-youth-tri__overlay {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--reveal, 55%));
  will-change: clip-path;
}
.ms-youth-tri__aging {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ms-youth-tri__hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.ms-youth-tri__hot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}
.ms-youth-tri__dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--maroon);
  box-shadow: 0 0 0 3px rgba(110, 30, 50, 0.18);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.ms-youth-tri__hot:hover .ms-youth-tri__dot,
.ms-youth-tri__hot:focus-visible .ms-youth-tri__dot,
.ms-youth-tri__hot.is-active .ms-youth-tri__dot {
  transform: scale(1.12);
  background: var(--maroon);
  box-shadow: 0 0 0 5px rgba(110, 30, 50, 0.22);
}
.ms-youth-tri__hot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 50%;
}
.ms-youth-tri__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}
.ms-youth-tri__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  margin-left: -1.5px;
  background: var(--maroon);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
  pointer-events: none;
  z-index: 4;
}
.ms-youth-tri__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.1rem;
  height: 2.1rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--maroon);
  box-shadow: 0 4px 14px rgba(42, 20, 28, 0.18);
}
.ms-youth-tri__labels {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
  z-index: 5;
}
.ms-youth-tri__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink, #2a1f24);
  border: 1px solid var(--line);
}
.ms-youth-tri__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.ms-youth-tri__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ms-youth-tri__chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink, #2a1f24);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0.45rem 0.7rem;
  border-radius: 0.55rem;
  cursor: pointer;
  text-align: left;
}
.ms-youth-tri__chip:hover,
.ms-youth-tri__chip:focus-visible {
  border-color: var(--maroon);
  color: var(--maroon);
}
.ms-youth-tri__chip.is-active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}
.ms-youth-tri__panel {
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: linear-gradient(165deg, #fff 0%, #faf7f8 100%);
}
.ms-youth-tri__panel-title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink, #2a1f24);
}
.ms-youth-tri__panel-lede {
  margin: 0 0 0.95rem;
  line-height: 1.6;
  color: #3d3035;
}
.ms-youth-tri__cta {
  display: inline-flex;
  text-decoration: none;
}
.ms-youth-tri__cta[hidden] {
  display: none !important;
}
.ms-youth-tri__empty {
  margin: 0;
  color: #6a5a60;
}
@media (max-width: 820px) {
  .ms-youth-tri__layout {
    grid-template-columns: 1fr;
  }
  .ms-youth-tri__stage {
    max-width: 24rem;
    margin-inline: auto;
  }
}

/* Check-up packages */
.ms-checkup { padding: 2rem 0 4.5rem; }
.ms-checkup__tabs {
  display: inline-flex; gap: .35rem; padding: .3rem; background: #f2f5f9;
  border: 1px solid var(--line); border-radius: 999px; margin-bottom: 1.1rem;
}
.ms-checkup__tab {
  appearance: none; border: 0; background: transparent; font: inherit; font-weight: 800;
  color: var(--muted); padding: .65rem 1.35rem; border-radius: 999px; cursor: pointer;
}
.ms-checkup__tab.is-on, .ms-checkup__tab:hover { background: var(--maroon); color: #fff; }
.ms-checkup__legend {
  display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; margin: 0 0 1.35rem;
  color: var(--muted); font-size: .88rem; font-weight: 700;
}
.ms-checkup__legend span { display: inline-flex; align-items: center; gap: .4rem; }
.ms-dot { width: .7rem; height: .7rem; border-radius: 50%; display: inline-block; }
.ms-dot--temel { background: #7a8aa0; }
.ms-dot--vip { background: var(--gold); }
.ms-dot--platinum { background: var(--maroon); }
.ms-checkup__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start;
}
.ms-pack {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 1rem; padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 8px 22px rgba(26, 54, 93, .05);
}
.ms-pack--vip { border-color: rgba(176, 138, 60, .45); }
.ms-pack--platinum {
  border-color: var(--maroon); box-shadow: 0 12px 28px rgba(26, 54, 93, .12);
  background: linear-gradient(180deg, #fff 0%, #f2f5f9 100%);
}
.ms-pack__head { margin-bottom: .85rem; }
.ms-pack__badge {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: .28rem .7rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: .55rem;
}
.ms-pack--temel .ms-pack__badge { background: #f0e8eb; color: #6d4a56; }
.ms-pack--vip .ms-pack__badge { background: #f7efd9; color: #8a6a28; }
.ms-pack--platinum .ms-pack__badge { background: var(--maroon); color: #fff; }
.ms-pack__head h2 { margin: 0 0 .35rem; color: var(--maroon); font-size: 1.12rem; line-height: 1.3; }
.ms-pack__meta { margin: 0; color: var(--muted); font-size: .88rem; font-weight: 700; }
.ms-pack__groups {
  display: grid; gap: .4rem; margin: 0 0 1.1rem; flex: 1;
}
.ms-pack__group {
  border: 1px solid var(--line); border-radius: .65rem; background: #fff;
  overflow: hidden;
}
.ms-pack__group-sum {
  display: flex; align-items: center; justify-content: space-between; gap: .65rem;
  padding: .55rem .7rem; cursor: pointer; list-style: none;
  font-size: .84rem; font-weight: 800; color: var(--maroon);
  background: #f7f2f4;
}
.ms-pack__group-sum::-webkit-details-marker { display: none; }
.ms-pack__group-sum::after {
  content: ""; flex: 0 0 .55rem; width: .55rem; height: .55rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .7; transition: transform .18s ease;
  margin-top: -.2rem;
}
.ms-pack__group[open] .ms-pack__group-sum::after {
  transform: rotate(-135deg); margin-top: .15rem;
}
.ms-pack__group-title { flex: 1; min-width: 0; line-height: 1.3; }
.ms-pack__group-count {
  flex: 0 0 auto; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: rgba(110, 30, 50, .1);
  font-size: .72rem; font-weight: 800; color: var(--maroon);
}
.ms-pack--vip .ms-pack__group-sum { background: #faf6eb; color: #8a6a28; }
.ms-pack--vip .ms-pack__group-count { background: rgba(176, 138, 60, .16); color: #8a6a28; }
.ms-pack--platinum .ms-pack__group-sum { background: rgba(110, 30, 50, .08); }
.ms-pack__list {
  list-style: none; margin: 0; padding: .45rem .55rem .55rem;
  display: grid; gap: .3rem;
}
.ms-pack__list li {
  position: relative; padding: .32rem .5rem .32rem 1.25rem;
  background: #f2f5f9; border-radius: .4rem; font-size: .8rem; font-weight: 600; color: var(--ink);
}
.ms-pack__list li::before {
  content: ""; position: absolute; inset-inline-start: .4rem; top: .65rem;
  width: .4rem; height: .4rem; border-radius: 50%; background: var(--gold);
}
.ms-pack--platinum .ms-pack__list li::before { background: var(--maroon); }
.ms-pack .ms-btn { align-self: stretch; margin-top: auto; }
.ms-checkup__note { margin-top: 2rem; }

/* Check-up comparison */
.ms-checkup-compare {
  margin-top: 2.75rem; padding: 1.75rem 1.4rem 1.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 1.1rem;
  box-shadow: 0 10px 28px rgba(26, 54, 93, .06);
}
.ms-checkup-compare__head { margin-bottom: 1.25rem; max-width: 42rem; }
.ms-checkup-compare__head h2 {
  margin: .2rem 0 .45rem; color: var(--maroon); font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}
.ms-checkup-compare__head p { margin: 0; color: var(--muted); line-height: 1.55; }
.ms-checkup-compare__scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: .85rem;
}
.ms-checkup-compare__table {
  width: 100%; min-width: 36rem; border-collapse: collapse; background: #fff;
}
.ms-checkup-compare__table th,
.ms-checkup-compare__table td {
  padding: .7rem .85rem; border-bottom: 1px solid var(--line); text-align: start;
  vertical-align: middle;
}
.ms-checkup-compare__table thead th {
  position: sticky; top: 0; z-index: 1;
  background: #f2f5f9; color: var(--maroon); font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase; font-weight: 800;
}
.ms-checkup-compare__table tbody th {
  font-size: .86rem; font-weight: 700; color: var(--ink); width: 46%;
}
.ms-checkup-compare__section th {
  background: #f2f5f9; color: var(--maroon); font-size: .78rem;
  letter-spacing: .03em; text-transform: uppercase; font-weight: 800;
  border-bottom: 1px solid var(--line);
}
.ms-checkup-compare__table tbody tr:not(.ms-checkup-compare__section):nth-child(even) { background: #fcf9fa; }
.ms-checkup-compare__table tbody tr:last-child th,
.ms-checkup-compare__table tbody tr:last-child td { border-bottom: 0; }
.ms-checkup-compare__tier { text-align: center !important; width: 18%; }
.ms-checkup-compare__tier--temel { color: #6d4a56; }
.ms-checkup-compare__tier--vip { color: #8a6a28; }
.ms-checkup-compare__tier--platinum { color: var(--maroon); }
.ms-checkup-compare__cell { text-align: center !important; }
.ms-checkup-compare__yes {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.55rem; height: 1.55rem; border-radius: 50%;
  background: rgba(26, 54, 93, .1); color: var(--maroon);
  font-weight: 800; font-size: .9rem; line-height: 1;
}
.ms-checkup-compare__cell--vip .ms-checkup-compare__yes {
  background: rgba(176, 138, 60, .16); color: #8a6a28;
}
.ms-checkup-compare__cell--platinum .ms-checkup-compare__yes {
  background: var(--maroon); color: #fff;
}
.ms-checkup-compare__no {
  color: #c4b4ba; font-weight: 700; font-size: 1rem; line-height: 1;
}
.ms-checkup-compare__cta {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.35rem;
}

@media (max-width: 980px) {
  .ms-checkup__grid { grid-template-columns: 1fr; }
  .ms-checkup-compare { padding: 1.35rem 1rem 1.25rem; }
}
.ms-contact { padding: 1.5rem 0 3rem; }
.ms-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.ms-hours { list-style: none; padding: 0; margin: .75rem 0 0; }
.ms-hours:not(.ms-hours--inline) > li { padding: .25rem 0; color: var(--muted); }

/* Host strip — aligned to site wrap, balanced 3-up */
.ms-host {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 50%, var(--maroon-mid) 100%);
  color: #fff;
  padding: 1.35rem 0;
  width: 100%;
  border-block: 1px solid rgba(255, 255, 255, .08);
}
.ms-host__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.75rem;
}
.ms-host__phone {
  position: relative;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  min-width: 0;
  padding: .85rem 1.35rem .85rem 1rem;
  background: #fff;
  border: 0;
  border-radius: 1.15rem;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .22),
    0 14px 32px rgba(0, 0, 0, .28);
  transform: translateZ(0);
  transition:
    background .2s ease,
    color .2s ease,
    transform .22s ease,
    box-shadow .22s ease;
  z-index: 1;
}
.ms-host__phone::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 1.35rem;
  border: 2px solid rgba(255, 255, 255, .55);
  pointer-events: none;
  animation: ms-host-phone-ring 2.4s ease-out infinite;
}
.ms-host__phone:hover {
  background: #fff;
  color: #9a7530;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, .35),
    0 18px 40px rgba(0, 0, 0, .34);
}
.ms-host__phone:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .22),
    0 10px 24px rgba(0, 0, 0, .26);
}
.ms-host__phone-ico {
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 18px rgba(176, 138, 60, .35);
}
.ms-host__phone-ico svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}
.ms-host__phone-copy {
  display: grid;
  gap: .15rem;
  min-width: 0;
  text-align: start;
}
.ms-host__phone-copy > span {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 1;
  line-height: 1.2;
}
.ms-host__phone-copy strong,
.ms-host__phone-copy strong span {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.1;
  color: var(--gold);
  white-space: nowrap;
}
.ms-host__phone:hover .ms-host__phone-ico {
  background: var(--gold-soft);
}
.ms-host__phone:hover .ms-host__phone-copy > span,
.ms-host__phone:hover .ms-host__phone-copy strong,
.ms-host__phone:hover .ms-host__phone-copy strong span {
  color: #9a7530;
}
@keyframes ms-host-phone-ring {
  0% { opacity: .85; transform: scale(.98); }
  70% { opacity: 0; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .ms-top__phone,
  .ms-top__feedback,
  .ms-host__phone {
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  .ms-host__phone::before { animation: none; opacity: .45; }
  /* Keep intentional hover zooms; only shorten their transition. */
  .ms-tech img,
  .ms-card__media img,
  .ms-doc-card__media img,
  .ms-doc-mini img,
  .ms-doc img,
  .ms-detail__gallery-grid figure img {
    transition: transform .2s ease !important;
  }
  .ms-top__phone:hover,
  .ms-top__phone:active,
  .ms-top__feedback:hover,
  .ms-top__feedback:active,
  .ms-host__phone:hover,
  .ms-host__phone:active {
    transform: none;
  }
}
.ms-host p {
  margin: 0;
  max-width: 40rem;
  justify-self: center;
  text-align: center;
  line-height: 1.45;
  font-size: clamp(.9rem, 1.35vw, 1.02rem);
  color: rgba(255, 255, 255, .94);
}
.ms-host .ms-btn {
  flex: 0 0 auto;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .72);
  box-shadow: none;
}
.ms-host .ms-btn:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: #fff;
}
@media (max-width: 980px) {
  .ms-host__inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: start;
    gap: .9rem;
  }
  .ms-host p {
    justify-self: stretch;
    text-align: start;
    max-width: none;
  }
  .ms-host .ms-btn {
    justify-self: start;
  }
  .ms-host__phone {
    width: 100%;
    justify-content: flex-start;
  }
  .ms-host__phone-copy strong,
  .ms-host__phone-copy strong span {
    white-space: normal;
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
  }
}
.ms-footer { background: #0f2340; color: rgba(255,255,255,.88); padding: 3rem 0 1.6rem; width: 100%; }
.ms-footer a { color: #fff; text-decoration: none; }
.ms-footer a:hover { color: var(--gold-soft); }
.ms-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2.25rem;
  align-items: start;
}
.ms-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.ms-footer__brand .ms-logo {
  display: inline-flex;
  align-self: stretch;
  margin: 0 0 1rem;
  padding: 0;
  line-height: 0;
}
.ms-footer__brand .ms-logo img {
  height: 80px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.ms-footer__blurb {
  margin: 0;
  max-width: 22rem;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
  font-size: .95rem;
}
.ms-footer__contact {
  list-style: none;
  margin: 1rem 0 .9rem;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.ms-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  color: #fff;
}
.ms-footer__contact a:hover { color: var(--gold-soft); }
.ms-footer__ico {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--gold-soft);
  display: grid;
  place-items: center;
}
.ms-footer__ico svg { width: 100%; height: 100%; display: block; }
.ms-footer__title {
  margin: .15rem 0 1rem;
  color: var(--gold-soft);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.3;
}
.ms-footer__col ul { list-style: none; padding: 0; margin: 0; }
.ms-footer__col li { margin: 0; }
.ms-footer__col li + li { margin-top: .48rem; }
.ms-footer__col a {
  display: inline-block;
  font-size: .95rem;
  color: rgba(255,255,255,.82);
  transition: color .15s ease;
}
.ms-footer__col a:hover { color: var(--gold-soft); }
.ms-footer .ms-hours { margin: 0; }
.ms-footer .ms-hours > li {
  padding: 0;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  line-height: 1.45;
}
.ms-footer .ms-hours > li + li { margin-top: .48rem; }
.ms-footer__base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  padding-inline-end: 5.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.ms-footer__copy {
  margin: 0;
  font-size: .86rem;
  color: rgba(255,255,255,.58);
  line-height: 1.5;
  max-width: 44rem;
}
.ms-footer .ms-social { margin-top: .15rem; }
.ms-footer .ms-sgk { margin-top: 1.15rem; }
.ms-sgk {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 4.25rem;
  padding-inline-start: 3.4rem;
}
.ms-sgk__seal {
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--maroon);
  box-shadow:
    0 0 0 2px var(--gold-soft),
    0 0 0 5px var(--maroon-deep),
    0 6px 14px rgba(15, 35, 64, .45);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: .4rem;
  box-sizing: border-box;
}
.ms-sgk__seal img {
  width: 100%;
  height: auto;
  max-height: 2.25rem;
  object-fit: contain;
  display: block;
}
.ms-sgk__bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .05rem;
  min-width: 8.25rem;
  padding: .5rem .85rem .5rem 1.25rem;
  border-radius: 0 .65rem .65rem 0;
  background: linear-gradient(180deg, #2c5282 0%, var(--maroon) 55%, var(--maroon-deep) 100%);
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.15;
  text-transform: uppercase;
  box-shadow: 0 5px 0 rgba(15, 35, 64, .55), 0 8px 16px rgba(0, 0, 0, .28);
}
.ms-sgk__bar strong {
  font-size: .9rem;
  letter-spacing: .06em;
  font-weight: 900;
}
html[dir="rtl"] .ms-sgk__bar {
  border-radius: .65rem 0 0 .65rem;
  padding: .5rem 1.25rem .5rem .85rem;
}
html[dir="rtl"] .ms-footer__base { padding-inline-end: 0; padding-inline-start: 5.5rem; }
.ms-social { display: flex; gap: .5rem; }
.ms-footer .ms-social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .15s ease, color .15s ease;
}
.ms-footer .ms-social a:hover {
  background: var(--gold);
  color: #fff;
}
.ms-social a {
  width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255,255,255,.12);
  display: grid; place-items: center; color: #fff;
}
.ms-social a svg { width: 1rem; height: 1rem; }
.ms-dock {
  position: fixed; inset-inline-end: 1rem; bottom: var(--ms-scrollnav-stack); z-index: 105; display: grid; gap: .45rem;
}
.ms-dock[data-side="left"],
.ms-dock.is-left {
  inset-inline-end: auto;
  inset-inline-start: 1rem;
  bottom: 5rem;
}
.ms-dock > .ms-a11y .ms-a11y__fab,
.ms-dock > .ms-wa > .ms-dock__wa,
.ms-dock > .ms-tel > .ms-dock__tel,
.ms-dock .ms-dock__wa,
.ms-dock .ms-dock__tel,
.ms-dock .ms-a11y__fab {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center;
  color: #fff; text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  transform: translateZ(0);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .2s ease,
    filter .2s ease;
}
.ms-dock .ms-a11y__fab:hover,
.ms-dock .ms-dock__wa:hover,
.ms-dock .ms-dock__tel:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
}
.ms-dock .ms-a11y__fab:active,
.ms-dock .ms-dock__wa:active,
.ms-dock .ms-dock__tel:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0,0,0,.2);
}
/* Inline links inside dock panels (KVKK etc.) must not inherit FAB circle styles. */
.ms-dock .ms-form__check a,
.ms-dock .ms-tel__form a,
.ms-dock .ms-wa__consent a {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  display: inline !important;
  place-items: unset !important;
  box-shadow: none !important;
  transform: none !important;
  background: none !important;
  color: var(--maroon);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0 !important;
}
.ms-dock__wa {
  appearance: none; border: 0; cursor: pointer; padding: 0;
  background: var(--ms-chrome-wa, #25d366);
  font: inherit;
}
.ms-dock__wa:hover { background: var(--ms-chrome-wa-hover, #1ebe57); }
.ms-dock__wa svg { width: 1.55rem; height: 1.55rem; display: block; }
.ms-dock__tel {
  appearance: none; border: 0; cursor: pointer; padding: 0;
  background: var(--maroon); font: inherit; color: #fff;
}
.ms-dock__tel:hover { background: var(--maroon-deep); }
.ms-dock__tel svg { width: 1.15rem; height: 1.15rem; display: block; }
.ms-dock__a11y,
.ms-a11y__fab {
  appearance: none; border: 0; cursor: pointer;
  background: var(--maroon);
  color: #fff;
  padding: 0;
}
.ms-dock__a11y:hover,
.ms-a11y__fab:hover { background: var(--maroon-deep); }
.ms-dock__a11y .ms-a11y__ico,
.ms-a11y__fab .ms-a11y__ico { width: 1.35rem; height: 1.35rem; display: block; }

/* Phone support popup */
.ms-tel {
  position: relative;
  display: grid;
  justify-items: end;
}
.ms-tel__panel {
  position: absolute;
  bottom: calc(100% + .7rem);
  inset-inline-end: 0;
  width: min(21.5rem, calc(100vw - 1.75rem));
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 35, 64, .22);
  z-index: 2;
  transform-origin: bottom right;
  animation: ms-wa-in .22s ease;
}
.ms-dock[data-side="left"] .ms-tel__panel,
.ms-dock.is-left .ms-tel__panel {
  inset-inline-end: auto;
  inset-inline-start: 0;
  transform-origin: bottom left;
}
.ms-tel__panel[hidden] { display: none !important; }
.ms-tel__head {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1rem 1.05rem 1.05rem;
  background: var(--maroon);
  color: #fff;
}
.ms-tel__head-ico {
  flex: 0 0 auto;
  width: 2.35rem; height: 2.35rem;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
  color: #fff;
}
.ms-tel__head-ico svg { width: 1.2rem; height: 1.2rem; }
.ms-tel__head-copy { min-width: 0; }
.ms-tel__head-copy strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: .2rem;
}
.ms-tel__head-copy p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.4;
  opacity: .95;
  font-weight: 500;
}
.ms-tel__body {
  padding: 1rem 1.05rem 1.1rem;
  display: grid;
  gap: .85rem;
}
.ms-tel__note {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
  color: #8a93a3;
}
.ms-tel__view[hidden] { display: none !important; }
.ms-tel__view { display: grid; gap: .75rem; }
.ms-tel__back {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: .25rem;
  padding: 0; margin: 0;
  color: var(--maroon); font: inherit; font-size: .84rem; font-weight: 700;
  width: fit-content;
}
.ms-tel__back svg { width: 1rem; height: 1rem; }
html[dir="rtl"] .ms-tel__back svg { transform: scaleX(-1); }
.ms-tel__card {
  position: relative;
  appearance: none; border: 0; cursor: pointer; font: inherit; text-align: start;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .7rem;
  padding: .75rem .85rem .75rem .95rem;
  background: #f4f6f8;
  border-radius: .65rem;
  text-decoration: none;
  color: inherit;
  width: auto !important;
  height: auto !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background .18s ease !important;
  overflow: hidden;
}
.ms-tel__card:hover,
.ms-tel__card:active {
  transform: none !important;
  box-shadow: none !important;
  background: #eef1f4;
}
.ms-tel__card-bar {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: var(--maroon);
  border-radius: 3px 0 0 3px;
}
.ms-tel__card-ico {
  width: 2.35rem; height: 2.35rem;
  color: var(--maroon);
  display: grid; place-items: center;
}
.ms-tel__card-ico svg { width: 1.45rem; height: 1.45rem; }
.ms-tel__card-text { min-width: 0; display: grid; gap: .1rem; }
.ms-tel__card-text strong {
  font-size: .95rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.25;
}
.ms-tel__card-text small {
  font-size: .78rem;
  color: #8a93a3;
  font-weight: 500;
}
.ms-tel__card-go {
  color: #9aa3b2;
  display: grid; place-items: center;
}
html[dir="rtl"] .ms-tel__card-go svg { transform: scaleX(-1); }
.ms-tel__form { display: grid; gap: .7rem; }
.ms-tel__form .ms-form__check {
  display: grid !important;
  grid-template-columns: 1.1rem 1fr;
  gap: .55rem;
  align-items: start;
  font-size: .78rem;
  font-weight: 500;
  color: #6b7380;
  line-height: 1.45;
}
.ms-tel__form .ms-form__check input {
  margin: .15rem 0 0;
  width: 1rem;
  height: 1rem;
  flex: none;
  accent-color: var(--maroon);
}
.ms-tel__form .ms-form__check span { min-width: 0; }
.ms-tel__form .ms-form__check a {
  color: #4a5568;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ms-tel__submit:disabled { opacity: .65; cursor: wait; }
.ms-tel__field {
  display: grid; gap: .3rem;
  font-size: .78rem; font-weight: 700; color: #4a5568;
}
.ms-tel__field input {
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: .55rem;
  padding: .65rem .75rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  color: #1f2937;
  background: #fff;
}
.ms-tel__field input:focus {
  outline: 2px solid color-mix(in srgb, var(--maroon) 35%, transparent);
  outline-offset: 1px;
  border-color: var(--maroon);
}
.ms-tel__times {
  margin: 0; padding: 0; border: 0;
  display: grid; gap: .45rem;
}
.ms-tel__times legend {
  padding: 0; margin: 0 0 .15rem;
  font-size: .78rem; font-weight: 700; color: #4a5568;
}
.ms-tel__times {
  grid-template-columns: 1fr 1fr;
}
.ms-tel__times legend { grid-column: 1 / -1; }
.ms-tel__chip {
  display: flex; align-items: center; gap: .4rem;
  cursor: pointer;
  font-size: .8rem; font-weight: 600; color: #374151;
  background: #f4f6f8;
  border: 1px solid transparent;
  border-radius: .5rem;
  padding: .5rem .55rem;
}
.ms-tel__chip input {
  margin: 0;
  accent-color: var(--maroon);
}
.ms-tel__chip:has(input:checked) {
  background: color-mix(in srgb, var(--maroon) 8%, #fff);
  border-color: color-mix(in srgb, var(--maroon) 28%, transparent);
  color: var(--maroon);
}
.ms-tel__error {
  margin: 0;
  font-size: .78rem;
  color: #b42318;
  font-weight: 600;
}
.ms-tel__submit {
  appearance: none; border: 0; cursor: pointer;
  background: var(--maroon); color: #fff;
  font: inherit; font-weight: 700; font-size: .9rem;
  padding: .75rem 1rem;
  border-radius: .65rem;
  transition: background .18s ease;
}
.ms-tel__submit:hover { background: var(--maroon-deep); }
.ms-tel__submit--ghost {
  background: #f4f6f8;
  color: var(--maroon);
}
.ms-tel__submit--ghost:hover { background: #eef1f4; }
.ms-tel__done {
  display: grid; gap: .55rem;
  text-align: center;
  padding: .35rem 0 .15rem;
}
.ms-tel__done strong {
  font-size: 1.05rem;
  color: var(--maroon);
}
.ms-tel__done p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.45;
  color: #6b7380;
}
.ms-dock__tel .ms-tel__fab-open,
.ms-dock__tel .ms-tel__fab-close {
  display: grid; place-items: center;
}
.ms-dock__tel .ms-tel__fab-open[hidden],
.ms-dock__tel .ms-tel__fab-close[hidden] {
  display: none !important;
}

/* WhatsApp chat popup */
.ms-wa {
  position: relative;
  display: grid;
  justify-items: end;
}
.ms-wa__panel {
  position: absolute;
  bottom: calc(100% + .7rem);
  inset-inline-end: 0;
  width: min(20.75rem, calc(100vw - 1.75rem));
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 35, 64, .22);
  z-index: 2;
  transform-origin: bottom right;
  animation: ms-wa-in .22s ease;
}
.ms-dock[data-side="left"] .ms-wa__panel,
.ms-dock.is-left .ms-wa__panel {
  inset-inline-end: auto;
  inset-inline-start: 0;
  transform-origin: bottom left;
}
.ms-wa__panel[hidden] { display: none !important; }
@keyframes ms-wa-in {
  from { opacity: 0; transform: translateY(.4rem) scale(.96); }
  to { opacity: 1; transform: none; }
}
.ms-wa__head {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1rem 1.05rem 1.05rem;
  background: #25d366;
  color: #fff;
}
.ms-wa__head-ico {
  flex: 0 0 auto;
  width: 2.35rem; height: 2.35rem;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
}
.ms-wa__head-ico svg { width: 1.25rem; height: 1.25rem; color: #fff; }
.ms-wa__head-copy { min-width: 0; }
.ms-wa__head-copy strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: .2rem;
}
.ms-wa__head-copy p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.4;
  opacity: .95;
  font-weight: 500;
}
.ms-wa__body {
  padding: 1rem 1.05rem 1.1rem;
  display: grid;
  gap: .85rem;
}
.ms-wa__note {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
  color: #8a93a3;
}
.ms-wa__consent {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: .55rem;
  align-items: start;
  cursor: pointer;
  font-size: .78rem;
  line-height: 1.45;
  color: #6b7380;
}
.ms-wa__consent input {
  margin: .15rem 0 0;
  width: 1rem; height: 1rem;
  accent-color: #25d366;
  cursor: pointer;
}
.ms-wa__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  width: auto; height: auto;
  border-radius: 0; display: inline;
  box-shadow: none; background: none; color: #4a5568;
  transform: none !important;
}
.ms-wa__consent a:hover,
.ms-wa__consent a:active {
  transform: none !important;
  box-shadow: none;
  color: #25d366;
}
.ms-wa__consent.is-shake {
  animation: ms-wa-shake .4s ease;
}
@keyframes ms-wa-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}
.ms-wa__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .7rem;
  padding: .75rem .85rem .75rem .95rem;
  background: #f4f6f8;
  border-radius: .65rem;
  text-decoration: none;
  color: inherit;
  width: auto !important;
  height: auto !important;
  border-radius: .65rem !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background .18s ease, opacity .18s ease !important;
  overflow: hidden;
}
.ms-wa__card:hover,
.ms-wa__card:active {
  transform: none !important;
  box-shadow: none !important;
  background: #eef1f4;
}
.ms-wa__card-bar {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: #25d366;
  border-radius: 3px 0 0 3px;
}
.ms-wa__card-ico {
  width: 2.35rem; height: 2.35rem;
  color: #25d366;
  display: grid; place-items: center;
}
.ms-wa__card-ico svg { width: 1.85rem; height: 1.85rem; }
.ms-wa__card-text { min-width: 0; display: grid; gap: .1rem; }
.ms-wa__card-text strong {
  font-size: .95rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.25;
}
.ms-wa__card-text small {
  font-size: .78rem;
  color: #8a93a3;
  font-weight: 500;
}
.ms-wa__card-go {
  width: 1.35rem; height: 1.35rem;
  color: #25d366;
  display: grid; place-items: center;
  opacity: .85;
}
.ms-wa__card-go svg { width: 1.15rem; height: 1.15rem; }
.ms-wa__card.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: auto;
}
.ms-dock__wa .ms-wa__fab-open,
.ms-dock__wa .ms-wa__fab-close {
  display: grid;
  place-items: center;
}
.ms-dock__wa .ms-wa__fab-open[hidden],
.ms-dock__wa .ms-wa__fab-close[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .ms-dock .ms-a11y__fab,
  .ms-dock .ms-dock__wa,
  .ms-dock .ms-dock__tel { transition: background .2s ease, box-shadow .2s ease, filter .2s ease; }
  .ms-dock .ms-a11y__fab:hover,
  .ms-dock .ms-a11y__fab:active,
  .ms-dock .ms-dock__wa:hover,
  .ms-dock .ms-dock__wa:active,
  .ms-dock .ms-dock__tel:hover,
  .ms-dock .ms-dock__tel:active { transform: none; }
  .ms-wa__panel,
  .ms-tel__panel { animation: none; }
  .ms-wa__consent.is-shake { animation: none; }
}
/* Hide leftover ThemeREX / old-theme scroll-to-top (duplicates .ms-goup). */
.trx_addons_scroll_to_top,
a.trx_addons_scroll_to_top,
#toTop,
.cd-top,
.scrollup,
.go-to-top,
.back-to-top {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.ms-scrollnav {
  position: fixed;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  gap: .4rem;
  justify-items: center;
}
.ms-goup,
.ms-godown {
  position: relative;
  width: 3.35rem; height: 3.35rem; padding: 0; border: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  background: var(--ms-chrome-up, var(--gold)); color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate3d(0, .55rem, 0) scale(.92);
  transition:
    opacity .3s ease,
    transform .35s ease,
    visibility .3s ease,
    background .2s ease;
}
.ms-goup.is-visible,
.ms-godown.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
.ms-goup:hover,
.ms-godown:hover { background: var(--maroon); }
.ms-goup__icon {
  position: relative; z-index: 1;
  display: block;
}
.ms-goup__ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: rotate(-90deg); pointer-events: none;
}
.ms-goup__ring-bg {
  fill: none; stroke: rgba(255,255,255,.28); stroke-width: 2.4;
}
.ms-goup__ring-fg {
  fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 113.1; stroke-dashoffset: 113.1;
  transition: stroke-dashoffset .12s linear;
}
@media (prefers-reduced-motion: reduce) {
  .ms-goup,
  .ms-godown {
    transition: opacity .2s ease, visibility .2s ease;
    transform: none;
  }
  .ms-goup__ring-fg { transition: none; }
}

/* RTL tweaks */

@media (max-width: 1280px) {
  .ms-docs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .ms-docs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ms-list__grid { grid-template-columns: repeat(3, 1fr); }
  .ms-guide__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-depts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .ms-depts__head { align-items: flex-start; }
  .ms-list__grid { grid-template-columns: 1fr 1fr; }
  .ms-docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-staff__inner, .ms-callme__grid, .ms-contact__grid,
  .ms-contact-cards__grid, .ms-transport__grid, .ms-careers__grid { grid-template-columns: 1fr; }
  .ms-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .ms-footer__brand { grid-column: 1 / -1; }
  .ms-cta-row__grid { grid-template-columns: 1fr; }
  .ms-cta-row { padding: .9rem 0 1rem; }
  .ms-cta-card { padding: .9rem 1.1rem; }
  .ms-cta-card p { margin-bottom: .65rem; }
  .ms-guide-entry__layout { grid-template-columns: minmax(0, 1fr); }
  /* Stacked CTAs need more room — keep both boxes in first look */
  .ms-hero__stage {
    height: clamp(180px, calc(100dvh - 28rem), 320px);
  }
  .ms-doc { grid-template-columns: 140px 1fr; }
  .ms-detail__layout { grid-template-columns: 1fr; }
  .ms-detail__aside { position: static; grid-template-columns: 1fr 1fr; }
  .ms-detail__gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .ms-map__frame { aspect-ratio: 4 / 3; min-height: 240px; }
  .ms-nav-toggle { display: inline-flex; margin-inline-start: auto; }
  .ms-tools {
    display: flex;
    order: 3;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: .4rem;
    min-width: 0;
  }
  .ms-search {
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
  }
  .ms-tools .ms-btn {
    flex: 0 0 auto;
    min-width: 0;
    padding: .65rem .95rem;
    font-size: .86rem;
  }
  .ms-head { flex-wrap: wrap; padding-bottom: .6rem; }
  .ms-top { display: none; }
  .ms-lang-menu { display: block; order: 2; margin-inline-start: auto; }
  .ms-nav-toggle { order: 2; margin-inline-start: -.45rem; }
  .ms-nav { order: 4; width: 100%; }
  .ms-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%; background: #fff;
    border-bottom: 1px solid var(--line); padding: .75rem 1rem 1rem; flex-direction: column; align-items: stretch;
  }
  .ms-nav.is-open { display: flex; }
  .ms-mega__panel { position: static; box-shadow: none; border: 0; max-height: none; padding-inline-start: .5rem; }
  .ms-list__grid, .ms-staff__grid { grid-template-columns: 1fr; }
  /* Keep departments as a compact 2-col mosaic — 1-col made 16 full-bleed cards feel broken. */
  .ms-depts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .ms-deptfeat { margin-bottom: .85rem; height: clamp(160px, 42vw, 220px); max-height: 220px; }
  .ms-deptfeat__label { inset-inline: .85rem; bottom: .85rem; font-size: 1.15rem; }
  .ms-deptcard__label { font-size: .82rem; inset-inline: .55rem; bottom: .5rem; }
  .ms-guide__grid { grid-template-columns: 1fr; }
  .ms-guide-home__head { flex-direction: column; align-items: flex-start; }
  .ms-docs-grid { grid-template-columns: 1fr 1fr; }
  .ms-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .ms-footer__brand { grid-column: auto; }
  .ms-footer__base { padding-inline-end: 4.5rem; }
  .ms-detail__aside { grid-template-columns: 1fr; }
  .ms-detail__gallery-grid { grid-template-columns: 1fr; }
  .ms-detail__copy { padding: 2.75rem 0 2.1rem; }
  .ms-top__meta span { display: none; }
  .ms-top__feedback {
    font-size: .8rem;
    padding: .5rem .85rem;
  }
  .ms-top__actions { gap: .4rem; }
  /* Stage grows to the tallest slide; slide art gets its own strip under the text. */
  .ms-hero__stage {
    height: auto;
    min-height: 420px;
    display: grid;
  }
  .ms-hero__slide {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
  }
  .ms-hero__copy {
    padding: 1.6rem 0 clamp(9rem, 40vw, 11rem);
    padding-inline-end: 0;
    justify-content: flex-start;
  }
  .ms-hero__copy h1 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .ms-hero__copy p { font-size: .98rem; }
}
@media (max-width: 560px) {
  .ms-docs-grid { grid-template-columns: 1fr; }
  .ms-docs-filter { gap: .4rem; }
  .ms-docs-filter__btn { font-size: .8rem; padding: .4rem .7rem; }
}


/* Online appointment — Meddata-style demo */
.ms-appt { padding: 1.25rem 0 3rem; }
.ms-appt__modes {
  display: inline-flex; gap: .35rem; margin: 0 0 1.25rem;
  padding: .3rem; background: #f2f5f9; border-radius: 999px; border: 1px solid var(--line);
}
.ms-appt__mode {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .86rem; color: var(--muted);
  padding: .5rem 1rem; border-radius: 999px;
}
.ms-appt__mode.is-on { background: var(--maroon); color: #fff; }
.ms-appt__steps {
  list-style: none; margin: 0 0 1.5rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .55rem 1rem;
}
.ms-appt__steps li {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--muted); font-weight: 700; font-size: .88rem;
}
.ms-appt__steps li span {
  width: 1.55rem; height: 1.55rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #eee; color: var(--muted); font-size: .78rem;
}
.ms-appt__steps li.is-on { color: var(--maroon); }
.ms-appt__steps li.is-on span { background: var(--maroon); color: #fff; }
.ms-appt__steps li.is-done { color: var(--gold); }
.ms-appt__steps li.is-done span { background: var(--gold); color: #fff; }
.ms-appt__panel { display: none; }
.ms-appt__panel.is-on { display: block; }
.ms-appt__picks {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem 1rem;
  margin-bottom: 1rem; padding: 1rem 1.15rem;
  background: #fff; border: 1px solid var(--line); border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(15, 35, 64,.05);
}
.ms-appt__picks[hidden] { display: none !important; }
.ms-appt__picks-body { flex: 1 1 14rem; min-width: 0; }
.ms-appt__picks-label {
  margin: 0 0 .2rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold);
}
.ms-appt__picks-text {
  margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--maroon); line-height: 1.35;
}
.ms-appt__picks-hint { margin: .45rem 0 0; }
.ms-appt__grid {
  display: grid;
  grid-template-columns: minmax(14rem, .85fr) minmax(16rem, 1.1fr) minmax(12rem, .9fr);
  gap: 1.25rem;
  align-items: start;
}
.ms-appt.is-prefilled .ms-appt__grid {
  grid-template-columns: minmax(16rem, 1.15fr) minmax(12rem, .95fr);
}
.ms-appt.is-prefilled .ms-appt__selects[hidden] { display: none !important; }
.ms-appt__selects,
.ms-appt__cal,
.ms-appt__slots,
.ms-appt__cancel,
.ms-appt__success {
  background: #fff; border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 10px 28px rgba(15, 35, 64,.05);
}
.ms-appt__selects label,
.ms-appt__patient label { display: grid; gap: .3rem; margin-bottom: .75rem; font-weight: 700; font-size: .88rem; color: var(--maroon); }
.ms-appt__selects select,
.ms-appt__patient input,
.ms-appt__cancel input {
  font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: .55rem; background: #fff; color: var(--ink);
}
.ms-appt__selects select:focus,
.ms-appt__patient input:focus,
.ms-appt__cancel input:focus {
  outline: 2px solid rgba(26, 54, 93,.22); border-color: var(--maroon);
}
.ms-appt__cal-head {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-bottom: .75rem;
}
.ms-appt__cal-head strong {
  font-size: 1rem; color: var(--maroon); text-transform: capitalize;
}
.ms-appt__cal-head button {
  appearance: none; border: 1px solid var(--line); background: #fff;
  width: 2rem; height: 2rem; border-radius: .5rem; cursor: pointer;
  font-size: 1.1rem; color: var(--maroon); font-weight: 700;
}
.ms-appt__cal-head button:hover { background: #f2f5f9; }
.ms-appt__cal-weekdays,
.ms-appt__cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem;
}
.ms-appt__cal-weekdays {
  margin-bottom: .35rem; font-size: .72rem; font-weight: 700; color: var(--muted); text-align: center;
}
.ms-appt__day {
  appearance: none; border: 0; background: #f2f5f9; color: var(--ink);
  aspect-ratio: 1; border-radius: .45rem; font: inherit; font-weight: 700; font-size: .86rem;
  cursor: pointer;
}
.ms-appt__day.is-empty { background: transparent; pointer-events: none; }
.ms-appt__day.is-disabled { opacity: .35; cursor: not-allowed; }
.ms-appt__day.is-on,
.ms-appt__day:not(.is-disabled):hover { background: var(--maroon); color: #fff; }
.ms-appt__slots-title {
  margin: 0 0 .65rem; font-weight: 800; color: var(--maroon); font-size: .95rem;
}
.ms-appt__slot-list { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 6rem; align-content: flex-start; }
.ms-appt__slot {
  appearance: none; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: .4rem .75rem; font: inherit; font-weight: 700; font-size: .82rem;
  cursor: pointer; color: var(--ink);
}
.ms-appt__slot.is-on,
.ms-appt__slot:hover { border-color: var(--maroon); background: var(--maroon); color: #fff; }
.ms-appt__actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.15rem; }
.ms-appt__summary {
  display: grid; gap: .2rem; margin-bottom: 1rem;
  padding: .9rem 1rem; border-radius: .75rem; background: #f2f5f9; border: 1px solid var(--line);
}
.ms-appt__summary strong { color: var(--maroon); font-size: 1.05rem; }
.ms-appt__summary span { color: var(--muted); font-size: .92rem; }
.ms-appt__patient { max-width: 36rem; }
.ms-appt__success h2 { margin: 0 0 .5rem; color: var(--maroon); }
.ms-appt__code {
  font-size: 1.35rem; font-weight: 900; letter-spacing: .08em;
  color: var(--maroon); margin: 1rem 0;
}
.ms-appt__foot { margin-top: 1.5rem; }
.ms-appt__foot a { color: var(--maroon); font-weight: 700; }
@media (max-width: 980px) {
  .ms-appt__grid { grid-template-columns: 1fr 1fr; }
  .ms-appt.is-prefilled .ms-appt__grid { grid-template-columns: 1fr 1fr; }
  .ms-appt__slots { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .ms-appt__grid,
  .ms-appt.is-prefilled .ms-appt__grid { grid-template-columns: 1fr; }
}

/* Su chatbot — talking face ball + worn stethoscope */
@property --gaze-x { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --gaze-y { syntax: "<number>"; inherits: true; initial-value: 0; }

.ms-chat {
  position: fixed;
  inset-inline-start: 1.1rem;
  bottom: 1.35rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
  font-family: inherit;
  isolation: isolate;
}
.ms-chat__launcher {
  appearance: none; border: 0; padding: 0; background: transparent;
  cursor: pointer; position: relative;
  z-index: 2;
  width: 5.75rem; height: 6.25rem;
  display: grid; place-items: center;
  padding-top: .45rem;
  padding-bottom: .55rem;
  filter: none !important;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.ms-chat__launcher:hover { transform: translateY(-3px) scale(1.04); }
.ms-chat__launcher:hover .ms-su { animation-play-state: paused; }
.ms-chat__launcher:hover .ms-su__skin { animation-play-state: paused; }

.ms-su {
  --gaze-x: 0;
  --gaze-y: 0;
  --lit-x: 35%;
  --lit-y: 28%;
  position: relative;
  width: 68px; height: 68px;
  overflow: visible;
  animation: ms-su-bob 4.8s ease-in-out infinite !important;
  will-change: transform;
  transition:
    transform .55s cubic-bezier(.22, 1, .36, 1),
    --gaze-x .55s cubic-bezier(.22, 1, .36, 1),
    --gaze-y .55s cubic-bezier(.22, 1, .36, 1);
  filter: none !important;
}
.ms-chat .ms-su__skin {
  animation: ms-su-turn 7.5s ease-in-out infinite !important;
}
.ms-chat .ms-su__ring {
  animation: ms-su-ring 2.8s ease-out infinite !important;
}
.ms-chat .ms-su__eye i {
  animation: ms-su-blink 3.2s ease-in-out infinite !important;
}
.ms-chat .ms-su.is-listening .ms-su__mouth i {
  animation: ms-su-smile 4.5s ease-in-out infinite !important;
}
.ms-su__head {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(
      circle at var(--lit-x) var(--lit-y),
      #fff 0%,
      var(--su-skin-hi) 42%,
      var(--su-skin-mid) 72%,
      var(--su-skin-deep) 100%
    );
  box-shadow:
    inset 0 0 0 3px var(--maroon),
    inset 0 0 0 5px rgba(255,255,255,.55),
    inset -10px -14px 22px color-mix(in srgb, var(--maroon-deep) 18%, transparent),
    inset 8px 10px 18px rgba(255,255,255,.55),
    0 10px 18px color-mix(in srgb, var(--maroon-deep) 28%, transparent);
  overflow: hidden;
  z-index: 2;
}
.ms-su__head::before {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(
      circle at calc(50% + (var(--gaze-x) * -22%)) calc(42% + (var(--gaze-y) * -14%)),
      transparent 0%, transparent 48%,
      color-mix(in srgb, var(--maroon-deep) 8%, transparent) 68%,
      color-mix(in srgb, var(--maroon-deep) 32%, transparent) 100%
    );
  pointer-events: none; z-index: 6;
}
.ms-su__head::after {
  content: "";
  position: absolute; inset: 6% 10% auto; height: 36%; border-radius: 50%;
  background: radial-gradient(
    circle at calc(40% + (var(--gaze-x) * -18%)) calc(40% + (var(--gaze-y) * -10%)),
    rgba(255,255,255,.72),
    color-mix(in srgb, var(--gold-soft) 20%, transparent) 42%,
    transparent 72%
  );
  pointer-events: none; z-index: 5; mix-blend-mode: soft-light;
}
.ms-su.is-look-left,
.ms-su.is-look-right,
.ms-su.is-look-up,
.ms-su.is-look-down,
.ms-su.is-talking,
.ms-su.is-writing,
.ms-su.is-noticing { animation-play-state: paused !important; }
.ms-su.is-look-left,
.ms-su.is-look-right,
.ms-su.is-look-up,
.ms-su.is-look-down,
.ms-su.is-talking,
.ms-su.is-writing { transform: translateY(-3px); }
.ms-su.is-noticing {
  transform: translateY(-5px) scale(1.06);
  transition: transform .28s cubic-bezier(.22, 1.4, .36, 1), --gaze-x .2s ease-out, --gaze-y .2s ease-out;
}
.ms-su.is-look-left { --gaze-x: -1; --gaze-y: .15; --lit-x: 22%; --lit-y: 30%; }
.ms-su.is-look-right { --gaze-x: 1; --gaze-y: .1; --lit-x: 68%; --lit-y: 30%; }
.ms-su.is-look-up { --gaze-x: -.15; --gaze-y: -1; --lit-x: 40%; --lit-y: 18%; }
.ms-su.is-look-down { --gaze-x: .2; --gaze-y: 1; --lit-x: 42%; --lit-y: 48%; }
.ms-su.is-look-left .ms-su__skin,
.ms-su.is-look-right .ms-su__skin,
.ms-su.is-look-up .ms-su__skin,
.ms-su.is-look-down .ms-su__skin,
.ms-su.is-talking .ms-su__skin,
.ms-su.is-writing .ms-su__skin,
.ms-su.is-noticing .ms-su__skin { animation: none; }
.ms-su.is-look-left .ms-su__skin { transform: translate3d(-8px, 1px, 0) scale(.98, 1); }
.ms-su.is-look-right .ms-su__skin { transform: translate3d(8px, 1px, 0) scale(.98, 1); }
.ms-su.is-look-up .ms-su__skin { transform: translate3d(-2px, -6px, 0) scale(1, .97); }
.ms-su.is-look-down .ms-su__skin { transform: translate3d(2px, 5px, 0) scale(1, .97); }
.ms-su.is-talking .ms-su__skin,
.ms-su.is-noticing .ms-su__skin {
  transform: translate3d(calc(var(--gaze-x) * 8px), calc(var(--gaze-y) * 6px), 0) scale(.98, .97);
  transition: transform .14s ease-out;
}
.ms-su.is-noticing .ms-su__eye { transform: scale(1.18); }
.ms-su.is-talking .ms-su__eye--l,
.ms-su.is-noticing .ms-su__eye--l {
  opacity: calc(.55 + (var(--gaze-x) + 1) * .225);
  transform: scale(calc(.82 + (var(--gaze-x) + 1) * .12));
}
.ms-su.is-talking .ms-su__eye--r,
.ms-su.is-noticing .ms-su__eye--r {
  opacity: calc(.55 + (1 - var(--gaze-x)) * .225);
  transform: scale(calc(.82 + (1 - var(--gaze-x)) * .12));
}
.ms-su.is-noticing .ms-su__eye--l,
.ms-su.is-noticing .ms-su__eye--r { transform: scale(1.18); opacity: 1; }
.ms-su.is-look-left .ms-su__eye--l,
.ms-su.is-look-right .ms-su__eye--r { opacity: .55; transform: scale(.82); }
.ms-su.is-look-left .ms-su__eye--r,
.ms-su.is-look-right .ms-su__eye--l { transform: scale(1.06); }

.ms-su__skin {
  position: absolute; inset: 10px; border-radius: 50%;
  transform-origin: 50% 50%;
  animation: ms-su-turn 7.5s ease-in-out infinite;
  will-change: transform;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.ms-su__ring {
  position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--gold) 45%, transparent);
  animation: ms-su-ring 2.8s ease-out infinite;
  pointer-events: none; z-index: 7;
}
.ms-chat.is-open .ms-su__ring { animation: none; opacity: 0; }
.ms-su__glow {
  position: absolute; inset: 8% 12% auto; height: 38%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold-soft) 28%, transparent), transparent 70%);
  pointer-events: none; z-index: 1;
}

/* Logo ribbon M hat — real Mamaksu mark */
.ms-su__hat {
  position: absolute;
  left: 50%;
  top: -18px;
  width: 52px;
  height: 41px;
  margin-left: -26px;
  z-index: 9;
  pointer-events: none;
  transform:
    translate3d(calc(var(--gaze-x) * 4px), calc(var(--gaze-y) * 2px), 0)
    rotate(calc(var(--gaze-x) * -4deg));
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  filter: none;
  box-shadow: none;
  background: transparent;
}
.ms-su.is-noticing .ms-su__hat {
  transform:
    translate3d(calc(var(--gaze-x) * 4px), calc(var(--gaze-y) * 2px - 1px), 0)
    rotate(calc(var(--gaze-x) * -4deg))
    scale(1.04);
}
.ms-su__hat-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
  -webkit-user-drag: none;
  background: transparent;
  box-shadow: none;
  /* Keep original Mamaksu red ribbon — do not tint to site navy. */
  filter: none;
  transition: filter .2s ease;
}
.ms-su.is-talking .ms-su__hat,
.ms-su.is-writing .ms-su__hat {
  animation: ms-su-hat-bob .85s ease-in-out infinite;
}

/* Stethoscope worn around the neck — face stays open */
.ms-su__steth {
  position: absolute;
  left: 50%; top: 50%;
  width: 96px; height: 96px;
  margin: -48px 0 0 -48px;
  z-index: 8;
  pointer-events: none;
  transform:
    translate3d(calc(var(--gaze-x) * 3px), calc(var(--gaze-y) * 2px), 0)
    rotate(calc(var(--gaze-x) * -3deg));
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  filter: none;
  box-shadow: none;
  background: transparent;
}
.ms-su.is-noticing .ms-su__steth {
  transform:
    translate3d(calc(var(--gaze-x) * 3px), calc(var(--gaze-y) * 2px - 1px), 0)
    rotate(calc(var(--gaze-x) * -3deg))
    scale(1.03);
}
.ms-su__steth-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ms-su.is-talking .ms-su__steth,
.ms-su.is-writing .ms-su__steth {
  animation: ms-su-steth-sway 1.1s ease-in-out infinite;
}

.ms-su__face {
  position: absolute; left: 0; right: 0; top: 38%; bottom: 12%;
  height: auto; z-index: 3;
}
.ms-su__eye {
  position: absolute; top: 18%;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--su-ink); overflow: hidden;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), opacity .55s ease;
}
.ms-su__eye--l { left: 28%; }
.ms-su__eye--r { right: 28%; }
.ms-su__eye i {
  position: absolute; inset: 0; display: block;
  background: var(--su-ink); border-radius: 50%;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.25);
  transform-origin: center;
  animation: ms-su-blink 3.2s ease-in-out infinite;
}
.ms-su.is-blink .ms-su__eye i { animation: none; transform: scaleY(.06); }
.ms-su__eye--r i { animation-delay: .12s; }
.ms-su__mouth {
  position: absolute; left: 50%; bottom: 16%;
  width: 18px; height: 10px; margin-left: -9px; overflow: hidden;
}
.ms-su__mouth i {
  display: block; width: 18px; height: 18px; margin-top: -10px;
  border: 2.5px solid var(--su-ink); border-radius: 50%;
  border-color: transparent transparent var(--su-ink);
  transform-origin: center; transform: scaleY(1.05);
}
.ms-su.is-listening .ms-su__mouth i { animation: ms-su-smile 4.5s ease-in-out infinite; }
.ms-su.is-talking .ms-su__mouth i {
  animation: ms-su-smile 1.2s ease-in-out infinite;
  transform: scaleY(1.12);
}
.ms-su.is-writing .ms-su__mouth {
  width: 10px; height: 4px; margin-left: -5px; bottom: 22%; overflow: visible;
}
.ms-su.is-writing .ms-su__mouth i {
  animation: none; width: 10px; height: 3px; margin-top: 0;
  border: 0; border-radius: 999px; background: var(--su-ink); transform: none;
}
.ms-su.is-writing .ms-su__eye { top: 28%; transform: scaleY(.82); }
.ms-su.is-writing .ms-su__skin { transform: translate3d(2px, 3px, 0) scale(.98, .97); }

/* Mini avatar in panel header — same Su (M hat + worn steth) */
.ms-chat__avatar {
  width: 2.65rem; height: 2.65rem;
  display: grid; place-items: center;
  flex-shrink: 0; overflow: visible;
  margin-top: .15rem;
}
.ms-su--mini {
  width: 2.35rem; height: 2.35rem; animation: none;
}
.ms-su--mini .ms-su__head {
  box-shadow:
    inset 0 0 0 2px var(--gold-soft),
    inset -4px -6px 10px color-mix(in srgb, var(--maroon-deep) 16%, transparent),
    inset 3px 4px 8px rgba(255,255,255,.5);
}
.ms-su--mini .ms-su__skin { inset: 4px; animation: none; }
.ms-su--mini .ms-su__glow { inset: 10% 14% auto; height: 34%; }
.ms-su--mini .ms-su__eye { width: 4px; height: 4px; top: 22%; }
.ms-su--mini .ms-su__mouth { width: 8px; height: 5px; margin-left: -4px; bottom: 18%; }
.ms-su--mini .ms-su__mouth i { width: 8px; height: 8px; margin-top: -5px; border-width: 1.5px; }
.ms-su--mini .ms-su__ring { display: none; }
.ms-su--mini .ms-su__hat {
  top: -9px;
  width: 22px; height: 17px;
  margin-left: -11px;
  filter: none;
  box-shadow: none;
}
.ms-su--mini .ms-su__steth {
  width: 42px; height: 42px;
  margin: -21px 0 0 -21px;
  filter: none;
  box-shadow: none;
}
.ms-su--mini.is-talking .ms-su__hat,
.ms-su--mini.is-writing .ms-su__hat,
.ms-su--mini.is-talking .ms-su__steth,
.ms-su--mini.is-writing .ms-su__steth { animation: none; }

.ms-chat__cloud {
  position: absolute;
  inset-inline-start: 5.5rem;
  bottom: 3.6rem;
  transform: translateY(8px) scale(.96);
  min-width: max-content; max-width: 180px;
  padding: .45rem .7rem; border-radius: 12px;
  background: #fff; color: var(--ink);
  font-size: .78rem; font-weight: 700; line-height: 1.25;
  box-shadow: 0 0 0 1px rgba(26, 54, 93,.1), 0 10px 24px rgba(15, 35, 64,.16);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s cubic-bezier(.22,1,.36,1), visibility .25s;
  z-index: 2; cursor: pointer;
}
.ms-chat__cloud[hidden] {
  display: block !important; opacity: 0 !important;
  visibility: hidden !important; pointer-events: none !important;
}
.ms-chat__cloud.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0) scale(1);
}
.ms-chat__cloud::after {
  content: "";
  position: absolute; inset-inline-start: -5px; bottom: 10px;
  width: 10px; height: 10px; background: #fff;
  border-inline-start: 1px solid rgba(26, 54, 93,.1);
  border-bottom: 1px solid rgba(26, 54, 93,.1);
  transform: rotate(45deg);
}
html[dir="rtl"] .ms-chat__cloud::after {
  inset-inline-start: auto; inset-inline-end: -5px; transform: rotate(-45deg);
}
.ms-chat.is-open .ms-chat__cloud { opacity: 0 !important; pointer-events: none !important; }

.ms-chat__panel {
  width: min(360px, calc(100vw - 1.75rem));
  height: min(520px, calc(100vh - 7rem));
  display: flex; flex-direction: column;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(26, 54, 93,.1), 0 22px 48px rgba(15, 35, 64,.2);
  animation: ms-chat-rise .28s cubic-bezier(.22,1,.36,1);
}
.ms-chat__panel[hidden] { display: none !important; }
.ms-chat__head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 1rem .9rem .85rem;
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 55%, var(--maroon-mid) 100%);
  color: #fff;
  overflow: visible;
}
.ms-chat__who { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.ms-chat__who strong { display: block; font-size: .95rem; font-weight: 800; color: #fff; }
.ms-chat__who small { display: block; font-size: .72rem; color: rgba(255,255,255,.78); }
.ms-chat__iconbtn {
  appearance: none; border: 0; width: 2rem; height: 2rem; border-radius: .5rem;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.ms-chat__iconbtn:hover { background: rgba(255,255,255,.2); }
.ms-chat__note {
  padding: .45rem .85rem; font-size: .72rem; font-weight: 600;
  color: var(--muted);
  background: color-mix(in srgb, var(--maroon) 6%, #fff);
  border-bottom: 1px solid var(--line);
}
.ms-chat__messages {
  flex: 1; overflow: auto; padding: .9rem;
  display: flex; flex-direction: column; gap: .55rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--maroon) 4%, #fff), #fff);
}
.ms-chat__bubble {
  max-width: 88%; padding: .65rem .75rem; border-radius: 12px;
  font-size: .875rem; line-height: 1.45;
  animation: ms-chat-rise .22s ease;
}
.ms-chat__bubble--bot {
  align-self: flex-start;
  background: color-mix(in srgb, var(--maroon) 12%, #fff);
  color: var(--su-ink);
  border-bottom-left-radius: 4px;
}
.ms-chat__bubble--user {
  align-self: flex-end; background: var(--maroon); color: #fff;
  border-bottom-right-radius: 4px;
}
.ms-chat__bubble.is-typing { opacity: .7; font-style: italic; }
.ms-chat__links {
  display: flex; flex-wrap: wrap; gap: .35rem .55rem; margin-top: .45rem;
}
.ms-chat__deeplink {
  display: inline-block;
  font-weight: 700; font-size: .8rem; color: var(--maroon); text-decoration: none;
}
.ms-chat__deeplink:hover { color: var(--gold); text-decoration: underline; }
.ms-chat__suggestions { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 .75rem .65rem; }
.ms-chat__chip {
  appearance: none; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: .35rem .7rem;
  font: inherit; font-size: .75rem; font-weight: 700; color: var(--ink); cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none;
}
.ms-chat__chip:hover { background: color-mix(in srgb, var(--maroon) 6%, #fff); border-color: var(--maroon); color: var(--maroon); }
.ms-chat__chip--link {
  background: color-mix(in srgb, var(--maroon) 6%, #fff);
  border-color: color-mix(in srgb, var(--maroon-deep) 28%, transparent);
  color: var(--maroon);
}
.ms-chat__chip--link:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.ms-chat__composer {
  display: flex; gap: .45rem; padding: .7rem;
  border-top: 1px solid var(--line); background: #fff;
}
.ms-chat__composer input {
  flex: 1; border: 1px solid var(--line); border-radius: 10px;
  padding: .65rem .75rem; font: inherit; background: #f2f5f9;
}
.ms-chat__composer input:focus {
  outline: 0; border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(26, 54, 93,.14); background: #fff;
}
.ms-chat__send {
  appearance: none; border: 0; width: 2.625rem; height: 2.625rem; border-radius: 10px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ms-chat__send:hover { filter: brightness(1.06); }
.ms-chat__send svg { width: 1rem; height: 1rem; }

@keyframes ms-chat-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes ms-su-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes ms-su-turn {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-7px, 1px, 0) scale(.985, 1); }
  40% { transform: translate3d(-3px, -2px, 0); }
  55% { transform: translate3d(0, 1px, 0); }
  72% { transform: translate3d(6px, 1px, 0) scale(.985, 1); }
  88% { transform: translate3d(-5px, 2px, 0) scale(.99, 1); }
}
@keyframes ms-su-ring {
  0% { transform: scale(.92); opacity: .7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ms-su-blink {
  0%, 38%, 46%, 100% { transform: scaleY(1); }
  42% { transform: scaleY(.06); }
}
@keyframes ms-su-smile {
  0%, 100% { transform: scaleY(1.02); }
  50% { transform: scaleY(1.14); }
}
@keyframes ms-su-steth-sway {
  0%, 100% { transform: translate3d(calc(var(--gaze-x) * 3px), calc(var(--gaze-y) * 2px), 0) rotate(calc(var(--gaze-x) * -3deg - 1.5deg)); }
  50% { transform: translate3d(calc(var(--gaze-x) * 3px), calc(var(--gaze-y) * 2px), 0) rotate(calc(var(--gaze-x) * -3deg + 2deg)); }
}
@keyframes ms-su-hat-bob {
  0%, 100% {
    transform: translate3d(calc(var(--gaze-x) * 4px), calc(var(--gaze-y) * 2px), 0) rotate(calc(var(--gaze-x) * -4deg - 1deg));
  }
  50% {
    transform: translate3d(calc(var(--gaze-x) * 4px), calc(var(--gaze-y) * 2px - 1px), 0) rotate(calc(var(--gaze-x) * -4deg + 1.5deg));
  }
}
/* Keep floating chrome out of the first viewport until the user scrolls. */
.ms-dock,
.ms-chat,
.ms-scrollnav,
.ms-a11y__fab:not(.ms-dock__a11y) {
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
html:not(.ms-scrolled) .ms-dock:not(:has([aria-expanded="true"])),
html:not(.ms-scrolled) .ms-chat:not(.is-open),
html:not(.ms-scrolled) .ms-scrollnav,
html:not(.ms-scrolled) .ms-a11y:not(:has([aria-expanded="true"])) .ms-a11y__fab:not(.ms-dock__a11y) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, .75rem, 0);
}
@media (max-width: 720px) {
  .ms-chat { inset-inline-start: .5rem; bottom: max(.5rem, env(safe-area-inset-bottom)); }
  .ms-chat__cloud { max-width: 140px; font-size: .72rem; }
}
html.ms-a11y-mono .ms-su__head {
  background: radial-gradient(circle at var(--lit-x) var(--lit-y), #fff 0%, #f2f2f2 42%, #d8d8d8 72%, #bdbdbd 100%);
}
html.ms-a11y-mono .ms-chat__panel .ms-chat__head,
html.ms-a11y-cb .ms-chat__panel .ms-chat__head,
html.ms-a11y-sat .ms-chat__panel .ms-chat__head,
html.ms-a11y-bri .ms-chat__panel .ms-chat__head {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 55%, var(--maroon-mid) 100%);
}
@media (prefers-reduced-motion: reduce) {
  /* Keep Su’s idle motion; only calm page chrome elsewhere. */
  .ms-su__ring { animation: none !important; }
  .ms-chat__launcher:hover { transform: none; }
}

/* ——— Accessibility menu ——— */
.ms-a11y {
  --a11y-bg: color-mix(in srgb, var(--maroon) 5%, #fff);
  --a11y-line: var(--line);
  --a11y-soft: color-mix(in srgb, var(--maroon) 8%, #fff);
  position: relative;
  z-index: 80;
  font-family: inherit;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: visible;
}
.ms-a11y__panel,
.ms-a11y__structure,
.ms-a11y__dict,
.ms-dock__a11y,
.ms-a11y__fab {
  pointer-events: auto;
}
.ms-a11y__fab {
  /* fallback if not moved into dock */
  position: fixed;
  inset-inline-end: 1rem;
  bottom: calc(var(--ms-scrollnav-stack) + 6.4rem);
  z-index: 61;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.ms-a11y[data-side="left"] .ms-a11y__fab:not(.ms-dock__a11y),
.ms-a11y.is-left .ms-a11y__fab:not(.ms-dock__a11y) {
  inset-inline-end: auto;
  inset-inline-start: 1rem;
  bottom: calc(5rem + 6.4rem);
}
.ms-dock .ms-a11y__fab {
  position: static;
  inset: auto;
  z-index: auto;
}
.ms-a11y__panel {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: var(--ms-scrollnav-stack);
  z-index: 120;
  width: min(22.5rem, calc(100vw - 1.5rem));
  max-height: min(78vh, 40rem);
  display: flex;
  flex-direction: column;
  background: var(--a11y-bg);
  border: 1px solid var(--a11y-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 48px color-mix(in srgb, var(--maroon-deep) 28%, transparent);
  animation: ms-a11y-rise .22s ease;
}
.ms-a11y[data-side="left"] .ms-a11y__panel,
.ms-a11y.is-left .ms-a11y__panel {
  inset-inline-end: auto;
  inset-inline-start: 1rem;
  bottom: 5rem;
}
.ms-a11y.is-xl .ms-a11y__panel {
  width: min(28rem, calc(100vw - 1.2rem));
  max-height: min(86vh, 48rem);
}
.ms-a11y.is-xl .ms-a11y__tile { min-height: 5.2rem; font-size: .82rem; }
.ms-a11y__panel[hidden] { display: none !important; }
.ms-a11y__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .85rem 1rem;
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 55%, var(--maroon-mid) 100%);
  color: #fff;
}
.ms-a11y__head strong {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.ms-a11y__head-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.ms-a11y__lang {
  position: relative;
}
.ms-a11y__lang > summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.12);
}
.ms-a11y__lang > summary::-webkit-details-marker { display: none; }
.ms-a11y__lang > summary::after { content: " ▾"; font-size: .65em; }
.ms-a11y__lang-menu {
  position: absolute;
  top: calc(100% + .35rem);
  inset-inline-end: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  min-width: 4.5rem;
  overflow: hidden;
  z-index: 2;
}
.ms-a11y__lang-menu a {
  display: block;
  padding: .45rem .7rem;
  color: #222;
  text-decoration: none;
  font-weight: 700;
  font-size: .8rem;
}
.ms-a11y__lang-menu a:hover { background: var(--a11y-soft); color: var(--maroon); }
.ms-a11y__close {
  appearance: none; border: 0; background: transparent;
  color: #fff; font-size: 1.45rem; line-height: 1;
  width: 1.8rem; height: 1.8rem; cursor: pointer;
  border-radius: 8px;
}
.ms-a11y__close:hover { background: rgba(255,255,255,.16); }
.ms-a11y__body {
  padding: .85rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.ms-a11y__profiles {
  background: #fff;
  border: 1px solid var(--a11y-line);
  border-radius: 12px;
  margin-bottom: .65rem;
}
.ms-a11y__profiles > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem .9rem;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #333;
}
.ms-a11y__profiles > summary::-webkit-details-marker { display: none; }
.ms-a11y__profiles > summary::after {
  content: "▾";
  margin-inline-start: auto;
  color: #888;
}
.ms-a11y__profiles-ico {
  width: 1.55rem; height: 1.55rem; border-radius: 50%;
  background: var(--maroon); color: #fff;
  display: grid; place-items: center; flex: 0 0 auto;
}
.ms-a11y__profiles-ico .ms-a11y__ico { width: .9rem; height: .9rem; }
.ms-a11y__profiles-list {
  display: grid; gap: .25rem;
  padding: 0 .55rem .65rem;
}
.ms-a11y__profiles-list button {
  appearance: none; border: 1px solid var(--a11y-line); background: #fff;
  border-radius: 10px; padding: .55rem .7rem;
  text-align: start; font: inherit; font-size: .82rem; font-weight: 600;
  color: #333; cursor: pointer;
}
.ms-a11y__profiles-list button:hover {
  border-color: var(--maroon); color: var(--maroon); background: var(--a11y-soft);
}
.ms-a11y__row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: #fff; border: 1px solid var(--a11y-line); border-radius: 12px;
  padding: .75rem .9rem; margin-bottom: .85rem;
  font-size: .88rem; font-weight: 700; color: #333; cursor: pointer;
  position: relative;
}
.ms-a11y__row input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.ms-a11y__switch {
  width: 2.5rem; height: 1.35rem; border-radius: 999px;
  background: #cfd4d9; position: relative; flex: 0 0 auto;
  transition: background .18s ease;
}
.ms-a11y__switch::after {
  content: "";
  position: absolute; top: .15rem; inset-inline-start: .15rem;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .18s ease;
}
.ms-a11y__row input:checked + .ms-a11y__switch { background: var(--maroon); }
.ms-a11y__row input:checked + .ms-a11y__switch::after {
  transform: translateX(1.15rem);
}
html[dir="rtl"] .ms-a11y__row input:checked + .ms-a11y__switch::after {
  transform: translateX(-1.15rem);
}
.ms-a11y__section {
  margin: .35rem 0 .55rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ms-a11y__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  margin-bottom: .85rem;
}
.ms-a11y__tile {
  appearance: none;
  border: 1px solid var(--a11y-line);
  background: #fff;
  border-radius: 12px;
  min-height: 4.5rem;
  padding: .65rem .45rem .55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  cursor: pointer;
  position: relative;
  color: var(--ink);
  transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
}
.ms-a11y__tile:hover {
  border-color: color-mix(in srgb, var(--maroon) 45%, transparent);
  color: var(--maroon);
}
.ms-a11y__tile.is-on {
  border-color: var(--maroon);
  color: var(--maroon);
  background: var(--a11y-soft);
  box-shadow: inset 0 0 0 1px var(--maroon);
}
.ms-a11y__tile-ico {
  width: 1.55rem; height: 1.55rem;
  display: grid; place-items: center;
}
.ms-a11y__tile-ico svg { width: 100%; height: 100%; display: block; }
.ms-a11y__tile-label {
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
.ms-a11y__tile-level {
  position: absolute;
  top: .3rem;
  inset-inline-end: .4rem;
  font-size: .68rem;
  font-weight: 800;
  color: var(--maroon);
}
.ms-a11y__move {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  margin-bottom: .75rem;
}
.ms-a11y__move-btn {
  appearance: none;
  border: 1px solid var(--a11y-line);
  background: #fff;
  border-radius: 12px;
  padding: .7rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  color: #666;
  cursor: pointer;
}
.ms-a11y__move-btn.is-on {
  border-color: var(--maroon);
  color: var(--maroon);
  background: var(--a11y-soft);
  box-shadow: inset 0 0 0 1px var(--maroon);
}
.ms-a11y__reset {
  appearance: none;
  width: 100%;
  border: 1px dashed color-mix(in srgb, var(--maroon) 28%, var(--line));
  background: transparent;
  border-radius: 10px;
  padding: .65rem;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  color: #666;
  cursor: pointer;
}
.ms-a11y__reset:hover { color: var(--maroon); border-color: var(--maroon); }

.ms-a11y__guide {
  position: fixed; left: 0; right: 0; height: 3px; z-index: 95;
  background: var(--maroon); pointer-events: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--maroon) 15%, transparent);
  transform: translateY(-50%);
}
.ms-a11y__mask {
  position: fixed; inset: 0; z-index: 94; pointer-events: none;
  display: flex; flex-direction: column;
}
.ms-a11y__mask[hidden],
.ms-a11y__guide[hidden] {
  display: none !important;
}
.ms-a11y__mask-top,
.ms-a11y__mask-bot { background: rgba(0,0,0,.55); }
.ms-a11y__mask-gap { flex: 0 0 auto; }
.ms-a11y__magnifier {
  position: fixed;
  z-index: 120;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  border: 3px solid var(--maroon);
  box-shadow:
    0 10px 28px rgba(0,0,0,.35),
    inset 0 0 0 2px rgba(255,255,255,.55);
  pointer-events: none;
  background: #fff;
  overflow: hidden;
  contain: strict;
}
.ms-a11y__magnifier[hidden] { display: none !important; }
.ms-a11y__magnifier-glass {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
  transform-origin: 0 0;
}
.ms-a11y__magnifier-page {
  position: relative;
  margin: 0 !important;
  overflow: visible !important;
  pointer-events: none !important;
}
.ms-a11y__magnifier-page .ms-header {
  position: absolute !important;
  top: 0; left: 0; right: 0;
}
.ms-a11y__magnifier-cross {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--maroon), var(--maroon)) center/18px 1px no-repeat,
    linear-gradient(var(--maroon), var(--maroon)) center/1px 18px no-repeat;
  opacity: .35;
  border-radius: 50%;
}
.ms-a11y__structure {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: var(--ms-scrollnav-stack);
  z-index: 97;
  width: min(18rem, calc(100vw - 1.5rem));
  max-height: 50vh;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--maroon-deep) 28%, transparent);
  display: flex; flex-direction: column; overflow: hidden;
}
.ms-a11y[data-side="left"] .ms-a11y__structure,
.ms-a11y.is-left .ms-a11y__structure {
  inset-inline-end: auto; inset-inline-start: 1rem;
  bottom: 5rem;
}
.ms-a11y__structure[hidden] { display: none !important; }
.ms-a11y__structure header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem .85rem;
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 55%, var(--maroon-mid) 100%);
  color: #fff;
}
.ms-a11y__structure header button {
  appearance: none; border: 0; background: transparent; color: #fff;
  font-size: 1.3rem; cursor: pointer;
}
.ms-a11y__structure nav {
  overflow: auto; padding: .55rem .7rem .8rem;
  display: grid; gap: .25rem;
}
.ms-a11y__structure a {
  color: #333; text-decoration: none; font-size: .82rem; font-weight: 600;
  padding: .35rem .4rem; border-radius: 6px;
}
.ms-a11y__structure a:hover { background: var(--a11y-soft, #f2f5f9); color: var(--maroon); }
.ms-a11y__structure a.is-h1 { font-size: .95rem; font-weight: 800; }
.ms-a11y__structure a.is-h2 { padding-inline-start: .7rem; }
.ms-a11y__structure a.is-h3 { padding-inline-start: 1.2rem; font-weight: 500; }
.ms-a11y__dict {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: var(--ms-scrollnav-stack);
  z-index: 97;
  width: min(16rem, calc(100vw - 1.5rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--maroon-deep) 28%, transparent);
}
.ms-a11y__dict[hidden] { display: none !important; }
.ms-a11y__dict p { margin: 0 0 .65rem; font-size: .85rem; line-height: 1.4; }
.ms-a11y__dict button {
  appearance: none; border: 1px solid var(--line); background: #fff;
  border-radius: 8px; padding: .4rem .7rem; font: inherit; font-weight: 700;
  color: var(--maroon); cursor: pointer;
}
.ms-a11y__dict button:hover {
  background: var(--maroon); color: #fff; border-color: var(--maroon);
}

/* Page effect classes */
body.ms-a11y-font,
body.ms-a11y-font * {
  font-family: Verdana, Arial, "Segoe UI", sans-serif !important;
}
body.ms-a11y-cursor,
body.ms-a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' stroke='%23fff' stroke-width='1' d='M5 3l12 8.5-5.2 1.3L15 21l-2.2.8-3.1-7.8L5 17V3z'/%3E%3C/svg%3E") 4 2, auto !important;
}
body.ms-a11y-hide-images img:not(.ms-su__hat-img),
body.ms-a11y-hide-images picture,
body.ms-a11y-hide-images video {
  visibility: hidden !important;
}
body.ms-a11y-links a {
  outline: 2px solid #0b57d0 !important;
  outline-offset: 2px !important;
  text-decoration: underline !important;
  background: rgba(255, 235, 59, .35) !important;
}
body.ms-a11y-buttons button:not(.ms-chat__launcher):not(.ms-chat__iconbtn):not(.ms-chat__send):not(.ms-chat__chip):not(.ms-dock__a11y):not(.ms-dock__wa):not(.ms-dock__tel):not(.ms-tel__card):not(.ms-tel__back):not(.ms-tel__submit):not(.ms-goup):not(.ms-godown):not(.ms-a11y__fab):not(.ms-a11y__tile):not(.ms-a11y__move-btn):not(.ms-a11y__reset):not(.ms-a11y__close),
body.ms-a11y-buttons .ms-btn,
body.ms-a11y-buttons [type="submit"]:not(.ms-chat__send),
body.ms-a11y-buttons [role="button"]:not(.ms-chat__launcher) {
  outline: 2px solid var(--maroon) !important;
  outline-offset: 2px !important;
}
body.ms-a11y-titles h1,
body.ms-a11y-titles h2,
body.ms-a11y-titles h3,
body.ms-a11y-titles h4 {
  outline: 2px dashed var(--maroon) !important;
  outline-offset: 3px !important;
  background: color-mix(in srgb, var(--maroon) 6%, transparent) !important;
}
/* Stop animations site-wide (incl. Su / hero / chrome). */
body.ms-a11y-stop-anim,
body.ms-a11y-stop-anim *,
body.ms-a11y-stop-anim *::before,
body.ms-a11y-stop-anim *::after {
  animation: none !important;
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
/* Beat Su’s !important idle loops */
body.ms-a11y-stop-anim .ms-chat .ms-su,
body.ms-a11y-stop-anim .ms-chat .ms-su__skin,
body.ms-a11y-stop-anim .ms-chat .ms-su__ring,
body.ms-a11y-stop-anim .ms-chat .ms-su__eye i,
body.ms-a11y-stop-anim .ms-chat .ms-su__mouth i,
body.ms-a11y-stop-anim .ms-chat .ms-su__hat,
body.ms-a11y-stop-anim .ms-chat .ms-su__steth,
body.ms-a11y-stop-anim .ms-su,
body.ms-a11y-stop-anim .ms-su * {
  animation: none !important;
  transition: none !important;
}
body.ms-a11y-stop-anim .ms-hero__slide {
  transition: none !important;
}
body.ms-a11y-stop-anim .ms-hero__slide.is-on .ms-hero__copy > *,
body.ms-a11y-stop-anim .ms-detail__copy > * {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
body.ms-a11y-focus *:focus {
  outline: 3px solid #ffbf00 !important;
  outline-offset: 3px !important;
}
body.ms-a11y-tooltips [title]:hover::after,
body.ms-a11y-tooltips [aria-label]:hover::after {
  content: attr(title);
  position: absolute;
  z-index: 9999;
  background: #222;
  color: #fff;
  padding: .35rem .55rem;
  border-radius: 6px;
  font-size: .75rem;
  max-width: 16rem;
  white-space: normal;
  pointer-events: none;
}
@keyframes ms-a11y-rise {
  from { opacity: 0; transform: translateY(.5rem) scale(.98); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 720px) {
  .ms-a11y__panel {
    inset-inline-end: .65rem;
    bottom: var(--ms-scrollnav-stack);
    max-height: min(72vh, 36rem);
  }
  .ms-a11y[data-side="left"] .ms-a11y__panel,
  .ms-a11y.is-left .ms-a11y__panel {
    bottom: 4.5rem;
  }
  .ms-dock { bottom: var(--ms-scrollnav-stack); }
  .ms-dock[data-side="left"],
  .ms-dock.is-left { bottom: 4.5rem; }
  .ms-a11y.is-left ~ .ms-chat,
  body:has(.ms-dock.is-left) .ms-chat {
    inset-inline-start: auto;
    inset-inline-end: .7rem;
  }
}
/* Color FX — content only (never .ms-chat / .ms-dock / .ms-a11y). */
html.ms-a11y-fx-mono main,
html.ms-a11y-fx-mono .ms-top,
html.ms-a11y-fx-mono .ms-header,
html.ms-a11y-fx-mono .ms-footer,
html.ms-a11y-fx-mono .ms-host,
html.ms-a11y-fx-mono .ms-pagehead { filter: grayscale(1); }
html.ms-a11y-fx-sat1 main,
html.ms-a11y-fx-sat1 .ms-top,
html.ms-a11y-fx-sat1 .ms-header,
html.ms-a11y-fx-sat1 .ms-footer,
html.ms-a11y-fx-sat1 .ms-host { filter: saturate(0.35); }
html.ms-a11y-fx-sat2 main,
html.ms-a11y-fx-sat2 .ms-top,
html.ms-a11y-fx-sat2 .ms-header,
html.ms-a11y-fx-sat2 .ms-footer,
html.ms-a11y-fx-sat2 .ms-host { filter: saturate(1.6); }
html.ms-a11y-fx-sat3 main,
html.ms-a11y-fx-sat3 .ms-top,
html.ms-a11y-fx-sat3 .ms-header,
html.ms-a11y-fx-sat3 .ms-footer,
html.ms-a11y-fx-sat3 .ms-host { filter: saturate(2.2); }
html.ms-a11y-fx-bri1 main,
html.ms-a11y-fx-bri1 .ms-top,
html.ms-a11y-fx-bri1 .ms-header,
html.ms-a11y-fx-bri1 .ms-footer,
html.ms-a11y-fx-bri1 .ms-host { filter: brightness(0.85); }
html.ms-a11y-fx-bri2 main,
html.ms-a11y-fx-bri2 .ms-top,
html.ms-a11y-fx-bri2 .ms-header,
html.ms-a11y-fx-bri2 .ms-footer,
html.ms-a11y-fx-bri2 .ms-host { filter: brightness(1.15); }
html.ms-a11y-fx-bri3 main,
html.ms-a11y-fx-bri3 .ms-top,
html.ms-a11y-fx-bri3 .ms-header,
html.ms-a11y-fx-bri3 .ms-footer,
html.ms-a11y-fx-bri3 .ms-host { filter: brightness(1.35); }
html.ms-a11y-fx-cb1 main,
html.ms-a11y-fx-cb1 .ms-top,
html.ms-a11y-fx-cb1 .ms-header,
html.ms-a11y-fx-cb1 .ms-footer,
html.ms-a11y-fx-cb1 .ms-host { filter: hue-rotate(-15deg) saturate(0.7); }
html.ms-a11y-fx-cb2 main,
html.ms-a11y-fx-cb2 .ms-top,
html.ms-a11y-fx-cb2 .ms-header,
html.ms-a11y-fx-cb2 .ms-footer,
html.ms-a11y-fx-cb2 .ms-host { filter: hue-rotate(20deg) saturate(0.65); }
html.ms-a11y-fx-cb3 main,
html.ms-a11y-fx-cb3 .ms-top,
html.ms-a11y-fx-cb3 .ms-header,
html.ms-a11y-fx-cb3 .ms-footer,
html.ms-a11y-fx-cb3 .ms-host { filter: hue-rotate(180deg) saturate(0.8); }
html.ms-a11y-fx-mono.ms-a11y-fx-bri1 main,
html.ms-a11y-fx-mono.ms-a11y-fx-bri1 .ms-header,
html.ms-a11y-fx-mono.ms-a11y-fx-bri1 .ms-footer,
html.ms-a11y-fx-mono.ms-a11y-fx-bri1 .ms-top,
html.ms-a11y-fx-mono.ms-a11y-fx-bri1 .ms-host { filter: grayscale(1) brightness(0.85); }
html.ms-a11y-fx-zoom1 main,
html.ms-a11y-fx-zoom1 .ms-header,
html.ms-a11y-fx-zoom1 .ms-footer { zoom: 1.08; }
html.ms-a11y-fx-zoom2 main,
html.ms-a11y-fx-zoom2 .ms-header,
html.ms-a11y-fx-zoom2 .ms-footer { zoom: 1.16; }
html.ms-a11y-fx-zoom3 main,
html.ms-a11y-fx-zoom3 .ms-header,
html.ms-a11y-fx-zoom3 .ms-footer { zoom: 1.25; }

@media (prefers-reduced-motion: reduce) {
  .ms-a11y__panel { animation: none; }
}

/* Cookie consent banner */
.ms-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.ms-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 240;
  padding: 0;
  pointer-events: none;
  transform: translateY(110%);
  transition: transform .35s ease, opacity .35s ease;
  opacity: 0;
}
.ms-cookie.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.ms-cookie__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  background: var(--maroon-deep);
  color: rgba(255, 255, 255, .9);
  border-top: 1px solid rgba(176, 138, 60, .28);
  padding: 1.05rem clamp(1.1rem, 3vw, 2.4rem);
  box-shadow: 0 -10px 28px rgba(15, 35, 64, .35);
}
.ms-cookie__text {
  margin: 0;
  flex: 1 1 28rem;
  font-size: .92rem;
  line-height: 1.55;
  max-width: 58rem;
}
.ms-cookie__policy {
  color: var(--gold-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.ms-cookie__policy:hover { color: #fff; }
.ms-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  flex: 0 0 auto;
  justify-content: flex-end;
}
.ms-cookie__btn {
  appearance: none;
  border: 1.5px solid rgba(255, 255, 255, .55);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: transparent;
  padding: .72rem 1.35rem;
  border-radius: 999px;
  min-width: 8.5rem;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ms-cookie__btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
}
.ms-cookie__btn:active { transform: translateY(1px); }
.ms-cookie__btn--primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 12px rgba(176, 138, 60, .28);
}
.ms-cookie__btn--primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: #fff;
}
.ms-cookie-panel .ms-cookie__btn {
  border-color: var(--maroon);
  color: var(--maroon);
  background: #fff;
}
.ms-cookie-panel .ms-cookie__btn:hover {
  background: #f2f5f9;
  border-color: var(--maroon-deep);
  color: var(--maroon-deep);
}
.ms-cookie-panel .ms-cookie__btn--primary {
  border-color: var(--maroon);
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 54, 93, .18);
}
.ms-cookie-panel .ms-cookie__btn--primary:hover {
  background: var(--maroon-deep);
  border-color: var(--maroon-deep);
  color: #fff;
}

.ms-cookie-panel {
  border: 0;
  padding: 0;
  max-width: min(32rem, calc(100vw - 1.5rem));
  width: 100%;
  background: transparent;
}
.ms-cookie-panel::backdrop {
  background: rgba(15, 35, 64, .55);
  backdrop-filter: blur(2px);
}
.ms-cookie-panel__card {
  margin: 0;
  background: #fff;
  color: var(--su-ink);
  border-radius: .75rem;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(15, 35, 64, .28);
  overflow: hidden;
}
.ms-cookie-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--maroon-deep);
  color: #fff;
  border-bottom: 2px solid var(--gold);
}
.ms-cookie-panel__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.ms-cookie-panel__close {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.ms-cookie-panel__close:hover { background: var(--gold); color: #fff; }
.ms-cookie-panel__lede {
  margin: 0;
  padding: 1rem 1.15rem .35rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}
.ms-cookie-panel__list {
  list-style: none;
  margin: 0;
  padding: .35rem 1.15rem 1rem;
  display: grid;
  gap: .65rem;
}
.ms-cookie-panel__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem .95rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--su-skin-hi);
}
.ms-cookie-panel__item strong {
  display: block;
  font-size: .95rem;
  margin-bottom: .15rem;
  color: var(--maroon);
}
.ms-cookie-panel__item span {
  display: block;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.4;
}
.ms-cookie-switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  cursor: pointer;
}
.ms-cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.ms-cookie-switch span {
  width: 2.7rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #c5cedb;
  display: block;
  position: relative;
  transition: background .2s ease;
}
.ms-cookie-switch span::after {
  content: "";
  position: absolute;
  top: .18rem;
  inset-inline-start: .18rem;
  width: 1.14rem;
  height: 1.14rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .2s ease;
}
.ms-cookie-switch input:checked + span { background: var(--gold); }
.ms-cookie-switch input:checked + span::after { transform: translateX(1.2rem); }
html[dir="rtl"] .ms-cookie-switch input:checked + span::after { transform: translateX(-1.2rem); }
.ms-cookie-switch.is-locked { cursor: not-allowed; opacity: .85; }
.ms-cookie-switch.is-locked input:checked + span { background: var(--maroon-mid); }
.ms-cookie-panel__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .55rem;
  padding: 0 1.15rem 1.15rem;
}
.ms-footer__col .ms-footer__cookie-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: .95rem;
  color: rgba(255,255,255,.82);
  cursor: pointer;
  text-align: inherit;
  text-decoration: none;
  display: inline-block;
}
.ms-footer__col .ms-footer__cookie-link:hover { color: var(--gold-soft); }

@media (max-width: 820px) {
  .ms-cookie__bar {
    flex-direction: column;
    align-items: stretch;
    gap: .7rem;
    padding: .85rem .9rem calc(.85rem + env(safe-area-inset-bottom, 0px));
  }
  /* flex-basis: 28rem is a width on desktop; in a column it became ~28rem of empty height. */
  .ms-cookie__text {
    flex: 0 1 auto;
    max-width: none;
    font-size: .84rem;
    line-height: 1.45;
  }
  .ms-cookie__actions {
    justify-content: stretch;
    gap: .5rem;
  }
  .ms-cookie__btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: .62rem 1rem;
    font-size: .88rem;
  }
}

/* cache-bust 1.0.17 */

/* cache-bust 1.0.18 */

/* cache-bust 1.0.21b */
/* cache-bust 1.0.22 */
