/* Dr. İnci Şabanlı — site styles */
:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface-2: #f2f6f6;
  --surface-3: #f7f1f6;
  --ink: #1b2230;
  --ink-2: #3d4657;
  --muted: #5a6373;
  --line: #e2e6eb;
  --line-2: #d3d9e0;
  --primary: #0f6e73;
  --primary-700: #0a5357;
  --primary-50: #e6f1f1;
  --primary-100: #cfe5e5;
  --accent: #86407f;
  --accent-50: #f6ecf4;
  --accent-100: #ecd6e8;
  --warn-50: #fff6e8;
  --warn-ink: #7a4b0c;
  --focus: #1b6fd1;

  --font-sans: "Onest", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;

  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(27, 34, 48, .06), 0 2px 8px rgba(27, 34, 48, .05);
  --shadow: 0 2px 6px rgba(27, 34, 48, .05), 0 12px 32px rgba(27, 34, 48, .08);
  --shadow-l: 0 8px 24px rgba(27, 34, 48, .08), 0 32px 64px rgba(15, 110, 115, .12);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 80px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-700); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.15rem, 1.35rem + 3.2vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .35vw, 1.38rem); font-weight: 700; letter-spacing: -.005em; }
h4 { font-size: 1.1rem; font-weight: 700; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary-100); color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 4rem + 3vw, 112px); position: relative; }
.section--tint { background: var(--surface-2); }
.section--plum { background: var(--surface-3); }
.section--white { background: var(--surface); }
.section--tight { padding-block: clamp(40px, 2.5rem + 2vw, 72px); }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 2rem + 1vw, 48px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--ink-2); font-size: 1.15rem; margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; font-weight: 600; color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: clamp(1.15rem, 1.08rem + .35vw, 1.3rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: .95rem; }
.mt-s { margin-top: 16px; }
.mt-l { margin-top: clamp(28px, 1.5rem + 2vw, 48px); }
.mb0 { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-ink: var(--ink); --btn-line: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid var(--btn-line);
  background: var(--btn-bg); color: var(--btn-ink);
  font: 600 1.05rem/1.25 var(--font-sans);
  text-decoration: none; cursor: pointer; text-align: center; max-width: 100%;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { --btn-line: var(--ink-2); color: var(--btn-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--primary); --btn-ink: #fff; --btn-line: var(--primary); box-shadow: 0 8px 22px rgba(15, 110, 115, .28); min-height: 58px; padding-inline: 30px; font-size: 1.1rem; }
.btn--primary:hover { --btn-bg: var(--primary-700); --btn-line: var(--primary-700); color: #fff; box-shadow: 0 12px 28px rgba(15, 110, 115, .34); }
.btn--secondary { --btn-bg: var(--surface); --btn-line: var(--line-2); }
.btn--secondary:hover { --btn-line: var(--primary); color: var(--primary-700); }
.btn--soft { --btn-bg: var(--primary-50); --btn-ink: var(--primary-700); --btn-line: transparent; }
.btn--soft:hover { --btn-bg: var(--primary-100); --btn-line: transparent; color: var(--primary-700); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
@media (max-width: 480px) {
  .hero__actions .btn--primary, .cta-band .btn--primary, .contact-grid .btn--primary { width: 100%; padding-inline: 20px; }
  .cta-band__actions { justify-items: stretch; }
}
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 247, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(27, 34, 48, .06); background: rgba(255, 255, 255, .92); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: grid; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; white-space: nowrap; }
.brand__role { font-size: .9rem; color: var(--muted); font-weight: 500; }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
  border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 1.02rem;
  transition: background-color .2s, color .2s;
}
.nav__link:hover { background: var(--primary-50); color: var(--primary-700); }
.nav__item.has-sub .nav__link { padding-right: 4px; }
.nav__toggle {
  display: inline-grid; place-items: center; width: 30px; height: 40px; margin-left: -2px;
  border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 8px;
}
.nav__toggle svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: var(--primary-700); background: var(--primary-50); }
.sub {
  position: absolute; top: calc(100% + 10px); left: -12px; z-index: 10;
  min-width: 290px; list-style: none; margin: 0; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-l);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.sub--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.sub a {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px;
  color: var(--ink); text-decoration: none; font-weight: 550; line-height: 1.35;
}
.sub a small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.sub a:hover, .sub a:focus-visible { background: var(--surface-2); color: var(--primary-700); }
.sub a[aria-current="page"] { background: var(--primary-50); color: var(--primary-700); }
.sub__ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.sub__ico svg { width: 20px; height: 20px; }
.sub__all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.sub__all a { justify-content: space-between; color: var(--primary-700); }
.nav__item.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .nav__item:hover > .sub { opacity: 1; visibility: visible; transform: none; } }
.nav__item.is-open > .nav__toggle svg, .nav__item:hover > .nav__toggle svg { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-vcard { min-height: 46px; padding: 8px 16px 8px 14px; font-size: 1rem; }
.btn-vcard span { display: none; }
.nav-burger { display: inline-grid; }
@media (min-width: 440px) { .btn-vcard span { display: inline; } }
@media (min-width: 1200px) {
  .nav { display: block; }
  .nav-burger { display: none; }
  .brand { margin-right: 0; }
  .nav { margin-inline: auto; }
}
@media (max-width: 380px) { .brand__role { display: none; } .brand__name { font-size: 1.08rem; } .brand__mark { width: 40px; height: 40px; } }

/* ---------- dialogs (shared) ---------- */
.dlg { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; color: var(--ink); }
.dlg::backdrop { background: rgba(20, 26, 38, .48); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg[open] { animation: dlg-in .22s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
body.has-dialog { overflow: hidden; }

/* drawer */
.dlg--drawer { margin: 0 0 0 auto; height: 100%; height: 100dvh; width: min(420px, 100%); }
.dlg--drawer[open] { animation: drawer-in .26s var(--ease); display: grid; grid-template-rows: minmax(0, 1fr); }
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer { background: var(--surface); height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; box-shadow: var(--shadow-l); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__body { overflow-y: auto; min-height: 0; padding: 10px var(--gutter) 20px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.mnav { list-style: none; margin: 0; padding: 0; }
.mnav > li { border-bottom: 1px solid var(--line); }
.mnav__row { display: flex; align-items: center; }
.mnav__link { flex: 1; display: flex; align-items: center; min-height: 56px; padding: 8px 4px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.12rem; }
.mnav__link[aria-current="page"] { color: var(--primary-700); }
.mnav__toggle { width: 48px; height: 48px; border: 0; background: var(--surface-2); border-radius: 12px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.mnav__toggle svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.mnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav__sub { list-style: none; margin: 0 0 12px; padding: 4px 0 4px 12px; border-left: 2px solid var(--primary-100); }
.mnav__sub a { display: flex; align-items: center; min-height: 46px; padding: 6px 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; border-radius: 10px; }
.mnav__sub a:hover, .mnav__sub a[aria-current="page"] { background: var(--primary-50); color: var(--primary-700); }
.drawer__contact { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 1rem; }
.drawer__contact a { font-weight: 600; text-decoration: none; }

/* search */
.dlg--search { width: min(720px, calc(100% - 24px)); margin: clamp(12px, 8vh, 96px) auto auto; }
.dlg--search[open] { display: grid; grid-template-rows: minmax(0, 1fr); max-height: calc(100dvh - clamp(24px, 16vh, 192px)); }
.search { background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow-l); display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-height: 0; overflow: hidden; }
.search__bar { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.search__bar > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 1.2rem/1.4 var(--font-sans); color: var(--ink); padding: 10px 0; }
.search__input::placeholder { color: #8a92a0; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 20px 6px; font-size: .95rem; color: var(--muted); }
.chip { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 6px 14px; min-height: 38px; font: 500 .95rem var(--font-sans); cursor: pointer; }
.chip:hover { border-color: var(--primary); color: var(--primary-700); }
.search__scroll { overflow-y: auto; min-height: 0; padding: 8px 12px 16px; overscroll-behavior: contain; }
.search__results { list-style: none; margin: 0; padding: 0; }
.search__results a { display: block; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.search__results a:hover, .search__results a:focus-visible { background: var(--surface-2); outline-offset: -3px; }
.search__results .r-title { display: block; font-weight: 650; }
.search__results .r-page { display: block; font-size: .85rem; color: var(--accent); font-weight: 600; margin-bottom: 2px; }
.search__results .r-text { display: block; font-size: .98rem; color: var(--muted); line-height: 1.5; }
.search__results mark { background: #fbe7a8; color: inherit; border-radius: 3px; padding: 0 1px; }
.search__status { padding: 10px 14px; margin: 0; color: var(--muted); font-size: 1rem; }

/* vizitkart */
.dlg--vcard { width: min(480px, calc(100% - 24px)); margin: auto; }
.dlg--vcard[open] { display: grid; grid-template-rows: minmax(0, 1fr); max-height: calc(100dvh - 24px); }
.vcard { position: relative; background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow-l); overflow: auto; min-height: 0; }
.vcard__top { position: relative; padding: 28px 24px 22px; background: linear-gradient(135deg, var(--primary-50), var(--accent-50)); display: flex; gap: 18px; align-items: center; }
.vcard__close { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, .8); }
.vcard__photo { width: 92px; height: 92px; border-radius: 24px; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-s); flex: none; }
.vcard__eyebrow { margin: 0 0 2px; font-size: .9rem; font-weight: 600; color: var(--accent); }
.vcard__name { margin: 0; font-size: 1.55rem; }
.vcard__role { margin: 2px 0 0; color: var(--ink-2); font-weight: 500; }
.vcard__list { list-style: none; margin: 0; padding: 8px 24px; }
.vcard__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.vcard__list li:last-child { border-bottom: 0; }
.vcard__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--primary); display: grid; place-items: center; }
.vcard__ico svg { width: 20px; height: 20px; }
.vcard__body { flex: 1; min-width: 0; line-height: 1.45; }
.vcard__label { display: block; font-size: .88rem; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.vcard__body a { font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.vcard__body a:hover { text-decoration: underline; }
.copy-btn { flex: none; align-self: center; border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; min-height: 40px; padding: 6px 12px; font: 600 .9rem var(--font-sans); color: var(--ink-2); cursor: pointer; }
.copy-btn:hover { border-color: var(--primary); color: var(--primary-700); }
.vcard__social { display: flex; gap: 8px; flex-wrap: wrap; }
.vcard__actions { display: grid; gap: 10px; padding: 8px 24px 24px; }
@media (min-width: 420px) { .vcard__actions { grid-template-columns: 1fr 1fr; } }

.social-link { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink-2); background: var(--surface); transition: color .2s, border-color .2s; }
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { color: var(--primary); border-color: var(--primary); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); transition: opacity .2s, transform .2s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 2rem + 3vw, 80px) clamp(56px, 3rem + 3vw, 104px); overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(closest-side, rgba(15, 110, 115, .16), transparent); }
.hero::after { width: 460px; height: 460px; left: -180px; bottom: -160px; background: radial-gradient(closest-side, rgba(134, 64, 127, .12), transparent); }
.hero__grid { display: grid; gap: clamp(32px, 2rem + 2vw, 64px); align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero__copy { max-width: 640px; position: relative; z-index: 2; }
.hero__title { margin-bottom: .35em; }
.hero__title small { display: block; font-family: var(--font-sans); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 600; color: var(--primary-700); letter-spacing: 0; margin-top: .45em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 28px 0 0; }
.trust { list-style: none; margin: clamp(32px, 2rem + 2vw, 56px) 0 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.trust li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); line-height: 1.35; box-shadow: var(--shadow-s); }
.trust strong { display: block; font-size: 1.02rem; }
.trust span { color: var(--muted); font-size: .95rem; }
.trust__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; }
.trust__ico svg { width: 22px; height: 22px; }

.hero__visual { position: relative; z-index: 1; max-width: 500px; width: 100%; margin-inline: auto; padding: 0 12px 18px; }
@media (min-width: 960px) { .hero__visual { margin-right: 0; } }
.photo-card {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  background: linear-gradient(160deg, #e4f0f0, #f1e8f1);
  box-shadow: var(--shadow-l);
  aspect-ratio: 4 / 5;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); pointer-events: none; }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); line-height: 1.3;
}
.float-card strong { display: block; font-size: 1rem; }
.float-card span { display: block; font-size: .88rem; color: var(--muted); }
.float-card__ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); }
.float-card__ico svg { width: 20px; height: 20px; }
.float-card--a { left: -4px; bottom: 64px; max-width: 250px; }
.float-card--b { right: -4px; top: 28px; }
@media (min-width: 1200px) { .float-card--a { left: -44px; } .float-card--b { right: -28px; } }
@media (max-width: 420px) { .float-card { padding: 10px 12px; } .float-card--b { top: 14px; } .float-card--a { bottom: 34px; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: clamp(20px, 1rem + 2vw, 40px) clamp(40px, 2rem + 3vw, 80px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; right: -160px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 110, 115, .12), transparent); filter: blur(40px); }
.page-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .page-hero__grid--media { grid-template-columns: 1.2fr .8fr; } }
.page-hero h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.15rem); }
.page-hero .lead { max-width: 720px; }
.page-hero__media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--surface-2); max-width: 460px; width: 100%; justify-self: center; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media--portrait { aspect-ratio: 4 / 5; }
.crumbs { margin-bottom: clamp(18px, 1rem + 1vw, 32px); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .95rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; margin-right: 4px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; font-weight: 500; color: var(--ink-2); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: clamp(16px, 1rem + .5vw, 24px); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 1.2rem + .6vw, 28px); box-shadow: var(--shadow-s); }
.card h3 { margin-bottom: .4em; }
.h3-like { font-family: var(--font-sans); font-size: clamp(1.2rem, 1.1rem + .35vw, 1.38rem); font-weight: 700; letter-spacing: -.005em; margin-bottom: .5em; }
.card-link { color: var(--ink); text-decoration: none; }
.card-link:hover { color: var(--primary-700); text-decoration: underline; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-100); color: var(--ink); }
.svc-card p { color: var(--ink-2); margin: 0; font-size: 1.02rem; }
.svc-card .link-arrow { margin-top: auto; padding-top: 6px; color: var(--primary); }
.ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); margin-bottom: 6px; }
.ico svg { width: 28px; height: 28px; }
.ico--plum { background: var(--accent-50); color: var(--accent); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 36px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6e73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist--plum li::before { background-color: var(--accent-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386407f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.checklist--cols { column-gap: 32px; }
@media (min-width: 720px) { .checklist--cols { display: block; columns: 2; } .checklist--cols li { break-inside: avoid; margin-bottom: 10px; } }
.dots { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 22px; }
.dots li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.split { display: grid; gap: clamp(28px, 2rem + 2vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-text { grid-template-columns: 1.15fr .85fr; } }
.media-frame { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--45 { aspect-ratio: 4 / 5; }
.media-frame--11 { aspect-ratio: 1 / 1; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-s); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--primary); color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; }
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--ink-2); }
.steps--list { margin-top: 24px; }
@media (min-width: 860px) { .steps--list { grid-template-columns: 1fr; } }
.steps--list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 18px 20px; }
.steps--list li::before { grid-row: 1 / span 2; margin: 0; }
.steps--list h3 { font-size: 1.12rem; }

