/*
Theme Name: My Custom Theme
Theme URI: https://detox152.ru/
Author: AlfaMed
Version: 1.2.3
Text Domain: my-custom-theme
*/

/* ============ DESIGN SYSTEM ============ */
:root {
  color-scheme: light;
  --green-dark:  #1a5083;
  --green:       #2368a1;
  --green-light: #E1EFFA;
  --green-mid:   #2368a1;
  --beige:       #f0f8ff;
  --red-soft:    #E1EFFA;
  --red:         #2368a1;
  --gold:        #06B6D4;
  --accent:      #06B6D4;
  --accent-light:#E0F7FA;
  --accent-dark: #0891B2;
  --accent-glow: rgba(6,182,212,0.35);
  --text:        #102133;
  --text-muted:  #4a5e73;
  --border:      #c8def0;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card:  0 4px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 40px rgba(6,182,212,0.18);
  --shadow-glow:  0 0 30px rgba(6,182,212,0.25);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
  background: #ffffff;
}
body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* space for sticky CTA */
}

/* ============ REVEAL-ON-SCROLL ============ */
@media (min-width: 768px) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
}
.reveal.is-visible, .reveal.is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (max-width: 767px) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  z-index: 100;
}
.header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
@media (min-width: 1100px) {
  .header .container {
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }
  .header__inner {
    min-height: 64px;
    justify-content: center;
    gap: 16px;
  }
}
@media (min-width: 1440px) {
  .header .container {
    max-width: none;
    padding-left: 40px;
    padding-right: 40px;
  }
  .header__inner {
    min-height: 64px;
    justify-content: center;
    gap: 16px;
  }
}
.header__line {
  height: 3px;
  background: #2368a1;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.logo__mark img {
  height: 53px;
  width: auto;
  object-fit: contain;
  display: block;
}
@media (min-width: 1100px) {
  .logo__mark img { height: 53px; }
}
@media (min-width: 1440px) {
  .logo__mark img { height: 53px; }
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo__name { font-weight: 600; font-size: 14px; color: #102133; }
.logo__sub { font-size: 11px; color: #102133; }

.nav {
  display: none;
  align-items: center;
  column-gap: 10px;
  row-gap: 4px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 0;
}
.nav a {
  font-size: 12px;
  font-weight: 500;
  color: #102133;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
  transition: color .15s;
  line-height: 1.2;
}
@media (min-width: 1280px) { .nav a { font-size: 12.5px; } }
@media (min-width: 1440px) { .nav a { font-size: 13.5px; } }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #2368a1;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav a:hover { color: #2368a1; }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active {
  color: #2368a1;
  font-weight: 700;
}
.nav a.is-active::after { transform: scaleX(1); }

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2368a1;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}
.header__phone-text { display: none; }
@media (min-width: 1600px) { .header__phone-text { display: inline; } }
.header__status {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #E1EFFA;
  color: #2368a1;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.header__status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2368a1;
  box-shadow: 0 0 0 4px rgba(35,104,161,0.14);
}
@media (min-width: 768px) {
  .header__status { display: inline-flex; }
}
@media (min-width: 1100px) {
  .header__status { margin-left: 0; }
}

/* Группа: версия для слабовидящих + гамбургер */
.header__toolbar {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  z-index: 110;
}

/* ============ MOBILE NAV TOGGLE ============ */
.nav-toggle {
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #102133;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-active { opacity: 0; pointer-events: none; }
body.nav-open .header__toolbar { pointer-events: none; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16,33,51,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 105;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1099px) {
  .header__phone { margin-left: auto; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    width: min(86vw, 360px);
    background: #fff;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 84px 0 24px;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease;
    box-shadow: -12px 0 40px rgba(16,33,51,0.15);
    z-index: 108;
    overflow-y: auto;
  }
  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav a {
    font-size: 15px;
    font-weight: 600;
    padding: 13px 24px;
    text-align: left;
    border-bottom: 1px solid #E1EFFA;
  }
  .nav a::after { display: none; }
  .nav a:hover { background: #E1EFFA; }
  body.nav-open { overflow: hidden; }

  .nav__close {
    position: absolute;
    top: 0;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 24px;
    color: #102133;
    cursor: pointer;
    z-index: 109;
    border-radius: 12px;
    transition: background .15s ease;
  }
  .nav__close:hover { background: #E1EFFA; }

  .nav a.nav__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #2368a1 0%, #1a5083 100%);
    color: #fff;
    padding: 20px 24px;
    margin: auto 16px 8px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-bottom: none;
    flex-shrink: 0;
    position: sticky;
    bottom: 8px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(35,104,161,0.35);
    transition: background .2s ease;
  }
  .nav a.nav__phone::before {
    content: none;
    animation: none;
  }
  .nav a.nav__phone:hover {
    background: linear-gradient(135deg, #1a5083 0%, #0f3a63 100%);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.14), 0 6px 16px rgba(35,104,161,0.28);
  }
  .nav a.nav__phone:active {
    transform: translateY(1px);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.22), 0 8px 20px rgba(35,104,161,0.42);
  }
  .nav__phone svg { flex-shrink: 0; }
}

/* Совсем узкие экраны (iPhone SE, 360px Android) */
@media (max-width: 479px) {
  .nav a:not(.nav__phone) {
    font-size: 14px;
    padding: 11px 20px;
  }
  .nav a.nav__phone {
    font-size: 16px;
    padding: 18px 20px;
    margin: auto 12px 8px;
  }
}

@media (max-width: 767px) {
  .header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo toggle"
      "phone phone";
    gap: 4px 12px;
    min-height: 88px;
  }
  .logo {
    grid-area: logo;
    min-width: 0;
  }
  .logo__mark img { height: 46px; }
  .header__toolbar {
    grid-area: toggle;
    justify-self: end;
    margin-right: 14px;
    gap: 2px;
  }
  .header__phone {
    grid-area: phone;
    display: flex;
    width: 100%;
    min-width: 0;
    margin-left: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    font-size: 15px;
    overflow: hidden;
  }
  .header__phone-text {
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header__phone::after {
    content: 'Позвонить';
    margin-left: auto;
    margin-right: 14px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #2368a1;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
  }
}

@media (max-width: 359px) {
  .header__phone {
    gap: 6px;
    font-size: 14px;
  }
  .header__phone svg {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 1100px) {
  .nav {
    flex: 0 1 auto;
    justify-content: center;
    flex-wrap: nowrap;
    column-gap: 16px;
  }
  .nav a {
    font-size: 12px;
  }
  .header__phone {
    padding: 12px 28px;
    background: linear-gradient(135deg, #2368a1 0%, #0891B2 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(35,104,161,0.35);
    transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
  }
  .header__phone::before {
    content: none;
    animation: none;
  }
  .header__phone:hover {
    background: linear-gradient(135deg, #1a5083 0%, #06B6D4 100%);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.14), 0 6px 16px rgba(35,104,161,0.3);
    transform: translateY(-2px);
  }
  .header__phone:active {
    transform: translateY(0);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.2), 0 8px 24px rgba(35,104,161,0.42);
  }
  .header__phone svg,
  .header__phone-text {
    display: none;
  }
  .header__phone::after {
    content: 'Позвонить';
  }
  .header__status {
    display: none;
  }
  .nav-toggle, .nav-backdrop, .nav__close, .nav__phone { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .header__status { margin-left: auto; }
  .header__phone { margin-left: 0; }
}

body { padding-top: 71px; }
@media (max-width: 767px) { body { padding-top: 91px; } }
@media (min-width: 1100px) { body { padding-top: 67px; } }
@media (min-width: 1440px) { body { padding-top: 67px; } }

/* ============ HERO ============ */
.hero {
  padding: 28px 0 36px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(35,104,161,0.06) 0%, transparent 50%),
    linear-gradient(165deg, #ffffff 0%, #f0f8ff 40%, #E0F7FA 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 80%; height: 200%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner { display: flex; flex-direction: column; position: relative; z-index: 1; }
.hero__media {
  display: block;
  margin-top: 24px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(6,182,212,0.15);
}
.hero__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(6,182,212,0.3);
  border-radius: 999px;
  padding: 7px 14px 7px 10px;
  font-size: 13px;
  color: #102133;
  font-weight: 600;
  align-self: flex-start;
  box-shadow: 0 4px 16px rgba(6,182,212,0.1);
}
.pulse {
  position: relative;
  width: 10px; height: 10px;
  display: inline-block;
}
.pulse span {
  position: absolute; inset: 0;
  background: #06B6D4;
  border-radius: 50%;
}
.pulse::before {
  content: '';
  position: absolute; inset: 0;
  background: #06B6D4;
  border-radius: 50%;
  animation: pulse 1.6s ease-out infinite;
  opacity: .6;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(2.6); opacity: 0; }
}

.hero__title {
  margin-top: 20px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #102133;
}
.accent { color: #2368a1; }

.hero__sub {
  margin-top: 12px;
  font-size: 16px;
  color: #102133;
  line-height: 1.5;
}
.hero--detox {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.08) 0%, transparent 50%),
    radial-gradient(circle at 18% 18%, rgba(35,104,161,0.10), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(225,239,250,0.9), transparent 30%),
    linear-gradient(165deg, #ffffff 0%, #f0f8ff 40%, #E0F7FA 100%);
}
.hero--detox::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35,104,161,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,104,161,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
  pointer-events: none;
}
.hero--detox .hero__inner {
  position: relative;
  z-index: 1;
}
.landing-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}
.landing-actions .btn {
  width: 100%;
  margin-top: 0;
}
.pills--detox .pill {
  box-shadow: 0 10px 24px rgba(35,104,161,0.08);
}
.hero__media--detox img {
  box-shadow: 0 24px 70px rgba(16,33,51,0.16);
}
@media (min-width: 768px) {
  .landing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .landing-actions .btn {
    width: auto;
    min-width: 240px;
  }
}

/* ============ QUICK CALLBACK ============ */
.quick-callback {
  position: relative;
  overflow: hidden;
  padding: 0 0 44px;
  background:
    radial-gradient(circle at 12% 10%, rgba(35,104,161,0.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f6fbff 100%);
}
.quick-callback__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 22px;
  border: 1px solid rgba(200,222,240,0.95);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(225,239,250,0.88) 100%);
  box-shadow: 0 18px 54px rgba(35,104,161,0.13);
}
.quick-callback__card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 18px;
  pointer-events: none;
}
.quick-callback__content,
.quick-callback__form {
  position: relative;
  z-index: 1;
}
.quick-callback__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.quick-callback__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(35,104,161,0.22);
}
.quick-callback__icon svg {
  width: 21px;
  height: 21px;
}
.quick-callback__title {
  margin-top: 14px;
  max-width: 620px;
  color: var(--text);
  font-size: clamp(24px, 5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.quick-callback__text {
  margin-top: 12px;
  max-width: 640px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}
.quick-callback__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 18px;
}
.quick-callback__features li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.quick-callback__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/11px no-repeat;
}
.quick-callback__form {
  align-self: center;
  padding: 18px;
  border: 1px solid rgba(200,222,240,0.95);
  border-radius: 20px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 14px 40px rgba(16,33,51,0.08);
}
.quick-callback__label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.quick-callback__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.quick-callback__input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.quick-callback__input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(35,104,161,0.12);
}
.quick-callback__input.is-invalid {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 4px rgba(35,104,161,0.16);
}
.quick-callback__submit {
  width: 100%;
  margin-top: 0;
  white-space: nowrap;
}
.quick-callback__form .quick-callback__row + .popup__consent {
  margin-top: 16px;
}
.quick-callback__privacy {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}
.quick-callback__privacy a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.quick-callback__success {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}
.quick-callback__success.is-visible {
  display: block;
}
@media (min-width: 768px) {
  .quick-callback {
    padding: 0 0 58px;
  }
  .quick-callback__card {
    padding: 30px;
  }
  .quick-callback__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (min-width: 1100px) {
  .quick-callback {
    margin-top: -30px;
    padding: 0 0 68px;
    background: linear-gradient(180deg, #fff 0%, #f6fbff 100%);
  }
  .quick-callback__card {
    grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
    gap: 36px;
    padding: 34px;
  }
  .quick-callback__row {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 1280px) {
  .quick-callback__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .quick-callback__submit {
    width: auto;
  }
}
@media (max-width: 539px) {
  .quick-callback {
    padding-bottom: 34px;
  }
  .quick-callback__card {
    margin: 0 -4px;
    padding: 18px;
    border-radius: 20px;
  }
  .quick-callback__form {
    padding: 14px;
    border-radius: 18px;
  }
  .quick-callback__submit {
    height: 54px;
    font-size: 15px;
    padding: 0 16px;
  }
  .quick-callback__form .quick-callback__row + .popup__consent {
    margin-top: 20px;
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn:hover,
.btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(6,182,212,0.14), 0 4px 12px rgba(16,33,51,0.1);
}
.btn:active {
  transform: translateY(1px);
  box-shadow: 0 0 0 2px rgba(6,182,212,0.22), 0 6px 14px rgba(16,33,51,0.18);
}
.btn--primary {
  background: linear-gradient(135deg, #2368a1 0%, #0891B2 100%);
  color: #fff;
  height: 70px;
  font-size: 19px;
  padding: 0 32px;
  box-shadow: 0 4px 20px rgba(6,182,212,0.3);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: none;
  animation: none;
}
.btn--primary:hover { background: linear-gradient(135deg, #1a5083 0%, #06B6D4 100%); box-shadow: 0 8px 30px rgba(6,182,212,0.4); }
.btn--secondary {
  background: #fff;
  color: #102133;
  height: 50px;
  font-size: 14px;
  border: 1px solid #c8def0;
  border-radius: 14px;
  padding: 0 20px;
  font-weight: 600;
}
.btn--secondary:hover { border-color: #2368a1; color: #2368a1; }
.btn--cta {
  width: 100%;
  margin-top: 24px;
  height: 64px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 16px;
}
.btn--secondary {
  width: 100%;
  margin-top: 10px;
}
.btn--block {
  width: 100%;
  margin-top: 24px;
}

/* ============ PILLS ============ */
.pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 22px;
}
@media (min-width: 480px) {
  .pills { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
/* Последний нечётный элемент занимает обе колонки на узких экранах */
@media (max-width: 479px) {
  .pills .pill:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #102133;
  white-space: normal;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6,182,212,0.15);
}
.pill__icon {
  width: 16px;
  height: 16px;
  color: #2368a1;
  flex-shrink: 0;
}
.pill__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.text-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  vertical-align: -3px;
  color: #2368a1;
  margin-right: 6px;
}
.text-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============ SECTIONS ============ */
.section {
  padding: 48px 0;
  background: #fff;
  position: relative;
}
.section--beige { background: linear-gradient(180deg, #f0f8ff 0%, #E0F7FA 100%); }
.section--dark {
  background: linear-gradient(135deg, #0c2d4a 0%, #102133 50%, #0a2540 100%);
  color: #fff;
}
.section--dark .section__title { color: #fff; }
.section--dark .section__sub { color: rgba(255,255,255,0.75); }
.section__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #102133;
}
.section__sub {
  margin-top: 10px;
  font-size: 14px;
  color: #102133;
  line-height: 1.5;
}

/* ============ SERVICES ============ */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid #c8def0;
  border-radius: 18px;
  padding: 20px;
}
.card--featured {
  border: 1.5px solid #2368a1;
}
.card__badge {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(35,104,161,0.1);
  color: #2368a1;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.card__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #E1EFFA;
  display: grid;
  place-items: center;
}
.card__title {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #102133;
  line-height: 1.3;
}
.card__desc {
  margin-top: 6px;
  font-size: 13px;
  color: #102133;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__price {
  font-size: 20px;
  font-weight: 600;
  color: #102133;
}
.btn-small {
  display: inline-flex;
  align-items: center;
  background: #2368a1;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  transition: background .15s;
}
.btn-small:hover { background: #1a5083; }
.btn-small--ghost {
  background: #fff;
  color: #2368a1;
  border: 1px solid #2368a1;
}
.btn-small--ghost:hover { background: #E1EFFA; }

/* ============ REASONS ============ */
.reasons {
  margin-top: 24px;
}
.reason {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #c8def0;
}
.reason:last-child { border-bottom: none; }
.reason__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: grid;
  place-items: center;
}
.reason__body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #102133;
  line-height: 1.3;
}
.reason__body p {
  margin-top: 6px;
  font-size: 13px;
  color: #102133;
  line-height: 1.45;
}

/* ============ STEPS ============ */
.steps {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step {
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 18px;
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(6,182,212,0.15);
}
.step__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #06B6D4 0%, #2368a1 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(6,182,212,0.25);
}
.step__icon svg {
  width: 30px;
  height: 30px;
  display: block;
}
.step__title {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 600;
  color: #102133;
}
.step__desc {
  margin-top: 8px;
  font-size: 14px;
  color: #102133;
  line-height: 1.5;
}
.step__arrow {
  display: none;
  align-self: center;
  color: #2368a1;
  font-size: 24px;
  font-weight: 600;
}

/* ============ FOOTER ============ */
.footer {
  background: #eef6fc;
  color: #102133;
  border-top: 1px solid rgba(200,222,240,0.8);
}
.footer__top {
  display: grid;
  gap: 30px;
  padding: 44px 0 36px;
}
.footer__title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #102133;
}
.footer__name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #46586b;
}
.footer__brand-logo {
  width: auto;
  height: clamp(46px, 7.2vw, 62px);
  max-width: 264px;
  object-fit: contain;
}
.footer__phone {
  display: inline-block;
  margin-top: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #102133;
}
.footer__brand-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}
.footer__brand-contact .footer__phone-line {
  margin-top: 0;
}
.footer__brand-contact .footer__socials--messengers {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
}
.footer__phone-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.footer__phone-line .footer__phone {
  margin-top: 0;
}
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.footer__socials--messengers {
  margin-top: 12px;
}
.footer__social {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.footer__social:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(35,104,161,0.18);
}
.footer__social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.footer__social img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
/* Мессенджер «Макс» в подвале — логотип + подпись, без круга и обводки */
.footer__social--max {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  border: 0;
  box-shadow: none;
  place-items: center;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  white-space: nowrap;
  text-decoration: none;
}
.footer__social--max:hover {
  transform: none;
  box-shadow: none;
}
.footer__social--max img {
  display: block;
  width: calc(34px / 1.5);
  height: calc(34px / 1.5);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-sizing: border-box;
  object-fit: contain;
  flex-shrink: 0;
}
.footer__social-max-text {
  line-height: 1;
  font-feature-settings: "lnum" 1;
  font-size: 17px;
  font-weight: 700;
  color: #102133;
}
.footer__social--max:hover .footer__social-max-text {
  color: #2368a1;
}
/* Иконка Max рядом с надписью в тексте и кнопках */
.max-word-mark {
  display: inline-block;
  width: 1.38em;
  height: 1.38em;
  margin-right: 0.22em;
  vertical-align: -0.16em;
  object-fit: contain;
}
.footer__social--phone { background: #2aabee; }
.footer__social--phone.footer__social--lead {
  margin-top: 0;
}
.footer__work {
  margin-top: 26px;
  max-width: 230px;
  font-size: 13px;
  line-height: 1.55;
  color: #596879;
}
.footer__work strong,
.footer__details strong {
  color: #102133;
  font-weight: 700;
}
.footer__links {
  display: grid;
  gap: 14px;
  font-size: 14px;
  color: #526172;
}
.footer__links a {
  transition: color .18s ease;
}
.footer__links a:hover {
  color: #2368a1;
}
.footer__details {
  font-size: 13px;
  line-height: 1.55;
  color: #526172;
}
.footer__details p + p {
  margin-top: 10px;
}
.footer__warning {
  padding: 24px 0 26px;
  border-top: 1px solid rgba(200,222,240,0.75);
  text-align: center;
  font-size: 22px;
  line-height: 1.35;
  color: #4c5662;
}
.footer__legal {
  border-top: 1px solid rgba(200,222,240,0.75);
  background: rgba(238,246,252,0.95);
}
.footer__legal-inner {
  padding-top: 18px;
  padding-bottom: 22px;
  font-size: 12px;
  line-height: 1.55;
  color: #526172;
}
.footer__legal a {
  color: #2368a1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  color: #526172;
}
.footer__legal-links a {
  color: inherit;
  text-decoration: none;
}
.footer__studio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 70px;
  background: #fff;
  color: #526172;
  font-size: 12px;
}
.footer__studio-logo {
  width: auto;
  height: clamp(26px, 4.8vw, 34px);
  max-width: 144px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .footer__top {
    grid-template-columns: 1.15fr 1fr 1fr 1.25fr;
    gap: 48px;
    padding-top: 54px;
  }
  .footer__warning {
    font-size: 26px;
  }
}
@media (max-width: 539px) {
  .footer__warning {
    font-size: 19px;
  }
  .footer__legal-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* ============ STICKY CTA ============ */
.sticky-cta {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  height: 64px;
  background: #2368a1;
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  box-shadow: 0 8px 24px rgba(35,104,161,0.35);
  z-index: 90;
  opacity: 0;
  transform: translateY(120%);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sticky-cta__text { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-cta__title { font-size: 15px; font-weight: 600; }
.sticky-cta__sub { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 2px; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 115;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(16, 33, 51, 0.08);
  padding: 14px 0;
  padding-bottom: max(14px, env(safe-area-inset-bottom, 0px));
}
.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}
.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  flex: 1 1 280px;
  max-width: 920px;
}
.cookie-banner__text a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__text a:hover {
  color: var(--green-dark);
}
.cookie-banner__accept {
  flex-shrink: 0;
  height: 48px;
  font-size: 14px;
  padding: 0 22px;
  border-radius: 16px;
  margin: 0;
  width: auto;
  background: linear-gradient(135deg, #2368a1 0%, #0891B2 100%);
  box-shadow: 0 4px 20px rgba(6,182,212,0.3);
  transition: none;
}
.cookie-banner__accept::before { content: none; animation: none; }
.cookie-banner__accept:hover { background: linear-gradient(135deg, #1a5083 0%, #06B6D4 100%); box-shadow: 0 8px 30px rgba(6,182,212,0.4); transform: none; }
@media (max-width: 899px) {
  .cookie-banner__accept { padding: 0 22px; height: 24px; font-size: 14px; border-radius: 16px; }
}
body.has-cookie-banner {
  padding-bottom: calc(84px + var(--cookie-banner-h, 88px));
}
.has-cookie-banner .sticky-cta.is-visible {
  bottom: calc(12px + var(--cookie-banner-h, 88px));
}
.has-cookie-banner .floating-widgets {
  bottom: calc(8px + var(--cookie-banner-h, 88px));
}
@media (min-width: 900px) {
  .cookie-banner__text {
    font-size: 14px;
  }
}

/* ============ FLOATING CONTACT WIDGETS ============ */
.floating-widgets {
  position: fixed;
  right: 16px;
  bottom: 8px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.floating-widgets__item {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200,222,240,0.8);
  border-radius: 15px;
  background: #fff;
  color: #20bfdb;
  box-shadow: 0 10px 26px rgba(16,33,51,0.14);
  cursor: pointer;
  pointer-events: auto;
  padding: 0;
  animation: floatingWidgetBlink 4.8s ease-in-out infinite;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.floating-widgets__item:nth-child(2) { animation-delay: 1.2s; }
.floating-widgets__item:nth-child(3) { animation-delay: 2.4s; }
.floating-widgets__item:nth-child(4) { animation-delay: 3.6s; }
.floating-widgets__item:hover,
.floating-widgets__item:focus-visible {
  border-color: rgba(35,104,161,0.3);
  box-shadow: 0 14px 32px rgba(35,104,161,0.24);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}
.floating-widgets__item svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.floating-widgets__item--max img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}
.floating-widgets__item--support {
  color: #36c8ea;
}
.floating-widgets__item--support svg {
  width: 34px;
  height: 34px;
}
@keyframes floatingWidgetBlink {
  0%, 16%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 26px rgba(16,33,51,0.14);
  }
  8% {
    transform: translateY(-2px) scale(1.08);
    box-shadow:
      0 0 0 8px rgba(35,104,161,0.12),
      0 16px 34px rgba(35,104,161,0.28);
  }
}
@media (prefers-reduced-motion: reduce) {
  .floating-widgets__item {
    animation: none;
  }
}
@media (max-width: 767px) {
  .floating-widgets__item {
    animation: none;
  }
}
@media (min-width: 1100px) {
  .floating-widgets {
    right: 24px;
    bottom: 8px;
  }
  body.has-cookie-banner {
    padding-bottom: var(--cookie-banner-h, 88px);
  }
  .has-cookie-banner .floating-widgets {
    bottom: calc(8px + var(--cookie-banner-h, 88px));
  }
}
@media (max-width: 359px) {
  .floating-widgets {
    right: 10px;
  }
  .floating-widgets__item {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }
  .floating-widgets__item svg {
    width: 27px;
    height: 27px;
  }
}

/* ============ TABLET 768+ ============ */
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .hero { padding: 44px 0 60px; }
  .hero__title { font-size: 42px; }
  .btn--cta, .btn--secondary { width: auto; min-width: 260px; }
  .services { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .section__title { font-size: 30px; }
}

/* ============ DESKTOP 1280+ ============ */
@media (min-width: 1100px) {
  .nav { display: flex; }
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  .hero__content { flex: 1; }
  .hero__media {
    display: block;
    flex: 1;
    max-width: 520px;
    margin-top: 0;
  }
  .hero__media img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 24px;
  }
  .hero { padding: 60px 0 80px; }
  .hero__title { font-size: 52px; }
  .btn--cta, .btn--secondary { width: auto; }
  .btn--block { max-width: 420px; margin-left: auto; margin-right: auto; display: flex; }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ============ SYMPTOMS ============ */
.symptoms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}
.symptom {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #c8def0;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #102133;
  line-height: 1.35;
}
.symptom__ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #E1EFFA;
  display: grid;
  place-items: center;
  font-size: 20px;
}

/* ============ ALERTS ============ */
.alert {
  margin-top: 24px;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.5;
}
.alert--danger {
  background: #E1EFFA;
  border-left: 4px solid #2368a1;
  color: #102133;
}
.alert--danger strong { color: #2368a1; }
.alert--warning {
  background: #E1EFFA;
  border-left: 4px solid #2368a1;
  color: #102133;
}

/* ============ TWO COLUMN ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}
.two-col__text p {
  font-size: 15px;
  color: #102133;
  line-height: 1.6;
}
.two-col__text p + p { margin-top: 12px; }

/* ============ CHECKLIST ============ */
.checklist {
  background: #E1EFFA;
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  color: #102133;
  line-height: 1.45;
  font-weight: 600;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #2368a1 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
}

/* Зелёная галочка-иконка в списках преимуществ (карточки акций, пилюли).
   Inline-значок: работает и в колоночных списках, и в чипах-пилюлях. */
.feat-check li::before {
  content: '';
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: 7px;
  vertical-align: -0.18em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322a35a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

/* ============ COMPOSITION ============ */
.composition {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
.comp {
  background: #fff;
  border: 1px solid #c8def0;
  border-radius: 14px;
  padding: 16px 18px;
}
.comp__title {
  font-size: 15px;
  font-weight: 600;
  color: #2368a1;
}
.comp__desc {
  margin-top: 6px;
  font-size: 13px;
  color: #102133;
  line-height: 1.45;
}
.comp__example {
  margin-top: 6px;
  font-size: 12px;
  color: #102133;
  font-style: italic;
}

.note {
  margin-top: 20px;
  font-size: 13px;
  color: #102133;
  font-style: italic;
  line-height: 1.55;
}

/* ============ ADVANTAGES ============ */
.advantages {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.adv {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: 18px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.adv:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(6,182,212,0.12);
  border-color: rgba(6,182,212,0.35);
}
.adv__ico {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #E0F7FA 0%, #E1EFFA 100%);
  color: #06B6D4;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.adv__ico svg {
  width: 28px;
  height: 28px;
  display: block;
}
.adv__body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #102133;
  line-height: 1.3;
}
.adv__body p {
  margin-top: 6px;
  font-size: 14px;
  color: #102133;
  line-height: 1.5;
}

/* ============ TIMELINE ============ */
.timeline {
  margin-top: 22px;
  background: #fff;
  border-left: 4px solid #2368a1;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: #102133;
  line-height: 1.55;
}
.timeline strong { color: #2368a1; }

/* ============ EFFECT ============ */
.effect {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.effect__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #E1EFFA;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #102133;
}
.effect__item > span:first-child {
  font-size: 22px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
  color: #2368a1;
  display: grid;
  place-items: center;
}
.effect__item > span:first-child svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* ============ CONTRA ============ */
.contra {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contra li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.45;
}
.contra li::before {
  content: '✕';
  position: absolute;
  left: 0; top: 0;
  color: #2368a1;
  font-weight: 700;
}
.contra__note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(35,104,161,0.4);
  font-size: 13px;
  color: #102133;
  font-style: italic;
}

/* ============ REVIEWS ============ */
.reviews {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 85%;
  max-width: 340px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.review:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(6,182,212,0.12);
}
@media (min-width: 640px) {
  .reviews { flex-wrap: wrap; overflow-x: visible; scroll-snap-type: none; }
  .review { flex: 0 0 calc(50% - 8px); max-width: none; }
}
@media (min-width: 1024px) {
  .review { flex: 0 0 calc(25% - 12px); }
}
.review__stars {
  color: #06B6D4;
  font-size: 18px;
  letter-spacing: 2px;
}
.review__text {
  margin-top: 10px;
  font-size: 14px;
  color: #102133;
  line-height: 1.55;
}
.review__meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #102133;
}
.reviews__all {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #2368a1;
  border-bottom: 1px dashed #2368a1;
}

/* ============ DOCTORS ============ */
.doctors {
  margin-top: 24px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.doctors::-webkit-scrollbar { display: none; }
.doctor {
  flex: 0 0 80%;
  max-width: 300px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 22px;
  padding: 22px 20px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.doctor:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(6,182,212,0.15);
}
@media (min-width: 640px) {
  .doctors { flex-wrap: wrap; overflow-x: visible; scroll-snap-type: none; justify-content: center; }
  .doctor { flex: 0 0 calc(33.333% - 12px); max-width: none; }
}
.doctor__photo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #E1EFFA;
  border: 3px solid var(--accent);
  box-sizing: border-box;
}
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doctor__name {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
  color: #102133;
  overflow-wrap: anywhere;
  hyphens: auto;
  line-height: 1.25;
}
.doctor__exp {
  margin-top: 4px;
  font-size: 13px;
  color: #102133;
}
.withdrawal-doctor .doctors--below-grid {
  margin-top: 28px;
}
@media (max-width: 767px) {
  .doctor {
    padding: 18px 16px 22px;
  }
  .doctor__photo {
    max-width: 260px;
    border-radius: 16px;
  }
  .doctor__name {
    font-size: 16px;
  }
  .doctor__quote {
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (min-width: 768px) {
  .doctor__name {
    font-size: 19px;
  }
  .doctor__exp {
    font-size: 14px;
  }
  .doctor__quote {
    font-size: 14px;
  }
}

/* ============ FAQ ============ */
.faq {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  background: #fff;
  border: 1px solid #c8def0;
  border-radius: 14px;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #102133;
  line-height: 1.4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq__arrow {
  flex-shrink: 0;
  width: 14px; height: 14px;
  border-right: 2px solid #2368a1;
  border-bottom: 2px solid #2368a1;
  transform: rotate(45deg);
  transition: transform .2s;
  margin-top: -4px;
}
.faq__item.is-open .faq__arrow { transform: rotate(-135deg); margin-top: 4px; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq__item.is-open .faq__a { max-height: 500px; }
.faq__a p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #102133;
  line-height: 1.6;
}

/* ============ TRUST GUARANTEES ============ */
.section--trust {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(35,104,161,0.10), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f4f9fd 100%);
}
.trust-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.trust-head__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #E1EFFA;
  color: #1a5083;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trust-facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.trust-fact {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(35,104,161,0.14);
  border-radius: 22px;
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-card);
}
.trust-fact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #2368a1;
}
.trust-fact__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #E1EFFA;
  color: #2368a1;
}
.trust-fact__icon svg {
  width: 25px;
  height: 25px;
}
.trust-fact__title {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #102133;
}
.trust-fact__text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #102133;
}
.trust-anchor {
  margin: 24px auto 0;
  max-width: 820px;
  padding: 16px 18px;
  border: 1px dashed rgba(35,104,161,0.35);
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  color: #1a5083;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

/* ============ LEGAL ============ */
.legal {
  background: #E1EFFA;
  padding: 24px 0;
}
.legal p {
  font-size: 13px;
  color: #102133;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ============ FINAL CTA ============ */
.final-cta {
  background: linear-gradient(135deg, #2368a1 0%, #1a5083 100%);
  padding: 56px 0;
  color: #fff;
}
.final-cta__inner { text-align: center; }
.final-cta__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.final-cta__sub {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.final-cta__buttons {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.btn--white {
  background: #fff;
  color: #2368a1;
  height: 58px;
  font-size: 16px;
  padding: 0 24px;
}
.btn--white:hover { background: #E1EFFA; }
.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  height: 58px;
  font-size: 16px;
  padding: 0 24px;
}
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.map-showcase-section {
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}
.map-showcase {
  display: grid;
  gap: 36px;
}
.map-showcase__intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.map-showcase__title {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 700;
  color: #102133;
}
.map-showcase__lead {
  max-width: 560px;
  margin: 14px auto 0;
  color: #5a6f82;
  font-size: 16px;
  line-height: 1.6;
}
.map-showcase__grid {
  display: grid;
  gap: 28px;
  align-items: stretch;
}
.map-showcase__map {
  border-radius: 18px;
  overflow: hidden;
  background: #e8f0f6;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  min-height: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.map-showcase__map iframe {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 360px;
  border: 0;
}
.map-showcase__panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 26px 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(200, 222, 240, 0.85);
  box-shadow: 0 8px 40px rgba(16, 33, 51, 0.08);
}
.map-showcase__list {
  display: grid;
  gap: 24px;
}
.map-showcase__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}
.map-showcase__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #E1EFFA;
  color: #2368a1;
  box-shadow: inset 0 0 0 1px rgba(35, 104, 161, 0.08);
}
.map-showcase__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-showcase__label {
  color: #6b7a8a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.map-showcase__value {
  margin-top: 6px;
  color: #102133;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.map-showcase__value--compact {
  font-size: clamp(17px, 1.6vw, 20px);
}
.map-showcase__value--with-dot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.map-showcase__value a {
  color: inherit;
}
.map-showcase__sub {
  margin: 8px 0 0;
  color: #6b7a8a;
  font-size: 14px;
  line-height: 1.45;
}
.map-showcase__route {
  display: inline-flex;
  margin-top: 10px;
  color: #2368a1;
  font-size: 15px;
  font-weight: 700;
}
.map-showcase__route:hover {
  text-decoration: underline;
}
.map-showcase__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1eb45d;
  box-shadow: 0 0 0 5px rgba(30, 180, 93, 0.16);
  flex-shrink: 0;
}
.map-showcase__cta {
  width: 100%;
  margin-top: auto;
  border-radius: 999px;
  height: 56px;
  font-size: 16px;
  font-weight: 700;
}

.branch-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 4px auto 0;
}
.branch-cards .branch-card {
  flex: 1 1 300px;
  max-width: 720px;
  margin: 0;
}
.branch-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px 20px;
  align-items: center;
  max-width: 720px;
  margin: 4px auto 0;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f9ff 100%);
  border: 1px solid rgba(35, 104, 161, 0.14);
  box-shadow: 0 10px 32px rgba(16, 33, 51, 0.07);
  position: relative;
  overflow: hidden;
}
.branch-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #3d8fd4 0%, #2368a1 100%);
  border-radius: 18px 0 0 18px;
}
.branch-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #e1effa;
  color: #2368a1;
  box-shadow: inset 0 0 0 1px rgba(35, 104, 161, 0.1);
}
.branch-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.branch-card__body {
  min-width: 0;
}
.branch-card__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(35, 104, 161, 0.1);
  color: #2368a1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.branch-card__city {
  margin: 0;
  color: #102133;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.branch-card__address {
  margin: 6px 0 0;
  color: #3d5166;
  font-size: 15px;
  line-height: 1.5;
}
.branch-card__index {
  margin: 4px 0 0;
  color: #6b7a8a;
  font-size: 14px;
  line-height: 1.4;
}
.branch-card__route {
  display: inline-flex;
  margin-top: 12px;
  color: #2368a1;
  font-size: 14px;
  font-weight: 700;
}
.branch-card__route:hover {
  text-decoration: underline;
}

/* ============ RESPONSIVE TWEAKS ============ */
@media (min-width: 640px) {
  .symptoms { grid-template-columns: 1fr 1fr; }
  .urgent-symptoms .urgent-alert { grid-column: span 2; }
  .composition { grid-template-columns: 1fr 1fr; }
  .effect { grid-template-columns: 1fr 1fr; }
  .doctors { flex-wrap: wrap; overflow-x: visible; }
  .final-cta__buttons { flex-direction: row; justify-content: center; }
  .btn--white, .btn--outline-white { min-width: 240px; }
}

@media (min-width: 768px) {
  .symptoms { grid-template-columns: repeat(3, 1fr); }
  .urgent-symptoms .symptom--wide { grid-column: auto; }
  .composition { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .advantages { gap: 16px; }
  .effect { grid-template-columns: repeat(5, 1fr); }
  .effect__item { flex-direction: column; text-align: center; gap: 8px; padding: 18px 12px; font-size: 13px; }
  .steps { flex-direction: row; flex-wrap: wrap; }
  .step { flex: 1 1 calc(33.333% - 14px); min-width: 220px; }
  .trust-facts { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-fact { padding: 30px 26px 26px; }
  .trust-fact__title { font-size: 20px; }
  .trust-fact__text { font-size: 15px; }
  .final-cta { padding: 72px 0; }
  .final-cta__title { font-size: 34px; }
}

@media (min-width: 960px) {
  .map-showcase__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: stretch;
  }
  .map-showcase__map {
    min-height: 480px;
  }
  .map-showcase__map iframe {
    min-height: 480px;
  }
}

@media (max-width: 959px) {
  .map-showcase {
    gap: 24px;
  }
  .map-showcase__map {
    height: auto;
  }
  .map-showcase__map iframe {
    flex: none;
    height: 320px;
    min-height: 280px;
  }
  .map-showcase__item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }
  .map-showcase__icon {
    width: 48px;
    height: 48px;
  }
  .branch-cards {
    margin-top: 0;
  }
  .branch-card {
    grid-template-columns: 48px 1fr;
    gap: 14px 16px;
    padding: 18px 18px 18px 20px;
    margin-top: 0;
  }
  .branch-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .branch-card__icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 1024px) {
  .steps { flex-wrap: nowrap; }
  .step { flex: 1; min-width: 0; }
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 53px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 8%, var(--green) 50%, var(--border) 92%, transparent 100%);
    z-index: 0;
  }
  .process-step { z-index: 1; }
  .landing-doctors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ================================================================
   ============ ДИЗАЙН-АПГРЕЙД ЗАГОЛОВКОВ И ТИПОГРАФИКИ ============
   ================================================================ */
