/* ==========================================================================
   KINEZIK — design tokens (ТЗ раздел 6)
   ========================================================================== */
:root {
  --kz-bg: #f8fafe;
  --kz-surface: #ffffff;
  --kz-surface-blue: #eef5ff;
  --kz-surface-mint: #e4faf4;
  --kz-text: #0b264e;
  --kz-text-muted: #526987;
  --kz-primary: #0a5cf5;
  --kz-primary-hover: #0648ce;
  --kz-primary-active: #043baa;
  --kz-mint: #4ed6b6;
  --kz-mint-dark: #20a98a;
  --kz-border: #d7e4f8;
  --kz-border-strong: #bcd2f4;
  --kz-focus: #ffc94a;
  --kz-error: #d9485f;
  --kz-white: #ffffff;

  --font-family-base: "Manrope", "Inter", Arial, sans-serif;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --space-30: 120px;

  --radius-sm: 10px; --radius-md: 14px; --radius-lg: 20px; --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 32px rgba(14, 52, 105, 0.06);
  --shadow-hover: 0 18px 44px rgba(14, 52, 105, 0.11);

  --bp-mobile: 767px; --bp-tablet: 1023px; --bp-desktop: 1279px; --bp-wide: 1440px;
  --container-max: 1440px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-family-base);
  background: var(--kz-bg);
  color: var(--kz-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 32px;
}
@media (max-width: 1439px) { .container { padding-inline: 32px; } }
@media (max-width: 1023px) { .container { padding-inline: 24px; } }
@media (max-width: 767px)  { .container { padding-inline: 16px; } }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--kz-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--kz-focus);
  outline-offset: 2px;
}

/* Typography */
h1, .h1 { font-size: clamp(38px, 4vw + 12px, 60px); line-height: 1.08; font-weight: 800; }
h2, .h2 { font-size: clamp(32px, 3vw + 12px, 52px); line-height: 1.10; font-weight: 800; }
h3, .h3 { font-size: clamp(22px, 1.2vw + 14px, 28px); line-height: 1.20; font-weight: 700; }
.eyebrow {
  color: var(--kz-primary);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: var(--space-3);
  display: block;
}
.lede { font-size: 20px; line-height: 1.5; color: var(--kz-text-muted); font-weight: 500; }
.muted { color: var(--kz-text-muted); }

/* Sections */
.section { padding-block: var(--space-24); }
@media (max-width: 767px) { .section { padding-block: var(--space-16); } }
.section-head { max-width: 720px; margin-bottom: var(--space-10); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-8); max-width: none; }
@media (max-width: 1023px) { .section-head--split { flex-direction: column; align-items: flex-start; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 56px;
  padding-inline: 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 17px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--kz-primary); color: #fff; }
.btn-primary:hover { background: var(--kz-primary-hover); transform: translateY(-1px); }
.btn-primary:active { background: var(--kz-primary-active); }
.btn-secondary { background: transparent; color: var(--kz-primary); border-color: var(--kz-primary); }
.btn-secondary:hover { background: var(--kz-surface-blue); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--kz-primary); }
.btn-white:hover { background: var(--kz-surface-blue); }
.btn-hero { height: 64px; }
.btn-block { width: 100%; }
.btn-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: var(--space-2);
}
.btn-secondary .btn-arrow, .btn-white .btn-arrow { background: var(--kz-surface-blue); }

/* Header */
.site-header { background: var(--kz-surface); border-bottom: 1px solid var(--kz-border); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-4); }
.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand__logo { width: 40px; height: 40px; flex-shrink: 0; color: var(--kz-primary); }
.brand__name { font-weight: 800; font-size: 20px; letter-spacing: 0.02em; line-height: 1.1; }
.brand__descriptor { font-size: 12px; color: var(--kz-text-muted); font-weight: 500; }
.locality { display: flex; align-items: center; gap: 4px; font-weight: 600; color: var(--kz-text); border-left: 1px solid var(--kz-border); padding-left: var(--space-4); margin-left: var(--space-1); }

.main-nav { display: flex; align-items: center; gap: var(--space-6); }
.main-nav a { font-weight: 600; padding: var(--space-2) 0; position: relative; }
.main-nav a:hover { color: var(--kz-primary); }
.has-dropdown { position: relative; }
.has-dropdown > button { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; background: none; border: none; padding: var(--space-2) 0; cursor: pointer; color: var(--kz-text); }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: var(--space-3);
  background: #fff; border: 1px solid var(--kz-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover); min-width: 220px; padding: var(--space-2);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown[data-open="true"] .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-weight: 500; }
.dropdown-menu a:hover { background: var(--kz-surface-blue); }

.header-actions { display: flex; align-items: center; gap: var(--space-5); }
.header-phone { display: flex; align-items: center; gap: var(--space-2); font-weight: 700; }
.header-phone svg { color: var(--kz-primary); width: 20px; height: 20px; }
.hamburger { display: none; background: none; border: 1px solid var(--kz-border); border-radius: var(--radius-sm); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 1023px) {
  .site-header .main-nav, .site-header .header-phone, .site-header .header-cta { display: none; }
  .hamburger { display: inline-flex; }
}
@media (max-width: 480px) {
  .brand__descriptor { display: none; }
  .site-header .container { padding-block: 12px; }
}

.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden;
}
.mobile-drawer[data-open="true"] { visibility: visible; }
.mobile-drawer__backdrop {
  position: absolute; inset: 0; background: rgba(11,38,78,0.4);
  opacity: 0; transition: opacity 200ms ease;
}
.mobile-drawer[data-open="true"] .mobile-drawer__backdrop { opacity: 1; }
.mobile-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(340px, 86vw);
  background: #fff; padding: var(--space-6); overflow-y: auto;
  transform: translateX(100%); transition: transform 250ms ease;
  display: flex; flex-direction: column; gap: var(--space-6);
}
.mobile-drawer[data-open="true"] .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer__close { align-self: flex-end; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--kz-border); background: none; cursor: pointer; }
.mobile-drawer nav a { display: block; padding: var(--space-3) 0; font-weight: 700; font-size: 18px; border-bottom: 1px solid var(--kz-border); }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: var(--space-3) var(--space-4);
  padding-bottom: max(var(--space-3), env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--kz-border);
  box-shadow: 0 -8px 24px rgba(14,52,105,0.08);
  transform: translateY(100%); transition: transform 220ms ease;
  display: none;
}
.sticky-cta[data-visible="true"] { transform: translateY(0); }
@media (max-width: 1023px) { .sticky-cta { display: block; } }

/* ==========================================================================
   Reference alignment layer — user references 20.08.2026
   ========================================================================== */
:root {
  --kz-bg: #ffffff;
  --kz-surface: #ffffff;
  --kz-surface-blue: #f0f6ff;
  --kz-surface-mint: #d9f8ef;
  --kz-text: #071f4a;
  --kz-text-muted: #3f5279;
  --kz-primary: #075cf5;
  --kz-primary-hover: #004ee0;
  --kz-border: #cfe0fb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  --shadow-card: 0 16px 44px rgba(7, 31, 74, 0.06);
  --shadow-hover: 0 22px 54px rgba(7, 31, 74, 0.12);
  --container-max: 1536px;
}

body {
  background:
    radial-gradient(circle at 14% 8%, rgba(10, 92, 245, .035), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(78, 214, 182, .04), transparent 28%),
    #fff;
  color: var(--kz-text);
}

.container { padding-inline: 38px; }
.section { padding-block: 34px 50px; }
.section > .container,
.hero > .container {
  position: relative;
}

