/* =====================================================================
   Op. Dr. Dilşad Şadlinskaya — qulaq-burun-boğaz cərrahı, foniatr
   Visual system taken from the doctor's own office sign: deep green board,
   gold script and a face-profile line. Surfaces are a warm, slightly green
   paper; deep green carries brand, links and the one call to action; gold
   draws the endoscope "lens" (rings, scale ticks) that runs through the site.
   ===================================================================== */

:root {
  --bg: #F7F8F4;
  --bg-2: #EAF2EC;
  --bg-3: #F6F0E2;
  --surface: #FFFFFF;
  --line: #DCE5DE;
  --line-2: #C3D3C8;
  --ink: #12241D;
  --ink-2: #4A5D54;
  --green: #13573F;
  --green-2: #1B6B4F;
  --green-3: #2E8563;
  --green-deep: #0B2F23;
  --green-soft: #DCEBE2;
  --mint: #F0F7F2;
  --gold: #C9A04A;
  --gold-2: #83621B;
  --gold-soft: #EEDFB9;
  --gold-pale: #FBF6EA;
  --error: #A8261E;

  --r-s: 12px;
  --r: 18px;
  --r-l: 24px;
  --r-xl: 32px;
  --shadow-1: 0 1px 2px rgba(11, 47, 35, .05), 0 6px 18px rgba(11, 47, 35, .06);
  --shadow-2: 0 14px 36px rgba(11, 47, 35, .10);
  --shadow-3: 0 28px 72px rgba(11, 47, 35, .20);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 18px);
  scrollbar-gutter: stable;
  interpolate-size: allow-keywords;
}
html.is-locked { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.66;
  font-weight: 400;
  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: 3px; }
a:hover { color: var(--green-3); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 500; line-height: 1.18; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
button { font: inherit; }
time { font-variant-numeric: tabular-nums; }
mark { background: var(--gold-soft); color: inherit; border-radius: 4px; padding: 0 2px; }
address { font-style: normal; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.22em;
}
.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;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  padding: 10px 18px; border-radius: 12px; background: var(--green); color: #fff; 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); }
main { display: block; }
main:focus { outline: none; }

/* ---------- lens art (rings + scale ticks, drawn by lens_svg()) ---------- */
.lens-art { display: block; overflow: visible; pointer-events: none; }
.lens-art__halo { fill: none; stroke: none; }
.lens-art__ring { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: .75; }
.lens-art__ring--thin { stroke: var(--green); stroke-width: 1; opacity: .28; }
.lens-art__tick { fill: none; stroke: var(--gold); opacity: .55; }
.lens-art__tick--mid { opacity: .75; }
.lens-art__tick--major { stroke: var(--green); opacity: .9; }

/* ---------- small shared pieces ---------- */
.badge {
  display: inline-grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  box-shadow: 0 0 0 1px rgba(201, 160, 74, .45), 0 0 0 5px rgba(19, 87, 63, .05);
}
.badge .icon { width: 22px; height: 22px; }
.badge--sm { width: 30px; height: 30px; box-shadow: 0 0 0 1px rgba(201, 160, 74, .4); }
.badge--sm .icon { width: 16px; height: 16px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .88rem; font-weight: 500; line-height: 1.3; color: var(--green); }
.kicker > span:last-child { min-width: 0; }
.kicker--light { color: var(--gold-soft); }
.kicker--light .badge { background: rgba(255, 255, 255, .1); color: var(--gold-soft); box-shadow: 0 0 0 1px rgba(238, 223, 185, .4); }

.link-arrow { display: inline; width: fit-content; color: var(--green); font-weight: 500; text-decoration: none; }
.link-arrow span { text-decoration: underline; text-decoration-color: rgba(19, 87, 63, .3); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link-arrow .icon { display: inline-block; width: 1.05em; height: 1.05em; margin-left: 6px; vertical-align: -.17em; color: var(--gold-2); transition: translate .2s var(--ease); }
.link-arrow:hover { color: var(--green-3); }
.link-arrow:hover span { text-decoration-color: currentColor; }
.link-arrow:hover .icon { translate: 3px 0; }

.more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin: 0 0 1.3em; }
.more--center { justify-content: center; margin: clamp(22px, 3vw, 34px) 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px 8px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  font-size: .93rem; line-height: 1.3; text-decoration: none;
  transition: border-color .2s, color .2s, background-color .2s;
}
.chip .icon { width: 18px; height: 18px; color: var(--green); }
a.chip:hover { border-color: var(--green); color: var(--green); background: var(--mint); }
.chips--sm .chip { min-height: 36px; padding: 5px 13px; font-size: .88rem; }
.chips--sm .chip .icon { width: 16px; height: 16px; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 46px; height: 46px; flex: none; overflow: visible; }
.bm-ring { fill: var(--green); stroke: var(--gold); stroke-width: 1.6; }
.bm-ticks { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.bm-face { fill: none; stroke: var(--gold-soft); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.12; }
.brand__name { font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.brand__role { margin-top: 4px; font-size: .78rem; color: var(--ink-2); white-space: nowrap; letter-spacing: .01em; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__role { color: #B9D0C4; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; isolation: isolate; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 248, 244, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled::before { border-bottom-color: var(--line); box-shadow: 0 8px 26px rgba(11, 47, 35, .06); }
.site-header__row { position: relative; display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item.has-mega { position: static; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; padding: 10px 10px;
  border-radius: 10px; color: var(--ink); font-size: .98rem; font-weight: 400; text-decoration: none; white-space: nowrap;
}
.nav__link:hover, .nav__item:hover > .nav__link, .nav__item.is-open > .nav__link { color: var(--green); }
.nav__link[aria-current]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; border: 1.5px solid var(--gold); background: var(--green);
}
.nav__item.has-sub > .nav__link { padding-right: 4px; }
.nav__toggle {
  display: inline-grid; place-items: center; width: 26px; height: 30px; padding: 0; margin-right: 4px;
  border: 0; border-radius: 8px; background: none; color: var(--ink-2); cursor: pointer;
}
.nav__toggle .icon { width: 16px; height: 16px; transition: rotate .2s var(--ease); }
.nav__item.is-open > .nav__toggle .icon { rotate: 180deg; }
.nav__toggle:hover { color: var(--green); }

.sub {
  position: absolute; top: calc(100% + 6px); left: 50%; z-index: 10;
  min-width: 290px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-3);
  display: none; opacity: 1; translate: -50% 0;
  transition: opacity .18s var(--ease), translate .18s var(--ease), display .18s allow-discrete;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.is-open > .sub { display: block; }
@media (hover: hover) and (pointer: fine) {
  .nav__item.has-sub:hover > .sub { display: block; }
}
@starting-style {
  .nav__item.is-open > .sub { opacity: 0; translate: -50% 6px; }
}
@media (hover: hover) and (pointer: fine) {
  @starting-style { .nav__item.has-sub:hover > .sub { opacity: 0; translate: -50% 6px; } }
}
.sub--mega { top: calc(100% - 6px); width: min(1180px, calc(100vw - 32px)); padding: 16px 16px 10px; }
.sub__groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 12px; }
.sub__group { min-width: 0; }
.sub__title {
  display: flex; align-items: center; gap: 10px; margin: 2px 0 6px; padding: 8px 8px; border-radius: 12px;
  color: var(--green); font-size: .9rem; font-weight: 500; line-height: 1.25; text-decoration: none;
}
.sub__title:hover, .sub__title[aria-current] { background: var(--mint); color: var(--green); }
.sub__badge { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--gold-soft); }
.sub__badge .icon { width: 18px; height: 18px; }
.sub__list { list-style: none; margin: 0; padding: 0; }
.sub__list--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; width: min(600px, calc(100vw - 48px)); }
.sub__link {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px;
  color: var(--ink); font-size: .9rem; line-height: 1.28; text-decoration: none;
}
.sub__link:hover, .sub__link[aria-current] { background: var(--mint); color: var(--green); }
.sub__icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--mint); color: var(--green); }
.sub__icon .icon { width: 17px; height: 17px; }
.sub__link:hover .sub__icon { background: #fff; color: var(--gold-2); }
.sub__all {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 8px; padding: 12px 10px 6px; border-top: 1px solid var(--line);
  color: var(--green); font-size: .93rem; font-weight: 500; text-decoration: none;
}
.sub__all .icon { color: var(--gold-2); }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.iconbtn {
  display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; text-decoration: none;
  transition: border-color .2s, color .2s, background-color .2s;
}
.iconbtn .icon { width: 20px; height: 20px; }
.iconbtn:hover { border-color: var(--green); color: var(--green); }
.iconbtn--menu { display: none; }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px 0 16px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: .98rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(238, 223, 185, .35), 0 10px 22px rgba(19, 87, 63, .24);
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.cta .icon { width: 20px; height: 20px; color: var(--gold-soft); }
.cta:hover { background: var(--green-deep); color: #fff; transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(238, 223, 185, .5), 0 14px 28px rgba(19, 87, 63, .3); }
.cta:focus-visible { outline-color: var(--gold-2); }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 110px); }
.section__head { max-width: 760px; margin-bottom: clamp(26px, 3.4vw, 42px); }
.section__title { margin-bottom: .45em; font-size: clamp(1.7rem, 1.22rem + 1.45vw, 2.2rem); font-weight: 400; letter-spacing: -.018em; }

