/* =========================================================
   VALVE HOSPITALS — Design system
   Layout: full-bleed search hero, then calm editorial sections on a
   light neutral ground. Glass is reserved for floating controls
   (navigation, menus, hero search, quick-access rail, mobile dock);
   reading surfaces are solid.
   Type: Apple system font (SF Pro on Apple devices), Inter elsewhere.
   ========================================================= */

:root {
  /* brand */
  --teal: #075E59;
  --teal-dark: #063F3C;
  --teal-50: #EEF6F2;
  --mint: #D9F0E5;
  --lime: #D4AF37;
  /* neutrals, biased slightly toward the brand green */
  --bg: #F8F6F1;
  --surface: #FFFFFF;
  --text: #17201E;
  --text-2: #56605D;
  --text-3: #6B7471;
  --line: rgba(23, 32, 30, .10);
  --line-strong: rgba(23, 32, 30, .18);
  /* semantic */
  --danger: #B3261E;
  --danger-50: #FDEDEB;
  --warn-50: #FFF6DE;
  --warn-line: #EED78C;
  /* glass (floating controls only) */
  --glass: #FFFFFF;
  --glass-strong: #FFFFFF;
  --glass-border: #DDE4E1;
  --blur: none;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: var(--font);
  --font-body: var(--font);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(6, 63, 60, .05);
  --shadow-md: 0 8px 24px -12px rgba(6, 63, 60, .18);
  --shadow-lg: 0 24px 48px -20px rgba(6, 63, 60, .28);

  --container: 1200px;
  --gutter: max(16px, min(4vw, 32px));
  --hdr: 84px;              /* sticky header height, used by the hero */
  --ease: cubic-bezier(.25, .1, .25, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -.011em;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--text); margin: 0 0 .45em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -.028em; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; letter-spacing: -.016em; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--teal-dark); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--teal-dark); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.5; color: var(--text-2); letter-spacing: -.014em; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-narrow { max-width: 820px; }
