
:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --paper: #ffffff;
  --wash: #f5f5f7;
  --soft: #fbfbfd;
  --accent: #007a6e;
  --accent-dark: #005f57;
  --accent-2: #a15c00;
  --radius: 8px;
  --display-large: clamp(2.75rem, 9vw, 6rem);
  --display-medium: clamp(2.2rem, 7vw, 4.5rem);
  --heading-large: clamp(2rem, 6vw, 3.5rem);
  --heading-medium: clamp(1.55rem, 4vw, 2.5rem);
  --body-large: clamp(1.1rem, 2.8vw, 1.55rem);
  --body: 1rem;
  --small: 0.875rem;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--wash);
  color: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body.is-overlay-open { overflow: hidden; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
.shell { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wide-shell { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.global-header {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: 52px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.global-header-inner {
  max-width: 1120px;
  min-height: 52px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.82rem;
}
.desktop-nav a {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav a:hover { color: var(--muted); }
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.icon-button, .icon-link {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}
.icon-button:hover, .icon-link:hover, .icon-button:focus-visible, .icon-link:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}
.header-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}
.search-glyph::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50%;
  left: 2px;
  top: 2px;
}
.search-glyph::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  left: 12px;
  top: 13px;
  border-radius: 2px;
}
.consult-glyph::before {
  content: "";
  position: absolute;
  inset: 2px 3px 5px;
  border: 2px solid currentColor;
  border-radius: 8px;
}
.consult-glyph::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 2px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-20deg);
  border-radius: 1px;
}
.menu-glyph::before,
.menu-glyph::after {
  content: "";
  position: absolute;
  left: 3px;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.menu-glyph::before { top: 7px; }
.menu-glyph::after { top: 13px; }
.overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  background: #fbfbfd;
  color: var(--ink);
}
.overlay.is-open { display: block; }
.overlay-panel {
  min-height: 100dvh;
  padding: 18px 22px 48px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
}
.overlay-top {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.overlay-title {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 650;
}
.overlay-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  position: relative;
}
.overlay-close::before,
.overlay-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  left: 13px;
  top: 21px;
  background: currentColor;
  border-radius: 2px;
}
.overlay-close::before { transform: rotate(45deg); }
.overlay-close::after { transform: rotate(-45deg); }
.overlay-close:hover,
.overlay-close:focus-visible { background: rgba(0, 0, 0, 0.06); }
.menu-overlay nav {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 28px;
}
.menu-overlay nav a {
  color: var(--ink);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0;
  text-decoration: none;
}
.menu-secondary {
  display: grid;
  gap: 10px;
  margin-top: 36px;
  font-size: 1rem;
}
.menu-secondary a { color: var(--muted); text-decoration: none; }
.search-overlay .overlay-panel { max-width: 760px; margin: 0 auto; width: 100%; }
.search-form { display: grid; gap: 16px; }
.search-field-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.search-field {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(2rem, 7vw, 3.8rem);
  font-weight: 650;
  letter-spacing: 0;
}
.search-field:focus-visible { outline: 0; }
.search-field::placeholder { color: #a1a1a6; }
.search-field::-webkit-search-decoration,
.search-field::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.search-field-wrap:focus-within { border-bottom-color: var(--accent); }
.clear-search {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1;
}
.quick-links,
.search-results {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.quick-links h2,
.search-results h2 {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 650;
}
.quick-links a,
.search-results a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.15rem;
  padding: 9px 0;
}
.quick-links a::after,
.search-results a::after,
.text-link::after {
  content: ">";
  display: inline-block;
  margin-left: 7px;
  color: var(--accent);
}
.search-empty {
  color: var(--muted);
  margin: 12px 0 0;
}
.hero { padding: 72px 0 48px; background: #fff; }
.eyebrow { color: var(--accent); font-weight: 700; margin: 0 0 10px; font-size: 0.9rem; }
h1 {
  margin: 0;
  max-width: 940px;
  font-size: var(--display-medium);
  line-height: 1.02;
  letter-spacing: 0;
}
h2 {
  margin: 0 0 10px;
  font-size: var(--heading-medium);
  line-height: 1.12;
  letter-spacing: 0;
}
h3 { letter-spacing: 0; }
.summary { max-width: 760px; margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.meta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--wash);
  color: var(--muted);
  font-size: 0.9rem;
}
main { padding: 34px 0 70px; }
.home-main { padding: 0; }
.home-hero {
  min-height: min(760px, calc(100dvh - 52px));
  display: grid;
  align-items: center;
  padding: 86px 0 32px;
  background:
    radial-gradient(circle at 72% 18%, rgba(0, 122, 110, 0.14), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}
.home-hero .stage-inner { min-height: 590px; }
.display-title {
  font-size: var(--display-large);
  line-height: 0.98;
  letter-spacing: 0;
}
.lead {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: var(--body-large);
  line-height: 1.35;
}
.feature-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 144px) 0;
  background: #fff;
}
.feature-stage.theme-soft { background: var(--wash); }
.feature-stage.theme-dark { background: #000; color: #f5f5f7; }
.feature-stage.theme-dark .lead,
.feature-stage.theme-dark .stage-description,
.feature-stage.theme-dark .eyebrow { color: #a1a1a6; }
.feature-stage.theme-dark .button.secondary { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
.stage-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.stage-inner.center { text-align: center; }
.stage-inner.two-up { grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr); }
.stage-copy { max-width: 820px; }
.stage-inner.center .stage-copy { margin: 0 auto; }
.stage-title {
  margin: 0;
  font-size: var(--heading-large);
  line-height: 1.02;
  letter-spacing: 0;
}
.stage-description {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: var(--body-large);
  line-height: 1.38;
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: inherit;
  gap: 12px;
  margin-top: 24px;
}
.stage-inner.center .action-row { justify-content: center; }
.button,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}
.button:hover,
.cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.button.secondary,
.cta.secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.button.secondary:hover,
.cta.secondary:hover { background: rgba(0, 122, 110, 0.08); color: var(--accent-dark); }
.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 650;
}
.stage-visual {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.8), rgba(255,255,255,0.1)),
    linear-gradient(135deg, #dce9e5 0%, #f7f7f8 55%, #c9d7d3 100%);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}
.theme-dark .stage-visual {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    linear-gradient(135deg, #182120 0%, #050505 68%, #1d3430 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.visual-composition {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 34px;
}
.visual-device {
  width: min(300px, 70%);
  aspect-ratio: 0.66;
  border-radius: 38px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 28px 80px rgba(0,0,0,0.12);
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
  text-align: left;
}
.visual-device span,
.visual-slab span,
.visual-product span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #e8e8ed;
}
.visual-device span:nth-child(1) { width: 42%; background: var(--accent); }
.visual-device span:nth-child(2) { width: 78%; }
.visual-device span:nth-child(3) { width: 64%; }
.visual-device span:nth-child(4) { width: 88%; }
.visual-slab {
  position: absolute;
  width: min(420px, 72%);
  min-height: 170px;
  right: 7%;
  bottom: 10%;
  border-radius: 28px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 22px 70px rgba(0,0,0,0.1);
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
}
.visual-slab span:nth-child(1) { width: 44%; background: var(--accent); }
.visual-slab span:nth-child(2) { width: 90%; }
.visual-slab span:nth-child(3) { width: 66%; }
.visual-product-row {
  position: absolute;
  inset: auto 9% 12%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}
.visual-product {
  width: clamp(58px, 12vw, 110px);
  height: clamp(112px, 22vw, 210px);
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(180deg, #fff, #eef3f2);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 22px 60px rgba(0,0,0,0.14);
  padding: 18px 12px;
  display: grid;
  align-content: center;
  gap: 10px;
}
.visual-product:nth-child(2) { height: clamp(138px, 27vw, 260px); }
.visual-product span:nth-child(1) { width: 58%; background: var(--accent); }
.visual-product span:nth-child(2) { width: 86%; }
.visual-product span:nth-child(3) { width: 70%; }
.visual-map {
  position: absolute;
  inset: 8%;
  border-radius: 28px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(0,0,0,0.04) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(0,0,0,0.04) 50%, transparent 51%),
    #fff;
  background-size: 82px 82px;
  border: 1px solid rgba(0,0,0,0.06);
}
.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 9px rgba(0,122,110,0.14);
}
.map-pin:nth-child(1) { left: 22%; top: 33%; }
.map-pin:nth-child(2) { right: 26%; top: 42%; }
.map-pin:nth-child(3) { left: 48%; bottom: 28%; }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.flow-step {
  min-height: 92px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.05);
  text-align: left;
}
.flow-step strong { display: block; margin-bottom: 6px; }
.flow-step span { color: var(--muted); font-size: 0.92rem; }
.carousel-section { padding: clamp(56px, 8vw, 112px) 0; background: var(--wash); overflow: hidden; }
.section-head {
  max-width: 1120px;
  margin: 0 auto 24px;
  padding: 0 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.section-head h2 {
  max-width: 760px;
  font-size: var(--heading-large);
  margin: 0;
}
.carousel-controls { display: flex; gap: 8px; }
.carousel-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #e8e8ed;
  color: var(--ink);
}
.tile-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(252px, 32vw);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  padding: 0 max(24px, calc((100vw - 1120px) / 2 + 24px)) 8px;
  scrollbar-width: thin;
}
.editorial-card,
.clinic-city-card {
  scroll-snap-align: start;
  min-height: 310px;
  border-radius: 24px;
  padding: 24px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(0,0,0,0.05);
}
.editorial-card:nth-child(even),
.clinic-city-card:nth-child(even) { background: #0b0b0c; color: #f5f5f7; }
.editorial-card h3,
.clinic-city-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  line-height: 1.05;
}
.editorial-card p,
.clinic-city-card p { color: inherit; opacity: 0.74; margin: 0; }
.card-chip {
  width: max-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0,122,110,0.12);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}