/* ---------- home: hero ---------- */
.hero { position: relative; overflow: hidden; overflow: clip; padding: clamp(28px, 4vw, 56px) 0 clamp(52px, 6vw, 84px); }
.hero__inner {
  position: relative; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 31vw, 420px) minmax(0, 1fr);
  grid-template-areas: "intro stage dial" "more more more";
  column-gap: clamp(28px, 3.4vw, 56px);
}
.hero__intro { grid-area: intro; min-width: 0; }
.hero__kicker { margin-bottom: 18px; }
.hero__title { margin: 0 0 18px; font-weight: 400; line-height: 1.08; letter-spacing: -.024em; }
.hero__role { display: block; margin-bottom: 12px; font-size: clamp(1.02rem, .92rem + .4vw, 1.2rem); font-weight: 400; letter-spacing: 0; color: var(--green); }
.hero__name { display: block; font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.55rem); }
.hero__sub { max-width: 44ch; margin: 0; color: var(--ink-2); font-size: 1.04rem; line-height: 1.6; }
.hero__more { grid-area: more; min-width: 0; padding-top: clamp(26px, 3vw, 44px); }
.hero__lead { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 1rem; line-height: 1.72; column-count: 2; column-gap: clamp(28px, 4vw, 56px); }

.hero__stage { grid-area: stage; position: relative; display: grid; place-items: center; padding-block: 12px; }
.hero__lens { position: relative; width: 100%; aspect-ratio: 1; }
.hero__photo {
  position: absolute; inset: 7%; margin: 0; overflow: hidden; border-radius: 50%;
  background: var(--green-soft); box-shadow: 0 0 0 7px var(--bg), 0 0 0 8px rgba(201, 160, 74, .7), var(--shadow-2);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Sound around the portrait (sound_waves()): voice waveforms wrapped into rings + sound ripples. */
.hero__sound { position: absolute; inset: -10%; pointer-events: none; }
.hero__wave { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 50%; }
.hero__wave path { fill: none; stroke-linejoin: round; }
.hero__wave--a path { stroke: var(--gold); stroke-width: 1.6; opacity: .85; }
.hero__wave--b path { stroke: var(--green); stroke-width: 1.2; opacity: .4; }
.hero__ripple { position: absolute; inset: 14.2%; border: 1.5px solid var(--gold); border-radius: 50%; opacity: 0; }

.dial { grid-area: dial; min-width: 0; }
.dial__list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.dial__link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 16px 14px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff;
  color: var(--ink); text-decoration: none;
  transition: border-color .2s, box-shadow .2s var(--ease), transform .2s var(--ease);
}
.dial__link:hover { border-color: var(--green); color: var(--ink); box-shadow: var(--shadow-2); transform: translateX(-3px); }
.dial__badge { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--green); color: var(--gold-soft); box-shadow: 0 0 0 4px var(--green-soft); }
.dial__badge .icon { width: 25px; height: 25px; }
.dial__body { display: grid; gap: 2px; min-width: 0; }
.dial__title { font-size: 1.04rem; font-weight: 500; line-height: 1.25; }
.dial__text { color: var(--ink-2); font-size: .87rem; line-height: 1.4; }
.dial__arrow { width: 20px; height: 20px; color: var(--gold-2); transition: translate .2s var(--ease); }
.dial__link:hover .dial__arrow { translate: 3px 0; }

/* ---------- home: complaint finder ---------- */
.finder { background: #fff; border-block: 1px solid var(--line); }
.finder__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 26px; }
html.js .finder__filters[hidden] { display: flex !important; }
.fchip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink);
  font-size: .93rem; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.fchip .icon { width: 18px; height: 18px; color: var(--green); }
.fchip:hover { border-color: var(--green); }
.fchip.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.fchip.is-active .icon { color: var(--gold-soft); }
.finder__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.complaint { min-width: 0; }
.complaint[hidden] { display: none !important; }
.complaint__link {
  display: grid; grid-template-rows: auto 1fr auto; gap: 12px; height: 100%; padding: 18px 18px 16px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--bg); color: var(--ink); text-decoration: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s var(--ease), transform .2s var(--ease);
}
.complaint__link:hover { border-color: var(--green); background: #fff; color: var(--ink); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.complaint__badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--green); box-shadow: 0 0 0 1px rgba(201, 160, 74, .5); }
.complaint__badge .icon { width: 20px; height: 20px; }
.complaint__text { font-size: 1.02rem; line-height: 1.45; }
.complaint__to { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line-2); color: var(--green); font-size: .92rem; font-weight: 500; }
.complaint__to .icon { width: 18px; height: 18px; color: var(--gold-2); transition: translate .2s var(--ease); }
.complaint__link:hover .complaint__to .icon { translate: 3px 0; }

