/* ============================================================
   Центр психічного та фізичного здоров'я
   Сімейна практика — design system
   Themes: calm (default) · warm · humane · harmony
   ============================================================ */

/* JetBrains Mono — self-hosted */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/jbm-400-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/jbm-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/jbm-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/jbm-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jbm-400-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jbm-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jbm-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jbm-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Tokens : CALM (default) ---------- */
:root {
  --bg:        #F7F8F6;
  --surface:   #FFFFFF;
  --card:      #FFFFFF;
  --card-alt:  #FFFFFF;
  --text:      #2E3430;
  --muted:     #5C645E;
  --faint:     #8A918B;
  --accent:    #5F7F73;   /* sage */
  --deep:      #466A5C;   /* deep sage / CTA */
  --deep-hover:#3C5C50;   /* CTA hover */
  --soft:      #C9D4CD;   /* soft sage */
  --soft-bg:   #EBF0EC;   /* very light sage wash */
  --border:    #E3E7E4;
  --on-deep:   #FFFFFF;

  --r-card: 18px;
  --r-btn:  16px;
  --r-pill: 999px;

  --shadow-card: 0 1px 2px rgba(46,52,48,.04);
  --shadow-soft: 0 8px 30px -18px rgba(46,52,48,.18);

  --sec-pad: 132px;     /* vertical section rhythm */
  --gap-l: 64px;
  --max: 1180px;

  --card-border: 1px solid var(--border);
  --card-fill: var(--surface);

  --ff-head: "Manrope", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(.4,.2,.2,1);
}

/* ---------- Tokens : ДОВІРА (medical blue, clinical) ---------- */
[data-theme="warm"] {
  --bg:        #F5F8FB;
  --surface:   #FFFFFF;
  --card:      #FFFFFF;
  --card-alt:  #FFFFFF;
  --text:      #26333D;
  --muted:     #70808D;
  --faint:     #97A4AE;
  --accent:    #4F7FA8;   /* medical blue */
  --deep:      #4F7FA8;   /* primary CTA */
  --deep-hover:#416C91;   /* CTA hover */
  --soft:      #C2D6E6;
  --soft-bg:   #EAF1F7;
  --border:    #DCE7F0;
  --on-deep:   #FFFFFF;

  --r-card: 16px;
  --r-btn:  14px;
  --shadow-card: 0 1px 2px rgba(38,51,61,.05);
  --shadow-soft: 0 14px 40px -22px rgba(38,51,61,.26);
  --sec-pad: 120px;
  --card-border: 1px solid var(--border);
  --card-fill: var(--surface);
}

/* ---------- Tokens : ЛЮДЯНІСТЬ (warm beige-graphite, private practice) ---------- */
[data-theme="humane"] {
  --bg:        #F8F5F1;   /* warm light wash */
  --surface:   #FFFFFF;
  --card:      #FFFFFF;
  --card-alt:  #FFFFFF;
  --text:      #2F2B28;   /* graphite */
  --muted:     #736B63;   /* secondary text */
  --faint:     #9C938B;
  --accent:    #7A6A58;   /* warm taupe */
  --deep:      #7A6A58;   /* primary CTA */
  --deep-hover:#665747;   /* CTA hover */
  --soft:      #D8CEC1;   /* soft taupe */
  --soft-bg:   #F0EAE2;   /* light beige wash */
  --border:    #E7DFD5;
  --on-deep:   #FFFFFF;

  --r-card: 14px;
  --r-btn:  14px;
  --shadow-card: 0 1px 2px rgba(47,43,40,.05);
  --shadow-soft: 0 14px 40px -24px rgba(47,43,40,.22);
  --sec-pad: 120px;
  --card-border: 1px solid var(--border);
  --card-fill: var(--surface);
}

/* ---------- Tokens : ГАРМОНІЯ (soft sage-grey, modern private practice) ---------- */
[data-theme="harmony"] {
  --bg:        #F7F8F7;   /* soft light wash */
  --surface:   #FFFFFF;
  --card:      #FFFFFF;
  --card-alt:  #FFFFFF;
  --text:      #303533;   /* warm graphite */
  --muted:     #707774;   /* secondary text */
  --faint:     #9AA09C;
  --accent:    #6A7D74;   /* soft sage-grey */
  --deep:      #6A7D74;   /* primary CTA */
  --deep-hover:#586A62;   /* CTA hover */
  --soft:      #C8D2CC;   /* soft sage-grey */
  --soft-bg:   #ECF0EE;   /* very light sage-grey wash */
  --border:    #E4E8E5;
  --on-deep:   #FFFFFF;

  --r-card: 16px;
  --r-btn:  14px;
  --shadow-card: 0 1px 2px rgba(48,53,51,.05);
  --shadow-soft: 0 14px 40px -22px rgba(48,53,51,.22);
  --sec-pad: 120px;
  --card-border: 1px solid var(--border);
  --card-fill: var(--surface);
}

/* ---------- Base ---------- */
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--text);
  text-wrap: balance;
}

p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 32px; }

section { padding-block: var(--sec-pad); }
section.tight { padding-block: calc(var(--sec-pad) * .62); }

.eyebrow {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  opacity: .55;
}

.h-xl { font-size: clamp(34px, 5vw, 58px); }
.h-lg { font-size: clamp(28px, 3.6vw, 42px); }
.h-md { font-size: clamp(22px, 2.4vw, 28px); }

.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.65; }
.muted { color: var(--muted); }