.section__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.section__sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (min-width: 768px) {
  .section__title { font-size: 36px; }
  .section__sub { font-size: 18px; }
}
@media (min-width: 1024px) {
  .section__title { font-size: 40px; }
}

/* ============ HERO UPGRADE ============ */
.hero__media {
  position: relative;
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 40%);
  border-radius: 24px;
  pointer-events: none;
  display: none;
}
@media (min-width: 1024px) {
  .hero__media::after { display: block; }
}
.badge-live__counter {
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid #c8def0;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 12px;
}
@media (max-width: 1023px) {
  .hero__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 85% 15%, rgba(35,104,161,0.08) 0%, transparent 50%),
      radial-gradient(circle at 15% 85%, rgba(35,104,161,0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
  }
  .hero__inner { position: relative; }
}

/* ============ TRUST COUNTER ============ */
.trust-counter {
  background: var(--green-dark);
  padding: 36px 0;
  color: #fff;
}
.trust-counter__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 12px;
  text-align: center;
}
.trust-counter__num {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.trust-counter__num-suffix { font-size: 28px; }
.trust-counter__label {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
@media (min-width: 640px) {
  .trust-counter__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .trust-counter__grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .trust-counter__num { font-size: 48px; }
  .trust-counter__label { font-size: 14px; }
  .trust-counter { padding: 48px 0; }
}

/* ============ SERVICE CARD ICON & TEXT ============ */
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--green-light);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.service-card__icon svg { width: 28px; height: 28px; }
.price-card--featured .service-card__icon {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.service-card__title {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
}
.price-card--featured .service-card__title { color: #fff; }
.service-card__desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.price-card--featured .service-card__desc { color: rgba(255,255,255,0.92); }

/* ============ PRICES ============ */
.prices { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--green);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.price-card--featured {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
}
@media (min-width: 1024px) {
  .price-card--featured { transform: scale(1.03); }
  .price-card--featured:hover { transform: scale(1.03) translateY(-4px); }
}
.price-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(35,104,161,0.4);
}
.price-card__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.price-card--featured .price-card__name { color: rgba(255,255,255,0.8); }
.price-card__price {
  margin-top: 12px;
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-card__price small { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.price-card--featured .price-card__price,
.price-card--featured .price-card__price small { color: #fff; }
.price-card--featured .price-card__price small { color: rgba(255,255,255,0.75); }
.price-card__price-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}
.price-card__price-old {
  font-size: 22px;
  font-weight: 600;
  text-decoration: line-through;
  color: var(--text-muted);
  opacity: 0.85;
}
.price-card__price-current {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.price-card--featured .price-card__price-old {
  color: rgba(255,255,255,0.72);
  opacity: 1;
}
.price-card--featured .price-card__price-current { color: #fff; }
.promo-strip {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(35,104,161,0.08) 0%, rgba(6,182,212,0.12) 100%);
  border: 1px solid rgba(35,104,161,0.25);
  font-size: 17px;
  font-weight: 800;
  color: #2368a1;
  line-height: 1.4;
  text-align: center;
}
.price-card--featured .promo-strip {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.32);
  color: #fff;
}
.promo-strip--hero {
  margin-top: 16px;
  max-width: 480px;
}
.promo-strip--narrow {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.promo-strip--below-cards {
  margin-top: 22px;
}
.kodiro-extra-actions {
  margin-top: 16px;
}
.home-service-prices { margin-top: 16px; }
.home-service-prices .price-card__price-current { font-size: clamp(26px, 4vw, 32px); }
.home-service-prices .price-card__price-old { font-size: 17px; }
.prices.prices-single {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .prices.prices-single { grid-template-columns: 1fr; }
}
.price-card__list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.price-card--featured .price-card__list li { color: #fff; }
.price-card__list li::before {
  content: '';
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-light) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232368a1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/11px no-repeat;
}
.price-card--featured .price-card__list li::before {
  background-color: rgba(255,255,255,0.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
.price-card .btn {
  margin-top: 24px;
  width: 100%;
  height: 52px;
}
.price-card--featured .btn--primary { background: #fff; color: var(--green); }
.price-card--featured .btn--primary:hover { background: #E1EFFA; }
.prices-note {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.prices-note span { margin: 0 6px; opacity: 0.5; }
.prices-help {
  margin-top: 28px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.prices-help__title { font-size: 17px; font-weight: 700; color: var(--text); }
.prices-help__text { font-size: 14px; color: var(--text-muted); line-height: 1.5; max-width: 440px; }
.prices-help .btn { min-width: 240px; margin: 0; width: auto; }

@media (max-width: 767px) {
  .price-card--featured { order: -1; }
}
@media (min-width: 768px) {
  .prices { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
  .prices-help { flex-direction: row; justify-content: space-between; text-align: left; }
  .prices-help__wrap { text-align: left; }
}

/* ============ SYMPTOMS UPGRADE (interactive cards) ============ */
.symptoms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.symptom {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
  -webkit-user-select: none;
  user-select: none;
  text-align: left;
}
.symptom:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.symptom.is-selected {
  border-color: var(--green);
  background: var(--green-light);
}
.symptom.is-selected::after {
  content: '';
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/13px no-repeat;
  animation: pop .25s ease;
}
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.symptom__ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--green-light);
  color: var(--green);
  font-size: 28px;
}
.symptom__ico svg {
  width: 32px;
  height: 32px;
  display: block;
}
.symptom.is-selected .symptom__ico { background: #fff; }
.symptoms-cta {
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  display: none;
  animation: fadeInUp .4s ease;
}
.symptoms-cta.is-visible { display: block; }
.symptoms-cta a {
  display: inline-block;
  margin-top: 12px;
  background: #fff;
  color: var(--green);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
}
.urgent-symptoms .symptom {
  cursor: default;
}
.urgent-symptoms .symptom--wide {
  grid-column: span 2;
}
.urgent-symptoms .symptom:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
}
.urgent-symptoms .symptom__ico {
  background: #fff;
  color: var(--green);
}
.urgent-symptoms .symptom h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
.urgent-symptoms .symptom p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 600;
}
.urgent-alert {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fff 0%, var(--green-light) 100%);
  border: 2px solid var(--green);
  border-left-width: 6px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  box-shadow: var(--shadow-hover);
}
.urgent-alert strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 17px;
}
.urgent-alert span {
  display: block;
  margin-top: 10px;
  color: var(--text);
}
.urgent-symptoms .urgent-alert {
  grid-column: span 2;
  margin-top: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .urgent-symptoms .symptom--wide {
    grid-column: auto;
  }
}
.urgent-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.urgent-actions .btn {
  width: 100%;
  margin-top: 0;
}

/* ============ LANDING PROCESS ============ */
.process-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
.image-placeholder {
  min-height: 220px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(225,239,250,0.9)),
    repeating-linear-gradient(45deg, rgba(35,104,161,0.05) 0 8px, transparent 8px 16px);
  color: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.image-placeholder__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
}
.image-placeholder__icon svg {
  width: 32px;
  height: 32px;
  display: block;
}
.image-placeholder__title {
  margin-top: 16px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}
.image-placeholder__text {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 300px;
}
.process-photo {
  min-height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.process-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 280px;
  display: block;
  object-fit: cover;
  object-position: center;
}
.process-steps {
  position: relative;
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: process;
}
.process-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
}
.process-step__num {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.process-step__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--green-light);
  color: var(--green);
  display: grid;
  place-items: center;
}
.process-step__icon svg {
  width: 30px;
  height: 30px;
  display: block;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.process-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}
.privacy-answer {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--green);
  border-left: 6px solid var(--green);
  background: linear-gradient(135deg, #fff 0%, var(--green-light) 100%);
  box-shadow: var(--shadow-card);
}
.privacy-answer strong {
  display: block;
  color: var(--green-dark);
  font-size: 18px;
  line-height: 1.3;
}
.privacy-answer span {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

/* ============ HELP FOR RELATIVES ============ */
.section-kicker {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section--family-help {
  background: #fff;
}
.family-help__head {
  max-width: 850px;
}
.family-help__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
.family-help__photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.family-help__photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}
.family-help__photo figcaption {
  padding: 18px 20px 20px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--green-light) 100%);
}
.family-help__content {
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.family-help__content h3 {
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}
.family-help__steps {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  list-style: none;
}
.family-help__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.family-help__steps li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.family-help__step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.family-help__steps h4 {
  color: var(--text);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}
.family-help__steps p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.family-help__stat {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-hover);
}
.family-help__stat strong {
  display: block;
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.family-help__stat span {
  display: block;
  margin-top: 8px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}
.family-support {
  margin-top: 24px;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #E1EFFA;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  box-shadow: var(--shadow-card);
}
.family-support__text h3 {
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}
.family-support__text p {
  margin-top: 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}
.family-support__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: center;
}
.family-support__actions .btn {
  width: 100%;
  margin-top: 0;
}
.btn--ghost {
  height: 58px;
  padding: 0 24px;
  border: 1.5px solid var(--green);
  border-radius: 16px;
  background: transparent;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}
.btn--ghost:hover {
  background: #fff;
  color: var(--green-dark);
}
.quick-faq {
  margin-top: 28px;
  padding: 24px;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.quick-faq h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.quick-faq ul {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.quick-faq li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 600;
}
.quick-faq li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/11px no-repeat;
}

/* ============ LANDING PRICES ============ */
.landing-prices .service-card__desc strong {
  color: var(--green-dark);
}
.landing-prices .price-card--featured .service-card__desc strong {
  color: #fff;
}
.landing-prices .price-card__price {
  margin-top: 22px;
}
.landing-prices--two {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.landing-prices--two .price-card {
  padding: 32px 28px;
}
.landing-prices--two .price-card--featured,
.landing-prices--two .price-card--featured:hover {
  transform: none;
}
.landing-prices--two .service-card__title {
  font-size: 20px;
}
.landing-prices--two .service-card__desc {
  font-size: 15px;
}
.landing-prices--two .price-card__list {
  gap: 12px;
}
.landing-prices--two .price-card__list li {
  font-size: 14.5px;
}
.price-card__price--text {
  font-size: 28px;
  line-height: 1.1;
}
.price-note {
  margin-top: 28px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--green);
  border-left: 6px solid var(--green);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

/* ============ LANDING DOCTORS ============ */
.landing-doctors {
  align-items: stretch;
}
@media (min-width: 640px) {
  .landing-doctors {
    gap: 22px;
  }
}
.doctor__badge {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.doctor-license {
  margin-top: 26px;
  padding: 18px 22px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text);
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (min-width: 640px) {
  .symptoms { grid-template-columns: repeat(3, 1fr); }
  .quick-faq ul { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .symptom { font-size: 15px; padding: 22px 20px; }
  .symptom__ico svg { width: 34px; height: 34px; }
  .urgent-actions {
    grid-template-columns: repeat(2, minmax(220px, 280px));
  }
  .family-help__grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
  }
  .family-help__photo img {
    height: 100%;
    min-height: 470px;
  }
  .family-help__content {
    padding: 30px;
  }
  .family-support {
    padding: 30px;
    grid-template-columns: 1fr;
  }
  .family-support__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
  }
  .process-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  }
  .process-photo {
    min-height: 260px;
  }
  .process-photo img {
    min-height: 260px;
    max-height: 340px;
  }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .landing-prices--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }
  .landing-prices--two .price-card--featured {
    order: 0;
  }
  .landing-prices--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
  }
  .landing-prices--three .price-card,
  .landing-prices--three .price-card--featured {
    transform: none;
  }
  .landing-prices--three .price-card { padding: 28px 22px; }
  .landing-prices--three .price-card__list { flex: 1; }
}
@media (min-width: 1024px) {
  .landing-prices--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .family-help__grid {
    grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
    gap: 36px;
  }
  .family-support {
    margin-top: 32px;
    padding: 34px 36px;
  }
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 53px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 8%, var(--green) 50%, var(--border) 92%, transparent 100%);
    z-index: 0;
  }
  .process-step { z-index: 1; }
  .landing-doctors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============ COMPOSITION UPGRADE ============ */