/* ---------- home: endoscopy band (the page's one dark section) ---------- */
.scopeband { position: relative; overflow: hidden; overflow: clip; background: var(--green-deep); color: #D5E5DC; }
.scopeband__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 90px); }
.scopeband .section__title { color: #fff; }
.scopeband p { color: #CFE0D6; font-size: 1.05rem; line-height: 1.72; }
.scopeband .link-arrow { color: var(--gold-soft); }
.scopeband .link-arrow span { text-decoration-color: rgba(238, 223, 185, .4); }
.scopeband .link-arrow .icon { color: var(--gold); }
.scopeband .link-arrow:hover { color: #fff; }
.scopeview { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin-inline: auto; }
.scopeview__field {
  position: absolute; inset: 9%; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #2C6A52 0%, #184836 42%, #0E3326 66%, #06180F 100%);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(201, 160, 74, .5);
}
.scopeview__sweep {
  position: absolute; inset: 9%; border-radius: 50%; overflow: hidden;
  background: conic-gradient(from 0deg, rgba(238, 223, 185, 0) 0deg, rgba(238, 223, 185, 0) 300deg, rgba(238, 223, 185, .22) 360deg);
  -webkit-mask: radial-gradient(circle, #000 69%, transparent 70%); mask: radial-gradient(circle, #000 69%, transparent 70%);
}
.scopeview__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.scopeview .lens-art__ring { stroke: var(--gold); opacity: .8; }
.scopeview .lens-art__ring--thin { stroke: #9BC4AF; opacity: .35; }
.scopeview .lens-art__tick { stroke: var(--gold); opacity: .6; }
.scopeview .lens-art__tick--major { stroke: #fff; opacity: .85; }
.scopeview__label {
  position: absolute; left: 50%; bottom: 20%; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border: 1px solid rgba(238, 223, 185, .35); border-radius: 999px;
  background: rgba(11, 47, 35, .75); color: var(--gold-soft); font-size: .82rem; white-space: nowrap;
}
.scopeview__label .icon { width: 17px; height: 17px; }

/* ---------- home: operations ---------- */
.ops__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; gap: clamp(28px, 4vw, 56px); }
.ops__photo { position: relative; margin: 0; }
.ops__photo img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.ops__photo figcaption, .voice__photo figcaption, .figure figcaption, .work__photo figcaption, .gallery__item figcaption {
  margin-top: 12px; color: var(--ink-2); font-size: .88rem; line-height: 1.45;
}
.ops__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.opgroup { display: flex; gap: 16px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.opgroup > div { min-width: 0; }
.opgroup__title { margin: 4px 0 8px; font-size: 1.08rem; font-weight: 500; }
.opgroup__links { margin: 0; color: var(--ink-2); font-size: .96rem; line-height: 1.6; }
.opgroup__links a { color: var(--green); text-decoration: underline; text-decoration-color: rgba(19, 87, 63, .3); }
.opgroup__links a:hover { text-decoration-color: currentColor; }
.opgroup:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- home: children ---------- */
.kids { background: var(--bg-2); }
.kids__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.kcard { min-width: 0; padding: 22px 20px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-1); }
.kcard .badge { margin-bottom: 14px; }
.kcard__title { margin: 0 0 8px; font-size: 1.06rem; font-weight: 500; }
.kcard__text { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }

/* ---------- home: voice ---------- */
.voice { background: var(--bg-3); }
.voice__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); align-items: center; gap: clamp(32px, 5vw, 80px); }
.voice__text p { font-size: 1.04rem; line-height: 1.72; }
.voice .kicker--light { color: var(--gold-2); }
.voice .kicker--light .badge { background: #fff; color: var(--gold-2); box-shadow: 0 0 0 1px rgba(201, 160, 74, .55); }
.voice__photo { margin: 0; }
.voice__photo img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.wave-bars { display: flex; align-items: center; gap: 3px; height: 56px; }
.wave-bars i { display: block; flex: 1 1 0; max-width: 5px; min-width: 2px; height: 100%; border-radius: 3px; background: var(--gold); transform-origin: 50% 50%; }
.wave-bars .h1 { transform: scaleY(.1); } .wave-bars .h2 { transform: scaleY(.2); } .wave-bars .h3 { transform: scaleY(.3); }
.wave-bars .h4 { transform: scaleY(.4); } .wave-bars .h5 { transform: scaleY(.5); } .wave-bars .h6 { transform: scaleY(.6); }
.wave-bars .h7 { transform: scaleY(.7); } .wave-bars .h8 { transform: scaleY(.8); } .wave-bars .h9 { transform: scaleY(.9); }
.wave-bars .h10 { transform: scaleY(1); } .wave-bars .h0 { transform: scaleY(.06); }
.voice__wave { max-width: 460px; margin-top: 26px; }
.voice__wave i:nth-child(3n) { background: var(--green); }

/* ---------- home: profile + facts ---------- */
.profile__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.profile__photo { position: relative; margin: 0; }
.profile__photo img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.facts { display: grid; gap: 0; margin: 0 0 22px; padding: 0; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.facts__row { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.facts__row:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-2); font-size: .92rem; }
.facts dd { margin: 0; font-size: .97rem; line-height: 1.5; }
.facts--icons dt { display: flex; align-items: flex-start; gap: 10px; }
.facts--icons dt .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--gold-2); }

/* ---------- home: media + questions + visit ---------- */
.mediaband { background: #fff; border-top: 1px solid var(--line); }
.mediaband__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
/* A wide (16:9) and a tall (9:16) cover side by side at the same height: widths follow the ratios. */
.mediaband__videos { display: flex; align-items: flex-start; gap: 16px; }
.mediaband__videos > .mv { min-width: 0; }
.mediaband__videos > .mv--wide { flex: 1.7778 1 22px; }
.mediaband__videos > .mv--tall { flex: .5625 1 22px; }
.mlist { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.mlist li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.mlist .badge { margin-top: 1px; }

.qlist__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.qlist__list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.qlink {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none;
  transition: border-color .2s, box-shadow .2s var(--ease);
}
.qlink:hover { border-color: var(--green); color: var(--ink); box-shadow: var(--shadow-1); }
.qlink__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 600; }
.qlink__text { font-size: 1.01rem; line-height: 1.4; }
.qlink__arrow { width: 18px; height: 18px; color: var(--gold-2); }

.visit { padding-top: 0; }
.visit__card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 48px; align-items: center;
  padding: clamp(26px, 4vw, 48px); border-radius: var(--r-xl); background: var(--bg-2);
}
.visit__head .section__title { margin: 0; }
.visit__place { display: flex; gap: 12px; margin: 0 0 12px; line-height: 1.5; }
.visit__place .icon { margin-top: 3px; color: var(--green); }
.visit__body .cicons { margin: 18px 0 14px; }
.visit__body .more { margin: 0; }

/* ---------- contact icons ---------- */
.cicons { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 18px; padding: 0; }
.cicon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--green); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.cicon .icon { width: 22px; height: 22px; }
.cicon:hover { background: var(--green); color: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--green); }
.cicons--sm .cicon { width: 40px; height: 40px; }
.cicons--sm .cicon .icon { width: 19px; height: 19px; }
.cicons--lg .cicon { width: 54px; height: 54px; }
.cicons--dark .cicon { background: rgba(255, 255, 255, .07); color: #E4EFE8; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.cicons--dark .cicon:hover { background: var(--gold-soft); color: var(--green-deep); box-shadow: none; }

/* ---------- video cards ---------- */
/* The cover is shown whole: no crop, rounding, overlay or filter on it. The two AzTV covers are
   YouTube's 480×360 files with black padding above and below the picture (rows 45–314 and
   46–314); their frames match the picture exactly, so only that padding is hidden. */
.vcard-v { display: flex; flex-direction: column; min-width: 0; height: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: border-color .2s, box-shadow .2s var(--ease); }
.vcard-v:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.vcard-v__cover { display: block; }
.vcard-v__cover img { display: block; width: 100%; height: auto; }
.vcard-v--tv .vcard-v__cover img { aspect-ratio: 16 / 9; object-fit: cover; }
#video-Bl3q_mMS4o0 .vcard-v__cover img { aspect-ratio: 480 / 269; object-position: 50% 50.55%; }
.vcard-v__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 8px 6px; }
.vcard-v__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin: 0; color: var(--ink-2); font-size: .84rem; line-height: 1.4; }
.vcard-v__channel { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--green); font-weight: 500; }
.vcard-v__channel .icon { width: 16px; height: 16px; color: var(--gold-2); }
.vcard-v__dur { font-variant-numeric: tabular-nums; }
.vcard-v__title { margin: 0; font-size: 1.02rem; font-weight: 500; line-height: 1.38; }
.vcard-v__watch { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; color: var(--green); font-size: .92rem; font-weight: 500; text-decoration: none; }
.vcard-v__watch .icon { width: 28px; height: 28px; padding: 7px 6px 7px 8px; border-radius: 50%; background: var(--green); color: #fff; transition: background-color .2s, color .2s; }
.vcard-v__watch > span { text-decoration: underline; text-decoration-color: rgba(19, 87, 63, .3); text-underline-offset: 4px; }
.vcard-v__watch:hover { color: var(--green-3); }
.vcard-v__watch:hover .icon { background: var(--gold-soft); color: var(--green-deep); }
.video-inline { max-width: 460px; margin: 0 0 1.4em; }
.video-inline:has(.vcard-v--short) { max-width: 280px; }

/* ---------- inner page head ---------- */
.phead { position: relative; overflow: hidden; overflow: clip; padding: clamp(24px, 3.4vw, 42px) 0 clamp(34px, 4.6vw, 58px); background: var(--bg-2); }
.phead__inner { position: relative; z-index: 1; }
.phead__kicker { margin-top: 4px; }
.phead__title { max-width: 30ch; margin: 0 0 16px; font-size: clamp(1.95rem, 1.42rem + 2vw, 3rem); font-weight: 400; line-height: 1.1; letter-spacing: -.022em; }
.phead__lead { max-width: 74ch; margin: 0; font-size: 1.06rem; line-height: 1.7; color: var(--ink-2); }
.phead__meta, .phead__count { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 16px 0 0; color: var(--ink-2); font-size: .9rem; }
.phead__meta .icon, .phead__count .icon { color: var(--gold-2); }
.phead__count { display: inline-flex; padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.phead__dot { color: var(--line-2); }
.phead__lens { position: absolute; top: 50%; right: -150px; z-index: 0; width: 480px; height: 480px; translate: 0 -50%; opacity: .6; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .88rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; color: var(--ink-2); }
.crumbs a { display: inline-flex; align-items: center; color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.crumbs .icon { width: 17px; height: 17px; }
.crumbs .crumbs__sep { width: 14px; height: 14px; opacity: .55; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- content layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 4vw, 64px); padding-block: clamp(34px, 5vw, 68px); }
.layout__main { min-width: 0; }
.layout__side { min-width: 0; }
.side__sticky { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 18px; }

.layout__main { font-size: 1.03rem; }
.block { margin-bottom: clamp(32px, 4vw, 48px); scroll-margin-top: calc(var(--header-h) + 18px); }
.block__title { margin-bottom: .7em; font-size: clamp(1.4rem, 1.18rem + .8vw, 1.85rem); font-weight: 400; letter-spacing: -.015em; }
h2.block__title:has(.badge), h2.sgroup__title, h2.smap__title { display: flex; align-items: center; gap: 12px; }
.layout__main a:not([class]) { color: var(--green); text-decoration: underline; text-decoration-color: rgba(19, 87, 63, .35); }
.layout__main a:not([class]):hover { color: var(--green-3); text-decoration-color: currentColor; }

.subhead { margin: 1.4em 0 .7em; font-size: 1.1rem; font-weight: 500; color: var(--green); scroll-margin-top: calc(var(--header-h) + 18px); }
.list { display: grid; gap: 9px; list-style: none; margin: 0 0 1.3em; padding: 0; }
.list li { position: relative; padding-left: 28px; }
.list li::before {
  content: ""; position: absolute; top: .55em; left: 3px; width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--green-soft);
}
.steps { display: grid; gap: 10px; list-style: none; margin: 0 0 1.3em; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 13px 18px 13px 62px; border: 1px solid var(--line); border-radius: 16px; background: #fff; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: 11px; left: 16px; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-size: .9rem; font-weight: 500;
  box-shadow: 0 0 0 3px var(--green-soft);
}

.answer {
  margin: 0 0 1.4em; padding: 20px 24px 22px; border: 1px solid #CFE2D6; border-radius: 22px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--mint) 100%);
}
.answer__label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.answer__label .icon { width: 17px; height: 17px; }
.answer__text { margin: 0; font-size: 1.07rem; line-height: 1.68; color: var(--ink); }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0 0 1.4em; padding: 0; }
.point { min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.point__title { margin: 0 0 6px; font-size: 1.01rem; font-weight: 500; line-height: 1.35; color: var(--ink); }
.point__title::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--gold); vertical-align: .12em; }
.point__text { margin: 0; color: var(--ink-2); font-size: .96rem; line-height: 1.6; }