/* section head helper */
.sec-head { max-width: 760px; margin-bottom: var(--gap-l); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 600; font-size: 16px;
  padding: 16px 28px; border-radius: var(--r-btn);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  min-height: 52px; line-height: 1;
}
.btn-primary { background: var(--deep); color: var(--on-deep); }
.btn-primary:hover { background: var(--deep-hover); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #FFFFFF; color: var(--deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -18px rgba(0,0,0,.35); }
.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 600; color: var(--deep); font-size: 16px;
}
.btn-text svg { transition: transform .25s var(--ease); }
.btn-text:hover svg { transform: translateX(4px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--ff-head); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; max-width: 280px; }
.brand-logo { width: 180px; height: auto; display: block; margin-bottom: 5px; }
.brand-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.brand .dot { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color .2s var(--ease); position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-dropdown { position: relative; flex-shrink: 0; }
.lang-dropdown summary { display: flex; align-items: center; gap: 3px; cursor: pointer; list-style: none; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.07em; color: var(--text-muted); padding: 4px 2px; transition: color 0.2s; user-select: none; }
.lang-dropdown summary::-webkit-details-marker { display: none; }
.lang-dropdown summary:hover { color: var(--text); }
.lang-dropdown[open] summary { color: var(--text); }
.lang-dropdown[open] summary svg { transform: rotate(180deg); }
.lang-dropdown summary svg { transition: transform 0.2s; }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 4px; min-width: 64px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); z-index: 200; }
.lang-menu a { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.07em; color: var(--text-muted); text-decoration: none; padding: 6px 10px; border-radius: 5px; transition: background 0.15s, color 0.15s; }
.lang-menu a:hover { background: var(--surface); color: var(--text); }
.mobile-lang { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.mobile-lang .lang-btn { font-family: var(--ff-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--text-muted); text-decoration: none; }
.mobile-lang .lang-btn.active { color: var(--text); font-weight: 500; }
.mobile-lang .lang-sep { color: var(--border); font-family: var(--ff-mono); font-size: 13px; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 1.6px; background: var(--text); position: relative; transition: .3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.6px; background: var(--text); transition: .3s var(--ease); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* mobile menu panel */
.mobile-menu {
  position: fixed; inset: 78px 0 0 0; z-index: 55;
  background: var(--bg);
  padding: 28px 32px 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-family: var(--ff-head); font-weight: 600; font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--border); text-align: center; }
.mobile-menu a.btn { border-bottom: none; font-size: 16px; }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); }
.hero .lead { margin-top: 26px; max-width: 540px; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-note { margin-top: 30px; display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 14px; }
.hero-note .line { width: 30px; height: 1px; background: var(--border); }
.hero-media { position: relative; }
.hero-portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--r-card); display: block; }
[data-theme="warm"] .hero-media { transform: none; }