.composition-legend {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.composition-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.composition-legend__item span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 10px;
}
.composition-legend__item--base span { background: #2368a1; }
.composition-legend__item--restore span { background: #2f8f5b; }
.composition-legend__item--symptom span { background: #d9a21b; }
.composition { margin-top: 18px; }
.comp {
  position: relative;
  min-height: 230px;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.comp::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--comp-accent, var(--green));
}
.comp--base {
  --comp-accent: #2368a1;
  --comp-soft: #E1EFFA;
}
.comp--restore {
  --comp-accent: #2f8f5b;
  --comp-soft: #e4f4eb;
}
.comp--symptom {
  --comp-accent: #d9a21b;
  --comp-soft: #fff3cf;
}
.comp__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.comp__svg {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--comp-soft, var(--green-light));
  display: grid;
  place-items: center;
  color: var(--comp-accent, var(--green));
  flex: 0 0 42px;
  margin-bottom: 0;
}
.comp__svg svg { width: 22px; height: 22px; }
.comp__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.comp__desc {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.comp__when {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  color: var(--comp-accent, var(--green));
  font-weight: 700;
  line-height: 1.45;
}
.composition-note {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.composition-note p {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(35,104,161,0.24);
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  box-shadow: var(--shadow-card);
}
.composition-note p:last-child {
  border-color: rgba(217,162,27,0.45);
  background: #fff8e6;
}

/* ============ FOR RELATIVES ============ */
.relatives {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.relatives__col {
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(35,104,161,0.16);
  box-shadow: var(--shadow-card);
}
.relatives__col--self { order: 2; background: #fff; }
.relatives__col--family {
  order: 3;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%);
  border-color: rgba(35,104,161,0.28);
}
.relatives__col--urgent {
  order: 1;
  position: relative;
  background: linear-gradient(180deg, #f7fbff 0%, #E1EFFA 100%);
  border: 2px solid rgba(35,104,161,0.42);
  box-shadow: 0 14px 34px rgba(35,104,161,0.16);
  overflow: hidden;
}
.relatives__col--urgent::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
}
.relatives__badge {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.relatives__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.relatives__col--urgent .relatives__title { color: var(--green-dark); }
.relatives__text { font-size: 15px; line-height: 1.65; color: var(--text); }
.relatives__list {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.35;
  font-weight: 600;
}
.relatives__list li {
  position: relative;
  padding-left: 24px;
}
.relatives__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--green);
  font-weight: 700;
}
.relatives__col--urgent .relatives__list li::before { color: var(--green-dark); }
.relatives__col .btn { margin-top: auto; width: 100%; }
.relatives__cta-block {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.relatives__cta-block .btn { margin-top: 0; }
.relatives__phone {
  display: block;
  text-align: center;
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.relatives__phone:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .relatives { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .relatives__col { padding: 40px 32px; }
  .relatives__col--self { order: 1; }
  .relatives__col--family { order: 2; }
  .relatives__col--urgent { order: 3; }
  .relatives__title { font-size: 24px; }
}

/* ============ DOCTORS UPGRADE ============ */
.doctor__quote {
  margin-top: 12px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.55;
}

/* ============ LICENSE ============ */
.license-wrap {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.license__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.license__preview {
  position: relative;
  display: block;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(200,222,240,.9);
}
.license__preview:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.license__preview-img {
  width: 100%;
  aspect-ratio: 3/4;
  background:
    repeating-linear-gradient(0deg, rgba(35,104,161,0.04) 0 2px, transparent 2px 8px),
    linear-gradient(135deg, #E1EFFA 0%, #E1EFFA 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--green-dark);
  text-align: center;
  padding: 14px 10px;
  font-size: 11px;
  border: 1px solid var(--border);
}
.license__preview-img strong { font-size: 13px; }
.license__preview-img span { font-size: 10px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.license__preview-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #f8fbfe;
}
.license__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(35,104,161,0.3);
}
.license__zoom svg {
  width: 14px;
  height: 14px;
}
.license__info { display: flex; flex-direction: column; align-items: flex-start; }
.license__info h3 { font-size: 20px; font-weight: 700; color: var(--text); }
.license__info-num { margin-top: 8px; font-size: 15px; color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; }
.license__info-desc { margin-top: 8px; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.license__details {
  margin-top: 18px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
}
.license__details > div { display: flex; flex-direction: column; gap: 2px; }
.license__details dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}
.license__details dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}
@media (min-width: 640px) {
  .license__details > div { flex-direction: row; gap: 12px; align-items: baseline; }
  .license__details dt { flex: 0 0 160px; }
}
.license__pdf {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s;
  align-self: flex-start;
}
.license__pdf:hover { background: var(--green-dark); }
.license__checks {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
}
.license__checks li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
}
.license__checks li::before {
  content: '';
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
}
@media (min-width: 768px) {
  .license-wrap { grid-template-columns: minmax(360px, 430px) 1fr; gap: 32px; }
}
@media (max-width: 639px) {
  .license__gallery {
    gap: 10px;
  }
  .license__preview {
    padding: 8px;
    border-radius: 12px;
  }
  .license__zoom {
    right: 10px;
    bottom: 10px;
    width: 28px;
    height: 28px;
  }
}

/* License modal */
.license-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
  animation: fadeIn .2s ease;
}
.license-modal.is-open { display: flex; }
.license-modal__box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 48px 20px 20px;
  max-width: 900px;
  width: 100%;
  max-height: 95vh;
  overflow: auto;
  position: relative;
}
@media (min-width: 768px) {
  .license-modal__box { padding: 56px 28px 24px; }
}
.license-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #E1EFFA;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text);
}
.license-modal__close-ico {
  display: block;
  color: var(--text);
}
.license-modal__pdf {
  width: 100%;
  height: min(78vh, 900px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f4f7fb;
  display: block;
}
.license-modal__foot {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}
.license-modal__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  padding: 10px 18px;
  border: 1px solid var(--green);
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.license-modal__download:hover { background: var(--green); color: #fff; }

.license-modal__img {
  width: 100%;
  aspect-ratio: 3/4;
  background:
    repeating-linear-gradient(0deg, rgba(35,104,161,0.04) 0 2px, transparent 2px 8px),
    linear-gradient(135deg, #E1EFFA 0%, #E1EFFA 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  gap: 12px;
  color: var(--green-dark);
}
.license-modal__img strong { font-size: 22px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Dedicated license page */
.license-page { padding-bottom: 8px; }
.license-page__h1 {
  margin-top: 8px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
}
.license-wrap--page { margin-top: 40px; }
@media (min-width: 900px) {
  .license-wrap--page {
    grid-template-columns: minmax(440px, 1.15fr) 1fr;
    gap: 40px 48px;
  }
}
.license__gallery--page {
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (min-width: 520px) {
  .license__gallery--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .license__gallery--page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.license__preview--page {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.license-wrap--page .license__preview {
  padding: 12px;
  border-radius: 16px;
}
.license__preview-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(56vh, 560px);
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
  background: #eef4fa;
  border-radius: 12px;
  border: 1px solid rgba(200, 222, 240, 0.95);
  overflow: hidden;
}
.license-wrap--page .license__preview-photo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border: none;
  border-radius: 6px;
  background: transparent;
  display: block;
  flex-shrink: 1;
}
.license__preview-frame--pdf {
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.license__preview-pdf-icon {
  color: #c43e3e;
  flex-shrink: 0;
}
.license__preview-pdf-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  max-width: 11rem;
}
.license-wrap--page .license__zoom {
  width: 40px;
  height: 40px;
  right: 12px;
  bottom: 12px;
}
.license-wrap--page .license__zoom svg {
  width: 18px;
  height: 18px;
}
.license-page__note {
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  border: 1px dashed rgba(35, 104, 161, 0.25);
}
.license-page-requisites {
  margin-top: 48px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.license-page-requisites__title {
  margin: 0 0 22px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text);
}
.license-page-requisites__grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 720px) {
  .license-page-requisites__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}
.license-page-requisites__list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.license-page-requisites__list > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.license-page-requisites__list dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.license-page-requisites__list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 600;
}

/* Document lightbox: только документ по центру, стрелки по бокам — без серой «панели» */
.doc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 12px 64px;
  box-sizing: border-box;
}
.doc-lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(8, 18, 32, 0.92);
  cursor: pointer;
  z-index: 0;
}
.doc-lightbox__rail {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  pointer-events: none;
}
.doc-lightbox__rail > * {
  pointer-events: auto;
}
/* Один слой: картинка и PDF в одной ячейке — не в ряд (иначе «чёрный квадрат» справа от iframe) */
.doc-lightbox__stage {
  flex: 0 1 auto;
  min-width: 0;
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  place-items: center;
  justify-items: center;
  width: fit-content;
  max-width: min(calc(100vw - 140px), 1100px);
  max-height: min(85vh, 900px);
  background: transparent;
  box-shadow: none;
}
.doc-lightbox__stage > .doc-lightbox__img,
.doc-lightbox__stage > .doc-lightbox__pdf {
  grid-area: 1 / 1;
  justify-self: center;
  align-self: center;
}
.doc-lightbox__stage > [hidden] {
  display: none !important;
}
.doc-lightbox__img {
  display: block;
  max-width: min(calc(100vw - 140px), 1100px);
  max-height: min(85vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  background: transparent;
}
.doc-lightbox__pdf {
  display: block;
  width: min(calc(100vw - 140px), 900px);
  max-width: min(calc(100vw - 140px), 900px);
  height: min(80vh, 880px);
  min-height: 280px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.doc-lightbox--pdf .doc-lightbox__stage {
  max-width: min(calc(100vw - 140px), 940px);
}
.doc-lightbox__close {
  position: fixed;
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}
.doc-lightbox__arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--green-dark);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}
.doc-lightbox__arrow:hover {
  transform: scale(1.06);
}
.doc-lightbox__counter {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}
@media (max-width: 639px) {
  .doc-lightbox {
    padding: 52px 6px 72px;
  }
  .doc-lightbox__rail {
    gap: 6px;
    max-width: 100%;
  }
  .doc-lightbox__arrow {
    width: 40px;
    height: 40px;
  }
  .doc-lightbox__stage {
    max-width: calc(100vw - 108px);
  }
  .doc-lightbox__img {
    max-width: calc(100vw - 108px);
  }
  .doc-lightbox__pdf {
    width: calc(100vw - 108px);
    max-width: calc(100vw - 108px);
  }
}

/* ============ SERVICE AREA ============ */
.service-area {
  margin-top: 34px;
  display: grid;
  gap: 20px;
}
.service-area__map-card,
.service-area__cities,
.service-area__note {
  background: #fff;
  border: 1px solid rgba(35,104,161,0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.service-area__map-card {
  overflow: hidden;
}
.service-area__map-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 22px 0;
}
.service-area__map-head strong {
  font-size: 20px;
  line-height: 1.25;
  color: var(--text);
}
.service-area__eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.service-area__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(35,104,161,0.14);
}
.service-area__map {
  position: relative;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  margin: 12px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 48%, rgba(35,104,161,0.20), transparent 48%),
    radial-gradient(circle at 18% 20%, rgba(35,104,161,0.12), transparent 24%),
    linear-gradient(145deg, #f8fcff 0%, #eaf5ff 100%);
}
.service-area__map::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(35,104,161,0.30);
  border-radius: 20px;
  box-shadow:
    inset 0 0 42px rgba(35,104,161,0.18),
    0 0 0 8px rgba(35,104,161,0.06);
  pointer-events: none;
  z-index: 1;
}
.service-area__map::after {
  content: '';
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background: rgba(35,104,161,0.12);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.service-area__region {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 94%;
  height: auto;
  max-height: 88%;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
  z-index: 1;
  filter:
    drop-shadow(0 0 1px #fff)
    drop-shadow(0 0 10px rgba(255,255,255,0.95))
    drop-shadow(0 0 18px rgba(35,104,161,0.70))
    drop-shadow(0 20px 30px rgba(35,104,161,0.22));
}
.map-point {
  position: absolute;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 6;
}
.map-point span {
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: #27ff7a;
  box-shadow:
    0 0 0 2px rgba(39,255,122,0.28),
    0 0 10px rgba(39,255,122,0.95),
    0 2px 7px rgba(16,33,51,0.28);
}
.map-point span::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: rgba(39,255,122,0.62);
  animation: pulse 1.7s ease-out infinite;
  z-index: -1;
}
.map-point strong,
.map-point em {
  position: absolute;
  left: 50%;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}
.map-point strong {
  bottom: 28px;
  padding: 8px 10px 4px;
  border-radius: 12px 12px 0 0;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16,33,51,0.12);
  font-size: 13px;
  font-weight: 800;
}
.map-point em {
  bottom: 4px;
  padding: 0 10px 8px;
  border-radius: 0 0 12px 12px;
  background: #fff;
  color: var(--green);
  box-shadow: 0 16px 24px rgba(16,33,51,0.10);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.map-point:hover,
.map-point:focus-visible {
  z-index: 5;
  outline: none;
}
.map-point:hover strong,
.map-point:hover em,
.map-point:focus-visible strong,
.map-point:focus-visible em {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Удалён мёртвый блок позиционирования карты-виджета прежнего региона (не используется) */
.map-point--extra-northwest { left: 39%; top: 30%; }
.map-point--extra-north { left: 60%; top: 25%; }
.map-point--extra-northeast { left: 67%; top: 31%; }
.map-point--extra-west { left: 30%; top: 38%; }
.map-point--extra-west-south { left: 33%; top: 44%; }
.map-point--extra-south { left: 42%; top: 72%; }
.service-area__cities {
  display: grid;
  gap: 12px;
  padding: 14px;
}
.city-group {
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f8fcff 0%, #fff 100%);
  border: 1px solid rgba(35,104,161,0.12);
}
.city-group__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.city-group h3 {
  font-size: 17px;
  line-height: 1.25;
  color: var(--text);
}
.city-group__head span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}
.city-group p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.service-area__note {
  margin-top: 18px;
  padding: 20px;
  display: grid;
  gap: 16px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(35,104,161,0.08), rgba(35,104,161,0.02)),
    #fff;
}
.service-area__note p {
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}
.service-area__note .btn {
  width: 100%;
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .map-point span::before { animation: none; }
}
@media (min-width: 768px) {
  .service-area__map { min-height: 420px; }
  .service-area__note {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 24px;
  }
  .service-area__note .btn { width: auto; min-width: 280px; }
  .city-group__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
@media (min-width: 1024px) {
  .service-area {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 24px;
    align-items: stretch;
  }
  .service-area__map-card,
  .service-area__cities {
    min-height: 100%;
  }
}
@media (max-width: 539px) {
  .service-area__map-head { padding: 18px 18px 0; }
  .service-area__map {
    min-height: 280px;
    margin: 10px;
    aspect-ratio: 1 / 1;
  }
  .service-area__map::before {
    inset: 10px;
    border-radius: 18px;
  }
  .service-area__region {
    width: 104%;
    max-height: 84%;
  }
  .map-point strong,
  .map-point em { display: none; }
  .city-group { padding: 16px; }
}

/* ============ REVIEWS UPGRADE (avatars + snap scroll) ============ */
.review__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.review__author { font-size: 14px; font-weight: 700; color: var(--text); }
.review__date { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.review__verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.review__verified-badge {
  background: #2368a1;
  color: #102133;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}
.review__stars { color: var(--gold); }
.review__meta { display: none; }

@media (max-width: 639px) {
  .reviews {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 12px;
    scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

/* ============ CALLBACK POPUP ============ */
.popup-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  display: grid;
  place-items: center;
  padding: 20px;
}
.popup-backdrop.is-open { opacity: 1; pointer-events: auto; }
.popup {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  transform: scale(0.92);
  opacity: 0;
  transition: transform .25s ease-out, opacity .25s ease-out;
}
.popup-backdrop.is-open .popup { transform: scale(1); opacity: 1; }
.popup__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: #E1EFFA;
  color: var(--text);
  font-size: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.popup__close:hover { background: #c8def0; }
.popup__close-ico {
  display: block;
  color: var(--text);
}
.popup__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--green-light);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.popup__icon-svg {
  display: block;
  color: var(--green);
}
.popup__title { font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.2; }
.popup__text { margin-top: 10px; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.popup__form { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.popup__input {
  width: 100%;
  height: 52px;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  transition: border-color .15s;
  outline: none;
}
.popup__input:focus { border-color: var(--green); }
.popup__submit { height: 52px; width: 100%; }
.popup__privacy { font-size: 12px; color: var(--text-muted); text-align: center; }
.popup__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.popup__consent-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
  cursor: pointer;
}
.popup__consent-text {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}
.popup__consent-text a {
  color: var(--green);
  text-decoration: underline;
}
.popup__divider {
  margin: 18px 0 14px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
}
.popup__divider::before, .popup__divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: var(--border);
}
.popup__divider::before { left: 0; }
.popup__divider::after { right: 0; }
.popup__call {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 10px 16px;
  border: 1.5px solid var(--green);
  border-radius: 12px;
  color: var(--green);
  text-decoration: none;
}
.popup__call:hover { background: var(--green-light); }
.popup__call-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.popup__call-label {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.75;
  line-height: 1.2;
}
.popup__call-num {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.popup__success {
  text-align: center;
  padding: 20px 0;
}
.popup__success-ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  animation: pop .4s ease;
}
.popup__success-svg {
  display: block;
  color: var(--green);
}
.popup__success-title { font-size: 20px; font-weight: 700; color: var(--text); }
.popup__success-text { margin-top: 8px; font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ============ LEAD SUCCESS MODAL (подтверждение заявки + отсчёт) ============ */
.lead-success__body { text-align: center; }
.lead-success__ico { margin: 0 auto 18px; }
.lead-success__title { text-align: center; }
.lead-success__text { text-align: center; }
.lead-success__timer {
  margin: 20px 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.lead-success__timer-label { font-size: 12px; color: var(--text-muted); }
.lead-success__timer-value {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.lead-success__fallback {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.lead-success__fallback[hidden] { display: none; }
.lead-success__fallback a { color: var(--green); font-weight: 700; text-decoration: none; white-space: nowrap; }
.lead-success__return { margin-top: 18px; height: 50px; width: 100%; }

/* ============ FIRST AID (что делать до приезда врача) ============ */
.first-aid__list {
  list-style: none;
  margin: 24px auto 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 780px;
}
.first-aid__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.first-aid__num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
}
.first-aid__text { font-size: 15px; line-height: 1.5; color: var(--text); }
.first-aid__danger { margin: 18px auto 0; max-width: 780px; }
.first-aid__delirium { margin: 12px auto 0; max-width: 780px; font-size: 14px; line-height: 1.5; color: var(--text); background: var(--green-light); border-radius: 12px; padding: 12px 14px; }
.first-aid__delirium a { color: var(--green); font-weight: 700; text-decoration: none; white-space: nowrap; }
.first-aid-section .btn--block { margin-top: 18px; }

/* ============ ИИ-ТРИАЖ: лаунчер + панель чата ============ */
.floating-widgets__item--triage { color: #2368a1; position: relative; overflow: visible; }

/* Подсказка-«тизер»: спустя время на сайте выезжает из-под иконки влево */
.triage-teaser {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  width: max-content;
  max-width: 210px;
  background: #2368a1;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  padding: 9px 13px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(35,104,161,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.triage-teaser::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #2368a1;
}
.floating-widgets__item--triage.is-teasing .triage-teaser {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .triage-teaser,
  .floating-widgets__item--triage.is-teasing .triage-teaser { transition: opacity .2s ease; transform: translateY(-50%); }
}
@media (max-width: 360px) {
  .triage-teaser { max-width: 158px; font-size: 12px; }
}

.triage-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  width: 360px;
  max-width: calc(100vw - 24px);
  height: 520px;
  max-height: calc(100vh - 32px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(16,33,51,0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.triage-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.has-cookie-banner .triage-panel { bottom: calc(16px + var(--cookie-banner-h, 0px)); }

.triage-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 16px; background: var(--green); color: #fff;
}
.triage-panel__head-text { display: flex; flex-direction: column; line-height: 1.2; }
.triage-panel__title { font-size: 15px; font-weight: 700; }
.triage-panel__subtitle { font-size: 11px; opacity: 0.85; }
.triage-panel__close {
  flex-shrink: 0; width: 30px; height: 30px; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.18); color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
}
.triage-panel__close:hover { background: rgba(255,255,255,0.3); }

.triage-panel__log {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px; background: #f5f8fb;
}
.triage-msg { display: flex; }
.triage-msg--user { justify-content: flex-end; }
.triage-msg__bubble {
  max-width: 82%; padding: 9px 13px; border-radius: 14px;
  font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word;
}
.triage-msg--bot .triage-msg__bubble { background: #fff; color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.triage-msg--user .triage-msg__bubble { background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.triage-dot { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--text-muted); animation: triageBlink 1.2s infinite; }
.triage-dot:nth-child(2) { animation-delay: .2s; }
.triage-dot:nth-child(3) { animation-delay: .4s; }
@keyframes triageBlink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.triage-redflag {
  background: #fdecec; border: 1px solid #f3b4b4; color: #b42318;
  border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.4;
}
.triage-redflag__row { display: flex; gap: 8px; flex-wrap: wrap; }
.triage-redflag__call { flex: 1; min-width: 120px; text-align: center; padding: 9px 10px; border-radius: 10px; background: #b42318; color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; }
.triage-redflag__call--clinic { background: var(--green); }

.triage-panel__actions { display: flex; flex-direction: column; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--border); background: #fff; }
.triage-panel__actions[hidden] { display: none; }
.triage-action { width: 100%; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }

.triage-panel__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--border); background: #fff; }
.triage-panel__input {
  flex: 1; resize: none; max-height: 96px; min-height: 42px; padding: 10px 12px;
  border: 1.5px solid var(--border); border-radius: 12px; font: inherit; font-size: 14px; color: var(--text); outline: none;
}
.triage-panel__input:focus { border-color: var(--green); }
.triage-panel__send {
  flex-shrink: 0; width: 42px; height: 42px; border: none; border-radius: 12px;
  background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.triage-panel__send:disabled { opacity: .5; cursor: default; }
.triage-panel__note { margin: 0; padding: 8px 14px 12px; font-size: 11px; color: var(--text-muted); line-height: 1.4; background: #fff; }
.triage-panel__note a { color: var(--green); text-decoration: underline; }

@media (max-width: 480px) {
  .triage-panel { right: 8px; left: 8px; bottom: 8px; width: auto; max-width: none; height: 72vh; }
}

@media (max-width: 539px) {
  .popup-backdrop { align-items: center; padding: 16px; }
  .popup {
    max-width: none;
    border-radius: 20px;
    padding: 32px 24px 24px;
  }
}

/* ============ FINAL-CTA TITLE tweak ============ */
.final-cta__title { font-weight: 700; }

/* ============ HOVER TWEAKS for cards (global) ============ */
.card, .adv, .review, .doctor, .faq__item, .comp, .step, .trust-fact {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.review:hover, .doctor:hover, .adv:hover, .trust-fact:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.btn--primary:hover { transform: none; }
.btn--primary { transition: transform .12s ease, background .18s ease, box-shadow .18s ease; }

/* ============ DETOX DRIP COMPOSITION ============ */
.drip-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.drip-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.drip-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
}
.drip-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--green-light);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.drip-card__icon svg {
  width: 24px;
  height: 24px;
}
.drip-card h3 {
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
  font-weight: 700;
}
.drip-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}
.drip-note {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  background: var(--green-light);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}
.faq--detox .faq__item.is-open .faq__a { max-height: 1600px; }

@media (min-width: 640px) {
  .drip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .drip-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============ STAGES OF RECOVERY ============ */
.stages {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  position: relative;
}
.stages::before {
  content: '';
  position: absolute;
  inset: -10px -20px;
  background: linear-gradient(135deg, #E1EFFA 0%, #E1EFFA 60%, #E1EFFA 100%);
  border-radius: 28px;
  z-index: -1;
}
.stages__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  padding: 8px 0;
  gap: 10px;
  color: var(--green-dark);
}
.stages__badge-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(35,104,161,0.18), inset 0 0 0 1px rgba(35,104,161,0.08);
  display: grid;
  place-items: center;
  color: var(--green);
  position: relative;
}
.stages__badge-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(35,104,161,0.25);
  animation: stages-spin 24s linear infinite;
}
@keyframes stages-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .stages__badge-ring::after { animation: none; }
}
.stages__badge-ico { width: 46px; height: 46px; }
.stages__badge-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  text-align: center;
  line-height: 1.3;
}

.stages__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stage {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 18px;
  background: #fff;
  border-radius: 999px;
  padding: 14px 22px 14px 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(35,104,161,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stage:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.stage__time {
  flex: 0 0 auto;
  min-width: 78px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(35,104,161,0.25);
}
.stage__time b {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stage__time span {
  font-size: 11px;
  font-weight: 500;
  margin-top: 3px;
  opacity: 0.9;
  text-transform: lowercase;
}
.stage__body { flex: 1; min-width: 0; padding: 2px 0; }
.stage__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.stage__desc {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

#stages .btn--block { margin-top: 24px; }
#stages .note { margin-top: 20px; }

@media (max-width: 767px) {
  #stages .section__title,
  #stages .section__sub,
  #stages .note {
    overflow-wrap: break-word;
  }

  .stages {
    width: 100%;
    min-width: 0;
    gap: 16px;
    margin-top: 22px;
  }

  .stages::before {
    inset: -8px 0;
    border-radius: 22px;
  }

  .stages__badge {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    padding: 2px 12px 0;
    gap: 12px;
  }

  .stages__badge-ring {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
  }

  .stages__badge-ring::after {
    inset: -4px;
  }

  .stages__badge-ico {
    width: 32px;
    height: 32px;
  }

  .stages__badge-label {
    max-width: 170px;
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .stages__list {
    width: 100%;
    min-width: 0;
    gap: 12px;
  }

  .stage {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(64px, 72px) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
  }

  .stage__time {
    width: 100%;
    min-width: 0;
    align-self: start;
    padding: 8px 6px;
    border-radius: 16px;
  }

  .stage__time b {
    font-size: 20px;
  }

  .stage__time span {
    font-size: 10px;
  }

  .stage__body {
    min-width: 0;
    padding: 0;
  }

  .stage__title {
    font-size: 15px;
    line-height: 1.25;
  }

  .stage__desc {
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: break-word;
  }
}

@media (max-width: 359px) {
  .stage {
    grid-template-columns: 1fr;
  }

  .stage__time {
    width: auto;
    min-width: 86px;
    justify-self: start;
  }
}

@media (min-width: 768px) {
  .stages {
    grid-template-columns: 220px 1fr;
    gap: 32px;
    padding: 12px 0;
  }
  .stages__badge { justify-self: start; }
  .stages__badge-ring { width: 150px; height: 150px; }
  .stages__badge-ico { width: 60px; height: 60px; }
  .stages__badge-label { font-size: 14px; }
  .stage { padding: 18px 28px 18px 18px; border-radius: 60px; }
  .stage__time { min-width: 100px; padding: 10px 14px; }
  .stage__time b { font-size: 28px; }
  .stage__time span { font-size: 12px; }
  .stage__title { font-size: 19px; }
  .stage__desc { font-size: 15px; margin-top: 6px; }
}
@media (min-width: 1024px) {
  .stages { grid-template-columns: 260px 1fr; gap: 40px; }
  .stages__badge-ring { width: 170px; height: 170px; }
}

/* ============ INTERVENTION ============ */
#intervention {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #E1EFFA 100%);
}
#intervention::before,
#intervention::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
#intervention::before {
  width: 520px; height: 520px;
  top: -220px; right: -180px;
  background: radial-gradient(circle, rgba(35,104,161,0.12) 0%, transparent 70%);
}
#intervention::after {
  width: 380px; height: 380px;
  bottom: -160px; left: -140px;
  background: radial-gradient(circle, rgba(35,104,161,0.10) 0%, transparent 70%);
}
#intervention .container { position: relative; z-index: 1; }

.interv-head { text-align: center; max-width: 780px; margin: 0 auto; }
.interv-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.interv-head .section__title { margin: 0 auto; }
.interv-head .section__sub { margin-left: auto; margin-right: auto; }

.interv {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

.interv__media {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 20px 50px rgba(26,80,131,0.18);
  isolation: isolate;
}
.interv__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform .6s ease;
}
.interv__media:hover img { transform: scale(1.04); }
.interv__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,80,131,0) 40%, rgba(26,80,131,0.92) 100%);
}
.interv__caption {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 24px 22px 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 280px;
}
.interv__caption h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.interv__caption p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
}

.interv__content {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(35,104,161,0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.interv__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}
.interv__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.interv__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #E1EFFA 0%, #E1EFFA 100%);
  border-radius: 16px;
  border-left: 3px solid var(--green);
}
.interv__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.4;
}
.interv__check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
  margin-top: 1px;
}

.interv__stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 2px dashed rgba(35,104,161,0.3);
}
.interv__stat-ico {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  color: var(--green);
  display: grid;
  place-items: center;
  background: var(--green-light);
  border-radius: 50%;
}
.interv__stat-ico svg { width: 32px; height: 32px; }
.interv__stat-num {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.interv__stat-num small {
  font-size: 22px;
  font-weight: 700;
  margin-left: 2px;
  color: var(--green-mid);
}
.interv__stat-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  max-width: 340px;
}

.interv__cta {
  margin-top: auto;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.interv__cta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.interv__cta-text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.interv__cta-text span {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}
.interv__cta-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}
.interv__cta-buttons .btn {
  flex: 1 1 160px;
  min-width: 0;
  white-space: nowrap;
  justify-content: center;
  text-align: center;
}
.interv__cta-buttons .btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.interv__cta-buttons .btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

@media (min-width: 768px) {
  .interv { grid-template-columns: 1.05fr 1fr; gap: 28px; }
  .interv__media { min-height: 520px; }
  .interv__caption { padding: 32px 28px 28px; min-height: 520px; }
  .interv__caption h3 { font-size: 22px; }
  .interv__caption p { font-size: 15px; }
  .interv__content { padding: 36px 32px; gap: 22px; }
  .interv__title { font-size: 28px; }
  .interv__text { font-size: 16px; }
  .interv__stat { padding: 20px 24px; }
  .interv__stat-num { font-size: 56px; }
  .interv__stat-num small { font-size: 28px; }
}
@media (min-width: 1200px) {
  .interv { grid-template-columns: 1.1fr 1fr; gap: 40px; }
  .interv__title { font-size: 32px; }
  .interv__cta {
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding: 22px 26px;
  }
  .interv__cta-text { flex: 1 1 auto; min-width: 220px; }
  .interv__cta-buttons { width: auto; flex: 0 0 auto; flex-wrap: nowrap; }
  .interv__cta-buttons .btn { flex: 0 0 auto; padding-left: 22px; padding-right: 22px; }
}

/* ============ HANGOVER PAGE ============ */
body.hangover-page {
  padding-bottom: 0;
}
.hangover-header .header__inner {
  justify-content: flex-start;
}
.hangover-header__status {
  display: none;
  margin-left: auto;
}
.hangover-header__phone {
  margin-left: 0;
  font-size: 15px;
  font-weight: 600;
}
.hangover-header__phone-text {
  display: none;
}
.hangover-hero {
  padding-bottom: 0;
}
.hangover-hero .hero__title {
  max-width: 780px;
}
.hangover-hero .hero__sub {
  max-width: 680px;
  font-size: 17px;
}
.hangover-hero__media img {
  object-position: center;
}
.hangover-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.hangover-pills .pill {
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
}
.hangover-pills .pill span {
  width: 20px;
  display: inline-flex;
  justify-content: center;
  flex-shrink: 0;
}
.hangover-hero__facts {
  margin-top: 34px;
  background: var(--green-dark);
  color: #fff;
}
.hangover-hero__facts-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: rgba(255,255,255,0.16);
}
.hangover-hero__facts span {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--green-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.hangover-compare__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
.hangover-text-card {
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.hangover-text-card h3 {
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}
.hangover-text-card p {
  margin-top: 14px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
.hangover-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.hangover-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}
.hangover-table th,
.hangover-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}
.hangover-table thead th {
  background: var(--green-dark);
  color: #fff;
  font-weight: 700;
}
.hangover-table tbody th {
  width: 34%;
  font-weight: 700;
}
.hangover-table tbody td:last-child {
  color: var(--green-dark);
  font-weight: 800;
  background: rgba(225,239,250,0.55);
}
.hangover-table tr:last-child th,
.hangover-table tr:last-child td {
  border-bottom: none;
}
.hangover-inline-cta {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--green-light);
}
.hangover-inline-cta p {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}
.hangover-inline-cta .btn {
  width: 100%;
  margin: 0;
}
.hangover-process__steps .process-step p {
  color: var(--text);
}
.hangover-composition {
  margin-top: 34px;
}
.hangover-composition h3 {
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}
.hangover-composition__grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.hangover-composition__grid article {
  min-height: 150px;
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.hangover-composition__grid strong {
  display: block;
  color: var(--green-dark);
  font-size: 17px;
  line-height: 1.3;
}
.hangover-composition__grid span {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
.hangover-composition > p {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px dashed rgba(35,104,161,0.45);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.78);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}
.hangover-danger__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.hangover-symptom-box {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.hangover-symptom-box--alert {
  border: 2px solid var(--green);
  background: linear-gradient(135deg, #fff 0%, var(--green-light) 100%);
  box-shadow: var(--shadow-hover);
}
.hangover-symptom-box h3 {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}
.hangover-symptom-box--alert h3 {
  color: var(--green-dark);
}
.hangover-symptom-box p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}
.hangover-symptom-box ul {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.hangover-symptom-box li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}
.hangover-symptom-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-light);
  border: 1px solid var(--border);
}
.hangover-symptom-box li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.hangover-symptom-box--alert li::before {
  background: var(--green);
  border-color: var(--green);
}
.hangover-symptom-box--alert li::after {
  left: 5px;
  top: 5px;
  width: 8px;
  height: 8px;
  background: transparent;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  transform: rotate(-45deg);
}
.hangover-inline-cta--alert {
  border-left: 6px solid var(--green);
}
.hangover-inline-cta--alert p {
  font-size: 16px;
}
.hangover-for-other__grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
.hangover-for-other__photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.hangover-for-other__photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}
.hangover-for-other__photo figcaption {
  padding: 18px 20px;
  background: #fff;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}
.hangover-for-other__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hangover-alert-list {
  padding: 24px 20px;
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-hover);
}
.hangover-alert-list h3 {
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}
.hangover-alert-list ul {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.hangover-alert-list li {
  position: relative;
  padding: 14px 14px 14px 48px;
  border-radius: 14px;
  background: var(--green-light);
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}
.hangover-alert-list li::before {
  content: '!';
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.hangover-alert-list p {
  margin-top: 18px;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}
.hangover-help-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.hangover-help-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.hangover-help-steps li > span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-light);
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.hangover-help-steps h3 {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
.hangover-help-steps p {
  margin-top: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}
.hangover-for-other__stat {
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  box-shadow: var(--shadow-hover);
}
.hangover-for-other__stat strong {
  display: block;
  font-size: clamp(42px, 8vw, 64px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.hangover-for-other__stat span {
  display: block;
  margin-top: 10px;
  max-width: 520px;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}
.hangover-warning {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--green-light);
  box-shadow: var(--shadow-card);
}
.hangover-warning h3 {
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}
.hangover-warning p {
  margin-top: 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}
.hangover-warning__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: center;
}
.hangover-warning__actions .btn {
  width: 100%;
  margin: 0;
}
.hangover-price-grid {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.hangover-price-grid .price-card__price {
  margin-top: 24px;
}
.hangover-price-notes {
  margin: 24px auto 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.hangover-price-notes li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: var(--shadow-card);
}
.hangover-price-notes li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 15px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/11px no-repeat;
}
.hangover-faq .section__title {
  max-width: 760px;
}
.faq--hangover {
  margin-top: 30px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.faq--hangover .faq__item.is-open .faq__a {
  max-height: 1200px;
}
.hangover-call {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  padding: 64px 0;
}
.hangover-call__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.hangover-call h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.hangover-call p,
.hangover-call li {
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.hangover-call a {
  color: #fff;
  font-size: clamp(30px, 7vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.hangover-call ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.hangover-call li {
  font-size: 15px;
}
.hangover-final-cta__note {
  max-width: 700px;
  margin-top: 4px;
  color: rgba(255,255,255,0.72) !important;
  font-size: 14px;
  font-weight: 600 !important;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .hangover-header .header__inner {
    display: flex;
    min-height: 82px;
    gap: 10px;
  }
  .hangover-header .logo__mark img {
    height: 43px;
  }
  .hangover-header__status {
    display: none;
  }
  .hangover-header__phone {
    width: auto;
    flex-shrink: 0;
    font-size: 14px;
  }
  .hangover-header .header__phone::after {
    content: none;
  }
  .hangover-hero .hero__title {
    font-size: 30px;
  }
  .hangover-table-wrap {
    overflow-x: visible;
  }
  .hangover-price-grid .price-card--featured {
    order: 0;
  }
}

@media (max-width: 639px) {
  .hangover-table-wrap {
    overflow-x: visible;
  }
  .hangover-table {
    min-width: 0;
    display: block;
  }
  .hangover-table thead {
    display: none;
  }
  .hangover-table tbody {
    display: block;
  }
  .hangover-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 2px solid var(--border);
  }
  .hangover-table tbody tr:last-child {
    border-bottom: none;
  }
  .hangover-table tbody th {
    grid-column: 1 / -1;
    width: 100%;
    padding: 11px 16px 9px;
    background: var(--green-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-bottom: none;
    letter-spacing: 0.01em;
  }
  .hangover-table tbody td {
    padding: 10px 14px 13px;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #fff;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
  }
  .hangover-table tbody td:last-child {
    background: rgba(225,239,250,0.65);
    border-left: 1px solid var(--border);
    color: var(--green-dark);
    font-weight: 800;
  }
  .hangover-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    line-height: 1.3;
  }
  .hangover-table tbody td:last-child::before {
    color: var(--green-dark);
    opacity: 0.75;
  }
}

@media (min-width: 640px) {
  .hangover-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hangover-composition__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hangover-price-notes {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .hangover-hero__facts-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .hangover-inline-cta {
    grid-template-columns: 1fr auto;
    padding: 24px 28px;
  }
  .hangover-inline-cta .btn {
    width: auto;
    min-width: 210px;
  }
  .hangover-danger__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .hangover-symptom-box {
    padding: 30px 28px;
  }
  .hangover-for-other__grid {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
  }
  .hangover-for-other__photo img {
    height: 100%;
    min-height: 560px;
  }
  .hangover-warning {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
    padding: 30px;
  }
}

@media (min-width: 1024px) {
  .hangover-for-other__grid {
    grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
    gap: 36px;
  }
  .hangover-help-steps li {
    padding: 22px;
  }
}

@media (min-width: 1024px) {
  .hangover-pills {
    grid-template-columns: repeat(5, auto);
  }
  .hangover-compare__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
    gap: 30px;
  }
  .hangover-composition__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============ DRUG WITHDRAWAL PAGE ============ */
.withdrawal-page .header__status {
  background: #E1EFFA;
  color: var(--green-dark);
}
.withdrawal-hero {
  padding-bottom: 0;
}
.withdrawal-hero__inner {
  padding-bottom: 36px;
}
.withdrawal-actions .btn {
  min-height: 58px;
}
.withdrawal-max {
  border-color: rgba(35,104,161,0.35);
  background: rgba(255,255,255,0.74);
  color: var(--green-dark);
}
.withdrawal-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}
.withdrawal-pills .pill {
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 48px;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}
.withdrawal-pills .pill > span:first-child {
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15em;
}
.withdrawal-hero .withdrawal-hero__media img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: min(520px, 70vh);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}
.withdrawal-hero__facts {
  position: relative;
  z-index: 1;
  background: var(--green-dark);
  color: #fff;
}
.withdrawal-hero__facts-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}
.withdrawal-hero__facts span {
  padding: 16px 18px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.withdrawal-mechanism {
  margin-top: 26px;
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff 0%, #f4f9fd 100%);
  box-shadow: var(--shadow-card);
}
.withdrawal-mechanism p,
.withdrawal-factors p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
.withdrawal-risk-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.withdrawal-risk-card {
  position: relative;
  min-height: 190px;
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.withdrawal-risk-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--green);
}
.withdrawal-risk-card h3 {
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}
.withdrawal-risk-card p {
  margin-top: 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
.withdrawal-dark-note {
  margin-top: 24px;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--green-dark);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  box-shadow: 0 18px 46px rgba(16,33,51,0.18);
}
.withdrawal-factors {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  padding: 22px;
  border-left: 6px solid var(--green);
  border-radius: var(--radius-md);
  background: var(--green-light);
}
.withdrawal-process__steps {
  align-items: stretch;
}
.withdrawal-process__steps .process-step {
  min-height: 100%;
}
.withdrawal-process__steps .process-step p {
  color: var(--text);
  font-size: 14px;
}
.withdrawal-privacy {
  margin-top: 32px;
  padding: 26px 22px;
  border: 1px solid rgba(35,104,161,0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #E1EFFA 0%, #fff 100%);
  box-shadow: var(--shadow-card);
}
.withdrawal-privacy h3 {
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}
.withdrawal-privacy p {
  margin-top: 12px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
.withdrawal-final-cta {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 18px 46px rgba(16,33,51,0.2);
}
.withdrawal-final-cta span {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 700;
}
.withdrawal-final-cta a[href^="tel"] {
  display: inline-block;
  margin-top: 4px;
  color: #fff;
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.withdrawal-final-cta__max {
  width: 100%;
  margin: 0;
  border-color: rgba(255,255,255,0.45);
  background: transparent;
  color: #fff;
}
.withdrawal-final-cta__max:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.withdrawal-final-cta p {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 640px) {
  .withdrawal-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .withdrawal-risk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .withdrawal-hero__facts-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .withdrawal-hero__facts span {
    padding: 18px 20px;
    font-size: 15px;
  }
  .withdrawal-final-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 28px 30px;
  }
  .withdrawal-final-cta__max {
    width: auto;
    min-width: 240px;
  }
  .withdrawal-final-cta p {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .withdrawal-pills {
    grid-template-columns: repeat(5, auto);
  }
  .withdrawal-risk-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .withdrawal-process__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.withdrawal-doctor__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}
/* Иначе широкая таблица раздувает колонку grid и ломает всю страницу по горизонтали */
.withdrawal-doctor__grid > * {
  min-width: 0;
}
.withdrawal-doctor__lead {
  margin-top: 14px;
  max-width: 100%;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.doctor-profile {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(200,222,240,0.9);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.doctor-profile__photo {
  overflow: hidden;
  border-radius: 12px;
  background: var(--green-light);
}
.doctor-profile__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.doctor-profile__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.doctor-profile__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}
.doctor-profile h3 {
  margin-top: 12px;
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}
.doctor-profile p {
  margin-top: 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
.doctor-profile__stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.doctor-profile__stats li {
  padding: 12px 10px;
  border-radius: 14px;
  background: #f4f9fd;
  text-align: center;
}
.doctor-profile__stats strong {
  display: block;
  color: var(--green-dark);
  font-size: 20px;
  line-height: 1;
}
.doctor-profile__stats span {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}
.withdrawal-doctor__checks {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.withdrawal-doctor__checks li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(35,104,161,0.14);
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
}
.withdrawal-doctor__checks span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 13px;
}
.doctor-quote {
  margin: 22px 0 0;
  padding: 20px 22px;
  border-left: 5px solid var(--green);
  border-radius: 0 18px 18px 0;
  background: rgba(255,255,255,0.78);
  color: var(--text);
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.doctor-quote p {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.doctor-quote cite {
  display: block;
  margin-top: 12px;
  color: var(--green-dark);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.withdrawal-meds {
  padding: 20px;
  border: 1px solid rgba(200,222,240,0.95);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  max-width: 100%;
  box-sizing: border-box;
}
.withdrawal-meds h3 {
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}
.withdrawal-meds__table-wrap {
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.withdrawal-meds__table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  background: #fff;
}
.withdrawal-meds__table th,
.withdrawal-meds__table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.withdrawal-meds__table th {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 800;
}
.withdrawal-meds__table tr:last-child td {
  border-bottom: 0;
}
.withdrawal-meds__note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f4f9fd;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.withdrawal-meds__photo {
  margin-top: 16px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--green-light);
}
.withdrawal-meds__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.withdrawal-faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.withdrawal-details {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.withdrawal-details details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.withdrawal-details summary {
  position: relative;
  display: block;
  padding: 18px 52px 18px 18px;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
}
.withdrawal-details summary::-webkit-details-marker {
  display: none;
}
.withdrawal-details summary::after {
  content: '';
  position: absolute;
  top: 22px;
  right: 22px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform .2s ease, top .2s ease;
}
.withdrawal-details details[open] summary::after {
  top: 26px;
  transform: rotate(225deg);
}
.withdrawal-details p {
  padding: 0 18px 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}
.withdrawal-faq-photo {
  display: none;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(16,33,51,0.12);
}
.withdrawal-faq-photo img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.withdrawal-reviews-head {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.withdrawal-reviews-head span {
  display: none;
  height: 1px;
  background: var(--border);
}
.withdrawal-reviews-head h2 {
  color: var(--text);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.withdrawal-rating {
  width: fit-content;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-card);
}
.withdrawal-rating__logo {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}
.withdrawal-rating strong {
  color: var(--green);
  font-size: 18px;
}
.withdrawal-rating span:last-child {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.withdrawal-reviews {
  margin-top: 22px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  scrollbar-width: none;
}
.withdrawal-reviews::-webkit-scrollbar {
  display: none;
}
.withdrawal-review-card {
  flex: 0 0 88%;
  scroll-snap-align: start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.withdrawal-review-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.withdrawal-review-card__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}
.withdrawal-review-card h3 {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}
.withdrawal-review-card__top span:not(.withdrawal-review-card__avatar) {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
}
.withdrawal-review-card__stars {
  margin-top: 14px;
  color: var(--gold);
  letter-spacing: 2px;
}
.withdrawal-review-card p {
  margin-top: 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}
.withdrawal-reviews__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.withdrawal-reviews__dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
}
.withdrawal-reviews__dots span:first-child {
  width: 22px;
  background: var(--green);
}
.withdrawal-conversion {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: var(--green-dark);
  color: #fff;
}
.withdrawal-conversion__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    image-set(
      url("assets/kartinki/gpt-image-2_Editorial_healthcare_photography_female_clinic_professional_age_42_dark_brown_ha-0%288%29.webp") type("image/webp"),
      url("assets/kartinki/gpt-image-2_Editorial_healthcare_photography_female_clinic_professional_age_42_dark_brown_ha-0%288%29.jpg") type("image/jpeg")
    ) center/cover no-repeat;
}
.withdrawal-conversion__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.withdrawal-conversion__online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.withdrawal-conversion__online .pulse span,
.withdrawal-conversion__online .pulse::before {
  background: #37d67a;
}
.withdrawal-conversion__stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.withdrawal-conversion__stats span {
  padding: 12px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.withdrawal-conversion__stats strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}
.withdrawal-conversion h2 {
  margin-top: 24px;
  color: #fff;
  font-size: clamp(32px, 7vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.withdrawal-conversion p {
  margin-top: 14px;
  color: rgba(255,255,255,0.84);
  font-size: 18px;
  line-height: 1.55;
}
.withdrawal-conversion__pills {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.withdrawal-conversion__pills li {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.withdrawal-conversion__actions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.withdrawal-conversion__actions .btn {
  width: 100%;
  margin: 0;
  min-height: 60px;
  font-size: 16px;
}
.withdrawal-conversion__micro {
  margin-top: 14px !important;
  color: rgba(255,255,255,0.78) !important;
  font-size: 14px !important;
  font-weight: 700;
}
.withdrawal-conversion__messengers {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 700;
}
.withdrawal-conversion__messengers a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 640px) {
  .doctor-profile {
    grid-template-columns: minmax(220px, 0.85fr) 1.15fr;
  }
  .withdrawal-review-card {
    flex-basis: calc(50% - 8px);
  }
  .withdrawal-reviews-head {
    grid-template-columns: 1fr auto 1fr;
  }
  .withdrawal-reviews-head span {
    display: block;
  }
  .withdrawal-conversion__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .withdrawal-conversion__actions {
    grid-template-columns: 1fr 0.76fr;
  }
}

@media (min-width: 768px) {
  .withdrawal-faq-layout {
    grid-template-columns: minmax(0, 65fr) minmax(240px, 35fr);
  }
  .withdrawal-faq-photo {
    display: block;
    position: sticky;
    top: 96px;
  }
  /* Горизонтальный скролл только внутри .withdrawal-meds__table-wrap */
  .withdrawal-meds__table {
    min-width: 620px;
  }
}

@media (min-width: 1024px) {
  .withdrawal-doctor__grid {
    grid-template-columns: minmax(0, 60fr) minmax(360px, 40fr);
    gap: 32px;
  }
  .withdrawal-meds {
    position: sticky;
    top: 92px;
  }
}

@media (max-width: 767px) {
  .withdrawal-conversion {
    padding: 54px 0;
  }
  .withdrawal-rating {
    width: 100%;
    justify-content: center;
  }
  .doctor-profile__stats {
    grid-template-columns: 1fr;
  }
}

/* Снятие ломки: мобильная и узкая вёрстка */
@media (min-width: 1100px) {
  .withdrawal-page .hero__inner .hero__content,
  .withdrawal-page .hero__inner .hero__media {
    min-width: 0;
  }
  .withdrawal-hero .withdrawal-hero__media img,
  .withdrawal-hero.hero .hero__media img {
    height: auto;
    min-height: 0;
    max-height: 560px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
}

@media (max-width: 1099px) {
  .withdrawal-hero.hero--detox .hero__media.withdrawal-hero__media,
  .withdrawal-hero .withdrawal-hero__media {
    max-width: 100%;
    border-radius: 18px;
  }
}

@media (max-width: 767px) {
  .withdrawal-page .hero__inner,
  .withdrawal-page .hero__content {
    min-width: 0;
    max-width: 100%;
  }
  .withdrawal-page .withdrawal-hero.hero {
    padding-top: 22px;
    padding-bottom: 0;
  }
  .withdrawal-page .withdrawal-hero__inner {
    padding-bottom: 24px;
  }
  .withdrawal-page .badge-live {
    max-width: 100%;
    align-self: stretch;
    flex-wrap: wrap;
    row-gap: 6px;
    font-size: 12px;
    padding: 8px 12px;
  }
  .withdrawal-page .hero__title {
    font-size: clamp(22px, 5.6vw, 26px);
    line-height: 1.14;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .withdrawal-page .hero__sub {
    font-size: 15px;
    line-height: 1.52;
    overflow-wrap: anywhere;
  }
  .withdrawal-page .landing-actions.withdrawal-actions {
    gap: 12px;
    margin-top: 20px;
  }
  .withdrawal-page .withdrawal-actions .btn {
    min-height: 54px;
  }
  .withdrawal-page .withdrawal-actions .btn--cta {
    margin-top: 0;
    height: auto;
    min-height: 54px;
    padding-top: 14px;
    padding-bottom: 14px;
    line-height: 1.2;
  }
  .withdrawal-page .withdrawal-pills {
    gap: 8px;
    margin-top: 18px;
  }
  .withdrawal-page .withdrawal-hero__facts span {
    padding: 14px 14px;
    font-size: 13px;
    line-height: 1.38;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .withdrawal-page .withdrawal-mechanism,
  .withdrawal-page .withdrawal-dark-note {
    padding: 18px 16px;
  }
  .withdrawal-page .withdrawal-risk-card {
    min-height: 0;
    padding: 20px 16px;
  }
  .withdrawal-page .withdrawal-risk-card h3 {
    font-size: 18px;
  }
  .withdrawal-page .withdrawal-factors {
    padding: 18px 16px;
  }
  .withdrawal-page .section__title {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .withdrawal-page .section__sub {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .withdrawal-page .withdrawal-process__steps .process-step {
    padding: 20px 16px 20px 18px;
  }
  .withdrawal-page .withdrawal-process__steps .process-step h3 {
    padding-right: 36px;
    overflow-wrap: anywhere;
  }
  .withdrawal-page .withdrawal-process__steps .process-step p {
    font-size: 14px;
    overflow-wrap: anywhere;
  }
  .withdrawal-page .withdrawal-process__steps .process-step__num {
    top: 16px;
    right: 14px;
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .withdrawal-page .withdrawal-privacy {
    padding: 20px 16px;
  }
  .withdrawal-page .withdrawal-privacy h3 {
    font-size: clamp(17px, 4.8vw, 22px);
  }
  .withdrawal-page .withdrawal-final-cta {
    padding: 20px 16px;
    gap: 14px;
  }
  .withdrawal-page .withdrawal-final-cta a[href^='tel'] {
    font-size: clamp(22px, 8vw, 30px);
    word-break: break-all;
    line-height: 1.06;
    max-width: 100%;
  }
  .withdrawal-page .withdrawal-final-cta__max.btn {
    min-height: 50px;
    white-space: normal;
    text-align: center;
    justify-content: center;
    padding: 12px 16px;
    line-height: 1.3;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .withdrawal-page .landing-prices .price-card {
    padding: 22px 16px;
  }
  .withdrawal-page .landing-prices .service-card__title {
    font-size: clamp(16px, 4.2vw, 19px);
    overflow-wrap: anywhere;
  }
  .withdrawal-page .promo-strip--below-cards {
    font-size: 13px;
    line-height: 1.45;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
  }
  .withdrawal-page .withdrawal-meds {
    padding: 16px;
  }
  .withdrawal-page .withdrawal-meds h3 {
    font-size: clamp(18px, 4.6vw, 22px);
    overflow-wrap: anywhere;
  }
  /* Без min-width: таблица влезает в экран, текст переносится */
  .withdrawal-page .withdrawal-meds__table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
    font-size: 11px;
  }
  .withdrawal-page .withdrawal-meds__table th,
  .withdrawal-page .withdrawal-meds__table td {
    padding: 8px 7px;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .withdrawal-page .withdrawal-doctor__checks li {
    font-size: 14px;
    padding: 12px 14px;
  }
  .withdrawal-page .withdrawal-doctor__lead {
    font-size: 15px;
  }
  .withdrawal-page .withdrawal-details summary {
    padding: 16px 44px 16px 16px;
    font-size: 15px;
    line-height: 1.32;
    overflow-wrap: anywhere;
  }
  .withdrawal-page .withdrawal-details summary::after {
    right: 16px;
  }
  .withdrawal-page .withdrawal-details details[open] summary::after {
    top: 22px;
  }
  .withdrawal-page .withdrawal-details p {
    padding: 0 16px 16px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }
  .withdrawal-page .withdrawal-reviews-head h2 {
    font-size: clamp(20px, 5.2vw, 26px);
    line-height: 1.2;
    padding: 0 4px;
    overflow-wrap: anywhere;
  }
  .withdrawal-page .withdrawal-rating {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 6px;
    padding: 12px;
  }
  .withdrawal-page .withdrawal-reviews {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
  }
  .withdrawal-page .withdrawal-review-card {
    flex: 0 0 88%;
    max-width: min(380px, 100%);
    box-sizing: border-box;
    padding: 18px 16px;
  }
  .withdrawal-page .withdrawal-review-card p {
    overflow-wrap: anywhere;
  }
  .withdrawal-page .withdrawal-conversion {
    padding: 44px 0 48px;
  }
  .withdrawal-page .withdrawal-conversion__inner {
    max-width: 100%;
    padding: 0 4px;
    text-align: center;
  }
  .withdrawal-page .withdrawal-conversion h2 {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .withdrawal-page .withdrawal-conversion p {
    font-size: 16px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .withdrawal-page .withdrawal-conversion__online {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    padding: 8px 12px;
    line-height: 1.35;
  }
  .withdrawal-page .withdrawal-conversion__stats span {
    font-size: 11px;
    padding: 10px 8px;
  }
  .withdrawal-page .withdrawal-conversion__stats strong {
    font-size: 20px;
  }
  .withdrawal-page .withdrawal-conversion__actions .btn {
    white-space: normal;
    line-height: 1.28;
    padding: 14px 16px;
    min-height: 52px;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .withdrawal-page .withdrawal-conversion__messengers {
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
  }
  .withdrawal-page .doctor-quote p {
    font-size: 16px;
  }
  .withdrawal-page .doctor-quote cite {
    font-size: 13px;
    line-height: 1.35;
  }
  .withdrawal-doctor .doctors.doctors--below-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .withdrawal-doctor .doctors--below-grid .doctor {
    flex: none;
    max-width: none;
    width: 100%;
    scroll-snap-align: unset;
  }
  .withdrawal-page .sticky-cta {
    height: auto;
    min-height: 64px;
    padding: 12px 14px;
    left: max(10px, env(safe-area-inset-left, 0px));
    right: max(10px, env(safe-area-inset-right, 0px));
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
  }
  .withdrawal-page .sticky-cta__text {
    min-width: 0;
    flex: 1;
    text-align: left;
  }
  .withdrawal-page .sticky-cta__title {
    white-space: normal;
    line-height: 1.22;
    font-size: 14px;
  }
  .withdrawal-page .sticky-cta__sub {
    white-space: normal;
    line-height: 1.25;
    font-size: 11px;
  }
}

@media (max-width: 399px) {
  .withdrawal-page .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .withdrawal-page .withdrawal-reviews {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============ OVERDOSE EMERGENCY PAGE ============ */
.overdose-page {
  --emergency-accent: #2368a1;
  --emergency-accent-dark: #1a5083;
  --emergency-accent-soft: #E1EFFA;
  --emergency-yellow: #E1EFFA;
  --emergency-navy: #102133;
}
.overdose-page .reveal {
  opacity: 1;
  transform: none;
}
.hero--overdose {
  padding-bottom: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(35,104,161,0.10), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f4f9fd 56%, #E1EFFA 100%);
}
.hero--overdose .hero__inner {
  padding-bottom: 34px;
}
.hero--overdose .hero__alarm {
  width: 100%;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--emergency-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 16px 36px rgba(35,104,161,0.2);
}
.hero--overdose .hero__title {
  max-width: 790px;
}
.hero--overdose .accent {
  color: var(--emergency-accent);
}
.hero--overdose .hero__sub {
  max-width: 680px;
  font-size: 18px;
  font-weight: 600;
}
.hero__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}
.hero__actions .btn {
  width: 100%;
  margin-top: 0;
}
.btn--urgent {
  min-height: 64px;
  height: auto;
  padding: 16px 22px;
  background: var(--emergency-accent);
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(35,104,161,0.24);
}
.btn--urgent:hover {
  background: var(--emergency-accent-dark);
}
.btn--max {
  min-height: 56px;
  height: auto;
  border: 2px solid #25d366;
  color: #107c3e;
  font-weight: 800;
}
.hero__guarantee {
  margin-top: 12px;
  color: var(--emergency-navy);
  font-size: 14px;
  font-weight: 800;
}
.pills--overdose {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.pills--overdose .pill {
  width: 100%;
  border-color: rgba(35,104,161,0.22);
  background: #fff;
  white-space: normal;
  font-weight: 800;
}
.hero--overdose .hero__media img {
  object-position: center;
}
.overdose-help .section__sub {
  max-width: 760px;
}
.aid-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
}
.aid-card,
.aid-note,
.fear-card {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(16,33,51,0.08);
}
.aid-card {
  padding: 22px;
  border: 2px solid transparent;
}
.aid-card--critical {
  border-color: rgba(35,104,161,0.3);
}
.aid-card--urgent {
  border-color: rgba(35,104,161,0.26);
}
.aid-card__label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.aid-card--critical .aid-card__label {
  background: var(--emergency-accent);
}
.aid-card--urgent .aid-card__label {
  background: var(--green-dark);
}
.aid-card__title {
  margin-top: 14px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}
.aid-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  list-style: none;
  counter-reset: aid;
}
.aid-list li {
  position: relative;
  min-height: 42px;
  padding-left: 52px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  counter-increment: aid;
}
.aid-list li::before {
  content: counter(aid);
  position: absolute;
  left: 0;
  top: 2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--emergency-accent-soft);
  color: var(--emergency-accent);
  font-weight: 900;
}
.aid-card--urgent .aid-list li::before {
  background: var(--green-light);
  color: var(--green-dark);
}
.aid-note {
  padding: 20px 22px;
  border: 2px solid rgba(35,104,161,0.22);
  background: linear-gradient(135deg, #fff 0%, var(--emergency-accent-soft) 100%);
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}
.fear-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
}
.fear-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(200,222,240,0.95);
}
.fear-card h3 {
  color: var(--text);
  font-size: 21px;
  line-height: 1.2;
}
.fear-card p {
  margin-top: 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.62;
}
.fear-card__foot {
  margin-top: auto;
  padding-top: 18px;
  color: var(--emergency-accent);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fear-card__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.overdose-cta {
  margin-top: 28px;
  padding: 26px 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, #102133 0%, #1a5083 100%);
  color: #fff;
  text-align: center;
}
.overdose-cta h3 {
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.overdose-cta__phone {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 66px;
  margin-top: 22px;
  border-radius: 18px;
  background: var(--emergency-accent);
  color: #fff;
  font-size: clamp(24px, 7vw, 46px);
  font-weight: 900;
  line-height: 1;
}
.overdose-cta__max {
  width: 100%;
  min-height: 62px;
  height: auto;
  margin-top: 12px;
  font-size: 17px;
  font-weight: 900;
}
.overdose-cta p {
  margin-top: 14px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  font-weight: 800;
}
.sign-tabs {
  margin-top: 30px;
}
.sign-tabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sign-tabs__nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.sign-tabs__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.sign-tabs__button:hover {
  transform: translateY(-1px);
}
#sign-tab-opioids:checked ~ .sign-tabs__nav label[for="sign-tab-opioids"],
#sign-tab-mixed:checked ~ .sign-tabs__nav label[for="sign-tab-mixed"] {
  border-color: var(--emergency-accent);
  background: var(--emergency-accent);
  color: #fff;
}
#sign-tab-stimulants:checked ~ .sign-tabs__nav label[for="sign-tab-stimulants"] {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #fff;
}
.sign-panel {
  display: none;
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(16,33,51,0.08);
}
#sign-tab-opioids:checked ~ .sign-panel--opioids,
#sign-tab-stimulants:checked ~ .sign-panel--stimulants,
#sign-tab-mixed:checked ~ .sign-panel--mixed {
  display: block;
}
.sign-panel h3 {
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}
.sign-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}
.sign-list li {
  position: relative;
  padding: 16px 16px 16px 42px;
  border: 1px solid rgba(200,222,240,0.95);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
.sign-list li::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emergency-accent);
}
.sign-panel--stimulants .sign-list li::before {
  background: var(--green-dark);
}
.sign-warning,
.sign-panel__text {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--emergency-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}
.sign-warning--orange {
  background: var(--green-dark);
}
.sign-panel__text {
  background: var(--emergency-accent-soft);
  color: var(--text);
  border: 2px solid rgba(35,104,161,0.2);
}
.symptom-call {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2368a1 0%, #102133 100%);
  color: #fff;
}
.symptom-call p {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}
.symptom-call__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.symptom-call__actions .btn {
  width: 100%;
  min-height: 56px;
  height: auto;
  margin: 0;
}
.medical-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
}
.medical-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 17px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--emergency-accent), var(--green));
}
.medical-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-left: 48px;
}
.medical-step::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 6px;
  width: 25px;
  height: 25px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--emergency-accent);
  box-shadow: 0 0 0 2px rgba(35,104,161,0.25);
  z-index: 1;
}
.medical-step__time {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--emergency-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.medical-step__body {
  padding: 22px;
  border: 1px solid rgba(200,222,240,0.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(16,33,51,0.07);
}
.medical-step__eyebrow {
  color: var(--emergency-accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.medical-step h3 {
  margin-top: 8px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}
.medical-step__body p:last-child {
  margin-top: 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.62;
}
.procedure-alert {
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  background: var(--emergency-navy);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
}
.overdose-faq__list {
  margin-top: 30px;
}
.overdose-faq .faq__item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(16,33,51,0.06);
}
.final-emergency {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, #102133 0%, #1a5083 100%);
  color: #fff;
}
.final-emergency__main h3 {
  font-size: clamp(24px, 5vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.final-emergency__phone {
  display: inline-flex;
  margin-top: 18px;
  color: #fff;
  font-size: clamp(28px, 7vw, 50px);
  font-weight: 900;
  line-height: 1;
}
.final-emergency__main p,
.final-emergency__side p,
.final-emergency__legal {
  margin-top: 12px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}
.final-emergency__side {
  align-self: center;
}
.final-emergency__side .btn {
  width: 100%;
  min-height: 64px;
  height: auto;
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}
.final-emergency__legal {
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
  text-align: center;
}

@media (min-width: 640px) {
  .pills--overdose {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sign-tabs__nav,
  .symptom-call__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .symptom-call__actions {
    grid-template-columns: 1fr 0.7fr;
  }
  .sign-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .hero__actions {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.46fr);
    align-items: stretch;
  }
  .aid-card,
  .fear-card {
    padding: 28px;
  }
  .overdose-cta {
    padding: 36px;
  }
  .sign-panel,
  .procedure-alert,
  .final-emergency {
    padding: 32px;
  }
  .symptom-call {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    padding: 26px 28px;
  }
  .final-emergency {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  }
  .final-emergency__legal {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .hero--overdose .hero__inner {
    align-items: stretch;
    padding-bottom: 52px;
  }
  .hero--overdose .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero--overdose .hero__media {
    flex: 0 0 430px;
  }
  .hero--overdose .hero__media img {
    height: 620px;
  }
  .aid-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .aid-note {
    display: flex;
    align-items: center;
    padding: 28px;
  }
  .fear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .medical-step {
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 24px;
    padding-left: 58px;
  }
  .medical-step__time {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
  }
  .medical-step__body {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (max-width: 767px) {
  .hero--overdose {
    padding-top: 18px;
  }
  .hero--overdose .hero__title {
    font-size: 31px;
  }
  .hero--overdose .hero__sub {
    font-size: 16px;
  }
  .btn--urgent {
    font-size: 16px;
  }
  .aid-list li {
    padding-left: 46px;
  }
}

/* ================================================================
   ============ MEGA DESIGN UPGRADE — MOBILE FIRST ============
   ================================================================ */

/* --- Глобальные улучшения --- */
body {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 30%, #f4f9fd 100%);
}

/* --- HERO: Wow-эффект на мобильном --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 44px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(35,104,161,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(35,104,161,0.10) 0%, transparent 40%),
    linear-gradient(165deg, #ffffff 0%, #f0f7ff 40%, #e4f0fc 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -30%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35,104,161,0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: heroOrb 8s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35,104,161,0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: heroOrb 10s ease-in-out infinite alternate-reverse;
}
@keyframes heroOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, 15px) scale(1.1); }
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a5083 50%, #2368a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 16px;
  color: #3a5a73;
  font-weight: 500;
}

/* Badge пульс — стильнее */
.badge-live {
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(35,104,161,0.15);
  box-shadow: 0 4px 20px rgba(35,104,161,0.08);
}

/* Кнопки CTA — свечение и градиент */
.btn--primary {
  background: linear-gradient(135deg, #2368a1 0%, #1a5083 100%);
  box-shadow: 0 8px 28px rgba(35,104,161,0.35), 0 2px 6px rgba(35,104,161,0.15);
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #1a5083 0%, #0f3a63 100%);
  box-shadow: 0 12px 36px rgba(35,104,161,0.45), 0 4px 12px rgba(35,104,161,0.2);
  transform: translateY(-2px);
}
.btn--primary:active {
  transform: scale(0.97) translateY(0);
  box-shadow: 0 4px 16px rgba(35,104,161,0.3);
}


/* Пилюли — стекло */
.pill {
  background: rgba(255,255,255,0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(35,104,161,0.12);
  box-shadow: 0 2px 12px rgba(35,104,161,0.06);
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(35,104,161,0.12);
}

/* --- КАРТОЧКИ УСЛУГ: Глубина и разнообразие --- */
.price-card {
  border: none;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(16,33,51,0.06), 0 1px 4px rgba(16,33,51,0.04);
  overflow: visible;
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s cubic-bezier(.4,0,.2,1);
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2368a1, #4a9dd9);
  opacity: 0;
  transition: opacity .25s ease;
}
.price-card:hover::before {
  opacity: 1;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(35,104,161,0.15), 0 8px 24px rgba(16,33,51,0.08);
}

/* Featured карточка — премиум стиль */
.price-card--featured {
  background: linear-gradient(145deg, #1a5083 0%, #2368a1 40%, #2e80c4 100%);
  box-shadow: 0 16px 48px rgba(35,104,161,0.35), 0 4px 16px rgba(16,33,51,0.12);
}
.price-card--featured::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
  opacity: 1;
}

/* --- СЕКЦИИ: Визуальное разнообразие --- */
.section {
  position: relative;
}
.section--beige {
  background: linear-gradient(180deg, #eef6fd 0%, #e1effa 50%, #eef6fd 100%);
  border-top: 1px solid rgba(35,104,161,0.06);
  border-bottom: 1px solid rgba(35,104,161,0.06);
}

/* Заголовки секций — больше характера */
.section__title {
  position: relative;
  display: inline-block;
}
.section__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2368a1, #4a9dd9);
}

/* --- ОТЗЫВЫ: Живые карточки --- */
.review {
  border: none;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(16,33,51,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.review::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2368a1, #4a9dd9, #2368a1);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(35,104,161,0.12);
}
.review__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(35,104,161,0.2);
}
.review__author {
  font-size: 15px;
  font-weight: 700;
  color: #102133;
}
.review__date {
  font-size: 12px;
  color: #6b7a8a;
}
.review__stars {
  color: #f5a623;
  font-size: 18px;
  letter-spacing: 3px;
}

/* --- ПРЕИМУЩЕСТВА: Иконки с градиентом --- */
.adv {
  border: none;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(16,33,51,0.05);
  padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.adv:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(35,104,161,0.12);
}
.adv__ico {
  background: linear-gradient(135deg, #e1effa 0%, #d0e6f7 100%);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(35,104,161,0.12);
}

/* --- ШАГИ: Нумерация и стиль --- */
.step {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(35,104,161,0.1);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(16,33,51,0.05);
  padding: 28px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
  counter-increment: step-counter;
}
.step::before {
  content: counter(step-counter);
  position: absolute;
  top: -12px;
  left: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2368a1, #1a5083);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(35,104,161,0.3);
}
.steps {
  counter-reset: step-counter;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(35,104,161,0.12);
}
.step__icon {
  background: linear-gradient(135deg, #e1effa, #d4eaf8);
  box-shadow: 0 6px 18px rgba(35,104,161,0.12);
}

/* --- FAQ: Улучшенный аккордеон --- */
.faq__item {
  border: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(16,33,51,0.04);
  transition: box-shadow .2s ease, transform .2s ease;
  margin-bottom: 2px;
}
.faq__item:hover {
  box-shadow: 0 8px 28px rgba(35,104,161,0.1);
}
.faq__item.is-open {
  box-shadow: 0 10px 32px rgba(35,104,161,0.12);
  transform: scale(1.01);
}
.faq__q {
  padding: 20px 24px;
  font-size: 16px;
}

/* --- TRUST SECTION: Премиальный вид --- */
.trust-fact {
  border: none;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  box-shadow: 0 8px 32px rgba(16,33,51,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.trust-fact:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(35,104,161,0.12);
}
.trust-fact::before {
  height: 5px;
  background: linear-gradient(90deg, #1a5083, #2368a1, #4a9dd9);
  border-radius: 3px 3px 0 0;
}
.trust-fact__icon {
  background: linear-gradient(135deg, #e1effa, #cee4f5);
  box-shadow: 0 4px 14px rgba(35,104,161,0.1);
}

/* --- QUICK CALLBACK: Glassmorphism --- */
.quick-callback__card {
  background: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 24px 64px rgba(35,104,161,0.12),
    0 8px 24px rgba(16,33,51,0.06),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

/* --- ФИНАЛЬНЫЙ CTA: Премиальный градиент --- */
.final-cta {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(74,157,217,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(26,80,131,0.4) 0%, transparent 50%),
    linear-gradient(145deg, #1a5083 0%, #2368a1 40%, #1a5083 100%);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  pointer-events: none;
}
.final-cta__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.btn--white {
  border-radius: 16px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  background: #fff;
}

/* --- RELATIVES: Динамические карточки --- */
.relatives__col {
  border-radius: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.relatives__col:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(35,104,161,0.14);
}
.relatives__col--urgent {
  border-radius: 24px;
  background:
    linear-gradient(180deg, #f7fbff 0%, #e8f3fc 100%);
}

/* --- DOCTORS: Карточки с hover --- */
.doctor {
  border: none;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(16,33,51,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.doctor:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(35,104,161,0.15);
}
.doctor__photo {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(35,104,161,0.12);
}

/* --- STICKY CTA: Современный стиль --- */
.sticky-cta {
  background: linear-gradient(135deg, #1a5083 0%, #2368a1 100%);
  border-radius: 18px;
  box-shadow:
    0 10px 32px rgba(35,104,161,0.4),
    0 4px 12px rgba(16,33,51,0.15);
  border: 1px solid rgba(255,255,255,0.1);
}

/* --- FLOATING WIDGETS: Стекло --- */
.floating-widgets__item {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(35,104,161,0.1);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(16,33,51,0.1);
}

/* --- PROMO STRIP: Яркий акцент --- */
.promo-strip {
  background: linear-gradient(135deg, rgba(35,104,161,0.08) 0%, rgba(6,182,212,0.15) 100%);
  border: 1.5px solid rgba(35,104,161,0.28);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(35,104,161,0.12);
  color: #2368a1;
  font-weight: 800;
  position: relative;
  overflow: hidden;
}
.promo-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: promoShine 3s ease-in-out infinite;
}
@keyframes promoShine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* --- POPUP: Стеклянный модал --- */
.popup-backdrop {
  background: rgba(16,33,51,0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.popup {
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(16,33,51,0.25);
  border: 1px solid rgba(255,255,255,0.2);
}

/* --- SERVICE AREA MAP: Стильный фон --- */
.service-area__map-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(16,33,51,0.08);
  border: 1px solid rgba(35,104,161,0.1);
}

/* --- INTERVENTION SECTION: Динамика --- */
.interv__media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(16,33,51,0.1);
}
.interv__stat {
  background: linear-gradient(135deg, #e8f3fc 0%, #d4eaf8 100%);
  border-radius: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(35,104,161,0.1);
}
.interv__stat-num {
  background: linear-gradient(135deg, #1a5083, #2368a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- СИМПТОМЫ: Интерактивные карточки --- */
.symptom {
  border-radius: 18px;
  border: 2px solid rgba(35,104,161,0.1);
  background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
  box-shadow: 0 2px 12px rgba(16,33,51,0.04);
  transition: all .2s cubic-bezier(.4,0,.2,1);
}
.symptom:hover {
  border-color: rgba(35,104,161,0.35);
  background: linear-gradient(180deg, #f8fbff 0%, #eef6fd 100%);
  box-shadow: 0 8px 28px rgba(35,104,161,0.12);
  transform: translateY(-3px) scale(1.01);
}

/* --- COMPOSITION: Красивые карточки --- */
.comp {
  border-radius: 18px;
  border: none;
  box-shadow: 0 4px 20px rgba(16,33,51,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.comp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(35,104,161,0.1);
}

/* --- EFFECT items --- */
.effect__item {
  border-radius: 16px;
  background: linear-gradient(135deg, #e8f3fc 0%, #dae9f7 100%);
  border: 1px solid rgba(35,104,161,0.08);
  box-shadow: 0 2px 12px rgba(35,104,161,0.06);
  transition: transform .15s ease;
}
.effect__item:hover {
  transform: translateY(-2px);
}

/* --- REASONS: Стиль --- */
.reason {
  border-bottom: 1px solid rgba(35,104,161,0.08);
  padding: 20px 0;
  transition: background .15s ease;
}
.reason:hover {
  background: rgba(35,104,161,0.02);
  border-radius: 12px;
  padding-left: 12px;
  padding-right: 12px;
}
.reason__icon {
  background: linear-gradient(135deg, #e8f3fc, #d4eaf8);
  border: none;
  box-shadow: 0 4px 14px rgba(35,104,161,0.1);
}

/* --- HEADER: Тонкое размытие --- */
.header {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(35,104,161,0.06);
  box-shadow: 0 2px 20px rgba(16,33,51,0.04);
}

/* --- FOOTER: Современный --- */
.footer {
  background: linear-gradient(180deg, #eef6fc 0%, #e4f0fa 100%);
  border-top: none;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35,104,161,0.2), transparent);
}

/* ============ МОБИЛЬНЫЕ УЛУЧШЕНИЯ (до 767px) ============ */
@media (max-width: 767px) {
  .hero {
    padding: 24px 0 36px;
  }
  .hero__title {
    font-size: 26px;
    line-height: 1.15;
  }
  .hero__sub {
    font-size: 15px;
    margin-top: 10px;
  }

  /* Bigger touch targets */
  .btn--primary {
    height: 60px;
    font-size: 16px;
    border-radius: 16px;
  }
  .btn--cta {
    height: 62px;
    font-size: 17px;
    font-weight: 800;
  }
  .btn--secondary {
    height: 52px;
    border-radius: 14px;
  }

  /* Cards full-bleed effect */
  .price-card {
    border-radius: 22px;
    padding: 24px 20px;
  }

  /* Section spacing */
  .section {
    padding: 40px 0;
  }
  .section__title {
    font-size: 24px;
    line-height: 1.2;
  }
  .section__title::after {
    width: 36px;
    height: 3px;
    bottom: -6px;
  }

  /* Reviews — horizontal scroll on mobile */
  .reviews {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 8px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .review {
    flex: 0 0 85vw;
    max-width: 320px;
    scroll-snap-align: start;
  }

  /* Doctors — horizontal scroll */
  .doctors {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 8px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .doctor {
    flex: 0 0 78vw;
    max-width: 300px;
    scroll-snap-align: start;
  }

  /* Steps — stack nicely */
  .steps {
    gap: 24px;
  }
  .step {
    padding: 24px 20px 20px;
  }

  /* FAQ — better spacing */
  .faq {
    gap: 12px;
  }

  /* Sticky CTA — larger */
  .sticky-cta {
    height: 68px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 20px;
    gap: 12px;
    padding: 0 18px;
  }
  .sticky-cta__title {
    font-size: 15px;
    font-weight: 700;
  }
  .sticky-cta__sub {
    font-size: 11px;
  }

  /* Relatives — better mobile layout */
  .relatives {
    gap: 14px;
  }
  .relatives__col {
    padding: 24px 20px;
    border-radius: 22px;
  }
  .relatives__title {
    font-size: 20px;
  }

  /* Floating widgets — smaller on mobile */
  .floating-widgets {
    right: 10px;
    bottom: 8px;
    gap: 6px;
  }
  .floating-widgets__item {
    width: 50px;
    height: 50px;
  }

  /* Nav mobile — premium */
  .nav {
    border-radius: 24px 0 0 24px;
    box-shadow: -16px 0 48px rgba(16,33,51,0.2);
  }
  .nav a {
    padding: 18px 28px;
    font-size: 15px;
  }

  /* Quick callback — full width */
  .quick-callback__card {
    border-radius: 22px;
    padding: 20px;
  }
  .quick-callback__title {
    font-size: 22px;
  }

  /* Trust facts — single column with style */
  .trust-fact {
    padding: 24px 20px 20px;
    border-radius: 22px;
  }
}

/* ============ TABLET IMPROVEMENTS (768-1099px) ============ */
@media (min-width: 768px) and (max-width: 1099px) {
  .hero__title {
    font-size: 38px;
  }
  .final-cta__title {
    font-size: 32px;
  }
  .section__title {
    font-size: 32px;
  }
}

/* ============ DESKTOP POLISH (1100+) ============ */
@media (min-width: 1100px) {
  .hero {
    padding: 72px 0 88px;
  }
  .hero__title {
    font-size: 48px;
  }
  .hero__media img {
    border-radius: 28px;
    box-shadow: 0 32px 72px rgba(16,33,51,0.12);
  }
  .section {
    padding: 80px 0;
  }
  .final-cta {
    padding: 88px 0;
  }
  .final-cta__title {
    font-size: 40px;
  }
}

/* ============ SCROLLBAR СТИЛИЗАЦИЯ ============ */
::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(35,104,161,0.2);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(35,104,161,0.35);
}

/* Horizontal scroll indicators */
.reviews::-webkit-scrollbar,
.doctors::-webkit-scrollbar {
  height: 4px;
}
.reviews::-webkit-scrollbar-thumb,
.doctors::-webkit-scrollbar-thumb {
  background: rgba(35,104,161,0.25);
  border-radius: 10px;
}

/* ============ SELECTION ============ */
::selection {
  background: rgba(35,104,161,0.15);
  color: #0d1b2a;
}

/* ============ FOCUS VISIBLE ============ */
:focus-visible {
  outline: 3px solid rgba(35,104,161,0.4);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ============ SMOOTH TRANSITIONS FOR ALL INTERACTIVE ============ */
a, button, .card, .price-card, .review, .doctor, .adv, .step, .faq__item, .trust-fact, .symptom, .comp {
  transition-property: transform, box-shadow, border-color, background, color, opacity;
  transition-duration: .2s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

/* ================================================================
   ============ PAGE-SPECIFIC DESIGN UPGRADES ============
   ================================================================ */

/* ===== О КЛИНИКЕ (o-klinike.html) ===== */

.about-card {
  border: none;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(16,33,51,0.06), 0 1px 4px rgba(16,33,51,0.04);
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  position: relative;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2368a1, #4a9dd9);
  opacity: 0;
  transition: opacity .25s ease;
}
.about-card:hover::before { opacity: 1; }
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(35,104,161,0.14), 0 8px 24px rgba(16,33,51,0.06);
}
.about-card__icon {
  background: linear-gradient(135deg, #e1effa 0%, #d0e6f7 100%);
  box-shadow: 0 4px 14px rgba(35,104,161,0.12);
}

.about-timeline__item {
  border: none;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 4px 20px rgba(16,33,51,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.about-timeline__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(35,104,161,0.12);
}
.about-timeline__year {
  background: linear-gradient(135deg, #1a5083, #2368a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-gallery__item {
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(16,33,51,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-gallery__item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 56px rgba(16,33,51,0.16);
}

.about-photo-slot {
  border-radius: 28px;
  box-shadow: 0 16px 48px rgba(16,33,51,0.1);
  transition: transform .3s ease;
}
.about-photo-slot:hover {
  transform: scale(1.01);
}

.about-review {
  border: none;
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(16,33,51,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.about-review::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2368a1, #4a9dd9, #2368a1);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}
.about-review:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(35,104,161,0.12);
}

.about-stat {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, box-shadow .2s ease;
}
.about-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.1);
}

.about-license-card {
  border-radius: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-license-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(35,104,161,0.15);
}

.about-filter button {
  transition: all .2s ease;
}
.about-filter button:hover:not(.is-active) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(35,104,161,0.1);
  border-color: rgba(35,104,161,0.35);
}

.about-section {
  position: relative;
}
.about-section--soft {
  background: linear-gradient(180deg, #eef6fd 0%, #e1effa 50%, #eef6fd 100%);
}

.about-form {
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(16,33,51,0.12);
  border: 1px solid rgba(255,255,255,0.3);
}

.about-legal {
  border: none;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(16,33,51,0.05);
}

.about-head {
  max-width: 760px;
  margin-bottom: 30px;
}
.about-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 700;
}
.about-head p {
  margin-top: 12px;
  color: #405366;
  font-size: 16px;
  line-height: 1.65;
}

.about-license-card {
  position: relative;
  overflow: hidden;
  border: none;
  background:
    radial-gradient(circle at 24% 18%, rgba(255,255,255,.82), transparent 26%),
    linear-gradient(135deg, #f4f9fd, #d9eaf7);
  box-shadow: 0 8px 32px rgba(16,33,51,0.08);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease;
  min-height: 220px;
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  cursor: pointer;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}
.about-license-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 64px rgba(35,104,161,0.18);
}
.about-license-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(35,104,161,0.16) 0%, rgba(35,104,161,0.08) 100%);
  color: #2368a1;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.4,0,.2,1), background .25s ease;
}
.about-license-card:hover .about-license-card__icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(35,104,161,0.28) 0%, rgba(35,104,161,0.14) 100%);
}
.about-license-card .lic-num {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 9px;
  background: rgba(35,104,161,0.11);
  color: #1a5083;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: 'Courier New', monospace;
  word-break: break-all;
  position: relative;
  z-index: 1;
}
.about-license-card .lic-date {
  display: block;
  margin-top: 6px;
  color: #617286;
  font-size: 12px;
  position: relative;
  z-index: 1;
}
.about-license-card strong {
  position: relative;
  z-index: 1;
  color: #2368a1;
  font-size: 18px;
}
.about-license-card span {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: #405366;
  font-size: 13px;
  line-height: 1.45;
}

.about-legal {
  margin-top: 22px;
  border: none;
  border-radius: 20px;
  background: #fff;
  padding: 18px;
  color: #405366;
  font-size: 14px;
  line-height: 1.7;
  box-shadow: 0 4px 20px rgba(16,33,51,0.05);
}

.about-license-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .about-license-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-license-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== НАРКОЛОГ (narkolog.html) ===== */

.narc-hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 0%, rgba(35,104,161,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(6,182,212,0.05) 0%, transparent 40%),
    linear-gradient(165deg, #ffffff 0%, #f0f8ff 40%, #E0F7FA 100%);
}

.narc-triggers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}
.narc-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 16px;
  border: none;
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #102133;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 4px 20px rgba(16,33,51,0.06);
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s ease;
  position: relative;
  z-index: 1;
}
.narc-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(35,104,161,0.14);
}
.narc-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
  box-shadow: 0 4px 12px rgba(6,182,212,0.15);
  color: var(--accent);
}
.narc-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.narc-hero__media {
  border-radius: 28px;
  box-shadow: 0 24px 72px rgba(16,33,51,0.18);
}

.narc-text-card {
  border: none;
  border-radius: 26px;
  box-shadow: 0 4px 24px rgba(16,33,51,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.narc-text-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(35,104,161,0.1);
}

.narc-kit {
  border-radius: 26px;
  background: linear-gradient(145deg, #102f55 0%, #1a4a7a 100%);
  box-shadow: 0 20px 56px rgba(16,33,51,0.22);
}
.narc-kit__item {
  border-radius: 18px;
  transition: background .2s ease;
}
.narc-kit__item:hover {
  background: rgba(255,255,255,0.14);
}

.narc-case {
  border: none;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(16,33,51,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.narc-case::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2368a1, #4a9dd9);
  opacity: 0;
  transition: opacity .25s ease;
}
.narc-case:hover::before { opacity: 1; }
.narc-case:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(35,104,161,0.14);
}
.narc-case__icon {
  background: linear-gradient(135deg, #e1effa, #d0e6f7);
  box-shadow: 0 4px 14px rgba(35,104,161,0.12);
}

.narc-callout {
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(74,157,217,0.2) 0%, transparent 50%),
    linear-gradient(145deg, #102f55 0%, #1a4a7a 100%);
  box-shadow: 0 20px 56px rgba(16,33,51,0.2);
}

.narc-acc-item {
  border: none;
  box-shadow: 0 4px 20px rgba(16,33,51,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.narc-acc-item.is-open {
  box-shadow: 0 12px 40px rgba(35,104,161,0.12);
}

.narc-rev-card {
  border: none;
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(16,33,51,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.narc-rev-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2368a1, #4a9dd9, #2368a1);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

.narc-stats {
  border-radius: 28px;
  background: linear-gradient(145deg, #0d2848 0%, #1a4a7a 100%);
  box-shadow: 0 24px 64px rgba(16,33,51,0.22);
}

.narc-blog-card {
  border: none;
  box-shadow: 0 4px 24px rgba(16,33,51,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.narc-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(35,104,161,0.14);
}

.narc-strip-cta {
  border-radius: 24px;
  background: linear-gradient(135deg, #2368a1, #1a5083);
  box-shadow: 0 12px 36px rgba(35,104,161,0.25);
}

.narc-geo__chip {
  transition: all .2s ease;
}
.narc-geo__chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(35,104,161,0.1);
}

.narc-consult-note {
  border-radius: 24px;
  background: linear-gradient(135deg, #e8f3fc, #d8eaf6);
  box-shadow: 0 8px 28px rgba(35,104,161,0.08);
}

.narc-section {
  position: relative;
}
.narc-section--soft {
  background: linear-gradient(180deg, #eef6fd 0%, #e4f0fa 50%, #f4f9fd 100%);
}
.narc-section--beige {
  background: linear-gradient(180deg, #eaf2fc 0%, #dfe9f5 50%, #eaf2fc 100%);
}

/* ----- Trust Section Premium Design ----- */
#trust .content-author {
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(35,104,161,0.1);
  border-radius: 16px;
  padding: 14px 18px;
  display: inline-flex;
  box-shadow: 0 4px 20px rgba(16,33,51,0.06);
  margin-bottom: 32px;
  transition: transform .3s ease, box-shadow .3s ease;
}
#trust .content-author:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(35,104,161,0.12);
}
#trust .content-author__avatar {
  width: 42px;
  height: 42px;
  font-size: 18px;
  background: linear-gradient(135deg, #2368a1, #4a9dd9);
  color: #fff;
  box-shadow: 0 4px 14px rgba(35,104,161,0.3);
}

.narc-trust__head {
  margin-bottom: 36px;
  position: relative;
}
.narc-trust__head .section__title {
  font-size: clamp(26px, 4.5vw, 46px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 800;
  background: linear-gradient(135deg, #0d2848 0%, #2368a1 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.narc-trust__head .section__title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2368a1, #06b6d4);
  margin-top: 16px;
}

/* Stats glass cards */
.narc-stats {
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}
.narc-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(74,157,217,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(6,182,212,0.1) 0%, transparent 35%);
  pointer-events: none;
}
.narc-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.narc-stats__item {
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}
.narc-stats__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4a9dd9, #06b6d4, #4a9dd9);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
  opacity: 0;
  transition: opacity .3s ease;
}
.narc-stats__item:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 20px 50px rgba(6,182,212,0.2);
}
.narc-stats__item:hover::before { opacity: 1; }
.narc-stats__item strong {
  display: block;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
}
.narc-stats__item strong span {
  display: inline;
  margin-top: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}
.narc-stats__item > span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #fff;
}
.narc-stats__note {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #fff;
}
.narc-stats__note sup { color: #fff; }

/* Trust blocks */
.narc-trust-block {
  margin-top: 52px;
}
.narc-trust-block > h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #0d2848;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.narc-trust-intro {
  color: #617286;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 640px;
}

/* Enhanced doctors in trust block */
#trust .landing-doctors {
  gap: 20px;
}
#trust .doctor {
  background: #fff;
  border-radius: 24px;
  padding: 24px 20px 28px;
  box-shadow: 0 8px 32px rgba(16,33,51,0.08);
  border: 1px solid rgba(35,104,161,0.06);
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s ease;
  position: relative;
  overflow: hidden;
}
#trust .doctor::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2368a1, #4a9dd9);
  opacity: 0;
  transition: opacity .3s ease;
}
#trust .doctor:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 64px rgba(35,104,161,0.18);
}
#trust .doctor:hover::before { opacity: 1; }
#trust .doctor__photo {
  border: 3px solid rgba(35,104,161,0.12);
  border-radius: 20px;
  transition: border-color .3s ease, transform .3s ease;
}
#trust .doctor:hover .doctor__photo {
  border-color: rgba(35,104,161,0.3);
  transform: scale(1.03);
}
#trust .doctor__badge {
  background: linear-gradient(135deg, #e8f3fc, #d0e6f7);
  color: #1a5083;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Reviews block */
#trust .narc-trust-block:last-child {
  background: rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  padding: 36px 28px;
  border: 1px solid rgba(35,104,161,0.08);
  box-shadow: 0 8px 32px rgba(16,33,51,0.06);
}

/* Responsive */
@media (min-width: 640px) {
  .narc-stats__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .narc-stats { padding: 44px 36px; }
  .narc-stats__grid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .narc-stats__item { padding: 32px 20px; }
}

.narc-final-cta {
  border-radius: 0;
  overflow: hidden;
}
.narc-final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* ===== БЛОГ (blog.html) ===== */

.blog-hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 82% 20%, rgba(35,104,161,0.10) 0%, transparent 32%),
    radial-gradient(ellipse at 10% 80%, rgba(6,182,212,0.05) 0%, transparent 40%),
    linear-gradient(165deg, #ffffff 0%, #f0f8ff 40%, #E0F7FA 100%);
}

.blog-trust__item {
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(35,104,161,0.1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-trust__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(35,104,161,0.15);
}

.blog-card {
  border: none;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(16,33,51,0.06), 0 1px 4px rgba(16,33,51,0.04);
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s cubic-bezier(.4,0,.2,1), border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.blog-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2368a1, #4a9dd9);
  opacity: 0;
  transition: opacity .25s ease;
}
.blog-card:hover::after { opacity: 1; }
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(35,104,161,0.15), 0 8px 24px rgba(16,33,51,0.08);
}
.blog-card--featured {
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(16,33,51,0.08);
}

.blog-filter {
  border-radius: 999px;
  transition: all .2s cubic-bezier(.4,0,.2,1);
}
.blog-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(35,104,161,0.15);
}
.blog-filter.is-active {
  background: linear-gradient(135deg, #2368a1, #1a5083);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(35,104,161,0.3);
}

.blog-hero__eyebrow {
  box-shadow: 0 8px 28px rgba(35,104,161,0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.blog-filters {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(35,104,161,0.06);
}

/* ===== КОНТАКТЫ (kontakty.html) ===== */

.contacts-hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 15%, rgba(35,104,161,0.10) 0%, transparent 40%),
    radial-gradient(ellipse at 15% 85%, rgba(6,182,212,0.05) 0%, transparent 40%),
    linear-gradient(165deg, #ffffff 0%, #f0f8ff 40%, #E0F7FA 100%);
}

.contact-card {
  border: none;
  border-radius: 26px;
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(16,33,51,0.06), 0 1px 4px rgba(16,33,51,0.04);
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2368a1, #4a9dd9);
  opacity: 0;
  transition: opacity .25s ease;
}
.contact-card:hover::before { opacity: 1; }
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(35,104,161,0.14), 0 8px 24px rgba(16,33,51,0.06);
}
.contact-card__icon {
  background: linear-gradient(135deg, #e1effa, #d0e6f7);
  box-shadow: 0 4px 12px rgba(35,104,161,0.1);
}

.contacts-hours-strip {
  border-radius: 22px;
  background: linear-gradient(135deg, #0d2848, #1a4a7a);
  box-shadow: 0 12px 36px rgba(16,33,51,0.18);
  position: relative;
  overflow: hidden;
}
.contacts-hours-strip::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  animation: promoShine 3s ease-in-out infinite;
}

.contacts-info-card {
  border: none;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(16,33,51,0.07);
}

.contacts-map {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(16,33,51,0.1);
  border: 1px solid rgba(35,104,161,0.1);
}

.details-panel {
  border: none;
  border-radius: 28px;
  box-shadow: 0 4px 24px rgba(16,33,51,0.06);
}

.conversion-card {
  border: none;
  border-radius: 28px;
  box-shadow: 0 4px 24px rgba(16,33,51,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.conversion-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2368a1, #4a9dd9);
  opacity: 0;
  transition: opacity .25s ease;
}
.conversion-card:hover::before { opacity: 1; }
.conversion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(35,104,161,0.12);
}

.contacts-widget__map-card {
  border: none;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(16,33,51,0.1);
  overflow: hidden;
}
.contacts-widget__panel {
  border: none;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(16,33,51,0.08);
}
.contacts-widget__icon {
  background: linear-gradient(135deg, #e1effa, #d0e6f7);
  box-shadow: 0 4px 14px rgba(35,104,161,0.1);
}

.contacts-section--soft {
  background: linear-gradient(180deg, #eef6fd 0%, #e4f0fa 50%, #f6fbff 100%);
}

.mobile-callback {
  border: none;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(16,33,51,0.06);
}

/* ===== PAGE-SPECIFIC MOBILE (max-width: 767px) ===== */
@media (max-width: 767px) {
  /* О клинике */
  .about-section { padding: 44px 0; }
  .about-card { border-radius: 20px; padding: 20px; }
  .about-gallery__item { border-radius: 20px; min-height: 200px; }
  .about-timeline__item { padding: 18px; }
  .about-form { border-radius: 20px; padding: 18px; }
  .about-review { border-radius: 20px; padding: 20px; }
  .about-stat { border-radius: 20px; padding: 20px; }

  /* Нарколог */
  .narc-section { padding: 44px 0; }
  .narc-case { border-radius: 22px; padding: 20px; }
  .narc-text-card { border-radius: 22px; padding: 22px; }
  .narc-callout { border-radius: 24px; padding: 24px; }
  .narc-kit { border-radius: 22px; padding: 20px; }
  .narc-rev-card { border-radius: 20px; padding: 20px; }
  .narc-strip-cta { border-radius: 20px; padding: 24px 20px; }
  .narc-acc-item { border-radius: 18px; }

  /* Блог */
  .blog-card { border-radius: 22px; flex-direction: column; }
  .blog-card__cover { flex-basis: auto; min-height: 180px; }
  .blog-card__body { padding: 22px 20px; }
  .blog-card--featured { border-radius: 24px; }

  /* Контакты */
  .contact-card { border-radius: 22px; padding: 20px; }
  .contacts-hours-strip { border-radius: 18px; }
  .contacts-map { border-radius: 22px; }
  .details-panel { border-radius: 22px; }
  .conversion-card { border-radius: 22px; padding: 22px; }
  .contacts-widget__map-card { border-radius: 22px; }
  .contacts-widget__panel { border-radius: 22px; padding: 20px; }
}

/* ============ TRUST COUNTER UPGRADE ============ */
.trust-counter {
  background: linear-gradient(135deg, #0c2d4a 0%, #1a5083 50%, #0891B2 100%);
  padding: 40px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.trust-counter::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(6,182,212,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.trust-counter__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 16px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.trust-counter__item {
  padding: 10px;
}
.trust-counter__num {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(6,182,212,0.4);
}
.trust-counter__num-suffix {
  font-size: 28px;
  color: #06B6D4;
}
.trust-counter__label {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
@media (min-width: 640px) {
  .trust-counter__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .trust-counter { padding: 56px 0; }
  .trust-counter__num { font-size: 56px; }
  .trust-counter__label { font-size: 15px; }
}

/* ============ DARK SECTION REASONS ============ */
.section--dark .reason {
  border-bottom-color: rgba(255,255,255,0.1);
}
.section--dark .reason__icon {
  background: rgba(6,182,212,0.15);
  box-shadow: 0 4px 16px rgba(6,182,212,0.2);
}
.section--dark .reason__icon svg {
  stroke: #06B6D4;
}
.section--dark .reason__body h3 {
  color: #fff;
}
.section--dark .reason__body p {
  color: rgba(255,255,255,0.72);
}

/* ============ SOCIAL PROOF POPUP ============ */
.social-proof {
  position: fixed;
  bottom: 90px;
  left: 16px;
  z-index: 88;
  background: #fff;
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.social-proof.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.social-proof__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #06B6D4, #2368a1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.social-proof__icon svg {
  width: 22px; height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}
.social-proof__text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}
.social-proof__text strong {
  display: block;
  font-size: 14px;
  color: #0891B2;
}
@media (min-width: 1100px) {
  .social-proof { bottom: 32px; left: 32px; }
}
@media (max-width: 767px) {
  .social-proof { left: 12px; right: 12px; max-width: none; bottom: 84px; }
}

/* ============ STAGGER REVEAL ============ */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .4s; }
.reveal-stagger.is-visible > * {
  opacity: 0;
  transform: translateY(20px);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============ EFFECT ITEMS ACCENT ============ */
.effect__item {
  background: linear-gradient(135deg, #f0f8ff 0%, #E0F7FA 100%);
  border: 1px solid rgba(6,182,212,0.15);
}
.effect__item > span:first-child {
  color: #06B6D4;
}

/* ============ QUICK CALLBACK UPGRADE ============ */
.quick-callback__card {
  border: 1px solid rgba(6,182,212,0.2);
  box-shadow: 0 20px 60px rgba(6,182,212,0.1);
}
.quick-callback__input:focus {
  border-color: #06B6D4;
  box-shadow: 0 0 0 4px rgba(6,182,212,0.12);
}

/* ============ HEADER LINE ACCENT ============ */
.header__line {
  height: 3px;
  background: #2368a1;
}

/* ============ FINAL CTA UPGRADE ============ */
.final-cta {
  background: linear-gradient(135deg, #0c2d4a 0%, #1a5083 40%, #0891B2 100%);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 80%; height: 200%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ============ STICKY CTA UPGRADE ============ */
.sticky-cta {
  background: linear-gradient(135deg, #2368a1 0%, #0891B2 100%);
  box-shadow: 0 8px 30px rgba(6,182,212,0.4);
}

/* ============ FLOATING WIDGETS ACCENT ============ */
.floating-widgets__item {
  border-color: rgba(6,182,212,0.25);
}
.floating-widgets__item:hover {
  border-color: rgba(6,182,212,0.5);
  box-shadow: 0 14px 32px rgba(6,182,212,0.2);
}

/* ============ COMPOSITION CARDS ============ */
.comp {
  border: 1px solid rgba(6,182,212,0.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.comp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,182,212,0.1);
}
.comp__title {
  color: #0891B2;
}

/* ============ SERVICE AREA MAP UPGRADE ============ */
.service-area__map-card {
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(6,182,212,0.08);
}

/* ============ RELATIVES SECTION UPGRADE ============ */
.relatives__col {
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.relatives__col:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(6,182,212,0.12);
}
.relatives__col--family {
  border-color: rgba(6,182,212,0.35);
  background: linear-gradient(180deg, #fff 0%, #E0F7FA 100%);
}

/* ============ ABOUT HERO UPGRADE ============ */
.about-hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 0%, rgba(35,104,161,0.10) 0%, transparent 50%),
    linear-gradient(165deg, #ffffff 0%, #f0f8ff 40%, #E0F7FA 100%);
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6,182,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
  pointer-events: none;
}

/* ============ HERO OVERDOSE UPGRADE ============ */
.hero--overdose {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.08) 0%, transparent 50%),
    radial-gradient(circle at 18% 18%, rgba(35,104,161,0.10), transparent 32%),
    linear-gradient(165deg, #ffffff 0%, #f0f8ff 40%, #E0F7FA 100%);
}

/* ============ КОДИРОВАНИЕ — МЕТОДЫ, ШАГИ, FAQ (kodirovanie.html) ============ */
.kodiro-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 599px) {
  .kodiro-page {
    font-size: 15px;
  }
}
@media (min-width: 901px) {
  .kodiro-page #methods.section,
  .kodiro-page #calculator.section,
  .kodiro-page #how-it-works.section,
  .kodiro-page #recovery.section,
  .kodiro-page #for-family.section,
  .kodiro-page #myths.section,
  .kodiro-page #faq.section {
    padding: 64px 0;
  }
}

.kodiro-page .kodiro-faq-tight-top {
  padding-top: 0;
}

.kodiro-page .kodiro-section--calc.section--dark {
  background: linear-gradient(135deg, #0f2d4a 0%, #1a4f7a 100%);
}

.kodiro-page .kodiro-calc__sub {
  color: rgba(255, 255, 255, 0.7);
}

/* —— Блок 4: калькулятор потерь —— */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

@media (min-width: 901px) {
  .calc-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 36px;
  }
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.calc-field__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
  line-height: 1.4;
}

.calc-field__range {
  --calcTrack: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.calc-field__range:focus-visible {
  outline: 2px solid #69db7c;
  outline-offset: 4px;
  border-radius: 8px;
}

.calc-field__range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, #2368a1 0, #2368a1 var(--calcTrack), rgba(255, 255, 255, 0.22) var(--calcTrack), rgba(255, 255, 255, 0.22) 100%);
}

.calc-field__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 2px solid #2368a1;
}

.calc-field__range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.calc-field__range::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: #2368a1;
}

.calc-field__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2368a1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.calc-field__range::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: #2368a1;
}

.calc-field__live {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 901px) {
  .calc-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.calc-result-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 19, 32, 0.96) 0%, rgba(13, 29, 48, 0.94) 100%);
  border-radius: 18px;
  padding: 20px 18px 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.calc-result-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, rgba(35, 104, 161, 0.18) 0%, #2368a1 50%, rgba(35, 104, 161, 0.18) 100%);
}

.calc-result-card--health {
  background: linear-gradient(180deg, rgba(12, 45, 74, 0.96) 0%, rgba(16, 33, 51, 0.94) 100%);
  border-color: rgba(35, 104, 161, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.calc-result-card--health::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 255, 255, 0.16) 100%);
}

.calc-result-card__ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(6, 20, 34, 0.18);
}
.calc-result-card__svg {
  display: block;
  flex-shrink: 0;
}

.calc-result-card:nth-child(1) .calc-result-card__svg { color: #2368a1; }
.calc-result-card:nth-child(2) .calc-result-card__svg { color: #2368a1; }
.calc-result-card:nth-child(3) .calc-result-card__svg { color: #2368a1; }
.calc-result-card--health .calc-result-card__svg { color: rgba(255, 255, 255, 0.92); }
.calc-result-card:nth-child(1) .calc-result-card__ico,
.calc-result-card:nth-child(2) .calc-result-card__ico,
.calc-result-card:nth-child(3) .calc-result-card__ico {
  background: rgba(35, 104, 161, 0.12);
  border-color: rgba(35, 104, 161, 0.32);
}
.calc-result-card--health .calc-result-card__ico {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.calc-result-card__value {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34), 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.calc-result-card__value--money {
  color: #ffffff;
}

.calc-result-card__value--days {
  color: #ffffff;
}

.calc-result-card__value--holidays {
  color: #ffffff;
}

.calc-result-card--health .calc-result-card__health-text {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), 0 1px 0 rgba(255, 255, 255, 0.08);
}

.calc-result-card__caption {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.42);
}

.calc-comparison {
  margin: 32px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: clamp(18px, 2.8vw, 22px);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.calc-comparison__price {
  color: #69db7c;
}

.calc-comparison__loss {
  color: #2368a1;
}

.calc-cta {
  text-align: center;
  margin-top: 28px;
}

.calc-cta__btn {
  min-height: 48px;
  width: min(100%, 400px);
}

.calc-cta__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 599px) {
  .calc-result-card {
    padding: 18px 14px 16px;
    border-radius: 16px;
  }
  .calc-result-card__ico {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }
  .calc-result-card__value {
    font-size: 24px;
  }
  .calc-result-card--health .calc-result-card__health-text {
    font-size: 17px;
  }
  .calc-comparison {
    font-size: 18px;
  }
  .calc-cta__btn {
    width: 100%;
    min-height: 48px;
  }
  .kodiro-myths-block .myths-cta__btn,
  .recovery-cta .btn,
  .famrel-cta__btn,
  .famrel__col-btn,
  .famrel-script__btn {
    width: 100%;
    min-height: 48px;
  }
}

/* —— Блок 5: восстановление тела —— */
.recovery-timeline {
  margin-top: 32px;
  position: relative;
}

.recovery-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
}

.recovery-band--divider {
  display: block;
  padding: 6px 0 4px;
}

.recovery-band__dash {
  display: block;
  height: 0;
  border: none;
  border-top: 2px dashed #c8def0;
  margin: 0 3%;
}

.recovery-stage {
  position: relative;
  padding-top: 22px;
}

.recovery-stage__pill {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -40%);
  z-index: 2;
  background: #2368a1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  max-width: calc(100% - 8px);
  text-align: center;
  line-height: 1.2;
}

.recovery-stage__card {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  padding: 28px 16px 18px;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.recovery-stage__card:hover {
  transform: translateY(-4px);
  border-color: #2368a1;
  box-shadow: 0 14px 36px rgba(35, 104, 161, 0.12);
}

.recovery-stage__icon {
  display: grid;
  place-items: center;
  text-align: center;
  margin-bottom: 12px;
  color: #2368a1;
}

.recovery-stage__svg {
  display: block;
}

.recovery-stage__card:hover .recovery-stage__icon {
  color: #1a5083;
}

.recovery-stage__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #102133;
  line-height: 1.25;
  text-align: center;
}

.recovery-stage__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
  text-align: center;
}

.recovery-stage__bonus {
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #2368a1;
  line-height: 1.45;
  text-align: center;
  padding: 8px 10px;
  background: rgba(35, 104, 161, 0.08);
  border-radius: 10px;
}

.recovery-cta {
  text-align: center;
  margin-top: 36px;
}

.recovery-cta__lead {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: #102133;
}

.recovery-cta__btn {
  min-width: min(100%, 320px);
  min-height: 48px;
}

.recovery-cta__note {
  margin: 10px 0 0;
  font-size: 13px;
  color: #475569;
}

@media (max-width: 900px) {
  .recovery-timeline {
    border-left: 3px solid #2368a1;
    padding-left: 18px;
    margin-left: 8px;
  }

  .recovery-band {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .recovery-band--divider {
    display: none;
  }

  .recovery-stage {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding-top: 0;
  }

  .recovery-stage__pill {
    position: static;
    transform: none;
    flex: 0 0 auto;
    max-width: 100px;
    white-space: normal;
    font-size: 10px;
    line-height: 1.25;
    padding: 6px 10px;
    text-align: center;
  }

  .recovery-stage__card {
    flex: 1;
    min-width: 0;
    text-align: left;
    padding: 18px 16px;
  }

  .recovery-stage__icon,
  .recovery-stage__title,
  .recovery-stage__text,
  .recovery-stage__bonus {
    text-align: left;
  }

  .recovery-stage__icon {
    margin-bottom: 8px;
  }

  .recovery-stage__svg {
    width: 40px;
    height: 40px;
  }
}

/* —— Блок 6: родственникам (kodirovanie · ТЗ «Если пьёт близкий») —— */
.famrel {
  --famrel-blue: #2368a1;
  --famrel-blue-light-bg: #f0f6fc;
  --famrel-green-title: #276749;
  --famrel-green-border: #c6e8d4;
  --famrel-green-num: #e8f5ee;
  --famrel-green-text: #1a3a28;
  --famrel-green-sub: #4a6a5a;
  --famrel-red-title: #1a5083;
  --famrel-red-border: #c8def0;
  --famrel-red-num: #e1effa;
  --famrel-red-text: #102133;
  --famrel-red-sub: #4a5e73;
  --famrel-neutral-bg: #f7f9fb;
  --famrel-border: #dce6ef;
  --famrel-text-muted: #5a6a7a;
  --famrel-text: #0f1923;
}

.famrel__inner {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.famrel__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.famrel__eyebrow-line {
  width: 24px;
  height: 2px;
  background: var(--famrel-blue);
  flex-shrink: 0;
}

.famrel__eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--famrel-blue);
  text-transform: uppercase;
}

.famrel__title-block {
  margin-bottom: 12px;
}

.famrel__title {
  margin: 0;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--famrel-text);
}

.famrel__title-accent {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  background: var(--famrel-blue);
  border-radius: 2px;
}

.famrel__sub {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--famrel-text-muted);
  max-width: 560px;
}

.famrel__intro {
  margin: 0 0 28px;
  max-width: 640px;
  padding: 20px 24px;
  background: var(--famrel-blue-light-bg);
  border-left: 4px solid var(--famrel-blue);
  border-radius: 0 12px 12px 0;
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  color: var(--famrel-text);
}

.famrel__compare {
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 40px;
  align-items: stretch;
}

.famrel__col--helps {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.famrel__sep--v {
  grid-column: 2;
  grid-row: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--famrel-border) 20%, var(--famrel-border) 80%, transparent);
  align-self: stretch;
}

.famrel__sep--h {
  display: none;
}

.famrel__col--worse {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
}

.famrel__col-head {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--famrel-green-title);
}

.famrel__col-head--worse {
  color: var(--famrel-red-title);
}

.famrel__col-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--famrel-green-title);
}

.famrel__col-icon svg {
  display: block;
}

.famrel__col-icon--worse {
  color: var(--famrel-red-title);
}

.famrel__tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.famrel-tip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 14px;
  row-gap: 6px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid var(--famrel-green-border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.famrel-tip__num {
  grid-row: 1 / 3;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--famrel-green-num);
}

.famrel-tip__body {
  min-width: 0;
}

.famrel-tip__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--famrel-green-text);
}

.famrel-tip__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--famrel-green-sub);
}

.famrel-tip--worse {
  border-color: var(--famrel-red-border);
}

.famrel-tip--worse .famrel-tip__num {
  color: var(--famrel-red-num);
}

.famrel-tip--worse .famrel-tip__title {
  color: var(--famrel-red-text);
}

.famrel-tip--worse .famrel-tip__text {
  color: var(--famrel-red-sub);
}

@media (hover: hover) {
  .famrel-tip--helps:hover {
    transform: translateY(-2px);
    border-color: var(--famrel-green-title);
  }

  .famrel-tip--worse:hover {
    transform: translateY(-2px);
    border-color: var(--famrel-red-title);
  }

  .famrel-cta__btn:hover {
    opacity: 0.92;
  }
}

.famrel__col-cta {
  margin-top: 16px;
}

.famrel__col-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 48px;
}

.famrel-script {
  margin: 0 0 28px;
  padding: 28px 32px;
  background: var(--famrel-neutral-bg);
  border: 1.5px solid var(--famrel-blue);
  border-radius: 16px;
}

.famrel-script__head {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--famrel-blue);
}

.famrel-script__head-ico {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--famrel-blue);
}

.famrel-script__head-ico svg {
  display: block;
}

.famrel-script__quote {
  margin: 0 0 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--famrel-border);
  font-size: 15px;
  line-height: 1.7;
  color: var(--famrel-text);
}

.famrel-script__quote-p {
  margin: 0;
  font-style: italic;
}

.famrel-script__qm {
  color: var(--famrel-blue);
  font-size: 24px;
  font-style: normal;
  line-height: 1;
  vertical-align: -0.12em;
}

.famrel-script__qm--open {
  margin-right: 2px;
}

.famrel-script__qm--close {
  margin-left: 2px;
}

.famrel-script__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding: 10px 20px;
  min-height: 48px;
  box-sizing: border-box;
}

.famrel-script__seo {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

.famrel-cta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 36px 40px;
  background: var(--famrel-blue);
  border-radius: 16px;
  color: #fff;
}

.famrel-cta__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.famrel-cta__sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
  opacity: 0.75;
}

.famrel-cta__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 14px 28px;
  border-radius: 100px;
  background: #fff;
  color: var(--famrel-blue);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  min-height: 48px;
}

@media (max-width: 699px) {
  .famrel__intro {
    max-width: none;
  }

  .famrel__compare {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .famrel__col--helps {
    grid-column: 1;
    grid-row: 1;
  }

  .famrel__sep--v {
    display: none;
  }

  .famrel__sep--h {
    display: block;
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
    margin: 8px 0;
    border: 0;
    border-top: 1px dashed var(--famrel-border);
    height: 0;
    padding: 0;
    background: none !important;
  }

  .famrel__col--worse {
    grid-column: 1;
    grid-row: 3;
  }

  .famrel__tips {
    gap: 8px;
  }

  .famrel-script {
    padding: 20px 20px;
  }

  .famrel-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
  }

  .famrel-cta__btn {
    width: 100%;
  }
}

/* —— Блок 7: мифы (kodiro-myths-block) —— */
.kodiro-myths-block {
  --kmb-blue: #2368a1;
  --kmb-blue-dark: #1a5590;
  --kmb-blue-light: #e8f1f9;
  --kmb-text: #0f1923;
  --kmb-text-muted: #5a6a7a;
  --kmb-border: #dce6ef;
  --kmb-truth-bg: #f7f9fb;
  --kmb-red-accent: #2368a1;
  --kmb-green-accent: #276749;
}

.kodiro-myths-block__inner {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.kodiro-myths__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kmb-blue);
  margin-bottom: 14px;
}

.kodiro-myths__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--kmb-blue);
  border-radius: 2px;
}

.kodiro-myths__title {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--kmb-text);
  margin: 0 0 10px;
}

.kodiro-myths__sub {
  font-size: 16px;
  color: var(--kmb-text-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 44px;
}

.kodiro-myths-block .myths-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0;
}

@media (max-width: 640px) {
  .kodiro-myths-block .myths-grid {
    grid-template-columns: 1fr;
  }

  .kodiro-myths__title br {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kodiro-myths-block .myth-card:hover {
    transform: none;
  }
}

.kodiro-myths-block .myth-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--kmb-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.kodiro-myths-block .myth-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(35, 104, 161, 0.12);
  border-color: var(--kmb-blue);
}

.kodiro-myths-block .myth-card__num {
  padding: 18px 22px 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.kodiro-myths-block .myth-card__index {
  font-size: 13px;
  font-weight: 700;
  color: var(--kmb-blue);
  background: var(--kmb-blue-light);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.kodiro-myths-block .myth-card__myth {
  padding: 12px 22px 18px;
  border-bottom: 1px dashed var(--kmb-border);
}

.kodiro-myths-block .myth-card__myth-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kmb-red-accent);
  margin-bottom: 10px;
}

.kodiro-myths-block .myth-card__myth-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.kodiro-myths-block .myth-card__myth-text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--kmb-text);
  font-style: italic;
  padding-left: 12px;
  border-left: 3px solid #c8def0;
}

.kodiro-myths-block .myth-card__truth {
  padding: 18px 22px 22px;
  flex: 1;
  background: var(--kmb-truth-bg);
}

.kodiro-myths-block .myth-card__truth-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kmb-green-accent);
  margin-bottom: 10px;
}

.kodiro-myths-block .myth-card__truth-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.kodiro-myths-block .myth-card__truth-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #2d3f4f;
}

.kodiro-myths-block .myths-cta {
  margin-top: 40px;
  background: var(--kmb-blue);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

@media (max-width: 640px) {
  .kodiro-myths-block .myths-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 22px;
  }

  .kodiro-myths-block .myths-cta__btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.kodiro-myths-block .myths-cta__text {
  color: #fff;
}

.kodiro-myths-block .myths-cta__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}

.kodiro-myths-block .myths-cta__sub {
  margin: 0;
  font-size: 14px;
  opacity: 0.75;
  line-height: 1.45;
}

.kodiro-myths-block .myths-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 100px;
  background: #fff;
  color: var(--kmb-blue);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.kodiro-myths-block .myths-cta__btn:hover {
  opacity: 0.92;
}

@media (max-width: 599px) {
  .kodiro-myths-block .kodiro-myths__sub {
    font-size: 15px;
    margin-bottom: 36px;
  }
}

@media (max-width: 599px) {
  .kodiro-page .section:not(.hero):not(.kodiro-section--calc):not(.kodiro-faq-tight-top) {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .kodiro-page .kodiro-section--calc {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .kodiro-page .kodiro-faq-tight-top {
    padding-top: 0;
    padding-bottom: 48px;
  }
}

@media (max-width: 599px) {
  .kodiro-page .section__title {
    font-size: 24px;
  }
}

/* —— Блок 1: методы —— */
.methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}
.method-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  padding: 22px 20px 20px;
  box-shadow: 0 2px 16px rgba(35, 104, 161, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.method-card:hover {
  box-shadow: 0 8px 28px rgba(35, 104, 161, 0.14);
  transform: translateY(-3px);
  border-color: #2368a1;
}
.method-card--featured {
  border: 2px solid #2368a1;
}
.method-card--featured:hover {
  border-color: #2368a1;
}
.method-card--featured .method-card__title {
  padding-right: 96px;
}
.method-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #2368a1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 100px;
}
.method-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, #2368a1 0%, #1a5590 50%, #0891b2 115%);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 12px 28px rgba(35, 104, 161, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.method-card__svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.method-card__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #102133;
}
.method-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #102133;
}
.method-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.method-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background: #e8eef5;
  padding: 7px 14px;
  border-radius: 100px;
}
.method-tag--accent {
  background: rgba(35, 104, 161, 0.12);
  color: #1a5083;
}

@media (min-width: 600px) and (max-width: 900px) {
  .methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 901px) {
  .methods-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    margin-top: 32px;
  }
  .method-card {
    grid-column: span 2;
  }
  .method-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .method-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.methods-cta {
  text-align: center;
  margin-top: 36px;
}
.methods-cta .btn {
  min-width: min(100%, 340px);
}
.kodiro-methods__cta-btn {
  position: relative;
  z-index: 2;
}
.methods-cta__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}

/* —— Блок 2: шаги (процесс кодирования) —— */
.how-it-works-section.section.section--beige {
  background:
    radial-gradient(ellipse 70% 45% at 12% 8%, rgba(35, 104, 161, 0.11) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 92% 75%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    linear-gradient(178deg, #f7fbff 0%, #e8f4fc 42%, #dff4f7 100%);
}

@keyframes how-marker-pulse {
  0% {
    opacity: 0.5;
    transform: scale(0.92);
  }
  70% {
    opacity: 0;
    transform: scale(1.45);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

.how-process {
  position: relative;
  max-width: 920px;
  margin: 36px auto 0;
}

.how-process::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 36px;
  bottom: 36px;
  width: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    #2368a1 0%,
    #0ea5bf 52%,
    rgba(35, 104, 161, 0.12) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65),
    0 0 28px rgba(35, 104, 161, 0.35);
  z-index: 0;
}

.how-process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.how-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.how-step__marker {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(148deg, #2368a1 0%, #1a5590 45%, #06b6d4 145%);
  box-shadow:
    0 14px 36px rgba(35, 104, 161, 0.36),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  flex-shrink: 0;
}

.how-step__marker svg {
  width: 25px;
  height: 25px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}

.how-step__pulse {
  position: absolute;
  inset: -10px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.55), transparent 65%);
  animation: how-marker-pulse 2.8s ease-out infinite;
  pointer-events: none;
  z-index: 1;
}

.how-step__body {
  position: relative;
  border-radius: 22px;
  padding: 22px 22px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 252, 255, 0.99) 100%);
  border: 1px solid rgba(229, 234, 242, 0.95);
  box-shadow:
    0 4px 36px rgba(35, 104, 161, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.how-step__body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #2368a1 0%, #06b6d4 100%);
  opacity: 0.85;
}

.how-step:hover .how-step__body {
  transform: translateY(-4px);
  box-shadow:
    0 12px 48px rgba(35, 104, 161, 0.12),
    0 1px 0 rgba(255, 255, 255, 1) inset;
}

.how-step__ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.how-step__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  color: #1a5083;
  background: rgba(35, 104, 161, 0.1);
}

.how-step__pill-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.9;
}

.how-step__pill--warn {
  color: #854d0e;
  background: linear-gradient(
    135deg,
    rgba(250, 204, 21, 0.2) 0%,
    rgba(254, 240, 138, 0.35) 100%
  );
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.how-step__idx {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(35, 104, 161, 0.5);
}

.how-step__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
  color: #102133;
  letter-spacing: -0.02em;
}

.how-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #344256;
}

