/* Uzm. Dr. Samir Cəlilov — site styles */

/* ---------- Tokens ---------- */
:root {
  --ink: #0e1b24;
  --ink-2: #15252e;
  --ink-3: #213540;
  --lime: #b6e04e;
  --lime-2: #cdea83;
  --lime-soft: #eef6d9;
  --lime-deep: #8db832;
  --green: #2f6b1f;
  --green-2: #234f17;
  --sand: #f6f2eb;
  --sand-2: #ede6da;
  --paper: #fff;
  --text: #1b2731;
  --muted: #56636e;
  --line: #e5dfd4;
  --line-2: #d6cdbe;
  --on-dark: #dbe5ea;
  --on-dark-2: #a9bac2;
  --danger: #b42318;
  --r-s: 10px;
  --r: 18px;
  --r-l: 28px;
  --r-shape: 18px 6px 18px 6px;
  --shadow-1: 0 1px 2px rgba(14, 27, 36, .05), 0 6px 18px rgba(14, 27, 36, .06);
  --shadow-2: 0 18px 48px rgba(14, 27, 36, .16);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
dialog:not([open]) { display: none !important; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--green-2); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(182, 224, 78, .55); border-radius: 6px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.18; letter-spacing: -.012em; color: var(--ink); margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.45rem + 2.3vw, 3.1rem); }
main h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem); }
main h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--ink); }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; }
.i { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 1.05em; height: 1.05em; }
.i--lg { width: 1.6em; height: 1.6em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
main { display: block; }
main:focus { outline: none; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-icon: var(--lime);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .72em 1.35em;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .i { color: var(--btn-icon); transition: transform .25s var(--ease); }
.btn:hover { --btn-bg: var(--ink-3); color: var(--btn-fg); }
.btn:hover .i { transform: translateX(3px); }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--ink); --btn-icon: var(--ink); }
.btn--lime:hover { --btn-bg: var(--lime-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-icon: var(--green); border-color: var(--line-2); }
.btn--ghost:hover { --btn-bg: var(--sand); }
.btn--wa { --btn-bg: #1f7a45; --btn-fg: #fff; --btn-icon: #fff; }
.btn--wa:hover { --btn-bg: #17623a; }
.btn--wa:hover .i { transform: none; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .95rem; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--paper); color: var(--ink);
  cursor: pointer; text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--sand); border-color: var(--line-2); color: var(--ink); }
.icon-btn .i { width: 22px; height: 22px; }

.link-arrow { display: inline; font-weight: 500; text-decoration: none; color: var(--green); }
.link-arrow .i { display: inline-block; margin-left: .3em; transition: transform .25s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .i { transform: translateX(3px); }

/* Contact icon chips (labelled icon links; numbers are never printed) */
.contact-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.contact-chips > li { min-width: 0; max-width: 100%; }
.contact-chip {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 44px; padding: .45em .95em .45em .5em;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: .95rem; font-weight: 500; text-decoration: none;
  max-width: 100%; overflow-wrap: anywhere; line-height: 1.3;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.contact-chip:hover { background: var(--sand); border-color: var(--line-2); color: var(--ink); }
.contact-chip__icon { display: inline-grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime-soft); color: var(--green); }
.contact-chip__icon .i { width: 18px; height: 18px; }
.contact-chip--wa .contact-chip__icon { background: #dff3e6; color: #1f7a45; }

/* ---------- Kicker & badges ---------- */
.kicker { display: flex; align-items: center; gap: .6em; margin: 0 0 1rem; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.kicker__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 10px 4px 10px 4px; background: var(--lime-soft); color: var(--green); }
.kicker__icon .i { width: 17px; height: 17px; }
.kicker--on-dark { color: var(--lime); }
.kicker--on-dark .kicker__icon { background: rgba(182, 224, 78, .14); color: var(--lime); }

.badge { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--r-shape); background: var(--lime-soft); color: var(--green); transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.badge .i { width: 24px; height: 24px; }
.badge--lg { width: 64px; height: 64px; border-radius: 22px 8px 22px 8px; }
.badge--lg .i { width: 30px; height: 30px; }
.badge--ink { background: var(--ink); color: var(--lime); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: var(--on-dark-2); font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.topbar__item { display: inline-flex; align-items: center; gap: .5em; }
.topbar__item .i { color: var(--lime); width: 16px; height: 16px; }
.topbar__icons { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.topbar__icons a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--on-dark); transition: background-color .2s var(--ease), color .2s var(--ease); }
.topbar__icons a:hover { background: rgba(255, 255, 255, .08); color: var(--lime); }
.topbar__icons .i { width: 18px; height: 18px; }
.topbar :focus-visible { outline-color: var(--lime); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled::before { box-shadow: 0 8px 30px rgba(14, 27, 36, .08); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 44px; height: 44px; flex: none; transition: transform .35s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.brand__role { font-size: .8rem; color: var(--muted); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__actions .btn { min-height: 46px; }

.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .55em .7em; border: 0; border-radius: 10px;
  background: none; color: var(--ink); font-size: 1rem; font-weight: 400; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--sand); color: var(--ink); }
.nav__link[aria-current="page"], .nav__link.is-current { color: var(--green); font-weight: 500; }
.nav__caret { display: inline-grid; place-items: center; width: 26px; height: 32px; margin-left: -8px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.nav__caret .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__item.is-open .nav__caret .i { transform: rotate(180deg); }
.nav__caret:hover { color: var(--ink); background: var(--sand); }

.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 60;
  width: max-content; min-width: 280px; max-width: min(92vw, 360px);
  padding: 10px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item.is-open > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
@media (hover: hover) {
  .nav__item.has-sub:hover > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
}
.sub__list { margin: 0; padding: 0; list-style: none; }
.sub__link { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background-color .15s var(--ease); }
.sub__link:hover { background: var(--sand); color: var(--ink); }
.sub__link:hover .sub__icon { background: var(--ink); color: var(--lime); }
.sub__icon { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 12px 4px 12px 4px; background: var(--lime-soft); color: var(--green); transition: background-color .2s var(--ease), color .2s var(--ease); }
.sub__icon .i { width: 19px; height: 19px; }
.sub__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.sub__title { font-weight: 500; }
.sub__desc { font-size: .84rem; color: var(--muted); }
.sub__all { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 11px 12px; border-top: 1px solid var(--line); font-weight: 500; text-decoration: none; color: var(--green); }
.sub__all:hover { color: var(--green-2); }
.sub__all .i { transition: transform .2s var(--ease); }
.sub__all:hover .i { transform: translateX(3px); }

.nav__item.has-mega { position: static; }
.has-mega > .sub { left: 0; right: 0; width: auto; max-width: none; transform: translate(0, 6px); padding: 18px; }
.nav__item.has-mega.is-open > .sub { transform: translate(0, 0); }
@media (hover: hover) {
  .nav__item.has-mega:hover > .sub { transform: translate(0, 0); }
}
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.mega__title { margin: 4px 10px 8px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }

.brandline { height: 3px; background: linear-gradient(90deg, var(--lime) 0%, var(--lime-deep) 35%, var(--ink) 100%); }

.nav-toggle { display: none; }

/* ---------- Dialogs (shared) ---------- */
.dlg { padding: 0; border: 0; color: var(--text); background: var(--paper); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: var(--r-l); box-shadow: var(--shadow-2); overflow: hidden; }
.dlg::backdrop { background: rgba(8, 16, 22, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px 24px; border-bottom: 1px solid var(--line); }
.dlg__title { margin: 0; font-size: 1.2rem; }
.dlg__body { min-height: 0; overflow: auto; padding: 20px 24px 26px; overscroll-behavior: contain; }
@media (prefers-reduced-motion: no-preference) {
  .dlg[open] { animation: dlg-in .22s var(--ease); }
  .dlg[open]::backdrop { animation: fade-in .22s var(--ease); }
}
@keyframes dlg-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Mobile menu drawer */
.dlg--menu { margin: 0 0 0 auto; width: min(420px, 100vw); height: 100dvh; max-height: 100dvh; max-width: 100vw; border-radius: 0; }
@media (prefers-reduced-motion: no-preference) {
  .dlg--menu[open] { animation: drawer-in .26s var(--ease); }
}
@keyframes drawer-in { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.drawer__nav { margin: 0; padding: 0; list-style: none; }
.drawer__link, .drawer__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 14px 4px; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--ink); font-size: 1.08rem; font-weight: 500; text-decoration: none; cursor: pointer; list-style: none;
}
.drawer__summary::-webkit-details-marker { display: none; }
.drawer__summary .i { width: 20px; height: 20px; color: var(--muted); transition: transform .2s var(--ease); }
.drawer__group[open] > .drawer__summary .i { transform: rotate(180deg); }
.drawer__link[aria-current="page"] { color: var(--green); }
.drawer__sub { margin: 6px 0 10px; padding: 0; list-style: none; }
.drawer__sub a { display: flex; align-items: center; gap: 12px; padding: 9px 4px; color: var(--ink); text-decoration: none; font-size: .98rem; }
.drawer__sub a:hover { color: var(--green); }
.drawer__sub .sub__icon { width: 32px; height: 32px; }
.drawer__label { margin: 12px 4px 2px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.drawer__foot { margin-top: 22px; padding: 18px; border-radius: var(--r); background: var(--sand); }
.drawer__foot p { margin: 0 0 12px; font-size: .95rem; color: var(--muted); }

/* Search */
.dlg--search { width: min(720px, 100vw - 24px); margin: max(4vh, 12px) auto auto; }
.search-form { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--line); }
.search-form > .i { width: 22px; height: 22px; color: var(--muted); }
.search-form input { flex: 1; min-width: 0; height: 48px; padding: 0 4px; border: 0; background: none; font-size: 1.15rem; color: var(--ink); }
.search-form input:focus { outline: none; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-body { min-height: 0; overflow: auto; padding: 16px 20px 22px; }
.search-quick__title { margin: 0 0 10px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: .45em; min-height: 38px; padding: .4em .9em;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink);
  font-size: .94rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { background: var(--sand); border-color: var(--line-2); color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .i { width: 16px; height: 16px; color: var(--green); }
.chip.is-active .i, .chip[aria-pressed="true"] .i { color: var(--lime); }
.results { margin: 0; padding: 0; list-style: none; }
.result + .result { border-top: 1px solid var(--line); }
.result a { display: block; padding: 14px 10px; border-radius: 12px; color: var(--text); text-decoration: none; }
.result a:hover, .result a.is-active { background: var(--sand); }
.result__title { display: block; font-weight: 600; color: var(--ink); }
.result__meta { display: block; margin-top: 2px; font-size: .82rem; color: var(--green); }
.result__text { display: block; margin-top: 4px; font-size: .92rem; color: var(--muted); }
.result mark { background: var(--lime-soft); color: var(--ink); border-radius: 2px; box-shadow: 0 0 0 2px var(--lime-soft); }
.search-empty { margin: 8px 4px; color: var(--muted); }
.search-count { margin: 0 0 8px; font-size: .88rem; color: var(--muted); }

/* Booking dialog & forms */
.dlg--booking { width: min(560px, 100vw - 24px); margin: auto; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 500; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7em .9em;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6em; background-image: url("../img/chevron.svg"); background-repeat: no-repeat; background-position: right .9em center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(182, 224, 78, .45); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field__error { margin: 0; font-size: .88rem; color: var(--danger); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form__note { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--sand); font-size: .9rem; color: var(--muted); }
.form__note .i { color: var(--green); margin-top: 2px; }
.form__alert { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border: 1px solid #f1c7c2; border-radius: 12px; background: #fdf0ee; color: #7a1d14; font-size: .95rem; }
.dlg__contacts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.dlg__contacts p { margin: 0 0 10px; font-size: .92rem; color: var(--muted); }

/* Digital business card */
.dlg--card { width: min(460px, 100vw - 24px); margin: auto; }
.dlg--card[open] { grid-template-rows: minmax(0, 1fr); }
.vcard { position: relative; min-height: 0; overflow: auto; }
.vcard__top { position: relative; padding: 28px 24px 22px; background: var(--ink); color: var(--on-dark); text-align: center; overflow: hidden; }
.vcard__top::after { content: ""; position: absolute; left: 50%; bottom: -150px; width: 420px; height: 240px; transform: translateX(-50%); background: url("../img/arc-dark.svg") no-repeat center / contain; opacity: .9; pointer-events: none; }
.vcard__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.vcard__close:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.vcard__photo { position: relative; z-index: 1; width: 104px; height: 104px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; border: 3px solid var(--lime); }
.vcard__name { position: relative; z-index: 1; margin: 0; color: #fff; font-size: 1.45rem; }
.vcard__role { position: relative; z-index: 1; margin: 6px 0 0; font-size: .92rem; color: var(--on-dark-2); }
.vcard__body { padding: 20px 22px 24px; }
.vcard__facts { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.vcard__facts li { display: flex; gap: 10px; font-size: .95rem; }
.vcard__facts .i { color: var(--green); margin-top: 3px; }
.vcard__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.vcard__action { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; font-size: .82rem; text-align: center; line-height: 1.25; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.vcard__action:hover { background: var(--sand); border-color: var(--line-2); color: var(--ink); }
.vcard__action .i { width: 22px; height: 22px; color: var(--green); }
.vcard__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.vcard__tools .btn { flex: 1 1 auto; }
.vcard__status { min-height: 1.4em; margin: 10px 0 0; font-size: .9rem; color: var(--green); text-align: center; }

/* Lightbox */
.dlg--lightbox { width: min(900px, 100vw - 24px); margin: auto; background: var(--ink); color: #fff; }
.dlg--lightbox[open] { grid-template-rows: auto minmax(0, 1fr); }
.dlg--lightbox .dlg__head { border-color: rgba(255, 255, 255, .12); }
.dlg--lightbox .dlg__title { color: #fff; font-size: 1rem; font-weight: 500; }
.dlg--lightbox .icon-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.lightbox__img { width: 100%; height: auto; max-height: calc(100dvh - 140px); object-fit: contain; background: #fff; border-radius: 12px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(56px, 7vw, 104px) 0; }
.section--sand { background: var(--sand); }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section__head--row > div { max-width: 720px; }
.section__lead { font-size: 1.09rem; color: var(--muted); margin: 0; }
.section__foot { margin-top: 32px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: #0a1014; color: var(--on-dark); overflow: hidden; overflow: clip; padding: clamp(36px, 5vw, 72px) 0 clamp(44px, 6vw, 84px); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: rgba(255, 255, 255, .06); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero__text { position: relative; z-index: 2; min-width: 0; }
.hero__title { margin: .2em 0 .5em; color: #fff; font-size: clamp(2.2rem, 1.25rem + 3.5vw, 3.8rem); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.hero__name { display: block; }
.hero__role { display: block; margin-top: .22em; font-size: .56em; font-weight: 400; letter-spacing: -.005em; color: #c9d6dc; }
.hero__lead { max-width: 40rem; font-size: 1.12rem; color: var(--on-dark); }
.hero__sub { max-width: 40rem; color: var(--on-dark-2); }
.hero__link { display: inline-flex; align-items: center; gap: .5em; margin-top: 4px; font-weight: 500; color: var(--lime); text-decoration: none; }
.hero__link:hover { color: var(--lime-2); text-decoration: underline; }
.hero__link .i { transition: transform .25s var(--ease); }
.hero__link:hover .i { transform: translateX(3px); }
.hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero__fact { padding: 14px 14px 13px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: rgba(255, 255, 255, .035); min-width: 0; }
.hero__num { display: block; font-size: 1.28rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.hero__label { display: block; margin-top: 4px; font-size: .8rem; line-height: 1.35; color: var(--on-dark-2); }
.hero__media { position: relative; justify-self: end; width: min(100%, 500px); aspect-ratio: 1 / 1.02; }
.hero__arc { position: absolute; left: -10%; right: -10%; top: -4%; width: 120%; height: auto; overflow: visible; pointer-events: none; }
.hero__photo { position: absolute; left: 7%; right: 7%; bottom: 0; top: 12%; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 15%, #000 85%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 62%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 15%, #000 85%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 62%, transparent 97%);
  mask-composite: intersect;
}
.hero__tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .55em; padding: .55em .9em .55em .6em; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(14, 27, 36, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .86rem; white-space: nowrap; }
.hero__tag .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.hero__tag--a { left: 0; bottom: 18%; }
.hero__tag--b { right: 0; bottom: 6%; }
.arc-track { stroke: rgba(255, 255, 255, .16); }
.arc-tick { stroke: rgba(255, 255, 255, .26); }
.arc-tick--major { stroke: rgba(255, 255, 255, .5); }
.arc-label { fill: rgba(219, 229, 234, .6); font: 500 15px var(--font); }
.arc-sweep { stroke: var(--lime); }
.arc-needle { stroke: var(--lime); }
.arc-knob { fill: var(--lime); }
.arc-dots { fill: rgba(182, 224, 78, .55); }
@media (prefers-reduced-motion: no-preference) {
  .js .arc-sweep { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: arc-draw 1.8s var(--ease) .25s forwards; }
  .js .arc-needle-g { transform-box: view-box; transform-origin: 320px 380px; transform: rotate(-120deg); animation: arc-needle 1.8s var(--ease) .25s forwards; }
}
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
@keyframes arc-needle { to { transform: rotate(0deg); } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--text); text-decoration: none; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.card > * { align-self: stretch; }
.card > .badge { align-self: flex-start; }
.card__title { margin: 4px 0 0; font-size: 1.18rem; color: var(--ink); }
.card__text { margin: 0; color: var(--muted); }
.card__more { margin-top: auto; padding-top: 6px; font-weight: 500; color: var(--green); }
.card__more .i { display: inline-block; margin-left: .3em; transition: transform .25s var(--ease); }
a.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); transform: translateY(-2px); color: var(--text); }
a.card:hover .badge { background: var(--ink); color: var(--lime); }
a.card:hover .card__more .i { transform: translateX(4px); }
.section--sand .card { border-color: transparent; }
.section--sand a.card:hover { border-color: var(--line); }

/* ---------- Body map ---------- */
.bodymap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.bodymap__figure { position: relative; width: 100%; max-width: 360px; margin-inline: auto; aspect-ratio: 1 / 2; }
.bodymap__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bm-seg { stroke: #2a3c47; stroke-width: 15; stroke-linecap: round; fill: none; transition: stroke .3s var(--ease); }
.bm-body { fill: #2a3c47; transition: fill .3s var(--ease); }
.bm-spine { fill: var(--lime); opacity: .9; }
.bm-joint { fill: var(--paper); stroke: #2a3c47; stroke-width: 3; }
.bm-ground { stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.bm-halo { fill: none; stroke: var(--lime-deep); stroke-width: 1.5; opacity: .35; }
.bodymap[data-active="bas"] .bm-r-bas, .bodymap[data-active="boyun"] .bm-r-boyun, .bodymap[data-active="ciyin"] .bm-r-ciyin, .bodymap[data-active="dirsek"] .bm-r-dirsek, .bodymap[data-active="bel"] .bm-r-bel, .bodymap[data-active="bud"] .bm-r-bud, .bodymap[data-active="diz"] .bm-r-diz, .bodymap[data-active="ayaq"] .bm-r-ayaq { stroke: var(--lime-deep); fill: var(--lime-deep); }
.bodymap[data-active] .bm-seg.bm-r-bas, .bodymap[data-active] .bm-seg { fill: none; }
.bm-spot {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.bm-spot::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(14, 27, 36, .85), 0 0 0 7px rgba(182, 224, 78, .35); transition: transform .2s var(--ease), background-color .2s var(--ease); }
.bm-spot:hover::before, .bm-spot[aria-pressed="true"]::before { transform: scale(1.25); background: #fff; }
.bm-spot__label { position: absolute; left: 50%; bottom: calc(100% + 2px); transform: translateX(-50%); padding: .25em .6em; border-radius: 8px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s var(--ease); }
.bm-spot:hover .bm-spot__label, .bm-spot:focus-visible .bm-spot__label, .bm-spot[aria-pressed="true"] .bm-spot__label { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .bm-spot::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--lime-deep); animation: pulse 2.4s var(--ease) infinite; }
  .bm-spot[aria-pressed="true"]::after { animation: none; opacity: 0; }
}
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
.bm-spot--bas { left: 50%; top: 9.6%; }
.bm-spot--boyun { left: 50%; top: 17%; }
.bm-spot--ciyin { left: 63.3%; top: 21%; }
.bm-spot--dirsek { left: 29.2%; top: 35.4%; }
.bm-spot--bel { left: 50%; top: 36.5%; }
.bm-spot--bud { left: 56.7%; top: 44.4%; }
.bm-spot--diz { left: 40.8%; top: 65.8%; }
.bm-spot--ayaq { left: 61.7%; top: 87.5%; }
.bodymap__panel { min-width: 0; }
.bodymap__chips { margin-bottom: 22px; }
.bm-card { padding: 26px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-1); }
.bm-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.bm-card__title { margin: 0; font-size: 1.35rem; }
.bm-card__intro { margin: 0 0 16px; color: var(--muted); }
.bm-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.bm-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 500; text-decoration: none; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.bm-list a:hover { background: var(--sand); border-color: var(--line-2); color: var(--ink); }
.bm-list a .i { color: var(--green); transition: transform .2s var(--ease); }
.bm-list a:hover .i { transform: translateX(3px); }
.bm-card__foot { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .bm-card.is-entering { animation: rise .35s var(--ease); }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Steps (first visit) ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.step__gauge { width: 56px; height: 56px; }
.step__gauge circle { fill: none; stroke-width: 5; }
.step__gauge .g-track { stroke: var(--sand-2); }
.step__gauge .g-val { stroke: var(--lime-deep); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 28px 28px; }
.step__gauge text { font: 600 15px var(--font); fill: var(--ink); }
.step--1 .g-val { stroke-dasharray: 35.3 141.4; }
.step--2 .g-val { stroke-dasharray: 70.7 141.4; }
.step--3 .g-val { stroke-dasharray: 106 141.4; }
.step--4 .g-val { stroke-dasharray: 141.4 141.4; }
.step__title { margin: 2px 0 6px; font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); }
.bring { padding: 26px; border-radius: var(--r-l); background: var(--ink); color: var(--on-dark); }
.bring__title { margin: 0 0 14px; color: #fff; font-size: 1.2rem; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--lime-soft); }
.checklist li::after { content: ""; position: absolute; left: 5px; top: calc(.2em + 5px); width: 12px; height: 12px; background: var(--green); -webkit-mask: url("../img/check.svg") no-repeat center / contain; mask: url("../img/check.svg") no-repeat center / contain; }
.bring .checklist li::before { background: rgba(182, 224, 78, .16); }
.bring .checklist li::after { background: var(--lime); }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.principle { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.principle:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.principle:hover .badge { background: var(--ink); color: var(--lime); }
.principle__title { margin: 2px 0 6px; font-size: 1.15rem; }
.principle p { margin: 0; color: var(--muted); }

/* ---------- Thesis & certificates ---------- */
.science { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.thesis { position: relative; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-1); overflow: hidden; }
.thesis::after { content: ""; position: absolute; right: -80px; top: -60px; width: 300px; height: 170px; background: url("../img/arc.svg") no-repeat center / contain; opacity: .7; pointer-events: none; }
.thesis__label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5em; margin: 0 0 14px; padding: .3em .8em .3em .45em; border-radius: 999px; background: var(--lime-soft); color: var(--green); font-size: .84rem; font-weight: 600; }
.thesis__title { position: relative; z-index: 1; margin: 0 0 8px; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
.thesis__tr { position: relative; z-index: 1; margin: 0 0 18px; color: var(--muted); }
.thesis__meta { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin: 0 0 16px; font-size: .95rem; }
.thesis__meta dt { color: var(--muted); }
.thesis__meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.thesis p:last-child { margin-bottom: 0; }
.certs { display: grid; gap: 16px; }
.certs--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cert { margin: 0; }
.cert__btn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden; cursor: zoom-in; }
.cert__btn img { width: 100%; height: auto; transition: transform .45s var(--ease); }
.cert__btn::after { content: ""; position: absolute; inset: 0; background: rgba(14, 27, 36, 0); transition: background-color .3s var(--ease); }
.cert__zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--lime); opacity: 0; transform: scale(.9); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.cert__btn:hover img, .cert__btn:focus-visible img { transform: scale(1.03); }
.cert__btn:hover::after { background: rgba(14, 27, 36, .12); }
.cert__btn:hover .cert__zoom, .cert__btn:focus-visible .cert__zoom { opacity: 1; transform: none; }
.cert figcaption { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.cert figcaption strong { display: block; color: var(--ink); font-weight: 500; }

/* ---------- Media ---------- */
.tv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tv-card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.tv-card__channel { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.tv-card__channel .i { color: var(--green); }
.tv-card__show { margin: 0; font-size: .92rem; color: var(--green); font-weight: 500; }
.tv-card__topic { margin: 0; color: var(--muted); font-size: .95rem; }
.tv-card__date { margin-top: auto; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.podcast { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; margin-top: 18px; padding: 22px 24px; border-radius: var(--r); background: var(--ink); color: var(--on-dark); }
.podcast__title { margin: 0 0 4px; color: #fff; font-size: 1.1rem; }
.podcast p { margin: 0; color: var(--on-dark-2); }
.podcast .badge { background: rgba(182, 224, 78, .14); color: var(--lime); }
.podcast__link { display: inline-flex; align-items: center; gap: .5em; color: var(--lime); font-weight: 500; text-decoration: none; white-space: nowrap; }
.podcast__link:hover { color: var(--lime-2); text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq[open] { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq__q { min-width: 0; }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--lime-soft); transition: background-color .2s var(--ease), transform .25s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--green); transition: transform .25s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq[open] .faq__icon { background: var(--ink); transform: rotate(180deg); }
.faq[open] .faq__icon::before, .faq[open] .faq__icon::after { background: var(--lime); }
.faq[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 20px 18px; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq { interpolate-size: allow-keywords; }
    .faq::details-content { height: 0; overflow: clip; transition: height .3s var(--ease), content-visibility .3s allow-discrete; }
    .faq[open]::details-content { height: auto; }
  }
}
.faq-group + .faq-group { margin-top: 40px; }
.faq-group__title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 1.35rem; }
.faq-group__title .badge { width: 40px; height: 40px; border-radius: 12px 4px 12px 4px; }
.faq-group__title .badge .i { width: 20px; height: 20px; }
.faq:target { border-color: var(--lime-deep); box-shadow: 0 0 0 4px var(--lime-soft); }
.faq-filter { display: flex; align-items: center; gap: 10px; margin: 0 0 32px; padding: 6px 6px 6px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); }
.faq-filter:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(182, 224, 78, .45); }
.faq-filter > .i { color: var(--muted); }
.faq-filter input { flex: 1; min-width: 0; height: 46px; padding: 0 4px; border: 0; background: none; font-size: 1.05rem; color: var(--ink); }
.faq-filter input:focus { outline: none; }
.faq-filter input::-webkit-search-cancel-button { display: none; }
.faq-none { margin: 0; padding: 22px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--muted); }

/* ---------- Clinic / contact band ---------- */
.clinic { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border-radius: var(--r-l); background: var(--sand); overflow: hidden; }
.clinic__photo { position: relative; min-height: 320px; }
.clinic__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clinic__info { padding: clamp(26px, 4vw, 48px); }
.info-list { display: grid; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.info-list > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.info-list > li > .badge { width: 40px; height: 40px; border-radius: 12px 4px 12px 4px; }
.info-list > li > .badge .i { width: 20px; height: 20px; }
.info-list > li > div > strong { display: block; }
.info-list > li > div > span { display: block; color: var(--muted); }
.info-list .contact-chips { margin-top: 10px; }
.info-list > li > div > a { font-weight: 500; }

/* ---------- Page head (inner pages) ---------- */
.page-head { position: relative; background: var(--sand); overflow: hidden; overflow: clip; }
.page-head::after { content: ""; position: absolute; right: max(-120px, calc((100vw - var(--container)) / 2 - 180px)); bottom: -40px; width: min(640px, 70vw); aspect-ratio: 640 / 360; background: url("../img/arc.svg") no-repeat center / contain; pointer-events: none; }
.page-head__inner { position: relative; z-index: 1; padding: clamp(22px, 3vw, 34px) 0 clamp(40px, 5vw, 64px); }
.page-head__main { max-width: 800px; }
.page-head__top { display: flex; align-items: center; gap: 16px; margin: 18px 0 10px; }
.page-head h1 { margin: 0; }
.page-head__lead { margin: 16px 0 0; font-size: 1.12rem; color: #3e4c57; max-width: 760px; }
.page-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 20px 0 0; font-size: .92rem; color: var(--muted); }
.page-head__meta span { display: inline-flex; align-items: center; gap: .45em; }
.page-head__meta .i { color: var(--green); width: 18px; height: 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; padding: 0; list-style: none; font-size: .88rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--line-2); border-right: 1.5px solid var(--line-2); transform: rotate(45deg); margin-right: 2px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); }
.byline { display: flex; align-items: center; gap: 12px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline strong { display: block; font-weight: 500; color: var(--ink); }

/* ---------- Content layout ---------- */
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.layout-aside__main { min-width: 0; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; min-width: 0; }
.aside-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.aside-card__title { margin: 0 0 10px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ol, .related-list { margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--muted); font-size: .95rem; line-height: 1.35; text-decoration: none; transition: background-color .15s var(--ease), color .15s var(--ease); }
.toc a:hover { background: var(--sand); color: var(--ink); }
.toc a.is-active { background: var(--lime-soft); color: var(--green-2); font-weight: 500; }
.related-list li + li { border-top: 1px solid var(--line); }
.related-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.related-list a:hover { color: var(--green); }
.related-list .i { flex: none; color: var(--green); transition: transform .2s var(--ease); }
.related-list a:hover .i { transform: translateX(3px); }
.aside-card--ink { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.aside-card--ink .aside-card__title { color: var(--lime); }
.aside-card--ink p { margin: 0 0 14px; font-size: .95rem; color: var(--on-dark-2); }
.aside-card--ink .contact-chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.aside-card--ink .contact-chip:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.aside-card--ink .contact-chip__icon { background: rgba(182, 224, 78, .16); color: var(--lime); }

/* Prose */
.prose { font-size: 1.0625rem; }
.prose > :first-child { margin-top: 0; }
.prose :where(h2) { margin: 2.1em 0 .6em; }
.prose :where(h3) { margin: 1.7em 0 .5em; }
.prose :where(h2 + h3) { margin-top: .6em; }
.prose :where(ul, ol) { padding-left: 1.3em; }
.prose :where(li) { margin: .35em 0; }
.prose :where(li)::marker { color: var(--lime-deep); }
.prose :where(ol > li)::marker { font-weight: 600; color: var(--green); }
.prose :where(.lead) { font-size: 1.14rem; color: #3e4c57; }
.prose .faq-list { margin: 1em 0 1.5em; }
.lede { font-size: 1.14rem; color: #3e4c57; }

.checklist--prose { margin: 1em 0 1.4em; }
.table-wrap { margin: 1.2em 0 1.6em; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.table-wrap:focus-visible { box-shadow: none; }
.t { width: 100%; border-collapse: collapse; font-size: .97rem; }
.t th, .t td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.t thead th { background: var(--sand); font-weight: 600; color: var(--ink); white-space: nowrap; }
.t tbody tr:last-child > * { border-bottom: 0; }
.t tbody th { font-weight: 500; color: var(--ink); }
.t--kv th { width: 34%; background: var(--sand); }
.t--compare th:first-child { width: 20%; }

.notice { display: flex; gap: 14px; margin: 1.4em 0; padding: 18px 20px; border-radius: var(--r); background: var(--lime-soft); color: #2d3d19; }
.notice > .i { width: 24px; height: 24px; margin-top: 1px; color: var(--green); }
.notice p { margin: 0; }
.notice p + p { margin-top: .6em; }
.notice--alert { background: #fdf1ef; color: #6e2118; }
.notice--alert > .i { color: var(--danger); }
.notice strong { color: inherit; }
.keypoints { margin: 2.2em 0 1em; padding: 24px 26px; border-radius: var(--r-l); background: var(--ink); color: var(--on-dark); }
.keypoints h2 { margin: 0 0 14px; color: #fff; font-size: 1.25rem; }
.keypoints .checklist li::before { background: rgba(182, 224, 78, .16); }
.keypoints .checklist li::after { background: var(--lime); }
.disclaimer { display: flex; gap: 12px; margin: 2.2em 0 0; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: var(--r); font-size: .92rem; color: var(--muted); }
.disclaimer .i { color: var(--muted); margin-top: 2px; }
.disclaimer p { margin: 0; }
.more-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.6em 0 0; padding: 0; list-style: none; }

/* Timeline */
.timeline { position: relative; margin: 1.2em 0 1.6em; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__item { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 20px; padding: 0 0 22px 30px; }
.timeline__item::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--lime-deep); }
.timeline__item--now::before { background: var(--lime); border-color: var(--ink); }
.timeline__year { font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.timeline__body :where(h3, h4) { margin: 0 0 2px; font-size: 1.05rem; }
.timeline__body p { margin: 0; color: var(--muted); }

/* About layout */
.profile { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.profile__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.profile__photo { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--ink); }
.profile__photo img { width: 100%; height: auto; }
.profile__photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(14, 27, 36, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .88rem; line-height: 1.35; }
.facts { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.facts div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; padding-bottom: 2px; }
.facts div:first-child { padding-top: 2px; }
.facts dt { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.icon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 1em 0 1.4em; padding: 0; list-style: none; }
.icon-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); line-height: 1.35; }
.icon-list .badge { width: 36px; height: 36px; border-radius: 12px 4px 12px 4px; }
.icon-list .badge .i { width: 18px; height: 18px; }
.office { margin: 1.4em 0 1.8em; }
.office img { width: 100%; border-radius: var(--r-l); }
.office figcaption { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.office--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }

/* Conditions page */
.chips-nav { position: sticky; top: var(--header-h); z-index: 20; padding: 12px 0; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.chips-nav .chip-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips-nav .chip-list::-webkit-scrollbar { display: none; }
.chips-nav .chip { flex: none; white-space: nowrap; }
.cond-group { padding-top: clamp(40px, 5vw, 64px); scroll-margin-top: 44px; }
.cond-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cond-group__head h2 { margin: 0; }
.cond-list { display: grid; gap: 14px; }
.cond { padding: 26px 26px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); scroll-margin-top: 72px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.cond:target { border-color: var(--lime-deep); box-shadow: 0 0 0 4px var(--lime-soft); }
.cond h3 { margin: 0 0 .6em; font-size: 1.25rem; }
.cond p { color: #3a4853; }
.cond p:last-of-type { margin-bottom: 0; }
.cond__more { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; }
.urgent { display: flex; gap: 14px; margin: 0; padding: 20px 22px; border-radius: var(--r); background: #fdf1ef; color: #6e2118; }
.urgent .i { width: 26px; height: 26px; color: var(--danger); }
.urgent p { margin: 0; }
.urgent strong { color: inherit; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--text); text-decoration: none; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.post-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); transform: translateY(-2px); color: var(--text); }
.post-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.post-card__tag { display: inline-flex; align-items: center; gap: .4em; padding: .25em .7em; border-radius: 999px; background: var(--lime-soft); color: var(--green); font-size: .8rem; font-weight: 600; }
.post-card__time { font-size: .84rem; color: var(--muted); white-space: nowrap; }
.post-card__title { margin: 4px 0 0; font-size: 1.2rem; color: var(--ink); }
.post-card__text { margin: 0; color: var(--muted); }
.post-card__more { margin-top: auto; padding-top: 4px; font-weight: 500; color: var(--green); }
.post-card__more .i { display: inline-block; margin-left: .3em; transition: transform .25s var(--ease); }
.post-card:hover .post-card__more .i { transform: translateX(4px); }
.post-card--wide { grid-column: span 2; background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.post-card--wide .post-card__title { color: #fff; font-size: 1.45rem; }
.post-card--wide .post-card__text { color: var(--on-dark-2); }
.post-card--wide .post-card__tag { background: rgba(182, 224, 78, .16); color: var(--lime); }
.post-card--wide .post-card__time { color: var(--on-dark-2); }
.post-card--wide .post-card__more { color: var(--lime); }
.post-card--wide:hover { color: var(--on-dark); border-color: var(--ink); }
.topics { margin-top: 48px; padding: 26px; border-radius: var(--r-l); background: var(--sand); }
.topics h2 { font-size: 1.25rem; }
.topics ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 1.2em; }
.topics li { margin: 0 0 .5em; break-inside: avoid; }
.topics__list { columns: 3 220px; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.topics__list a { display: inline-flex; gap: .6em; color: var(--ink); font-weight: 500; text-decoration: none; }
.topics__list a::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .6em; border-radius: 3px 1px 3px 1px; background: var(--lime-deep); }
.topics__list a:hover { color: var(--green); text-decoration: underline; }

/* Article */
.page-head--article .page-head__main { max-width: 860px; }
.post-tag { display: inline-flex; align-items: center; gap: .45em; margin: 18px 0 14px; padding: .3em .85em; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--green); font-size: .85rem; font-weight: 600; }
.post-tag .i { width: 16px; height: 16px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
.article-meta .page-head__meta { margin: 0; }
a.byline { color: var(--text); text-decoration: none; }
a.byline:hover strong { color: var(--green); }
.byline img { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--line-2); }
.byline__label { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose .term-list { display: grid; gap: 12px; margin: 1em 0 1.4em; padding: 0; list-style: none; }
.prose .term-list > li { margin: 0; padding: 14px 18px; border: 1px solid var(--line); border-left: 3px solid var(--lime-deep); border-radius: 12px; background: var(--paper); }
.prose .term-list--num { counter-reset: term; }
.prose .term-list--num > li { position: relative; padding-left: 58px; border-left-width: 1px; counter-increment: term; }
.prose .term-list--num > li::before { content: counter(term); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px 3px 9px 3px; background: var(--ink); color: var(--lime); font-size: .85rem; font-weight: 600; line-height: 1; }
.t__urgent { color: var(--danger); }
.checklist--alert li::before { background: #fdf1ef; }
.checklist--alert li::after { left: 8px; top: calc(.2em + 8px); width: 6px; height: 6px; border-radius: 50%; background: var(--danger); -webkit-mask: none; mask: none; }
.split-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1em 0 1.4em; }
.split-card { padding: 20px 22px; border-radius: var(--r); background: var(--sand); }
.split-card__title { margin: 0 0 6px; font-weight: 600; color: var(--ink); }
.split-card p:last-child { margin-bottom: 0; }
.article-links { margin: 2.2em 0 0; }
.article-links__title { margin: 0 0 10px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-card { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); }
.contact-card h2 { font-size: 1.35rem; }
.form-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: var(--sand); }
.form-card h2 { font-size: 1.35rem; }
.map-card { position: relative; margin-top: 18px; border-radius: var(--r-l); overflow: hidden; background: var(--ink); min-height: 260px; display: grid; place-items: center; text-align: center; color: var(--on-dark); }
.map-card::before { content: ""; position: absolute; inset: 0; background: url("../img/arc-dark.svg") no-repeat center 120% / 90%; opacity: .8; }
.map-card__inner { position: relative; z-index: 1; padding: 28px; }
.map-card__inner p { margin: 0 0 14px; color: var(--on-dark-2); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.map-card.is-loaded { min-height: 360px; }
.contact-col { display: grid; gap: 18px; min-width: 0; }
.contact-col > * { margin: 0; }
.contact-card .info-list { margin-bottom: 0; }
.form-card__lead { color: var(--muted); }
.map-card__inner .badge { margin: 0 auto 14px; background: rgba(182, 224, 78, .14); color: var(--lime); }
.map-card__title { margin: 0 0 8px; font-size: 1.3rem; color: #fff; }
.map-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-icon: var(--lime); border-color: rgba(255, 255, 255, .28); }
.btn--ghost-dark:hover { --btn-bg: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); }
.tel-link { font-weight: 500; }
.tel-link .i { margin-right: .25em; }

/* Search page */
.search-page { max-width: 820px; }
.search-page .search-form, .error-page__search { padding: 8px 8px 8px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); }
.search-page .search-form:focus-within, .error-page__search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(182, 224, 78, .45); }
.search-page .search-form > .i, .error-page__search > .i { width: 22px; height: 22px; color: var(--muted); }
.search-page .search-form input, .error-page__search input { height: 46px; font-size: 1.05rem; }
.search-page .results { margin-top: 8px; }
.search-page__info { margin: 18px 0 0; min-height: 1.65em; font-size: .95rem; color: var(--muted); }
.search-page__quick { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Error page */
.error-page { text-align: center; }
.error-page__code { display: block; font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 600; line-height: 1; color: var(--ink); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.error-page__text { max-width: 580px; margin: 0 auto 26px; color: var(--muted); }
.error-page__search { max-width: 580px; margin: 0 auto 22px; text-align: left; }
.error-page__links { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); font-size: .95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer :focus-visible { outline-color: var(--lime); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px 32px; padding: clamp(48px, 6vw, 80px) 0 36px; }
.site-footer__brand .brand { margin-bottom: 16px; color: #fff; }
.site-footer__brand .brand__role { color: var(--on-dark-2); }
.site-footer__brand p { max-width: 360px; }
.site-footer__line { display: flex; gap: 10px; margin: 0 0 8px; }
.site-footer__line .i { color: var(--lime); margin-top: 3px; }
.site-footer__title { margin: 0 0 14px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.site-footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.site-footer .contact-chips { flex-direction: column; align-items: flex-start; }
.site-footer .contact-chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #fff; }
.site-footer .contact-chip:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.site-footer .contact-chip__icon { background: rgba(182, 224, 78, .16); color: var(--lime); }
.site-footer .contact-chip--wa .contact-chip__icon { background: rgba(80, 200, 120, .18); color: #7fe0a2; }
.site-footer__social { display: flex; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.site-footer__social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; color: #fff; }
.site-footer__social a:hover { border-color: var(--lime); color: var(--lime); }
.site-footer__social .i { width: 20px; height: 20px; }
.card-btn { display: inline-flex; align-items: center; gap: .6em; margin-top: 18px; min-height: 44px; padding: .55em 1.05em; border: 1px dashed rgba(182, 224, 78, .55); border-radius: 12px; background: rgba(182, 224, 78, .06); color: var(--lime); font-weight: 500; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.card-btn:hover { background: rgba(182, 224, 78, .14); border-style: solid; }
.site-footer__note { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.site-footer__note p { display: flex; gap: 10px; margin: 0; max-width: 980px; }
.site-footer__note .i { color: var(--on-dark-2); margin-top: 2px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.otx a { color: var(--lime); font-weight: 600; }
.otx a:hover { color: var(--lime-2); text-decoration: underline; }

/* Mobile CTA dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(14, 27, 36, .08); }
.dock .btn { flex: 1; min-width: 0; }
.dock .btn span { overflow: hidden; text-overflow: ellipsis; }
.dock .icon-btn { width: 50px; height: 50px; border-radius: 999px; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .cards > .reveal:nth-child(3n + 2), .principles > .reveal:nth-child(2n), .tv-grid > .reveal:nth-child(2), .post-grid > .reveal:nth-child(3n + 2) { transition-delay: .06s; }
  .cards > .reveal:nth-child(3n + 3), .tv-grid > .reveal:nth-child(3), .post-grid > .reveal:nth-child(3n + 3) { transition-delay: .12s; }
  .tv-grid > .reveal:nth-child(4) { transition-delay: .18s; }
  .steps > .reveal:nth-child(2) { transition-delay: .06s; }
  .steps > .reveal:nth-child(3) { transition-delay: .12s; }
  .steps > .reveal:nth-child(4) { transition-delay: .18s; }
}
html.has-dialog { overflow: hidden; }
.form__status { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--lime-soft); color: #2d3d19; font-size: .95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1179px) {
  .nav { display: none; }
  .nav-toggle { display: inline-grid; }
  :root { --header-h: 68px; }
  .brand__mark { width: 40px; height: 40px; }
}
@media (max-width: 1100px) {
  .tv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { order: -1; justify-self: center; width: min(100%, 420px); }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--wide { grid-column: 1 / -1; }
  .post-grid > .post-card:last-child:nth-child(even) { grid-column: 1 / -1; }
  .bodymap { grid-template-columns: minmax(0, 1fr); }
  .bodymap__figure { max-width: 300px; }
  .visit, .science, .contact-grid, .clinic { grid-template-columns: minmax(0, 1fr); }
  .layout-aside { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .aside .toc { display: none; }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile__side { position: static; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: start; }
  .clinic__photo { min-height: 260px; }
  .topbar__item--hours { display: none; }
}
@media (max-width: 767px) {
  .site-header__actions .btn--cta { display: none; }
  .dock { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .topbar { display: none; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .principles, .cards, .cards--2, .post-grid, .certs--grid, .icon-list, .office--split { grid-template-columns: minmax(0, 1fr); }
  .tv-grid { grid-template-columns: minmax(0, 1fr); }
  .bm-list { grid-template-columns: minmax(0, 1fr); }
  .podcast { grid-template-columns: auto minmax(0, 1fr); }
  .podcast__link { grid-column: 1 / -1; }
  .timeline__item { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .profile__side { grid-template-columns: minmax(0, 1fr); }
  .profile__photo { max-width: 360px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .topics ol { columns: 1; }
  .t--kv, .t--kv tbody, .t--kv tr, .t--kv th, .t--kv td { display: block; width: 100%; }
  .t--kv th { border-bottom: 0; padding-bottom: 4px; }
  .t--kv td { padding-top: 4px; }
  .t thead th { white-space: normal; }
  .t--kv thead, .t--stack thead { display: none; }
  .t--stack, .t--stack tbody, .t--stack tr, .t--stack td { display: block; width: 100%; }
  .t--stack tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .t--stack tbody tr:last-child { border-bottom: 0; }
  .t--stack td { padding: 3px 0; border-bottom: 0; }
  .t--stack td::before { content: attr(data-label); display: block; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .t--compare thead { display: none; }
  .t--compare, .t--compare tbody, .t--compare tr, .t--compare tbody th, .t--compare td { display: block; width: 100%; }
  .t--compare tbody th:first-child { width: 100%; background: var(--sand); border-bottom: 0; }
  .t--compare td { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 10px; }
  .t--compare td::before { content: attr(data-label); font-weight: 600; color: var(--ink); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .page-head::after { width: 320px; right: -110px; bottom: -30px; opacity: .6; }
}
@media (max-width: 560px) {
  .hero__facts { gap: 8px; }
  .hero__fact { padding: 12px; }
  .hero__num { font-size: 1.12rem; }
  .hero__tag { font-size: .8rem; }
  .hero__tag--a { bottom: 14%; }
  .card, .principle, .step, .cond, .bm-card { padding: 20px; }
  .principle { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .step__gauge { width: 48px; height: 48px; }
  .vcard__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand__role { font-size: .74rem; }
  .keypoints { padding: 20px; }
  .split-cards { grid-template-columns: minmax(0, 1fr); }
  .prose .term-list > li { padding: 12px 14px; }
  .prose .term-list--num > li { padding-left: 52px; }
  .prose .term-list--num > li::before { left: 12px; top: 12px; }
  .dlg__body { padding: 18px 18px 22px; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 1rem; }
  .brand__mark { width: 36px; height: 36px; }
  .site-header__actions { gap: 6px; }
  .icon-btn { width: 42px; height: 42px; }
  .hero__facts { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .topbar, .site-header, .brandline, .dock, .site-footer, .aside, .chips-nav { display: none !important; }
  body { padding: 0; }
  .page-head { background: none; }
}
