/* ============================================================
   ЦЕННОСТЬ ЖИЗНИ — COMPONENTS.CSS
   Кнопки, карточки, формы, хэдер, футер, модалы, плавающие кнопки
   ============================================================ */

/* ══════════════════════════════════════
   КНОПКИ
   ══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  box-sizing: border-box;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 150ms ease, box-shadow var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; pointer-events: none; }

.btn-primary {
  background: var(--lime);
  color: var(--text);
  border-color: var(--lime);
}
.btn-primary:hover {
  background: var(--lime-dark);
  border-color: var(--lime-dark);
  box-shadow: 0 4px 16px rgba(168,178,0,.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime-dark);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn-dark {
  background: var(--dark-bg);
  color: #fff;
  border-color: var(--dark-bg);
}
.btn-dark:hover {
  background: #2a2d26;
  border-color: #2a2d26;
}

.btn-white {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--lime-light);
  border-color: var(--lime);
}

.btn-sm  { font-size: var(--text-sm);  padding: 10px 20px; }
.btn-lg  { font-size: var(--text-lg);  padding: 18px 36px; }
.btn-xl  { font-size: var(--text-xl);  padding: 20px 44px; }
.btn-block { width: 100%; }
.btn-icon { padding: 12px; border-radius: 50%; }

/* ══════════════════════════════════════
   ХЭДЕР
   ══════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.header .container {
  padding-left: clamp(20px, 4vw, 44px);
  padding-right: clamp(20px, 4vw, 44px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header__logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item {
  position: relative;
}
.nav__link {
  display: block;
  padding: 8px 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link--active { color: var(--lime-dark); background: var(--lime-light); }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 600;
}
.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav__dropdown a:hover { background: var(--lime-light); color: var(--lime-dark); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header__phone {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}
.header__phone:hover { color: var(--lime-dark); }
@keyframes callAttentionPulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(199,212,0,.24); }
  50% { box-shadow: 0 10px 24px rgba(199,212,0,.38); }
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 8px;
  background: #CDEFFF;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), inset 0 -2px 6px rgba(22, 62, 94, 0.14);
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 490;
  overflow-y: auto;
  padding: 20px var(--container-px) 40px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-soft);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { background: var(--lime-light); color: var(--lime-dark); }
.mobile-nav .btn { margin-top: 12px; }

@media (max-width: 1024px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: flex; }
  .header .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header__inner {
    gap: 10px;
    padding-top: 0;
    padding-bottom: 0;
    min-height: var(--header-h);
  }
  .header__logo,
  .header__actions {
    display: flex;
    align-items: center;
  }
  .header__logo {
    min-height: 40px;
  }
  .header__logo img {
    height: 38px;
  }
  .header__actions {
    margin-left: auto;
    gap: 8px;
  }
  .header__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #b9c600;
    background: linear-gradient(180deg, #d5de34 0%, #c7d400 100%);
    color: var(--text);
    font-size: 0;
    box-shadow: 0 6px 16px rgba(199,212,0,.24);
    animation: callAttentionPulse 1.7s ease-in-out infinite;
  }
  .header__phone i {
    margin-right: 0 !important;
    color: var(--text) !important;
    font-size: .9rem;
  }
  .header__phone::after {
    content: 'Позвонить';
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1;
  }
  .header__phone:hover {
    color: var(--text);
    filter: brightness(1.04);
  }
  .burger {
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
}
@media (max-width: 520px) {
  .header__logo {
    min-height: 34px;
  }
  .header__logo img {
    height: 34px;
  }
  .header__phone {
    height: 34px;
    min-height: 34px;
    padding: 0 10px;
  }
  .header__phone::after {
    content: 'Звонок';
    font-size: .72rem;
    letter-spacing: .03em;
  }
}
@media (max-width: 380px) {
  .header__inner {
    gap: 8px;
  }
  .header__phone {
    min-height: 32px;
    padding: 0 8px;
  }
  .header__phone::after {
    content: 'Позв.';
    font-size: .67rem;
  }
}

/* ══════════════════════════════════════
   ФУТЕР
   ══════════════════════════════════════ */
