/**
 * Позитив Дент — Локальные WOFF2 шрифты (Manrope & Plus Jakarta Sans)
 * Zero External CDN / Zero-RTT Typography
 */

/* Manrope 400 [cyrillic-ext] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/manrope-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Manrope 400 [cyrillic] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope 400 [latin-ext] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/manrope-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope 400 [latin] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/manrope-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope 500 [cyrillic-ext] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/manrope-500-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Manrope 500 [cyrillic] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/manrope-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope 500 [latin-ext] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/manrope-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope 500 [latin] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/manrope-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope 600 [cyrillic-ext] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/manrope-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Manrope 600 [cyrillic] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/manrope-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope 600 [latin-ext] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/manrope-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope 600 [latin] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/manrope-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope 700 [cyrillic-ext] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Manrope 700 [cyrillic] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope 700 [latin-ext] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope 700 [latin] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope 800 [cyrillic-ext] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-800-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Manrope 800 [cyrillic] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-800-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope 800 [latin-ext] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope 800 [latin] */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans 600 [cyrillic-ext] */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Plus Jakarta Sans 600 [latin-ext] */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans 600 [latin] */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans 700 [cyrillic-ext] */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Plus Jakarta Sans 700 [latin-ext] */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans 700 [latin] */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans 800 [cyrillic-ext] */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-800-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Plus Jakarta Sans 800 [latin-ext] */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans 800 [latin] */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   ПОЗИТИВ ДЕНТ — ОСНОВНЫЕ СТИЛИ ВЕБ-ЛЕНДИНГА (PDENT2026)
   Файл: css/styles.css
   Направления: «Брекеты, элайнеры и профессиональная гигиена полости рта»
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ДИЗАЙН-ТОКЕНЫ ПАЛИТРЫ PDENT2026 И СИСТЕМНЫЕ ПЕРЕМЕННЫЕ
   -------------------------------------------------------------------------- */
:root {
  /* Фирменная палитра брендбука PDENT2026 */
  --color-cream: #FAEDE3;
  --color-mint-light: #D3F0F0;
  --color-mint: #B8E2E3;
  --color-mint-ice: #EBF8F8;
  --color-teal: #008891;
  --color-teal-dark: #0A7C85;
  --color-teal-light: #E0F2F1;

  /* Токены сквозного живого фона PDENT2026 */
  --color-bg-base: #FAF7F4;
  --color-blob-cream: #F8E3D2;
  --color-blob-mint: #D5F1F1;
  --color-blob-teal: rgba(0, 136, 145, 0.16);
  --color-card-glass: rgba(255, 255, 255, 0.96);
  --color-card-border: rgba(0, 136, 145, 0.14);

  /* Фирменная типографика PDENT2026 */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Нейтральная и текстовая палитра */
  --color-white: #FFFFFF;
  --color-text-main: #1E293B;
  --color-text-muted: #475569;
  --color-text-light: #94A3B8;
  --color-border: rgba(0, 136, 145, 0.16);
  --color-border-subtle: #E2E8F0;

  /* Функциональные и акционные цвета */
  --color-accent-sale: #E11D48;

  /* Флюидные размеры шрифтов через clamp() */
  --font-size-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --font-size-sm: clamp(0.8125rem, 0.78rem + 0.18vw, 0.875rem);
  --font-size-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --font-size-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);

  --font-h1: clamp(1.875rem, 1.35rem + 2.4vw, 3.25rem);
  --font-h2: clamp(1.5rem, 1.15rem + 1.6vw, 2.375rem);
  --font-h3: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  --font-h4: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-base: 1.6;

  /* Флюидные отступы и лейаут */
  --container-max-width: 1280px;
  --container-padding-x: clamp(1rem, 0.75rem + 1.2vw, 2.5rem);
  --section-padding-y: clamp(2.5rem, 1.8rem + 3.5vw, 5.5rem);
  --card-padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  --gap-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --gap-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --gap-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);

  /* Радиусы */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Тени */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 36px rgba(0, 136, 145, 0.12);
  --shadow-card: 0 10px 30px -5px rgba(30, 41, 59, 0.06);
  --shadow-card-hover: 0 20px 40px -8px rgba(0, 136, 145, 0.18);

  /* Тайминги */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Мобильный вьюпорт и виртуальная клавиатура */
  --keyboard-height: 0px;
}

/* --------------------------------------------------------------------------
   2. БАЗОВАЯ РАЗМЕТКА И КОНТЕЙНЕРЫ
   -------------------------------------------------------------------------- */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body.page {
  padding-top: 72px;
}

@media (max-width: 767.98px) {
  body.page {
    padding-top: 60px;
  }
}

/* --------------------------------------------------------------------------
   СКВОЗНОЙ ЖИВОЙ ГРАДИЕНТ (AMBIENT MESH GRADIENT LAYER)
   -------------------------------------------------------------------------- */
.ambient-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: var(--color-bg-base);
  contain: strict;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.85;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.ambient-blob--1 {
  width: clamp(450px, 45vw, 680px);
  height: clamp(450px, 45vw, 680px);
  background: radial-gradient(circle, var(--color-blob-cream) 0%, rgba(248, 227, 210, 0) 70%);
  top: -100px;
  left: -150px;
  animation: ambientDriftOne 22s ease-in-out infinite alternate;
}

.ambient-blob--2 {
  width: clamp(500px, 50vw, 760px);
  height: clamp(500px, 50vw, 760px);
  background: radial-gradient(circle, var(--color-blob-mint) 0%, rgba(213, 241, 241, 0) 70%);
  top: 25%;
  right: -200px;
  animation: ambientDriftTwo 26s ease-in-out infinite alternate;
}

.ambient-blob--3 {
  width: clamp(520px, 55vw, 820px);
  height: clamp(520px, 55vw, 820px);
  background: radial-gradient(circle, var(--color-blob-teal) 0%, rgba(0, 136, 145, 0) 70%);
  top: 55%;
  left: -200px;
  animation: ambientDriftThree 28s ease-in-out infinite alternate;
}

.ambient-blob--4 {
  width: clamp(420px, 42vw, 620px);
  height: clamp(420px, 42vw, 620px);
  background: radial-gradient(circle, var(--color-cream) 0%, rgba(250, 237, 227, 0) 70%);
  bottom: 100px;
  right: -100px;
  animation: ambientDriftOne 24s ease-in-out infinite alternate;
}

@keyframes ambientDriftOne {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(120px, 80px, 0) scale(1.1); }
  100% { transform: translate3d(-60px, 140px, 0) scale(0.95); }
}

@keyframes ambientDriftTwo {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-140px, 120px, 0) scale(1.08); }
  100% { transform: translate3d(80px, -60px, 0) scale(0.92); }
}

@keyframes ambientDriftThree {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(160px, -100px, 0) scale(1.15); }
  100% { transform: translate3d(-80px, 90px, 0) scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-blob {
    animation: none !important;
    filter: blur(60px);
  }
}

.main {
  position: relative;
  z-index: 1;
}

.pdent-landing {
  position: relative;
  z-index: 100;
  pointer-events: auto;
}

.pdent-landing .hero__actions,
.pdent-landing .hero__segment-nav,
.pdent-landing #quiz,
.pdent-landing #header {
  position: relative;
  z-index: 9999;
}

/* Доступное скрытие элементов для экранных дикторов без сбоя визуальной верстки */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
}

.section-heading {
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.section-heading.text-center {
  text-align: center;
}

.section-title {
  font-size: var(--font-h2);
  font-weight: 800;
  line-height: var(--line-height-snug);
  color: var(--color-text-main);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.pricing .section-title {
  margin-bottom: 1.25rem !important;
  line-height: 1.25 !important;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.text-teal {
  color: var(--color-teal);
}

/* --------------------------------------------------------------------------
   3. КНОПКИ, БЕЙДЖИ И ИКОНКИ
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: var(--font-size-base);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-align: center;
  user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(0, 136, 145, 0.25);
}

.btn--primary:hover {
  background-color: var(--color-teal-dark);
  box-shadow: 0 6px 20px rgba(0, 136, 145, 0.35);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background-color: var(--color-white);
  color: var(--color-teal);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  background-color: var(--color-mint-light);
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
}

.btn--accent {
  background-color: var(--color-accent-sale);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.btn--accent:hover {
  background-color: #be123c;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-teal);
  border: 1px solid var(--color-teal);
}

.btn--ghost:hover {
  background-color: var(--color-teal-light);
}

.btn--sm {
  min-height: 38px;
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
}

.btn--lg {
  min-height: 52px;
  padding: 0.875rem 2rem;
  font-size: var(--font-size-lg);
}

.btn--block {
  width: 100%;
}

@media (max-width: 575px) {
  .btn {
    white-space: normal;
    line-height: 1.25;
    text-wrap: balance;
    overflow-wrap: break-word;
  }

  .btn--lg {
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    font-size: clamp(0.92rem, 3.8vw, 1.05rem);
  }
}

/* Бейджи */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.badge--accent {
  background-color: var(--color-teal-light);
  color: var(--color-teal);
}

.badge--mint {
  background-color: var(--color-mint-light);
  color: var(--color-teal-dark);
}

.badge--teal {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.badge--outline {
  background-color: transparent;
  color: var(--color-teal);
  border: 1px solid var(--color-teal);
}

.badge--white {
  background-color: var(--color-white);
  color: var(--color-text-main);
  box-shadow: var(--shadow-sm);
}

.badge--subtle {
  background-color: rgba(30, 41, 59, 0.06);
  color: var(--color-text-muted);
}

.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. ШАПКА (HEADER) И МОБИЛЬНОЕ МЕНЮ
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 136, 145, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  will-change: transform;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background-color var(--transition-base);
}

.header.is-hidden {
  transform: translateY(-100%);
}

@media (max-width: 991px) {
  .header {
    will-change: auto;
  }
}

.header__main {
  padding: 0.5rem 0;
}

.header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo-img {
  width: clamp(140px, 130px + 2vw, 180px);
  height: auto;
  aspect-ratio: 220 / 70;
  object-fit: contain;
}

.header__nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.2vw, 1.5rem);
}

.nav__link {
  font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9375rem);
  font-weight: 600;
  color: var(--color-text-main);
  padding: 0.35rem 0.25rem;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-teal);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem 0.35rem 0.45rem;
  font-size: clamp(0.75rem, 0.72rem + 0.18vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  min-height: 42px;
  line-height: 1;
  border-radius: var(--radius-full);
  background-color: rgba(0, 136, 145, 0.07);
  color: var(--color-teal-dark);
  border: 1.5px solid rgba(0, 136, 145, 0.3);
  box-shadow: 0 1px 3px rgba(0, 136, 145, 0.08);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.header__btn:hover,
.header__btn:focus-visible {
  background-color: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: 0 4px 14px rgba(0, 136, 145, 0.25);
  transform: translateY(-1px);
}

.header__btn-icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--color-teal);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.header__btn:hover .header__btn-icon-wrap {
  background-color: var(--color-white);
  color: var(--color-teal);
}