.container-header { max-width: 1320px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-top: 0; }
.section-sm { padding-block: clamp(40px, 5vw, 64px); }
.band-mint { background: var(--teal-50); }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--text-2); margin: 0; font-size: 1.06rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split-head { position: sticky; top: 110px; }
.split-head .btn { margin-top: 8px; }
.grid { display: grid; gap: clamp(14px, 2vw, 20px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

/* ---------- surfaces ---------- */
.glass { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.glass-strong { background: var(--surface); }
.solid { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); }
.panel h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }

/* ---------- buttons & links ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font); font-weight: 600; font-size: .95rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-lime { background: var(--lime); color: var(--teal-dark); }
.btn-lime:hover { background: #C29B22; color: var(--teal-dark); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-glass { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn-glass:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-emergency { background: var(--danger); color: #fff; }
.btn-emergency:hover { background: #8C1D18; color: #fff; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--teal); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg, a:hover .link-arrow svg { transform: translateX(3px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--teal-50); color: var(--teal-dark); line-height: 1.5; }
.chip .icon { width: 14px; height: 14px; }
.chip-lime { background: #F5ECCF; }
.chip-outline { background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }
.chip-warn { background: var(--warn-50); color: #6B4E00; }

/* ---------- icons ---------- */
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-50); color: var(--teal); flex: none; }
.icon-badge.sm { width: 36px; height: 36px; border-radius: 10px; }
.icon-badge.sm .icon { width: 19px; height: 19px; }
.icon-badge.dark { background: var(--teal); color: #fff; }

/* =========================================================
   Header & navigation
   ========================================================= */
.topbar { background: var(--teal-dark); color: rgba(255,255,255,.82); font-size: .8rem; position: relative; z-index: 101; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; flex-wrap: wrap; max-width: 1320px; }
.topbar a { color: #fff; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { width: 14px; height: 14px; }
.topbar-items { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .emergency { color: var(--lime); font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 100; padding-block: 10px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px;
  padding: 0 8px 0 16px; border-radius: 18px;
  background: var(--glass); 
  border: 1px solid var(--glass-border); box-shadow: 0 6px 24px -14px rgba(6, 63, 60, .3);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--teal-dark); flex: none; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-weight: 700; letter-spacing: .02em; line-height: 1; font-size: .98rem; }
.brand-name small { display: block; font-weight: 500; font-size: .62rem; letter-spacing: .18em; color: var(--text-3); margin-top: 4px; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 10px;
  font-weight: 500; font-size: .94rem; color: var(--text); background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: rgba(7, 94, 89, .07); }
.nav-link.active { color: var(--teal); font-weight: 600; }
.nav-link .chev { width: 14px; height: 14px; opacity: .6; transition: transform .2s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--text); }
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn .icon { width: 19px; height: 19px; }
.nav-phone { display: inline-flex; flex-direction: column; line-height: 1.2; padding: 0 8px; text-decoration: none; }
.nav-phone:hover { text-decoration: none; }
.nav-phone small { font-size: .7rem; color: var(--text-3); }
.nav-phone strong { font-size: .88rem; color: var(--text); font-weight: 600; }
.nav-toggle { display: none; }

/* dropdowns */
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 6px);
  min-width: 300px; padding: 10px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  background: #FFFFFF; 
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.dropdown.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.dd-item { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; color: var(--text); text-decoration: none; }
.dd-item:hover { background: var(--teal-50); text-decoration: none; color: var(--text); }
.dd-item strong { display: block; font-size: .92rem; font-weight: 600; }
.dd-item span span { display: block; font-size: .8rem; color: var(--text-2); line-height: 1.4; }
.dd-search { border: 0; background: none; width: 100%; text-align: left; cursor: pointer; font: inherit; }
.dd-emergency .icon-badge { background: var(--danger-50); color: var(--danger); }
.dd-emergency strong { color: var(--danger); }
.mega { width: min(900px, calc(100vw - 48px)); padding: 18px; }
.mega-wide { width: min(1060px, calc(100vw - 48px)); }
.mega-split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; }
.mega-split.wide { grid-template-columns: 2.6fr 1fr; }
.mega-side { border-left: 1px solid var(--line); padding-left: 16px; display: flex; flex-direction: column; gap: 2px; }
.mega-label { margin: 2px 10px 8px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.mega-grid { display: grid; gap: 4px 12px; }
.mega-grid.two { grid-template-columns: repeat(2, 1fr); }
.mega-grid.three { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.mega-col h4 { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--text); margin: 2px 8px 6px; }
.mega-col h4 .icon { width: 16px; height: 16px; color: var(--teal); }
.mega-col a { display: block; padding: 5px 8px; border-radius: 8px; font-size: .86rem; color: var(--text-2); line-height: 1.35; }
.mega-col a:hover { background: var(--teal-50); color: var(--teal); text-decoration: none; }
.mega-col a.more { color: var(--teal); font-weight: 600; font-size: .8rem; }

/* mobile menu */
.mobile-panel { display: none; }
body.no-scroll { overflow: hidden; }

/* search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 300; display: none; padding: 10vh 16px 16px; background: rgba(6, 63, 60, .3);  }
.search-overlay.open { display: block; }
.search-box { max-width: 720px; margin: 0 auto; padding: 12px; border-radius: var(--r-xl); background: var(--glass-strong);  box-shadow: var(--shadow-lg); border: 1px solid var(--glass-border); }
.search-field { display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.search-field > span, .search-field > .icon { color: var(--teal); display: grid; }
.search-field input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; font: inherit; font-size: 1.05rem; outline: none; color: var(--text); }
.search-results { max-height: 56vh; overflow-y: auto; margin-top: 8px; }
.sr-group h6 { margin: 12px 10px 4px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.sr-item { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; color: var(--text); text-decoration: none; }
.sr-item:hover, .sr-item.active { background: var(--teal-50); text-decoration: none; }
.sr-item strong { display: block; font-size: .95rem; font-weight: 600; }
.sr-item span span { display: block; font-size: .8rem; color: var(--text-2); }
.sr-item mark, .search-hit mark { background: #F5ECCF; color: inherit; border-radius: 3px; padding: 0 1px; }
.sr-empty { padding: 22px 12px; text-align: center; color: var(--text-2); font-size: .95rem; }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 4px 4px; }
.search-hints button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: .85rem; cursor: pointer; color: var(--text); }
.search-hints button:hover { border-color: var(--teal); color: var(--teal); }
.search-note { font-size: .78rem; color: var(--text-3); padding: 10px 8px 2px; margin: 0; }

/* =========================================================
   Hero — full-bleed, search first
   ========================================================= */
.hero3 {
  position: relative; isolation: isolate; color: #fff;
  margin-top: calc(-1 * var(--hdr));
  padding-top: calc(var(--hdr) + clamp(40px, 7vh, 88px));
  min-height: clamp(620px, calc(100svh - 34px), 940px);
  display: flex; flex-direction: column;
  background:
    linear-gradient(165deg, #0A6A64 0%, var(--teal) 38%, var(--teal-dark) 100%);
}
.hero3-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }

.hero3-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(32px, 6vh, 72px); }
.hero3-inner > * { max-width: 860px; }
.hero3-kicker { font-size: .95rem; font-weight: 500; color: #BFD6D2; margin-bottom: 14px; }
.hero3 h1 { color: #fff; margin-bottom: 16px; }
.hero3-lead { color: #D3E4E1; font-size: clamp(1.06rem, 1.5vw, 1.25rem); max-width: 620px; margin-bottom: 0; }

.hero-search { position: relative; margin-top: clamp(26px, 4vh, 40px); }
.hs-tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; margin-bottom: 12px; border-radius: 999px; background: #0A4D49; border: 1px solid #1B625C; }
.hs-tab { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: #0A4D49; color: #D3E4E1; font-size: .86rem; font-weight: 500; cursor: pointer; }
.hs-tab:hover { color: #fff; background: #13605A; }
.hs-tab[aria-pressed="true"] { background: #fff; color: var(--teal-dark); font-weight: 600; }
.hs-field {
  display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 20px; border-radius: 18px;
  background: #FFFFFF; 
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.5); transition: box-shadow .2s var(--ease);
}
.hs-field:focus-within { box-shadow: 0 24px 48px -24px rgba(0,0,0,.5), 0 0 0 4px #D4AF37; }
.hs-field > .icon { width: 24px; height: 24px; color: var(--teal); flex: none; }
.hs-field input[type="search"] { flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; background: transparent; font: inherit; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text); }
.hs-field input::placeholder { color: #7D8683; }
.hs-field .btn { --h: 52px; padding: 0 26px; border-radius: 13px; font-size: 1rem; }
.hs-results { position: absolute; left: 0; right: 0; margin-top: 8px; z-index: 30; background: var(--surface); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 6px; max-height: min(440px, 58vh); overflow-y: auto; border: 1px solid var(--line); }
.hs-results[hidden] { display: none; }
.hs-chips { margin-top: 16px; display: grid; gap: 10px; }
.hs-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hs-row[hidden] { display: none; }
.hs-row [data-recent-list] { display: contents; }
.hs-label { font-size: .82rem; color: #A9C6C2; margin-right: 4px; }
.hs-chip { min-height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid #2F716B; background: #0A4D49; color: #fff; font-size: .86rem; cursor: pointer; }
.hs-chip:hover { background: #fff; color: var(--teal-dark); border-color: #fff; }
.hs-chip.recent { border-color: #D4AF37; }
.hs-clear { border: 0; background: none; color: #A9C6C2; text-decoration: underline; font-size: .82rem; cursor: pointer; }

.hero3-facts ul { list-style: none; margin: 0; padding: 22px 0 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px; border-top: 1px solid rgba(255,255,255,.16); }
.hero3-facts li { display: flex; flex-direction: column; font-size: .88rem; line-height: 1.4; }
.hero3-facts strong { font-weight: 600; color: #fff; }
.hero3-facts span { color: rgba(255,255,255,.7); }
.hero3-facts a { color: var(--lime); }

/* =========================================================
   Inner-page header
   ========================================================= */
.page-hero { padding-block: clamp(28px, 4vw, 52px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 52px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 860px; }
.page-hero .lead { max-width: 700px; margin-bottom: 0; }
.page-hero .hero-ctas { margin-top: 26px; }
.page-kicker { font-size: .9rem; font-weight: 600; color: var(--teal); margin-bottom: 10px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-hero + .section-sm, .page-hero + section { padding-top: 0; }
.breadcrumbs { font-size: .85rem; margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { display: inline-flex; gap: 6px; color: var(--text-2); }
.breadcrumbs li + li::before { content: "›"; color: var(--text-3); }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs [aria-current] { color: var(--text); }

/* =========================================================
   Content components
   ========================================================= */
/* departments list */
.dept-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dept-list li { border-bottom: 1px solid var(--line); }
.dept-list a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 18px; align-items: center; padding: 22px 4px; color: var(--text); text-decoration: none; }
.dl-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); transition: background .2s var(--ease), color .2s var(--ease); }
.dl-text { display: flex; flex-direction: column; gap: 3px; }
.dl-text strong { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.dl-text > span { color: var(--text-2); font-size: .95rem; }
.dl-text .dl-tags { color: var(--text-3); font-size: .84rem; }
.dl-arrow { color: var(--text-3); transition: transform .2s var(--ease), color .2s; }
.dept-list a:hover .dl-icon { background: var(--teal); color: #fff; }
.dept-list a:hover .dl-arrow { color: var(--teal); transform: translateX(4px); }

/* segmented tabs + condition explorer */
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; background: #E8EDEB; margin-bottom: 20px; max-width: 100%; }
.seg-btn { min-height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font-size: .92rem; font-weight: 500; color: var(--text-2); }
.seg-btn:hover { color: var(--text); }
.seg-btn[aria-selected="true"] { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.explorer-panel[hidden] { display: none; }
.explorer-panel .link-arrow { margin-top: 18px; }
.cond-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.cond-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.cond-link:hover { text-decoration: none; }
.cond-link:hover strong { color: var(--teal); }
.cond-link strong { display: block; font-size: 1rem; font-weight: 600; }
.cond-link span span { display: block; font-size: .85rem; color: var(--text-2); line-height: 1.4; margin-top: 2px; }
.cond-link .icon { width: 16px; height: 16px; color: var(--text-3); flex: none; }

/* filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-btn { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: .88rem; font-weight: 500; color: var(--text); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.filter-btn .icon { width: 16px; height: 16px; }
.filter-btn:hover { border-color: var(--teal); text-decoration: none; }
.filter-btn[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
[data-filter-item][hidden] { display: none !important; }
.count { color: inherit; opacity: .7; }

/* treatment rows */
.row-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.row-item { display: flex; flex-direction: column; gap: 3px; padding: 18px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.row-item:hover { text-decoration: none; }
.row-item:hover strong { color: var(--teal); }
.row-meta { font-size: .8rem; color: var(--text-3); }
.row-item strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; }
.row-sub { font-size: .9rem; color: var(--text-2); }

/* plain grid (services) */
.plain-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.plain-grid li { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.plain-grid .icon { color: var(--teal); margin-bottom: 12px; }
.plain-grid h3 { font-size: 1.02rem; margin-bottom: 6px; }
.plain-grid p { font-size: .9rem; color: var(--text-2); margin: 0; }

/* cards (used where items are separate objects) */
.card {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2.2vw, 26px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); text-decoration: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
a.card:hover, .card.hoverable:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); text-decoration: none; color: var(--text); }
.card h3 { margin: 0; }
.card p { color: var(--text-2); margin: 0; font-size: .94rem; }
.card .link-arrow { margin-top: auto; padding-top: 10px; }
.card-icon { color: var(--teal); margin-bottom: 4px; }
.card-meta { font-size: .8rem; color: var(--text-3); }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; font-size: .84rem; color: var(--text-3); }
.card-foot .link-arrow { padding-top: 0; margin: 0; }
.post-card .post-img { border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 8px; }
.service-card { flex-direction: row; align-items: flex-start; gap: 16px; }
.service-card > div { display: flex; flex-direction: column; gap: 6px; }

/* doctor carousel */
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.doctor-card { padding: 10px; gap: 0; }
.doctor-photo { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #EAF2EE, #F6F9F7); display: grid; place-items: center; color: var(--teal); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo .avatar-ph { width: 38%; height: 38%; opacity: .35; }
.doctor-body { padding: 14px 6px 6px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.doctor-body h3 { font-size: 1.02rem; }
.doctor-body .spec { color: var(--teal); font-weight: 500; font-size: .9rem; }
.doctor-body .qual { color: var(--text-3); font-size: .84rem; }
.doctor-actions { display: flex; gap: 8px; margin-top: 14px; }
.doctor-actions .btn { flex: 1; padding: 0 10px; }

/* why choose */
.why-list { margin: 0; border-top: 1px solid rgba(7, 94, 89, .2); }
.why-list div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px 28px; padding-block: 20px; border-bottom: 1px solid rgba(7, 94, 89, .2); }
.why-list dt { font-weight: 600; font-size: 1.05rem; letter-spacing: -.015em; }
.why-list dd { margin: 0; color: var(--text-2); font-size: .95rem; }

/* testimonials & news */
.two-panels { align-items: stretch; }
.quote-list { display: grid; gap: 18px; }
.quote blockquote { margin: 0; font-size: 1.05rem; }
.quote figcaption { font-size: .85rem; color: var(--text-3); }
.news-list { list-style: none; padding: 0; margin: 0 0 12px; }
.news-list a { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); }

/* accordion */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; border: 0; background: transparent; cursor: pointer; text-align: left; font-weight: 600; font-size: 1.02rem; letter-spacing: -.015em; color: var(--text); }
.acc-btn:hover { color: var(--teal); }
.acc-btn .plus { width: 26px; height: 26px; display: grid; place-items: center; color: var(--text-3); flex: none; transition: transform .25s var(--ease); }
.acc-btn .plus .icon { width: 18px; height: 18px; }
.acc-btn[aria-expanded="true"] .plus { transform: rotate(45deg); color: var(--teal); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel.open { grid-template-rows: 1fr; }
.acc-panel p { padding: 0 40px 20px 2px; margin: 0; color: var(--text-2); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-layout .faq-intro, .faq-layout .sticky { position: sticky; top: 110px; }

/* call to action */
.cta { background: var(--teal-dark); color: #fff; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.78); margin: 0; }
.cta .cta-contacts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.cta-contacts a { display: inline-flex; gap: 8px; align-items: center; color: #fff; font-weight: 500; }
.cta-contacts .icon { width: 18px; height: 18px; color: var(--lime); }

/* notices & states */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--warn-50); border: 1px solid var(--warn-line); font-size: .92rem; color: #4F3A00; }
.notice .icon { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.notice p { margin: 0; }
.notice-info { background: var(--teal-50); border-color: rgba(7,94,89,.16); color: var(--teal-dark); }
.notice-danger { background: var(--danger-50); border-color: #F2C3BE; color: #5C1410; }
.notice-danger .icon { color: var(--danger); }
.empty-state { padding: clamp(28px, 4vw, 44px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-state p { max-width: 560px; color: var(--text-2); margin: 0; }
.info-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.info-row > div { padding: 18px 20px 0 0; }
.info-row strong { display: block; font-weight: 600; }
.info-row span { font-size: .9rem; color: var(--text-2); }

/* =========================================================
   Long-form articles (solid, highly readable)
   ========================================================= */
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 290px; gap: clamp(24px, 3vw, 48px); align-items: start; }
.article-layout.no-toc { grid-template-columns: minmax(0, 1fr) 310px; }
.toc { position: sticky; top: 110px; font-size: .86rem; max-height: calc(100vh - 130px); overflow-y: auto; }
.toc h2 { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; font-weight: 600; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 5px 12px; margin-left: -1px; color: var(--text-2); border-left: 2px solid transparent; }
.toc li a:hover { color: var(--text); text-decoration: none; }
.toc li a.active { color: var(--teal); border-left-color: var(--teal); font-weight: 600; }
.article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 52px); max-width: 100%; }
.article > section + section { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 24px; }
.article h2 { font-size: clamp(1.35rem, 2.1vw, 1.65rem); margin-bottom: 14px; }
.article h3 { font-size: 1.08rem; margin-top: 18px; }
.article p, .article li { color: #2A3431; line-height: 1.65; }
.article ul { padding-left: 0; list-style: none; margin: 0 0 1em; display: grid; gap: 8px; }
.article ul li { position: relative; padding-left: 20px; }
.article ul li::before { content: ""; position: absolute; left: 3px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.article ul.cols-2 { grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.article ul.alert li::before { background: var(--danger); }
.article ol.refs { padding-left: 1.2em; font-size: .92rem; display: grid; gap: 6px; }
.article ol.refs a { word-break: break-word; }
.article .callout { margin: 4px 0 16px; }
.types-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 4px 0 14px; }
.type-box { padding: 16px; border-radius: 12px; background: var(--bg); }
.type-box strong { display: block; margin-bottom: 4px; }
.type-box p { margin: 0; font-size: .92rem; color: var(--text-2); }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.steps-list li { counter-increment: s; position: relative; padding: 2px 0 2px 40px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; font-weight: 600; font-size: .8rem; }
.review-box { display: flex; flex-wrap: wrap; gap: 14px 32px; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: .9rem; }
.review-box div { display: flex; flex-direction: column; }
.review-box small { color: var(--text-3); font-size: .78rem; }
.review-box strong { font-weight: 600; }
.aside-stack { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 110px; }
.aside-card { padding: 20px; }
.aside-card h3 { font-size: .98rem; margin-bottom: 10px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; }
.aside-card li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: .92rem; }
.aside-card li:last-child a { border-bottom: 0; }
.aside-card li a:hover { color: var(--teal); text-decoration: none; }
.aside-card li a .icon { width: 16px; height: 16px; color: var(--text-3); }
.aside-cta { background: var(--teal); border-color: var(--teal); color: #fff; }
.aside-cta h3 { color: #fff; }
.aside-cta p { color: rgba(255,255,255,.82); font-size: .92rem; }
.related-docs { display: grid; gap: 8px; }
.mini-doc { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg); color: var(--text); text-decoration: none; }
.mini-doc:hover { background: var(--teal-50); text-decoration: none; color: var(--text); }
.mini-doc .av { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; color: var(--teal); flex: none; }
.mini-doc strong { display: block; font-size: .94rem; font-weight: 600; }
.mini-doc span span { display: block; font-size: .82rem; color: var(--text-2); }

/* library index */
.lib-section { margin-bottom: 44px; scroll-margin-top: 120px; }
.lib-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.lib-head h2 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.lib-head .icon-badge { width: 36px; height: 36px; border-radius: 10px; }
.alpha-bar { display: flex; flex-wrap: wrap; gap: 4px; }
.alpha-bar a, .alpha-bar span { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-weight: 600; font-size: .86rem; }
.alpha-bar a { background: var(--surface); border: 1px solid var(--line); color: var(--teal); }
.alpha-bar a:hover { background: var(--teal); color: #fff; text-decoration: none; }
.alpha-bar span { color: #C3CBC8; }

/* forms */
.form-card { padding: clamp(22px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .field .label { font-weight: 600; font-size: .9rem; color: var(--text); }
.field label .req, .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid #CDD5D2; background: var(--surface); font: inherit; font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(7,94,89,.12); }
.field .hint { font-size: .82rem; color: var(--text-2); }
.field .error { font-size: .84rem; color: var(--danger); display: none; font-weight: 500; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; }
.form-status.show { display: flex; }
.time-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.time-chips label { cursor: pointer; position: relative; }
.field .time-chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.time-chips span { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border-radius: 12px; border: 1px solid #CDD5D2; background: var(--surface); font-weight: 500; font-size: .92rem; }
.time-chips input:checked + span { background: var(--teal); color: #fff; border-color: var(--teal); }
.time-chips input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.success-panel { text-align: center; padding: clamp(28px, 5vw, 56px); }
.success-panel .icon-badge { margin: 0 auto 16px; width: 64px; height: 64px; border-radius: 50%; }
.ref-code { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--teal-50); padding: 5px 12px; border-radius: 8px; font-weight: 600; color: var(--teal-dark); letter-spacing: .04em; }

/* contact & gallery */
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item strong { display: block; }
.contact-item span, .contact-item a { color: var(--text-2); }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: 12px; display: block; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.gallery-grid .g-item { border-radius: var(--r-lg); overflow: hidden; position: relative; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--text-3); background: #EBF0EE; border: 0; }
.gallery-grid .g-item.wide { grid-column: span 2; }
.gallery-grid .g-item.tall { grid-row: span 2; }
.gallery-grid .g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-grid .g-item .icon { margin: 0 auto 8px; }
.gallery-grid .g-item span { font-size: .86rem; }

/* prose */
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 52px); }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #2A3431; line-height: 1.65; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: #0B2624; color: rgba(255,255,255,.72); font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-block: clamp(48px, 6vw, 72px) 40px; }
.site-footer h3 { color: #fff; font-size: .82rem; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-name small { color: rgba(255,255,255,.5); }
.footer-about p { max-width: 340px; }
.footer-contact { display: grid; gap: 9px; margin-top: 16px; }
.footer-contact span, .footer-contact a { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--lime); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.socials .icon { width: 17px; height: 17px; }
.footer-disclaimer { font-size: .8rem; color: rgba(255,255,255,.5); padding-bottom: 20px; max-width: 880px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* =========================================================
   Quick access — docked to the right edge of the browser
   ========================================================= */
.quick-rail {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; gap: 2px; padding: 6px 4px 6px 6px;
  padding-right: max(4px, env(safe-area-inset-right, 0px));
  background: var(--glass-strong); 
  border: 1px solid var(--line); border-right: 0; border-radius: 14px 0 0 14px;
  box-shadow: -6px 10px 30px -14px rgba(6, 63, 60, .35);
}
.qr-item { width: 58px; padding: 8px 0 7px; display: flex; flex-direction: column; align-items: center; gap: 3px; border-radius: 10px; border: 0; background: transparent; color: var(--text); cursor: pointer; text-decoration: none; font-size: .66rem; font-weight: 600; letter-spacing: 0; }
.qr-item:hover { background: var(--teal-50); color: var(--teal); text-decoration: none; }
.qr-item .icon { width: 20px; height: 20px; }
.qr-emergency { background: var(--danger); color: #fff; }
.qr-emergency:hover { background: #8C1D18; color: #fff; }
.qr-book { color: var(--teal); }

.mobile-dock { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1359px) { .nav-phone { display: none; } }
@media (max-width: 1280px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .article-layout .toc-col { display: none; }
  .mega-split.wide { grid-template-columns: 1fr; }
  .mega-split.wide .mega-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 10px; display: grid; grid-template-columns: repeat(2, 1fr); }
  .mega-split.wide .mega-side .mega-label { grid-column: 1 / -1; }
}
@media (max-width: 1099px) {
  .nav-menu { display: none; }
  .nav-toggle { display: grid; }
  .mobile-panel { display: block; position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
  .mobile-panel.open { visibility: visible; pointer-events: auto; }
  .mobile-scrim { position: absolute; inset: 0; background: rgba(6,63,60,.32); opacity: 0; transition: opacity .25s; }
  .mobile-panel.open .mobile-scrim { opacity: 1; }
  .mobile-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 100%); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); transform: translateX(100%); transition: transform .3s var(--ease); padding: 14px 16px 32px; display: flex; flex-direction: column; gap: 4px; }
  .mobile-panel.open .mobile-sheet { transform: none; }
  .mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
  .m-search { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 14px; margin-bottom: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: inherit; font-size: .95rem; cursor: pointer; text-align: left; }
  .m-search .icon { width: 18px; height: 18px; color: var(--teal); }
  .m-link, .m-acc > button { display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; font-size: 1.05rem; font-weight: 600; cursor: pointer; text-align: left; text-decoration: none; }
  .m-acc > button[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .m-acc .chev { width: 18px; height: 18px; opacity: .5; transition: transform .2s; }
  .m-sub { display: none; padding: 6px 0 12px; }
  .m-sub.open { display: block; }
  .m-sub a { display: block; padding: 9px 4px; color: var(--text-2); }
  .m-sub h5 { margin: 12px 4px 2px; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
  .mobile-cta { margin-top: 16px; display: grid; gap: 10px; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4, .plain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .hero3-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .split, .faq-layout { grid-template-columns: 1fr; }
  .split-head, .faq-layout .faq-intro, .faq-layout .sticky { position: static; }
  .cond-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout, .article-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
  .aside-stack { position: static; }
  .cta-inner { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  [data-stack] { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  :root { --hdr: 76px; }
  body { font-size: 16px; padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .nav { height: 56px; }
  .quick-rail { display: none; }
  .mobile-dock {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; position: fixed; z-index: 90;
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 5px;
    border-radius: 18px; background: var(--glass-strong); 
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .md-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 13px; color: var(--text); font-size: .7rem; font-weight: 600; text-decoration: none; }
  .md-item .icon { width: 20px; height: 20px; }
  .md-item:hover { background: var(--teal-50); text-decoration: none; }
  .md-emergency { background: var(--danger); color: #fff; }
  .md-book { background: var(--teal); color: #fff; }
  .grid-2, .grid-3, .row-list, .why-list div { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .cond-grid { grid-template-columns: 1fr; }
  .carousel-track { grid-auto-columns: 72%; gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .article ul.cols-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .hero3 { min-height: auto; }
  .hero3-inner { padding-bottom: 28px; }
  .hs-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .hs-tab { flex: none; }
  .hs-field { padding: 5px 5px 5px 14px; gap: 8px; border-radius: 14px; }
  .hs-field input[type="search"] { height: 50px; }
  .hs-field > .icon { width: 20px; height: 20px; }
  .hs-field .btn { --h: 44px; padding: 0 16px; border-radius: 11px; }
  .seg { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 14px; }
  .seg-btn { flex: none; }
}
@media (max-width: 480px) {
  .grid-4, .grid-5, .plain-grid, .footer-top, .info-row, .hero3-facts ul { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; white-space: normal; text-align: center; padding-block: 10px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .gallery-grid .g-item.wide { grid-column: span 2; }
  .brand-name small { display: none; }
  .topbar .hide-sm { display: none; }
  .nav-actions .btn-book-desktop { display: none; }
}
@media (max-width: 380px) {
  .nav { padding: 0 6px 0 10px; gap: 6px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: .88rem; white-space: nowrap; }
  .icon-btn { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .topbar, .site-footer, .mobile-dock, .quick-rail, .aside-stack, .toc, .cta { display: none !important; }
  .article { border: 0; padding: 0; }
}

/* ===== v4: speciality colours, visual rhythm, mobile topbar ===== */
[data-dept="cardiology"]       { --c: #B23A3A; --c-bg: #FBEDEB; --c-line: rgba(178,58,58,.18); }
[data-dept="neurology"]        { --c: #5848B0; --c-bg: #EFEDFA; --c-line: rgba(88,72,176,.18); }
[data-dept="gastroenterology"] { --c: #A8650F; --c-bg: #FBF0DF; --c-line: rgba(168,101,15,.2); }
[data-dept="endocrinology"]    { --c: #1D68A8; --c-bg: #E6F0FA; --c-line: rgba(29,104,168,.18); }
[data-dept="orthopaedics"]     { --c: #2D7A4D; --c-bg: #E6F3EB; --c-line: rgba(45,122,77,.2); }

.band-soft { background: #F0ECE3; }
.band-dark { background: var(--teal-dark); color: #fff; }
.band-dark h2 { color: #fff; }
.band-dark .section-head p { color: rgba(255,255,255,.72); }
.btn-lime { background: var(--lime); color: var(--teal-dark); }
.btn-lime:hover { background: #C29B22; color: var(--teal-dark); text-decoration: none; }

/* topbar: one tidy line */
.topbar .container { flex-wrap: nowrap; align-items: center; }
.topbar-items { flex-wrap: nowrap; min-width: 0; }
.topbar-items > * { white-space: nowrap; }
@media (max-width: 760px) {
  .topbar .container { justify-content: center; padding-block: 6px; }
  .topbar .tb-addr, .topbar .tb-emg, .topbar .hide-sm { display: none; }
  .topbar .topbar-items:empty { display: none; }
  .topbar .tb-hours { display: inline-flex; font-size: .76rem; color: rgba(255,255,255,.85); }
}

/* department tiles */
.dept-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.dept-tiles li { grid-column: span 2; }
.dept-tiles li:nth-child(n+4) { grid-column: span 3; }
.dept-tiles a { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-xl); background: var(--c-bg); color: var(--text); text-decoration: none; border: 1px solid transparent; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.dept-tiles a:hover { border-color: var(--c-line); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.dt-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--c); margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.dt-icon .icon { width: 26px; height: 26px; }
.dept-tiles strong { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 650; letter-spacing: -.025em; }
.dt-short { color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.dt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dt-tags span { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.75); color: var(--text-2); }
.dt-go { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .92rem; color: var(--c); display: inline-flex; align-items: center; gap: 6px; }
.dt-go .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.dept-tiles a:hover .dt-go .icon { transform: translateX(3px); }

/* condition explorer: coloured cards per speciality */
.band-soft .seg { background: #fff; }
.band-soft .seg-btn[aria-selected="true"] { background: var(--teal); color: #fff; box-shadow: none; }
.explorer-panel .cond-grid { border-top: 0; gap: 12px; }
.explorer-panel .cond-link { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: box-shadow .2s var(--ease); }
.explorer-panel .cond-link:hover { box-shadow: var(--shadow-md); }
.explorer-panel .cond-link:hover strong { color: var(--c); }
.explorer-panel .link-arrow { margin-top: 22px; }

/* treatments: compact cards */
.row-list { border-top: 0; gap: 12px; }
.row-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; gap: 6px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.row-item:hover { border-color: var(--c-line, var(--line-strong)); box-shadow: var(--shadow-md); }
.row-item:hover strong { color: var(--c, var(--teal)); }
.row-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--c-bg, var(--teal-50)); color: var(--c, var(--teal)); }

/* services */
.service-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-tiles li { display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--line); }
.st-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); }
.service-tiles h3 { font-size: 1.02rem; margin-bottom: 6px; }
.service-tiles p { font-size: .9rem; color: var(--text-2); margin: 0; }

/* why choose: dark band */
.why-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.why-cards li { padding: 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.why-cards .icon { color: var(--lime); width: 26px; height: 26px; margin-bottom: 16px; }
.why-cards h3 { color: #fff; font-size: 1.08rem; margin-bottom: 8px; }
.why-cards p { color: rgba(255,255,255,.72); font-size: .92rem; margin: 0; }

/* panels & posts */
.panel-tint { background: var(--mint); border-color: transparent; }
.post-cover { display: grid; place-items: center; aspect-ratio: 16 / 8; border-radius: 12px; margin-bottom: 10px; background: var(--c-bg, var(--teal-50)); color: var(--c, var(--teal)); }
.post-cover .icon { width: 40px; height: 40px; opacity: .85; }

@media (max-width: 1024px) {
  .dept-tiles, .dept-tiles li, .dept-tiles li:nth-child(n+4) { grid-column: auto; }
  .dept-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dept-tiles li:last-child { grid-column: 1 / -1; }
  .service-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .dept-tiles { grid-template-columns: 1fr; }
  .service-tiles { grid-template-columns: 1fr; }
  .service-tiles li { flex-direction: row; align-items: flex-start; padding: 18px; }
  .st-icon { flex: none; }
  .dt-icon { width: 44px; height: 44px; margin-bottom: 4px; }
}
@media (max-width: 760px) { .topbar .topbar-items { max-width: 100%; } .topbar .tb-hours { display: block; overflow: hidden; text-overflow: ellipsis; } .topbar .tb-hours .icon { vertical-align: -2px; margin-right: 4px; } }
@media (max-width: 1100px) { .topbar a.hide-sm { display: none; } }
@media (max-width: 900px) { .topbar .tb-addr { display: none; } }

/* ===== v5: solid fills only (no glass / see-through backgrounds), gold accent ===== */
.search-overlay { background: #E9EFEC; }
.hs-tabs { background: #0A4D49; border-color: #1B625C; }
.hs-tab:hover { background: #13605A; }
.hs-chip { border-color: #2F716B; }
.hero3-facts ul { border-top-color: #2A6B65; }
.btn-ghost-light { border-color: #6E9C98; }
.btn-ghost-light:hover { background: #0F534E; }
.socials a { background: #17332F; }
.footer-bottom { border-top-color: #1E3A37; }
.why-cards li { background: #0A4C48; border-color: #145D58; }
.dt-tags span { background: #FFFFFF; }
.btn-lime:hover { background: #C29B22; }
@media (max-width: 760px) { .topbar .tb-hours { white-space: nowrap; } .topbar .tb-hours .icon { display: inline-block; } }

/* ===== v6: motion ===== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* gold scroll-progress bar, every page */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; z-index: 400; pointer-events: none; }

/* header slides away on scroll down, returns on scroll up */
.site-header { transition: transform .4s var(--ease-out); }
.site-header.hdr-hidden { transform: translateY(-115%); }

/* scroll reveals (only when JS has switched motion on) */
.motion .rv {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), border-color .2s var(--ease), box-shadow .2s var(--ease);
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0s, 0s;
}
.motion .rv.in { opacity: 1; transform: none; }
.motion .dept-tiles > li.rv { transform: translateY(36px) scale(.98); }
.motion .dept-tiles > li.rv.in { transform: none; }

/* hero entrance on page load */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero3-inner > * { animation: rise 1s var(--ease-out) both; }
.hero3-inner > :nth-child(2) { animation-delay: .08s; }
.hero3-inner > :nth-child(3) { animation-delay: .16s; }
.hero3-inner > :nth-child(4) { animation-delay: .26s; }
.hero3-facts li { animation: rise .9s var(--ease-out) both; }
.hero3-facts li:nth-child(1) { animation-delay: .4s; }
.hero3-facts li:nth-child(2) { animation-delay: .48s; }
.hero3-facts li:nth-child(3) { animation-delay: .56s; }
.hero3-facts li:nth-child(4) { animation-delay: .64s; }

/* quick access arrives on load: rail from the right, dock from below */
@keyframes rail-in { from { transform: translate(110%, -50%); } to { transform: translate(0, -50%); } }
@keyframes dock-in { from { transform: translateY(140%); } to { transform: none; } }
.quick-rail { animation: rail-in .8s var(--ease-out) .5s both; }
.mobile-dock { animation: dock-in .8s var(--ease-out) .4s both; }

/* emergency: steady pulse ring so patients spot it on every page */
.qr-emergency, .md-emergency { position: relative; }
.qr-emergency::after, .md-emergency::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  animation: sos 2.4s ease-out infinite;
}
@keyframes sos {
  0%   { box-shadow: 0 0 0 0 rgba(180, 35, 24, .55); }
  70%  { box-shadow: 0 0 0 12px rgba(180, 35, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(180, 35, 24, 0); }
}
.qr-emergency .icon, .md-emergency .icon { animation: ring 2.4s ease-in-out infinite; transform-origin: 50% 20%; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(-12deg); } 72% { transform: rotate(10deg); } 78% { transform: rotate(-6deg); } 84% { transform: rotate(0); } }

/* booking: a light sweeps across every few seconds */
.btn-book-desktop, .md-book, .cta .btn-primary, .cta .btn-lime { position: relative; overflow: hidden; }
.btn-book-desktop::before, .md-book::before, .cta .btn-primary::before, .cta .btn-lime::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.38), rgba(255,255,255,0));
  transform: skewX(-20deg); animation: shine 5.5s ease-in-out 2s infinite;
}
@keyframes shine { 0%, 72% { left: -60%; } 100% { left: 130%; } }
.qr-book .icon { animation: nudge 5.5s ease-in-out 2s infinite; }
@keyframes nudge { 0%, 80%, 100% { transform: none; } 86% { transform: translateY(-3px); } 92% { transform: none; } }

/* tactile hover / press */
.btn { transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease); }
.btn:active { transform: scale(.97); }
a.card:hover, .row-item:hover, .explorer-panel .cond-link:hover { transform: translateY(-3px); }
a.card, .row-item, .explorer-panel .cond-link { transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .3s var(--ease-out); }
.service-tiles li, .why-cards li { transition: transform .3s var(--ease-out); }
.service-tiles li:hover, .why-cards li:hover { transform: translateY(-3px); }
.explorer-panel:not([hidden]) { animation: rise .5s var(--ease-out) both; }

/* page-to-page transitions (supported browsers) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
  .topbar { view-transition-name: topbar; }
  .site-header { view-transition-name: site-header; }
  .quick-rail { view-transition-name: quick-rail; }
  .mobile-dock { view-transition-name: mobile-dock; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  .motion .rv { opacity: 1 !important; transform: none !important; }
  .site-header.hdr-hidden { transform: none; }
}
@media print { .scroll-progress { display: none; } .motion .rv { opacity: 1 !important; transform: none !important; } }



/* ===== v7: patient-first homepage + richer inner pages ===== */
[data-dept="cardiology"]       { --c-mid: #F2D2CD; }
[data-dept="neurology"]        { --c-mid: #D9D4F3; }
[data-dept="gastroenterology"] { --c-mid: #F2DDBC; }
[data-dept="endocrinology"]    { --c-mid: #C9DFF2; }
[data-dept="orthopaedics"]     { --c-mid: #C8E6D3; }

/* hero: main column + Today card */
.hero3-inner.hero3-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(32px, 4vw, 72px); align-items: center; }
.hero3-grid > * { max-width: none; animation: none; }
.hero3-main > * { max-width: 760px; animation: rise 1s var(--ease-out) both; }
.hero3-main > :nth-child(2) { animation-delay: .08s; }
.hero3-main > :nth-child(3) { animation-delay: .16s; }
.hero3-main > :nth-child(4) { animation-delay: .26s; }
.today-card { background: #FFFFFF; color: var(--text); border-radius: var(--r-xl); padding: clamp(20px, 2vw, 28px); box-shadow: 0 40px 80px -40px #021F1D; animation: rise 1s var(--ease-out) .4s both; }
.tc-head h2 { font-size: 1.12rem; margin: 0; color: var(--text); letter-spacing: -.015em; }
.tc-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: #F4EEDF; color: #7A5A12; }
.tc-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C9A227; flex: none; }
.tc-status.is-open { background: #E2F3E9; color: #1D6A42; }
.tc-status.is-open::before { background: #23A15C; animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(35,161,92,.55); } 70% { box-shadow: 0 0 0 7px rgba(35,161,92,0); } 100% { box-shadow: 0 0 0 0 rgba(35,161,92,0); } }
.tc-rows { list-style: none; margin: 16px 0 18px; padding: 0; }
.tc-rows li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.tc-rows .icon { width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
.tc-rows strong { display: block; font-size: .95rem; font-weight: 600; }
.tc-rows span { display: block; font-size: .88rem; color: var(--text-2); }
.tc-rows div > a { display: inline-block; margin-top: 2px; font-size: .88rem; font-weight: 600; color: var(--teal); }
.tc-emg .icon { color: var(--danger); }
.tc-emg span a { color: var(--danger); font-weight: 700; }
.tc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tc-actions .btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 1100px) {
  .hero3-inner.hero3-grid { grid-template-columns: minmax(0, 1fr); }
  .today-card { max-width: 600px; }
}

/* departments as "which specialist do I need" */
.dept-tiles li, .dept-tiles li:nth-child(n+4) { grid-column: span 2; }
.dt-unsure a { background: var(--teal); color: #FFFFFF; }
.dt-unsure a:hover { color: #FFFFFF; border-color: var(--teal); }
.dt-unsure .dt-icon { color: var(--teal); }
.dt-unsure .dt-short { color: #CFE3DF; }
.dt-unsure .dt-go { color: var(--lime); }
.emg-strip { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px 20px; border-radius: 16px; background: #FBEAE8; border: 1px solid #F0C8C2; color: #6E1A14; }
.emg-strip .icon { color: var(--danger); flex: none; margin-top: 2px; }
.emg-strip p { margin: 0; font-size: .95rem; }
.emg-strip a { color: var(--danger); font-weight: 700; }

/* plan your visit */
.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.visit-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.visit-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin: 0; }
.visit-card h3 .icon { color: var(--teal); }
.visit-card > .btn, .vc-actions { margin-top: auto; }
.visit-card > .btn { align-self: flex-start; }
.vc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-addr { margin: 0; line-height: 1.6; }
.visit-card p.small { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; }
.steps li::before { content: counter(step); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); font-weight: 700; font-size: .85rem; }
.steps strong { font-size: .97rem; }
.steps span { font-size: .88rem; color: var(--text-2); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: .94rem; }
.checklist .icon { width: 18px; height: 18px; color: var(--teal); margin-top: 3px; }

/* doctor cards without photos */
.doctor-photo.no-photo { aspect-ratio: 4 / 3; background: var(--c-bg); color: var(--c); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.dp-icon { width: 64px; height: 64px; border-radius: 20px; background: #FFFFFF; display: grid; place-items: center; }
.dp-icon .icon { width: 30px; height: 30px; }
.dp-note { font-size: .74rem; font-weight: 600; color: var(--c); }

/* page headers: warm band, speciality tint where relevant */
.page-hero { position: relative; overflow: hidden; background: #F0ECE3; border-bottom: 0; }
.page-hero > .container { position: relative; }
.page-hero-dept { background: var(--c-bg); }
.page-hero-dept .page-kicker { color: var(--c); }
.ph-mark { position: absolute; right: max(-60px, calc((100vw - var(--container)) / 2 - 80px)); top: 50%; transform: translateY(-50%); width: clamp(220px, 28vw, 380px); height: clamp(220px, 28vw, 380px); color: var(--c-mid); pointer-events: none; }
.ph-mark .icon { width: 100%; height: 100%; stroke-width: .9; }
.page-hero-dept .chip { background: #FFFFFF; }
@media (max-width: 760px) { .ph-mark { width: 150px; height: 150px; right: -36px; top: 26px; transform: none; } }

/* condition pages: jump links instead of stacked buttons */
.jump-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-left: 6px; }
.jump-links a { font-weight: 600; font-size: .95rem; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.jump-links .jl-alert { color: var(--danger); }
.jump-links .icon { width: 17px; height: 17px; }
@media (max-width: 480px) { .jump-links { padding: 6px 0 0; gap: 8px 16px; } }

/* bug fix: search buttons inside page headers stay compact on phones */
.hero-ctas .search-field .btn { flex: none; width: auto; }
.hero-ctas .search-field { flex: 1 1 100%; }

/* tablets & phones: shorter homepage */
@media (max-width: 1024px) {
  .dept-tiles li:last-child { grid-column: auto; }
  .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .visit-grid .visit-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .dept-tiles a { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 18px; align-items: start; }
  .dept-tiles .dt-icon { grid-row: span 3; width: 46px; height: 46px; margin: 0; }
  .dept-tiles strong { font-size: 1.15rem; }
  .dept-tiles .dt-short { font-size: .9rem; }
  .dept-tiles .dt-tags span:nth-child(n+4) { display: none; }
  .dept-tiles .dt-go { display: none; }
  .service-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .service-tiles li { flex-direction: column; padding: 16px; gap: 10px; }
  .service-tiles p { display: none; }
  .service-tiles h3 { font-size: .95rem; margin: 0; }
  .m-scroll { display: grid !important; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px !important; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .m-scroll::-webkit-scrollbar { display: none; }
  .m-scroll > * { scroll-snap-align: start; }
}
.guide-grid { margin-bottom: 16px; }
.guide-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.visit-card p { margin: 0; }
.checklist li > span { min-width: 0; }
@media (max-width: 760px) { .guide-foot { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .filter-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px; } .filter-bar::-webkit-scrollbar { display: none; } .filter-btn { flex: none; } }

/* ===== v8: department pages ===== */
html:has(.dept-nav) { scroll-padding-top: 150px; }
.btn-danger { background: var(--danger); color: #FFFFFF; }
.btn-danger:hover { background: #8C1D18; color: #FFFFFF; text-decoration: none; }

/* hero stats */
.page-hero-meta .dept-stats { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 0; margin: 4px 0 0; background: #FFFFFF; border-radius: 18px; overflow: hidden; width: fit-content; max-width: 100%; }
.dept-stats div { padding: 14px 22px; border-left: 1px solid var(--c-mid, var(--line)); }
.dept-stats div:first-child { border-left: 0; }
.dept-stats dt { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; color: var(--c, var(--teal)); line-height: 1.1; }
.dept-stats dd { margin: 2px 0 0; font-size: .8rem; color: var(--text-2); }

/* sticky in-page menu */
.dept-nav { position: sticky; top: 76px; z-index: 60; background: #FFFFFF; border-bottom: 1px solid var(--line); transition: top .4s var(--ease-out); }
body:has(.site-header.hdr-hidden) .dept-nav { top: 0; }
.dept-nav-track { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.dept-nav-track::-webkit-scrollbar { display: none; }
.dept-nav a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.dept-nav a:hover { color: var(--text); background: #F3F0E8; text-decoration: none; }
.dept-nav a[aria-current="true"] { background: var(--c); color: #FFFFFF; }

/* sections */
.dsec { padding-block: clamp(56px, 7vw, 96px); }
.dsec-tight { padding-block: clamp(40px, 5vw, 64px); }
.dsec-tint { background: var(--c-bg); }
.dsec-soft { background: #F0ECE3; }
.page-hero + .dept-nav { margin-top: calc(-1 * clamp(32px, 4vw, 52px)); }
.dsec-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: .88rem; color: var(--text-2); }
.dsec-note .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--text-3); }

/* overview */
.dept-overview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.do-lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.65; color: var(--text); letter-spacing: -.01em; }
.do-actions { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 8px; }
.do-actions .link-arrow { color: var(--c); }
.do-focus { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 2.6vw, 32px); }
.do-focus h3 { font-size: 1.1rem; margin-bottom: 14px; }
.do-focus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.do-focus li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .96rem; align-items: start; }
.do-focus li:first-child { border-top: 0; padding-top: 0; }
.df-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--c-bg); color: var(--c); }
.df-ic .icon { width: 16px; height: 16px; }

/* when to visit */
.wtv-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: stretch; }
.wtv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wtv-list li { display: flex; align-items: center; gap: 14px; background: #FFFFFF; border-radius: 16px; padding: 18px 20px; font-weight: 600; font-size: 1rem; }
.wtv-list .icon { width: 22px; height: 22px; color: var(--c); flex: none; }
.wtv-emg { background: #FFFFFF; border: 2px solid #F0C8C2; border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.wtv-emg h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; color: #7A1D16; margin: 0; }
.wtv-emg h3 .icon { color: var(--danger); }
.wtv-emg ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: .94rem; color: var(--text); }
.wtv-emg li::marker { color: var(--danger); }
.wtv-emg .btn { margin-top: auto; align-self: flex-start; }

/* conditions */
.dc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dc-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); text-decoration: none; position: relative; transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .3s var(--ease-out); }
.dc-card strong { font-size: 1.08rem; letter-spacing: -.015em; }
.dc-card span { font-size: .92rem; color: var(--text-2); line-height: 1.5; }
.dc-card em { font-style: normal; margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .9rem; color: var(--c); display: inline-flex; align-items: center; gap: 6px; }
.dc-card em .icon { width: 16px; height: 16px; }
.dc-card:hover { border-color: var(--c-mid); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; color: var(--text); }

/* treatments */
.dt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.dtr-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #FFFFFF; border-radius: var(--r-lg); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: box-shadow .25s var(--ease), transform .3s var(--ease-out); }
.dtr-card .tag { align-self: flex-start; }
.dtr-card strong { font-size: 1.12rem; letter-spacing: -.015em; }
.dtr-card > span:not(.tag) { font-size: .92rem; color: var(--text-2); }
.dtr-card em { font-style: normal; margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .9rem; color: var(--c); display: inline-flex; align-items: center; gap: 6px; }
.dtr-card em .icon { width: 16px; height: 16px; }
.dtr-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; color: var(--text); }

/* tests */
.dept-tests { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.dept-tests h2 { margin-bottom: 10px; }
.test-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.test-grid li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; font-weight: 600; font-size: .96rem; }
.tg-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c-bg); color: var(--c); flex: none; }
.tg-ic .icon { width: 20px; height: 20px; }

/* visit journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: j; }
.journey li { counter-increment: j; position: relative; display: flex; flex-direction: column; gap: 8px; background: #FFFFFF; border-radius: var(--r-lg); padding: 24px 22px; }
.journey li::after { content: "Step " counter(j); position: absolute; top: 24px; right: 22px; font-size: .75rem; font-weight: 700; color: var(--c); }
.journey .icon { width: 26px; height: 26px; color: var(--c); margin-bottom: 8px; }
.journey strong { font-size: 1.05rem; }
.journey span { font-size: .9rem; color: var(--text-2); line-height: 1.5; }

/* doctors */
.dept-docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.dd-cta { grid-column: span 3; background: var(--teal-dark); color: #FFFFFF; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
.dd-cta h3 { color: #FFFFFF; font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 0; }
.dd-cta p { color: #C9DAD7; margin: 0; max-width: 520px; }
.dd-call { color: #FFFFFF; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.dd-call .icon { color: var(--lime); width: 18px; height: 18px; }

/* other departments */
.od-title { font-size: 1.2rem; margin-bottom: 14px; }
.other-depts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.other-depts a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--c-bg); border-radius: 16px; color: var(--text); text-decoration: none; transition: transform .3s var(--ease-out); }
.other-depts a > span { width: 38px; height: 38px; border-radius: 11px; background: #FFFFFF; color: var(--c); display: grid; place-items: center; flex: none; }
.other-depts a > .icon { margin-left: auto; color: var(--c); width: 18px; height: 18px; }
.other-depts strong { font-size: 1rem; }
.other-depts a:hover { transform: translateY(-2px); text-decoration: none; color: var(--text); }

@media (max-width: 1024px) {
  .dept-overview, .wtv-grid, .dept-tests { grid-template-columns: minmax(0, 1fr); }
  .dc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dept-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dd-cta { grid-column: 1 / -1; }
  .other-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .dept-nav { top: 70px; }
  .page-hero-meta .dept-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .dept-stats div:nth-child(3) { border-left: 0; }
  .dept-stats div:nth-child(n+3) { border-top: 1px solid var(--c-mid, var(--line)); }
  .dept-stats div { padding: 12px 16px; }
}
@media (max-width: 600px) {
  .dc-grid, .wtv-list, .test-grid, .journey, .other-depts { grid-template-columns: minmax(0, 1fr); }
  .dept-docs { grid-template-columns: minmax(0, 1fr); }
  .wtv-list li { padding: 14px 16px; }
  .journey li { padding: 20px 18px; }
}
@media (max-width: 600px) { .wtv-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; } .wtv-list li { flex-direction: column; align-items: flex-start; gap: 10px; font-size: .92rem; padding: 14px; } }

/* ===== v9: hero with no overlays or see-through fills ===== */
.hero3 { background: linear-gradient(165deg, #0A6A64 0%, #075E59 38%, #063F3C 100%); }
.hero3.has-photo::before { content: none; display: none; }
.hero3-photo { inset: 0 0 0 auto; width: 40%; height: 100%; z-index: 0; object-fit: cover; object-position: 78% center; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.hero3-inner { position: relative; z-index: 1; }
.hs-chip:hover { background: #FFFFFF; }
@media (max-width: 1100px) {
  .hero3-photo { position: relative; inset: auto; width: auto; height: clamp(190px, 34vw, 340px); margin: 0 var(--gutter) 28px; border-radius: 20px; clip-path: none; object-position: 70% 60%; flex: none; }
}
@media (max-width: 1100px) { .hero3.has-photo { padding-top: calc(var(--hdr) + 18px); } }
@media (max-width: 600px) { .hero3-photo { height: 168px; margin-bottom: 22px; border-radius: 18px; } }

/* ===== v10: hero tabs & chips in solid, clearly visible colours ===== */
.hs-tabs { background: #FFFFFF; border: 0; padding: 4px; box-shadow: 0 10px 24px -14px #021F1D; }
.hs-tab { background: #FFFFFF; color: var(--teal-dark); font-weight: 600; }
.hs-tab:hover { background: #E3F1EB; color: var(--teal-dark); }
.hs-tab[aria-pressed="true"] { background: var(--teal); color: #FFFFFF; }
.hs-label { color: #D9F0E5; font-weight: 600; }
.hs-chip { background: #D9F0E5; border: 0; color: var(--teal-dark); font-weight: 600; }
.hs-chip:hover { background: #FFFFFF; color: var(--teal-dark); }
.hs-chip.recent { background: #F5ECCF; color: #5C4610; border: 0; }
.hs-clear { color: #D9F0E5; }

/* ===== v11: condition pages — wide layout, readable typography ===== */
.cond h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); letter-spacing: -.025em; text-wrap: balance; }
.cond-head { max-width: 760px; margin-bottom: clamp(22px, 3vw, 34px); }
.cond-head h2 { margin-bottom: 8px; }
.cond-head p { margin: 0; color: var(--text-2); font-size: 1.06rem; line-height: 1.6; }

/* reading column */
.cond-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.read { max-width: 70ch; }
.read h2 { margin-bottom: 16px; }
.read h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); margin: 30px 0 10px; letter-spacing: -.015em; }
.read p { font-size: clamp(1.03rem, 1.2vw, 1.1rem); line-height: 1.75; color: var(--text); margin: 0 0 1em; }
.read .read-lead { font-size: clamp(1.12rem, 1.5vw, 1.28rem); line-height: 1.7; letter-spacing: -.008em; }

/* at a glance */
.glance { position: sticky; top: 150px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 2.4vw, 28px); }
.glance h2 { font-size: 1.1rem; margin: 0 0 6px; letter-spacing: -.01em; }
.glance dl { margin: 0 0 18px; }
.glance dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.glance dl > div:first-child { border-top: 0; }
.glance dt { font-size: .78rem; font-weight: 700; color: var(--c); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.glance dd { margin: 0; font-size: .96rem; line-height: 1.5; }
.glance dd a { color: var(--text); font-weight: 600; }

/* tick lists as tiles */
.tick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.tick-grid li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 1.02rem; line-height: 1.55; }
.tick-grid.on-white li, .tick-grid.on-card li { background: #FFFFFF; border-radius: 16px; padding: 16px 18px; }
.tick-grid.on-card li { border: 1px solid var(--line); }
.tk { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--c-bg); color: var(--c); }
.tk .icon { width: 16px; height: 16px; }
.dx-card .tick-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.dx-card .tick-grid li { padding: 12px 0; border-top: 1px solid var(--line); }
.dx-card .tick-grid li:first-child { border-top: 0; padding-top: 4px; }

/* types */
.type-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.type-cards > div { background: #FFFFFF; border-radius: var(--r-lg); padding: 22px; }
.type-cards strong { font-size: 1.08rem; display: block; margin-bottom: 6px; }
.type-cards p { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--text-2); }

/* diagnosis + treatment */
.dx-tx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.dx-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 2.6vw, 32px); }
.dx-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 0 0 14px; }
.dx-card h3 .icon { color: var(--c); }
.dx-note { margin: 14px 0 0; font-size: .92rem; color: var(--text-2); line-height: 1.6; }

/* when to seek care */
.seek-band { background: #FBEDEB; }
.seek { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.seek-main h2 { display: flex; align-items: center; gap: 12px; color: #6E1A14; margin-bottom: 18px; }
.seek-main h2 .icon { color: var(--danger); width: 30px; height: 30px; flex: none; }
.seek-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.seek-main li { position: relative; background: #FFFFFF; border-radius: 14px; padding: 14px 18px 14px 44px; font-size: 1.02rem; line-height: 1.55; }
.seek-main li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); }
.seek-side { display: grid; gap: 12px; }
.seek-emg, .seek-book { background: #FFFFFF; border-radius: var(--r-lg); padding: 22px; }
.seek-emg { border: 2px solid #F0C8C2; }
.seek-emg strong, .seek-book strong { font-size: 1.05rem; }
.seek-emg p, .seek-book p { margin: 4px 0 14px; font-size: .94rem; color: var(--text-2); }

/* care team */
.care-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.care-card { display: flex; flex-direction: column; gap: 4px; background: #FFFFFF; border-radius: var(--r-lg); padding: 22px; color: var(--text); text-decoration: none; transition: transform .3s var(--ease-out), box-shadow .25s var(--ease); }
.care-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; color: var(--text); }
.care-card small { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c); }
.care-card strong { font-size: 1.08rem; }
.care-card > span:last-child { font-size: .92rem; color: var(--text-2); line-height: 1.5; }
.cc-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--c-bg); color: var(--c); margin-bottom: 10px; }
.care-dept { background: var(--c-bg); }
.care-dept .cc-ic { background: #FFFFFF; }

/* references + review */
.refs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.refs-grid h2 { font-size: 1.25rem; margin-bottom: 12px; }
.refs-grid .refs { font-size: .94rem; line-height: 1.6; }

/* related conditions */
.rel-conds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rel-conds a { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; color: var(--text); text-decoration: none; }
.rel-conds strong { font-size: 1rem; }
.rel-conds span { font-size: .88rem; color: var(--text-2); line-height: 1.5; }
.rel-conds .icon { margin-top: auto; color: var(--c); width: 18px; height: 18px; }
.rel-conds a:hover { box-shadow: var(--shadow-md); text-decoration: none; color: var(--text); }

/* FAQ answers readable */
.cond .accordion p, .cond .accordion .acc-body { font-size: 1.02rem; line-height: 1.7; }

@media (max-width: 1024px) {
  .cond-overview, .seek { grid-template-columns: minmax(0, 1fr); }
  .glance { position: static; max-width: 560px; }
  .rel-conds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .dx-tx, .refs-grid { grid-template-columns: minmax(0, 1fr); }
  .seek-side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .rel-conds { grid-template-columns: minmax(0, 1fr); }
  .tick-grid li { font-size: 1rem; }
  .read p { line-height: 1.7; }
}
.read p { font-size: clamp(1.05rem, 1.25vw, 1.125rem); }
.read .read-lead { font-size: clamp(1.08rem, 1.35vw, 1.2rem); }