.how-step__link-wrap {
  margin: 14px 0 0;
}

.how-step__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #2368a1;
  text-decoration: none;
}
.how-step__link:hover {
  color: #1a5590;
}
.how-step__link:hover .how-step__link-arr {
  transform: translateX(3px);
}
.how-step__link-arr {
  display: inline-block;
  transition: transform 0.2s ease;
}

@media (min-width: 901px) {
  .how-process::before {
    left: 33px;
  }
  .how-step {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 28px;
    padding-right: clamp(0px, 4vw - 28px, 40px);
  }
  .how-step__marker {
    width: 66px;
    height: 66px;
    border-radius: 22px;
  }
  .how-step__marker svg {
    width: 28px;
    height: 28px;
  }
  .how-step__pulse {
    inset: -12px;
  }
  .how-step__title {
    font-size: 20px;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .how-step__ribbon {
    flex-wrap: nowrap;
  }
}

@media (max-width: 599px) {
  .how-step__ribbon {
    flex-direction: column;
    align-items: flex-start;
  }
}

.how-step:nth-child(1) .how-step__pulse {
  animation-delay: 0s;
}
.how-step:nth-child(2) .how-step__pulse {
  animation-delay: 0.5s;
}
.how-step:nth-child(3) .how-step__pulse {
  animation-delay: 1s;
}
.how-step:nth-child(4) .how-step__pulse {
  animation-delay: 1.5s;
}
.how-step:nth-child(5) .how-step__pulse {
  animation-delay: 2s;
}

.steps-guarantee {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border-radius: 20px;
  padding: 20px 24px;
  color: #fff;
  background: linear-gradient(125deg, #1a5590 0%, #2368a1 45%, #0e7490 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 48px rgba(35, 104, 161, 0.32);
}

.steps-guarantee__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
}

.steps-guarantee__icon svg {
  display: block;
}

.steps-guarantee__text {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.steps-cta {
  text-align: center;
  margin-top: 32px;
}

.kodiro-steps__cta-btn {
  position: relative;
  z-index: 2;
}

.steps-cta .btn {
  min-width: min(100%, 320px);
}

.steps-cta__note {
  margin: 10px 0 0;
  font-size: 13px;
  color: #475569;
}

/* —— Блок 3: FAQ —— */
.faq-list {
  margin-top: 28px;
  max-width: 900px;
}

.faq-item {
  border-bottom: 1px solid #e5eaf2;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 4px 14px 0;
  font-size: clamp(16px, 2.5vw, 17px);
  font-weight: 600;
  color: #102133;
  cursor: pointer;
  list-style: none;
  list-style-type: none;
  transition: color 0.2s ease;
}
.faq-question:focus-visible {
  outline: 2px solid #2368a1;
  outline-offset: 2px;
  border-radius: 8px;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: '+';
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8eef5;
  font-size: 22px;
  font-weight: 400;
  color: #2368a1;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
details[open] .faq-question {
  color: #2368a1;
}
details[open] .faq-question::after {
  content: '×';
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.42s ease;
}
details[open] .faq-answer {
  max-height: 960px;
}
.faq-answer p {
  margin: 0;
  padding: 0 40px 18px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
}

.faq-cta-banner {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
  background: linear-gradient(135deg, #1a5590 0%, #2368a1 100%);
  color: #fff;
  border-radius: 20px;
  padding: 40px 48px;
}
.faq-cta-banner__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.faq-cta-banner__icon svg {
  display: block;
}
.faq-cta-banner__copy {
  flex: 1;
  min-width: 220px;
}
.faq-cta-banner__title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.25;
}
.faq-cta-banner__sub {
  margin: 0 0 18px;
  font-size: 15px;
  opacity: 0.92;
  line-height: 1.45;
}
.faq-cta-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 14px;
  background: #fff;
  color: #2368a1;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}
.faq-cta-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  color: #1a5083;
}
.faq-cta-banner__meta {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 14px;
  opacity: 0.95;
}
.faq-cta-banner__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.faq-cta-banner__chip-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.94;
}

@media (prefers-reduced-motion: reduce) {
  .how-step__pulse {
    animation: none;
    opacity: 0;
    display: none;
  }
  .how-step:hover .how-step__body {
    transform: none;
  }
}

@media (max-width: 599px) {
  .faq-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
  .faq-cta-banner__copy {
    width: 100%;
  }
  .faq-cta-banner__btn {
    width: 100%;
  }
  .faq-cta-banner__meta {
    justify-content: center;
  }
}

/* ============ NARC-FACTS ACCENT ============ */
.narc-facts {
  background: linear-gradient(90deg, #0c2d4a 0%, #102133 50%, #0c2d4a 100%);
}

/* ============ WITHDRAWAL HERO FACTS ============ */
.withdrawal-hero__facts,
.hangover-hero__facts {
  background: linear-gradient(90deg, #0c2d4a 0%, #102133 50%, #0c2d4a 100%);
}

/* ============ QUICK ANSWER (AEO/GEO) ============ */
.quick-answer {
  background: #edf4fc;
  border-left: 4px solid #2368a1;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 14px 0 20px;
  max-width: 620px;
}
.quick-answer--urgent {
  background: #fff5f5;
  border-left-color: #c0392b;
}
.quick-answer__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #2368a1;
  margin-bottom: 6px;
}
.quick-answer--urgent .quick-answer__label {
  color: #c0392b;
}
.quick-answer__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: #1a2340;
  margin: 0;
}
@media (max-width: 599px) {
  .quick-answer {
    max-width: 100%;
    padding: 12px 14px;
  }
}

/* ============ WHATSAPP FLOATING WIDGET ============ */
.floating-widgets__item--wa {
  color: #25d366;
}
.floating-widgets__item--wa:hover {
  color: #128c4f;
  border-color: rgba(37, 211, 102, 0.5);
}

/* ============ ANONYMITY GUARANTEE BADGE ============ */
.anon-guarantee {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.28);
  color: #15803d;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin: 4px 0 14px;
  max-width: 560px;
}
.anon-guarantee svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #16a34a;
}
@media (max-width: 599px) {
  .anon-guarantee {
    max-width: 100%;
    font-size: 12.5px;
  }
}