.header__btn .icon-phone {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  width: 14px;
  height: 14px;
  display: block;
  transition: transform var(--transition-fast);
}

.header__btn:hover .icon-phone {
  transform: scale(1.08);
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.header__hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--color-text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 575.98px) {
  .header__btn--phone {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .header__btn-text {
    display: none;
  }
}

/* Мобильное меню */
.mobile-nav {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  z-index: 999999 !important;
  background-color: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-nav.is-open {
  display: block !important;
  opacity: 1 !important;
}

.mobile-nav__inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  height: 100dvh;
  max-height: 100dvh;
  z-index: 1000000 !important;
  background-color: var(--color-cream);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform var(--transition-base);
}

.mobile-nav.is-open .mobile-nav__inner {
  transform: translateX(0);
}

body.menu-open,
html.menu-open,
body.dialog-open,
html.dialog-open {
  overflow: hidden !important;
  touch-action: none !important;
  overscroll-behavior: none !important;
}


.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav__close {
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.mobile-nav__link {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text-main);
  display: block;
  padding: 0.4rem 0;
}

.mobile-nav__contacts {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.mobile-nav__phone {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-teal);
  display: block;
  margin-bottom: 0.5rem;
}

.mobile-nav__addr {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   5. HERO-СЕКЦИЯ С ТАБАМИ (HERO SECTION)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: block;
  padding-top: clamp(1.25rem, 1rem + 1vw, 2.25rem);
  padding-bottom: clamp(2rem, 1.5rem + 1.5vw, 3.5rem);
  background: transparent;
}

.hero__segment-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  height: 48px;
  min-height: 48px;
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .hero__segment-nav {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0.25rem 0.25rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    height: auto;
    min-height: 48px;
  }
  .hero__segment-nav::-webkit-scrollbar {
    display: none;
  }
  .hero__tab-pill,
  .hero__segment-btn {
    flex: 0 0 auto;
    scroll-snap-align: center;
    padding: 0.5rem 0.85rem;
  }
}

.hero__tab-pill,
.hero__segment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 100%;
  min-height: 48px;
  padding: 0 0.35rem;
  background-color: var(--color-white);
  color: var(--color-text-main);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: clamp(0.74rem, 0.68rem + 0.15vw, 0.82rem);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.hero__tab-pill:hover,
.hero__segment-btn:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.hero__tab-pill.active,
.hero__tab-pill.is-active,
.hero__tab-pill[aria-selected="true"],
.hero__segment-btn.active,
.hero__segment-btn.is-active {
  background-color: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: 0 4px 14px rgba(0, 136, 145, 0.3);
}

.hero__tab-pill .hero__tab-icon,
.hero__segment-btn .hero__tab-icon {
  font-size: 1.1em;
  line-height: 1;
}

.hero__content-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  align-items: start;
}

.hero__main-col {
  display: flex;
  flex-direction: column;
  height: auto;
}

.hero__panel {
  display: none;
}

.hero__panel.active,
.hero__panel.is-active,
.hero__panel:not([hidden]) {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: fadeIn 300ms ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: var(--font-h1);
  font-weight: 800;
  line-height: var(--line-height-tight);
  color: var(--color-text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: 620px;
}

.hero__offer-card {
  background: var(--color-white);
  border: 2px solid var(--color-teal);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  max-width: 100%;
}

.hero__offer-badge {
  position: absolute;
  top: -12px;
  left: 1.25rem;
  background-color: var(--color-accent-sale);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.hero__offer-body {
  padding-top: 0.25rem;
}

.hero__offer-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.hero__offer-prices {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.hero__price-current {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent-sale);
}

.hero__price-old {
  font-size: 1rem;
  color: var(--color-text-light);
  text-decoration: line-through;
}

.hero__offer-note {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero__features-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.hero__feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--font-size-base);
}

.hero__feature-check {
  color: var(--color-teal);
  font-weight: 800;
  background-color: var(--color-mint-light);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 639px) {
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

@media (min-width: 640px) and (max-width: 991px) {
  .hero__actions {
    flex-wrap: wrap;
  }
}

@media (min-width: 992px) {
  .hero__main-col {
    display: flex;
    flex-direction: column;
    min-height: 585px;
  }

  .hero__panel.active,
  .hero__panel.is-active,
  .hero__panel:not([hidden]) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 585px;
  }

  .hero__title {
    min-height: 135px;
    margin-bottom: 0.85rem;
  }

  .hero__lead {
    min-height: 78px;
    margin-bottom: 1.25rem;
  }

  .hero__offer-card {
    height: 108px;
    min-height: 108px;
    margin-bottom: 1.25rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero__features-list {
    min-height: 118px;
    margin-bottom: 1.25rem;
  }

  .hero__actions {
    flex-wrap: nowrap;
    align-items: center;
    max-width: 100%;
    margin-top: auto;
    height: 48px;
    min-height: 48px;
  }
  .hero__actions .btn {
    height: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    font-size: clamp(0.8125rem, 0.75rem + 0.18vw, 0.9rem);
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }

  .hero__media-col {
    min-height: 585px;
  }

  .hero__banner-card.active,
  .hero__banner-card.is-active {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .hero__banner-content {
    min-height: 216px;
    box-sizing: border-box;
  }

  .hero__segment-nav {
    margin-top: auto;
    height: 48px;
    min-height: 48px;
  }
}

/* Правая визуальная колонка: сервисные микро-баннеры с сайта клиники */
.hero__media-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 0.85rem;
}

@media (max-width: 991px) {
  .hero__media-col {
    margin-top: 1.5rem;
    gap: 0.75rem;
    height: auto;
  }
}

.hero__banner-card {
  display: none;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  max-width: 100%;
  width: 100%;
  flex: 1 1 auto;
  height: 100%;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero__banner-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.hero__banner-card.active,
.hero__banner-card.is-active {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  animation: fadeIn 350ms ease;
}

.hero__banner-card[hidden] {
  display: none !important;
}

.hero__banner-media {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 220px;
  overflow: hidden;
  background-color: var(--color-mint-light);
}



.hero__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.hero__banner-card:hover .hero__banner-img {
  transform: scale(1.03);
}

.hero__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
}

.hero__banner-badge {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 6px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__banner-badge-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.hero__banner-content {
  padding: clamp(1rem, 0.85rem + 0.5vw, 1.35rem);
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  padding-bottom: 0.85rem;
}

.hero__banner-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-teal);
  background: var(--color-teal-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.hero__banner-title {
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem);
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.hero__banner-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero__banner-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: clamp(0.8125rem, 0.78rem + 0.12vw, 0.875rem);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.hero__banner-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-teal);
  font-weight: 800;
}

.hero__banner-footer {
  margin-top: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--font-size-xs);
}

.hero__banner-city {
  color: var(--color-text-muted);
  font-weight: 600;
}

.hero__banner-warranty {
  color: var(--color-teal);
  font-weight: 700;
  background: var(--color-mint-light);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   5.1. МОБИЛЬНЫЙ & ПЛАНШЕТНЫЙ HERO: STORY-CARD (ВАРИАНТ 2B CINEMA DARK / T-2)
   -------------------------------------------------------------------------- */
.hero__story-view {
  display: none;
  width: 100%;
}

@media (max-width: 991px) {
  .hero {
    min-height: calc(100dvh - 72px);
    display: flex;
    align-items: center;
    padding-top: clamp(0.4rem, 0.3rem + 0.5vw, 0.75rem);
    padding-bottom: clamp(0.5rem, 0.4rem + 0.6vw, 1rem);
  }

  .hero__desktop-grid {
    display: none !important;
  }

  .hero__story-view {
    display: block;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .hero__story-view {
    display: none !important;
  }
  .hero__desktop-grid {
    display: grid !important;
  }
}

.hero__story-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  height: calc(100dvh - 72px - 1.25rem);
  min-height: 520px;
  max-height: 860px;
  border-radius: 24px;
  border: 1px solid rgba(0, 136, 145, 0.16);
  box-shadow: 0 16px 40px -10px rgba(0, 136, 145, 0.12);
  background-color: #ffffff;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem 0.75rem 0.75rem;
  box-sizing: border-box;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transform: translateZ(0);
}

.hero__story-card.active,
.hero__story-card.is-active,
.hero__story-card:not([hidden]) {
  display: flex;
  animation: storyCardFadeIn 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__story-card[hidden] {
  display: none !important;
}

/* Планшетный макет T-2 (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero {
    min-height: calc(100dvh - 80px);
    padding-top: 0.75rem;
    padding-bottom: 1rem;
  }

  .hero__story-card {
    max-width: 560px;
    height: calc(100dvh - 80px - 1.75rem);
    min-height: 640px;
    max-height: 880px;
    border-radius: 32px;
    padding: 1.25rem 1.15rem 1.15rem;
    box-shadow: 0 20px 50px -15px rgba(0, 136, 145, 0.15);
  }
}

/* Изображение процедуры в Story-Card */
.hero__story-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  transition: transform 0.6s ease;
}

.hero__story-card[data-story-card="brackets"] .hero__story-img {
  object-position: center top;
}

.hero__story-card[data-story-card="aligners"] .hero__story-img {
  object-position: center top;
}

.hero__story-card[data-story-card="hygiene"] .hero__story-img {
  object-position: center top;
}

/* Градиент High-Key Frosted Glass */
.hero__story-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.2) 60%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero__story-gradient-bottom {
  display: none !important;
}