/* ---------- Placeholder (delicate striped) ---------- */
.ph {
  position: relative;
  background-color: var(--soft-bg);
  background-image: repeating-linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 9%, transparent) 0, color-mix(in srgb, var(--accent) 9%, transparent) 1px,
      transparent 1px, transparent 13px);
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--r-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 24px; color: var(--accent);
  overflow: hidden;
}
.ph svg { stroke: var(--accent); opacity: .7; }
.ph .ph-label {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px; letter-spacing: .02em; color: color-mix(in srgb, var(--accent) 88%, var(--text));
  max-width: 240px; line-height: 1.5;
}
.ph .ph-tag { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.ph-hero { aspect-ratio: 4 / 5; }
.ph-portrait { aspect-ratio: 3 / 4; }
img.ph-portrait { object-fit: cover; object-position: center top; width: 100%; display: block; border-radius: var(--r-card); }
.panel-portrait { max-width: 320px; border-radius: var(--r-card); }
.ph-wide { aspect-ratio: 16 / 11; }
.ph-sq { aspect-ratio: 1 / 1; }

/* ---------- Concerns (block 2) ---------- */
.concerns-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.concerns-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.concerns-list li {
  break-inside: avoid; padding: 13px 0 13px 28px; position: relative;
  border-bottom: 1px solid var(--border); color: var(--muted); font-size: 16px;
}
.concerns-list li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .6;
}
.concerns-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Specialists (block 3) ---------- */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.spec-card {
  background: var(--card-fill); border: var(--card-border); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 28px; display: grid;
  grid-template-columns: 150px 1fr; gap: 28px; align-items: start;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.spec-card .ph { width: 150px; }
.spec-name { font-family: var(--ff-head); font-weight: 700; font-size: 23px; }
.spec-role { color: var(--accent); font-weight: 600; font-size: 14.5px; margin-top: 6px; font-family: var(--ff-head); }
.spec-bio { color: var(--muted); margin-top: 16px; font-size: 15.5px; }
.spec-card .btn-text { margin-top: 20px; }

/* ---------- Directions (block 4) ---------- */
.dir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dir-card {
  position: relative; border-radius: var(--r-card); padding: 44px;
  background: var(--card-fill); border: var(--card-border); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; min-height: 460px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.dir-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.dir-card .num { font-family: var(--ff-head); font-weight: 700; font-size: 15px; color: var(--accent); letter-spacing: .04em; }
.dir-card h3 { font-size: 28px; margin-top: 14px; }
.dir-card p { margin-top: 14px; }
.dir-list { margin-top: 24px; display: flex; flex-direction: column; gap: 0; }
.dir-list li { padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--muted); display: flex; gap: 12px; align-items: center; }
.dir-list li svg { flex: none; stroke: var(--accent); }
.dir-card .btn-text { margin-top: auto; padding-top: 28px; }
[data-theme="humane"] .dir-card.feature { background: var(--deep); color: var(--on-deep); border-color: transparent; }
[data-theme="humane"] .dir-card.feature h3,
[data-theme="humane"] .dir-card.feature .num { color: #fff; }
[data-theme="humane"] .dir-card.feature .dir-list li { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.16); }
[data-theme="humane"] .dir-card.feature .dir-list li svg { stroke: var(--soft); }
[data-theme="humane"] .dir-card.feature .btn-text { color: #fff; }

/* ---------- Trust (block 5) ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card {
  padding: 32px 28px; border-radius: var(--r-card);
  background: var(--card-fill); border: var(--card-border); box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease);
}
.trust-card:hover { transform: translateY(-4px); }
.trust-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--soft-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.trust-ic svg { stroke: var(--deep); }
.trust-card h4 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.trust-card p { margin-top: 12px; color: var(--muted); font-size: 14.5px; }

/* ---------- Reviews (block 6) ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  padding: 34px; border-radius: var(--r-card);
  background: var(--soft-bg); border: 1px solid transparent; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; min-height: 230px;
}
.review-text { font-size: 16.5px; color: var(--text); line-height: 1.6; }
.review-meta { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 14px; }
.review-ava { width: 42px; height: 42px; border-radius: 50%; background: var(--soft); display:flex;align-items:center;justify-content:center; font-family: var(--ff-head); font-weight: 700; color: var(--deep); }
.review-name { font-family: var(--ff-head); font-weight: 600; font-size: 15px; }
.review-note { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--faint); letter-spacing: .04em; }
.reviews-foot { margin-top: 40px; text-align: center; }
.reviews-pending { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--faint); text-align: center; margin-bottom: 28px; letter-spacing: .02em; }

/* ---------- Process (block 7) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; }
.step .step-n {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 700; color: var(--deep); margin-bottom: 22px;
}
.step h4 { font-size: 19px; font-weight: 700; }
.step p { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.step::after { content: ""; position: absolute; top: 23px; left: 60px; right: -14px; height: 1px; background: var(--border); }
.step:last-child::after { display: none; }

/* ---------- Pricing (block 8) ---------- */
.price-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.price-card {
  padding: 40px; border-radius: var(--r-card);
  background: var(--card-fill); border: var(--card-border); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.price-card h3 { font-size: 23px; }
.price-rows { margin-top: 26px; display: flex; flex-direction: column; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.price-row .label { color: var(--muted); font-size: 15.5px; }
.price-row .val { font-family: var(--ff-head); font-weight: 700; font-size: 18px; white-space: nowrap; }
.price-row .val .ph-price { color: var(--faint); font-family: "JetBrains Mono", monospace; font-size: 15px; font-weight: 500; }
.price-card .btn { margin-top: 28px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 18px; grid-auto-flow: row dense; }
.gallery-grid .ph { border-radius: var(--r-card); }
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid img { border-radius: var(--r-card); width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ (block 9) ---------- */
.faq-wrap { max-width: 860px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left; font-family: var(--ff-head); font-weight: 600; font-size: clamp(17px, 2vw, 20px);
}
.faq-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: .3s var(--ease); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--accent); transition: .3s var(--ease); }
.faq-ic { position: relative; }
.faq-ic::before { width: 12px; height: 1.6px; }
.faq-ic::after { width: 1.6px; height: 12px; }
.faq-item.open .faq-ic { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-ic::before, .faq-item.open .faq-ic::after { background: #fff; }
.faq-item.open .faq-ic::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding-bottom: 28px; color: var(--muted); max-width: 680px; font-size: 16px; }
.faq-foot { margin-top: 44px; text-align: center; }

/* ---------- FAQ page: category nav ---------- */
.faq-cats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; margin-top: 34px; }
.faq-cat {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border);
  font-family: var(--ff-head); font-weight: 600; font-size: 14.5px; color: var(--text);
  transition: .2s var(--ease);
}
.faq-cat:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.faq-cat .n { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--faint); font-weight: 500; }
.faq-section { scroll-margin-top: 92px; }
.faq-section + .faq-section { padding-top: 0; }
.grp-head { max-width: 860px; margin-inline: auto; margin-bottom: 12px; }
.grp-head .lead { margin-top: 14px; font-size: 17px; }

/* ---------- Big CTA (block 10) ---------- */
.cta-band { background: var(--deep); color: var(--on-deep); border-radius: 0; }
.cta-inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-inner h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); }
.cta-inner p { color: rgba(255,255,255,.82); margin-top: 22px; font-size: 19px; }
.cta-inner .btn { margin-top: 38px; }
[data-theme="warm"] .cta-band { margin: 0; border-radius: 0; }

/* ---------- Contacts ---------- */
.contacts-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; gap: 16px; padding: 26px;
  border-radius: var(--r-card); background: var(--card-fill); border: var(--card-border);
  box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  min-height: 150px;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.contact-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--soft-bg); display: flex; align-items: center; justify-content: center; }
.contact-ic svg { stroke: var(--deep); }
.contact-card .c-kind { font-family: var(--ff-head); font-weight: 700; font-size: 17px; }
.contact-card .c-val { color: var(--muted); font-size: 14px; font-family: "JetBrains Mono", monospace; }

/* ---------- Page sub-components (shared across inner pages) ---------- */
/* breadcrumb */
.crumb { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: var(--faint); margin-bottom: 22px; font-family: var(--ff-head); font-weight: 500; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.crumb .sep { opacity: .5; }

/* hero trust fact pill */
.hero-fact { margin-top: 32px; display: inline-flex; align-items: center; gap: 16px; padding: 14px 22px 14px 18px; border-radius: var(--r-pill); background: var(--soft-bg); }
.hero-fact b { font-family: var(--ff-head); font-size: 26px; color: var(--deep); line-height: 1; }
.hero-fact span { font-size: 13.5px; color: var(--muted); max-width: 150px; line-height: 1.4; }

/* states grid (block: з якими станами працюємо) */
.states-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.state-card { padding: 26px 24px; border-radius: var(--r-card); background: var(--card-fill); border: var(--card-border); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease); }
.state-card:hover { transform: translateY(-3px); }
.state-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--soft-bg); display: flex; align-items: center; justify-content: center; }
.state-ic svg { stroke: var(--deep); }
.state-card h4 { font-size: 16.5px; font-weight: 700; line-height: 1.25; }
.state-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* highlighted panel (block: складні випадки) */
.panel { background: var(--soft-bg); border-radius: 24px; padding: clamp(34px, 4.5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 60px); align-items: center; }
.panel h2 { font-size: clamp(24px, 3vw, 34px); }
.panel .lead { margin-top: 18px; }
.panel-list { display: grid; gap: 0; }
.panel-list li { display: flex; gap: 13px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); color: var(--text); font-size: 15.5px; }
.panel-list li:last-child { border-bottom: none; }
.panel-list li svg { flex: none; stroke: var(--deep); margin-top: 3px; }