.footer {
  background: #EDE9E4;
  color: #2a2a2a;
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__logo img { height: 40px; filter: none; margin-bottom: 16px; }
.footer__desc { font-size: var(--text-sm); line-height: 1.7; color: rgba(0,0,0,.55); }
.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1a1a1a;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  font-size: var(--text-sm);
  color: rgba(0,0,0,.55);
  transition: color var(--transition);
}
.footer__contact-item a:hover { color: #2D5A3D; }
.footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: rgba(0,0,0,.55);
}
.footer__links a:hover { color: #2D5A3D; }
.footer__desc a { color: #2D5A3D !important; text-decoration: underline; }
.footer__desc a:hover { color: #1E3A2F !important; }
.footer__contact-item i { color: var(--lime); margin-top: 3px; flex-shrink: 0; }
.footer__contact-item a { color: rgba(0,0,0,.55); }

.footer__bottom {
  border-top: 1px solid rgba(0,0,0,.12);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--text-xs);
  color: rgba(0,0,0,.4);
}
.footer__disclaimer {
  font-size: var(--text-xs);
  color: rgba(0,0,0,.4);
  border-top: 1px solid rgba(0,0,0,.1);
  padding: 16px 0;
  text-align: center;
}
.footer__legal {
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 16px 0;
  color: rgba(0,0,0,.48);
  font-size: var(--text-xs);
  line-height: 1.7;
}
.footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}
.footer__legal strong {
  color: rgba(0,0,0,.68);
  font-weight: 800;
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal-inner { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════
   КАРТОЧКИ
   ══════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-sizing: border-box;
  max-width: 100%;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--lime);
  transform: translateY(-3px);
}
.card--flat { box-shadow: none; }
.card--flat:hover { box-shadow: var(--shadow); }
.card--dark {
  background: var(--dark-bg-2);
  border-color: rgba(255,255,255,.08);
  color: #fff;
}
.card--accent {
  background: var(--lime-light);
  border-color: var(--lime);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--lime-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--lime-dark);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card--dark .card__icon {
  background: rgba(199,212,0,.15);
  color: var(--lime);
}
.card__title {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.card--dark .card__title { color: #fff; }
.card__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}
.card--dark .card__text { color: rgba(255,255,255,.55); }

/* Карточка услуги */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
  position: relative;
}
.service-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  transform: translateY(-6px);
  border-color: var(--lime);
}
.service-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-shrink: 0;
}
.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-alt);
  display: block;
  transition: transform 0.45s ease;
}
.service-card:hover .service-card__img {
  transform: scale(1.06);
}
.service-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,12,8,0.72) 100%);
  pointer-events: none;
}
.service-card__body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--lime-dark);
  background: rgba(199,212,0,0.1);
  border: 1px solid rgba(199,212,0,0.25);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  margin-bottom: 10px;
  width: fit-content;
}
.service-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.3;
}
.service-card__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--lime-dark);
  transition: gap 0.25s ease;
  margin-top: auto;
}
.service-card:hover .service-card__link { gap: 12px; }
.service-card__link .fa {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}
.service-card:hover .service-card__link .fa {
  transform: translateX(3px);
}

/* ══════════════════════════════════════
   СЛАЙДЕР ВРАЧЕЙ
   ══════════════════════════════════════ */
.doctors-slider {
  position: relative;
}

/* — Десктоп: обычная сетка 4 колонки — */
.doctors-slider__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Стрелки — скрыты на десктопе */
.doctors-slider__arrow {
  display: none;
}

/* Точки — скрыты на десктопе */
.doctors-slider__dots {
  display: none;
}

/* — Мобильный слайдер (≤ 767px) — */
@media (max-width: 767px) {
  .doctors-slider {
    overflow: hidden;
  }

  .doctors-slider__track {
    display: flex;
    gap: 0;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    /* не позволяем съёживаться карточкам */
    align-items: stretch;
  }

  .doctors-slider__track .doctor-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  /* Стрелки */
  .doctors-slider__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,.10);
    color: var(--text);
    font-size: .9rem;
    cursor: pointer;
    z-index: 10;
    transition: background var(--transition), box-shadow var(--transition), opacity var(--transition);
  }
  .doctors-slider__arrow:hover {
    background: var(--lime-light);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
  }
  .doctors-slider__arrow:disabled {
    opacity: .3;
    pointer-events: none;
  }
  .doctors-slider__arrow--prev { left: 6px; }
  .doctors-slider__arrow--next { right: 6px; }

  /* Точки */
  .doctors-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .doctors-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), transform var(--transition), width var(--transition);
  }
  .doctors-dot--active {
    background: var(--lime-dark);
    width: 24px;
    border-radius: 4px;
    transform: none;
  }
}