/* myths */
.myth { display: grid; gap: 12px; align-content: start; }
.myth p { margin: 0; }
.myth__q { font-weight: 650; font-size: 1.08rem; color: var(--ink); }
.myth__a { color: var(--ink-2); }
.myth__tag { display: inline-block; font-size: .82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-right: 10px; background: #fbe6e6; color: #922b2b; vertical-align: 1px; }
.myth__tag--ok { background: var(--primary-50); color: var(--primary-700); }

.quote { position: relative; margin: 0; padding: clamp(24px, 1.5rem + 1vw, 36px); border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.08rem + .55vw, 1.5rem); line-height: 1.5; color: var(--ink); margin: 0 0 14px; }
.quote figcaption { color: var(--muted); font-weight: 600; font-size: 1rem; }
.note + .quote { margin-top: 20px; }
.quote__mark { width: 40px; height: 40px; color: var(--accent); margin-bottom: 10px; }

.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--warn-50); color: var(--warn-ink); border: 1px solid #f2dfbd; font-size: 1.02rem; line-height: 1.55; }
.note svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.note p { margin: 0; }
.note--info { background: var(--primary-50); color: #0c4a4d; border-color: var(--primary-100); }

.stat-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--primary-100); }
.timeline li { position: relative; padding: 0 0 26px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 4px solid var(--primary); }
.timeline__when { display: inline-block; font-weight: 700; color: var(--primary-700); font-size: .98rem; margin-bottom: 2px; }
.timeline h3 { font-size: 1.15rem; margin-bottom: .2em; }
.timeline p { margin: 0; color: var(--ink-2); }