/* concern (побоювання) cards */
.concern-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.concern-card { padding: 32px; border-radius: var(--r-card); background: var(--card-fill); border: var(--card-border); box-shadow: var(--shadow-card); }
.concern-card .c-q { font-family: var(--ff-head); font-weight: 700; font-size: 19px; display: flex; gap: 12px; align-items: flex-start; line-height: 1.3; }
.concern-card .c-q .q-mark { color: var(--accent); flex: none; }
.concern-card p { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* pricing 3-up */
.price-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card.solo { text-align: left; }
.price-card .price-big { font-family: var(--ff-head); font-weight: 700; font-size: 30px; margin-top: 8px; }
.price-card .price-big .ph-price { color: var(--faint); font-family: "JetBrains Mono", monospace; font-size: 24px; font-weight: 500; }
.price-card .price-kind { font-family: var(--ff-head); font-weight: 700; font-size: 18px; }
.price-card .price-dur { font-size: 13px; color: var(--muted); font-family: "JetBrains Mono", monospace; margin-top: 5px; }
.price-card .price-desc { color: var(--muted); font-size: 14px; margin-top: 10px; }
.price-note { margin-top: 28px; max-width: 640px; color: var(--muted); font-size: 15px; }
.price-highlight { margin-top: 22px; padding: 18px 22px; border-left: 2px solid var(--accent); background: var(--soft-bg); border-radius: 0 14px 14px 0; font-size: 15px; line-height: 1.65; color: var(--text); }
.price-highlight strong { color: var(--deep); }
.price-includes { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 5px; }
.price-includes li::before { content: "·"; margin-right: 8px; color: var(--accent); font-weight: 700; }
.price-effective { margin-top: 18px; font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--faint); letter-spacing: .02em; }
.price-table { border-top: 1px solid var(--border); }
.pt-group-label { padding: 28px 0 8px; font-family: var(--ff-head); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.pt-group-label:first-child { padding-top: 6px; }
.pt-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.pt-name { flex: 1; font-size: 15.5px; color: var(--text); line-height: 1.4; }
.pt-dur { font-size: 13px; color: var(--muted); white-space: nowrap; font-family: "JetBrains Mono", monospace; letter-spacing: .02em; }
.pt-price { font-family: var(--ff-head); font-weight: 700; font-size: 18px; color: var(--deep); white-space: nowrap; min-width: 96px; text-align: right; }
.legal-note { margin-top: 22px; padding: 20px 24px; border-left: 2px solid var(--accent); background: var(--soft-bg); border-radius: 0 14px 14px 0; color: var(--text); font-size: 15.5px; line-height: 1.6; }

/* messenger row (final CTA) */
.cta-msgrs { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-msgr { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); color: #fff; font-family: var(--ff-head); font-weight: 600; font-size: 14.5px; border: 1px solid rgba(255,255,255,.22); transition: .2s var(--ease); }
.cta-msgr:hover { background: rgba(255,255,255,.2); }
.cta-msgr svg { stroke: #fff; }
.cta-contacts { margin-top: 22px; color: rgba(255,255,255,.8); font-size: 15px; font-family: "JetBrains Mono", monospace; }

/* ---------- Specialist bio card (Спеціалісти page) ---------- */
.bio-card { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; background: var(--card-fill); border: var(--card-border); box-shadow: var(--shadow-card); border-radius: var(--r-card); padding: clamp(28px, 3.5vw, 48px); }
.bio-card.flip { grid-template-columns: 1fr 340px; }
.bio-card.flip .bio-media { order: 2; }
.bio-card .ph-portrait { width: 100%; }
.bio-card .bio-body { display: flex; flex-direction: column; }
.bio-card h2 { font-size: clamp(26px, 3vw, 34px); }
.bio-card .spec-role { font-size: 15.5px; margin-top: 8px; }
.bio-card .bio-text { color: var(--muted); margin-top: 18px; font-size: 15.5px; }
.bio-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bio-chip { padding: 9px 16px; border-radius: var(--r-pill); background: var(--soft-bg); color: var(--deep); font-size: 13.5px; font-weight: 600; font-family: var(--ff-head); }
.bio-card .btn-text { margin-top: 26px; }

/* ---------- Chooser (не впевнені, до кого звернутися) ---------- */
.chooser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.chooser-card { background: var(--card-fill); border: var(--card-border); box-shadow: var(--shadow-card); border-radius: var(--r-card); padding: clamp(32px, 3.5vw, 44px); display: flex; flex-direction: column; }
.chooser-card .chooser-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--soft-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.chooser-card .chooser-ic svg { stroke: var(--deep); }
.chooser-card h3 { font-size: 21px; line-height: 1.3; }
.chooser-list { margin-top: 20px; display: flex; flex-direction: column; }
.chooser-list li { padding: 11px 0; border-bottom: 1px solid var(--border); color: var(--muted); display: flex; gap: 11px; align-items: center; font-size: 15px; }
.chooser-list li svg { flex: none; stroke: var(--accent); }
.chooser-card .btn { align-self: flex-start; margin-top: 28px; }

/* ---------- Why panel (key statement, 2-col) ---------- */
.why-panel { background: var(--soft-bg); border-radius: 24px; padding: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4.5vw, 64px); align-items: center; }
.why-panel h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.14; }
.why-panel .why-body p { color: var(--text); font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.7; }
.why-panel .why-body p + p { margin-top: 18px; }
.why-accent { font-family: var(--ff-head); font-weight: 700; color: var(--deep); }

/* ---------- Centered narrow block (про центр) ---------- */
.narrow-center { max-width: 720px; margin-inline: auto; text-align: center; }
.narrow-center p { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: 72px; }
.footer-top { display: grid; grid-template-columns: 1fr 2.5fr; gap: 56px; align-items: start; }
.site-footer .brand-name { max-width: 320px; }
.footer-desc { margin-top: 18px; max-width: 300px; font-size: 14.5px; }
.footer-cta { margin-top: 26px; }
.footer-cols { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr 1fr; gap: 24px; }
.footer-col h5 { font-family: var(--ff-head); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 6px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-col .btn-text { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; padding: 6px 0; flex-wrap: nowrap; white-space: nowrap; }
.footer-col .btn-text svg { flex: none; }
.footer-spec-name { font-family: var(--ff-head); font-weight: 600; color: var(--text) !important; font-size: 14.5px; padding-bottom: 4px !important; }
.footer-im { display: flex; align-items: center; gap: 5px; margin-top: 6px; flex-wrap: wrap; }
.footer-im a { display: inline; padding: 0; font-size: 13px; color: var(--muted); }
.footer-im a:hover { color: var(--accent); }
.footer-im-sep { color: var(--faint); font-size: 12px; }
.footer-msgrs { display: flex; gap: 12px; margin-top: 10px; }
.footer-msgrs a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); padding: 0; transition: border-color .2s, color .2s; }
.footer-msgrs a:hover { color: var(--accent); border-color: var(--accent); }
.footer-license { font-size: 12px; color: var(--faint); font-family: "JetBrains Mono", monospace; margin: 8px 0 0; }
.footer-addr { color: var(--muted); font-size: 14.5px; padding: 0 0 10px; line-height: 1.7; }
.footer-addr-note { font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: var(--faint); }
.footer-contact-note { font-size: 11px; color: var(--faint); font-family: "JetBrains Mono", monospace; margin-left: 5px; }
.footer-base { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }
.footer-legal { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Booking modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(38,44,40,.42);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg); border-radius: 24px; max-width: 540px; width: 100%;
  padding: 40px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.5);
  transform: translateY(16px) scale(.98); transition: transform .3s var(--ease);
  max-height: 90vh; overflow-y: auto; overscroll-behavior: contain;
}
.modal-overlay.open .modal { transform: none; }
.modal h3 { font-size: 26px; }
.modal p { color: var(--muted); margin-top: 12px; }
.modal-close { position: absolute; top: 0; right: 0; }
.modal-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.chan {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-family: var(--ff-head); font-size: 15px;
  transition: .2s var(--ease);
}
.chan:hover { border-color: var(--accent); transform: translateY(-2px); }
.chan svg { stroke: var(--deep); flex: none; }
.modal-form { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.modal-form input, .modal-form textarea {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); font: inherit; color: var(--text);
}
.modal-form input:focus, .modal-form textarea:focus { outline: none; border-color: var(--accent); }
/* consent checkbox under forms */
.form-consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 2px; text-align: left; }
.form-consent input[type="checkbox"] {
  flex: none; width: 19px; height: 19px; margin: 1px 0 0; padding: 0;
  accent-color: var(--deep); cursor: pointer;
}
.form-consent label { font-size: 12.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.form-consent a { color: var(--deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--accent); }
.modal-divider { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 13px; margin: 24px 0 4px; }
.modal-divider::before, .modal-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.modal-ok { text-align: center; padding: 20px 0; }
.modal-ok .check { width: 60px; height: 60px; border-radius: 50%; background: var(--soft-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }


/* ---------- Theme switcher — round FAB (standalone only) ---------- */
.theme-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}

/* the round trigger */
.theme-fab-btn {
  width: 54px; height: 54px; border-radius: 999px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); box-shadow: var(--shadow-soft);
  color: var(--accent);
  transition: transform .35s var(--ease), background .3s var(--ease),
              color .3s var(--ease), box-shadow .3s var(--ease);
}
.theme-fab-btn svg { width: 23px; height: 23px; transition: transform .45s var(--ease); }
.theme-fab-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -18px rgba(46,52,48,.34); }
.theme-fab[data-open="true"] .theme-fab-btn {
  background: var(--deep); color: #fff; border-color: transparent;
}
.theme-fab[data-open="true"] .theme-fab-btn svg { transform: rotate(120deg); }