/* — Планшет: 2 колонки (768px – 1023px) — */
@media (min-width: 768px) and (max-width: 1023px) {
  .doctors-slider__track {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Карточка врача */
.doctor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.doctor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.doctor-card__photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--surface-alt);
}
.doctor-card__body { padding: 20px 16px 24px; }
.doctor-card__name { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.doctor-card__spec { font-size: var(--text-sm); color: var(--lime-dark); font-weight: 600; margin-bottom: 8px; }
.doctor-card__exp { font-size: var(--text-sm); color: var(--text-muted); }

/* Карточка отзыва */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.review-card__stars { color: var(--lime-dark); font-size: 1.125rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-card__text { font-size: var(--text-sm); color: var(--text-soft); line-height: 1.7; margin-bottom: 18px; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lime-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800;
  color: var(--lime-dark);
  flex-shrink: 0;
}
.review-card__name { font-size: var(--text-sm); font-weight: 700; }
.review-card__date { font-size: var(--text-xs); color: var(--text-muted); }

/* ══════════════════════════════════════
   ФОРМЫ
   ══════════════════════════════════════ */
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-soft);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: var(--text-base);
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(199,212,0,.18);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); font-size: var(--text-sm); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-group { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-error { font-size: var(--text-xs); color: var(--error); margin-top: 4px; }
.form-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}
.form-disclaimer a { color: var(--lime-dark); text-decoration: underline; }

/* Секция формы обратного звонка */
.callback-section { background: #2D5A3D; padding: var(--section-py) 0; }
.callback-section .section-title { color: #fff; }
.callback-section .section-sub { color: rgba(255,255,255,.6); }
.callback-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.callback-wrap .form-label { color: rgba(255,255,255,.7); }
.callback-wrap .form-input {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: #fff;
}
.callback-wrap .form-input:focus { border-color: var(--lime); }
.callback-wrap .form-input::placeholder { color: rgba(255,255,255,.35); }
.callback-wrap .form-disclaimer { color: rgba(255,255,255,.35); }
.callback-wrap .form-disclaimer a { color: var(--lime); }
.form-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }

/* Success box */
.success-box {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(199,212,0,.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.success-icon svg { width: 40px; height: 40px; stroke: var(--lime); }
.success-box h3 { color: #fff; margin-bottom: 8px; }
.success-box p  { color: rgba(255,255,255,.5); font-size: var(--text-sm); }

/* ══════════════════════════════════════
   МОДАЛЬНОЕ ОКНО
   ══════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  backdrop-filter: blur(4px);
}
.modal.open { opacity: 1; visibility: visible; }
.modal__box {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(.96);
  transition: transform var(--transition);
}
.modal.open .modal__box { transform: scale(1); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--text-muted);
  transition: background var(--transition);
}
.modal__close:hover { background: var(--lime-light); color: var(--lime-dark); }
.modal__title { font-size: 1.4rem; font-weight: 900; margin-bottom: 6px; }
.modal__sub { font-size: .9rem; color: var(--text-muted); margin-bottom: 24px; }

/* ══════════════════════════════════════
   ПЛАВАЮЩИЕ КНОПКИ
   ══════════════════════════════════════ */
.float-wrap {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(560px, calc(100vw - 20px));
  padding: 10px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  backdrop-filter: blur(6px);
}
.float-wrap .float-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.float-wrap .float-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(0,0,0,.18);
  filter: saturate(1.06);
}
.float-wrap .float-btn--call {
  background: linear-gradient(135deg, var(--lime-dark) 0%, #B9D85B 58%, #F3C94B 100%);
  color: #14241B;
  box-shadow: 0 4px 14px rgba(185, 216, 91, .28);
}
.float-wrap .float-btn--whatsapp { background: var(--whatsapp); }
.float-wrap .float-btn--telegram { background: var(--telegram); }
.float-wrap .float-btn--max {
  background: linear-gradient(135deg, #21B8FF 0%, #4A74FF 48%, #8B4DFF 100%);
  box-shadow: 0 4px 14px rgba(74, 116, 255, .28);
}
.float-wrap .float-btn__label {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
}
body.has-contact-dock {
  padding-bottom: 84px;
}
@media (max-width: 480px) {
  .float-wrap {
    width: calc(100vw - 16px);
    bottom: 8px;
    gap: 6px;
    padding: 8px;
    border-radius: 14px;
  }
  .float-wrap .float-btn {
    height: 40px;
    border-radius: 10px;
    font-size: .95rem;
  }
  .float-wrap .float-btn__label {
    font-size: .72rem;
  }
  body.has-contact-dock {
    padding-bottom: 76px;
  }
}

/* ══════════════════════════════════════
   ПРЕИМУЩЕСТВА / АРГУМЕНТЫ
   ══════════════════════════════════════ */
.args-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .args-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .args-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.arg-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFCF7 100%);
  border: 1px solid #DCE2CC;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.arg-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #CFD7B7;
}
.arg-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #F4F9D8 0%, #EAF2B6 100%);
  border: 1px solid #D8E3A4;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--lime-dark);
  flex-shrink: 0;
}
.arg-title { font-size: .9375rem; font-weight: 800; margin-bottom: 4px; }
.arg-text  { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.5; }
@media (max-width: 767px) {
  .arg-item {
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
  }
  .arg-icon {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }
}

/* ══════════════════════════════════════
   ШАГИ / ЭТАПЫ
   ══════════════════════════════════════ */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 32px;
}
.step:last-child { padding-bottom: 0; }
.step__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--text);
  font-size: var(--text-base);
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step__line {
  position: absolute;
  left: 22px; top: 44px;
  width: 2px;
  height: calc(100% - 44px);
  background: var(--border);
}
.step:last-child .step__line { display: none; }
.step__body { padding-top: 10px; }
.step__title { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.step__text  { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════
   FAQ
   ══════════════════════════════════════ */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.faq-btn:hover, .faq-btn.open { background: var(--lime-light); color: var(--lime-dark); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
  transition: transform var(--transition), background var(--transition);
}
.faq-btn.open .faq-icon { transform: rotate(45deg); background: var(--lime); }
.faq-ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-ans.open { max-height: 600px; }
.faq-ans-inner {
  padding: 0 22px 18px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   СЛАЙДЕР
   ══════════════════════════════════════ */
.slider-wrap { position: relative; overflow: hidden; }
.slider-track {
  display: flex;
  transition: transform .4s ease;
}
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.slider-btn:hover { background: var(--lime-light); border-color: var(--lime); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.slider-dot.active { background: var(--lime-dark); transform: scale(1.3); }

/* ══════════════════════════════════════
   БЛОГ КАРТОЧКИ
   ══════════════════════════════════════ */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--surface-alt);
}
.blog-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 10px;
}
.blog-card__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--lime-dark);
  background: var(--lime-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.blog-card__title { font-size: 1rem; font-weight: 800; margin-bottom: 8px; line-height: 1.4; }
.blog-card__excerpt { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--lime-dark);
}