.editorial-card:nth-child(even) .card-chip,
.clinic-city-card:nth-child(even) .card-chip { background: rgba(255,255,255,0.14); color: #f5f5f7; }
.entity-explainer {
  padding: clamp(64px, 9vw, 120px) 0;
  background: #fff;
}
.entity-explainer article {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.entity-explainer h2 {
  font-size: var(--heading-large);
  line-height: 1.05;
}
.entity-explainer p {
  color: var(--muted);
  font-size: 1.12rem;
}
.reservation-quick {
  padding: 38px 0;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.reservation-quick-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}
.reservation-quick h2 {
  max-width: 680px;
  margin: 0;
}
.reservation-quick .summary {
  margin-top: 10px;
  max-width: 680px;
}
.reservation-quick-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
}
.reservation-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 360px;
}
.reservation-chip-row a,
.reservation-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--wash);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
}
.reservation-chip-row a:hover { color: var(--accent-dark); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.content { display: grid; gap: 26px; }
section { background: transparent; }
p { margin: 0 0 12px; }
ul { margin: 0; padding-left: 22px; }
li + li { margin-top: 6px; }
.fact-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact-table th, .fact-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: 0; }
.fact-table th { width: 210px; color: var(--muted); font-weight: 650; background: #fbfbfd; }
.aside { position: sticky; top: 76px; display: grid; gap: 14px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.panel .cta { width: 100%; }
.cta + .cta { margin-top: 10px; }
.small { color: var(--muted); font-size: var(--small); }
.warn { border-left: 3px solid var(--accent-2); padding-left: 12px; color: #5d3a0a; }
.branch-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.branch-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; }
.branch-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.25; letter-spacing: 0; }
.branch-card p { margin: 0; }
.branch-card .cta { margin-top: 4px; }
.branch-card.is-closed { border-left: 3px solid var(--accent-2); }
.reservation-list { display: grid; gap: 16px; }
.reservation-list.compact { gap: 12px; }
.reservation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.reservation-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.22rem, 3vw, 1.7rem);
  line-height: 1.12;
}
.reservation-card .meta-row { margin-top: 12px; }
.reservation-card.is-muted { background: #fbfbfd; }
.reservation-actions {
  display: grid;
  gap: 10px;
  min-width: min(230px, 100%);
}
.clinic-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.clinic-media-grid figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.clinic-media-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.clinic-media-grid figcaption { padding: 10px 12px; color: var(--muted); font-size: 0.9rem; }
.admin-form { display: grid; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.admin-form label { display: grid; gap: 4px; font-weight: 650; }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font: inherit; }
.admin-form textarea { min-height: 84px; resize: vertical; }
.media-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.media-table th, .media-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 0.92rem; }
.media-table tr:last-child th, .media-table tr:last-child td { border-bottom: 0; }
.global-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 28px;
  color: var(--muted);
  background: var(--wash);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.footer-group summary {
  list-style: none;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-group summary::-webkit-details-marker { display: none; }
.footer-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-group a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-group a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
@media (max-width: 920px) {
  .global-header-inner {
    grid-template-columns: 1fr auto;
    min-height: 54px;
  }
  .desktop-nav { display: none; }
  .stage-inner.two-up { grid-template-columns: 1fr; }
  .stage-inner.two-up .stage-copy { max-width: 820px; }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-track { grid-auto-columns: minmax(246px, 78vw); }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-group {
    border-bottom: 1px solid var(--line);
    padding: 0;
  }
  .footer-group summary {
    min-height: 48px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }
  .footer-group summary::after {
    content: "+";
    font-size: 1.1rem;
    color: var(--muted);
  }
  .footer-group[open] summary::after { content: "-"; }
  .footer-group ul { padding: 0 0 16px; }
}
@media (max-width: 820px) {
  .shell { padding: 0 18px; }
  .wide-shell { padding: 0 14px; }
  .hero { padding: 48px 0 34px; }
  .home-hero { padding-top: 58px; min-height: auto; }
  .home-hero .stage-inner { min-height: 620px; }
  .stage-inner { padding: 0 20px; }
  .stage-visual { min-height: 320px; border-radius: 22px; }
  .visual-device { width: min(260px, 76%); border-radius: 30px; }
  .visual-slab { width: 76%; right: 6%; }
  .section-head { padding: 0 20px; align-items: start; }
  .carousel-controls { display: none; }
  .grid { grid-template-columns: 1fr; }
  .reservation-quick-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .reservation-quick-actions {
    justify-items: start;
  }
  .reservation-chip-row {
    justify-content: flex-start;
    max-width: none;
  }
  .aside { position: static; }
  .fact-table th { width: 130px; }
  .branch-list { grid-template-columns: 1fr; }
  .reservation-card { grid-template-columns: 1fr; }
  .reservation-actions { min-width: 0; }
  .clinic-media-grid { grid-template-columns: 1fr; }
  .action-row { justify-content: center; }
}
@media (max-width: 430px) {
  .global-header-inner { padding: 0 14px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-text { font-size: 0.95rem; }
  .icon-button, .icon-link { width: 42px; height: 42px; }
  .stage-inner { padding: 0 18px; }
  .stage-description,
  .lead { font-size: 1.08rem; }
  .flow-steps { grid-template-columns: 1fr; }
  .visual-slab { display: none; }
}