/* the popover panel */
.theme-pop {
  width: 222px; padding: 8px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transform-origin: bottom right;
  opacity: 0; transform: translateY(10px) scale(.94); pointer-events: none;
  transition: opacity .26s var(--ease), transform .26s var(--ease);
}
.theme-fab[data-open="true"] .theme-pop { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.theme-pop-title {
  display: block; font-family: var(--ff-mono, "JetBrains Mono", monospace);
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); padding: 8px 10px 10px;
}
.theme-pop button {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 12px; text-align: left;
  font-family: var(--ff-head); font-weight: 600; font-size: 14.5px; color: var(--text);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.theme-pop button:hover { background: var(--soft-bg); }
.theme-pop button .sw {
  width: 18px; height: 18px; border-radius: 999px; flex: none;
  box-shadow: inset 0 0 0 1px rgba(46,52,48,.10);
}
.theme-pop button[data-set="calm"] .sw       { background: oklch(0.60 0.045 160); }
.theme-pop button[data-set="warm"] .sw       { background: #4F7FA8; }
.theme-pop button[data-set="humane"] .sw { background: #7A6A58; }
.theme-pop button[data-set="harmony"] .sw { background: #6A7D74; }
.theme-pop button .chk { margin-left: auto; opacity: 0; transition: opacity .2s var(--ease); color: var(--accent); }
.theme-pop button .chk svg { width: 17px; height: 17px; }
.theme-pop button.active { background: var(--soft-bg); color: var(--deep); }
.theme-pop button.active .chk { opacity: 1; }

body.embed .theme-fab { display: none; }
body.embed .site-header { position: relative; }

@media (max-width: 720px) {
  .theme-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* reveal-on-scroll — gated behind .js so content is always visible if JS fails */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
/* initial in-view content snaps solid (avoids stalled transitions in background tabs) */
.js.reveal-instant .reveal.in { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== page: Контакти ===== */

/* hero */
.contacts-hero .sec-head { max-width: 760px; margin-bottom: 0; }
.contacts-hero .sec-head .lead { margin-top: 22px; }
.contacts-hero .hero-actions { justify-content: flex-start; margin-top: 34px; }

/* channels */
#channels { padding-top: 0; }
.specialist-channels { display: flex; flex-direction: column; gap: 44px; }
.spec-block-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.spec-direction { font-family: var(--ff-head); font-weight: 700; font-size: 19px; color: var(--text); }
.spec-name { color: var(--muted); font-size: 14.5px; }
.channels-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.channel-card {
  display: flex; flex-direction: column; gap: 16px; padding: 28px 24px;
  border-radius: var(--r-card); background: var(--card-fill); border: var(--card-border);
  box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.channel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.channel-card .contact-ic { width: 48px; height: 48px; }
.channel-card .c-kind { font-family: var(--ff-head); font-weight: 700; font-size: 18px; }
.channel-card .c-val { color: var(--muted); font-size: 13.5px; font-family: "JetBrains Mono", monospace; margin-top: 4px; word-break: break-word; }
.channel-card .btn { margin-top: auto; padding: 13px 20px; min-height: 46px; font-size: 15px; }
.channel-body { display: flex; flex-direction: column; flex: 1; }

/* address */
.addr-card { background: var(--soft-bg); border-radius: 20px; padding: clamp(28px, 3vw, 44px); }
.addr-card .addr-line { font-family: var(--ff-head); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; margin-top: 6px; }
.addr-meta { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.addr-meta .row { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.addr-meta .row svg { flex: none; stroke: var(--deep); margin-top: 2px; }
.addr-card .btn { margin-top: 30px; }

/* map */
.map-block { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 4vw, 56px); align-items: center; }
.map-frame { position: relative; border-radius: 16px; overflow: hidden; }
.map-frame iframe { width: 100%; aspect-ratio: 16 / 12; border: 0; display: block; }
.map-pin { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.map-pin svg { stroke: var(--deep); opacity: .85; }

/* callback */
.callback-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 64px);
  align-items: center; background: var(--soft-bg); border-radius: 24px;
  padding: clamp(34px, 4vw, 56px);
}
.callback-intro h2 { font-size: clamp(26px, 3vw, 36px); }
.callback-intro .lead { margin-top: 18px; }
.callback-points { margin-top: 26px; display: flex; flex-direction: column; gap: 0; }
.callback-points li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; color: var(--text); font-size: 15px; border-bottom: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
.callback-points li:last-child { border-bottom: none; }
.callback-points li svg { flex: none; stroke: var(--deep); margin-top: 3px; }
.callback-form { background: var(--surface); border-radius: var(--r-card); padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-soft); }
.callback-form h3 { font-size: 21px; margin-bottom: 6px; }
.callback-form .form-note { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.service-radio { display: flex; gap: 10px; margin-bottom: 20px; }
.service-radio-opt { flex: 1; }
.service-radio-opt input[type="radio"] { display: none; }
.service-radio-opt label {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border);
  cursor: pointer; font-size: 13.5px; font-weight: 500; line-height: 1.3; text-align: center;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.service-radio-opt input[type="radio"]:checked + label { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--deep); font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-family: var(--ff-head); font-weight: 600; font-size: 13.5px; color: var(--text); }
.field label .opt { color: var(--faint); font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); font: inherit; color: var(--text); transition: border-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.callback-ok { display: none; text-align: center; padding: 22px 0; }
.callback-ok .check { width: 58px; height: 58px; border-radius: 50%; background: var(--soft-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.callback-ok h3 { font-size: 21px; }
.callback-ok p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* how to find */
.find-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 60px); align-items: start; }
.find-list { margin-top: 6px; }
.find-list .find-item { padding: 18px 0; border-bottom: 1px solid var(--border); display: flex; gap: 16px; align-items: flex-start; }
.find-list .find-item:first-child { padding-top: 0; }
.find-list .find-item:last-child { border-bottom: none; }
.find-ic { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--soft-bg); display: flex; align-items: center; justify-content: center; }
.find-ic svg { stroke: var(--deep); }
.find-item h4 { font-family: var(--ff-head); font-weight: 700; font-size: 16.5px; }
.find-item p { color: var(--muted); font-size: 14.5px; margin-top: 5px; }
.find-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.find-photos .ph { aspect-ratio: 4 / 3; }
.space-photo { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--r-card); display: block; cursor: zoom-in; transition: opacity .2s; }
.space-photo:hover { opacity: .88; }

/* ---------- Lightbox ---------- */
.lb-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(12,16,13,.9);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.lb-overlay.open { opacity: 1; pointer-events: auto; }
.lb-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--r-card); display: block; }
.lb-close {
  position: absolute; top: 18px; right: 22px; background: rgba(255,255,255,.1);
  border: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.22); }
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 28px;
  cursor: pointer; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lb-arrow:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
@media (max-width: 600px) {
  .lb-arrow { width: 38px; height: 38px; font-size: 22px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* visitor info */
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.visit-card { padding: 34px 30px; border-radius: var(--r-card); background: var(--card-fill); border: var(--card-border); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.visit-card .contact-ic { width: 48px; height: 48px; margin-bottom: 22px; }
.visit-card h4 { font-size: 19px; font-weight: 700; }
.visit-card p { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.visit-card .hours { margin-top: 16px; display: flex; flex-direction: column; }
.visit-card .hours .h-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.visit-card .hours .h-row:last-child { border-bottom: none; }
.visit-card .hours .h-row .d { color: var(--muted); }
.visit-card .hours .h-row .t { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--text); }
.visit-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.visit-tag { padding: 7px 13px; border-radius: var(--r-pill); background: var(--soft-bg); color: var(--deep); font-size: 12.5px; font-weight: 600; font-family: var(--ff-head); }

/* cta */
.cta-band .btn { margin-top: 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .trust-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .contacts-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid-3 { grid-template-columns: 1fr; }
  .channels-grid { grid-template-columns: repeat(3, 1fr); }
  .visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  :root { --sec-pad: 88px; --gap-l: 44px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav .btn-primary { display: none; }
  .lang-dropdown { display: none; }
  .hero-grid, .concerns-grid, .price-grid { grid-template-columns: 1fr; }
  .spec-grid, .dir-grid, .reviews-grid { grid-template-columns: 1fr; }
  .panel, .concern-grid, .why-panel { grid-template-columns: 1fr; }
  .bio-card, .bio-card.flip { grid-template-columns: 1fr; }
  .bio-card .bio-media, .bio-card.flip .bio-media { order: 0; }
  .bio-card .ph-portrait { max-width: 320px; }
  .chooser-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; }
  .concerns-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .callback-panel, .map-block, .find-grid { grid-template-columns: 1fr; }
  .map-block { gap: 32px; }
  .hero-portrait,
  img.ph-portrait,
  .panel-portrait,
  .space-photo,
  .gallery-grid img,
  .doc-img { border-radius: var(--r-card); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .brand-logo { width: 150px; margin-bottom: 3px; }
  :root, [data-theme] { --sec-pad: 64px; }
  .spec-card { grid-template-columns: 1fr; }
  .spec-card .ph { width: 100%; max-width: 200px; }
  .trust-grid, .process-grid, .contacts-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { padding-block: 48px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .states-grid { grid-template-columns: 1fr; }
  .dir-card { padding: 32px 26px; min-height: 0; }
  .price-card { padding: 28px 24px; }
  .pt-row { flex-wrap: wrap; gap: 6px; }
  .pt-name { flex-basis: 100%; }
  .pt-dur { flex: 1; font-size: 12px; }
  .modal-overlay {
    padding: calc(env(safe-area-inset-top) + 16px) calc(env(safe-area-inset-right) + 16px) calc(env(safe-area-inset-bottom) + 16px) 16px;
  }
  .modal { padding: 28px 22px; max-height: 100%; }
  .modal-channels { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  /* breathing room above the header so the logo isn't jammed against the top edge / notch */
  .site-header { padding-top: calc(env(safe-area-inset-top) + 8px); }
  .mobile-menu { top: calc(78px + env(safe-area-inset-top) + 8px); }
  .channels-grid { grid-template-columns: 1fr; }
  .find-photos { grid-template-columns: 1fr 1fr; }
  .spec-card img.ph-portrait { max-width: 200px; border-radius: var(--r-card); }
  .hero-portrait,
  img.ph-portrait,
  .panel-portrait,
  .space-photo,
  .gallery-grid img,
  .doc-img { border-radius: var(--r-card); }
}

/* =====================================================
   PAGE-SPECIFIC COMPONENTS
   ===================================================== */

/* ---------- Specialist pages (marina-koren, ihor-koren) ---------- */
.fact-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fact-row .fact { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--soft-bg); font-family: var(--ff-head); font-weight: 600; font-size: 14px; color: var(--text); }
.fact-row .fact svg { stroke: var(--deep); flex: none; }

.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.docs-grid .ph { aspect-ratio: 3 / 4; border-radius: var(--r-card); }
.doc-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: var(--r-card); display: block; cursor: zoom-in; transition: opacity .2s; }
.doc-img:hover { opacity: .88; }

.process-grid.five { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1080px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid.five { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards-2, .cards-3, .docs-grid { grid-template-columns: 1fr; }
}

/* ---------- Legal pages (privacy, consent) ---------- */
.legal-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 0; }
.legal-hero .legal-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.legal-meta .meta-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--soft-bg); font-size: 13.5px; color: var(--muted); }
.legal-meta .meta-pill svg { stroke: var(--deep); flex: none; }
.legal-meta .meta-pill b { font-family: var(--ff-head); font-weight: 600; color: var(--text); }

.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }

.legal-toc { position: sticky; top: 100px; }
.legal-toc h5 { font-family: var(--ff-head); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 18px; }
.legal-toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; font-size: 14px; color: var(--muted); line-height: 1.4; border-bottom: 1px solid var(--border); transition: color .2s var(--ease); }
.legal-toc li:last-child a { border-bottom: none; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: var(--accent); }
.legal-toc a:hover { color: var(--accent); }
.legal-toc a.active { color: var(--deep); font-weight: 600; }

.legal-article { max-width: 760px; }
.legal-block { padding-block: clamp(34px, 4vw, 48px); border-bottom: 1px solid var(--border); scroll-margin-top: 96px; }
.legal-block:first-child { padding-top: 0; }
.legal-block:last-child { border-bottom: none; }
.legal-block .block-num { font-family: "JetBrains Mono", monospace; font-size: 12.5px; letter-spacing: .06em; color: var(--accent); margin-bottom: 14px; }
.legal-block h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.18; }
.legal-block p { color: var(--muted); font-size: 16.5px; line-height: 1.72; margin-top: 16px; }
.legal-block p + p { margin-top: 14px; }
.legal-block .sub-label { font-family: var(--ff-head); font-weight: 700; color: var(--text); font-size: 16px; margin-top: 26px; }