/* Верхняя полоса навигации Stories */
.hero__story-top {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.15rem 0.15rem 0;
}

.hero__story-segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 100%;
}

.hero__story-segment {
  height: 3px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.hero__story-segment::before {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 0;
  right: 0;
}

.hero__story-segment-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--color-teal);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(0, 136, 145, 0.8);
  will-change: width;
}

.hero__story-segment.is-passed .hero__story-segment-fill {
  width: 100% !important;
}

.hero__story-segment.active .hero__story-segment-fill,
.hero__story-segment.is-active .hero__story-segment-fill,
.hero__story-segment[aria-selected="true"] .hero__story-segment-fill {
  background: var(--color-teal);
  animation: storyProgressFill 5.5s linear forwards;
}

@keyframes storyProgressFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.hero__story-card.is-paused .hero__story-segment-fill {
  animation-play-state: paused !important;
}

/* Компактный брендовый профиль сторис */
.hero__story-account {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.15rem;
}

.hero__story-brand-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.hero__story-brand-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero__story-brand-info {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  white-space: nowrap;
}

.hero__story-brand-name {
  font-size: 0.74rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 2px 6px rgba(0, 40, 60, 0.4);
  letter-spacing: -0.01em;
}

.hero__story-brand-topic {
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

/* Нижний блок контента: ультра-компактная парящая карточка Frosted Glass */
.hero__story-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  color: var(--color-text-main);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 0.5rem 0.65rem 0.45rem;
  box-shadow: 0 8px 24px rgba(0, 40, 60, 0.12), 0 2px 6px rgba(0, 136, 145, 0.08);
  margin-top: auto;
  min-height: auto;
}

.hero__story-badge-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.hero__story-offer-badge {
  display: inline-block;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(239, 68, 68, 0.25);
  white-space: nowrap;
}

.hero__story-title {
  display: block;
  font-size: clamp(0.82rem, 0.78rem + 0.2vw, 0.94rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-text-main);
  margin: 0;
  letter-spacing: -0.01em;
  min-height: auto;
}

@keyframes storyCardFadeIn {
  from {
    opacity: 0.85;
  }
  to {
    opacity: 1;
  }
}

.hero__story-title .text-teal-light {
  color: var(--color-teal);
}

.hero__story-price-box {
  background: rgba(230, 247, 248, 0.85);
  border: 1px solid rgba(0, 136, 145, 0.18);
  border-radius: 9px;
  padding: 0.25rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  box-shadow: 0 1px 3px rgba(0, 136, 145, 0.04);
  min-height: 32px;
  flex-shrink: 0;
}

.hero__story-price-info {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  flex: 1 1 auto;
}

.hero__story-price-label {
  font-size: 0.58rem;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: normal;
  line-height: 1.1;
}

.hero__story-prices {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__story-price-current {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.18rem);
  font-weight: 900;
  color: var(--color-teal);
  line-height: 1;
  white-space: nowrap;
}

.hero__story-price-old {
  font-size: 0.68rem;
  color: var(--color-text-light);
  text-decoration: line-through;
  white-space: nowrap;
}

.hero__story-installment {
  text-align: right;
  font-size: 0.58rem;
  color: var(--color-teal-dark);
  line-height: 1.15;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__story-installment strong {
  color: var(--color-teal-dark);
  font-size: 0.65rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero__story-actions {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.05rem;
}

.hero__story-btn {
  height: 38px;
  min-height: 38px;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 11px;
  background: linear-gradient(135deg, #008891 0%, #00a4ad 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 136, 145, 0.28);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__story-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 136, 145, 0.45);
}

.hero__story-btn:active {
  transform: translateY(0);
}

.hero__story-quiz-wrap {
  text-align: center;
  line-height: 1;
}

.hero__story-quiz-link {
  font-size: 0.68rem;
  font-weight: 600;
  color: #5eead4;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 0.1rem 0.3rem;
  line-height: 1.2;
}

.hero__story-quiz-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

@keyframes storyCardFadeIn {
  from {
    opacity: 0.35;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-height: 650px) {
  .hero__story-card {
    height: calc(100dvh - 70px);
    padding: 0.65rem 0.65rem 0.55rem;
    gap: 0.25rem;
  }
  .hero__story-bottom {
    padding: 0.5rem 0.6rem 0.45rem;
    gap: 0.25rem;
  }
  .hero__story-title {
    font-size: 0.82rem;
    line-height: 1.15;
  }
  .hero__story-price-box {
    padding: 0.25rem 0.45rem;
    min-height: 32px;
  }
  .hero__story-btn {
    height: 36px;
    min-height: 36px;
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .hero__story-card {
    padding: 0.65rem 0.65rem 0.55rem;
  }
  .hero__story-title {
    font-size: 0.85rem;
  }
  .hero__story-price-current {
    font-size: 1rem;
  }
  .hero__story-price-old {
    font-size: 0.62rem;
  }
  .hero__story-installment {
    font-size: 0.54rem;
  }
  .hero__story-installment strong {
    font-size: 0.60rem;
  }
}

/* --------------------------------------------------------------------------
   6. СИМПТОМЫ И ГНАТОЛОГИЯ (SYMPTOMS)
   -------------------------------------------------------------------------- */
.symptoms__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  margin-bottom: 3rem;
}

.symptom-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.symptom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.symptom-card--accent {
  border-color: var(--color-teal);
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-mint-ice) 100%);
}

.symptom-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-teal);
}

.symptom-card__icon--aesthetic { background-color: var(--color-mint-light); }
.symptom-card__icon--joint { background-color: var(--color-teal-light); }
.symptom-card__icon--hygiene { background-color: #FEF3C7; color: #D97706; }

.symptom-card__title {
  font-size: var(--font-h3);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.symptom-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.symptom-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.symptom-card__list li {
  font-size: var(--font-size-sm);
  color: var(--color-text-main);
  position: relative;
  padding-left: 1.25rem;
}

.symptom-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}

.symptom-card__footer {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
}

.symptom-card__solution {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
}

.symptom-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-teal);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.symptom-card__link:hover {
  color: var(--color-teal-dark);
  transform: translateX(3px);
  text-decoration: underline;
}

/* Гнатологический блок */
.gnathology-block {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: clamp(1.25rem, 1rem + 2vw, 3.5rem);
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
}