h1, .h1,
h2, .h2 {
  letter-spacing: 0;
  font-weight: 800;
  text-shadow: 0 5px 14px rgba(7, 31, 74, .06);
}
h1, .h1 { font-size: clamp(44px, 4.25vw, 66px); line-height: 1.12; }
h2, .h2 { font-size: clamp(42px, 3.75vw, 62px); line-height: 1.11; }
h3, .h3 { font-size: clamp(22px, 1.2vw + 14px, 30px); }
.eyebrow {
  color: var(--kz-primary);
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.lede {
  color: var(--kz-text-muted);
  font-size: clamp(20px, 1.05vw, 24px);
  line-height: 1.45;
}

.btn {
  min-height: 58px;
  height: auto;
  border-radius: 12px;
  padding: 16px 28px;
  font-size: 20px;
  box-shadow: none;
}
.btn-primary {
  background: linear-gradient(135deg, #0a66ff, #0051ed);
  box-shadow: 0 12px 26px rgba(5, 92, 245, .2);
}
.btn-white {
  color: var(--kz-primary);
  background: #fff;
}
.btn-arrow {
  width: 38px;
  height: 38px;
  background: #fff;
  color: var(--kz-primary);
  margin-left: 10px;
}
.btn-primary .btn-arrow { color: var(--kz-primary); }

.site-header {
  position: sticky;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(7,31,74,.12);
  border-top: 0;
  border-radius: 0 0 18px 18px;
}
.site-header .container {
  max-width: 1536px;
  padding-block: 26px;
  gap: 24px;
}
.brand { gap: 16px; min-width: 282px; }
.brand__logo { width: 50px; height: 50px; }
.brand__name {
  font-size: 36px;
  line-height: .95;
  letter-spacing: 0;
}
.brand__descriptor {
  color: var(--kz-text);
  font-size: 16px;
  line-height: 1.2;
}
.locality {
  border-left: 0;
  padding-left: 0;
  margin-left: 4px;
  font-size: 17px;
}
.main-nav { gap: 34px; }
.main-nav a,
.has-dropdown > button {
  font-size: 17px;
  font-weight: 500;
}
.header-phone {
  font-size: 18px;
  color: var(--kz-text);
}
.header-cta {
  min-height: 50px;
  padding: 13px 28px;
  font-size: 20px;
}

/* Header: compact desktop composition from the approved reference. */
@media (min-width: 1361px) {
  .site-header .container { padding-block: 18px; gap: 22px; }
  .brand { min-width: 282px; gap: 14px; }
  .brand__logo { width: 46px; height: 46px; }
  .brand__name { font-size: 34px; }
  .brand__descriptor { font-size: 14px; }
  .locality { margin-left: 0; gap: 7px; }
  .locality svg:last-child { width: 14px; height: 14px; }
  .main-nav { gap: 30px; }
  .header-actions { gap: 22px; }
  .header-cta { min-height: 50px; padding: 12px 28px; font-size: 18px; }
}

/* Avoid overflow: use the compact header before navigation no longer fits. */
@media (max-width: 1360px) {
  .site-header .main-nav,
  .site-header .header-phone,
  .site-header .header-cta { display: none; }
  .site-header .container { padding-block: 16px; }
  .brand { min-width: 0; gap: 12px; }
  .brand__logo { width: 42px; height: 42px; }
  .brand__name { font-size: 28px; }
  .brand__descriptor { font-size: 13px; }
  .locality { margin-left: auto; }
  .hamburger { display: inline-flex; }
}

@media (max-width: 640px) {
  .site-header { border-radius: 0; }
  .site-header .container { padding-block: 12px; gap: 12px; }
  .brand__logo { width: 36px; height: 36px; }
  .brand__name { font-size: 23px; }
  .brand__descriptor { font-size: 11px; }
  .locality { font-size: 15px; }
}

/* Readable editorial blocks for KINEZIK knowledge-base articles. */
.entry-content--article > .article-answer-card,
.entry-content--article > .article-section,
.entry-content--article > .article-attention-card,
.entry-content--article > .article-faq { max-width: 1120px; margin-inline: auto; }
.entry-content--article .article-answer-card {
  margin-block: 36px 68px; padding: clamp(24px, 4vw, 48px); border: 1px solid #cfe0ff;
  border-radius: 26px; background: linear-gradient(135deg, #f4f8ff 0%, #eef8f7 100%);
}
.entry-content--article .article-kicker {
  display: inline-flex; margin-bottom: 14px; color: #1264f5; font-size: 14px; font-weight: 800;
  line-height: 1; letter-spacing: .07em; text-transform: uppercase;
}
.entry-content--article .article-answer-card h2,
.entry-content--article .article-section h2,
.entry-content--article .article-attention-card h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; }
.entry-content--article .article-answer-card > p { max-width: 820px; margin: 20px 0 0; font-size: 20px; line-height: 1.55; }
.entry-content--article .article-key-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 30px 0 0; list-style: none; }
.entry-content--article .article-key-points li { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.82); font-size: 16px; line-height: 1.45; }
.entry-content--article .article-key-points--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-content--article .article-key-points--four li { position: relative; padding: 22px 22px 22px 58px; border: 1px solid #d7e4fb; background: #fff; }
.entry-content--article .article-key-points--four li::before { content: "✓"; position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #dffbf1; color: #087a5b; font-size: 15px; font-weight: 900; }
.entry-content--article .article-section { margin-block: 72px; }
.entry-content--article .article-section__head { max-width: 840px; margin-bottom: 30px; }
.entry-content--article .article-section__head > p { margin: 16px 0 0; font-size: 19px; line-height: 1.55; color: #425b89; }
.entry-content--article .article-age-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: age-step; }
.entry-content--article .article-age-path--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-content--article .article-age-step { position: relative; min-height: 235px; padding: 26px; overflow: hidden; border: 1px solid #d7e4fb; border-radius: 22px; background: #fff; }
.entry-content--article .article-age-step::after { content: counter(age-step, decimal-leading-zero); counter-increment: age-step; position: absolute; right: 18px; bottom: -22px; color: #e9f1ff; font-size: 108px; font-weight: 800; line-height: 1; }
.entry-content--article .article-age-step > * { position: relative; z-index: 1; }
.entry-content--article .article-age-step__age { display: inline-block; padding: 8px 11px; border-radius: 99px; background: #e9f1ff; color: #1264f5; font-weight: 800; font-size: 15px; }
.entry-content--article .article-age-step h3 { max-width: 280px; margin: 22px 0 10px; font-size: 24px; line-height: 1.15; }
.entry-content--article .article-age-step p { max-width: 305px; margin: 0; color: #425b89; font-size: 16px; line-height: 1.52; }
.entry-content--article .article-step-icon { position: absolute; z-index: 1; right: 22px; top: 22px; width: 48px; height: 48px; padding: 8px; border-radius: 14px; background: #edf4ff; object-fit: contain; }
.entry-content--article .article-source-note { margin: 18px 0 0; color: #66769a; font-size: 14px; line-height: 1.5; }
.entry-content--article .article-observation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.entry-content--article .article-observation-card { padding: 22px; border-radius: 20px; background: #f5f8fe; }
.entry-content--article .article-observation-card__icon { display: block; color: #1264f5; font-size: 15px; font-weight: 800; letter-spacing: .08em; }
.entry-content--article img.article-observation-card__icon { width: 48px; height: 48px; padding: 8px; border-radius: 14px; background: #e7f0ff; object-fit: contain; }
.entry-content--article .article-observation-card h3 { margin: 32px 0 9px; font-size: 22px; }
.entry-content--article img.article-observation-card__icon + h3 { margin-top: 22px; }
.entry-content--article .article-observation-card p { margin: 0; color: #425b89; font-size: 16px; line-height: 1.5; }
.entry-content--article .article-observation-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.entry-content--article .article-observation-grid--five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.entry-content--article .article-observation-grid--five .article-observation-card { grid-column: span 2; }
.entry-content--article .article-observation-grid--five .article-observation-card:nth-last-child(-n+2) { grid-column: span 3; }
.entry-content--article .article-attention-card { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(330px, 1.1fr); gap: 28px; margin-block: 72px; padding: clamp(26px, 4vw, 46px); border-radius: 26px; background: #102d62; color: #fff; }
.entry-content--article .article-attention-card .article-kicker { color: #86fbde; }
.entry-content--article .article-attention-card h2 { color: #fff; }
.entry-content--article .article-attention-card ul { margin: 0; padding: 0; list-style: none; }
.entry-content--article .article-attention-card li { position: relative; padding: 0 0 14px 28px; font-size: 17px; line-height: 1.45; }
.entry-content--article .article-attention-card li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; border-radius: 50%; background: #86fbde; }
.entry-content--article .article-attention-card > p { grid-column: 1 / -1; max-width: 860px; margin: 0; color: #c9d8f3; font-size: 15px; line-height: 1.55; }
.entry-content--article .article-faq { padding-bottom: 24px; }
.entry-content--article .article-faq-item { border-top: 1px solid #d7e4fb; }
.entry-content--article .article-faq-item:last-child { border-bottom: 1px solid #d7e4fb; }
.entry-content--article .article-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font-size: 21px; font-weight: 700; line-height: 1.25; list-style: none; }
.entry-content--article .article-faq-item summary::-webkit-details-marker { display: none; }
.entry-content--article .article-faq-item summary::after { content: "+"; flex: 0 0 auto; color: #1264f5; font-size: 30px; font-weight: 400; }
.entry-content--article .article-faq-item[open] summary::after { content: "–"; }
.entry-content--article .article-faq-item p { max-width: 820px; margin: -4px 0 22px; color: #425b89; font-size: 17px; line-height: 1.55; }
.entry-content--article .article-visual-heading { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 18px; border-radius: 18px; background: #e9f1ff; }
.entry-content--article .article-visual-heading img { width: 38px; height: 38px; }
.entry-content--article .article-video-guide { padding: clamp(24px, 4vw, 44px); border: 1px solid #cfe0ff; border-radius: 26px; background: linear-gradient(135deg, #f8fbff 0%, #eef8f7 100%); }
.entry-content--article .article-sources { max-width: 1120px; margin: 56px auto 24px; padding: 24px 28px; border: 1px solid #d7e4fb; border-radius: 20px; background: #f8faff; }
.entry-content--article .article-sources h2 { margin: 0 0 14px; font-size: 20px; }
.entry-content--article .article-sources ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.entry-content--article .article-sources a { display: flex; align-items: center; gap: 10px; color: #23477f; font-size: 14px; line-height: 1.4; text-decoration: none; }
.entry-content--article .article-sources a::before { content: "↗"; display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: #e9f1ff; color: #1264f5; font-weight: 800; }
.entry-content--article .article-sources a:hover { color: #1264f5; }
@media (max-width: 900px) {
  .entry-content--article .article-key-points, .entry-content--article .article-age-path { grid-template-columns: 1fr; }
  .entry-content--article .article-age-step { min-height: auto; }
  .entry-content--article .article-observation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-content--article .article-observation-grid--five .article-observation-card,
  .entry-content--article .article-observation-grid--five .article-observation-card:nth-last-child(-n+2) { grid-column: auto; }
  .entry-content--article .article-attention-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .entry-content--article .article-answer-card, .entry-content--article .article-attention-card { border-radius: 20px; }
  .entry-content--article .article-answer-card > p, .entry-content--article .article-section__head > p { font-size: 17px; }
  .entry-content--article .article-observation-grid { grid-template-columns: 1fr; }
  .entry-content--article .article-key-points--four li { padding: 18px 18px 18px 52px; }
  .entry-content--article .article-step-icon { width: 42px; height: 42px; }
  .entry-content--article .article-video-guide, .entry-content--article .article-sources { border-radius: 18px; }
  .entry-content--article .article-faq-item summary { font-size: 18px; }
}

/* Article diagnostic preview cards. Keep editorial cards independent from the
   landing-page diagnostic grid so long parent-facing text retains its width. */
.entry-content .article-diagnostic {
  margin-top: var(--space-12);
}
.entry-content .article-diagnostic .diagnostic-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}
.entry-content .article-diagnostic .diagnostic-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  min-width: 0;
  padding: 28px 28px 26px 74px;
}
.entry-content .article-diagnostic .diagnostic-card > div {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  width: 100%;
  max-width: none;
}
.entry-content .article-diagnostic .diagnostic-card > img {
  grid-column: 1;
  grid-row: 1;
}
/* WordPress wpautop may put an empty <p> after an inline SVG image. */
.entry-content .article-diagnostic .diagnostic-card > p:empty { display: none; }
.entry-content .article-diagnostic .diagnostic-card h3,
.entry-content .article-diagnostic .diagnostic-card p {
  max-width: none;
  overflow-wrap: normal;
  word-break: normal;
}
.entry-content .article-diagnostic .diagnostic-card h3 { margin-top: 0; }
/* Four diagnostic stages are a balanced 2×2 sequence in editorial articles;
   only the landing-page component may use a full-width final card. */
.entry-content .article-diagnostic .diagnostic-card:last-child { grid-column: auto; }
@media (max-width: 767px) {
  .entry-content .article-diagnostic .diagnostic-timeline { grid-template-columns: minmax(0, 1fr); }
  .entry-content .article-diagnostic .diagnostic-card,
  .entry-content .article-diagnostic .diagnostic-card:last-child {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 58px 18px 22px;
  }
}

/* Intent-specific article route. The commercial module stays consistent, while
   the useful editorial part changes rhythm and emphasis by parent question. */
.entry-content--article .article-story-block {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 34px;
  align-items: start; padding: clamp(24px, 4vw, 42px); border: 1px solid #dce8f9;
  border-radius: 24px; background: #fff;
}
.entry-content--article .article-story-block__visual {
  display: grid; place-items: center; gap: 12px; min-height: 112px; padding: 16px;
  border-radius: 20px; background: #eef5ff;
}
.entry-content--article .article-story-block__visual span {
  color: #1261f4; font-size: 13px; font-weight: 900; letter-spacing: .09em;
}
.entry-content--article .article-story-block__visual img { width: 48px; height: 48px; object-fit: contain; }
.entry-content--article .article-story-block__content { min-width: 0; }
.entry-content--article .article-story-block__content > p { max-width: 820px; color: #425b89; font-size: 18px; line-height: 1.62; }
.entry-content--article .article-story-block__content > ul,
.entry-content--article .article-story-block__content > ol {
  display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none;
}
.entry-content--article .article-story-block__content > li,
.entry-content--article .article-story-block__content > ul > li,
.entry-content--article .article-story-block__content > ol > li {
  position: relative; padding: 16px 18px 16px 48px; border-radius: 14px; background: #f6f9ff;
  color: #425b89; line-height: 1.5;
}
.entry-content--article .article-story-block__content > ul > li::before,
.entry-content--article .article-story-block__content > ol > li::before {
  content: "✓"; position: absolute; left: 17px; top: 15px; color: #0aa47a; font-weight: 900;
}
.entry-content--article .article-story-block--urgent,
.entry-content--article .article-story-block--avoid,
.entry-content--article .article-story-block--errors { border-color: #f2d7d7; background: #fffafa; }
.entry-content--article .article-story-block--urgent .article-story-block__visual,
.entry-content--article .article-story-block--avoid .article-story-block__visual,
.entry-content--article .article-story-block--errors .article-story-block__visual { background: #fff0f0; }
.entry-content--article .article-story-block--checklist,
.entry-content--article .article-story-block--steps,
.entry-content--article .article-story-block--activity { background: linear-gradient(135deg, #f7faff, #f1fbf7); }
.entry-content--article .article-faq__content { max-width: 860px; color: #425b89; font-size: 17px; line-height: 1.6; }
.entry-content--article .article-faq__content ul,
.entry-content--article .article-faq__content ol { display: grid; gap: 12px; padding-left: 22px; }
@media (max-width: 700px) {
  .entry-content--article .article-story-block { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; }
  .entry-content--article .article-story-block__visual { grid-template-columns: auto auto; justify-content: start; min-height: 0; }
  .entry-content--article .article-story-block__visual img { width: 42px; height: 42px; }
  .entry-content--article .article-story-block__content > p { font-size: 16px; }
}

/* A long-form article needs a wider visual field than a legal/text-only page:
   headings, media and diagnostic cards use the article width; prose stays
   readable and aligns with the article's left edge instead of floating in a
   narrow centred column. */
.entry-content--article > p,
.entry-content--article > h2,
.entry-content--article > h3 {
  max-width: 860px;
}
.entry-content--article > .article-diagnostic,
.entry-content--article > .quote-card {
  max-width: none;
}
.entry-content--article > .article-card__media {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  flex: 0 0 100%;
  height: clamp(230px, 34vw, 520px);
  margin-inline: 0;
  overflow: hidden;
  border-radius: 24px;
}
.entry-content--article > .article-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.entry-content--article .article-card__media img {
  object-position: center 25%;
}
.entry-content--article .article-diagnostic-cta {
  min-height: 0;
  padding: var(--space-6);
}
.entry-content--article .article-diagnostic-cta .quote-card__mark {
  position: static;
  display: block;
  margin: 0 0 var(--space-3);
}
.entry-content--article .article-diagnostic-cta > p {
  margin: 0;
  max-width: 860px;
}
.entry-content--article .article-diagnostic-cta cite { margin-top: var(--space-3); }
/* Compact conversion form inside article CTAs: the editorial copy remains readable,
   while parents can leave contacts without scrolling to the page footer. */
.entry-content--article .article-diagnostic-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: center;
  gap: var(--space-6);
}
.entry-content--article .article-diagnostic-cta__copy .quote-card__mark { position: static; display: block; margin: 0 0 var(--space-3); }
.entry-content--article .article-diagnostic-cta__copy > p { margin: 0; max-width: 680px; }
.entry-content--article .article-diagnostic-cta__copy cite { display: block; }
.entry-content--article .article-diagnostic-cta__copy cite a { color: inherit; text-decoration: none; white-space: nowrap; }
.entry-content--article .article-diagnostic-cta__form { min-width: 0; }
.entry-content--article .lead-form--compact { padding: 24px; border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgba(20, 68, 135, .12); }
.entry-content--article .lead-form--compact__title { margin: 0 0 6px; color: var(--kz-text); font-size: 20px; font-weight: 800; line-height: 1.2; }
.entry-content--article .lead-form--compact__hint { margin: 0 0 16px; color: var(--kz-text-muted); font-size: 14px; line-height: 1.4; }
.entry-content--article .lead-form--compact input,
.entry-content--article .lead-form--compact select { border-color: #d9e5f7; background: #fff; color: var(--kz-text); }
.entry-content--article .lead-form--compact input::placeholder { color: #7890b2; }
.entry-content--article .lead-form--compact .lead-form__consent { color: var(--kz-text-muted); }
.entry-content--article .lead-form--compact .lead-form__consent a { color: var(--kz-primary); }
.entry-content--article .lead-form--compact .btn { width: 100%; border: 0; color: #fff; background: var(--kz-primary); }
.entry-content--article .lead-form--compact__channels { display: flex; gap: 14px; justify-content: center; margin-top: 13px; font-size: 14px; }
.entry-content--article .lead-form--compact__channels a { color: var(--kz-primary); font-weight: 700; text-decoration: none; }
@media (max-width: 767px) {
  .entry-content--article .article-diagnostic-cta { grid-template-columns: 1fr; gap: var(--space-5); padding: var(--space-5); }
  .entry-content--article .lead-form--compact { padding: 20px; }
}
@media (max-width: 1023px) {
  .entry-content--article > p,
  .entry-content--article > h2,
  .entry-content--article > h3 { max-width: none; }
}

.hero { padding-block: 28px 34px; }
.hero__grid {
  grid-template-columns: 44% 1fr;
  gap: 12px;
  min-height: 666px;
}
.hero__panel-left,
.hero__media {
  border-radius: 18px;
  min-height: 666px;
}
.hero__panel-left {
  background: linear-gradient(142deg, #f7fbff 0%, #fff 52%, #eef6ff 100%);
  border: 0;
  padding: 72px 60px 52px 62px;
}
.hero__content {
  max-width: 600px;
  gap: 28px;
}
.hero__content h1 {
  font-size: clamp(48px, 4.05vw, 66px);
  line-height: 1.13;
}
.btn-hero {
  align-self: flex-start;
  min-height: 68px;
  padding-inline: 25px 20px;
}
.hero__proof {
  color: var(--kz-text);
  font-size: 18px;
  margin-top: 2px;
}
.hero__proof img,
.check-dot img {
  border: 1px solid var(--kz-mint);
  border-radius: 50%;
  padding: 3px;
}
.hero__metrics { gap: 36px; margin-top: 10px; }
.metric { gap: 22px; }
.metric__icon,
.icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--kz-surface-mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge { border-radius: 50%; background: #eaf1ff; }
.metric__icon img,
.icon-badge img { width: 40px !important; height: 40px !important; }
.metric__value {
  color: var(--kz-primary);
  font-size: 52px;
  letter-spacing: 0;
}
.metric__label {
  color: var(--kz-text);
  font-size: 16px;
}
.metric-divider { background: #b8c9e9; }
.hero__media {
  box-shadow: inset 0 0 0 1px rgba(7,31,74,.04);
}
.hero__media img,
.media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__floating-card {
  right: 30px;
  bottom: 44px;
  border-radius: 16px;
  padding: 24px 28px 24px 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 44px rgba(7,31,74,.12);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}
.hero__floating-card .check {
  width: 46px;
  height: 46px;
  background: var(--kz-mint);
  border-radius: 50%;
}

.quick-problems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 22px;
}
.problem-card-quick,
.card,
.accordion-item,
.contact-card {
  border: 1px solid var(--kz-border);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: none;
}
.problem-card-quick {
  min-height: 162px;
  padding: 30px;
}
.problem-card-quick__left {
  gap: 24px;
}
.problem-card-quick__title {
  font-size: 24px;
  font-weight: 700;
}
.problem-card-quick__arrow,
.problem-detail-card__arrow {
  color: var(--kz-primary);
}

.problems__layout {
  grid-template-columns: minmax(0, 1fr) 35.5%;
  gap: 50px;
}
.section-head {
  max-width: 900px;
  margin-bottom: 28px;
}
.section-head .lede { margin-top: 18px; max-width: 720px; }
.problems__grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.problem-detail-card {
  position: relative;
  min-height: 236px;
  padding: 28px 28px 24px;
}
.problem-detail-card__title {
  margin-top: 28px;
  color: var(--kz-text);
  font-size: 22px;
  font-weight: 800;
}
.problem-detail-card__desc {
  color: var(--kz-text-muted);
  font-size: 17px;
  margin-top: 8px;
}
.problem-detail-card__link { display: none; }
.problem-detail-card__arrow {
  position: absolute;
  right: 28px;
  top: 50%;
}
.side-panel {
  display: grid;
  grid-template-columns: 43% 1fr;
  min-height: 736px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(110deg, #eaf4ff 0%, #f7fbff 100%);
}
.side-panel__media {
  height: 100%;
}
.side-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.side-panel h3 {
  font-size: 28px;
  line-height: 1.2;
}
.side-panel__content {
  padding: 124px 38px 40px;
}
.check-list--lines li,
.side-panel .check-list li {
  padding: 28px 0;
  border-bottom: 1px dashed #bfd3f4;
  font-size: 18px;
}
.cta-banner {
  margin-top: 28px;
  border-radius: 18px;
  padding: 40px 52px;
  background: linear-gradient(135deg, #0a66ff, #0052f0);
  align-items: center;
}
.cta-banner__icon {
  width: 96px;
  height: 96px;
  background: rgba(255,255,255,.88);
  border-radius: 50%;
}
.cta-banner__text h3 { color: #fff; font-size: 32px; }
.cta-banner__text p { color: rgba(255,255,255,.88); font-size: 21px; }

#results { background: #fff !important; }
.section-head--split {
  display: grid;
  grid-template-columns: 1fr 430px 252px;
  align-items: start;
  gap: 38px;
  margin-bottom: 32px !important;
}
.section-head--split .lede { max-width: none; }
.stat-card {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e0fbf4, #f5fbff);
}
.stat-card strong {
  display: block;
  color: var(--kz-primary);
  font-size: 42px;
  line-height: 1;
}
.stat-card span:last-child {
  color: var(--kz-text-muted);
  font-size: 14px;
}
.results__layout {
  grid-template-columns: 50.5% 1fr;
  gap: 24px;
}
.result-case-card {
  border: 1px solid var(--kz-border);
  border-radius: 18px;
  background: #fff;
  padding: 22px 12px 12px;
}
.result-case-card h3,
.result-photo-card h3 {
  font-size: 26px !important;
  padding: 0 14px 16px !important;
}
.result-case-card__media {
  height: auto;
  border-radius: 14px;
  overflow: hidden;
}
.result-case-card__media > img { display: none; }
.before-after {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  height: 452px;
}
.before-after figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.before-after figure:first-child { border-radius: 14px 0 0 14px; }
.before-after figure:nth-child(2) { border-radius: 0 14px 14px 0; }
.before-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.before-after span {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(255,255,255,.88);
  border-radius: 6px;
  font-size: 18px;
  font-weight: 800;
}
.before-after b {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--kz-primary);
  box-shadow: 0 10px 24px rgba(7,31,74,.12);
}
.result-case-card__tag { display: none; }
.results__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.result-photo-card {
  padding: 22px 16px 16px;
}
.result-photo-card__media,
.result-photo-card > img {
  height: 254px;
  border-radius: 14px;
  overflow: hidden;
}
.result-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote-card {
  grid-column: 1 / -1;
  min-height: 166px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5f9ff, #eaf4ff);
  border: 1px solid var(--kz-border);
  padding: 34px 40px;
  text-align: left !important;
}
.quote-card p {
  color: var(--kz-text);
  font-size: 25px;
  font-weight: 600;
  max-width: 680px;
}
.quote-card cite {
  display: block;
  margin-top: 18px;
  color: var(--kz-text-muted);
  font-style: normal;
}
.outcome-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.outcome-card {
  min-height: 112px;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 21px;
  font-weight: 800;
}
.results__footer {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 140px;
}
.disclaimer {
  color: var(--kz-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.process__layout {
  grid-template-columns: 49% 1fr;
  gap: 40px;
}
.process__media {
  position: relative;
  margin-top: 24px !important;
  border-radius: 18px;
  overflow: hidden;
  min-height: 675px;
}
.process__media img {
  width: 100%;
  height: 100%;
  min-height: 675px;
  object-fit: cover;
}
.process__float {
  position: absolute;
  right: 28px;
  bottom: 18px;
  width: 296px;
  border-radius: 14px;
  padding: 20px 24px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 18px 42px rgba(7,31,74,.12);
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 198px;
}
.process-step {
  min-height: 162px;
  padding: 36px 24px 22px 146px;
  position: relative;
  display: flex;
  align-items: center;
}
.process-step__num {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--kz-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
}
.process-step__icon {
  position: absolute;
  left: 72px;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eaf1ff;
  display: grid;
  place-items: center;
}
.process-step__title {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
}
.process-step::after {
  content: "";
  position: absolute;
  left: 56px;
  right: 28px;
  bottom: 30px;
  border-bottom: 1px dashed #bfd3f4;
}
.process-step__check {
  position: absolute;
  left: 24px;
  bottom: 22px;
}
.process-step--final {
  grid-column: 1 / -1;
  min-height: 132px;
  padding-left: 212px;
}
.process-step--final .process-step__num {
  width: 62px;
  height: 62px;
  font-size: 34px;
}
.process-step--final .process-step__icon { left: 118px; }
.process-cta {
  float: right;
  margin-top: 16px !important;
  min-width: 365px;
}

#method { background: #fff !important; }
.method__layout {
  display: grid;
  grid-template-columns: 47% 1fr;
  gap: 62px;
  align-items: center;
}
.specialist-photo {
  border-radius: 18px;
  overflow: hidden;
  min-height: 496px;
}
.specialist-photo > img {
  width: 100%;
  height: 100%;
  min-height: 496px;
  object-fit: cover;
}
.stat-pin {
  left: 26px;
  bottom: 24px;
  width: 220px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
}
.specialist-info__name {
  color: var(--kz-text);
  font-size: 34px;
}
.specialist-info__role {
  color: var(--kz-primary);
  font-size: 20px;
}
.principles {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.principle-card {
  min-height: 314px;
  padding: 56px 24px 24px;
  position: relative;
  text-align: center;
}
.principle-card .process-step__num {
  left: 16px;
  top: 16px;
}
.principle-card h3 {
  font-size: 20px !important;
  margin-top: 18px;
}
.principle-card p {
  color: var(--kz-text-muted);
  margin-top: 28px !important;
}
.home-band {
  min-height: 200px;
  margin-top: 24px;
  border: 1px solid var(--kz-border);
  border-radius: 18px;
  background: linear-gradient(135deg, #eef6ff, #fff);
  display: grid;
  grid-template-columns: 34% 1fr 310px;
  align-items: center;
  gap: 20px;
  padding: 26px 42px;
  overflow: hidden;
}
.home-band h3 { font-size: 28px; }
.home-band__media {
  height: 170px;
  border-radius: 0;
}
.home-band__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery {
  grid-template-columns: 59.5% 1fr;
  gap: 20px;
}
.gallery__main,
.gallery__side-photo {
  border-radius: 18px;
  overflow: hidden;
}
.gallery__main { min-height: 444px; }
.gallery__main img { height: 444px; object-fit: cover; }
.gallery__side {
  gap: 18px;
}
.gallery__side-photo img {
  height: 213px;
  width: 100%;
  object-fit: cover;
}
.feature-chips {
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.feature-chip {
  min-height: 74px;
  border-radius: 10px;
  padding: 16px 18px;
  background: rgba(255,255,255,.9);
  color: var(--kz-text);
  font-weight: 600;
}
.reviews-panel {
  margin-top: 22px;
  border: 1px solid var(--kz-border);
  border-radius: 18px;
  background: linear-gradient(135deg, #eef6ff, #fff);
  padding: 28px;
}
.reviews-panel h3 {
  font-size: 30px;
}
.reviews-panel__grid {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.review-card {
  min-height: 160px;
  border-radius: 12px;
  border: 1px solid var(--kz-border);
  background: #fff;
}

#blog {
  background: #fff !important;
}
.blog-grid .article-card {
  border-radius: 18px;
}

.faq-layout {
  grid-template-columns: 1fr 41%;
  gap: 84px;
}
.accordion-item {
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-item h3 { margin: 0 !important; }
.accordion-trigger {
  min-height: 58px;
  padding: 16px 28px;
  font-size: 20px;
  font-weight: 800;
}
.accordion-panel__inner {
  margin: 0 28px 16px;
  padding: 12px;
  border-radius: 8px;
  background: #f4f8ff;
  color: var(--kz-text-muted);
  font-size: 17px;
}
.contact-card {
  background: linear-gradient(135deg, #eef6ff, #f8fbff);
  padding: 34px 30px;
}
.contact-card h3 { font-size: 32px !important; }
.contact-card__map {
  height: 196px;
  border-radius: 12px;
  overflow: hidden;
}
.map-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(30deg, rgba(255,217,117,.42), transparent 12% 88%, rgba(255,217,117,.42)),
    repeating-linear-gradient(0deg, #edf2f7 0 14px, #fff 14px 42px);
}
.map-fallback span {
  font-size: 20px;
  font-weight: 800;
}
.contact-row {
  font-size: 21px;
  margin-top: 24px;
}
.final-cta {
  margin-top: 28px;
  grid-template-columns: 1fr 548px;
  border-radius: 18px;
  padding: 34px 40px;
  background:
    radial-gradient(circle at 90% 90%, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(135deg, #0a66ff, #004bea);
}
.final-cta h2 {
  color: #fff;
  font-size: 42px;
}
.final-cta p {
  color: rgba(255,255,255,.9);
  font-size: 20px;
}
.final-cta__checks {
  gap: 42px;
  color: #fff;
}

@media (max-width: 1280px) {
  .main-nav { gap: 18px; }
  .brand__name { font-size: 30px; }
  .hero__grid,
  .problems__layout,
  .process__layout,
  .method__layout,
  .gallery,
  .faq-layout {
    gap: 24px;
  }
}

@media (max-width: 1023px) {
  .container { padding-inline: 20px; }
  .site-header { border-radius: 0; }
  .site-header .container { padding-block: 14px; }
  .brand { min-width: 0; }
  .brand__name { font-size: 26px; }
  .locality { display: none; }
  .hero__grid,
  .problems__layout,
  .results__layout,
  .process__layout,
  .method__layout,
  .gallery,
  .faq-layout,
  .section-head--split,
  .final-cta,
  .home-band {
    grid-template-columns: 1fr;
  }
  .hero__grid,
  .hero__panel-left,
  .hero__media { min-height: 0; }
  .hero__media { height: 520px; }
  .quick-problems,
  .problems__grid,
  .outcome-row,
  .principles,
  .reviews-panel__grid {
    grid-template-columns: 1fr 1fr;
  }
  .side-panel { grid-template-columns: 1fr; }
  .side-panel__media { height: 360px; }
  .side-panel__content { padding: 32px; }
  .process-grid { margin-top: 0; }
  .process__media,
  .process__media img { min-height: 480px; }
  .feature-chips { grid-template-columns: 1fr 1fr; position: static; margin-top: 12px; }
}

@media (max-width: 767px) {
  .container { padding-inline: 16px; }
  .section { padding-block: 42px; }
  h1, .h1 { font-size: 38px; }
  h2, .h2 { font-size: 36px; }
  .lede { font-size: 18px; }
  .hero__panel-left { padding: 34px 24px; }
  .hero__media { height: 420px; }
  .hero__metrics,
  .cta-banner,
  .results__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .quick-problems,
  .problems__grid,
  .results__side,
  .outcome-row,
  .process-grid,
  .principles,
  .reviews-panel__grid {
    grid-template-columns: 1fr;
  }
  .problem-card-quick,
  .problem-detail-card { min-height: 140px; }
  .before-after { height: 360px; }
  .process-step,
  .process-step--final {
    padding-left: 116px;
  }
  .process-step__icon,
  .process-step--final .process-step__icon { left: 58px; }
  .process-step--final .process-step__num {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
  .process-cta,
  .home-band .btn {
    float: none;
    min-width: 0;
    width: 100%;
  }
  .feature-chips { grid-template-columns: 1fr; }
  .final-cta h2 { font-size: 32px; }
}

/* ========================================================================== 
   Precise reference pass 21.08.2026. This layer intentionally stays last.
   ========================================================================== */
body { background: #fff; }
.container { width: 100%; max-width: 1536px; padding-inline: 38px; }
.section { padding-block: 46px 50px; background: #fff !important; }
.section h2 { max-width: 1040px; font-size: clamp(42px, 3.5vw, 56px); line-height: 1.13; text-shadow: none; }
.section-head { margin-bottom: 30px; }
.section-head--split { grid-template-columns: minmax(0,1fr) 420px 252px; align-items: center; }
.eyebrow { font-size: 18px; margin-bottom: 16px; }
.lede { font-size: 20px; line-height: 1.5; }
.card, .problem-card-quick, .accordion-item, .contact-card { background: #fff; }
.icon-badge img, .metric__icon img { width: 44px !important; height: 44px !important; }
.btn { min-height: 58px; padding: 12px 24px; font-size: 18px; }
.btn-arrow { flex: 0 0 38px; }
.btn-arrow img { width: 22px !important; height: 22px !important; }

/* Header */
.site-header { position: relative; border-radius: 18px; border-top: 1px solid rgba(7,31,74,.12); }
.site-header .container { min-height: 104px; padding-block: 18px; gap: 20px; }
.brand { min-width: 285px; }
.brand__logo { width: 48px; height: 48px; }
.brand__name { font-size: 36px; }
.brand__descriptor { font-size: 14px; }
.main-nav { gap: 30px; }
.header-actions { gap: 20px; }
.header-phone { white-space: nowrap; }
.header-phone img, .locality img { flex: 0 0 auto; }

/* Hero */
.hero { padding-block: 0 34px; }
.hero__grid { height: 666px; min-height: 666px; grid-template-columns: 44% minmax(0,1fr); gap: 12px; }
.hero__panel-left, .hero__media { height: 666px; min-height: 666px; border-radius: 18px; }
.hero__panel-left { padding: 54px 48px 46px 62px; }
.hero__content { max-width: 570px; gap: 20px; }
.hero__content h1 { max-width: 570px; font-size: clamp(46px, 3.35vw, 54px); line-height: 1.22; text-shadow: none; }
.hero__content .lede { max-width: 500px; font-size: 21px; }
.btn-hero { min-height: 68px; }
.hero__proof { margin-top: 0; }
.hero__proof img { width: 36px !important; height: 36px !important; padding: 0; border: 0; }
.hero__metrics { margin-top: 2px; gap: 34px; }
.hero__metrics .metric { gap: 18px; }
.hero__metrics .metric__icon { width: 68px; height: 68px; }
.hero__metrics .metric__value { font-size: 46px; line-height: .9; }
.hero__metrics .metric__label { display: inline-block; margin-top: 7px; font-size: 15px; line-height: 1.2; }
.hero__media img { object-position: center; }
.hero__floating-card { right: 28px; bottom: 42px; max-width: 218px; padding: 20px; }
.hero__floating-card .check { width: 44px; height: 44px; }
.hero__floating-card .check img { width: 24px !important; height: 24px !important; filter: brightness(0) invert(1); }
.quick-problems { margin-top: 22px; gap: 22px; }
.problem-card-quick { height: 162px; min-height: 162px; padding: 28px; }
.problem-card-quick .icon-badge { width: 72px; height: 72px; }
.problem-card-quick__title { font-size: 21px; }
.problem-card-quick__arrow { width: 36px; height: 36px; background: transparent; }
.problem-card-quick__arrow img { width: 26px !important; height: 26px !important; }

/* Problems */
#problems { padding-top: 54px; }
.problems__layout { grid-template-columns: minmax(0, 1fr) 36%; gap: 50px; }
.problems__grid { gap: 16px; }
.problem-detail-card { min-height: 234px; padding: 28px; }
.problem-detail-card .icon-badge { width: 72px; height: 72px; margin-bottom: 0; }
.problem-detail-card__title { margin-top: 18px; font-size: 20px; }
.problem-detail-card__desc { padding-right: 26px; font-size: 15px; line-height: 1.45; }
.problem-detail-card__arrow { right: 24px; top: 50%; transform: translateY(-50%); }
.problem-detail-card__arrow img { width: 24px !important; height: 24px !important; }
.side-panel { grid-template-columns: 44% minmax(0,1fr); height: 736px; min-height: 736px; padding: 0; border: 0; }
.side-panel__media { position: relative; height: 736px; margin: 0; border-radius: 0; aspect-ratio: auto; overflow: hidden; }
.side-panel__media img { object-position: center; }
.side-panel__media::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: radial-gradient(circle, rgba(255,255,255,0.55) 1px, transparent 1px);
  background-size: 22px 22px;
  mix-blend-mode: soft-light;
  opacity: .8;
}
.side-panel__media::after {
  content: ""; position: absolute; left: 50%; bottom: 9%; z-index: 1; pointer-events: none;
  width: 130px; height: 60px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(37,211,186,0.55), transparent 72%);
}
.side-panel__content { min-width: 0; padding: 120px 30px 36px; }
.side-panel__content h3 { margin: 0 0 24px; font-size: 25px; }
.side-panel .check-list li { min-height: 98px; padding: 22px 0; font-size: 17px; }
.check-dot { background: transparent !important; }
.check-dot img { width: 28px !important; height: 28px !important; border: 0; padding: 0; }
.cta-banner { min-height: 152px; margin-top: 28px; padding: 26px 52px; }
.cta-banner__icon { display: grid; place-items: center; }
.cta-banner__icon img { width: 52px !important; height: 52px !important; }
.cta-banner__text h3 { font-size: 30px; }
.cta-banner__text p { font-size: 18px; }

/* Results */
#results { padding-top: 32px; }
.stat-card .icon-badge { width: 64px; height: 64px; margin: 0; }
.stat-card .icon-badge img { width: 38px !important; height: 38px !important; }
.results__layout { grid-template-columns: 50.5% minmax(0,1fr); gap: 24px; }
.result-case-card { padding: 20px 12px 14px; }
.result-case-card > h3, .result-photo-card > h3 { margin: 0; padding: 0 12px 16px !important; font-size: 23px !important; }
.result-case-card__media { height: 452px; }
.before-after { height: 452px; }
.before-after img { object-position: center top; }
.results__side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 344px 1fr; gap: 24px; }
.result-photo-card { padding: 20px 14px 14px; }
.result-photo-card__media { height: 254px; }
.result-photo-card__media img { object-position: center; }
.quote-card { min-height: 166px; padding: 30px 38px 28px 108px; position: relative; }
.quote-card__mark { position: absolute; left: 38px; top: 32px; }
.quote-card__mark img { width: 42px !important; height: 42px !important; }
.quote-card p { margin-top: 0; font-size: 22px; line-height: 1.45; }
.outcome-row { margin-top: 28px; gap: 22px; }
.outcome-card { min-height: 112px; padding: 18px 34px; font-size: 19px; }
.outcome-card .icon-badge { width: 64px; height: 64px; }
.results__footer { justify-content: flex-start; flex-wrap: nowrap; gap: 140px; }
.results__footer .disclaimer { max-width: 650px; margin: 0; }

/* Diagnostics */
#diagnostics { padding-top: 44px; }
.process__layout { grid-template-columns: minmax(0, 49%) minmax(0, 1fr); gap: 40px; }
.process__layout > * { min-width: 0; }
.process__layout h2 { max-width: 720px; }
.process__media { width: 100%; height: 675px; min-height: 675px; margin-top: 22px !important; aspect-ratio: auto; }
.process__media img { width: 100%; height: 675px; min-height: 0; object-position: center; }
.process__float { right: 26px; bottom: 18px; width: 296px; padding: 18px 20px; }
.process__float strong { display: block; font-size: 17px; }
.process__float .check-list li { padding-block: 10px; font-size: 13px; }
.process-grid { margin-top: 198px; gap: 24px; }
.process-step { min-width: 0; min-height: 162px; padding: 34px 20px 34px 142px; }
.process-step__icon { left: 66px; width: 72px; height: 72px; }
.process-step__icon img { width: 44px !important; height: 44px !important; }
.process-step__title { font-size: 18px; }
.process-step__check { left: 18px; bottom: 16px; }
.process-step__check img { width: 26px !important; height: 26px !important; }
.process-step::after { left: 54px; bottom: 26px; }
.process-step--final { min-height: 132px; padding-left: 210px; }
.process-step--final .process-step__icon { left: 116px; }
.process-cta { float: right; margin-top: 16px; }

/* Method */
#method { padding-top: 44px; }
#method .section-head { max-width: 1100px; margin-bottom: 20px; }
.method__layout { grid-template-columns: 47% minmax(0,1fr); gap: 62px; align-items: start; }
.specialist-photo { height: 496px; min-height: 496px; aspect-ratio: auto; }
.specialist-photo > img { height: 496px; min-height: 0; object-position: center; }
.stat-pin { padding: 16px; }
.stat-pin .metric__icon { width: 52px; height: 52px; }
.stat-pin .metric__icon img { width: 34px !important; height: 34px !important; }
.stat-pin .metric__value { font-size: 25px; }
.stat-pin .metric__label { font-size: 12px; }
.specialist-info { padding-top: 12px; }
.specialist-info__name { font-size: 32px; }
.specialist-info__role { margin-top: 6px; font-size: 18px; }
.specialist-info p.lede { margin-top: 12px; font-size: 17px; }
.specialist-info .principles { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 26px; }
.principle-card { min-height: 300px; padding: 36px 14px 20px; }
.principle-card__num { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--kz-primary); color: #fff; font-size: 21px; font-weight: 800; }
.principle-card .icon-badge { width: 76px; height: 76px; margin-bottom: 0; }
.principle-card h3 { margin-top: 22px; font-size: 18px !important; }
.principle-card p { margin-top: 26px !important; font-size: 14px; line-height: 1.45; }
.home-band { grid-template-columns: 34% minmax(0,1fr) 310px; min-height: 198px; padding: 24px 40px; }
.home-band__media { width: 100%; height: 170px; }
.home-band__media img { object-fit: cover; }
.home-band .btn { justify-self: end; }

/* Center and reviews */
#center { padding-top: 44px; }
.gallery { grid-template-columns: 59.5% minmax(0,1fr); gap: 20px; }
.gallery__main { height: 444px; min-height: 444px; }
.gallery__main img { width: 100%; height: 444px; }
.gallery__side-photo { height: 213px; }
.gallery__side-photo img { height: 213px; }
.feature-chip img { width: 34px !important; height: 34px !important; }
.reviews-panel { min-height: 252px; }
.reviews-panel__grid { margin-top: 14px; }
.review-card { padding: 22px 28px 18px 68px; position: relative; font-size: 16px; }
.review-card__mark { position: absolute; left: 24px; top: 22px; }
.review-card__mark img { width: 34px !important; height: 34px !important; }
.review-card cite { display: block; margin-top: 16px; color: var(--kz-text-muted); font-size: 14px; font-style: normal; }

/* Blog is deliberately retained, but kept compact and aligned with the page. */
#blog { padding-block: 48px; }
#blog .section-head--split { grid-template-columns: minmax(0,1fr) 520px; }
.blog-grid { grid-template-columns: repeat(4, minmax(0,1fr)); grid-template-rows: none; gap: 18px; margin-top: 28px; }
.blog-grid .article-card, .article-card--featured, .article-card--wide { grid-column: auto; grid-row: auto; min-height: 390px; }
.article-card__media, .article-card--featured .article-card__media { height: 190px; min-height: 190px; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: 18px; }
.telegram-band { margin-top: 22px; }

/* FAQ, CTA and footer */
#faq { padding-top: 34px; }
.faq-layout { grid-template-columns: minmax(0,1fr) 41%; gap: 84px; }
.contact-card__map { height: 196px; }
.map-fallback { position: relative; overflow: hidden; background-color: #f5f8f1; background-image: linear-gradient(32deg, transparent 45%, #f3d37b 46% 49%, transparent 50%), linear-gradient(112deg, transparent 42%, #dcebc9 43% 58%, transparent 59%), repeating-linear-gradient(0deg, rgba(198,211,224,.45) 0 2px, transparent 2px 36px), repeating-linear-gradient(90deg, rgba(198,211,224,.45) 0 2px, transparent 2px 52px); }
.map-fallback::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49.7%, rgba(255,255,255,.75) 49.7% 50.3%, transparent 50.3%); }
.map-fallback span { position: relative; z-index: 2; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(7,31,74,.16); }
.map-fallback span img { width: 42px !important; height: 42px !important; }
.final-cta { min-height: 270px; grid-template-columns: minmax(0,1fr) 510px; align-items: center; }
.final-cta__actions { min-width: 0; }
.final-cta__primary { width: 100%; min-height: 78px; color: var(--kz-text); font-size: 20px; }
.final-cta__buttons-row .btn { border: 1px solid rgba(255,255,255,.8); }
.site-footer { margin-top: 0; padding-block: 28px; }
.site-footer .brand { min-width: 0; }

@media (max-width: 1360px) {
  .container { padding-inline: 30px; }
  .brand { min-width: 244px; }
  .brand__name { font-size: 30px; }
  .main-nav { gap: 18px; }
  .hero__content h1 { font-size: 46px; }
  .hero__panel-left { padding-left: 48px; }
  .section-head--split { grid-template-columns: minmax(0,1fr) 360px 220px; }
}

@media (max-width: 1023px) {
  .site-header { border-radius: 0; }
  .hero { padding-top: 16px; }
  .hero__grid, .hero__panel-left, .hero__media { height: auto; min-height: 0; }
  .hero__media { height: 520px; }
  .hero__content h1 { font-size: 48px; }
  .section-head--split, #blog .section-head--split { grid-template-columns: 1fr; }
  .stat-card { max-width: 260px; }
  .side-panel { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .side-panel__media { height: 420px; }
  .side-panel__content { padding: 32px; }
  .results__side { grid-template-rows: auto; }
  .process__layout, .method__layout, .gallery, .faq-layout { grid-template-columns: 1fr; }
  .process-grid { margin-top: 24px; }
  .specialist-info .principles { grid-template-columns: repeat(3, 1fr); }
  .home-band { grid-template-columns: 1fr; }
  .home-band .btn { justify-self: start; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .container { padding-inline: 16px; }
  .section { padding-block: 40px; }
  .section h2 { font-size: 34px; }
  .hero__panel-left { padding: 32px 24px; }
  .hero__content h1 { font-size: 38px; line-height: 1.16; }
  .hero__metrics { align-items: stretch; }
  .hero__media { height: 420px; }
  .quick-problems { display: grid; grid-template-columns: 1fr 1fr; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .quick-problems .problem-card-quick { min-width: 0; height: 116px; min-height: 116px; padding: 16px; }
  .problem-card-quick .icon-badge { width: 52px; height: 52px; }
  .problem-card-quick__title { font-size: 16px; }
  .problems__grid, .results__side, .outcome-row, .process-grid, .specialist-info .principles, .blog-grid { grid-template-columns: 1fr; }
  .result-case-card__media, .before-after { height: 360px; }
  .results__footer { flex-direction: column; gap: 18px; }
  .process__media, .process__media img { height: 520px; min-height: 520px; }
  .process__float { left: 16px; right: 16px; width: auto; }
  .process-step, .process-step--final { padding-left: 116px; }
  .process-step__icon, .process-step--final .process-step__icon { left: 54px; width: 56px; height: 56px; }
  .process-step--final .process-step__num { width: 42px; height: 42px; font-size: 24px; }
  .home-band { padding: 24px; }
  .final-cta { grid-template-columns: 1fr; padding: 28px 22px; }
  .final-cta h2 { font-size: 30px; }
}

/* Header and first-screen tuning after visual QA. */
.site-header .container { gap: 18px; }
.brand { min-width: 288px; }
.brand__descriptor,
.header-phone { white-space: nowrap; }
.main-nav { gap: 28px; }
.header-actions { gap: 18px; }
.hero__panel-left { padding: 72px 44px 52px 62px; }
.hero__content { max-width: 610px; }
.hero__content h1 { font-size: clamp(36px, 2.8vw, 46px); line-height: 1.22; max-width: 610px; }
.hero__media img { object-position: center center; }

@media (max-width: 1360px) {
  .brand__name { font-size: 30px; }
  .brand { min-width: 250px; }
  .main-nav { gap: 18px; }
  .header-phone { font-size: 16px; }
}

/* Hero — two large equal-height panels (ТЗ-корр. 6.2) */
.hero { padding-block: var(--space-8) var(--space-16); }
.hero__grid {
  display: grid; grid-template-columns: 46% 1fr; gap: 16px;
  min-height: 660px;
}
@media (max-width: 1279px) { .hero__grid { min-height: 560px; grid-template-columns: 48% 1fr; } }
@media (max-width: 1023px) { .hero__grid { grid-template-columns: 1fr; min-height: 0; } }

.hero__panel-left {
  position: relative;
  background: var(--kz-surface-blue);
  border-radius: 26px;
  padding: 60px 48px;
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-6);
  overflow: hidden;
}
@media (max-width: 1279px) { .hero__panel-left { padding: 44px 32px; } }
@media (max-width: 767px) { .hero__panel-left { padding: 32px 24px; } }

.hero__dotgrid {
  position: absolute; left: 28px; top: 50%; transform: translateY(-50%);
  width: 64px; height: 200px;
  background-image: radial-gradient(circle, var(--kz-border-strong) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: .7;
}
@media (max-width: 1279px) { .hero__dotgrid { display: none; } }

.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-6); max-width: 560px; }
.hero__content h1 {
  max-width: 560px;
  overflow-wrap: break-word;
  font-size: clamp(34px, 3.3vw + 8px, 60px);
}
.hero__proof { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; color: var(--kz-mint-dark); }
.hero__proof svg { width: 20px; height: 20px; }
.hero__metrics { display: flex; align-items: center; gap: var(--space-5); margin-top: var(--space-2); }
.metric { display: flex; align-items: center; gap: var(--space-3); }
.metric__icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--kz-surface-mint); color: var(--kz-mint-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.metric__value { font-size: 24px; font-weight: 800; line-height: 1; }
.metric__label { font-size: 13px; color: var(--kz-text-muted); font-weight: 500; }
.metric-divider { width: 1px; align-self: stretch; background: var(--kz-border); }

.hero__media { position: relative; border-radius: 26px; overflow: hidden; min-height: 340px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .hero__media { aspect-ratio: 4/5; min-height: 0; } }

.media-photo { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
.media-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-photo__credit {
  position: absolute; left: var(--space-3); bottom: var(--space-3);
  font-size: 11px; color: rgba(255,255,255,0.85); background: rgba(11,38,78,0.45);
  padding: 3px 9px; border-radius: var(--radius-pill); backdrop-filter: blur(2px);
}

/* Deprecated placeholder kept only for content genuinely not yet supplied (e.g. specialist photo) */
.media-placeholder {
  background: linear-gradient(135deg, var(--kz-surface-blue), var(--kz-surface-mint));
  border: 1px dashed var(--kz-border-strong);
  border-radius: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-2); color: var(--kz-text-muted); text-align: center;
  width: 100%; height: 100%; min-height: 260px; padding: var(--space-6);
}
.media-placeholder svg { width: 40px; height: 40px; color: var(--kz-primary); opacity: .6; }
.media-placeholder__label { font-weight: 700; color: var(--kz-text); font-size: 15px; }
.media-placeholder__note { font-size: 13px; }

.hero__floating-card {
  position: absolute; right: var(--space-6); bottom: var(--space-6);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover);
  padding: var(--space-4) var(--space-5); display: flex; align-items: center; gap: var(--space-3);
  font-weight: 700; z-index: 2;
}
.hero__floating-card .check { width: 32px; height: 32px; border-radius: 50%; background: var(--kz-mint); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 767px) { .hero__floating-card { right: var(--space-4); bottom: var(--space-4); left: var(--space-4); justify-content: center; } }

.quick-problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-top: var(--space-10); }
@media (max-width: 1023px) { .quick-problems { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .quick-problems { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--space-4); margin-inline: -16px; padding-inline: 16px; padding-bottom: 4px; }
  .quick-problems .problem-card-quick { scroll-snap-align: start; min-width: 78%; }
}

/* Cards */
.card {
  background: var(--kz-surface);
  border: 1px solid var(--kz-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
a.card:hover, .card.is-hoverable:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.icon-badge {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--kz-surface-blue); color: var(--kz-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.icon-badge svg { width: 32px; height: 32px; stroke-width: 1.75; }
.icon-badge--mint { background: var(--kz-surface-mint); color: var(--kz-mint-dark); }

/* problem-card-quick: wide row under hero — icon left, arrow right (ТЗ-корр. 6.2) */
.problem-card-quick {
  padding: 0 var(--space-6); height: 160px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  border: 1px solid var(--kz-border); border-radius: var(--radius-lg); background: var(--kz-surface);
}
.problem-card-quick__left { display: flex; align-items: center; gap: var(--space-4); }
.problem-card-quick .icon-badge { width: 56px; height: 56px; margin-bottom: 0; flex-shrink: 0; }
.problem-card-quick .icon-badge svg { width: 28px; height: 28px; }
.problem-card-quick__title { font-size: 19px; font-weight: 700; }
.problem-card-quick__arrow {
  width: 40px; height: 40px; border-radius: 50%; background: var(--kz-surface-blue); color: var(--kz-primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background-color 180ms ease, transform 180ms ease;
}
a.problem-card-quick:hover .problem-card-quick__arrow { background: var(--kz-primary); color: #fff; transform: translateX(2px); }
@media (max-width: 767px) { .problem-card-quick { height: 96px; padding: 0 var(--space-5); } .problem-card-quick .icon-badge { width: 48px; height: 48px; } }

/* problem-detail-card: vertical card in the full problems grid */
.problem-detail-card { padding: var(--space-6); }
.problem-detail-card .icon-badge { width: 60px; height: 60px; }
.problem-detail-card__title { font-size: 19px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.problem-detail-card__desc { color: var(--kz-text-muted); margin-top: var(--space-2); font-size: 15px; line-height: 1.5; }
.problem-detail-card__link { display: inline-flex; align-items: center; gap: 4px; margin-top: var(--space-4); font-weight: 600; font-size: 14px; color: var(--kz-text-muted); }
a.problem-detail-card:hover .problem-detail-card__link { color: var(--kz-primary); }

.problems__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 1023px) { .problems__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .problems__grid { grid-template-columns: 1fr; } }

.problems__layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-6); align-items: start; }
@media (max-width: 1023px) { .problems__layout { grid-template-columns: 1fr; } }
.side-panel { background: var(--kz-surface); border: 1px solid var(--kz-border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-card); }
.side-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.side-panel__media { border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--space-5); aspect-ratio: 4/5; }
.check-list li { display: flex; align-items: center; gap: var(--space-3); padding-block: var(--space-3); border-bottom: 1px dashed var(--kz-border); font-weight: 600; }
.check-list li:last-child { border-bottom: none; }
.check-list .check-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--kz-surface-mint); color: var(--kz-mint-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.cta-banner {
  background: var(--kz-primary); color: #fff; border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8); margin-top: var(--space-8);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
}
@media (max-width: 767px) { .cta-banner { flex-direction: column; align-items: flex-start; } }
.cta-banner__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-banner__text { display: flex; align-items: center; gap: var(--space-5); }
@media (max-width: 767px) { .cta-banner__text { align-items: flex-start; } }
.cta-banner h3 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-top: var(--space-1); }

/* Results */
.results__layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-6); }
@media (max-width: 1023px) { .results__layout { grid-template-columns: 1fr; } }
.results__side { display: flex; flex-direction: column; gap: var(--space-6); }

/* result-case-card: dominant photo-led case (ТЗ-корр. 6.4) */
.result-case-card {
  background: var(--kz-surface); border: 1px solid var(--kz-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column;
}
.result-case-card__media { position: relative; aspect-ratio: 16/11; }
.result-case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.result-case-card__tag {
  position: absolute; top: var(--space-4); left: var(--space-4);
  background: rgba(11,38,78,0.75); color: #fff; backdrop-filter: blur(2px);
  padding: 6px 14px; border-radius: var(--radius-pill); font-weight: 700; font-size: 13px;
}
.result-case-card__body { padding: var(--space-6); }

/* result-photo-card: compact side photo card */
.result-photo-card { padding: 0; overflow: hidden; }
.result-photo-card__media { aspect-ratio: 16/10; }
.result-photo-card__media img { width: 100%; height: 100%; object-fit: cover; }
.result-photo-card h3 { padding-bottom: 16px; }

.outcome-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-8); }
@media (max-width: 767px) { .outcome-row { grid-template-columns: 1fr; } }
.outcome-card { padding: var(--space-5); text-align: left; display: flex; align-items: center; gap: var(--space-4); }
.outcome-card .icon-badge { margin-bottom: 0; width: 48px; height: 48px; }
.quote-card { padding: var(--space-6); background: var(--kz-surface-blue); border-radius: var(--radius-lg); border: none; }
.quote-card__mark { font-size: 32px; color: var(--kz-primary); font-weight: 800; line-height: 1; }
.quote-card p { font-weight: 700; font-size: 18px; margin-top: var(--space-2); }
.quote-card cite { display: block; margin-top: var(--space-3); font-style: normal; color: var(--kz-text-muted); font-size: 14px; }
.disclaimer { display: flex; align-items: flex-start; gap: var(--space-2); font-size: 14px; color: var(--kz-text-muted); margin-top: var(--space-6); }
.disclaimer svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
.results__footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); margin-top: var(--space-8); flex-wrap: wrap; }

/* Process steps */
.process__layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-8); align-items: start; }
@media (max-width: 1023px) { .process__layout { grid-template-columns: 1fr; } }
.process__media img { width: 100%; height: 100%; object-fit: cover; }
.process__media { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; margin-bottom: var(--space-5); }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); position: relative; }
.process-grid::before {
  content: ""; position: absolute; left: 50%; top: 28px; bottom: 76px; width: 0;
  border-left: 2px dashed var(--kz-border-strong); transform: translateX(-1px); z-index: 0;
}
@media (max-width: 767px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { left: 27px; }
}
.process-step { padding: var(--space-5); display: flex; align-items: center; gap: var(--space-4); }
.process-step__num { width: 40px; height: 40px; border-radius: 50%; background: var(--kz-primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.process-step__icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--kz-surface-blue); color: var(--kz-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.process-step__title { font-weight: 700; }
.process-step--final { grid-column: 1 / -1; background: var(--kz-surface-blue); border: none; }

/* Method / specialist */
.method__layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
@media (max-width: 1023px) { .method__layout { grid-template-columns: 1fr; } }
.specialist-photo { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.specialist-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.specialist-photo .stat-pin {
  position: absolute; left: var(--space-5); bottom: var(--space-5);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover);
  padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3);
}
.stat-pin .metric { gap: var(--space-2); }
.specialist-info__name { font-size: 26px; font-weight: 800; }
.specialist-info__role { color: var(--kz-primary); font-weight: 700; margin-top: var(--space-1); }
.specialist-info p.lede { margin-top: var(--space-4); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-8); }
@media (max-width: 767px) { .principles { grid-template-columns: 1fr; } }
.principle-card { padding: var(--space-6); text-align: center; }
.principle-card .icon-badge { margin-inline: auto; }
.home-band {
  margin-top: var(--space-8); border-radius: var(--radius-lg);
  background: var(--kz-surface-blue);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-6);
  padding: var(--space-6) var(--space-8); overflow: hidden;
}
@media (max-width: 1023px) { .home-band { grid-template-columns: 1fr; text-align: left; } }
.home-band__media img { width: 100%; height: 100%; object-fit: cover; }
.home-band__media { width: 280px; aspect-ratio: 16/9; border-radius: var(--radius-md); overflow: hidden; }
@media (max-width: 1023px) { .home-band__media { width: 100%; } }

/* Center / reviews */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-4); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .gallery { grid-template-columns: 1fr; } }
.gallery__main { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.gallery__side { display: flex; flex-direction: column; gap: var(--space-4); }
.gallery__side-photo { border-radius: var(--radius-lg); aspect-ratio: 16/10; overflow: hidden; }
.gallery__side-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-chips { display: flex; flex-wrap: wrap; gap: var(--space-3); position: absolute; left: var(--space-5); right: var(--space-5); bottom: var(--space-5); }
.feature-chip { background: #fff; border-radius: var(--radius-pill); padding: var(--space-2) var(--space-4); display: flex; align-items: center; gap: var(--space-2); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-card); }
.feature-chip svg { width: 20px; height: 20px; color: var(--kz-mint-dark); }

.reviews-panel { background: var(--kz-surface-blue); border-radius: var(--radius-lg); padding: var(--space-8); margin-top: var(--space-8); }
.reviews-panel__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin-top: var(--space-6); }
@media (max-width: 767px) { .reviews-panel__grid { grid-template-columns: 1fr; } }
.review-card { background: #fff; border-radius: var(--radius-lg); padding: var(--space-6); }
.review-card__mark { color: var(--kz-primary); font-weight: 800; font-size: 24px; }
.review-card p { margin-top: var(--space-2); font-weight: 500; }
.review-card cite { display: block; margin-top: var(--space-4); font-style: normal; font-size: 14px; color: var(--kz-text-muted); }
.reviews-panel__footer { display: flex; justify-content: flex-end; margin-top: var(--space-6); }
.empty-state { text-align: center; padding: var(--space-10); color: var(--kz-text-muted); }

/* Blog */
.blog-filters { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.filter-pill {
  border: 1px solid var(--kz-border-strong); border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-5); font-weight: 600; background: #fff; cursor: pointer;
  color: var(--kz-text);
}
.filter-pill.is-active, .filter-pill[aria-pressed="true"] { background: var(--kz-primary); color: #fff; border-color: var(--kz-primary); }

.blog-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: var(--space-5); margin-top: var(--space-8); }
.article-card--featured { grid-row: 1 / 3; }
@media (max-width: 1023px) { .blog-grid { grid-template-columns: 1fr 1fr; } .article-card--featured { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 767px) { .blog-grid { grid-template-columns: 1fr; } .article-card--wide { grid-column: auto; } }
.article-card { overflow: hidden; display: flex; flex-direction: column; }
.article-card__media { aspect-ratio: 16/10; }
.article-card--featured .article-card__media { aspect-ratio: 16/9; }
.article-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.article-card__meta { display: flex; align-items: center; gap: var(--space-3); }
.category-tag { background: var(--kz-surface-mint); color: var(--kz-mint-dark); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: var(--radius-pill); }
.reading-time { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--kz-text-muted); }
.article-card__title { font-weight: 800; font-size: 20px; flex: 1; }
.article-card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--kz-primary); margin-top: auto; }
.article-card__link .btn-arrow { background: var(--kz-surface-blue); }

.telegram-band {
  margin-top: var(--space-8); background: var(--kz-surface-blue); border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
}
@media (max-width: 767px) { .telegram-band { flex-direction: column; align-items: flex-start; } }
.telegram-band__text { display: flex; align-items: center; gap: var(--space-4); }
.telegram-icon { width: 48px; height: 48px; border-radius: 50%; background: #2AABEE; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* FAQ / contacts */
.faq-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-6); align-items: start; }
@media (max-width: 1023px) { .faq-layout { grid-template-columns: 1fr; } }
.accordion-item { border: 1px solid var(--kz-border); border-radius: var(--radius-md); background: #fff; margin-bottom: var(--space-3); overflow: hidden; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5); background: none; border: none; text-align: left; font-weight: 700; font-size: 17px; cursor: pointer; color: var(--kz-text);
}
.accordion-trigger .accordion-icon { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--kz-border-strong); color: var(--kz-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 220ms ease; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); background: var(--kz-surface-blue); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 240ms ease; }
.accordion-panel__inner { padding: 0 var(--space-5) var(--space-5); color: var(--kz-text-muted); }

.contact-card { background: var(--kz-surface-blue); border-radius: var(--radius-lg); padding: var(--space-6); }
.contact-card__map { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10; margin-bottom: var(--space-5); }
.contact-row { display: flex; align-items: center; gap: var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid var(--kz-border); font-weight: 600; }
.contact-row:last-child { border-bottom: none; }
.contact-row svg { color: var(--kz-mint-dark); width: 22px; height: 22px; flex-shrink: 0; }

.final-cta {
  background: linear-gradient(120deg, var(--kz-primary), #1147c9);
  border-radius: var(--radius-xl); padding: var(--space-10); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-8);
  margin-top: var(--space-16);
}
@media (max-width: 1023px) { .final-cta { flex-direction: column; align-items: flex-start; } }
.final-cta h2 { color: #fff; max-width: 560px; }
.final-cta__checks { display: flex; gap: var(--space-6); margin-top: var(--space-5); flex-wrap: wrap; }
.final-cta__checks li { display: flex; align-items: center; gap: var(--space-2); font-weight: 600; }
.final-cta__actions { display: flex; flex-direction: column; gap: var(--space-3); min-width: 260px; }
.final-cta__buttons-row { display: flex; gap: var(--space-3); }
.final-cta__buttons-row .btn { flex: 1; background: rgba(255,255,255,0.12); color: #fff; }
.final-cta__buttons-row .btn:hover { background: rgba(255,255,255,0.22); }

/* Footer */
.site-footer { border-top: 1px solid var(--kz-border); padding-block: var(--space-10); margin-top: var(--space-16); }
.site-footer .container { display: flex; flex-direction: column; gap: var(--space-8); }
.footer-top { display: flex; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; }
.footer-nav { display: flex; gap: var(--space-6); flex-wrap: wrap; font-weight: 600; }
.footer-contact { text-align: right; font-weight: 600; }
@media (max-width: 767px) { .footer-top { flex-direction: column; } .footer-contact { text-align: left; } }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-6); border-top: 1px solid var(--kz-border); font-size: 13px; color: var(--kz-text-muted); }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: 14px; color: var(--kz-text-muted); margin-bottom: var(--space-6); }
.breadcrumbs a:hover { color: var(--kz-primary); }
.breadcrumbs .sep { opacity: .5; }

/* Generic page content */
.entry-content { max-width: 820px; }
.entry-content > * + * { margin-top: var(--space-5); }
.entry-content h2 { margin-top: var(--space-10); }
.entry-content h3 { margin-top: var(--space-8); }

/* Reveal-on-scroll (JS toggles .is-visible) */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 350ms ease, transform 350ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Placeholder banner for missing real content, shown site-wide in admin bar context is out of scope; inline note style: */
.content-placeholder-flag {
  display: inline-block; margin-top: var(--space-2); font-size: 12px; font-weight: 700;
  color: #8a5a00; background: #fff3d6; padding: 2px 10px; border-radius: var(--radius-pill);
}

/* Final reference overrides. Keep this block last. */
body { background: #fff; color: var(--kz-text); }
.container { max-width: 1536px; padding-inline: 38px; }
.section { padding-block: 34px 50px; }
h1, .h1 { font-size: clamp(44px, 4.25vw, 66px); line-height: 1.12; letter-spacing: 0; }
h2, .h2 { font-size: clamp(42px, 3.75vw, 62px); line-height: 1.11; letter-spacing: 0; }
.eyebrow { font-size: 20px; color: var(--kz-primary); }
.lede { font-size: clamp(20px, 1.05vw, 24px); color: var(--kz-text-muted); }
.btn { min-height: 58px; height: auto; border-radius: 12px; padding: 16px 28px; font-size: 20px; }
.btn-primary { background: linear-gradient(135deg, #0a66ff, #0051ed); }
.btn-arrow { width: 38px; height: 38px; background: #fff; color: var(--kz-primary); }
.site-header { background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border: 1px solid rgba(7,31,74,.12); border-top: 0; border-radius: 0 0 18px 18px; }
.site-header .container { padding-block: 26px; }
.brand { min-width: 282px; gap: 16px; }
.brand__logo { width: 50px; height: 50px; }
.brand__name { font-size: 36px; line-height: .95; letter-spacing: 0; }
.brand__descriptor { color: var(--kz-text); font-size: 16px; }
.main-nav { gap: 34px; }
.main-nav a, .has-dropdown > button { font-size: 17px; font-weight: 500; }
.header-phone { font-size: 18px; }
.header-cta { min-height: 50px; padding: 13px 28px; }
.hero { padding-block: 28px 34px; }
.hero__grid { grid-template-columns: 44% 1fr; gap: 12px; min-height: 666px; }
.hero__panel-left, .hero__media { border-radius: 18px; min-height: 666px; }
.hero__panel-left { background: linear-gradient(142deg, #f7fbff 0%, #fff 52%, #eef6ff 100%); padding: 72px 60px 52px 62px; }
.hero__content { gap: 28px; max-width: 600px; }
.hero__content h1 { font-size: clamp(48px, 4.05vw, 66px); line-height: 1.13; }
.btn-hero { align-self: flex-start; min-height: 68px; }
.hero__proof { color: var(--kz-text); font-size: 18px; }
.metric__icon, .icon-badge { width: 72px; height: 72px; border-radius: 18px; background: var(--kz-surface-mint); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-badge { border-radius: 50%; background: #eaf1ff; }
.metric__icon img, .icon-badge img { width: 40px !important; height: 40px !important; }
.metric__value { color: var(--kz-primary); font-size: 52px; }
.metric__label { color: var(--kz-text); font-size: 16px; }
.hero__media img, .media-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__floating-card { right: 30px; bottom: 44px; border-radius: 16px; padding: 24px 28px 24px 22px; background: rgba(255,255,255,.94); font-size: 18px; line-height: 1.35; box-shadow: 0 18px 44px rgba(7,31,74,.12); }
.hero__floating-card .check { width: 46px; height: 46px; background: var(--kz-mint); border-radius: 50%; }
.quick-problems { grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 22px; }
.problem-card-quick, .card, .accordion-item, .contact-card { border: 1px solid var(--kz-border); border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: none; }
.problem-card-quick { min-height: 162px; padding: 30px; }
.problem-card-quick__left { gap: 24px; }
.problem-card-quick__title { font-size: 24px; font-weight: 700; }
.problem-card-quick__arrow, .problem-detail-card__arrow { color: var(--kz-primary); }
.problems__layout { grid-template-columns: minmax(0, 1fr) 35.5%; gap: 50px; }
.section-head { max-width: 900px; margin-bottom: 28px; }
.section-head .lede { margin-top: 18px; max-width: 720px; }
.problems__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-detail-card { position: relative; min-height: 236px; padding: 28px 28px 24px; }
.problem-detail-card__title { margin-top: 28px; font-size: 22px; font-weight: 800; }
.problem-detail-card__desc { color: var(--kz-text-muted); font-size: 17px; margin-top: 8px; }
.problem-detail-card__link { display: none; }
.side-panel { display: grid; grid-template-columns: 43% 1fr; min-height: 736px; border-radius: 18px; overflow: hidden; background: linear-gradient(110deg, #eaf4ff 0%, #f7fbff 100%); }
.side-panel__media { height: 100%; }
.side-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.side-panel h3 { font-size: 28px; line-height: 1.2; }
.side-panel .check-list li { padding: 28px 0; border-bottom: 1px dashed #bfd3f4; font-size: 18px; }
.cta-banner { margin-top: 28px; border-radius: 18px; padding: 40px 52px; background: linear-gradient(135deg, #0a66ff, #0052f0); align-items: center; }
.cta-banner__icon { width: 96px; height: 96px; background: rgba(255,255,255,.88); border-radius: 50%; }
.cta-banner__text h3 { color: #fff; font-size: 32px; }
.cta-banner__text p { color: rgba(255,255,255,.88); font-size: 21px; }
#results { background: #fff !important; }
.section-head--split { display: grid; grid-template-columns: 1fr 430px; align-items: start; gap: 38px; margin-bottom: 32px !important; }
.results__layout { grid-template-columns: 50.5% 1fr; gap: 24px; }
.result-case-card { border: 1px solid var(--kz-border); border-radius: 18px; background: #fff; padding: 22px 12px 12px; }
.result-case-card h3, .result-photo-card h3 { font-size: 26px !important; padding: 0 14px 16px !important; }
.result-case-card__media { height: auto; border-radius: 14px; overflow: hidden; }
.result-case-card__media > img { display: none; }
.before-after { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 452px; }
.before-after figure { position: relative; margin: 0; overflow: hidden; }
.before-after figure:first-child { border-radius: 14px 0 0 14px; }
.before-after figure:nth-child(2) { border-radius: 0 14px 14px 0; }
.before-after img { width: 100%; height: 100%; object-fit: cover; }
.before-after span { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 6px 12px; background: rgba(255,255,255,.88); border-radius: 6px; font-size: 18px; font-weight: 800; }
.before-after b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--kz-primary); box-shadow: 0 10px 24px rgba(7,31,74,.12); }
.result-case-card__tag { display: none; }
.results__side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.result-photo-card { padding: 22px 16px 16px; }
.result-photo-card__media { height: 254px; border-radius: 14px; overflow: hidden; }
.result-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.quote-card { grid-column: 1 / -1; min-height: 166px; border-radius: 18px; background: linear-gradient(135deg, #f5f9ff, #eaf4ff); border: 1px solid var(--kz-border); padding: 34px 40px; text-align: left !important; }
.quote-card p { color: var(--kz-text); font-size: 25px; font-weight: 600; max-width: 680px; }
.quote-card cite { display: block; margin-top: 18px; color: var(--kz-text-muted); font-style: normal; }
.outcome-row { grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.outcome-card { min-height: 112px; padding: 18px 36px; display: flex; align-items: center; gap: 28px; font-size: 21px; font-weight: 800; }
.results__footer { margin-top: 30px; display: flex; align-items: center; gap: 140px; }
.process__layout { grid-template-columns: 49% 1fr; gap: 40px; }
.process__media { position: relative; margin-top: 24px !important; border-radius: 18px; overflow: hidden; min-height: 675px; }
.process__media img { width: 100%; height: 100%; min-height: 675px; object-fit: cover; }
.process-grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 198px; }
.process-step { min-height: 162px; padding: 36px 24px 22px 146px; position: relative; display: flex; align-items: center; }
.process-step__num { position: absolute; left: 18px; top: 18px; width: 42px; height: 42px; border-radius: 50%; background: var(--kz-primary); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.process-step__icon { position: absolute; left: 72px; top: 50%; transform: translateY(-50%); width: 72px; height: 72px; border-radius: 50%; background: #eaf1ff; display: grid; place-items: center; }
.process-step__title { font-size: 21px; line-height: 1.3; font-weight: 800; }
.process-step--final { grid-column: 1 / -1; min-height: 132px; padding-left: 212px; }
.process-step--final .process-step__num { width: 62px; height: 62px; font-size: 34px; }
.process-step--final .process-step__icon { left: 118px; }
.process-cta { float: right; margin-top: 16px !important; min-width: 365px; }
#method { background: #fff !important; }
.method__layout { grid-template-columns: 47% 1fr; gap: 62px; align-items: center; }
.specialist-photo { border-radius: 18px; overflow: hidden; min-height: 496px; }
.specialist-photo > img { width: 100%; height: 100%; min-height: 496px; object-fit: cover; }
.stat-pin { left: 26px; bottom: 24px; width: 220px; border-radius: 14px; background: rgba(255,255,255,.92); }
.specialist-info__name { font-size: 34px; }
.specialist-info__role { color: var(--kz-primary); font-size: 20px; }
.principles { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.principle-card { min-height: 314px; padding: 56px 24px 24px; position: relative; text-align: center; }
.home-band { min-height: 200px; margin-top: 24px; border: 1px solid var(--kz-border); border-radius: 18px; background: linear-gradient(135deg, #eef6ff, #fff); display: grid; grid-template-columns: 34% 1fr; align-items: center; gap: 20px; padding: 26px 42px; overflow: hidden; }
.home-band h3 { font-size: 28px; }
.home-band__media { width: 100%; height: 170px; border-radius: 0; }
.home-band__media img { width: 100%; height: 100%; object-fit: contain; }
.gallery { grid-template-columns: 59.5% 1fr; gap: 20px; }
.gallery__main, .gallery__side-photo { border-radius: 18px; overflow: hidden; }
.gallery__main { min-height: 444px; aspect-ratio: auto; }
.gallery__main img { height: 444px; object-fit: cover; }
.gallery__side { gap: 18px; }
.gallery__side-photo { aspect-ratio: auto; }
.gallery__side-photo img { height: 213px; width: 100%; object-fit: cover; }
.feature-chips { left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.feature-chip { min-height: 74px; border-radius: 10px; padding: 16px 18px; background: rgba(255,255,255,.9); color: var(--kz-text); font-weight: 600; }
.reviews-panel { margin-top: 22px; border: 1px solid var(--kz-border); border-radius: 18px; background: linear-gradient(135deg, #eef6ff, #fff); padding: 28px; }
#blog { background: #fff !important; }
.blog-grid .article-card { border-radius: 18px; }
.faq-layout { grid-template-columns: 1fr 41%; gap: 84px; }
.accordion-trigger { min-height: 58px; padding: 16px 28px; font-size: 20px; font-weight: 800; }
.accordion-panel__inner { margin: 0 28px 16px; padding: 12px; border-radius: 8px; background: #f4f8ff; font-size: 17px; }
.contact-card { background: linear-gradient(135deg, #eef6ff, #f8fbff); padding: 34px 30px; }
.contact-card h3 { font-size: 32px !important; }
.contact-card__map { height: 196px; aspect-ratio: auto; border-radius: 12px; }
.contact-row { font-size: 21px; margin-top: 24px; }
.final-cta { margin-top: 28px; display: grid; grid-template-columns: 1fr 548px; border-radius: 18px; padding: 34px 40px; background: linear-gradient(135deg, #0a66ff, #004bea); }
.final-cta h2 { color: #fff; font-size: 42px; }
.final-cta p { color: rgba(255,255,255,.9); font-size: 20px; }
.final-cta__checks { gap: 42px; color: #fff; }

@media (max-width: 1023px) {
  .container { padding-inline: 20px; }
  .site-header { border-radius: 0; }
  .site-header .container { padding-block: 14px; }
  .brand { min-width: 0; }
  .brand__name { font-size: 26px; }
  .hero__grid, .problems__layout, .results__layout, .process__layout, .method__layout, .gallery, .faq-layout, .section-head--split, .final-cta, .home-band { grid-template-columns: 1fr; }
  .hero__grid, .hero__panel-left, .hero__media { min-height: 0; }
  .hero__media { height: 520px; }
  .quick-problems, .problems__grid, .outcome-row, .principles, .reviews-panel__grid { grid-template-columns: 1fr 1fr; }
  .side-panel { grid-template-columns: 1fr; }
  .side-panel__media { height: 360px; }
  .process-grid { margin-top: 0; }
  .process__media, .process__media img { min-height: 480px; }
  .feature-chips { grid-template-columns: 1fr 1fr; position: static; margin-top: 12px; }
}

@media (max-width: 767px) {
  .container { padding-inline: 16px; }
  .section { padding-block: 42px; }
  h1, .h1 { font-size: 38px; }
  h2, .h2 { font-size: 36px; }
  .lede { font-size: 18px; }
  .hero__panel-left { padding: 34px 24px; }
  .hero__media { height: 420px; }
  .hero__metrics, .cta-banner, .results__footer { flex-direction: column; align-items: flex-start; gap: 18px; }
  .quick-problems, .problems__grid, .results__side, .outcome-row, .process-grid, .principles, .reviews-panel__grid { grid-template-columns: 1fr; }
  .before-after { height: 360px; }
  .process-step, .process-step--final { padding-left: 116px; }
  .process-step__icon, .process-step--final .process-step__icon { left: 58px; }
  .process-step--final .process-step__num { width: 42px; height: 42px; font-size: 24px; }
  .process-cta { float: none; min-width: 0; width: 100%; }
  .feature-chips { grid-template-columns: 1fr; }
  .final-cta h2 { font-size: 32px; }
}

/* ==========================================================================
   Final fixes — resolve cross-layer cascade conflicts (24.08.2026)
   ========================================================================== */
.side-panel__media { width: 100%; aspect-ratio: auto; }
.side-panel__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Inner/detail page components (problem, service, legal templates) —
   added 24.08.2026. These classes had zero matching CSS anywhere in the
   file, so problem/service/legal/blog-archive pages rendered unstyled.
   Rules recovered from assets/css/reference.css (an orphaned layer that
   was never enqueued) and scoped to only the missing selectors.
   ========================================================================== */
.inner-hero { padding-top: 24px; }
.inner-hero .breadcrumbs { margin-bottom: 22px; }
.inner-hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); height: 570px; min-height: 570px; border-radius: 18px; overflow: hidden; background: #f5f8ff; }
.inner-hero__content { min-width: 0; padding: clamp(42px, 5vw, 76px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.inner-hero__content h1 { max-width: 760px; margin-top: 12px; font-size: clamp(42px, 4vw, 62px); }
.inner-hero__content .lede { max-width: 690px; margin-top: 22px; }
.inner-hero__content .btn { margin-top: 30px; }
.inner-hero__icon { margin-top: 22px; }
.inner-hero__icon img { width: 74px !important; height: 74px !important; }
.inner-hero__media { min-width: 0; min-height: 570px; margin: 0; overflow: hidden; }
.inner-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.inner-hero--specialisty .inner-hero__media img { object-position: center 24%; }
.inner-hero--results .inner-hero__media img { object-position: center top; }
.inner-hero--contacts .inner-hero__media img { object-position: center; }
.section--tint { background: #f5f8ff; }
.section-head--compact { max-width: 980px; margin-bottom: 32px; }
.section-head--compact h2 { margin-top: 12px; font-size: clamp(36px, 3.2vw, 52px); }
.section-head--compact .lede { margin-top: 18px; }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; }
.value-card { min-width: 0; min-height: 128px; display: flex; align-items: center; gap: 18px; padding: 24px; border: 1px solid var(--kz-border); border-radius: 8px; background: #fff; font-size: 18px; font-weight: 650; }
.value-card__icon { flex: 0 0 auto; }
.value-card p { min-width: 0; line-height: 1.45; }
.value-card strong { font-size: 19px; }
.split-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 58px; align-items: center; }
.split-feature--reverse .split-feature__media { order: 2; }
.split-feature__media { height: 560px; border-radius: 18px; overflow: hidden; }
.split-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.split-feature__content { min-width: 0; }
.split-feature__content h2 { margin-top: 12px; font-size: clamp(36px, 3.1vw, 52px); }
.split-feature__content .lede { margin-top: 18px; }
.feature-list { display: grid; gap: 0; margin-top: 26px; }
.feature-list li { min-width: 0; display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--kz-border-strong); font-size: 18px; }
.feature-list li > img { flex: 0 0 auto; }
.feature-list li span { min-width: 0; }
.feature-list li strong, .feature-list li small { display: block; }
.feature-list li small { margin-top: 5px; color: var(--kz-text-muted); font-size: 14px; line-height: 1.45; }
.notice-box { display: flex; align-items: flex-start; gap: 14px; margin-top: 26px; padding: 20px; border: 1px solid #bcd3ff; border-radius: 8px; background: #edf4ff; color: var(--kz-text-muted); line-height: 1.55; }
.notice-box > img { flex: 0 0 auto; margin-top: 1px; }
.notice-box--wide { max-width: none; margin-top: 28px; }
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-card { position: relative; min-width: 0; min-height: 286px; padding: 32px 26px; border: 1px solid var(--kz-border); border-radius: 8px; background: #fff; }
.step-card > span { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--kz-primary); color: #fff; font-size: 19px; font-weight: 800; }
.step-card > img { width: 72px !important; height: 72px !important; }
.step-card h3 { margin-top: 24px; font-size: 23px; }
.step-card p { margin-top: 12px; color: var(--kz-text-muted); line-height: 1.55; }
.related-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.related-links strong { margin-right: 4px; }
.related-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--kz-border); border-radius: 8px; background: #fff; font-weight: 650; }
.problem-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.directory-card { min-width: 0; min-height: 122px; display: grid; grid-template-columns: 64px minmax(0, 1fr) 24px; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--kz-border); border-radius: 8px; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.directory-card:hover { border-color: var(--kz-primary); transform: translateY(-2px); }
.directory-card > img:first-child { width: 60px !important; height: 60px !important; }
.directory-card > img:last-child { width: 22px !important; height: 22px !important; }
.directory-card span { min-width: 0; }
.directory-card strong, .directory-card small { display: block; }
.directory-card strong { font-size: 18px; line-height: 1.25; }
.directory-card small { margin-top: 7px; color: var(--kz-text-muted); font-size: 13px; line-height: 1.35; }
.diagnostic-timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.diagnostic-card { position: relative; min-width: 0; min-height: 154px; display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 20px; padding: 28px 30px 28px 74px; border: 1px solid var(--kz-border); border-radius: 8px; background: #fff; }
.diagnostic-card:last-child { grid-column: 1 / -1; }
.diagnostic-card__num { position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--kz-primary); color: #fff; font-weight: 800; font-size: 20px; }
.diagnostic-card > img { width: 72px !important; height: 72px !important; }
.diagnostic-card h3 { font-size: 21px; }
.diagnostic-card p { margin-top: 8px; color: var(--kz-text-muted); line-height: 1.45; }
.specialist-profile { display: grid; grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr); gap: 58px; align-items: center; }
.specialist-profile__photo { height: 620px; margin: 0; border-radius: 18px; overflow: hidden; }
.specialist-profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.specialist-profile__content { min-width: 0; }
.specialist-profile__content h2 { margin-top: 12px; font-size: clamp(38px, 3.2vw, 54px); }
.specialist-profile__content .lede, .specialist-profile__content > p:last-child { margin-top: 20px; }
.specialist-profile__content > p:last-child { color: var(--kz-text-muted); font-size: 18px; line-height: 1.6; }
.profile-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.profile-facts div { min-width: 0; padding: 20px; border-radius: 8px; background: #edf4ff; }
.profile-facts strong, .profile-facts span { display: block; }
.profile-facts strong { color: var(--kz-primary); font-size: 25px; overflow-wrap: anywhere; }
.profile-facts span { margin-top: 5px; color: var(--kz-text-muted); font-size: 13px; }
.result-gallery { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; }
.result-gallery article { min-width: 0; padding: 16px; border: 1px solid var(--kz-border); border-radius: 8px; background: #fff; }
.result-gallery h3 { margin: 0 0 14px; font-size: 21px; }
.result-gallery article > img { width: 100%; height: 360px; border-radius: 8px; object-fit: cover; }
.result-gallery .before-after { display: grid; grid-template-columns: 1fr 1fr; height: 360px; border-radius: 8px; overflow: hidden; }
.result-gallery .before-after figure { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.result-gallery .before-after figure + figure { border-left: 2px solid #fff; }
.result-gallery .before-after img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.result-gallery .before-after span { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 6px; background: rgba(255,255,255,.94); font-weight: 700; }
.contacts-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; }
.contact-panel { min-width: 0; padding: 42px; border-radius: 18px; background: #edf4ff; }
.contact-panel h2 { margin-top: 10px; font-size: 44px; }
.contact-panel__rows { margin-top: 26px; }
.contact-panel__rows > div { min-width: 0; display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--kz-border); }
.contact-panel__rows > div > img { flex: 0 0 auto; width: 48px !important; height: 48px !important; }
.contact-panel__rows span { min-width: 0; }
.contact-panel__rows small, .contact-panel__rows strong { display: block; }
.contact-panel__rows small { color: var(--kz-text-muted); font-size: 13px; }
.contact-panel__rows strong, .contact-panel__rows a { display: block; margin-top: 4px; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-map { min-height: 520px; border-radius: 18px; overflow: hidden; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-map .map-fallback { width: 100%; height: 100%; min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-map .map-fallback strong, .contact-map .map-fallback small { position: relative; z-index: 2; margin-top: 14px; }
.contact-map .map-fallback small { margin-top: 4px; color: var(--kz-text-muted); }
.center-gallery { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 18px; }
.center-gallery figure { height: 340px; margin: 0; border-radius: 18px; overflow: hidden; }
.center-gallery img { width: 100%; height: 100%; object-fit: cover; }
.inner-generic__layout { display: flex; justify-content: center; }
.paper-panel { width: min(100%, 960px); max-width: none; padding: 44px; border: 1px solid var(--kz-border); border-radius: 8px; background: #fff; }
.paper-panel h1 { font-size: clamp(36px, 4vw, 54px); }

/* Long-form problem pages: substantial migrated content with clear medical boundaries. */
.problem-copy { max-width: 1040px; }
.problem-copy__lead { max-width: 920px; margin: 0; color: var(--kz-text-muted); font-size: 19px; line-height: 1.72; }
.problem-copy__lead + .problem-copy__lead { margin-top: 18px; }
.problem-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; max-width: 1040px; margin: 0; padding: 0; list-style: none; }
.problem-checklist li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 16px 0; border-bottom: 1px solid var(--kz-border); color: var(--kz-text); font-size: 17px; line-height: 1.55; }
.problem-checklist li > img { flex: 0 0 auto; margin-top: 2px; }
.problem-alert { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: 42px; padding: clamp(28px, 4vw, 48px); border-radius: 8px; background: #102d62; color: #fff; }
.problem-alert .eyebrow { color: #86fbde; }
.problem-alert h2 { margin-top: 12px; color: #fff; font-size: clamp(32px, 3vw, 48px); }
.problem-alert p { margin-top: 16px; color: #d7e3f7; font-size: 16px; line-height: 1.6; }
.problem-alert ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.problem-alert li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.5; }
.problem-alert li::before { content: ""; position: absolute; left: 0; top: .48em; width: 11px; height: 11px; border-radius: 50%; background: #86fbde; }
.problem-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.problem-panel { padding: 30px; border: 1px solid var(--kz-border); border-radius: 8px; background: #fff; }
.problem-panel--home { border-color: #b9e9dd; background: #f3fcf9; }
.problem-panel h3 { margin: 0 0 20px; font-size: 26px; }
.problem-panel ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.problem-panel li { position: relative; padding-left: 24px; color: var(--kz-text-muted); font-size: 16px; line-height: 1.55; }
.problem-panel li::before { content: ""; position: absolute; left: 0; top: .58em; width: 8px; height: 8px; border-radius: 50%; background: var(--kz-primary); }
.problem-panel--home li::before { background: #138b70; }
.problem-faq { max-width: 980px; margin: 80px auto 52px; }
.problem-faq__item { border-top: 1px solid var(--kz-border-strong); }
.problem-faq__item:last-child { border-bottom: 1px solid var(--kz-border-strong); }
.problem-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; cursor: pointer; font-size: 20px; font-weight: 700; line-height: 1.35; list-style: none; }
.problem-faq__item summary::-webkit-details-marker { display: none; }
.problem-faq__item summary::after { content: "+"; flex: 0 0 auto; color: var(--kz-primary); font-size: 28px; font-weight: 400; }
.problem-faq__item[open] summary::after { content: "−"; }
.problem-faq__item p { max-width: 820px; margin: -2px 0 22px; color: var(--kz-text-muted); font-size: 17px; line-height: 1.65; }

@media (max-width: 767px) {
  .problem-copy__lead { font-size: 17px; }
  .problem-checklist, .problem-alert, .problem-columns { grid-template-columns: minmax(0, 1fr); }
  .problem-alert { gap: 28px; padding: 26px 20px; }
  .problem-panel { padding: 24px 20px; }
  .problem-faq { margin-top: 58px; }
  .problem-faq__item summary { font-size: 18px; }
}
.legal-page .paper-panel { line-height: 1.65; }
.legal-page .section-head { margin-bottom: 36px; }
.legal-page .entry-content h2 { font-size: 28px; }
.legal-page .entry-content ul { padding-left: 22px; }
.legal-page .entry-content li + li { margin-top: 8px; }
.blog-grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1023px) {
  .inner-hero__grid, .split-feature, .specialist-profile, .contacts-layout { grid-template-columns: minmax(0, 1fr); }
  .inner-hero__grid { height: auto; }
  .inner-hero__media { min-height: 480px; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-feature--reverse .split-feature__media { order: 0; }
  .result-gallery { grid-template-columns: 1fr 1fr; }
  .result-gallery__large { grid-column: 1 / -1; }
  .specialist-profile__photo { height: 560px; }
  .center-gallery { grid-template-columns: 1fr 1fr; }
  .center-gallery figure:first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .inner-hero { padding-top: 14px; }
  .inner-hero .breadcrumbs { margin-bottom: 14px; }
  .inner-hero__grid { min-height: 0; }
  .inner-hero__content { padding: 30px 22px; }
  .inner-hero__content h1 { font-size: 34px; line-height: 1.15; overflow-wrap: break-word; }
  .inner-hero__content .lede { margin-top: 16px; font-size: 17px; }
  .inner-hero__content .btn { width: 100%; justify-content: space-between; margin-top: 24px; padding-inline: 16px; font-size: 16px; }
  .inner-hero__icon { margin-top: 16px; }
  .inner-hero__icon img { width: 62px !important; height: 62px !important; }
  .inner-hero__media { min-height: 0; height: 410px; }
  .inner-hero--specialisty .inner-hero__media { height: 470px; }
  .section-head--compact { margin-bottom: 24px; }
  .section-head--compact h2, .split-feature__content h2 { font-size: 30px; line-height: 1.18; }
  .section-head--compact .lede, .split-feature__content .lede { font-size: 17px; }
  .value-grid, .value-grid--three, .steps-row, .problem-directory, .diagnostic-timeline, .result-gallery, .profile-facts, .center-gallery { grid-template-columns: minmax(0, 1fr); }
  .value-card { min-height: 92px; padding: 18px; font-size: 16px; }
  .value-card strong { font-size: 17px; }
  .split-feature { gap: 28px; }
  .split-feature__media { height: 400px; }
  .feature-list li { padding: 15px 0; font-size: 16px; }
  .notice-box { padding: 16px; font-size: 14px; }
  .step-card { min-height: 0; padding: 26px 22px; }
  .step-card h3 { font-size: 21px; }
  .related-links { align-items: stretch; flex-direction: column; }
  .related-links a { justify-content: space-between; width: 100%; }
  .directory-card { min-height: 104px; grid-template-columns: 54px minmax(0, 1fr) 22px; gap: 12px; padding: 16px; }
  .directory-card > img:first-child { width: 52px !important; height: 52px !important; }
  .directory-card strong { font-size: 16px; }
  .diagnostic-card, .diagnostic-card:last-child { grid-column: auto; grid-template-columns: 58px minmax(0, 1fr); min-height: 0; padding: 58px 18px 22px; }
  .diagnostic-card > img { width: 56px !important; height: 56px !important; }
  .diagnostic-card h3 { font-size: 18px; }
  .diagnostic-card p { font-size: 14px; }
  .specialist-profile { gap: 28px; }
  .specialist-profile__photo { height: 470px; }
  .specialist-profile__content h2 { font-size: 32px; overflow-wrap: anywhere; }
  .specialist-profile__content .lede, .specialist-profile__content > p:last-child { font-size: 16px; }
  .profile-facts div { padding: 16px; }
  .result-gallery__large { grid-column: auto; }
  .result-gallery article > img, .result-gallery .before-after { height: 310px; }
  .result-gallery h3 { font-size: 18px; }
  .contact-panel { padding: 28px 20px; }
  .contact-panel h2 { font-size: 32px; }
  .contact-panel__rows strong, .contact-panel__rows a { font-size: 16px; }
  .contact-actions, .contact-actions .btn { width: 100%; }
  .contact-map, .contact-map .map-fallback { min-height: 360px; }
  .center-gallery figure, .center-gallery figure:first-child { grid-column: auto; height: 260px; }
  .paper-panel { padding: 26px 20px; }
  .paper-panel h1 { font-size: 32px; }
  .legal-page .paper-panel h1 { font-size: 28px; overflow-wrap: normal; word-break: normal; }
  .blog-grid--archive { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .inner-hero__content h1 { font-size: 30px; }
  .directory-card { grid-template-columns: 48px minmax(0, 1fr) 20px; }
  .directory-card > img:first-child { width: 46px !important; height: 46px !important; }
  .result-gallery .before-after { height: 280px; }
}

/* ---- targeted fixes found during full-site cascade audit (24.08.2026) ---- */

/* Results section: real before/after case photo was hidden by a leftover
   rule from an earlier before/after-figure markup design that no longer
   matches the actual single-<img> markup in front-page.php. */
.result-case-card__media > img { display: block; }

/* Results section: quote card's absolutely-positioned mark icon lost its
   reserved left padding when the last cascade layer redefined .quote-card
   padding, causing the icon to overlap the quote text. */
.quote-card { padding-left: 92px; }
.quote-card__mark { position: absolute; left: 34px; top: 34px; }

/* Hero H1: seven competing .hero__content h1 rules layered over the file
   set different font-size/max-width combos per breakpoint; at several
   in-between viewport widths the winning combo leaves "восстановления"
   just wide enough to trigger overflow-wrap:break-word, splitting the
   word mid-syllable instead of wrapping it whole to the next line. */
.hero__content h1,
.inner-hero__content h1 { overflow-wrap: normal; word-break: normal; }

/* Hero panel: several layers pin .hero__grid/.hero__panel-left/.hero__media
   to an explicit height:666px (not just min-height), and .hero__panel-left
   is a centered flexbox with overflow:hidden. Combined with the h1 fix
   above (whole words now wrap to more/taller lines on mid-width viewports),
   content taller than 666px was being clipped top and bottom instead of
   growing the panel. Let both columns grow with their content instead. */
.hero__grid,
.hero__panel-left,
.hero__media { height: auto; }
.hero__panel-left { overflow: visible; }

/* Outcome cards (Results section): grid items default to min-width:auto,
   so a `repeat(3, 1fr)` row won't shrink a column below its text's natural
   content width. Between ~1024-1439px that content width exceeds an equal
   1/3 share, so the row silently overflows its card — which has
   overflow:hidden — clipping the third card's text. min-width:0 lets the
   columns actually share the row equally and wrap their text instead. */
.outcome-card { min-width: 0; }

/* Results section stat badge — new third item in the header row; the
   winning .section-head--split layer is a fixed 2-column grid, so give
   this specific header its own flex layout instead of fighting that grid.
   The lede and badge are grouped in one wrapper so they move as a single
   unit (matching the reference, where they always sit side by side) and
   only that unit wraps below the heading on narrow screens — instead of
   the badge wrapping independently onto its own line. */
/* Grid, not flex: flex-wrap let the whole lede+badge group fall onto its
   own full-width line whenever heading + group's combined natural widths
   exceeded the container (the wrap threshold depends on exact heading
   text length, so it broke unpredictably). Fixed grid columns guarantee
   the group always stays beside the heading — content shrinks/wraps
   inside its own column instead of the column itself dropping a line. */
#results .section-head--split { display: grid; grid-template-columns: minmax(600px, 1fr) minmax(0, 660px); align-items: flex-start; gap: var(--space-6); }
@media (max-width: 900px) { #results .section-head--split { grid-template-columns: 1fr; } }
.results__lede-group { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-6); justify-content: flex-end; margin-top: 40px; }
.results__lede-group .lede { flex: 1 1 280px; max-width: 390px; }
.results__badge { display: flex; align-items: center; gap: var(--space-3); flex: 0 0 auto; }
.results__badge .icon-badge { margin-bottom: 0; }
.results__badge-value { display: block; font-size: 22px; font-weight: 800; color: var(--kz-text); }
.results__badge-label { display: block; font-size: 13px; color: var(--kz-text-muted); max-width: 140px; }

/* Article template (single.php): author byline + related-articles grid. */
.article-author {
  display: flex; align-items: center; gap: var(--space-4);
  margin-top: var(--space-8); padding: var(--space-5);
  background: var(--kz-surface-blue); border-radius: var(--radius-lg);
}
.article-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.article-author strong { display: block; font-size: 16px; }
.article-author span { display: block; margin-top: 2px; font-size: 14px; color: var(--kz-text-muted); }
.related-articles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-5); margin-top: var(--space-8); }
@media (max-width: 1023px) { .related-articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .related-articles { grid-template-columns: 1fr; } }

/* Diagnostics section: the "Результат диагностики" checklist card should
   float over the bottom-left of the process photo (matching the hero and
   specialist-photo overlay pattern), not sit as a separate block below it. */
.process__checklist-float {
  position: absolute; left: 24px; bottom: 24px; right: 24px; max-width: 360px;
  padding: 20px; z-index: 2; background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-hover);
}
@media (max-width: 480px) { .process__checklist-float { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* The floating checklist card lives inside .process__media (so it can be
   positioned over the photo), but that means its tiny check-icon <img>s
   also match the generic ".process__media img" rule meant for the big
   photo itself, stretching a 16px checkmark into a 675px-tall sliver. */
.process__checklist-float img { width: 16px !important; height: 16px !important; min-height: 0 !important; object-fit: contain !important; }

/* Method and specialist — reference composition. The portrait asset stays unchanged. */
#method { padding-block: 20px; background: #fff !important; }
#method .container { max-width: 1536px; padding: 40px 78px 38px; border: 1px solid #d7dce5; border-radius: 16px; }
#method .section-head { max-width: 1120px; margin-bottom: 20px; }
#method .section-head .eyebrow { margin-bottom: 12px; font-size: 18px; }
#method .section-head h2 { max-width: 1100px; font-size: clamp(40px, 4vw, 56px); line-height: 1.13; letter-spacing: -0.025em; }
#method .section-head .lede { margin-top: 10px !important; font-size: 19px; }
#method .method__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 62px; align-items: center; }
#method .specialist-photo { width: 100%; min-height: 0; height: auto; aspect-ratio: 4 / 3; border-radius: 20px; }
#method .specialist-photo > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: top center; }
#method .specialist-photo .stat-pin { left: 22px; bottom: 22px; width: 220px; padding: 18px 20px; gap: 14px; border-radius: 16px; background: rgba(255,255,255,.96); }
#method .stat-pin .metric { gap: 14px; }
#method .stat-pin .metric__icon { width: 52px; height: 52px; border-radius: 14px; }
#method .stat-pin .metric__icon img { width: 30px !important; height: 30px !important; object-fit: contain; }
#method .stat-pin .metric__value { font-size: 25px; line-height: 1; }
#method .stat-pin .metric__label { font-size: 13px; }
#method .method__content { min-width: 0; }
#method .specialist-info__name { font-size: clamp(28px, 2.1vw, 36px); line-height: 1.15; }
#method .specialist-info__role { margin-top: 10px; font-size: 18px; }
#method .specialist-info .lede { margin-top: 18px; font-size: 16px; line-height: 1.55; }
#method .principles { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
#method .principle-card { position: relative; min-height: 292px; padding: 56px 18px 24px; overflow: hidden; text-align: center; border: 1px solid #d7e4f8; border-radius: 18px; background: #fff; box-shadow: none; }
#method .principle-card__number { position: absolute; top: 16px; left: 16px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--kz-primary); color: #fff; font-size: 20px; font-weight: 800; }
#method .principle-card .icon-badge { width: 82px; height: 82px; margin: 0 auto 14px; border-radius: 50%; background: #e9f0ff; }
#method .principle-card .icon-badge img { width: 42px !important; height: 42px !important; }
#method .principle-card h3 { min-height: 52px; font-size: 17px; line-height: 1.3; }
#method .principle-card p { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #bfd6fa; font-size: 13px; line-height: 1.45; }
#method .principle-card__check { position: absolute; left: 16px; bottom: 16px; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--kz-mint); border-radius: 50%; color: var(--kz-mint-dark); }
#method .principle-card__check img { width: 14px !important; height: 14px !important; object-fit: contain; }
#method .home-band { grid-template-columns: minmax(270px, .9fr) minmax(300px, 1.1fr) auto; gap: 28px; min-height: 198px; margin-top: 26px; padding: 0 32px 0 40px; border: 1px solid #bfd6fa; border-radius: 20px; background: linear-gradient(90deg, #f1f6ff 0%, #e5efff 100%); }
#method .home-band__content h3 { font-size: 27px; line-height: 1.25; }
#method .home-band__content p { font-size: 15px; line-height: 1.45; }
#method .home-band__media { width: 100%; height: 196px; border-radius: 0; }
#method .home-band__media img { object-position: center; }
#method .home-band .btn { height: 56px; padding-inline: 24px; font-size: 16px; }
@media (max-width: 1023px) {
  #method .container { padding: 32px 24px; }
  #method .method__layout { grid-template-columns: 1fr; gap: 32px; }
  #method .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #method .home-band { grid-template-columns: 1fr; padding: 28px; }
  #method .home-band__media { height: 240px; }
  #method .home-band .btn { justify-self: start; }
}
@media (max-width: 767px) {
  #method { padding-block: 10px; }
  #method .container { padding: 28px 16px; border-radius: 12px; }
  #method .section-head h2 { font-size: 34px; }
  #method .section-head .lede { font-size: 17px; }
  #method .principles { grid-template-columns: 1fr; }
  #method .principle-card { min-height: 0; }
  #method .home-band { padding: 24px; }
  #method .home-band__content h3 { font-size: 24px; }
}

/* Keep the portrait and the three method cards on one shared bottom line. */
@media (min-width: 1024px) {
  #method .method__layout { align-items: stretch; }
  #method .specialist-photo { height: auto; aspect-ratio: auto; }
}
#method .principle-card { display: flex; flex-direction: column; padding-bottom: 18px; }
#method .principle-card__check { position: static; align-self: flex-start; margin-top: auto; flex: 0 0 auto; }

/* SmartWidgets reviews: give the external widget the same visual frame as site sections. */
.reviews-widget {
  margin-top: 48px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--kz-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #f5f9ff 0%, #eef5ff 100%);
}
.reviews-widget .sw-app { min-height: 120px; }
@media (max-width: 767px) {
  .reviews-widget { margin-top: 32px; padding: 16px; border-radius: var(--radius-lg); }
}

/* Telegram subscription callout */
.telegram-band {
  margin-top: 44px;
  min-height: 154px;
  padding: 24px 64px;
  border: 1px solid #d5e2f8;
  border-radius: 24px;
  background: linear-gradient(105deg, #f5f9ff 0%, #eaf2ff 100%);
}
.telegram-band__text { gap: 28px; }
.telegram-band__text:hover h3 { color: var(--kz-primary); }
.telegram-icon {
  width: 104px;
  height: 104px;
  background: linear-gradient(145deg, #39b8f1 0%, #168fd5 100%);
  box-shadow: 0 10px 24px rgba(30, 150, 218, .18);
}
.telegram-icon img { width: 50px !important; height: 50px !important; }
.telegram-band h3 { font-size: 28px !important; line-height: 1.2; }
.telegram-band .muted { margin-top: 6px; font-size: 18px; }
.telegram-band .btn {
  min-width: 360px;
  height: 76px;
  padding-inline: 34px;
  border-radius: 20px;
  font-size: 22px;
}
.telegram-band .btn-arrow { width: 42px; height: 42px; margin-left: 18px; background: #fff; color: var(--kz-primary); }
.telegram-band .btn-arrow img { filter: none; }
@media (max-width: 1023px) {
  .telegram-band { padding: 24px 32px; }
  .telegram-band .btn { min-width: auto; height: 60px; font-size: 18px; }
}
@media (max-width: 767px) {
  .telegram-band { margin-top: 32px; padding: 22px; border-radius: 18px; }
  .telegram-band__text { gap: 16px; }
  .telegram-icon { width: 64px; height: 64px; }
  .telegram-icon img { width: 30px !important; height: 30px !important; }
  .telegram-band h3 { font-size: 20px !important; }
  .telegram-band .muted { font-size: 15px; }
  .telegram-band .btn { width: 100%; height: 56px; font-size: 17px; }
}

/* FAQ and final CTA — reference composition */
#faq { padding-top: 36px; }
#faq .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(470px, .86fr); gap: 84px; align-items: start; }
#faq .section-head { position: relative; max-width: 700px; margin-bottom: 24px; }
#faq .section-head::before { content: ""; position: absolute; left: -44px; top: 38px; width: 32px; height: 92px; opacity: .7; background-image: radial-gradient(#8ec1ff 1px, transparent 1px); background-size: 8px 8px; }
#faq .section-head h2 { max-width: 720px; font-size: clamp(40px, 3.4vw, 56px); }
#faq .accordion-item { margin-bottom: 10px; border-radius: 14px; }
#faq .accordion-trigger { min-height: 56px; padding: 14px 28px; font-size: 17px; }
#faq .accordion-panel__inner { margin: 0 28px 16px; padding: 10px 14px; font-size: 15px; line-height: 1.45; }
#faq .accordion-icon { width: 28px; height: 28px; border: 1px solid var(--kz-primary); border-radius: 50%; display: grid; place-items: center; color: var(--kz-primary); }
#faq .accordion-icon img { width: 14px !important; height: 14px !important; }
#faq .contact-card { padding: 28px 30px; border: 0; border-radius: 18px; background: linear-gradient(135deg, #edf4ff 0%, #f4f8ff 100%); }
#faq .contact-card h3 { margin-bottom: 20px !important; font-size: 28px !important; }
#faq .contact-card__map { height: 198px; border-radius: 14px; border: 1px solid rgba(255,255,255,.9); }
#faq .contact-row { margin-top: 18px; padding-bottom: 16px; border-bottom: 1px solid #d5e3f8; font-size: 18px; }
#faq .contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
#faq .contact-row svg { color: var(--kz-mint-dark); }
#faq .contact-row a { display: inline-flex; align-items: center; gap: 14px; }
#faq .contact-row a svg { flex: 0 0 auto; }
#faq .final-cta { min-height: 270px; margin-top: 28px; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); border-radius: 18px; padding: 34px 40px; }
#faq .final-cta h2 { font-size: clamp(34px, 3vw, 46px); }
#faq .final-cta__primary { width: 100%; min-height: 78px; display: flex; font-size: 19px; }
#faq .final-cta__primary .btn-arrow { background: var(--kz-primary); color: #fff; }
#faq .final-cta__buttons-row { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
#faq .final-cta__buttons-row .btn { min-height: 60px; justify-content: center; border-color: rgba(255,255,255,.88); color: #fff; }
@media (max-width: 1023px) {
  #faq .faq-layout, #faq .final-cta { grid-template-columns: 1fr; gap: 28px; }
  #faq .section-head::before { display: none; }
}
@media (max-width: 767px) {
  #faq .contact-card { padding: 22px; }
  #faq .final-cta { padding: 28px 22px; }
  #faq .final-cta__buttons-row { grid-template-columns: 1fr; }
}

/* Keep the final CTA in the reference's two-column layout through tablet widths. */
@media (min-width: 768px) and (max-width: 1023px) {
  #faq .final-cta { grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: 28px; }
  #faq .final-cta h2 { font-size: 34px; }
  #faq .final-cta__buttons-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #faq .final-cta__buttons-row .btn { padding-inline: 14px; font-size: 16px; }
}

/* Final call-to-action: proportions and hierarchy from the approved reference. */
@media (min-width: 1024px) {
  #faq .final-cta { min-height: 270px; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 32px; overflow: hidden; position: relative; }
  #faq .final-cta::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: -28px;
    bottom: -20px;
    width: 370px;
    height: 205px;
    pointer-events: none;
    opacity: .33;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 370 205'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.3'%3E%3Cpath d='M-35 162 C45 72 105 228 188 126 S302 39 405 100'/%3E%3Cpath d='M-35 178 C48 91 110 242 193 141 S310 52 405 115'/%3E%3Cpath d='M-35 194 C51 109 115 257 198 157 S318 66 405 130'/%3E%3Cpath d='M-35 146 C42 55 100 211 183 110 S294 25 405 85'/%3E%3C/g%3E%3C/svg%3E") right bottom / contain no-repeat;
  }
  #faq .final-cta > * { position: relative; z-index: 1; }
  #faq .final-cta h2 { max-width: none; font-size: 34px; line-height: 1.12; }
  #faq .final-cta p[style] { max-width: 640px !important; font-size: 18px; line-height: 1.42; }
  #faq .final-cta__checks { gap: 36px; font-size: 16px; }
  #faq .final-cta__actions { width: 100%; }
  #faq .final-cta__primary { min-height: 72px; font-size: 18px; }
  #faq .final-cta__primary .btn-arrow { width: 44px; height: 44px; margin-left: 18px; flex: 0 0 44px; }
  #faq .final-cta__primary .btn-arrow img { width: 20px !important; height: 20px !important; filter: brightness(0) invert(1); }
  #faq .final-cta__buttons-row { margin-top: 14px; gap: 16px; }
  #faq .final-cta__buttons-row .btn { min-height: 58px; font-size: 17px; }
  #faq .final-cta__buttons-row .btn img { width: 30px !important; height: 30px !important; filter: brightness(0) invert(1); }
}

/* Header final alignment — placed last to override legacy responsive rules. */
@media (min-width: 1361px) {
  .site-header .container { padding-block: 18px; gap: 22px; }
  .site-header .brand { min-width: 282px; gap: 14px; }
  .site-header .brand__logo { width: 46px; height: 46px; }
  .site-header .brand__name { font-size: 34px; }
  .site-header .brand__descriptor { font-size: 14px; }
  .site-header .locality { margin-left: 0; gap: 7px; }
  .site-header .locality svg:last-child { width: 14px; height: 14px; }
  .site-header .main-nav { gap: 30px; }
  .site-header .header-actions { gap: 22px; }
  .site-header .header-cta { min-height: 50px; padding: 12px 28px; font-size: 18px; }
}
@media (max-width: 1360px) {
  .site-header .main-nav,
  .site-header .header-phone,
  .site-header .header-cta { display: none; }
  .site-header .container { padding-block: 16px; }
  .site-header .brand { min-width: 0; gap: 12px; }
  .site-header .brand__logo { width: 42px; height: 42px; }
  .site-header .brand__name { font-size: 28px; }
  .site-header .brand__descriptor { font-size: 13px; }
  .site-header .locality { margin-left: auto; gap: 6px; }
  .site-header .locality svg:last-child { width: 13px; height: 13px; }
  .site-header .hamburger { display: inline-flex; }
}
@media (max-width: 640px) {
  .site-header { border-radius: 0; }
  .site-header .container { padding-block: 12px; gap: 12px; }
  .site-header .brand__logo { width: 36px; height: 36px; }
  .site-header .brand__name { font-size: 23px; }
  .site-header .brand__descriptor { font-size: 11px; }
  .site-header .locality { font-size: 15px; }
}

/* Article diagnostic form: independent from the blue footer lead form.
   This is deliberately last: old theme layers and the shared form CSS must
   never leak white text, oversized controls or broken columns into it. */
.entry-content.entry-content--article .article-diagnostic-cta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px) !important;
  align-items: center !important;
  gap: 40px !important;
  padding: 40px !important;
  background: linear-gradient(135deg, #f5f9ff 0%, #eaf4ff 100%) !important;
}
.entry-content.entry-content--article .article-diagnostic-cta__copy { min-width: 0; }
.entry-content.entry-content--article .article-diagnostic-cta__copy .quote-card__mark {
  position: static !important;
  display: block !important;
  margin: 0 0 20px !important;
  color: #1261f4 !important;
  font-size: 30px !important;
  line-height: 1 !important;
}
.entry-content.entry-content--article .article-diagnostic-cta__copy > p {
  margin: 0 !important;
  max-width: 760px !important;
  color: #102c5c !important;
  font-size: clamp(22px, 2vw, 30px) !important;
  font-weight: 700 !important;
  line-height: 1.34 !important;
}
.entry-content.entry-content--article .article-diagnostic-cta__copy cite {
  margin-top: 20px !important;
  color: #506b97 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}
.entry-content.entry-content--article .article-diagnostic-cta__form { width: 100% !important; min-width: 0 !important; }
.entry-content.entry-content--article .article-diagnostic-cta .lead-form--compact {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 28px !important;
  border: 1px solid #d4e2f7 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 14px 32px rgba(26, 76, 147, .13) !important;
}
.entry-content.entry-content--article .article-diagnostic-cta .lead-form--compact__title {
  margin: 0 0 8px !important;
  color: #102c5c !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
}
.entry-content.entry-content--article .article-diagnostic-cta .lead-form--compact__hint {
  margin: 0 0 18px !important;
  color: #58709a !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
.entry-content.entry-content--article .article-diagnostic-cta .lead-form__row { margin: 0 0 10px !important; }
.entry-content.entry-content--article .article-diagnostic-cta .lead-form--compact input,
.entry-content.entry-content--article .article-diagnostic-cta .lead-form--compact select {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 15px !important;
  border: 1px solid #d3e1f5 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #19385f !important;
  font-size: 15px !important;
}
.entry-content.entry-content--article .article-diagnostic-cta .lead-form--compact input::placeholder { color: #7e94b5 !important; opacity: 1 !important; }
.entry-content.entry-content--article .article-diagnostic-cta .lead-form__consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  gap: 9px !important;
  align-items: start !important;
  margin: 14px 0 !important;
  color: #58709a !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}
.entry-content.entry-content--article .article-diagnostic-cta .lead-form__consent input {
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: #1261f4;
}
.entry-content.entry-content--article .article-diagnostic-cta .lead-form__consent a { color: #1261f4 !important; }
.entry-content.entry-content--article .article-diagnostic-cta .lead-form--compact .btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #1261f4 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer;
}
.entry-content.entry-content--article .article-diagnostic-cta .lead-form--compact__channels {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-top: 12px !important;
}
.entry-content.entry-content--article .article-diagnostic-cta .lead-form--compact__channels a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  border: 1px solid #cbdcf5 !important;
  border-radius: 10px !important;
  color: #1261f4 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
@media (max-width: 900px) {
  .entry-content.entry-content--article .article-diagnostic-cta { grid-template-columns: 1fr !important; gap: 26px !important; }
}
@media (max-width: 560px) {
  .entry-content.entry-content--article .article-diagnostic-cta { padding: 24px !important; }
  .entry-content.entry-content--article .article-diagnostic-cta .lead-form--compact { padding: 20px !important; }
  .entry-content.entry-content--article .article-diagnostic-cta__copy > p { font-size: 23px !important; }
}

/* Value-led diagnostic offer used in editorial articles. It explains the
   parent outcome before asking for contact details. */
.entry-content--article .article-diagnostic-offer {
  width: min(1180px, 100%);
  margin: 56px auto;
  overflow: hidden;
  border: 1px solid #cfe0fb;
  border-radius: 28px;
  background: #f7faff;
  box-shadow: 0 22px 60px rgba(29, 75, 142, .12);
}
.entry-content--article .article-diagnostic-offer__intro {
  padding: 42px 44px 30px;
  text-align: center;
}
.entry-content--article .article-diagnostic-offer__intro .article-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #e5efff;
  color: #1261f4;
}
.entry-content--article .article-diagnostic-offer__intro h2 {
  max-width: 900px;
  margin: 0 auto;
  color: #102c5c;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.12;
}
.entry-content--article .article-diagnostic-offer__intro p {
  max-width: 860px;
  margin: 18px auto 0;
  color: #506b97;
  font-size: 18px;
  line-height: 1.58;
}
.entry-content--article .article-diagnostic-offer__route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  padding: 0 32px 36px;
}
.entry-content--article .article-diagnostic-offer__route-card {
  position: relative;
  min-width: 0;
  padding: 26px 24px 24px;
  border: 1px solid #d9e7fa;
  border-radius: 18px;
  background: #fff;
}
.entry-content--article .article-diagnostic-offer__route-card > span {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #a4b9d9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}
.entry-content--article .article-diagnostic-offer__route-card img {
  width: 48px !important;
  height: 48px !important;
  margin: 0 0 16px !important;
  object-fit: contain;
}
.entry-content--article .article-diagnostic-offer__route-card strong {
  display: block;
  color: #102c5c;
  font-size: 20px;
  line-height: 1.25;
}
.entry-content--article .article-diagnostic-offer__route-card p {
  margin: 10px 0 0;
  color: #58709a;
  font-size: 15px;
  line-height: 1.5;
}
.entry-content--article .article-diagnostic-offer__route-arrow {
  display: grid;
  place-items: center;
  color: #1261f4;
  font-size: 28px;
  font-weight: 700;
}
.entry-content--article .article-diagnostic-offer__scan {
  margin: 0 32px 32px;
  padding: 32px;
  border: 1px solid #d7e5f9;
  border-radius: 22px;
  background: #fff;
}
.entry-content--article .article-diagnostic-offer__scan-heading {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}
.entry-content--article .article-diagnostic-offer__metric {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 126px;
  border-radius: 18px;
  background: linear-gradient(145deg, #1261f4, #16488f);
  color: #fff;
}
.entry-content--article .article-diagnostic-offer__metric strong {
  font-size: 58px;
  line-height: 1;
}
.entry-content--article .article-diagnostic-offer__metric span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}
.entry-content--article .article-diagnostic-offer__scan-heading .article-diagnostic-offer__eyebrow { color: #1261f4; }
.entry-content--article .article-diagnostic-offer__scan-heading h3 {
  margin: 7px 0 8px;
  color: #102c5c;
  font-size: 29px;
  line-height: 1.18;
}
.entry-content--article .article-diagnostic-offer__scan-heading p {
  margin: 0;
  color: #58709a;
  font-size: 16px;
  line-height: 1.5;
}
.entry-content--article .article-diagnostic-offer__scan-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
}
.entry-content--article .article-diagnostic-offer__scan-grid > div {
  grid-column: span 2;
  min-width: 0;
  padding: 19px;
  border-radius: 15px;
  background: #f4f8ff;
}
.entry-content--article .article-diagnostic-offer__scan-grid > div:nth-last-child(-n+2) { grid-column: span 3; }
.entry-content--article .article-diagnostic-offer__scan-grid img {
  width: 36px !important;
  height: 36px !important;
  margin: 0 0 12px !important;
  object-fit: contain;
}
.entry-content--article .article-diagnostic-offer__scan-grid p {
  margin: 0;
  color: #445f89;
  font-size: 14px;
  line-height: 1.47;
}
.entry-content--article .article-diagnostic-offer__scan-grid strong { color: #102c5c; }
.entry-content--article .article-diagnostic-offer__scan-summary {
  margin: 14px 0 0;
  padding: 17px 19px;
  border-left: 4px solid #70ead0;
  border-radius: 0 12px 12px 0;
  background: #eefbf7;
  color: #294e68;
  font-size: 15px;
  line-height: 1.5;
}
.entry-content--article .article-diagnostic-offer__method {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  margin: 0 32px 36px;
  padding: 30px 32px;
  border-radius: 22px;
  background: #eaf3ff;
}
.entry-content--article .article-diagnostic-offer__method .article-diagnostic-offer__eyebrow { color: #1261f4; }
.entry-content--article .article-diagnostic-offer__method h3 {
  margin: 9px 0 12px;
  color: #102c5c;
  font-size: 27px;
  line-height: 1.2;
}
.entry-content--article .article-diagnostic-offer__method p {
  margin: 0;
  color: #506b97;
  font-size: 15px;
  line-height: 1.52;
}
.entry-content--article .article-diagnostic-offer__method-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.entry-content--article .article-diagnostic-offer__method-list span {
  position: relative;
  padding: 13px 13px 13px 36px;
  border: 1px solid #d5e4fa;
  border-radius: 12px;
  background: #fff;
  color: #294e75;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.entry-content--article .article-diagnostic-offer__method-list span::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #36d6b3;
  box-shadow: 0 0 0 4px #e5fbf6;
}
.entry-content--article .article-diagnostic-offer__method-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 18px;
  border-radius: 13px;
  background: #fff;
  color: #445f89;
  font-size: 14px;
  line-height: 1.5;
}
.entry-content--article .article-diagnostic-offer__method-note strong { color: #102c5c; }
.entry-content--article .article-diagnostic-offer__indications {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
  margin: 0 32px 36px;
  padding: 28px 32px;
  border: 1px solid #d8e6f9;
  border-radius: 22px;
  background: #fff;
}
.entry-content--article .article-diagnostic-offer__indications .article-diagnostic-offer__eyebrow { color: #1261f4; }
.entry-content--article .article-diagnostic-offer__indications h3 {
  margin: 8px 0 0;
  color: #102c5c;
  font-size: 26px;
  line-height: 1.2;
}
.entry-content--article .article-diagnostic-offer__indications ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.entry-content--article .article-diagnostic-offer__indications li {
  position: relative;
  margin: 0;
  padding: 13px 14px 13px 38px;
  border-radius: 12px;
  background: #f4f8ff;
  color: #39567e;
  font-size: 14px;
  line-height: 1.4;
}
.entry-content--article .article-diagnostic-offer__indications li::before {
  content: "✓";
  position: absolute;
  top: 13px;
  left: 13px;
  color: #17aa8c;
  font-weight: 900;
}
.entry-content--article .article-diagnostic-offer__outcome {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 34px;
  align-items: center;
  padding: 42px;
  background: linear-gradient(135deg, #102c5c 0%, #1261f4 100%);
}
.entry-content--article .article-diagnostic-offer__outcome-copy,
.entry-content--article .article-diagnostic-offer__form { min-width: 0; }
.entry-content--article .article-diagnostic-offer__eyebrow {
  color: #70ead0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.entry-content--article .article-diagnostic-offer__outcome-copy h3 {
  margin: 11px 0 22px;
  color: #fff;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.18;
}
.entry-content--article .article-diagnostic-offer__outcome-copy ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.entry-content--article .article-diagnostic-offer__outcome-copy li {
  position: relative;
  margin: 0;
  padding-left: 34px;
  color: #e7efff;
  font-size: 16px;
  line-height: 1.48;
}
.entry-content--article .article-diagnostic-offer__outcome-copy li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #70ead0;
  color: #102c5c;
  font-size: 13px;
  font-weight: 900;
}
.entry-content--article .article-diagnostic-offer__outcome-copy li strong { color: #fff; }
.entry-content--article .article-diagnostic-offer__boundary {
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #d7e4fa;
  font-size: 13px;
  line-height: 1.45;
}
.entry-content--article .article-diagnostic-offer__form {
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(2, 22, 58, .25);
}
.entry-content--article .article-diagnostic-offer__specialist {
  position: relative;
  margin: -26px -26px 20px !important;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.entry-content--article .article-diagnostic-offer__specialist > img {
  display: block;
  width: 100% !important;
  height: 190px !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center 27%;
}
.entry-content--article .article-diagnostic-offer__specialist figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(7, 35, 82, .88);
  backdrop-filter: blur(6px);
  color: #fff;
}
.entry-content--article .article-diagnostic-offer__specialist figcaption strong {
  display: block;
  font-size: 15px;
}
.entry-content--article .article-diagnostic-offer__specialist figcaption span {
  display: block;
  margin-top: 3px;
  color: #d8e7ff;
  font-size: 10px;
  line-height: 1.3;
}
.entry-content--article .article-diagnostic-offer__price {
  margin-bottom: 18px;
  padding: 15px 17px;
  border: 1px solid #bfeee4;
  border-radius: 14px;
  background: #edfbf8;
}
.entry-content--article .article-diagnostic-offer__price > span {
  display: block;
  color: #47746c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.entry-content--article .article-diagnostic-offer__price > strong {
  display: block;
  margin-top: 4px;
  color: #102c5c;
  font-size: 18px;
  line-height: 1.25;
}
.entry-content--article .article-diagnostic-offer__price > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 8px;
}
.entry-content--article .article-diagnostic-offer__price del {
  color: #7b8fae;
  font-size: 18px;
}
.entry-content--article .article-diagnostic-offer__price b {
  color: #1261f4;
  font-size: 32px;
  line-height: 1;
}
.entry-content--article .article-diagnostic-offer__form-head { margin-bottom: 18px; }
.entry-content--article .article-diagnostic-offer__form-head strong {
  display: block;
  color: #102c5c;
  font-size: 23px;
  line-height: 1.25;
}
.entry-content--article .article-diagnostic-offer__form-head span {
  display: block;
  margin-top: 7px;
  color: #58709a;
  font-size: 13px;
  line-height: 1.4;
}
.entry-content--article .article-diagnostic-offer .lead-form--compact {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.entry-content--article .article-diagnostic-offer .lead-form--compact__title,
.entry-content--article .article-diagnostic-offer .lead-form--compact__hint { display: none !important; }
.entry-content--article .article-diagnostic-offer .lead-form__row { margin: 0 0 10px !important; }
.entry-content--article .article-diagnostic-offer .lead-form--compact input,
.entry-content--article .article-diagnostic-offer .lead-form--compact select {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 14px !important;
  border: 1px solid #d3e1f5 !important;
  border-radius: 11px !important;
  background: #f9fbff !important;
  color: #19385f !important;
}
.entry-content--article .article-diagnostic-offer .lead-form--compact input::placeholder {
  color: #7e94b5 !important;
  opacity: 1 !important;
}
.entry-content--article .article-diagnostic-offer .lead-form__consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  gap: 9px !important;
  align-items: start !important;
  margin: 13px 0 !important;
  color: #58709a !important;
  font-size: 12px !important;
}
.entry-content--article .article-diagnostic-offer .lead-form__consent input {
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: #1261f4;
}
.entry-content--article .article-diagnostic-offer .lead-form--compact .btn {
  width: 100% !important;
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #1261f4 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}
.entry-content--article .article-diagnostic-offer .lead-form--compact__channels {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 9px !important;
  margin-top: 10px !important;
}
.entry-content--article .article-diagnostic-offer .lead-form--compact__channels a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  border: 1px solid #cbdcf5 !important;
  border-radius: 10px !important;
  color: #1261f4 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
@media (max-width: 980px) {
  .entry-content--article .article-diagnostic-offer__route {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .entry-content--article .article-diagnostic-offer__route-arrow {
    height: 18px;
    transform: rotate(90deg);
  }
  .entry-content--article .article-diagnostic-offer__scan-heading { grid-template-columns: minmax(0, 1fr); }
  .entry-content--article .article-diagnostic-offer__metric { max-width: 210px; }
  .entry-content--article .article-diagnostic-offer__scan-grid { grid-template-columns: 1fr 1fr; }
  .entry-content--article .article-diagnostic-offer__scan-grid > div,
  .entry-content--article .article-diagnostic-offer__scan-grid > div:nth-last-child(-n+2) { grid-column: auto; }
  .entry-content--article .article-diagnostic-offer__scan-grid > div:last-child { grid-column: 1 / -1; }
  .entry-content--article .article-diagnostic-offer__method { grid-template-columns: minmax(0, 1fr); }
  .entry-content--article .article-diagnostic-offer__indications { grid-template-columns: minmax(0, 1fr); }
  .entry-content--article .article-diagnostic-offer__outcome { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .entry-content--article .article-diagnostic-offer { margin: 40px auto; border-radius: 20px; }
  .entry-content--article .article-diagnostic-offer__intro { padding: 30px 20px 24px; text-align: left; }
  .entry-content--article .article-diagnostic-offer__intro h2 { font-size: 29px; }
  .entry-content--article .article-diagnostic-offer__intro p { font-size: 16px; }
  .entry-content--article .article-diagnostic-offer__route { padding: 0 16px 26px; }
  .entry-content--article .article-diagnostic-offer__route-card { padding: 22px 20px; }
  .entry-content--article .article-diagnostic-offer__scan { margin: 0 16px 22px; padding: 22px 18px; }
  .entry-content--article .article-diagnostic-offer__metric { min-height: 104px; }
  .entry-content--article .article-diagnostic-offer__metric strong { font-size: 48px; }
  .entry-content--article .article-diagnostic-offer__scan-heading h3 { font-size: 25px; }
  .entry-content--article .article-diagnostic-offer__scan-grid { grid-template-columns: minmax(0, 1fr); }
  .entry-content--article .article-diagnostic-offer__scan-grid > div:last-child { grid-column: auto; }
  .entry-content--article .article-diagnostic-offer__method { margin: 0 16px 24px; padding: 24px 18px; }
  .entry-content--article .article-diagnostic-offer__method h3 { font-size: 24px; }
  .entry-content--article .article-diagnostic-offer__method-list { grid-template-columns: minmax(0, 1fr); }
  .entry-content--article .article-diagnostic-offer__indications { margin: 0 16px 24px; padding: 24px 18px; }
  .entry-content--article .article-diagnostic-offer__indications h3 { font-size: 24px; }
  .entry-content--article .article-diagnostic-offer__indications ul { grid-template-columns: minmax(0, 1fr); }
  .entry-content--article .article-diagnostic-offer__outcome { gap: 26px; padding: 28px 18px; }
  .entry-content--article .article-diagnostic-offer__form { padding: 20px 16px; }
  .entry-content--article .article-diagnostic-offer__specialist { margin: -20px -16px 18px !important; }
  .entry-content--article .article-diagnostic-offer__specialist > img { height: 180px !important; }
  .entry-content--article .article-diagnostic-offer .lead-form--compact__channels { grid-template-columns: 1fr; }
}

/* The footer conversion form shares the lead-form markup with the compact
   article form. Keep its consent control compact and aligned with its copy. */
.final-cta .lead-form__consent {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 14px 0 !important;
}
.final-cta .lead-form__consent input[type="checkbox"] {
  box-sizing: border-box !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  flex: 0 0 18px !important;
}
.final-cta .lead-form__consent span { max-width: none !important; line-height: 1.4 !important; }

/* Decision-support blocks for parent-facing articles. They turn an explanatory
   page into a practical route without pretending to make a diagnosis. */
.entry-content--article .article-traffic-light { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.entry-content--article .article-traffic-card { min-height: 242px; padding: 26px; border: 1px solid #dce8f9; border-radius: 18px; background: #fff; }
.entry-content--article .article-traffic-card > span { display: inline-flex; padding: 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; line-height: 1; }
.entry-content--article .article-traffic-card h3 { margin: 18px 0 10px; color: #102c5c; font-size: 21px; line-height: 1.22; }
.entry-content--article .article-traffic-card p { margin: 0; color: #58709a; font-size: 16px; line-height: 1.5; }
.entry-content--article .article-traffic-card--green { border-top: 5px solid #2ccfa1; }
.entry-content--article .article-traffic-card--green > span { color: #087a59; background: #e3faf3; }
.entry-content--article .article-traffic-card--blue { border-top: 5px solid #1261f4; }
.entry-content--article .article-traffic-card--blue > span { color: #1261f4; background: #eaf2ff; }
.entry-content--article .article-traffic-card--red { border-top: 5px solid #e57070; }
.entry-content--article .article-traffic-card--red > span { color: #b83838; background: #fff0f0; }
.entry-content--article .article-parent-note { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; margin: 44px 0; padding: 34px 38px; border-radius: 20px; background: #f5f9ff; border: 1px solid #dce8f9; }
.entry-content--article .article-parent-note h2 { margin: 12px 0; color: #102c5c; font-size: 30px; line-height: 1.18; }
.entry-content--article .article-parent-note p { margin: 0; color: #58709a; line-height: 1.5; }
.entry-content--article .article-parent-note ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: parent-note; }
.entry-content--article .article-parent-note li { position: relative; min-height: 58px; padding: 14px 16px 14px 60px; border-radius: 14px; background: #fff; color: #58709a; font-size: 15px; line-height: 1.42; }
.entry-content--article .article-parent-note li::before { counter-increment: parent-note; content: counter(parent-note); position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: #1261f4; font-weight: 800; }
.entry-content--article .article-parent-note strong { color: #102c5c; }
.entry-content--article .article-diagnostic-result { margin: 42px 0; padding: 0; }
.entry-content--article .article-diagnostic-result > h2 { margin: 12px 0 22px; color: #102c5c; font-size: 32px; line-height: 1.18; }
.entry-content--article .article-diagnostic-result__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.entry-content--article .article-diagnostic-result__grid > div { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid #dce8f9; }
.entry-content--article .article-diagnostic-result__grid strong { color: #1261f4; font-size: 19px; }
.entry-content--article .article-diagnostic-result__grid p { margin: 9px 0 0; color: #58709a; font-size: 15px; line-height: 1.45; }
@media (max-width: 767px) {
  .entry-content--article .article-traffic-light,
  .entry-content--article .article-diagnostic-result__grid,
  .entry-content--article .article-parent-note { grid-template-columns: 1fr; }
  .entry-content--article .article-traffic-card { min-height: 0; padding: 22px; }
  .entry-content--article .article-parent-note { gap: 24px; margin: 30px 0; padding: 24px; }
  .entry-content--article .article-parent-note h2,
  .entry-content--article .article-diagnostic-result > h2 { font-size: 26px; }
}

/* ========================================================================== 
   Mobile hardening after the full rendered-page audit (21.09.2026)
   The theme contains several historical cascade layers. Keep these final
   rules at the end of the file so every public template has one predictable
   narrow-screen contract.
   ========================================================================== */
@media (max-width: 1023px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .container,
  .hero__grid,
  .hero__panel-left,
  .hero__content,
  .hero__media,
  .inner-hero__grid,
  .inner-hero__content,
  .inner-hero__media,
  .entry-content--article,
  .final-cta,
  .lead-form {
    min-width: 0;
    max-width: 100%;
  }

  /* minmax(0, 1fr) is essential here: a plain 1fr keeps the min-content
     width of long Russian headings and silently widens the whole document. */
  .hero__grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero__panel-left,
  .hero__content,
  .hero__media {
    width: 100%;
  }

  .hero__panel-left {
    overflow: hidden;
  }

  .quick-problems,
  .quick-problems > *,
  .hero__metrics,
  .hero__metrics > * {
    min-width: 0;
    max-width: 100%;
  }

  .cta-banner .btn,
  .process-cta {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal;
  }

  .result-photo-card__media {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* The full desktop header starts at 1361px. Give its narrow desktop range a
   compact spacing profile so the CTA never protrudes past the viewport. */
@media (min-width: 1361px) and (max-width: 1499px) {
  .site-header .container {
    gap: 16px;
    padding-inline: 28px;
  }

  .site-header .brand {
    min-width: 250px;
  }

  .site-header .main-nav {
    gap: 20px;
  }

  .site-header .header-actions {
    gap: 14px;
  }

  .site-header .header-cta {
    padding-inline: 22px;
  }
}

/* ========================================================================== 
   Legacy Tilda article migration layer
   Old page exports are parsed by page.php; only their useful article copy is
   rendered here, inside the current KINEZIK visual system.
   ========================================================================== */
.legacy-article-page {
  padding-top: 24px;
}

.legacy-article-page .legacy-article {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 52px);
}

.legacy-article__hero {
  position: relative;
  margin: 24px 0 clamp(44px, 7vw, 76px);
  padding: clamp(30px, 6vw, 68px);
  overflow: hidden;
  border: 1px solid #cfe0fb;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 12%, rgba(37, 211, 186, .22), transparent 28%),
    linear-gradient(135deg, #f7fbff 0%, #edf4ff 100%);
}

.legacy-article__hero::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -72px;
  width: 210px;
  height: 210px;
  border: 34px solid rgba(18, 97, 244, .06);
  border-radius: 50%;
}

.legacy-article__hero > * {
  position: relative;
  z-index: 1;
}

.legacy-article__hero h1 {
  max-width: 900px;
  margin: 14px 0 20px;
  color: #102c5c;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.legacy-article__hero > p {
  max-width: 760px;
  margin: 0;
  color: #506b97;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.legacy-article__content {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.legacy-article__section {
  margin: 0 0 34px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #dce7f8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(16, 44, 92, .05);
}

.legacy-article__section:nth-child(even) {
  border-color: #cfe9e3;
  background: linear-gradient(145deg, #f8fffd 0%, #f5f9ff 100%);
}

.legacy-article__section h2 {
  margin: 0 0 22px;
  color: #102c5c;
  font-size: clamp(28px, 3.1vw, 38px);
  line-height: 1.18;
}

.legacy-article__section h3 {
  margin: 30px 0 14px;
  padding: 16px 20px;
  border-left: 4px solid #25d3ba;
  border-radius: 0 14px 14px 0;
  background: #edf9f6;
  color: #102c5c;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.3;
}

.legacy-article__copy,
.legacy-article__copy > div {
  color: #425b89;
  font-size: 18px;
  line-height: 1.72;
}

.legacy-article__copy + .legacy-article__copy {
  margin-top: 22px;
}

.legacy-article__copy p:empty,
.legacy-article__copy img {
  display: none;
}

.legacy-article__copy p {
  margin: 0 0 18px;
}

.legacy-article__copy ul,
.legacy-article__copy ol {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding-left: 26px;
}

.legacy-article__copy li {
  padding-left: 6px;
}

.legacy-article__copy strong {
  color: #183965;
}

.legacy-article__disclaimer {
  max-width: 900px;
  margin: 42px auto 0 !important;
}

.legacy-article .article-author {
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 767px) {
  .legacy-article-page {
    padding-top: 8px;
  }

  .legacy-article-page .legacy-article {
    padding: 20px 16px 28px;
    border-radius: 20px;
  }

  .legacy-article__hero {
    margin: 18px 0 38px;
    padding: 28px 22px;
    border-radius: 20px;
  }

  .legacy-article__hero h1 {
    margin-block: 12px 16px;
    font-size: clamp(31px, 9vw, 38px);
    overflow-wrap: anywhere;
  }

  .legacy-article__hero > p {
    font-size: 16px;
  }

  .legacy-article__section {
    margin-bottom: 20px;
    padding: 24px 20px;
    border-radius: 18px;
  }

  .legacy-article__section h2 {
    margin-bottom: 17px;
    font-size: 27px;
    overflow-wrap: anywhere;
  }

  .legacy-article__section h3 {
    margin-top: 24px;
    padding: 14px 16px;
    font-size: 20px;
  }

  .legacy-article__copy,
  .legacy-article__copy > div {
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .legacy-article__copy ul,
  .legacy-article__copy ol {
    padding-left: 22px;
  }
}

@media (max-width: 767px) {
  .hero__content h1,
  .inner-hero__content h1,
  .entry-content--article h1,
  .entry-content--article h2,
  .entry-content--article h3,
  .paper-panel h1,
  .breadcrumbs,
  .breadcrumbs a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  .hero__content h1 {
    font-size: clamp(32px, 8.7vw, 34px);
    line-height: 1.14;
  }

  .hero__content .lede,
  .inner-hero__content .lede,
  .entry-content--article p,
  .entry-content--article li,
  .entry-content--article a {
    overflow-wrap: anywhere;
  }

  .hero__content,
  .hero__content .lede,
  .hero__metrics,
  .metric,
  .btn-hero {
    width: 100%;
    max-width: 100%;
  }

  .btn-hero {
    justify-content: space-between;
  }

  .entry-content--article img,
  .entry-content--article video,
  .entry-content--article iframe,
  .entry-content--article svg {
    max-width: 100%;
    height: auto;
  }

  .entry-content--article table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .entry-content--article pre,
  .entry-content--article code {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .entry-content--article .article-age-path {
    grid-auto-rows: auto;
    align-items: stretch;
  }

  .entry-content--article .article-age-step {
    height: auto;
    min-height: 0;
    padding: 22px;
  }

  .entry-content--article .article-age-step h3,
  .entry-content--article .article-age-step p {
    max-width: 100%;
  }

  .lead-form input:not([type="checkbox"]):not([type="radio"]),
  .lead-form select,
  .lead-form textarea,
  .lead-form .btn,
  .final-cta input:not([type="checkbox"]):not([type="radio"]),
  .final-cta select,
  .final-cta textarea,
  .final-cta .btn {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .final-cta__actions,
  .final-cta__buttons-row {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .final-cta__buttons-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .final-cta__buttons-row .btn {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .faq-item__question,
  .article-faq-item__question,
  .article-faq-item summary {
    min-height: 48px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .hero__panel-left {
    padding-inline: 20px;
  }

  .hero__content h1 {
    font-size: 33px;
  }

  .entry-content--article .article-answer-card,
  .entry-content--article .article-section,
  .entry-content--article .article-parent-note,
  .entry-content--article .article-diagnostic-result {
    max-width: 100%;
  }
}

/* Final header override: this block intentionally comes last because the
   theme contains older responsive layers above it. */
.site-header .main-nav,
.site-header .main-nav ul,
.site-header .mobile-drawer nav,
.site-header .mobile-drawer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .main-nav > li,
.site-header .mobile-drawer nav > li {
  list-style: none;
}

.site-header .main-nav > li > a {
  white-space: nowrap;
}

@media (min-width: 1100px) {
  .site-header .main-nav { display: flex; }
  .site-header .header-phone,
  .site-header .header-cta { display: inline-flex; }
  .site-header .hamburger { display: none; }
}

@media (min-width: 1100px) and (max-width: 1439px) {
  .site-header .container { padding-inline: 24px; gap: 14px; }
  .site-header .brand { min-width: 238px; gap: 10px; }
  .site-header .brand__name { font-size: 26px; }
  .site-header .brand__descriptor { font-size: 12px; }
  .site-header .main-nav { gap: clamp(9px, 1vw, 16px); }
  .site-header .main-nav > li > a { font-size: 14px; }
  .site-header .header-actions { gap: 12px; }
  .site-header .header-phone { font-size: 14px; }
  .site-header .header-cta {
    min-height: 46px;
    height: 46px;
    padding-inline: 17px;
    font-size: 15px;
  }
}

@media (max-width: 1099px) {
  .site-header .main-nav,
  .site-header .header-phone,
  .site-header .header-cta { display: none; }
  .site-header .hamburger { display: inline-flex; }
}