.legal-list { margin-top: 18px; display: grid; gap: 0; }
.legal-list li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--border); color: var(--text); font-size: 15.5px; line-height: 1.55; }
.legal-list li:last-child { border-bottom: none; }
.legal-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .55; }
.legal-list.check li { padding-left: 30px; }
.legal-list.check li::before { content: ""; left: 0; top: 15px; width: 16px; height: 16px; border-radius: 0; background: none; opacity: 1; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; background-color: var(--accent); }

.legal-note { margin-top: 22px; padding: 20px 24px; border-left: 2px solid var(--accent); background: var(--soft-bg); border-radius: 0 14px 14px 0; color: var(--text); font-size: 15.5px; line-height: 1.6; }
.legal-effective { margin-top: 14px; font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--faint); letter-spacing: .02em; }

.consent-checkbox { margin-top: 24px; display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r-card); background: var(--card-fill); border: var(--card-border); box-shadow: var(--shadow-card); }
.consent-checkbox .cb-box { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--deep); display: flex; align-items: center; justify-content: center; }
.consent-checkbox .cb-box svg { stroke: #fff; }
.consent-checkbox p { margin-top: 0; color: var(--text); font-size: 15.5px; line-height: 1.6; }

@media (max-width: 920px) {
  .legal-grid { grid-template-columns: 1fr; gap: 0; }
  .legal-toc { display: none; }
  .legal-article { max-width: none; }
}

/* ---------- Pricing page (prices) ---------- */
.prices-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 0; }
.prices-hero .legal-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.meta-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--soft-bg); font-size: 13.5px; color: var(--muted); }
.meta-pill svg { stroke: var(--deep); flex: none; }