.table-wrap { margin: 0 0 1.4em; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.55; }
.table th, .table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--mint); font-size: .88rem; font-weight: 500; color: var(--green); }
.table tbody tr:last-child > * { border-bottom: 0; }

.note {
  display: flex; gap: 14px; margin: 0 0 1.4em; padding: 16px 20px; border: 1px dashed var(--line-2); border-radius: 18px;
  background: #FBFCFA; color: var(--ink-2); font-size: .93rem; line-height: 1.6;
}
.note__icon { margin-top: 3px; color: var(--green); }
.note p { margin: 0; }
.note--meta { margin-top: 10px; font-size: .88rem; }

/* "Həkimin təcrübəsi": the doctor's own practice, kept apart from the general text */
.expert { padding: clamp(20px, 3vw, 28px); border: 1px solid #E6D6AD; border-radius: 24px; background: var(--gold-pale); }
.expert__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.expert__photo { position: relative; width: 56px; height: 56px; flex: none; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold); }
.expert__photo img { width: 100%; height: 100%; object-fit: cover; }
.expert__title { margin: 0; font-size: 1.3rem; font-weight: 500; }
.expert__sub { margin: 2px 0 0; color: var(--gold-2); font-size: .88rem; }
.expert__list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.expert__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.6; }
.expert__tick { width: 22px; height: 22px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 2.4; }

/* FAQ accordion */
.faq { display: grid; gap: 10px; margin: 0 0 1.4em; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; background: #fff; scroll-margin-top: calc(var(--header-h) + 18px); }
.faq__item[open] { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px;
  font-size: 1.02rem; font-weight: 500; line-height: 1.4; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--green); }
.faq__chev { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--mint); color: var(--green); transition: rotate .2s var(--ease); }
.faq__item[open] .faq__chev { rotate: 180deg; }
.faq__a { padding: 0 20px 18px; color: var(--ink-2); }
.faq__a p { margin: 0; }
.faq__a .faq__more { margin-top: 10px; font-size: .95rem; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .28s var(--ease), content-visibility .28s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq__item:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 160, 74, .25); }

.related { margin: clamp(30px, 4vw, 46px) 0 22px; }
.related__title { margin: 0 0 14px; font-size: 1.15rem; font-weight: 500; }