.gnathology-block__badge {
  display: inline-block;
  background-color: var(--color-teal);
  color: var(--color-white);
  font-size: clamp(0.7rem, 0.62rem + 0.35vw, 0.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

.gnathology-block__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .gnathology-block__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gnathology-block__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .gnathology-block__item:nth-child(1),
  .gnathology-block__item:nth-child(2),
  .gnathology-block__item:nth-child(3) {
    grid-column: span 2;
  }

  .gnathology-block__item:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .gnathology-block__item:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.gnathology-block__item {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

.gnathology-block__item:hover {
  transform: translateY(-3px);
  background-color: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: var(--shadow-card-hover);
}

.gnathology-block__num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-teal);
  opacity: 0.85;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.gnathology-block__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.gnathology-block__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   7. ИНТЕРАКТИВНЫЙ КВИЗ (QUIZ)
   -------------------------------------------------------------------------- */
.quiz-section {
  background: transparent;
}

.quiz-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  max-width: 960px;
  margin: 0 auto;
}

.quiz-card__header {
  margin-bottom: 2rem;
  text-align: center;
}

.quiz-card__title {
  font-size: var(--font-h2);
  font-weight: 800;
  color: var(--color-text-main);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.quiz-card__subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.quiz-progress {
  max-width: 480px;
  margin: 0 auto;
}

.quiz-progress__bar {
  height: 8px;
  background-color: var(--color-border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.quiz-progress__fill {
  height: 100%;
  background-color: var(--color-teal);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.quiz-progress__info {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-text-muted);
}

.quiz-step {
  border: none;
  padding: 0;
  margin: 0;
  display: none;
}

.quiz-step.active,
.quiz-step:not([hidden]) {
  display: block;
}

.quiz-step__title {
  font-size: var(--font-h3);
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  text-align: center;
  display: block;
  width: 100%;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-option {
  cursor: pointer;
  display: flex;
  position: relative;
  height: 100%;
}

.quiz-option__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-option__box {
  background-color: var(--color-white);
  border: 2px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.quiz-option__emoji {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.quiz-option__text {
  font-size: clamp(0.875rem, 0.82rem + 0.2vw, 0.95rem);
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.35;
  min-height: 2.7em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-option__sub {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.35;
  margin-top: auto;
}

.quiz-option__input:checked + .quiz-option__box {
  border-color: var(--color-teal);
  background-color: var(--color-teal-light);
  box-shadow: 0 4px 12px rgba(0, 136, 145, 0.15);
}

.quiz-step__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.quiz-step__nav--split {
  justify-content: space-between;
}

.quiz-step__nav .btn {
  white-space: nowrap;
}

.quiz-step__nav .btn[data-quiz-prev] {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.75rem 1.15rem;
}

.quiz-step__nav .btn[data-quiz-next],
.quiz-step__nav .btn[data-quiz-finish] {
  flex: 1 1 auto;
  white-space: nowrap;
  padding: 0.75rem 1.25rem;
}

@media (max-width: 575px) {
  .quiz-step__nav--split {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }
  .quiz-step__nav--split .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.85rem 1rem !important;
    white-space: normal !important;
  }
  .quiz-step__nav--split [data-quiz-prev] {
    width: auto !important;
    align-self: center !important;
    padding: 0.35rem 1rem !important;
    min-height: 36px !important;
    font-size: var(--font-size-sm) !important;
    color: var(--color-text-muted) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
}

/* Финальный экран квиза */
.quiz-result {
  display: none;
  animation: fadeIn 300ms ease;
}

.quiz-result:not([hidden]) {
  display: block;
}

.quiz-result__summary {
  background-color: var(--color-mint-ice);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  text-align: center;
}

.quiz-result__benefits {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.quiz-result__benefits .badge--teal,
.quiz-result__benefits [data-quiz-bonus-tag] {
  font-size: clamp(0.78rem, 2.8vw, 0.88rem) !important;
  white-space: normal !important;
  text-transform: none !important;
  line-height: 1.35 !important;
  text-align: center !important;
  max-width: 100% !important;
  padding: 0.5rem 0.95rem !important;
  border-radius: var(--radius-md) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.quiz-result__actions {
  margin: 1.25rem 0 0.75rem;
}

.quiz-result__actions .btn {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  white-space: normal !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-wrap: balance !important;
  overflow-wrap: break-word !important;
  padding: 0.85rem 1.25rem !important;
  font-size: clamp(0.95rem, 3.8vw, 1.1rem) !important;
}

.quiz-result__badge {
  display: inline-block;
  background-color: var(--color-mint-light);
  color: var(--color-teal-dark);
  border: 1px solid rgba(0, 136, 145, 0.22);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.quiz-result__heading {
  font-size: var(--font-h3);
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.quiz-result__desc {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.quiz-result__bonus-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0, 136, 145, 0.28);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 136, 145, 0.08);
  transition: all var(--transition-base);
}

.quiz-result__bonus-card:hover {
  border-color: var(--color-teal);
  box-shadow: 0 6px 20px rgba(0, 136, 145, 0.16);
  transform: translateY(-1px);
}

.quiz-result__bonus-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(0, 136, 145, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.quiz-result__bonus-text {
  text-align: left;
}

.quiz-result__bonus-text strong {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-teal-dark);
}

.quiz-result__bonus-text span {
  font-size: var(--font-size-sm);
  color: var(--color-text-main);
  font-weight: 600;
}

.quiz-result__form-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.quiz-result__form-title {
  font-size: var(--font-h4);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.quiz-result__footnote {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* Формы */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
}

.form-input,
.form-select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0, 136, 145, 0.15);
  outline: none;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-check__input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--color-teal);
}

.form-check__label {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.form-check__label a {
  color: var(--color-teal);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   8. СЕКЦИИ УСЛУГ (BRACES, ALIGNERS, HYGIENE)
   -------------------------------------------------------------------------- */
.service-detail {
  background: transparent;
}

.service-detail--alt {
  background: transparent;
}

/* Карточки брекет-систем */
.systems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  margin-bottom: 3.5rem;
}

.system-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.system-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.system-card--featured {
  border: 2px solid var(--color-teal);
  box-shadow: var(--shadow-md);
}

.system-card__header {
  margin-bottom: 1rem;
}

.system-card__title {
  font-size: var(--font-h3);
  font-weight: 800;
  color: var(--color-text-main);
  margin-top: 0.35rem;
}

.system-card__material {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.system-card__price {
  padding: 1rem 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 1.25rem;
}

.system-card__price-val {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--color-teal);
}

.system-card__price-sub {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.system-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.system-card__list li {
  font-size: var(--font-size-sm);
  color: var(--color-text-main);
  position: relative;
  padding-left: 1.25rem;
}

.system-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 700;
}

/* Таймлайн этапов: Concept 02 Split Step Tiles (One Medical / Mayo Clinic Style) */
.steps-timeline {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.steps-timeline__header {
  max-width: 680px;
  margin: 0 auto 2rem;
}

.steps-timeline__title {
  font-size: var(--font-h3);
  font-weight: 800;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.steps-timeline__subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.steps-timeline__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .steps-timeline__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .steps-timeline__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-teal);
  box-shadow: var(--shadow-card-hover);
}

.step-rail {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  gap: 0.5rem;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
}

.step-sub-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  color: #FFFFFF;
}

.step-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.step-icon {
  font-size: 1.35rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0;
  line-height: 1.35;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Элайнеры */
.aligners-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.aligners-layout__heading {
  font-size: var(--font-h3);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.aligners-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.aligners-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.aligners-feature__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.aligners-feature__text strong {
  display: block;
  font-size: var(--font-size-base);
  color: var(--color-text-main);
  margin-bottom: 0.2rem;
}

.aligners-feature__text p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.expert-quote {
  background-color: var(--color-cream);
  border-left: 4px solid var(--color-teal);
  padding: 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
}

.expert-quote__text {
  font-size: var(--font-size-base);
  font-style: italic;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.expert-quote__author {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.aligners-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.aligners-cta__price span {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.aligners-cta__price strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-teal);
}

.aligners-cta__price small {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.aligners-card-preview {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.aligners-card-preview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aligners-card-preview__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--color-teal);
}

.hygiene-promo-bar {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hygiene-promo-bar__prices {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
  white-space: nowrap;
}

.hygiene-promo-bar__new {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  font-weight: 800;
  white-space: nowrap;
}

.hygiene-promo-bar__old {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  opacity: 0.7;
  text-decoration: line-through;
  white-space: nowrap;
}

.hygiene-promo-bar__discount {
  background-color: var(--color-accent-sale);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 700;
  white-space: nowrap;
}

.hygiene-promo-bar__note {
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

@media (max-width: 767px) {
  .hygiene-promo-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.25rem 1rem !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    border-radius: var(--radius-lg) !important;
  }

  .hygiene-promo-bar__prices {
    justify-content: center;
  }

  .hygiene-promo-bar .btn {
    width: 100% !important;
    white-space: nowrap !important;
    font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.05rem) !important;
    padding: 0.8rem 1rem !important;
  }
}

/* Отбеливание Zoom 4 */
.whitening-block {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.whitening-block__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.whitening-block__title {
  font-size: var(--font-h3);
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.whitening-block__desc {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.whitening-block__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.whitening-block__list li {
  font-size: var(--font-size-sm);
  color: var(--color-text-main);
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.4;
}

.whitening-block__list li::before {
  content: "✨";
  position: absolute;
  left: 0;
  top: 0;
}

.whitening-block__price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.whitening-block__price span {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.whitening-block__price strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-teal);
}

.whitening-block__price small {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.whitening-block__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.whitening-block__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   9. КОМАНДА ВРАЧЕЙ И РУТУБ-ФАСАД (DOCTORS)
   -------------------------------------------------------------------------- */
.doctors {
  background: transparent;
}

/* doctors slider wrapper & navigation */
.doctors__slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.doctors__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 14px rgba(0, 40, 60, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.doctors__arrow:hover {
  background: var(--color-mint-light);
  color: var(--color-teal);
  border-color: var(--color-teal);
  box-shadow: 0 6px 20px rgba(0, 136, 145, 0.2);
  transform: translateY(-50%) scale(1.06);
}

.doctors__arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.doctors__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: translateY(-50%) !important;
  box-shadow: none;
}

.doctors__arrow--prev {
  left: -24px;
}

.doctors__arrow--next {
  right: -24px;
}

@media (max-width: 1240px) {
  .doctors__arrow--prev {
    left: 8px;
  }
  .doctors__arrow--next {
    right: 8px;
  }
}

@media (max-width: 575px) {
  .doctors__arrow {
    display: none;
  }
}

.doctors__grid {
  display: flex !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  gap: 1.5rem;
  width: 100%;
  padding: 0.75rem 0.25rem 1rem 0.25rem;
  margin: 0;
}

@media (max-width: 1023.98px) {
  .doctors__grid {
    scroll-snap-type: x mandatory !important;
  }
}

.doctors__grid::-webkit-scrollbar {
  display: none !important;
}

.doctors__grid > .doctor-card {
  flex: 0 0 85% !important;
  max-width: 340px !important;
  scroll-snap-align: center;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .doctors__grid > .doctor-card {
    flex: 0 0 calc((100% - 1.5rem) / 2) !important;
    max-width: calc((100% - 1.5rem) / 2) !important;
    scroll-snap-align: start;
  }
}

@media (min-width: 1024px) {
  .doctors__grid > .doctor-card {
    flex: 0 0 calc((100% - 3rem) / 3) !important;
    max-width: calc((100% - 3rem) / 3) !important;
    scroll-snap-align: none !important;
  }
}

.doctors__dots {
  margin-top: 1rem !important;
}

.doctor-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.doctor-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background-color: var(--color-mint-light);
  overflow: hidden;
}

.doctor-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.doctor-card:hover .doctor-card__img {
  transform: scale(1.03);
}

/* Компактный стандартизированный мини-бейдж видеовизитки в углу фото */
.doctor-card__video-trigger {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem 0.35rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.doctor-card__video-trigger:hover {
  background: var(--color-accent-sale);
  border-color: var(--color-accent-sale);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(224, 86, 36, 0.4);
}

.doctor-card__video-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent-sale);
  color: var(--color-white);
  font-size: 0.6rem;
  line-height: 1;
  padding-left: 2px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.doctor-card__video-trigger:hover .doctor-card__video-icon {
  background: var(--color-white);
  color: var(--color-accent-sale);
}

.doctor-card__video-text {
  line-height: 1;
}

.doctor-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-card__header-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.doctor-card__name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.3;
  margin: 0;
  flex: 1;
}

/* @media (min-width: 1024px) {
  .doctor-card__name {
    min-height: 2.6em;
  }
} removed */

.doctor-card__exp-tag {
  background-color: var(--color-mint-light);
  color: var(--color-teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  border: 1px solid rgba(0, 136, 145, 0.15);
  flex-shrink: 0;
}

.doctor-card__spec {
  font-size: 0.8rem;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1.4;
}

/* @media (min-width: 1024px) {
  .doctor-card__spec {
    min-height: 2.8em;
  }
} removed */

.doctor-card__focus {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* @media (min-width: 1024px) {
  .doctor-card__focus {
    min-height: 5em;
  }
} removed */

.doctor-card__focus strong {
  color: var(--color-text-main);
}

.doctor-card__quote {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--color-text-main);
  background-color: transparent;
  padding: 0.4rem 0 0.4rem 0.85rem;
  border-radius: 0;
  border-left: 3px solid var(--color-teal);
  margin-bottom: 0;
  line-height: 1.5;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   10. ПРАЙС-ЛИСТ И РАССРОЧКА (PRICING)
   -------------------------------------------------------------------------- */
.pricing {
  background: transparent;
}

.pricing-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.pricing-tabs__btn {
  padding: 0.6rem 1.25rem;
  min-height: 44px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  transition: all var(--transition-fast);
}

.pricing-tabs__btn.active,
.pricing-tabs__btn.is-active {
  background-color: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}

.pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 3.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pricing-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.pricing-table th {
  background-color: var(--color-mint-light);
  padding: 1.1rem 1.35rem;
  text-align: left;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: 0.01em;
}

.pricing-table__th-name {
  width: 56%;
}

.pricing-table__th-cat {
  width: 18%;
}

.pricing-table__th-price {
  width: 26%;
}

.pricing-table td {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: var(--font-size-base);
  vertical-align: middle;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background-color: var(--color-cream);
}

.pricing-table__name strong {
  display: block;
  font-size: var(--font-size-base);
  color: var(--color-text-main);
  margin-bottom: 0.2rem;
}

.pricing-table__name small {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.pricing-table__price-val {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-teal);
  white-space: nowrap;
}

.pricing-table__price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent-sale);
  margin-right: 0.5rem;
  white-space: nowrap;
}

.pricing-table__price-old {
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-decoration: line-through;
  white-space: nowrap;
}

.pricing-table__price-note {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Горизонтальная плашка рассрочки 0% */
.pricing-installment-banner {
  background: linear-gradient(135deg, var(--color-mint-ice) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(0, 136, 145, 0.35);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .pricing-installment-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.pricing-installment-banner__left {
  flex: 1;
}

.pricing-installment-banner__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.pricing-installment-banner__terms {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 0.02em;
}

.pricing-installment-banner__title {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.pricing-installment-banner__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.pricing-installment-banner__desc strong {
  color: var(--color-teal);
}

.pricing-installment-banner__action {
  flex-shrink: 0;
  width: 100%;
}

.pricing-installment-banner__action .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

@media (min-width: 992px) {
  .pricing-installment-banner__action {
    width: auto;
  }

  .pricing-installment-banner__action .btn {
    width: auto;
    white-space: nowrap;
  }
}


/* --------------------------------------------------------------------------
   11. ОТЗЫВЫ (REVIEWS)
   -------------------------------------------------------------------------- */
.reviews-block {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.reviews-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 2rem;
}

.reviews-block__score {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.reviews-block__val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-teal);
  line-height: 1;
}

.reviews-block__stars {
  color: #F59E0B;
  font-size: 1.25rem;
}

.reviews-block__count {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.reviews-block__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.reviews-platform {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: 500;
  background: none;
  padding: 0;
  border-radius: 0;
}

.reviews-platform strong {
  color: var(--color-text-main);
  font-weight: 700;
  margin-left: 0.25rem;
}

.reviews-platform:not(:last-child)::after {
  content: "•";
  margin-left: 0.75rem;
  color: var(--color-text-light);
  font-weight: 400;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.review-item {
  background-color: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.review-item__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.review-item__header strong {
  font-size: var(--font-size-base);
  color: var(--color-text-main);
}

.review-item__date {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}

.review-item__rating {
  color: #F59E0B;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.review-item__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-main);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.review-item__source {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. ЧАСТЫЕ ВОПРОСЫ (FAQ ACCORDION)
   -------------------------------------------------------------------------- */
.faq {
  background: transparent;
}

.faq__accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-sm);
  background-color: var(--color-white);
}

.faq-item__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  min-height: 48px;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__toggle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background-color: var(--color-mint-light);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-item__toggle {
  transform: rotate(45deg);
  background-color: var(--color-teal);
  color: var(--color-white);
}

.faq-item__content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. КОНТАКТЫ, CRM БИТРИКС24 И КАРТА (CONTACTS)
   -------------------------------------------------------------------------- */
.contacts {
  background: transparent;
}

.contacts__card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.contacts__info {
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.contacts__title {
  font-size: var(--font-h2);
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.contacts__lead {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contacts__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contacts__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contacts__item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background-color: var(--color-mint-light);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 136, 145, 0.25);
  box-shadow: 0 4px 12px rgba(0, 136, 145, 0.12);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.contacts__item:hover .contacts__item-icon {
  transform: scale(1.05);
  background-color: var(--color-teal);
  color: var(--color-white);
}

.contacts__item-text strong {
  display: block;
  font-size: var(--font-size-base);
  color: var(--color-text-main);
  margin-bottom: 0.2rem;
}

.contacts__item-text span {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-text-main);
}

.contacts__item-text small {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-top: 0.2rem;
  line-height: 1.45;
}

.contacts__phone-link {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-teal);
  transition: color var(--transition-fast);
}

.contacts__phone-link:hover {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

.contacts__phone-alt {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Форма CRM Bitrix24 */
.contacts__form-side {
  background-color: var(--color-mint-ice);
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   ВАРИАНТ 7: БЕСШОВНЫЙ МАСКИРОВАННЫЙ BITRIX-ФРЕЙМ (PDENT2026)
   ========================================================================== */

.b24-seamless-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(0, 136, 145, 0.22);
  box-shadow: 0 16px 40px -8px rgba(0, 136, 145, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.b24-seamless-card:hover {
  box-shadow: 0 24px 48px -10px rgba(0, 136, 145, 0.22), 0 0 20px rgba(45, 212, 191, 0.2);
  border-color: rgba(0, 136, 145, 0.45);
  transform: translateY(-2px);
}

.b24-wrapper-header {
  background: linear-gradient(135deg, rgba(235, 248, 248, 0.85) 0%, rgba(255, 255, 255, 0.95) 100%);
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(0, 136, 145, 0.12);
  position: relative;
  text-align: left;
}

.b24-wrapper-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 136, 145, 0.08);
  color: var(--color-teal);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(0, 136, 145, 0.18);
  box-shadow: 0 2px 6px rgba(0, 136, 145, 0.06);
}

.b24-wrapper-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
  display: inline-block;
  animation: glowPulse 2s infinite ease-in-out;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.b24-wrapper-badge svg {
  color: var(--color-teal);
}

.b24-wrapper-title {
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  font-weight: 800;
  color: var(--color-text-main);
  line-height: var(--line-height-snug);
  margin: 0 0 0.4rem;
  padding-right: 2.5rem;
  letter-spacing: -0.02em;
  min-height: 1.4em;
}

.b24-wrapper-desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
}

.b24-mask-window {
  background: transparent;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 1.75rem 1.25rem;
}

/* Glass Inputs */
.b24-mask-window .form-input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1.1rem;
  font-size: var(--font-size-base);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(0, 136, 145, 0.18);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.03);
}

.b24-mask-window .form-input:focus {
  background: #ffffff;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3.5px rgba(0, 136, 145, 0.18), 0 2px 10px rgba(0, 136, 145, 0.08);
  outline: none;
}

.b24-mask-window .form-input::placeholder {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Shimmer CTA Button */
.b24-mask-window .btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  min-height: 52px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(0, 136, 145, 0.28);
  transition: all var(--transition-base);
  letter-spacing: 0.01em;
}

.b24-mask-window .btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(30deg) translateX(-100%);
  animation: shimmerSweep 4s infinite;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { transform: rotate(30deg) translateX(-120%); }
  40%, 100% { transform: rotate(30deg) translateX(120%); }
}

.b24-mask-window .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 136, 145, 0.38), 0 0 15px rgba(45, 212, 191, 0.3);
  background: linear-gradient(135deg, #029aa5 0%, var(--color-teal-dark) 100%);
}

.b24-mask-window .btn--primary:active {
  transform: translateY(0);
}

/* Деликатная подсказка маршрута внутри формы и контактов */
.form-route-hint {
  background: var(--color-mint-ice);
  border: 1px dashed rgba(0, 136, 145, 0.35);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.95rem;
  margin-top: 0.85rem;
  text-align: left;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-route-hint:hover {
  border-color: var(--color-teal);
  background: rgba(211, 240, 240, 0.45);
}

.form-route-hint__header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 0.25rem;
}

.form-route-hint__header svg {
  color: var(--color-teal);
  flex-shrink: 0;
}

.form-route-hint__text {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0 0 0.45rem 0;
}

.form-route-hint__links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.form-route-hint__link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.form-route-hint__link:hover {
  color: var(--color-teal-dark);
  text-decoration-thickness: 2px;
}

.modal__drag-handle {
  display: none;
}

.modal--lead,
dialog.modal.modal--lead {
  max-width: min(92vw, 520px) !important;
  width: 100% !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
}

.modal--lead .modal__dialog {
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.modal--lead .b24-seamless-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.modal--lead .modal__close--floating {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
}

.modal--lead .modal__close--floating:hover {
  background-color: var(--color-accent-sale);
  color: var(--color-white);
  border-color: var(--color-accent-sale);
  transform: scale(1.08);
}

.modal__body--b24 {
  padding: 0;
}

.modal--lead .b24-mask-window {
  padding: 3.5rem 1.75rem 1.5rem;
}

.b24-wrapper-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.9rem 1.25rem;
  background: rgba(248, 251, 251, 0.8);
  border-top: 1px solid rgba(0, 136, 145, 0.1);
  flex-wrap: wrap;
}

.b24-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.b24-trust-item svg {
  color: var(--color-teal);
  flex-shrink: 0;
}

.b24-trust-sep {
  color: var(--color-border-subtle);
  font-size: 0.75rem;
}

/* Карта */
.contacts__map-wrap {
  width: 100%;
  border-top: 1px solid var(--color-border);
}

.contacts__map-iframe {
  border: none;
  display: block;
  width: 100%;
  height: 400px;
}

/* --------------------------------------------------------------------------
   14. ПОДВАЛ (FOOTER) И ПРАВОВЫЕ РЕКВИЗИТЫ
   -------------------------------------------------------------------------- */
.footer {
  background-color: #1E293B;
  color: #94A3B8;
  padding-top: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  padding-bottom: 2rem;
  user-select: text; /* Разрешено выделение реквизитов */
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(0, 136, 145, 0.28);
  box-shadow: 0 -8px 24px rgba(0, 136, 145, 0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.footer__col--brand {
  max-width: 360px;
}

.footer__logo {
  width: 200px;
  height: auto;
  margin-bottom: 1.25rem;
}

.footer__tagline {
  font-size: var(--font-size-sm);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer__license-info {
  font-size: var(--font-size-xs);
  line-height: 1.5;
  color: #CBD5E1;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
}

.footer__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer__menu {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  word-break: normal;
}

.footer__menu a {
  color: #94A3B8;
  white-space: nowrap;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer__menu a:hover {
  color: var(--color-mint);
}

.footer__requisites {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8125rem;
  word-break: normal;
}

.footer__requisites li {
  line-height: 1.45;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer__requisites span {
  color: var(--color-white);
  font-weight: 500;
}

.footer__contact-line {
  font-size: var(--font-size-sm);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.footer__phone {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-mint);
  white-space: nowrap;
}

.footer__bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  font-size: var(--font-size-xs);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.625rem 1.25rem;
  width: 100%;
}

.footer__legal-link {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.footer__legal-link:hover {
  color: var(--color-mint);
}

.footer__copy {
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: center;
  width: 100%;
}

/* Обязательное медицинское предупреждение по ст. 24 ФЗ «О рекламе» */
.footer__disclaimer {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  text-align: center;
}

.footer__disclaimer-text {
  font-size: clamp(0.75rem, 0.7rem + 0.3vw, 0.9375rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #E2E8F0;
  line-height: 1.4;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   15. МОДАЛЬНЫЕ ОКНА (<DIALOG>)
   -------------------------------------------------------------------------- */
.modal,
dialog.modal {
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  background-color: transparent;
  max-width: min(90vw, 560px);
  width: 100%;
  margin: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 999999 !important;
}

dialog.modal[open],
dialog[open] {
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

dialog.modal:not([open]),
dialog:not([open]) {
  display: none !important;
}

.modal__close--floating {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  z-index: 20 !important;
  cursor: pointer;
}

.modal::backdrop {
  background-color: rgba(11, 19, 32, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999998 !important;
}

/* Скрытие баннера Cookie Consent при открытом диалоговом окне для устранения паразитного свечения */
body:has(dialog[open]) #cc-main {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal__dialog {
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.modal__header {
  padding: 1.5rem;
  background-color: var(--color-mint-ice);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal__title {
  font-size: var(--font-h4);
  font-weight: 800;
  color: var(--color-text-main);
}

.modal__close {
  width: 36px;
  height: 36px;
  min-height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  border: 1px solid var(--color-border-subtle);
  transition: all var(--transition-fast);
}

.modal__close:hover {
  background-color: var(--color-accent-sale);
  color: var(--color-white);
  border-color: var(--color-accent-sale);
}

.modal__body {
  padding: 1.5rem;
}

.modal__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Видеодиалог */
.modal--video {
  max-width: min(92vw, 800px);
}

.modal__video-player-wrap {
  aspect-ratio: 16 / 9;
  background-color: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.modal__video-player-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Сертификаты */
.modal--cert {
  max-width: min(92vw, 720px);
}

.cert-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-height: 65vh;
  overflow-y: auto;
  padding: 0.5rem;
}

.cert-gallery__item img {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
}

/* --------------------------------------------------------------------------
   16. РЕСПОНСИВНЫЕ МЕДИА-ЗАПРОСЫ (MOBILE-FIRST BREAKPOINTS)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .quiz-options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cert-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .symptoms__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .systems-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* .doctors__grid {
    grid-template-columns: repeat(2, 1fr);
  } moved */
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .header__nav {
    display: block;
  }
  .header__btn {
    display: inline-flex;
  }
  .header__hamburger {
    display: none;
  }
  .hero {
    min-height: calc(100dvh - 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(1.25rem, 1rem + 1vh, 2.25rem);
    padding-bottom: clamp(1.25rem, 1rem + 1vh, 2.25rem);
    box-sizing: border-box;
  }
  .hero__container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
  }
  .hero__content-wrap {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.75rem, 1.2rem + 1.5vw, 3rem);
    align-items: stretch !important;
    height: 100%;
    flex: 1 1 auto;
  }
  .hero__main-col {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .hero__panel {
    display: none;
  }
  .hero__panel.active,
  .hero__panel.is-active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
  .hero__panel[hidden] {
    display: none !important;
  }
  .hero__title {
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.35rem);
    line-height: 1.18;
    margin-bottom: clamp(0.45rem, 0.35rem + 0.4vh, 0.85rem);
  }
  .hero__lead {
    font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1.0625rem);
    line-height: 1.55;
    margin-bottom: clamp(0.65rem, 0.5rem + 0.5vh, 1.1rem);
  }
  .hero__offer-card {
    padding: clamp(0.95rem, 0.8rem + 0.5vh, 1.35rem);
    margin-bottom: clamp(0.65rem, 0.5rem + 0.5vh, 1.1rem);
    max-width: 100%;
  }
  .hero__features-list {
    gap: clamp(0.4rem, 0.3rem + 0.3vh, 0.7rem);
    margin-bottom: clamp(0.85rem, 0.6rem + 0.6vh, 1.35rem);
  }
  .hero__feature-item {
    font-size: clamp(0.875rem, 0.82rem + 0.15vw, 0.98rem);
  }
  .hero__actions {
    margin-top: auto;
    flex: 0 0 50px;
    height: 50px;
    min-height: 50px;
    max-width: 100%;
  }
  .hero__media-col {
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 100%;
    gap: 0.85rem;
    display: flex;
    flex-direction: column;
  }
  .hero__banner-card {
    display: none;
    height: 100%;
    max-width: 100%;
    width: 100%;
  }
  .hero__banner-card.active,
  .hero__banner-card.is-active {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    margin: 0;
  }
  .hero__banner-card[hidden] {
    display: none !important;
  }
  .hero__banner-media {
    flex: 1 1 auto;
    min-height: 280px;
    height: auto !important;
    max-height: none !important;
    position: relative;
    overflow: hidden;
  }
  .hero__banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
  }
  .hero__banner-content {
    flex: 0 0 auto;
    margin-top: auto;
    padding: clamp(0.85rem, 0.7rem + 0.5vh, 1.25rem) clamp(1rem, 0.8rem + 0.5vw, 1.5rem);
    padding-bottom: clamp(0.65rem, 0.5rem + 0.3vh, 0.95rem);
  }
  .hero__banner-title {
    font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.25rem);
    margin-bottom: 0.45rem;
  }
  .hero__banner-list {
    gap: 0.4rem;
  }
  .hero__banner-list li {
    font-size: clamp(0.82rem, 0.78rem + 0.1vw, 0.88rem);
    line-height: 1.4;
  }
  .hero__segment-nav {
    flex: 0 0 50px;
    height: 50px;
    min-height: 50px;
    margin: 0;
    margin-top: auto;
    max-width: 100%;
    width: 100%;
    gap: 0.65rem;
  }
  .aligners-layout {
    grid-template-columns: 1.25fr 1fr;
    align-items: stretch;
  }
  .aligners-layout__media {
    display: flex;
    flex-direction: column;
  }
  .aligners-card-preview {
    flex: 1;
    aspect-ratio: auto;
    min-height: 480px;
  }
  .whitening-block__grid {
    grid-template-columns: 1.25fr 1fr;
  }
  .contacts__grid {
    grid-template-columns: 1.1fr 1fr;
  }
  .contacts__form-side {
    border-top: none;
    border-left: 1px solid var(--color-border);
  }
  .footer__grid {
    grid-template-columns: 1.05fr 1.4fr 1.35fr 0.95fr;
    gap: 2rem;
  }
}

/* Корректировка для сверхмалых экранов (380px) */
@media (max-width: 380px) {
  .hero__title {
    font-size: 1.65rem;
  }
  .btn--lg {
    padding: 0.75rem 1.25rem;
    font-size: var(--font-size-base);
  }
}

/* Адаптивное меню подвала для смартфонов (< 576px) */
@media (max-width: 575px) {
  .footer__menu {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .footer__menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.25rem 0;
  }
  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .footer__legal-link {
    white-space: normal;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* --- RESPONSIVE PERFECTION FIXES --- */

/* 1.3 Gnathology grid 5th card on tablet */
@media (min-width: 640px) and (max-width: 1023px) {
  .gnathology-block__grid > *:nth-child(5) {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* 2.1 & 2.2 Мобильные карусели со Scroll Snap (< 992px) */
@media (max-width: 991px) {
  .symptoms__grid,
  .systems-grid,
  .reviews-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 1.25rem;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .symptoms__grid::-webkit-scrollbar,
  .systems-grid::-webkit-scrollbar,
  .reviews-grid::-webkit-scrollbar {
    display: none !important;
  }
  
  .symptoms__grid > *,
  .systems-grid > *,
  .reviews-grid > * {
    flex: 0 0 85% !important;
    max-width: 360px !important;
    scroll-snap-align: center !important;
    box-sizing: border-box;
  }
}

/* Индикаторы пагинации для мобильных каруселей */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem !important;
  margin-bottom: 0.5rem !important;
  padding: 0 !important;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot.is-active {
  width: 24px;
  background-color: var(--color-teal);
  border-radius: var(--radius-full);
}

@media (min-width: 992px) {
  .carousel-dots {
    display: none !important;
  }
}

/* Пошаговые таймлайны на мобильных устройствах (< 768px): Concept 02 Split Step Tiles */
@media (max-width: 767px) {
  .steps-timeline {
    padding: 1.25rem 1rem !important;
  }

  .steps-timeline__header {
    margin-bottom: 1.25rem !important;
  }

  .steps-timeline__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding-left: 0 !important;
  }

  .steps-timeline__grid::before {
    display: none !important;
  }

  .steps-timeline__grid .step-card {
    display: grid !important;
    grid-template-columns: 68px 1fr !important;
    background: #FFFFFF !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    transform: none !important;
  }

  .steps-timeline__grid .step-card:hover {
    transform: none !important;
  }

  .steps-timeline__grid .step-card .step-rail {
    background: linear-gradient(180deg, var(--color-teal) 0%, var(--color-teal-dark) 100%) !important;
    color: #FFFFFF !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.75rem 0.25rem !important;
    gap: 0.2rem !important;
  }

  .steps-timeline__grid .step-card .step-num {
    font-family: var(--font-heading) !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #FFFFFF !important;
  }

  .steps-timeline__grid .step-card .step-sub-label {
    font-size: 0.65rem !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    opacity: 0.9 !important;
    letter-spacing: 0.05em !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #FFFFFF !important;
  }

  .steps-timeline__grid .step-card .step-body {
    padding: 0.85rem 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .steps-timeline__grid .step-card .step-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    margin-bottom: 0.25rem !important;
  }

  .steps-timeline__grid .step-card .step-icon {
    font-size: 1.15rem !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
  }

  .steps-timeline__grid .step-card .step-title {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: var(--color-text-main) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
  }

  .steps-timeline__grid .step-card .step-desc {
    font-size: 0.8125rem !important;
    color: var(--color-text-muted) !important;
    line-height: 1.45 !important;
    margin: 0 !important;
  }
}

/* Полоса прогресса чтения лендинга (аппаратное GPU-ускорение через scaleX) */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-teal, #008891) 0%, #00d2c4 100%);
  z-index: 10001;
  pointer-events: none;
  color-scheme: light;
  will-change: transform;
}

/* Умная кнопка «Наверх» */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-teal);
  color: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 136, 145, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.2s ease;
  z-index: 9000;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background-color: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 145, 0.45);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  .back-to-top {
    display: none !important;
  }
}

/* Обертка табов цен с градиентной подсказкой скролла */
.pricing-tabs-wrap {
  position: relative;
}

@media (max-width: 767px) {
  .pricing-tabs-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 1.5rem;
    width: 44px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--color-bg) 100%);
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.3s ease;
  }
}

/* ==========================================================================
   2.3 МОБИЛЬНАЯ АДАПТАЦИЯ ПРАЙС-ЛИСТА (iOS Swipe Chips & Mobile Cards)
   ========================================================================== */
@media (max-width: 767px) {
  /* 1. Горизонтальная свайп-лента фильтров категорий (iOS Swipe Chips) */
  .pricing-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    gap: 0.5rem;
    padding: 0.25rem 1rem 0.65rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start !important;
    scroll-snap-type: x proximity;
  }

  .pricing-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .pricing-tabs__btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    scroll-snap-align: start;
    font-size: 0.85rem !important;
    padding: 0.55rem 1.15rem !important;
    min-height: 42px !important;
    border-radius: var(--radius-full) !important;
  }

  /* 2. Мобильная трансформация таблицы цен в парящие карточки (Mobile Cards) */
  .pricing-table-wrap {
    overflow-x: visible !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 2rem;
    background: transparent !important;
  }

  .pricing-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
    border-collapse: separate !important;
  }

  .pricing-table thead {
    display: none !important;
  }

  .pricing-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem;
    width: 100% !important;
  }

  .pricing-table tr {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(0, 136, 145, 0.14) !important;
    border-radius: var(--radius-lg, 16px) !important;
    padding: 1.15rem 1.25rem !important;
    box-shadow: 0 4px 18px rgba(30, 41, 59, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  }

  .pricing-table tr:hover td {
    background-color: transparent !important;
  }

  /* Скрытие отфильтрованных строк */
  .pricing-table tr[style*="display: none"],
  .pricing-table tr[style*="display:none"] {
    display: none !important;
  }

  /* Ячейки внутри карточки */
  .pricing-table td {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
  }

  /* 2.1 Категория услуги (первой сверху) */
  .pricing-table td.pricing-table__cat {
    order: 1;
    margin-bottom: 0.45rem;
  }

  .pricing-table td.pricing-table__cat .badge {
    font-size: 0.72rem;
    padding: 0.22rem 0.65rem;
    font-weight: 600;
  }

  /* 2.2 Наименование и клиническое описание услуги */
  .pricing-table td.pricing-table__name {
    order: 2;
    margin-bottom: 0.85rem;
  }

  .pricing-table__name strong {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    color: var(--color-text-main, #1E293B) !important;
    margin-bottom: 0.3rem !important;
  }

  .pricing-table__name small {
    font-size: 0.825rem !important;
    line-height: 1.45 !important;
    color: var(--color-text-muted, #64748B) !important;
  }

  /* 2.3 Блок стоимости внизу карточки с тиловым разделителем */
  .pricing-table td.pricing-table__price {
    order: 3;
    padding-top: 0.75rem !important;
    border-top: 1px dashed rgba(0, 136, 145, 0.18) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 0.35rem 0.6rem !important;
  }

  .pricing-table__price-val {
    font-size: 1.28rem !important;
    font-weight: 800 !important;
    color: var(--color-teal, #008891) !important;
    line-height: 1.2 !important;
  }

  .pricing-table__price-current {
    font-size: 1.32rem !important;
    font-weight: 800 !important;
    color: var(--color-accent-sale, #E05638) !important;
    margin-right: 0 !important;
    line-height: 1.2 !important;
  }

  .pricing-table__price-old {
    font-size: 0.9rem !important;
    color: var(--color-text-light, #94A3B8) !important;
    text-decoration: line-through !important;
  }

  .pricing-table__price-note {
    width: 100% !important;
    display: block !important;
    font-size: 0.78rem !important;
    color: var(--color-text-muted, #64748B) !important;
    margin-top: 0.15rem !important;
    font-weight: 500;
  }
}


/* 4.2 Minimum Touch Targets */
.modal__close,
.modal__close--floating,
.doctor-card__video-trigger,
.mobile-nav__link,
.footer__links a,
.footer__menu a {
  min-height: 44px !important;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.doctor-card__video-trigger {
  padding: 0.5rem 1rem;
}

/* ==========================================================================
   5. ЖЕСТКАЯ ТИПОГРАФИЧЕСКАЯ ИЗОЛЯЦИЯ ПРОТИВ BOOTSTRAP БИТРИКС24
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.hero__title,
.hero__story-title,
.section-title,
.hero__banner-title,
.hero__spec-title,
.quiz-card__title,
.system-card__title,
.step-title,
.doctor-card__name,
.b24-wrapper-title {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.02em !important;
}

h1, .h1, .hero__title,
h2, .h2, .section-title, .hero__story-title, .quiz-card__title {
  font-weight: 800 !important;
}

h3, .h3, .hero__banner-title, .system-card__title, .doctor-card__name {
  font-weight: 700 !important;
}

body, p, li, span, input, button, select, textarea {
  font-family: var(--font-body);
}

/* Инлайн-валидация и сообщения об ошибках форм */
.form-error {
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInError 0.2s ease;
}

@keyframes fadeInError {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   6. MOBILE BOTTOM SHEET ДЛЯ МОДАЛЬНОГО ОКНА ЗАПИСИ (#modal-lead)
   ========================================================================== */
@media (max-width: 767px) {
  .modal--lead,
  dialog.modal.modal--lead {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    inset-inline: 0 !important;
    bottom: var(--keyboard-height, 0px) !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 85vh;
    max-height: min(85vh, calc(100vh - var(--keyboard-height, 0px) - 16px)) !important;
    overflow: hidden;
    animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: bottom 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .modal--lead .modal__dialog {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 85vh;
    max-height: min(85vh, calc(100vh - var(--keyboard-height, 0px) - 16px)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    will-change: transform;
  }

  .modal--lead.is-swiping .modal__dialog {
    transition: none !important;
  }

  .modal--lead.is-closing-swipe .modal__dialog {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: translateY(100%) !important;
  }

  .modal--lead.is-bouncing-back .modal__dialog {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: translateY(0) !important;
  }

  .modal--lead .b24-seamless-card {
    border-radius: 20px 20px 0 0 !important;
    border-bottom: none !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18) !important;
  }

  .modal--lead .modal__drag-handle {
    display: block;
    width: 36px;
    height: 4px;
    background-color: rgba(0, 136, 145, 0.3);
    border-radius: var(--radius-full);
    margin: 10px auto 4px;
    flex-shrink: 0;
    touch-action: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
  }

  .modal--lead .modal__drag-handle::after {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -14px;
    left: -20px;
    right: -20px;
  }


  .modal--lead .b24-wrapper-header {
    padding: 0.5rem 1.25rem 0.75rem !important;
    position: relative;
  }

  /* Скрытие бейджа онлайна и подзаголовка на смартфонах */
  .modal--lead .b24-wrapper-badge,
  .modal--lead .b24-wrapper-desc {
    display: none !important;
  }

  .modal--lead .b24-wrapper-title {
    font-size: 1.15rem !important;
    margin: 0 !important;
    padding-right: 2.75rem !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
  }

  .modal--lead .modal__close--floating {
    top: 8px !important;
    right: 12px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    font-size: 1rem !important;
  }

  .modal--lead .b24-mask-window {
    padding: 2.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  .modal--lead .form-group {
    margin-bottom: 0.75rem !important;
  }

  .modal--lead .form-label {
    font-size: 0.82rem !important;
    margin-bottom: 0.25rem !important;
  }

  .modal--lead .form-input {
    min-height: 46px !important;
    padding: 0.6rem 0.95rem !important;
    font-size: 0.95rem !important;
  }

  .modal--lead .form-check {
    margin-bottom: 0.75rem !important;
  }

  .modal--lead .form-check__label {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  .modal--lead .btn--primary {
    min-height: 48px !important;
    margin-top: 0.5rem !important;
    font-size: 0.95rem !important;
  }

  /* Скрытие футера гарантий на смартфонах */
  .modal--lead .b24-wrapper-footer {
    display: none !important;
  }
}

/* ==========================================================================
   ОФИЦИАЛЬНЫЙ ВИДЖЕТ БИТРИКС24 И ВАРИАНТ 7 (БЕСШОВНЫЙ КАРКАС)
   ========================================================================== */

.b24-form-mount {
  width: 100%;
  position: relative;
  z-index: 1;
}

.b24-form-mount:empty {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.b24-form-mount:not(:empty) {
  min-height: 380px;
}

.b24-form-mount iframe,
.modal__b24-wrap iframe,
.contacts__b24-wrap iframe,
.quiz-result__b24-container iframe {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  transition: height 0.25s ease;
}

/* Скрытие системных плашек и рамок конструктора Битрикс24 */
.b24-mask-window {
  overflow: hidden;
  position: relative;
  border-radius: inherit;
}

/* Адаптивность для встроенной Yandex SmartCaptcha */
.b24-form-mount .smart-captcha,
.b24-form-mount [class*="smart-captcha"],
.b24-form-mount iframe[src*="smartcaptcha"] {
  max-width: 100% !important;
  margin: 0.75rem auto !important;
}

/* Fallback-форма с плавным переходом */
.fallback-form {
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   COOKIE CONSENT (vanilla-cookieconsent v3) — ДИЗАЙН-ТОКЕНЫ PDENT2026
   ========================================================================== */

#cc-main {
  --cc-font-family: var(--font-body, 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif);
  --cc-btn-primary-bg: var(--color-teal, #008891);
  --cc-btn-primary-hover-bg: var(--color-teal-dark, #00666d);
  --cc-btn-primary-color: #ffffff;
  --cc-btn-secondary-bg: var(--color-mint-ice, #F0FDF4);
  --cc-btn-secondary-hover-bg: var(--color-mint-light, #E6FFFA);
  --cc-btn-secondary-color: var(--color-teal-dark, #00666d);
  --cc-btn-secondary-border-color: rgba(0, 136, 145, 0.2);
  --cc-modal-border-radius: 20px;
  --cc-btn-border-radius: 12px;
  --cc-bg: rgba(255, 255, 255, 0.96);
  --cc-primary-color: var(--color-slate-900, #0f172a);
  --cc-secondary-color: var(--color-slate-600, #475569);
  --cc-separator-border-color: rgba(0, 136, 145, 0.12);
  --cc-cookie-category-block-bg: rgba(250, 237, 227, 0.35);
  --cc-cookie-category-block-border: rgba(0, 136, 145, 0.15);
  --cc-toggle-on-bg: var(--color-teal, #008891);
}

#cc-main .cm {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px -6px rgba(0, 136, 145, 0.22), 0 0 0 1px rgba(0, 136, 145, 0.15);
}

#cc-main .pm {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ==========================================================================
   YANDEX SMARTCAPTCHA SHIELD ISOLATION (ВЕРИФИКАЦИЯ БЕЗ НАЛОЖЕНИЯ НА КОНТЕНТ)
   Скрытие навязчивой всплывающей боковой плашки «Политика обработки данных».
   Фоновая проверка токенов капчи в backend-iframe продолжает работать на 100%.
   Ссылка на официальное уведомление размещена в правовой панели подвала сайта.
   ========================================================================== */
.SmartCaptcha-Shield,
[class*="SmartCaptcha-Shield"],
.SmartCaptcha-Shield_visible,
.SmartCaptcha-Shield-Anchor {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  transform: scale(0) !important;
  z-index: -9999 !important;
}

/* ==========================================================================
   VISUAL DYNAMICS & MOBILE ERGONOMICS 2026
   ========================================================================== */

/* 1. Stagger Scroll-Reveal (120 FPS Kinetics) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger-container > .stagger-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.stagger-container.is-revealed > .stagger-card,
.stagger-container > .stagger-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay cascade */
.stagger-container.is-revealed > .stagger-card:nth-child(1),
.stagger-container > .stagger-card.is-revealed:nth-child(1) { transition-delay: 0.04s; }

.stagger-container.is-revealed > .stagger-card:nth-child(2),
.stagger-container > .stagger-card.is-revealed:nth-child(2) { transition-delay: 0.10s; }

.stagger-container.is-revealed > .stagger-card:nth-child(3),
.stagger-container > .stagger-card.is-revealed:nth-child(3) { transition-delay: 0.16s; }

.stagger-container.is-revealed > .stagger-card:nth-child(4),
.stagger-container > .stagger-card.is-revealed:nth-child(4) { transition-delay: 0.22s; }

.stagger-container.is-revealed > .stagger-card:nth-child(5),
.stagger-container > .stagger-card.is-revealed:nth-child(5) { transition-delay: 0.28s; }

.stagger-container.is-revealed > .stagger-card:nth-child(6),
.stagger-container > .stagger-card.is-revealed:nth-child(6) { transition-delay: 0.34s; }

/* 2. Tabular Numbers for Counters (Zero CLS Guarantee) */
.counter-val {
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

/* 3. 3D Tilt for Doctor Cards (Strictly Desktop-Only) */
@media (hover: hover) and (pointer: fine) {
  .doctor-card {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }

  .doctor-card:hover {
    box-shadow: 0 16px 36px -4px rgba(0, 40, 60, 0.16), 0 0 0 1px rgba(0, 136, 145, 0.2);
  }
}

/* 4. Floating Mobile Smart-Dock (<768px) */
.mobile-smart-dock {
  display: none;
}

@media (max-width: 767.98px) {
  .mobile-smart-dock {
    display: block;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 950;
    pointer-events: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-smart-dock.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-smart-dock.is-hidden {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    pointer-events: none !important;
  }

  .mobile-smart-dock__inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.55rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 136, 145, 0.22);
    border-radius: 9999px;
    box-shadow: 0 10px 32px -4px rgba(0, 40, 60, 0.2), 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .mobile-smart-dock__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-smart-dock__btn:active {
    transform: scale(0.97);
  }

  .mobile-smart-dock__btn--call {
    background: var(--color-mint-ice, #F0FDF4);
    color: var(--color-teal-dark, #00666d);
    border: 1px solid rgba(0, 136, 145, 0.25);
  }

  .mobile-smart-dock__btn--book {
    background: linear-gradient(135deg, var(--color-teal, #008891) 0%, #00a89d 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 136, 145, 0.35);
  }

  .mobile-smart-dock__btn--top {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    min-height: 46px;
    max-width: 46px;
    padding: 0;
    border-radius: 9999px;
    background: var(--color-mint-ice, #F0FDF4);
    color: var(--color-teal, #008891);
    border: 1px solid rgba(0, 136, 145, 0.25);
    box-shadow: 0 2px 6px rgba(0, 136, 145, 0.08);
  }

  .mobile-smart-dock__btn--top:hover {
    background: var(--color-mint-light, #E6FFFA);
    border-color: rgba(0, 136, 145, 0.4);
  }

  .mobile-smart-dock__btn--top:active {
    transform: scale(0.92);
    background: rgba(0, 136, 145, 0.15);
  }

  @media (max-width: 360px) {
    .mobile-smart-dock {
      left: 0.5rem;
      right: 0.5rem;
    }
    .mobile-smart-dock__inner {
      gap: 0.4rem;
      padding: 0.35rem 0.45rem;
    }
    .mobile-smart-dock__btn {
      padding: 0.5rem 0.65rem;
      font-size: 0.8125rem;
    }
    .mobile-smart-dock__btn--top {
      flex: 0 0 44px;
      width: 44px;
      height: 44px;
      min-height: 44px;
      max-width: 44px;
    }
  }
}

/* 5. Accessibility & Reduced Motion Protection */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .stagger-container > .stagger-card,
  .scroll-progress-bar,
  .mobile-smart-dock,
  .doctor-card,
  .header {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
}