.price-section { padding-block: clamp(44px, 5.5vw, 68px); border-bottom: 1px solid var(--border); }
.price-section:last-of-type { border-bottom: none; }

.spec-mini { padding: 20px 24px; background: var(--soft-bg); border-radius: var(--r-card); margin: 28px 0 36px; }
.spec-mini-name { font-family: var(--ff-head); font-weight: 700; font-size: 18px; color: var(--deep); }
.spec-mini-role { font-size: 14px; color: var(--muted); margin-top: 4px; }

.price-table { border-top: 1px solid var(--border); }
.pt-group-label { padding: 28px 0 8px; font-family: var(--ff-head); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.pt-group-label:first-child { padding-top: 6px; }
.pt-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.pt-name { flex: 1; font-size: 15.5px; color: var(--text); line-height: 1.4; }
.pt-dur { font-size: 13px; color: var(--muted); white-space: nowrap; font-family: "JetBrains Mono", monospace; letter-spacing: .02em; }
.pt-price { font-family: var(--ff-head); font-weight: 700; font-size: 18px; color: var(--deep); white-space: nowrap; min-width: 96px; text-align: right; }

.price-highlight { margin-top: 22px; padding: 18px 22px; border-left: 2px solid var(--accent); background: var(--soft-bg); border-radius: 0 14px 14px 0; font-size: 15px; line-height: 1.65; color: var(--text); }
.price-highlight strong { color: var(--deep); }
.price-effective { margin-top: 18px; font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--faint); letter-spacing: .02em; }