.toc { padding: 18px 14px 12px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.toc__title { margin: 0 0 8px 8px; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.toc ol { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--ink); font-size: .91rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { background: var(--mint); color: var(--green); }
.toc a.is-active { background: var(--green-soft); color: var(--green); font-weight: 500; }

.doc-card { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.doc-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.doc-card__photo { position: relative; width: 60px; height: 60px; flex: none; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold); }
.doc-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-card__name { margin: 0; font-weight: 500; line-height: 1.3; }
.doc-card__role { margin: 2px 0 0; color: var(--ink-2); font-size: .86rem; line-height: 1.4; }
.doc-card__place { display: flex; gap: 8px; margin: 0 0 14px; color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.doc-card__place .icon { color: var(--gold-2); margin-top: 2px; }
.doc-card .cicons { margin-bottom: 14px; }
.doc-card__more { font-size: .94rem; }

.sidenav { padding: 18px 14px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.sidenav__title { margin: 0 0 8px 8px; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.sidenav ul { display: grid; gap: 2px; list-style: none; margin: 0 0 10px; padding: 0; }
.sidenav ul a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--ink); font-size: .92rem; line-height: 1.35; text-decoration: none; }
.sidenav ul a:hover { background: var(--mint); color: var(--green); }
.sidenav ul .icon { width: 18px; height: 18px; color: var(--green); }
.sidenav > .link-arrow { margin-left: 8px; font-size: .92rem; }
.sidelink { margin: 0 0 0 4px; }

.figure { margin: 0 0 1.6em; }
.figure img { width: 100%; border-radius: var(--r-l); box-shadow: var(--shadow-1); }
.figure--voice, .figure--inline { max-width: 300px; }

/* hubs: topic cards */
.tcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0 0 1.4em; padding: 0; }
.tcard { min-width: 0; }
.tcard__link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; height: 100%;
  padding: 16px 16px 16px 16px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none;
  transition: border-color .2s, box-shadow .2s var(--ease), transform .2s var(--ease);
}
.tcard__link:hover { border-color: var(--green); color: var(--ink); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.tcard .badge { width: 42px; height: 42px; }
.tcard .badge .icon { width: 20px; height: 20px; }
.tcard__body { display: grid; gap: 3px; min-width: 0; }
.tcard__kind { color: var(--gold-2); font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.tcard__title { display: block; margin: 0; font-size: 1.02rem; font-weight: 500; line-height: 1.35; }
.tcard__text { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.tcard__arrow { width: 18px; height: 18px; margin-top: 12px; color: var(--gold-2); transition: translate .2s var(--ease); }
.tcard__link:hover .tcard__arrow { translate: 3px 0; }
.tcard--procedure .badge { background: var(--green); color: var(--gold-soft); }

/* services hub */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-block: clamp(34px, 5vw, 68px); }
.services__photo { grid-row: span 2; margin: 0; align-self: start; }
.services__photo img { width: 100%; max-width: 420px; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.services__photo figcaption { margin-top: 12px; color: var(--ink-2); font-size: .88rem; }
.sgroup { min-width: 0; padding: 22px 22px 14px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.sgroup__title { margin: 0 0 12px; font-size: 1.22rem; font-weight: 500; }
.sgroup__list { display: grid; list-style: none; margin: 0; padding: 0; }
.slink { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 6px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.sgroup__list li:first-child .slink { border-top: 0; }
.slink:hover { color: var(--green); }
.slink__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--mint); color: var(--green); }
.slink__icon .icon { width: 18px; height: 18px; }
.slink__body { display: grid; min-width: 0; }
.slink__title { font-weight: 500; line-height: 1.35; }
.slink__text { color: var(--ink-2); font-size: .88rem; line-height: 1.45; }
.slink__arrow { width: 18px; height: 18px; color: var(--gold-2); }
.services__hubs { grid-column: 1 / -1; margin-top: 18px; }
.hubchips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.hubchip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--bg-2); color: var(--ink); text-decoration: none; }
.hubchip:hover { background: var(--green); color: #fff; }
.hubchip:hover .badge { background: #fff; }
.hubchip__body { display: grid; min-width: 0; }
.hubchip__title { font-weight: 500; line-height: 1.3; }
.hubchip__count { color: var(--ink-2); font-size: .84rem; }
.hubchip:hover .hubchip__count { color: var(--gold-soft); }
.hubchip > .icon { width: 18px; height: 18px; color: var(--gold-2); }
.hubchip:hover > .icon { color: var(--gold-soft); }

/* ---------- about ---------- */
.about { padding-block: clamp(34px, 5vw, 68px); }
.about__career { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; gap: clamp(28px, 4vw, 64px); }
.about__photo { margin: 0; }
.about__frame { position: relative; display: block; }
.about__frame img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.about__text p { font-size: 1.04rem; line-height: 1.75; }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.area { min-width: 0; }
.area__link { position: relative; display: block; height: 100%; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s var(--ease); }
.area__link:hover { border-color: var(--green); color: var(--ink); box-shadow: var(--shadow-2); }
.area .badge { margin-bottom: 14px; }
.area__title { margin: 0 0 8px; font-size: 1.08rem; font-weight: 500; }
.area__text { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.6; }
.area__arrow { position: absolute; top: 24px; right: 22px; width: 18px; height: 18px; color: var(--gold-2); }
.approach__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.approach__item { display: flex; gap: 16px; min-width: 0; padding: 20px; border-radius: 22px; background: var(--bg-2); }
.approach__item > div { min-width: 0; }
.approach__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.approach__num { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--gold-soft); }
.approach__num .icon { width: 21px; height: 21px; }
.approach__title { margin: 6px 0 6px; font-size: 1.06rem; font-weight: 500; }
.approach__item p { margin: 0; color: var(--ink-2); font-size: .96rem; line-height: 1.6; }
.work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 4vw, 56px); align-items: start; }
.work__list { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.work__list li { display: flex; gap: 14px; }
.work__list li > div { min-width: 0; }
.work__title { margin: 2px 0 4px; font-size: 1.04rem; font-weight: 500; }
.work__list p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.work__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.work__photo { margin: 0; }
.work__photo img { width: 100%; border-radius: var(--r-l); box-shadow: var(--shadow-1); }
.work__photo--alt { margin-top: 40px; }
.factsbox { max-width: 860px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); background: var(--bg-2); }
.factsbox__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.factsbox__head .block__title { margin: 0; }
.factsbox__photo { position: relative; width: 64px; height: 64px; flex: none; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold); }
.factsbox__photo img { width: 100%; height: 100%; object-fit: cover; }
.factsbox .cicons { margin: 0; }

/* education timeline */
.edu { padding-block: clamp(34px, 5vw, 68px); }
.edu__part, .edu > .more { max-width: 940px; }
.tline { position: relative; display: grid; gap: 14px; list-style: none; margin: 0 0 1.4em; padding: 0 0 0 0; }
.tline::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 57px; width: 2px; background: linear-gradient(var(--gold-soft), var(--green-soft)); }
.tline__item { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; align-items: start; }
.tline__year {
  position: relative; z-index: 1; justify-self: center; padding: 6px 12px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: .86rem; font-weight: 500; font-variant-numeric: tabular-nums; text-align: center; line-height: 1.3;
  box-shadow: 0 0 0 4px var(--bg);
}
.tline__card { min-width: 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.tline__title { margin: 0 0 6px; font-size: 1.04rem; font-weight: 500; line-height: 1.4; }
.tline__card p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.tline__place, .tline__role { display: flex; gap: 8px; }
.tline__place .icon, .tline__role .icon { margin-top: 2px; color: var(--gold-2); }
.evlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0 0 1.4em; padding: 0; }
.evlist li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; line-height: 1.5; }
.evlist__year { padding: 2px 10px; border-radius: 999px; background: var(--gold-pale); color: var(--gold-2); font-size: .84rem; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px var(--gold-soft); }
.evlist__name { font-size: .95rem; }
.edu__member .list { margin: 0; }