/* ══════════════════════════════════════
   СТАТЬЯ
   ══════════════════════════════════════ */
.article-body { font-size: var(--text-md); line-height: 1.8; color: var(--text-soft); }
.article-body h2 { margin: 2.5rem 0 1rem; color: var(--text); }
.article-body h3 { margin: 2rem 0 .75rem; color: var(--text); }
.article-body p  { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .4rem; line-height: 1.7; }
.article-body blockquote {
  border-left: 4px solid var(--lime);
  padding: 14px 20px;
  background: var(--lime-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: var(--text-lg);
  color: var(--text);
}

/* ══════════════════════════════════════
   ТАБЛИЦА ЦЕН
   ══════════════════════════════════════ */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}
.price-table th {
  font-weight: 800;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .07em;
  background: var(--surface-alt);
  color: var(--text-muted);
}
.price-table tbody tr:hover { background: var(--lime-light); }
.price-table td:last-child { font-weight: 700; color: var(--lime-dark); }
.price-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ══════════════════════════════════════
   СТАТИСТИКА / ЦИФРЫ
   ══════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: transparent;
}
.stat-item {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFDF9 100%);
  border: 1px solid #DCE2CC;
  border-radius: 14px;
  padding: 30px 20px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(30,58,47,.08);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(45,90,61,.14);
  border-color: #CFD7B7;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(180deg, #F4F9D8 0%, #EAF2B6 100%);
  border: 1px solid #D8E3A4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #2D5A3D;
  flex-shrink: 0;
}
.stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #2D5A3D;
  line-height: 1;
  margin: 0;
}
.stat-label {
  font-size: var(--text-sm);
  color: #5D6054;
  line-height: 1.4;
  font-weight: 500;
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-item {
    border-radius: 10px;
    padding: 16px 12px 14px;
    gap: 8px;
  }
  .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    font-size: 1rem;
  }
  .stat-num {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
  .stat-label {
    font-size: 0.78rem;
    line-height: 1.35;
  }
}

/* ══════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  background: var(--dark-bg);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  z-index: 950;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.cookie-banner.visible { opacity: 1; visibility: visible; transform: none; }
.cookie-text {
  flex: 1;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  min-width: 200px;
}
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.cookie-btn-accept { background: var(--lime); color: var(--text); }
.cookie-btn-accept:hover { background: var(--lime-dark); }
.cookie-btn-link {
  background: transparent;
  color: rgba(255,255,255,.45);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.15);
}
.cookie-btn-link:hover { color: var(--lime); border-color: var(--lime); }