/* ---------- About page (about) ---------- */
.why-panel { background: var(--soft-bg); border-radius: 24px; padding: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4.5vw, 64px); align-items: center; }
.why-panel h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.14; }
.why-panel .why-body p { color: var(--text); font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.7; }
.why-panel .why-body p + p { margin-top: 18px; }
.why-panel .why-accent { font-family: var(--ff-head); font-weight: 700; color: var(--deep); }

.history-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 4.5vw, 72px); align-items: center; }
.history-grid.media-left .history-media { order: -1; }
.history-media .ph { aspect-ratio: 4 / 5; }
.history-body .lead { margin-top: 20px; }
.history-paths { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.history-path { display: flex; gap: 16px; align-items: flex-start; }
.history-path .hp-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--soft-bg); display: flex; align-items: center; justify-content: center; }
.history-path .hp-ic svg { stroke: var(--deep); }
.history-path h4 { font-family: var(--ff-head); font-weight: 700; font-size: 16.5px; }
.history-path p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.history-quote { margin-top: 30px; padding: 22px 26px; border-left: 2px solid var(--accent); background: var(--soft-bg); border-radius: 0 14px 14px 0; font-family: var(--ff-head); font-weight: 600; font-size: 17px; color: var(--text); line-height: 1.5; }

.whom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.whom-card { padding: clamp(32px, 3.5vw, 44px); border-radius: var(--r-card); background: var(--card-fill); border: var(--card-border); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.whom-card .whom-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--soft-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.whom-card .whom-ic svg { stroke: var(--deep); }
.whom-card h3 { font-size: 24px; }
.whom-card .whom-sub { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.whom-list { margin-top: 22px; display: flex; flex-direction: column; }
.whom-list li { padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text); display: flex; gap: 12px; align-items: center; font-size: 15.5px; }
.whom-list li:last-child { border-bottom: none; }
.whom-list li svg { flex: none; stroke: var(--accent); }
.whom-card .btn-text { margin-top: 26px; }

@media (max-width: 920px) {
  .history-grid, .whom-grid { grid-template-columns: 1fr; }
  .history-grid.media-left .history-media { order: 0; }
  .history-media .ph { max-width: 460px; }
}