/* event gallery */
.gallery { display: grid; gap: 16px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.gallery .g-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 14px 16px 16px; font-size: 1rem; line-height: 1.45; }
.gallery figcaption strong { display: block; }
.gallery figcaption span { color: var(--muted); font-size: .95rem; }

/* prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--accent); }

/* layout with aside */
.with-aside { display: grid; gap: clamp(24px, 1.5rem + 2vw, 64px); align-items: start; }
.with-aside > .article { min-width: 0; }
@media (min-width: 1024px) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 320px; }
  .with-aside > .article { grid-column: 1; grid-row: 1; }
  .with-aside > .page-aside { grid-column: 2; grid-row: 1; align-self: stretch; }
  .aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (max-width: 1023.98px) { .page-aside .aside-card { display: none; } }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; box-shadow: var(--shadow-s); }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 6px 8px; font-weight: 700; color: var(--ink); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease); flex: none; margin-left: auto; }
.toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.toc__count { font-weight: 500; color: var(--muted); font-size: .92rem; }
.toc ol { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 500; line-height: 1.35; font-size: 1rem; }
.toc a:hover, .toc a.is-current { background: var(--primary-50); color: var(--primary-700); }
.aside-card { margin-top: 16px; background: linear-gradient(160deg, var(--primary-50), var(--accent-50)); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.aside-card h2 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.aside-card p { font-size: 1rem; color: var(--ink-2); margin-bottom: 12px; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: 8px; }

.article-block { padding-bottom: clamp(28px, 1.5rem + 1.5vw, 44px); margin-bottom: clamp(28px, 1.5rem + 1.5vw, 44px); border-bottom: 1px solid var(--line); }
.article-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.article-block > h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.1rem); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 0 0 1em; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 480px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
caption { caption-side: bottom; text-align: left; padding: 10px 16px 12px; font-size: .92rem; color: var(--muted); }
@media (max-width: 639.98px) {
  .table-wrap { overflow: visible; border: 0; background: none; }
  .rtable, .rtable tbody, .rtable tr, .rtable th, .rtable td, .rtable caption { display: block; width: 100%; }
  .rtable { min-width: 0; }
  .rtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rtable tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 8px 0; }
  .rtable th, .rtable td { border: 0; padding: 6px 16px; }
  .rtable th[scope="row"] { background: none; font-size: 1.05rem; }
  .rtable td::before { content: attr(data-label); display: block; font-size: .85rem; font-weight: 600; color: var(--muted); }
  .rtable caption { padding: 4px 2px 0; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden; }