/* media page */
.media { padding-block: clamp(34px, 5vw, 68px); }
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0 0 1.6em; padding: 0; }
.vgrid--short { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vgrid--short .vcard-v__title { font-size: .96rem; }
.vgrid > li { min-width: 0; }
.media__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.tvlist, .presslist { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tvlist li { display: flex; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.tvlist li > div { min-width: 0; }
.tvlist__icon { margin-top: 3px; color: var(--gold-2); }
.tvlist__show { margin: 0; font-weight: 500; line-height: 1.4; }
.tvlist__topic { margin: 4px 0 0; color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.presslist li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.presslist__src { margin: 0; color: var(--green); font-weight: 500; font-size: .93rem; }
.presslist__topic { margin: 4px 0 0; line-height: 1.5; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gallery__item { margin: 0; }
.gallery__item img { width: 100%; border-radius: var(--r-l); box-shadow: var(--shadow-1); }

/* FAQ page */
.faqtools { margin-bottom: 30px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.faqtools__label { display: block; margin-bottom: 8px; font-weight: 500; }
.faqtools__field { margin-bottom: 14px; }
.faqtools__empty { padding: 18px 20px; border-radius: 16px; background: var(--bg-2); }
.faqgroup__title { font-size: clamp(1.3rem, 1.12rem + .6vw, 1.6rem); }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding-block: clamp(34px, 5vw, 60px) 24px; padding-inline: 0; }
.post { min-width: 0; }
.post__link { display: grid; grid-template-rows: auto 1fr; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s var(--ease), transform .2s var(--ease); }
.post__link:hover { border-color: var(--green); color: var(--ink); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.post__art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; overflow: hidden; background: var(--bg-2); }
.post:nth-child(3n+2) .post__art { background: var(--bg-3); }
.post:nth-child(3n+3) .post__art { background: var(--mint); }
.post__lens { position: absolute; width: 130%; height: auto; aspect-ratio: 1; opacity: .55; }
.post__icon { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--green); color: var(--gold-soft); box-shadow: 0 0 0 8px rgba(255, 255, 255, .7); }
.post__icon .icon { width: 32px; height: 32px; }
.post__body { display: grid; align-content: start; gap: 8px; padding: 18px 20px 20px; }
.post__meta { display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--gold-2); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.post__title { margin: 0; font-size: 1.14rem; font-weight: 500; line-height: 1.35; }
.post__text { color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
.post__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--green); font-weight: 500; font-size: .93rem; }
.post__more .icon { width: 18px; height: 18px; color: var(--gold-2); transition: translate .2s var(--ease); }
.post__link:hover .post__more .icon { translate: 3px 0; }
.post--lead { grid-column: span 2; }
.post--lead .post__link { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.post--lead .post__art { aspect-ratio: auto; min-height: 220px; }
.post--lead .post__lens { width: 96%; }
.post--lead .post__icon { width: 92px; height: 92px; box-shadow: 0 0 0 12px rgba(255, 255, 255, .7); }
.post--lead .post__icon .icon { width: 42px; height: 42px; }
.post--lead .post__title { font-size: 1.4rem; }
.posts__note { margin-bottom: clamp(40px, 5vw, 64px); }
.nextpost { margin-top: 28px; }
.nextpost__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 18px 22px; border-radius: 20px; background: var(--bg-2); color: var(--ink); text-decoration: none; }
.nextpost__link:hover { background: var(--green-soft); color: var(--ink); }
.nextpost__label { grid-column: 1; color: var(--gold-2); font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.nextpost__title { grid-column: 1; font-weight: 500; line-height: 1.35; }
.nextpost__link > .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--green); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding-block: clamp(34px, 5vw, 64px); }
.contact > * { min-width: 0; }
.contact__place, .contact__book { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; }
.contact__name { margin: 0 0 10px; }
.contact__addr { display: grid; gap: 8px; margin: 0 0 20px; color: var(--ink-2); line-height: 1.5; }
.contact__addr > span { display: flex; gap: 10px; }
.contact__addr .icon { margin-top: 3px; color: var(--green); }
.contact__place .cicons { margin-bottom: 16px; }
.contact .contact__card { border-color: var(--line-2); color: var(--green); }
.contact .contact__card:hover { border-color: var(--green); background: var(--mint); color: var(--green); }
.contact .contact__card .icon { color: var(--gold-2); }
.contact__map { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.mapframe { position: relative; width: 100%; min-height: 300px; height: 100%; overflow: hidden; border-radius: var(--r-xl); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.mapframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact__map .more { margin: 12px 0 0; }
.contact__book { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px 40px; align-items: start; }
.contact__book > .block__title, .contact__book > p { grid-column: 1; }
.contact__book > .bform, .contact__book > .bform__alert { grid-column: 2; grid-row: 1 / span 3; }
.contact__book > .bform__alert { grid-row: auto; }
.contact__sos { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 20px 24px; border-radius: 22px; background: #FFF4EF; border: 1px solid #F3D3C6; }
.contact__sos-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.05rem; font-weight: 500; color: #8A2A12; }
.contact__sos-title .icon { color: #B8401F; }
.contact__sos p { margin: 0; color: #5C2A1C; }

/* legal, sitemap, search, 404 */
.legal .block__title { display: flex; align-items: center; gap: 12px; }
.legal__num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: .95rem; font-weight: 500; }
.smap { columns: 3 280px; column-gap: 16px; padding-block: clamp(34px, 5vw, 64px); }
.smap__group { break-inside: avoid; margin-bottom: 16px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.smap__title { margin: 0 0 12px; font-size: 1.1rem; font-weight: 500; }
.smap__list { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.smap__list a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; color: var(--ink); font-size: .93rem; line-height: 1.35; text-decoration: none; }
.smap__list a:hover { background: var(--mint); color: var(--green); }
.smap__list .icon { width: 17px; height: 17px; color: var(--green); }
.search-page { padding-block: clamp(30px, 4vw, 56px); }
.search-page > * { max-width: 860px; }
.search-page__count { margin: 20px 0 14px; color: var(--ink-2); }
.search-page__empty { margin-top: 22px; }
.sresults--page { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.notfound { padding-block: clamp(46px, 7vw, 100px); }
.notfound__inner { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.notfound__art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.notfound__lens { position: absolute; inset: 0; width: 100%; height: 100%; }
.notfound__code { position: relative; font-size: min(5.5rem, 22vw); font-weight: 300; color: var(--green); letter-spacing: -.04em; }
.notfound__title { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); font-weight: 400; }
.notfound .sform { margin: 20px 0; }

/* search form + results */
.sform { display: grid; gap: 8px; }
.sform__label { font-size: .92rem; font-weight: 500; }
.sform__field { position: relative; display: flex; align-items: center; }
.sform__icon { position: absolute; left: 16px; width: 20px; height: 20px; color: var(--green); pointer-events: none; }
.sform__input {
  width: 100%; min-height: 54px; padding: 0 60px 0 48px; border: 1.5px solid var(--line-2); border-radius: 999px;
  background: #fff; color: var(--ink); font: inherit; font-size: 1.02rem; -webkit-appearance: none; appearance: none;
}
.faqtools .sform__input { padding-right: 18px; }
.sform__input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(19, 87, 63, .12); }
.sform__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sform__go { position: absolute; right: 6px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green); color: #fff; cursor: pointer; }
.sform__go:hover { background: var(--green-deep); }
.sform__go .icon { width: 20px; height: 20px; }
.sform__suggest { margin-top: 16px; }
.sform__hint { margin: 0 0 8px; color: var(--ink-2); font-size: .9rem; }
.sresults { margin-top: 12px; }
.sresults__count { margin: 0 0 8px; color: var(--ink-2); font-size: .88rem; }
.sresults__list { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.sresults__empty { margin: 10px 0 0; color: var(--ink-2); }
.sresults__more { margin: 12px 0 0; }
.sresult { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; }
.sresult:hover, .sresult:focus-visible { border-color: var(--green); background: var(--mint); color: var(--ink); }
.sresult .badge { margin-top: 2px; }
.sresult__body { display: grid; gap: 3px; min-width: 0; }
.sresult__title { font-weight: 500; line-height: 1.35; }
.sresult__text { color: var(--ink-2); font-size: .88rem; line-height: 1.5; }

/* ---------- dialogs ---------- */
.dlg { inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.dlg[open] { display: grid; place-items: start center; padding: clamp(12px, 6vh, 72px) 14px; overflow: auto; }
.dlg::backdrop { background: rgba(6, 26, 19, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg__panel { width: min(640px, 100%); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; padding: 22px 24px 24px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-3); }
.dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.dlg__title { margin: 0; font-size: 1.3rem; font-weight: 500; }
.dlg__head--booking { align-items: flex-start; }
.dlg__avatar { position: relative; width: 56px; height: 56px; flex: none; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold); }
.dlg__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dlg__intro { flex: 1; min-width: 0; }
.dlg__sub { margin: 4px 0 0; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
.dlg__alt { display: flex; justify-content: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.dlg__alt .cicons { margin: 0; }
.dlg--booking .dlg__panel { width: min(600px, 100%); }
.dlg--video .dlg__panel { width: min(960px, 100%); }
.dlg--video.is-short .dlg__panel { width: min(440px, 100%); }
.video-frame { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 16px; background: #06180F; }
.dlg--video.is-short .video-frame { aspect-ratio: 9 / 16; max-height: calc(100dvh - 190px); margin-inline: auto; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-note { margin: 14px 0 0; }
@starting-style { .dlg[open] .dlg__panel { opacity: 0; translate: 0 14px; } }
.dlg[open] .dlg__panel { transition: opacity .22s var(--ease), translate .22s var(--ease); }

.drawer { inset: 0 0 0 auto; width: min(420px, 100%); max-width: none; height: 100%; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: transparent; }
.drawer[open] { display: grid; grid-template-rows: minmax(0, 1fr); }
.drawer::backdrop { background: rgba(6, 26, 19, .5); }
.drawer__panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; height: 100%; background: var(--bg); box-shadow: var(--shadow-3); }
@starting-style { .drawer[open] .drawer__panel { translate: 24px 0; opacity: 0; } }
.drawer[open] .drawer__panel { transition: translate .25s var(--ease), opacity .25s var(--ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.drawer__nav { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 10px 12px; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__link { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; color: var(--ink); font-size: 1.04rem; text-decoration: none; list-style: none; cursor: pointer; }
.drawer__link::-webkit-details-marker { display: none; }
.drawer__link:hover, .drawer__link[aria-current="page"] { background: var(--bg-2); color: var(--green); }
.drawer__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--green); border: 1px solid var(--line); }
.drawer__icon .icon { width: 19px; height: 19px; }
.drawer__chev { width: 20px; height: 20px; margin-left: auto; color: var(--ink-2); transition: rotate .2s var(--ease); }
.drawer__group[open] > .drawer__link .drawer__chev, .drawer__sgroup[open] > .drawer__gtitle .drawer__chev { rotate: 180deg; }
.drawer__sub { padding: 2px 0 10px 52px; }
.drawer__sgroup { border-bottom: 1px solid var(--line); }
.drawer__sgroup:last-of-type { border-bottom: 0; }
.drawer__gtitle { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 12px; color: var(--ink); font-size: .98rem; font-weight: 500; cursor: pointer; list-style: none; }
.drawer__gtitle::-webkit-details-marker { display: none; }
.drawer__gtitle:hover { color: var(--green); }
.drawer__gicon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--gold-soft); }
.drawer__gicon .icon { width: 16px; height: 16px; }
.drawer__sub ul { list-style: none; margin: 0 0 6px; padding: 0; }
.drawer__sublink { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--ink); font-size: .96rem; line-height: 1.3; text-decoration: none; }
.drawer__sublink .icon { width: 18px; height: 18px; color: var(--green); }
.drawer__sublink--hub { color: var(--green); font-weight: 500; }
.drawer__sublink:hover, .drawer__sublink[aria-current="page"] { background: var(--bg-2); color: var(--green); }
.drawer__all { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0 8px; color: var(--green); font-weight: 500; text-decoration: none; }
.drawer__all .icon { color: var(--gold-2); }
.drawer__foot { display: grid; gap: 12px; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.drawer__foot .cicons { justify-content: center; margin: 0; }
.drawer__cta:empty { display: none; }
.drawer__cta .cta { width: 100%; min-height: 52px; }

.dlg--card .dlg__panel { position: relative; width: min(420px, 100%); padding: 34px 26px 26px; text-align: center; background: linear-gradient(180deg, var(--bg-2) 0%, #FFFFFF 46%); }
.vcard__close { position: absolute; top: 14px; right: 14px; }
.vcard__head { display: grid; place-items: center; margin-bottom: 12px; }
.vcard__photo { position: relative; display: block; width: 104px; height: 104px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--gold); }
.vcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.vcard__kicker { margin: 0 0 4px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.vcard__name { margin: 0; font-size: 1.45rem; font-weight: 500; }
.vcard__role { margin: 0 0 16px; color: var(--ink-2); }
.vcard__line { display: flex; justify-content: center; gap: 10px; margin: 0 0 8px; color: var(--ink-2); font-size: .93rem; line-height: 1.45; text-align: left; }
.vcard__line .icon { margin-top: 2px; color: var(--green); }
.vcard .cicons { justify-content: center; margin: 18px 0; }
.vcard__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vcard__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 14px; background: #fff; color: var(--ink);
  font-size: .9rem; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.vcard__btn:hover { border-color: var(--green); color: var(--green); }
.vcard__btn .icon { color: var(--gold-2); }
.vcard__status { min-height: 1.4em; margin: 10px 0 0; color: var(--green); font-size: .9rem; }

/* ---------- booking form ---------- */
.bform { display: grid; gap: 14px; }
.bform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field__label { font-size: .92rem; font-weight: 500; }
.field__req { color: var(--gold-2); }
.field__input {
  width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 14px;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem; -webkit-appearance: none; appearance: none;
}
.field__input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(19, 87, 63, .12); }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.field__select { position: relative; }
.field__select .field__input { padding-right: 44px; cursor: pointer; }
.field__chev { position: absolute; top: 50%; right: 14px; translate: 0 -50%; color: var(--ink-2); pointer-events: none; }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; }
.field--check label { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.field--check .field__error { grid-column: 1 / -1; }
.field__check {
  appearance: none; -webkit-appearance: none; display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; margin: 2px 0 0; border: 1.6px solid var(--line-2); border-radius: 7px; background: #fff; cursor: pointer;
}
.field__check:checked { border-color: var(--green); background: var(--green); }
.field__check:checked::after {
  content: ""; width: 13px; height: 13px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.field__check[aria-invalid="true"] { border-color: var(--error); }
.field__error { margin: 0; color: var(--error); font-size: .88rem; }
.bform__note { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--mint); color: var(--ink-2); font-size: .88rem; line-height: 1.5; }
.bform__note .icon { margin-top: 2px; color: var(--green); }
.bform__submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px;
  border: 1.5px solid var(--green); border-radius: 14px; background: #fff; color: var(--green); font-size: 1rem; font-weight: 500; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.bform__submit:hover { background: var(--green); color: #fff; }
.bform__submit .icon { width: 21px; height: 21px; }
.bform__status { min-height: 1.4em; margin: 0; color: var(--green); font-size: .93rem; }
.bform__status:empty { display: none; }
.bform__status.is-ok { padding: 12px 14px; border-radius: 14px; background: var(--green-soft); color: var(--green-deep); }
.bform__alert { display: flex; gap: 10px; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: #FBE9E7; color: var(--error); }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; overflow: clip; padding-top: clamp(56px, 7vw, 92px); background: var(--green-deep); color: #D2E3D9; }
.site-footer__lens { position: absolute; top: -210px; right: -210px; width: 620px; height: 620px; opacity: .22; }
.site-footer .lens-art__ring--thin { stroke: #9BC4AF; }
.site-footer .lens-art__tick--major { stroke: #fff; }
.site-footer a { color: #EAF3EE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__grid > * { min-width: 0; }
.site-footer .brand:hover { text-decoration: none; }
.footer__fact { max-width: 38ch; margin: 16px 0 10px; color: #B9D0C4; font-size: .94rem; line-height: 1.55; }
.footer__addr { display: flex; gap: 10px; margin: 0 0 18px; color: #D2E3D9; font-size: .92rem; line-height: 1.5; }
.footer__addr .icon { margin-top: 2px; color: var(--gold); }
.footer__card {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px;
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; background: transparent; color: #EAF3EE; font-size: .92rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.site-footer .footer__card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); color: #fff; text-decoration: none; }
.footer__card .icon { color: var(--gold); }
.footer__title { margin: 6px 0 14px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); }
.footer__col ul { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; font-size: .94rem; line-height: 1.4; }
.footer__note { position: relative; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__note p { display: flex; gap: 10px; max-width: 110ch; margin: 0; color: #B9D0C4; font-size: .86rem; line-height: 1.6; }
.footer__note .icon { margin-top: 3px; color: var(--gold); }
.footer__bar {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  margin-top: 24px; padding-block: 22px calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .12); color: #B9D0C4; font-size: .88rem;
}
.footer__bar p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer__otx a { font-weight: 600; color: var(--gold-soft); }
/* Where the page gutter is narrower than the accessibility launcher, the last line stays clear of it. */
@media (max-width: 1379.98px) {
  .footer__bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- motion (enabled by boot.js via html.m-on) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
html.uwa-pause::view-transition-group(*),
html.uwa-pause::view-transition-old(*),
html.uwa-pause::view-transition-new(*) { animation: none !important; }
html.m-on [data-reveal]:not(.is-in) { opacity: 0; }
html.m-on [data-reveal].is-in { animation: m-rise .7s var(--ease) backwards; animation-delay: var(--m-d, 0ms); }
html.m-on .hero__intro > * { animation: m-rise .8s var(--ease) backwards; }
html.m-on .hero__intro > :nth-child(2) { animation-delay: .07s; }
html.m-on .hero__intro > :nth-child(3) { animation-delay: .14s; }
html.m-on .hero__photo { animation: m-zoom 1s var(--ease) backwards .08s; }
html.m-on .hero__wave--a { animation: m-fade 1.4s var(--ease) backwards .1s, hero-spin 70s linear infinite; }
html.m-on .hero__wave--b { animation: m-fade 1.4s var(--ease) backwards .25s, hero-spin 110s linear infinite reverse; }
html.m-on .hero__ripple { animation: hero-ripple 6.4s cubic-bezier(.25, .6, .35, 1) infinite 1.2s; }
html.m-on .hero__ripple--2 { animation-delay: 4.4s; }
html.m-on .dial__item { animation: m-rise .8s var(--ease) backwards; }
html.m-on .dial__item:nth-child(1) { animation-delay: .3s; }
html.m-on .dial__item:nth-child(2) { animation-delay: .38s; }
html.m-on .dial__item:nth-child(3) { animation-delay: .46s; }
html.m-on .dial__item:nth-child(4) { animation-delay: .54s; }
html.m-on .hero__more { animation: m-rise .8s var(--ease) backwards .3s; }
html.m-on .scopeview__sweep { animation: m-orbit 7s linear infinite; }
html.m-on .voice__wave.is-in i, html.m-on .voice__text.is-in .voice__wave i { animation: m-wave 2.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1ms); }
html.m-on .voice__wave i:nth-child(4n+1) { --i: 0; }
html.m-on .voice__wave i:nth-child(4n+2) { --i: 300; }
html.m-on .voice__wave i:nth-child(4n+3) { --i: 600; }
html.m-on .voice__wave i:nth-child(4n+4) { --i: 900; }
html.m-done [data-reveal] { opacity: 1 !important; animation: none !important; }
@keyframes m-rise { from { opacity: 0; translate: 0 18px; } }
@keyframes m-zoom { from { opacity: 0; scale: .94; } }
@keyframes m-fade { from { opacity: 0; } }
@keyframes hero-spin { to { rotate: 360deg; } }
@keyframes hero-ripple { 0% { opacity: 0; scale: 1; } 15% { opacity: .5; } 100% { opacity: 0; scale: 1.38; } }
@keyframes m-orbit { to { rotate: 360deg; } }
@keyframes m-wave { 50% { scale: 1 .55; } }

/* ---------- responsive ---------- */
@media (max-width: 1239.98px) {
  .nav { display: none; }
  .iconbtn--menu { display: inline-grid; }
  .site-header__actions { margin-left: auto; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1099.98px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro intro" "stage dial" "more more"; row-gap: 26px; }
  .hero__intro { max-width: 720px; }
  .hero__stage { max-width: 360px; width: 100%; justify-self: center; }
  .hero__more { padding-top: 0; }
  .layout { grid-template-columns: minmax(0, 1fr) 270px; }
  .finder__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kids__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vgrid--short { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hubchips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023.98px) {
  .scopeband__grid { grid-template-columns: minmax(0, 1fr); }
  .scopeview { max-width: 320px; }
  .ops__grid { grid-template-columns: minmax(0, 1fr); }
  .ops__photo { max-width: 380px; }
  .voice__grid, .profile__grid, .mediaband__grid, .qlist__grid, .visit__card { grid-template-columns: minmax(0, 1fr); }
  .voice__photo, .profile__photo { max-width: 360px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side__sticky { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .toc { display: none; }
  .about__career, .work { grid-template-columns: minmax(0, 1fr); }
  .about__photo { max-width: 360px; }
  .work__photos { max-width: 520px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .services__photo { grid-row: auto; max-width: 360px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__book { grid-template-columns: minmax(0, 1fr); }
  .contact__book > .bform, .contact__book > .bform__alert { grid-column: 1; grid-row: auto; }
  .notfound__inner { grid-template-columns: minmax(0, 1fr); }
  .notfound__art { max-width: 260px; }
  .media__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
  :root { --header-h: 66px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.04rem; }
  .brand__role { font-size: .74rem; }
  .site-header__actions { gap: 8px; }
  /* The one call to action docks at the bottom of the screen and stays there while scrolling. */
  .cta-home { position: fixed; left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 120; }
  .cta-home .cta { width: 100%; min-height: 54px; font-size: 1.02rem; box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 16px 36px rgba(6, 26, 19, .34); }
  .site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .footer__bar { padding-bottom: 64px; }
  body { padding-bottom: 0; }
  .section { padding-block: clamp(50px, 12vw, 70px); }

  .hero { padding-top: 18px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "stage" "dial" "more"; row-gap: 22px; }
  .hero__stage { max-width: min(76vw, 320px); }
  .hero__lead { column-count: 1; }
  .dial__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dial__link { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px; }
  .dial__arrow, .dial__text { display: none; }
  .dial__badge { width: 44px; height: 44px; }
  .dial__badge .icon { width: 22px; height: 22px; }
  .dial__title { font-size: .98rem; }

  .finder__grid, .kids__grid, .ops__list, .areas, .approach__list, .points, .tcards, .posts, .vgrid--long, .evlist, .gallery__grid, .bform__grid { grid-template-columns: minmax(0, 1fr); }
  .mediaband__videos { flex-direction: column; }
  .mediaband__videos > .mv--wide { flex: none; width: 100%; }
  .mediaband__videos > .mv--tall { flex: none; width: min(64%, 260px); }
  .opgroup:last-child:nth-child(odd), .approach__item:last-child:nth-child(odd) { grid-column: auto; }
  .post--lead { grid-column: auto; }
  .vgrid--short { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post--lead .post__link { grid-template-columns: minmax(0, 1fr); }
  .post--lead .post__art { min-height: 0; aspect-ratio: 16 / 8; }
  .post--lead .post__title { font-size: 1.14rem; }
  .side__sticky { grid-template-columns: minmax(0, 1fr); }
  .hubchips { grid-template-columns: minmax(0, 1fr); }
  .work__photo--alt { margin-top: 24px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .phead__lens { top: 16px; right: -150px; width: 300px; height: 300px; translate: none; opacity: .4; }
  .facts__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .table--stack thead, .table--2 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack tr, .table--2 tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table--stack tbody tr:last-child, .table--2 tbody tr:last-child { border-bottom: 0; }
  .table--stack td, .table--2 td { display: block; width: auto; padding: 3px 0; border: 0; }
  .table--stack td::before, .table--2 td::before { content: attr(data-label); display: block; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
  .tline::before { left: 11px; }
  .tline__item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-left: 30px; }
  .tline__item::before { content: ""; position: absolute; top: 10px; left: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--bg); }
  .tline__year { justify-self: start; }
  .contact__sos { grid-template-columns: minmax(0, 1fr); }
  .dlg[open] { padding: 10px; }
  .dlg__panel { padding: 18px 18px 20px; border-radius: 22px; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .vcard__actions { grid-template-columns: minmax(0, 1fr); }
  .complaint__link { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 10px; padding: 14px 16px; }
  .complaint__badge { grid-row: 1 / span 2; }
  .complaint__to { padding-top: 10px; }
}

@media (max-width: 380px) {
  .vgrid--short { grid-template-columns: minmax(0, 1fr); }
  .brand__role { display: none; }
  .brand { gap: 10px; }
  .dial__link { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__wave, .hero__ripple, .scopeview__sweep { animation: none !important; }
}

@media print {
  .site-header, .site-footer, .drawer, .dlg, .uwa-launch, .related, .layout__side, .cta-home { display: none !important; }
  body { background: #fff; padding: 0; }
  [data-reveal] { opacity: 1 !important; animation: none !important; }
  .phead, .hero { background: #fff; }
  a { color: #000; }
}