/* ============ CONTENT AUTHOR BLOCK ============ */
.content-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2eaf3;
  border-radius: 8px;
  font-size: 13px;
  color: #556;
  margin-top: 8px;
}
.content-author__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2368a1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.content-author__name {
  font-weight: 600;
  color: #1a2340;
  display: block;
}
.content-author__meta {
  font-size: 12px;
  color: #8899aa;
  margin-top: 1px;
  display: block;
}

/* ============ PRICE CALCULATOR ============ */
.calc-widget {
  display: grid;
  gap: 24px;
  background: #fff;
  border: 1px solid #c8def0;
  border-radius: 20px;
  padding: 28px;
  max-width: 680px;
}
.calc-widget__row { display: flex; flex-direction: column; gap: 8px; }
.calc-widget__label {
  font-size: 13px;
  font-weight: 600;
  color: #526172;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.calc-widget__select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #c8def0;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: #1a2340;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%232368a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.calc-widget__select:focus { outline: 2px solid #2368a1; outline-offset: 2px; border-color: #2368a1; }
.calc-widget__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid #c8def0;
  background: #fff;
  color: #526172;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: all .18s ease;
}
.calc-chip:hover { border-color: #2368a1; color: #2368a1; }
.calc-chip--active { background: #2368a1; border-color: #2368a1; color: #fff; font-weight: 600; }
.calc-result {
  background: linear-gradient(135deg, #edf4fc 0%, #E0F7FA 100%);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-result__price {
  font-size: 28px;
  font-weight: 700;
  color: #1a2340;
  line-height: 1.2;
}
.calc-result__label { font-size: 14px; color: #526172; }
.calc-result__note { font-size: 12.5px; color: #889; }
.calc-result__cta { align-self: flex-start; margin-top: 4px; }
@media (max-width: 599px) {
  .calc-widget { padding: 20px 16px; }
  .calc-result__price { font-size: 24px; }
  .calc-result__cta { width: 100%; justify-content: center; }
}

/* ============ QUIZ POPUP ============ */
.quiz-overlay {
  position: fixed; inset: 0;
  background: rgba(16,33,51,0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.quiz-overlay.is-open { opacity: 1; pointer-events: auto; }
.quiz-modal {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 32px 80px rgba(16,33,51,0.25);
  transform: scale(0.96);
  transition: transform .25s ease-out;
}
.quiz-overlay.is-open .quiz-modal { transform: scale(1); }
.quiz-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: none; border-radius: 50%;
  background: #E1EFFA;
  color: #526172;
  font-size: 14px;
  cursor: pointer;
  display: grid; place-items: center;
  line-height: 1;
}
.quiz-modal__close:hover { background: #c8def0; }
.quiz-progress {
  height: 4px;
  background: #E1EFFA;
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
}
.quiz-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #2368a1, #0891B2);
  border-radius: 4px;
  transition: width .35s ease;
  width: 25%;
}
.quiz-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #2368a1;
  margin-bottom: 8px;
}
.quiz-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a2340;
  margin-bottom: 20px;
  line-height: 1.3;
}
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-options--row { flex-direction: row; flex-wrap: wrap; }
.quiz-opt {
  padding: 13px 18px;
  border: 1.5px solid #c8def0;
  border-radius: 12px;
  background: #fff;
  color: #1a2340;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: all .18s ease;
}
.quiz-opt:hover { border-color: #2368a1; background: #edf4fc; color: #2368a1; }
.quiz-opt--selected { border-color: #2368a1; background: #2368a1; color: #fff; }
.quiz-form__input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #c8def0;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  color: #1a2340;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.quiz-form__input:focus { outline: 2px solid #2368a1; outline-offset: 2px; border-color: #2368a1; }
.quiz-form__submit { width: 100%; justify-content: center; }
.quiz-form__note { font-size: 12px; color: #5a6a7a; text-align: center; margin-top: 10px; }
.quiz-result__icon { font-size: 36px; margin-bottom: 12px; }
.quiz-result__title { font-size: 19px; font-weight: 700; color: #1a2340; margin-bottom: 8px; }
.quiz-result__desc { font-size: 14.5px; color: #526172; line-height: 1.6; margin-bottom: 16px; }
.quiz-result__price { font-size: 22px; font-weight: 700; color: #2368a1; margin-bottom: 16px; }
.quiz-result__cta { width: 100%; justify-content: center; }
@media (max-width: 539px) {
  .quiz-overlay { align-items: flex-end; padding: 0; }
  .quiz-modal { border-radius: 24px 24px 0 0; max-width: none; padding: 32px 20px 24px; }
}

/* ===== Step number variant (district pages) ===== */
.step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2368a1, #06B6D4);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-bottom: 12px;
}
.step__body { display: flex; flex-direction: column; gap: 6px; }
.step__title { font-size: 1rem; font-weight: 700; color: #1a2c3d; margin: 0; }
.step__text { font-size: 0.875rem; line-height: 1.6; color: #445566; margin: 0; }

/* ===== District landing: service cards & steps ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.service-card {
  background: #fff;
  border: 1px solid #c8def0;
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 6px 24px rgba(35,104,161,.12); transform: translateY(-2px); }
.service-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #edf4fc;
  display: flex; align-items: center; justify-content: center;
  color: #2368a1;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__title { font-size: 1rem; font-weight: 700; color: #1a2c3d; margin: 0; }
.service-card__desc { font-size: 0.875rem; line-height: 1.55; color: #445566; margin: 0; flex: 1; }
.service-card__price { font-size: 0.9rem; color: #2368a1; margin: 4px 0 0; }
.service-card__link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2368a1;
  text-decoration: none;
  margin-top: 4px;
  padding: 6px 0;
}
.service-card__link:hover { text-decoration: underline; }

/* ===== Block 6: Visually impaired — кнопка «глаз» в шапке ===== */
.vi-btn {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  border: 2px solid #2368a1;
  border-radius: 6px;
  background: #fff;
  color: #2368a1;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  box-shadow: none;
}
.vi-btn:hover {
  background: #2368a1;
  color: #fff;
}
.vi-btn:focus-visible {
  outline: 2px solid #2368a1;
  outline-offset: 2px;
}
.vi-btn__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: currentColor;
}
.vi-btn--on {
  background: #2368a1;
  color: #fff;
}

@media (max-width: 1099px) {
  .header__toolbar .vi-btn {
    width: 44px;
    height: 44px;
  }
  .header__toolbar .vi-btn__icon {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 1099px) {
  .header__toolbar .vi-btn { display: none; }
}

@media (min-width: 1100px) {
  .header__toolbar .vi-btn {
    width: 40px;
    height: 40px;
  }
  .header__toolbar .vi-btn__icon {
    width: 23px;
    height: 23px;
  }
}

/* ===== Nav vi button (мобильное меню — кнопка Слабовидящим) ===== */
.nav__vi-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #2368a1;
  border: 2px solid #2368a1;
  border-radius: 16px;
  margin: 8px 16px 4px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: calc(100% - 32px);
  box-sizing: border-box;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.nav__vi-btn:hover { background: #E1EFFA; }
.nav__vi-btn--on {
  background: #2368a1;
  color: #fff;
}
.nav__vi-btn__icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}
@media (min-width: 1100px) {
  .nav__vi-btn { display: none; }
}

/* ===== Visually impaired body mode ===== */
body.vi-mode {
  background: #fff !important;
  color: #000 !important;
}
body.vi-mode *:not(script):not(style) {
  font-size: max(18px, 1em) !important;
  line-height: 1.75 !important;
  letter-spacing: 0.02em !important;
}
body.vi-mode a { color: #0000cc !important; text-decoration: underline !important; }
body.vi-mode .btn--primary { background: #000 !important; color: #fff !important; border: 2px solid #000 !important; }
body.vi-mode .btn--secondary { background: #fff !important; color: #000 !important; border: 2px solid #000 !important; }
body.vi-mode .header { background: #fff !important; border-bottom: 3px solid #000 !important; box-shadow: none !important; }
body.vi-mode .footer { background: #fff !important; color: #000 !important; border-top: 3px solid #000 !important; }
body.vi-mode .footer__legal { background: #f0f0f0 !important; }
body.vi-mode .section--beige,
body.vi-mode .hero,
body.vi-mode .narc-hero,
body.vi-mode .about-hero,
body.vi-mode .contacts-hero,
body.vi-mode .blog-hero { background: #fff !important; }
body.vi-mode .quick-answer { background: #ffffbb !important; border: 2px solid #000 !important; color: #000 !important; }
body.vi-mode .trust-item,
body.vi-mode .anon-guarantee,
body.vi-mode .price-card,
body.vi-mode .service-card { background: #fff !important; border: 2px solid #555 !important; }
body.vi-mode img { filter: contrast(1.15) !important; }
body.vi-mode .floating-widgets { display: none !important; }
body.vi-mode .vi-btn {
  border-color: #000 !important;
  color: #000 !important;
  background: #fff !important;
  font-size: 0 !important;
  line-height: 0 !important;
  padding: 0 !important;
}
body.vi-mode .vi-btn--on {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}
body.vi-mode .vi-btn svg {
  max-width: 28px !important;
  max-height: 28px !important;
}
body.vi-mode .sticky-cta { background: #000 !important; color: #fff !important; }

/* ===== Price guarantee note under service price cards ===== */
.price-guarantee-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #fff;
  font-weight: 600;
  margin: 6px 0 0;
  line-height: 1.4;
}
.price-guarantee-note svg { color: #fff; flex-shrink: 0; }

.price-note {
    margin-top: 28px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--green);
    border-left: 6px solid var(--green);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
    box-shadow: var(--shadow-card);
  }

/* ===== Medical disclaimer (service pages) ===== */
.medical-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--green-light);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 32px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}
.medical-disclaimer__icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--green);
  line-height: 0;
}
.medical-disclaimer__icon svg { display: block; }
.medical-disclaimer p { margin: 0; }
.medical-disclaimer strong { color: var(--text); font-weight: 600; }
.medical-disclaimer a { color: var(--green); font-weight: 600; }

/* ===== QR license badge in footer ===== */
.footer-qr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  background: #edf4fc;
  border: 1px solid #c8def0;
  border-radius: 10px;
  text-decoration: none;
  color: #2368a1;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: background .15s;
}
.footer-qr:hover { background: #d6eaf7; }
.footer-qr img { width: 48px; height: 48px; flex-shrink: 0; }
.footer-qr__text { display: flex; flex-direction: column; gap: 2px; }
.footer-qr__title { font-size: 11px; font-weight: 700; color: #1a2c3d; }
.footer-qr__sub { font-size: 10.5px; color: #526172; font-weight: 400; }

/* ============ SPASIBO PAGE ============ */
.spasibo-hero {
  padding: 64px 0 56px;
  background: linear-gradient(135deg, #f0f9f4 0%, #e8f4fd 100%);
}
.spasibo-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.spasibo-hero__icon { margin-bottom: 4px; }
.spasibo-hero__title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  max-width: 640px;
}
.spasibo-hero__sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
}
.spasibo-hero__call,
.spasibo-hero__back { min-width: 220px; justify-content: center; }

.spasibo-blog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.spasibo-blog__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s;
}
.spasibo-blog__card:hover { box-shadow: 0 8px 32px rgba(35,104,161,.12); }
.spasibo-blog__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--green);
  background: var(--green-light);
  border-radius: 6px;
  padding: 3px 8px;
  width: fit-content;
}
.spasibo-blog__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.spasibo-blog__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.spasibo-blog__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  margin-top: 4px;
}
.spasibo-blog__link:hover { text-decoration: underline; }

@media (max-width: 539px) {
  .spasibo-hero { padding: 48px 0 40px; }
  .spasibo-hero__title { font-size: 22px; }
  .spasibo-blog { grid-template-columns: 1fr; }
}

/* ====== Виджет отзывов Яндекс Карт (заменил самописные отзывы) ====== */
.ya-reviews { max-width: 760px; margin: 0 auto; }
.ya-reviews__frame {
  width: 100%;
  height: 600px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-sizing: border-box;
  background: #f7f7f7;
  display: block;
}
.ya-reviews__link {
  display: inline-block;
  margin-top: 10px;
  font-size: .85rem;
  color: #7a8a99;
  text-decoration: none;
}
.ya-reviews__link:hover { text-decoration: underline; }
@media (max-width: 600px) { .ya-reviews__frame { height: 520px; } }

/* Пояснение юрлица/филиала на странице «О клинике» */
.about-legal-note { font-size: .82rem; color: #7a8a99; line-height: 1.55; margin-top: 10px; }

/* ============================================================
   БЛОГ НА WP-ЗАПИСЯХ: посты (single), архивы, карточки, врачи.
   Дублирует инлайн blog.html, чтобы стили карточек работали на
   страницах постов/архивов/врачей, где инлайн-стиля нет.
   ============================================================ */
.blog-page { background: #fff; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Хлебные крошки */
.post-crumbs { max-width: 760px; margin: 0 auto; padding: 96px 24px 0; font-size: .82rem; color: #667788; }
.post-crumbs a { color: #2368a1; text-decoration: none; }
.post-crumbs a:hover { text-decoration: underline; }
.post-crumbs__sep { color: #b4c2cf; }

/* Тело статьи (single) */
.post-article { max-width: 760px; margin: 0 auto; padding: 16px 24px 64px; }
.post-head { margin-bottom: 24px; }
.post-cat-chip { display:inline-flex; margin-bottom: 14px; text-decoration:none; }
.post-title { font-size: clamp(1.7rem, 4.2vw, 2.4rem); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; color: #102133; margin: 0 0 18px; }
.post-author { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.post-author__meta { color:#7a8795; font-size:13px; font-weight:700; margin-left:auto; }
.post-cover { margin: 8px 0 28px; border-radius: 20px; overflow: hidden; }
.post-cover__img { width:100%; height:auto; display:block; }

/* TOC */
.post-toc { background:#f1f7fc; border:1px solid #e1eef8; border-radius:16px; padding:18px 22px; margin:0 0 30px; }
.post-toc__title { font-weight:800; color:#1a5083; margin-bottom:8px; font-size:.95rem; }
.post-toc ol { margin:0; padding-left:20px; color:#2c3d4f; line-height:1.7; }
.post-toc a { color:#2368a1; text-decoration:none; }
.post-toc a:hover { text-decoration:underline; }

/* Проза (the_content) */
.prose { color:#2c3d4f; font-size:1.05rem; line-height:1.75; }
.prose > p { margin: 0 0 18px; }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight:800; color:#102133; line-height:1.25; margin: 40px 0 16px; letter-spacing:-.015em; }
.prose h3 { font-size:1.2rem; font-weight:700; color:#1a2c3d; margin:28px 0 12px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 24px; }
.prose li { margin-bottom: 9px; }
.prose a { color:#2368a1; font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.prose a:hover { color:#1a5083; }
.prose strong { color:#1a2c3d; }
.prose blockquote { margin: 24px 0; padding: 16px 20px; background:#edf4fc; border-left:4px solid #2368a1; border-radius:0 12px 12px 0; }
.prose blockquote p { margin:0; }
.prose table { width:100%; border-collapse:collapse; margin:0 0 24px; font-size:.95rem; border:1px solid #c2d6e8; }
.prose th, .prose td { text-align:left; padding:11px 14px; border:1px solid #c2d6e8; vertical-align:top; }
.prose thead th { background:#dcecff; color:#174f84; font-weight:800; }
.prose tbody tr:nth-child(even) { background:#f4f9fe; }
.prose hr { border:0; border-top:1px solid #e3edf5; margin: 28px 0; }
.prose .btn, .prose a.btn { width:100%; color:#fff; text-decoration:none; }
.prose a.btn:hover { color:#fff; }
.prose .btn span { color:#fff; }
@media (max-width:560px){ .prose table { font-size:.86rem; } .prose th, .prose td { padding:8px 9px; } }

/* Источники / автор / дисклеймер */
.post-sources { margin: 36px 0 0; padding: 20px 22px; background:#f8fafc; border:1px solid #e8eef4; border-radius:16px; }
.post-sources__title { font-size:1.05rem; font-weight:800; color:#102133; margin:0 0 10px; }
.post-sources ol { margin:0; padding-left:20px; color:#54657a; font-size:.9rem; line-height:1.65; }
.post-sources a { color:#2368a1; }
.post-author-full { display:flex; gap:16px; align-items:center; margin:28px 0; padding:20px 22px; border:1px solid #e1eef8; border-radius:18px; background:linear-gradient(135deg,#eef6fc,#fff); }
.post-author-full__name { font-weight:800; color:#102133; }
.post-author-full__name a { color:#102133; text-decoration:none; }
.post-author-full__role { color:#596879; font-size:.9rem; margin-top:3px; }
.post-author-full__link { display:inline-block; margin-top:8px; color:#2368a1; font-weight:800; font-size:.88rem; text-decoration:none; }

/* Похожие / сетка карточек */
.post-related { margin-top: 44px; }
.post-related__title { font-size:1.4rem; font-weight:800; color:#102133; margin:0 0 18px; }
.blog-layout { max-width: 980px; margin: 0 auto; }
.blog-shell { padding: 24px 0 80px; }
.blog-grid { display:grid; gap:18px; }
@media (min-width:720px){ .post-related .blog-grid, .blog-shell .blog-grid { grid-template-columns: repeat(2, 1fr); } }

.blog-card { display:flex; flex-direction:column; overflow:hidden; border-radius:20px; background:#fff; box-shadow:0 4px 24px rgba(16,33,51,.06),0 1px 4px rgba(16,33,51,.04); transition:transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform:translateY(-5px); box-shadow:0 18px 50px rgba(35,104,161,.14); }
.blog-card__cover { position:relative; aspect-ratio:16/9; width:100%; background:linear-gradient(135deg,#e1effa,#fff); }
.blog-card__cover--photo img { width:100%; height:100%; object-fit:cover; display:block; }
/* перебиваем легаси-инлайн blog.html (.blog-card__cover{min-height:240px;flex:...}) на листинге */
main.blog-page .blog-card, .blog-grid .blog-card { flex-direction:column; }
main.blog-page .blog-card__cover, .blog-grid .blog-card__cover { aspect-ratio:16/9; min-height:0; height:auto; flex:0 0 auto; }
main.blog-page .blog-card__cover--photo img, .blog-grid .blog-card__cover--photo img { position:relative; inset:auto; width:100%; height:100%; object-fit:cover; }
.blog-card__icon { position:absolute; inset:22px; display:grid; place-items:center; border:1px solid rgba(35,104,161,.12); border-radius:18px; background:rgba(255,255,255,.7); color:#2368a1; }
.blog-card__icon svg { width:64px; height:64px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.blog-card__body { display:flex; flex:1; flex-direction:column; padding:22px; }
.blog-card__meta { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.blog-badge { display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:800; }
.blog-badge--metody { background:#dcecff; color:#174f84; }
.blog-badge--simptomy { background:#fff2bf; color:#70560a; }
.blog-badge--rodstvennikam { background:#e8f5e9; color:#276334; }
.blog-readtime { color:#6a7888; font-size:13px; font-weight:700; white-space:nowrap; }
.blog-card__title { font-size:1.2rem; font-weight:800; line-height:1.25; color:#102133; margin:0 0 10px; letter-spacing:-.01em; }
.blog-card__title a { color:inherit; text-decoration:none; }
.blog-card__title a:hover { color:#2368a1; }
.blog-card__lead { color:#617184; font-size:.92rem; line-height:1.5; margin:0; }
.blog-card__footer { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:auto; padding-top:18px; }
.blog-author { display:flex; align-items:center; gap:9px; min-width:0; }
.blog-author__avatar, .blog-author__avatar-img { width:36px; height:36px; border-radius:50%; flex:0 0 auto; }
.blog-author__avatar { display:grid; place-items:center; background:#e1effa; color:#2368a1; font-size:12px; font-weight:900; }
.blog-author__avatar-img { object-fit:cover; }
.blog-author__name { display:block; color:#102133; font-size:12px; font-weight:800; line-height:1.2; }
.blog-author__date { display:block; margin-top:2px; color:#7a8795; font-size:12px; }
.blog-card__link { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; color:#2368a1; font-size:14px; font-weight:900; text-decoration:none; }
.blog-load { display:flex; justify-content:center; gap:8px; margin-top:32px; }
.blog-load .page-numbers { padding:8px 14px; border:1px solid #cfe0ef; border-radius:10px; color:#2368a1; text-decoration:none; font-weight:700; }
.blog-load .page-numbers.current { background:#2368a1; color:#fff; border-color:#2368a1; }

/* Hero/фильтры (архивы и листинг) */
.blog-hero { padding:120px 0 40px; background:linear-gradient(135deg,#eef6fc 0%,#fff 60%,#e1effa 100%); }
.blog-hero__inner, .blog-hero__lead { max-width:900px; }
.blog-hero__eyebrow { display:inline-flex; padding:7px 12px; border-radius:999px; background:#fff; border:1px solid rgba(35,104,161,.15); color:#2368a1; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.blog-hero h1 { margin-top:18px; font-size:clamp(2rem,5vw,3.2rem); line-height:1.08; color:#0d1b2a; letter-spacing:-.03em; }
.blog-hero__lead { margin-top:18px; color:#405366; font-size:clamp(16px,2vw,20px); line-height:1.55; }
.blog-trust { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.blog-trust__item { padding:10px 14px; border-radius:999px; background:#fff; box-shadow:0 8px 24px rgba(35,104,161,.1); font-size:13px; font-weight:700; color:#102133; }
.blog-filters__row { display:flex; gap:10px; flex-wrap:wrap; }
.blog-filter { padding:9px 15px; border:1px solid #2368a1; border-radius:999px; background:#fff; color:#2368a1; font-size:14px; font-weight:800; text-decoration:none; cursor:pointer; }
.blog-filter.is-active, .blog-filter:hover { background:#2368a1; color:#fff; }
.doctor-cta { display:grid; grid-template-columns:1fr auto; align-items:center; gap:18px; margin-bottom:22px; padding:22px; border-radius:20px; background:linear-gradient(135deg,#eef6fc,#fff); box-shadow:0 4px 24px rgba(16,33,51,.06); }
.doctor-cta h2 { font-size:1.3rem; color:#102133; margin:0; }
.doctor-cta p { margin:8px 0 0; color:#596879; font-size:.92rem; }
@media (max-width:719px){ .doctor-cta { grid-template-columns:1fr; } }

/* Врачи: архив (.vrach-* — отдельный неймспейс, чтобы не конфликтовать со старым .doctor-profile) */
.vrachi-grid { display:grid; gap:18px; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); margin-top:24px; }
.vrach-card { display:block; padding:22px; border-radius:20px; background:#fff; box-shadow:0 4px 24px rgba(16,33,51,.06); text-decoration:none; text-align:center; transition:transform .2s ease; }
.vrach-card:hover { transform:translateY(-4px); }
.vrach-card__photo { width:140px; height:170px; margin:0 auto 14px; border-radius:16px; overflow:hidden; background:#e1effa; display:grid; }
.vrach-card__photo img { grid-area:1/1; width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
.vrach-card__initials, .vrach-profile__initials { grid-area:1/1; place-self:center; font-weight:900; color:#2368a1; font-size:30px; }
.vrach-card__name { font-size:1.05rem; font-weight:800; color:#102133; margin:0 0 4px; }
.vrach-card__role { color:#596879; font-size:.85rem; margin:0; }

/* Врачи: профиль */
.vrach-profile { display:block; max-width:840px; margin:0 auto; padding:16px 24px 64px; }
.vrach-profile__head { display:flex; gap:28px; align-items:flex-start; flex-wrap:wrap; }
.vrach-profile__photo { width:230px; height:288px; flex:0 0 auto; border-radius:18px; overflow:hidden; background:#e1effa; display:grid; }
.vrach-profile__photo img { grid-area:1/1; width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
.vrach-profile__intro { flex:1; min-width:280px; }
.vrach-profile__intro .post-title { margin-bottom:6px; }
.vrach-profile__role { color:#2368a1; font-weight:800; margin:6px 0; font-size:1.05rem; }
.vrach-profile__exp { color:#596879; margin:0 0 8px; }
.vrach-profile__lead { color:#405366; line-height:1.6; margin:0 0 16px; }
.vrach-profile__body { margin-top:32px; }
.vrach-profile__edu { margin-top:24px; padding:20px 22px; background:#f8fafc; border:1px solid #e8eef4; border-radius:16px; }
.vrach-profile__edu h2 { font-size:1.15rem; color:#102133; margin:0 0 8px; }
@media (max-width:560px){ .vrach-profile__photo { width:100%; height:auto; aspect-ratio:4/5; } }


/* WordPress: показываем reveal-секции без JS-анимаций */
.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