.faq details[open] { border-color: var(--primary-100); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 650; font-size: 1.08rem; line-height: 1.4; min-height: 60px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: inherit; margin: 0; color: inherit; letter-spacing: 0; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2230' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--primary-50); }
.faq summary:hover { color: var(--primary-700); }
.faq .faq__a { padding: 0 20px 20px; color: var(--ink-2); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* media cards */
.media-grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .media-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.mcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.mcard__media { position: relative; aspect-ratio: 16 / 9; background: #10151f; overflow: hidden; }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .5s var(--ease), opacity .3s; }
.mcard__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mcard__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 22, .45)); cursor: pointer; color: #fff; width: 100%; }
.mcard__play span { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--primary); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.mcard__play span svg { width: 26px; height: 26px; margin-left: 4px; }
.mcard__play:hover span { transform: scale(1.07); }
.mcard:hover .mcard__media img { transform: scale(1.03); opacity: 1; }
.mcard__badge { position: absolute; left: 12px; top: 12px; z-index: 1; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .85rem; font-weight: 650; padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.mcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mcard__meta { font-size: .92rem; color: var(--accent); font-weight: 600; }
.mcard__title { font-size: 1.15rem; margin: 0; line-height: 1.35; }
.mcard__body p { font-size: 1rem; color: var(--ink-2); margin: 0; }
.mcard__links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mcard__links a { font-weight: 600; font-size: 1rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.mcard__links a:hover { text-decoration: underline; }
.mcard__links svg { width: 16px; height: 16px; }

.efir-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 800px) { .efir-list { grid-template-columns: repeat(2, 1fr); } }
.efir-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; line-height: 1.45; }
.efir-list strong { display: block; }
.efir-list span { color: var(--ink-2); font-size: 1rem; }
.efir-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center; }
.efir-ico svg { width: 21px; height: 21px; }

/* contact */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .vcard__body { font-size: 1.05rem; }
.clinic-card { display: grid; gap: 0; overflow: hidden; padding: 0; }
@media (min-width: 560px) { .clinic-card { grid-template-columns: minmax(130px, 200px) minmax(0, 1fr); } }
.clinic-card__img { background: #29b6e6; min-height: 240px; max-height: 420px; overflow: hidden; }
@media (max-width: 559.98px) { .clinic-card__img { height: 280px; } }
.clinic-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.clinic-card__body { padding: 24px; min-width: 0; }
.clinic-card__body .btn { margin-top: 6px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* BMI tool */
.bmi { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(20px, 1.2rem + 1vw, 32px); box-shadow: var(--shadow-s); }
@media (min-width: 820px) { .bmi { grid-template-columns: 1fr 1fr; align-items: center; } }
.bmi__fields { display: grid; gap: 14px; }
@media (min-width: 480px) { .bmi__fields { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 1rem; }
.field input { width: 100%; min-height: 54px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 10px 14px; font: 500 1.15rem var(--font-sans); color: var(--ink); background: var(--bg); }
.field input:focus { outline: 3px solid var(--primary-100); border-color: var(--primary); }
.field small { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.bmi__out { border-radius: var(--radius); background: var(--surface-2); padding: 20px; min-height: 160px; display: grid; align-content: center; gap: 6px; }
.bmi__val { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--primary-700); }
.bmi__cat { font-weight: 700; font-size: 1.15rem; }
.bmi__scale { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #7fb4d8 0 14%, #49a57c 14% 40%, #e0b54a 40% 60%, #e08a4a 60% 80%, #cc5a5a 80%); margin: 8px 0 4px; }
.bmi__pin { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); transform: translate(-50%, -50%); left: 0; transition: left .35s var(--ease); }
.bmi__out p { margin: 0; font-size: .98rem; color: var(--ink-2); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-l); padding: clamp(28px, 1.5rem + 2.5vw, 56px); background: linear-gradient(135deg, #0f6e73 0%, #0c5c62 55%, #5d3a6e 130%); color: #fff; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr auto; } }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .88); margin: 0; font-size: 1.12rem; }
.cta-band .btn--primary { --btn-bg: #fff; --btn-ink: var(--primary-700); --btn-line: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .22); }
.cta-band .btn--primary:hover { --btn-bg: #f0f7f7; --btn-line: #f0f7f7; color: var(--primary-700); }
.cta-band__sub { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 1rem; }
.cta-band__sub a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); }
.cta-band__actions { display: grid; gap: 10px; justify-items: start; }

/* related */
.related { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .related { grid-template-columns: repeat(5, 1fr); } }
.related a { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 64px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.related a:hover { border-color: var(--primary-100); transform: translateY(-2px); box-shadow: var(--shadow-s); color: var(--primary-700); }

/* contact bits */
.big-phone { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 18px; }
.big-phone a { color: var(--ink); text-decoration: none; }
.big-phone a:hover { color: var(--primary-700); }
.linklike { border: 0; background: none; padding: 0; font: inherit; font-weight: 650; color: var(--primary); cursor: pointer; }
.linklike:hover { text-decoration: underline; color: var(--primary-700); }
.social-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.social-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-items: center; padding: 16px 20px; }
.social-card .ico { margin: 0; grid-row: span 2; }
.social-card h3 { margin: 0; }
.social-card p { font-size: .98rem; }

/* regional */
.region-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .region-list { grid-template-columns: repeat(3, 1fr); } }
.region-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; line-height: 1.5; }
.region-list strong { display: block; font-size: 1.08rem; }
.region-list span { display: block; color: var(--muted); font-size: .98rem; }
.region-list a { font-weight: 600; text-decoration: none; }

/* ---------- footer ---------- */
.site-footer { background: #141a26; color: #c9ced8; padding-top: clamp(48px, 3rem + 2vw, 80px); margin-top: 0; }
.site-footer a { color: #e9edf3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__role { color: #aab2bf; }
.footer-brand p { margin-top: 16px; font-size: 1rem; max-width: 380px; color: #b7bfcb; }
.footer-col h2 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col li a { display: inline-flex; align-items: center; min-height: 36px; font-size: 1rem; }
.footer-col p { font-size: 1rem; margin-bottom: .5em; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social .social-link { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #e9edf3; }
.footer-social .social-link:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.footer-note { margin-top: 40px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; color: #aab2bf; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 18px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; color: #aab2bf; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 404 */
.nf { text-align: center; max-width: 620px; margin-inline: auto; }
.nf__code { font-family: var(--font-serif); font-size: clamp(4rem, 3rem + 6vw, 7rem); line-height: 1; color: var(--primary-100); font-weight: 600; margin-bottom: 8px; }
.nf .btn-row { justify-content: center; }

@media print {
  .site-header, .site-footer, .cta-band, .dlg, .toc, .aside-card, .skip { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section { padding-block: 16px; }
}
