/* ============================================
   БелДезЦентр — Лендинг-блоки услуги
   Под фирменный стиль главной (premka-карточки, центрированные H2)
   ============================================ */

/* --- Контейнер 1400px на десктопе --- */
@media (min-width: 1200px) {
  .container,
  .breadcrumbs .container,
  .usluga-section .container,
  .related-services .container {
    max-width: 1400px !important;
  }
}

/* --- Хлебные крошки (фирменно: белый блок с тенью) --- */
.breadcrumbs {
  background: #fafafa;
  padding: 14px 0;
  margin-top: 80px; /* компенсация navbar.fixed-top на статьях */
  border-bottom: 1px solid #f0f0f0;
}
/* На статьях после крошек идёт section#main с большим padding-top — убираем чтобы не было двойного зазора */
.breadcrumbs + section#main {
  padding-top: 30px !important;
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
}
.breadcrumbs__list li {
  display: flex;
  align-items: center;
}
.breadcrumbs__list a {
  color: #40c8f8;
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.breadcrumbs__list a:hover {
  color: #1ba8d8;
  text-decoration: underline;
}
.breadcrumbs__sep {
  color: #c8ccd1;
  font-size: 16px;
  user-select: none;
}
.breadcrumbs__current {
  color: #8c94a2;
  font-weight: 500;
}

/* === АККУРАТНЫЕ ПРАВКИ К БАЗОВОЙ ШАПКЕ СТАТЬИ === */
/* H1 — ограничим ширину чтобы не наезжал на фоновое изображение деза справа */
#main .molding h1 {
  max-width: 620px;
  word-wrap: break-word;
  hyphens: manual;
}

/* На широких экранах: контент занимает левую половину, фон-изображение деза остаётся справа */
@media (min-width: 1200px) {
  #main .inner {
    max-width: 880px !important;
    margin-right: auto !important;
  }
  #main.bg2,
  #main.bg3,
  #main.bg4,
  #main.bg5 {
    background-size: contain !important;
    background-position: right top !important;
  }
}

/* На средних экранах (768-1199): сдвигаем фон-картинку правее, чтобы не перекрывала текст */
@media (min-width: 768px) and (max-width: 1199px) {
  #main.bg2,
  #main.bg3,
  #main.bg4,
  #main.bg5 {
    background-size: auto 80% !important;
    background-position: right -120px top !important;
  }
  #main .molding h1 {
    max-width: 100%;
  }
  #main .inner {
    max-width: 100% !important;
  }
}

/* На мобильных (≤767): убираем фон-картинку совсем, чистый фон */
@media (max-width: 767px) {
  #main.bg2,
  #main.bg3,
  #main.bg4,
  #main.bg5 {
    background: linear-gradient(135deg, #f0fbff 0%, #e0f5fe 100%) !important;
    padding: 90px 12px 40px !important;
  }
  #main .molding h1 {
    font-size: 28px !important;
    line-height: 1.2 !important;
    max-width: 100%;
    text-align: center;
  }
  #main .h1-description {
    text-align: center !important;
    font-size: 15px !important;
  }
  #main .main-btn-wrap {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  #main .main-top {
    margin-top: 18px;
    text-align: center;
  }
  /* Скрываем громоздкий блок преимуществ слева на мобильных */
  #main .premos {
    margin: 16px 0 0 !important;
    padding: 16px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
  }
  #main .premo {
    margin-bottom: 12px !important;
    font-size: 13px !important;
  }
}

/* === Sticky TOC (оглавление с якорными ссылками) === */
.usluga-toc {
  position: sticky;
  top: 80px;
  z-index: 50;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  padding: 10px 0;
  font-family: 'Montserrat', sans-serif;
}
.usluga-toc__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: thin;
  white-space: nowrap;
  font-size: 14px;
}
.usluga-toc__label {
  color: #8c94a2;
  font-weight: 600;
  flex-shrink: 0;
}
.usluga-toc a {
  color: #40c8f8;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all .15s;
  flex-shrink: 0;
}
.usluga-toc a:hover {
  color: #1ba8d8;
  border-bottom-color: #1ba8d8;
}

/* === Sticky CTA (фикс-кнопка внизу экрана для мобильных и планшетов) === */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: none; /* показывается через media-query на ≤991 */
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .12);
  font-family: 'Montserrat', sans-serif;
}
.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all .15s;
  border: 2px solid transparent;
  flex: 1;
}
.sticky-cta__btn--call {
  background: #fff;
  color: #40c8f8;
  border-color: #40c8f8;
  flex: 0 0 auto;
  min-width: 130px;
}
.sticky-cta__btn--call:hover {
  background: #f0fbff;
  text-decoration: none;
}
.sticky-cta__btn--quiz {
  background: linear-gradient(135deg, #40c8f8, #1ba8d8);
  color: #fff;
  box-shadow: 0 4px 14px rgba(64, 200, 248, .35);
}
.sticky-cta__btn--quiz:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(64, 200, 248, .45);
  color: #fff;
  text-decoration: none;
}

/* На мобильных и планшетах показываем sticky-cta, скрываем TOC */
@media (max-width: 991px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 70px; }
  .usluga-toc { top: 60px; padding: 8px 0; font-size: 13px; }
  .usluga-toc__label { display: none; }
  .usluga-toc__inner { gap: 14px; }
}

/* Плавная прокрутка к якорям + отступ под sticky TOC */
html { scroll-behavior: smooth; }
:target { scroll-margin-top: 140px; }

/* --- Общий контейнер блока --- */
.usluga-section {
  position: relative;
  padding: 50px 15px;
}
.usluga-section__title {
  font-size: 50px;
  text-align: center;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 12px;
  color: #000;
  font-family: 'Montserrat', sans-serif;
}
.usluga-section__lead {
  font-size: 22px;
  text-align: center;
  color: #8c94a2;
  margin: 0 0 40px;
  font-family: 'Montserrat', sans-serif;
}

/* === Блок 1. Лид-абзац под H1 === */
.usluga-lead-wrap {
  background: #fff;
  padding: 40px 15px 30px;
}
.usluga-lead {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 32px 36px;
  font-size: 18px;
  line-height: 1.65;
  color: #2a2a2a;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .07);
  font-family: 'Montserrat', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
}
.usluga-lead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 6px;
  background: linear-gradient(180deg, #40c8f8, #1ba8d8);
  border-radius: 0 6px 6px 0;
}
.usluga-lead strong {
  color: #40c8f8;
  font-weight: 700;
}

/* === Блок 3. Признаки заражения === */
.usluga-signs {
  background: #fff;
}
.signs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.signs-list li {
  position: relative;
  background: #fff;
  border-radius: 15px;
  padding: 28px 28px 28px 78px;
  font-size: 16px;
  line-height: 1.55;
  color: #2a2a2a;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
  font-family: 'Montserrat', sans-serif;
  transition: transform .2s, box-shadow .2s;
}
.signs-list li::before {
  content: "!";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e42a14;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  box-shadow: 0 4px 12px rgba(228, 42, 20, .25);
}
.signs-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

/* === Блок 4. Методы обработки === */
.usluga-methods {
  background: #f8f9fb;
}
.usluga-methods__body {
  background: #fff;
  padding: 40px 44px;
  border-radius: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: #2a2a2a;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
  font-family: 'Montserrat', sans-serif;
  max-width: 1140px;
  margin: 0 auto;
}
.usluga-methods__body strong {
  color: #40c8f8;
  font-weight: 700;
}

/* === Блок 5. Этапы работы === */
.usluga-etapy {
  background: #fff;
}
.etapy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: etapy;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.etapy-list li {
  position: relative;
  background: #fff;
  border-radius: 15px;
  padding: 32px 28px 28px 28px;
  font-size: 15px;
  line-height: 1.6;
  color: #2a2a2a;
  counter-increment: etapy;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
  font-family: 'Montserrat', sans-serif;
  transition: transform .2s, box-shadow .2s;
}
.etapy-list li::before {
  content: counter(etapy);
  position: absolute;
  left: 28px;
  top: -22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #40c8f8;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 6px 18px rgba(64, 200, 248, .35);
}
.etapy-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}
.etapy-list li strong {
  color: #000;
  display: inline-block;
  margin-bottom: 6px;
  font-size: 16px;
}

/* === Сравнительная таблица === */
.usluga-compare {
  background: #fff;
}
.compare-table {
  max-width: 1140px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 15px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
}
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
}
.compare-table thead th {
  padding: 20px 18px;
  font-weight: 800;
  font-size: 16px;
  text-align: center;
  color: #000;
  background: #f8f9fb;
  border-bottom: 2px solid #e5e7eb;
}
.compare-table thead th.bad {
  color: #dc2626;
  background: #fef2f2;
}
.compare-table thead th.good {
  color: #1ba8d8;
  background: #f0fbff;
}
.compare-table tbody td {
  padding: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #4a5060;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody td:first-child {
  font-weight: 700;
  color: #000;
  width: 22%;
  background: #fafbfc;
}
.compare-table tbody td:nth-child(2) {
  color: #6b7280;
  background: #fef2f2;
  text-align: center;
  position: relative;
  padding-left: 36px;
}
.compare-table tbody td:nth-child(2)::before {
  content: "✕";
  position: absolute;
  left: 14px;
  color: #dc2626;
  font-weight: 900;
  font-size: 16px;
}
.compare-table tbody td:nth-child(3) {
  color: #1f2937;
  background: #f0fbff;
  text-align: center;
  position: relative;
  padding-left: 36px;
  font-weight: 500;
}
.compare-table tbody td:nth-child(3)::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: #1ba8d8;
  font-weight: 900;
  font-size: 16px;
}

/* === Сезонная активность === */
.usluga-season {
  background: #f8f9fb;
}
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.season-card {
  background: #fff;
  border-radius: 15px;
  padding: 24px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
  font-family: 'Montserrat', sans-serif;
  transition: transform .15s, box-shadow .15s;
}
.season-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}
.season-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #000;
  margin-bottom: 12px;
}
.season-card--winter { border-top: 4px solid #93c5fd; }
.season-card--spring { border-top: 4px solid #6ee7b7; }
.season-card--summer { border-top: 4px solid #fcd34d; }
.season-card--autumn { border-top: 4px solid #fdba74; }
.season-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #4a5060;
  margin: 0;
}

/* === Блок 6. Стоимость услуги === */
.usluga-prices {
  background: #f8f9fb;
}
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 0 0 20px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}
.price-cards > div {
  background: #fff !important;
  border: none !important;
  padding: 28px 20px !important;
  border-radius: 15px !important;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
  transition: transform .2s, box-shadow .2s;
  font-family: 'Montserrat', sans-serif;
}
.price-cards > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .1);
}
.price-cards > div > div:first-child {
  font-size: 28px !important;
  font-weight: 900 !important;
  color: #40c8f8 !important;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.price-cards > div > div:last-child {
  font-size: 14px;
  color: #8c94a2;
  font-weight: 500;
}
/* Жёлтые карточки → красные акценты (для дома/коммерции) */
.price-cards > div[style*="fff5e6"] > div:first-child {
  color: #e42a14 !important;
}
.usluga-prices__note {
  font-size: 14px;
  color: #8c94a2;
  text-align: center;
  margin: 16px 0 0;
  font-style: italic;
  font-family: 'Montserrat', sans-serif;
}

/* === Блок 7. Подготовка помещения === */
.usluga-prep {
  background: #fff;
}
.prep-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.prep-list li {
  position: relative;
  background: #fff;
  border-radius: 15px;
  padding: 22px 22px 22px 64px;
  font-size: 16px;
  line-height: 1.55;
  color: #2a2a2a;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
  font-family: 'Montserrat', sans-serif;
}
.prep-list li::before {
  content: "✓";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #40c8f8;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(64, 200, 248, .3);
}

/* === Блок 8. Главный CTA === */
.usluga-cta {
  background: #fff;
  padding: 40px 15px 60px;
}
.usluga-cta__box {
  background: linear-gradient(135deg, #40c8f8 0%, #1ba8d8 100%);
  color: #fff;
  border-radius: 20px;
  padding: 56px 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(64, 200, 248, .25);
  max-width: 1140px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
}
.usluga-cta__title {
  color: #fff;
  font-size: 38px;
  margin: 0 0 14px;
  font-weight: 900;
  line-height: 1.2;
}
.usluga-cta__lead {
  color: #e0f5fe;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.5;
}
.usluga-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.usluga-cta__btn {
  display: inline-block;
  padding: 18px 36px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border-radius: 12px;
  transition: all .2s;
  border: 2px solid transparent;
  font-family: 'Montserrat', sans-serif;
}
.usluga-cta__btn--primary {
  background: #fff;
  color: #1ba8d8;
}
.usluga-cta__btn--primary:hover {
  background: #f0fbff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
  text-decoration: none;
}
.usluga-cta__btn--secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.usluga-cta__btn--secondary:hover {
  background: #fff;
  color: #1ba8d8;
  text-decoration: none;
}

/* === Блок 8.5. Используемые препараты === */
.usluga-preparaty {
  background: #fff;
}
.preparaty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.preparat-card {
  background: #fff;
  border-radius: 15px;
  padding: 24px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
  font-family: 'Montserrat', sans-serif;
  border-left: 4px solid #40c8f8;
  transition: transform .15s, box-shadow .15s;
}
.preparat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}
.preparat-card__name {
  font-size: 19px;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
}
.preparat-card__active {
  font-size: 13px;
  color: #4a5060;
  margin-bottom: 6px;
  padding: 6px 10px;
  background: #f0fbff;
  border-radius: 6px;
  display: inline-block;
}
.preparat-card__safety {
  font-size: 13px;
  color: #16a34a;
  margin: 8px 0;
  padding: 6px 10px;
  background: #f0fdf4;
  border-radius: 6px;
}
.preparat-card__action {
  font-size: 14px;
  line-height: 1.5;
  color: #4a5060;
  margin-top: 10px;
}

/* === Блок 9. FAQ === */
.usluga-faq {
  background: #f8f9fb;
}
.faq-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1140px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
  transition: transform .15s, box-shadow .15s;
  font-family: 'Montserrat', sans-serif;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}
.faq-q {
  padding: 22px 32px;
  font-size: 18px;
  line-height: 1.4;
  color: #000;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.faq-q strong {
  color: #000;
  font-weight: 700;
}
.faq-a {
  padding: 22px 32px;
  font-size: 16px;
  line-height: 1.65;
  color: #4a5060;
}

/* === Блок 10. Дополнительный SEO-текст === */
.usluga-extra {
  background: #fff;
  padding: 50px 15px;
}
.usluga-extra__body {
  font-size: 17px;
  line-height: 1.75;
  color: #2a2a2a;
  max-width: 1140px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
}
.usluga-extra__body h2,
.usluga-extra__body h3 {
  color: #000;
  margin: 30px 0 14px;
  font-weight: 900;
}
.usluga-extra__body h2 { font-size: 32px; }
.usluga-extra__body h3 { font-size: 22px; }
.usluga-extra__body p {
  margin: 0 0 16px;
}
.usluga-extra__body a {
  color: #40c8f8;
  font-weight: 600;
}

/* === Похожие услуги === */
.related-services {
  padding: 50px 15px;
  background: #f8f9fb;
}
.related-services__title {
  text-align: center;
  font-size: 38px;
  color: #000;
  margin: 0 0 30px;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}
.related-services__grid {
  display: grid;
  /* minmax 200px — допускает 5-6 карточек в линию на десктопе 1400px (5×200+4×20 = 1080, влезет 6+); раньше 260px давало 4+1 */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}
.related-card {
  display: block;
  padding: 24px 22px;
  background: #fff;
  border: none;
  border-radius: 15px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
  transition: all .2s;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
}
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(64, 200, 248, .15);
  text-decoration: none;
}
.related-card__title {
  color: #000;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.related-card__descr {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 12px;
  /* Ограничение до 3 строк */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card__more {
  font-size: 13px;
  color: #40c8f8;
  font-weight: 600;
}

/* === Адаптив (планшеты 768-991px) === */
@media (max-width: 991px) {
  #main.usluga-hero { padding: 80px 15px 48px !important; }
  .usluga-hero__title { font-size: 36px; }
  .usluga-hero__lead { font-size: 17px; }
  .usluga-section { padding: 40px 15px; }
  .usluga-section__title { font-size: 36px; }
  .usluga-section__lead { font-size: 18px; margin-bottom: 32px; }
  .usluga-cta { padding: 30px 15px 40px; }
  .usluga-cta__box { padding: 44px 28px; }
  .usluga-cta__title { font-size: 30px; }
  .related-services { padding: 40px 15px; }
  .related-services__title { font-size: 30px; }
  .signs-list,
  .etapy-list,
  .prep-list,
  .price-cards { gap: 16px; }
  .etapy-list li::before { width: 44px; height: 44px; font-size: 19px; top: -20px; }
}

/* === Адаптив (мобильные ≤767px) === */
@media (max-width: 767px) {
  /* --- Шапка статьи --- */
  #main.usluga-hero { padding: 70px 12px 36px !important; }
  #main.usluga-hero::before { width: 200px; height: 200px; }
  .usluga-hero__body { margin-top: 20px; }
  .usluga-hero__title { font-size: 26px; line-height: 1.2; margin-bottom: 14px; }
  .usluga-hero__lead { font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
  .usluga-hero__actions { flex-direction: column; gap: 10px; margin-bottom: 22px; }
  .usluga-hero__btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 15px; }
  .usluga-hero__features { gap: 12px; font-size: 13px; flex-direction: column; align-items: flex-start; text-align: left; max-width: 280px; margin: 0 auto; }

  /* --- Хлебные крошки --- */
  .breadcrumbs { padding: 10px 0; margin-top: 60px; }
  .breadcrumbs__list { font-size: 13px; gap: 6px; flex-wrap: wrap; }

  /* --- Общие секции --- */
  .usluga-section { padding: 28px 12px; }
  .usluga-section__title { font-size: 24px; line-height: 1.25; margin-bottom: 8px; }
  .usluga-section__lead { font-size: 15px; line-height: 1.5; margin-bottom: 20px; }

  /* --- Лид-абзац --- */
  .usluga-lead-wrap { padding: 28px 12px 20px; }
  .usluga-lead { padding: 20px 18px 20px 24px; font-size: 15px; border-radius: 14px; line-height: 1.55; }
  .usluga-lead::before { width: 4px; }

  /* --- Признаки заражения --- */
  .signs-list { gap: 12px; }
  .signs-list li { padding: 20px 18px 20px 64px; font-size: 14px; border-radius: 12px; }
  .signs-list li::before { width: 32px; height: 32px; font-size: 18px; left: 18px; top: 18px; }

  /* --- Методы обработки --- */
  .usluga-methods__body { padding: 24px 20px; font-size: 15px; border-radius: 14px; line-height: 1.6; }

  /* --- Этапы работы --- */
  .etapy-list { gap: 32px; }
  .etapy-list li { padding: 28px 20px 22px; font-size: 14px; border-radius: 12px; line-height: 1.55; }
  .etapy-list li::before { width: 40px; height: 40px; font-size: 18px; top: -20px; left: 20px; }

  /* --- Сравнение --- */
  .compare-table thead th { padding: 12px 10px; font-size: 13px; }
  .compare-table tbody td { padding: 12px 10px; font-size: 13px; }
  .compare-table tbody td:nth-child(2),
  .compare-table tbody td:nth-child(3) { padding-left: 28px; }
  .compare-table tbody td:nth-child(2)::before,
  .compare-table tbody td:nth-child(3)::before { left: 8px; }

  /* --- Сезонность --- */
  .season-card { padding: 18px; }
  .season-card__title { font-size: 16px; }
  .season-card p { font-size: 13px; }

  /* --- Цены --- */
  .price-cards { gap: 12px; }
  .price-cards > div { padding: 22px 16px !important; border-radius: 12px !important; }
  .price-cards > div > div:first-child { font-size: 22px !important; }
  .price-cards > div > div:last-child { font-size: 13px; }
  .usluga-prices__note { font-size: 13px; }

  /* --- Подготовка --- */
  .prep-list { gap: 12px; }
  .prep-list li { padding: 18px 16px 18px 56px; font-size: 14px; border-radius: 12px; }
  .prep-list li::before { width: 26px; height: 26px; font-size: 14px; left: 18px; top: 18px; }

  /* --- CTA --- */
  .usluga-cta { padding: 24px 12px 32px; }
  .usluga-cta__box { padding: 32px 20px; border-radius: 14px; }
  .usluga-cta__title { font-size: 22px; line-height: 1.25; margin-bottom: 8px; }
  .usluga-cta__lead { font-size: 15px; margin-bottom: 22px; }
  .usluga-cta__actions { flex-direction: column; gap: 10px; }
  .usluga-cta__btn { width: 100%; padding: 14px 24px; font-size: 15px; }

  /* --- FAQ --- */
  .faq-block { gap: 10px; }
  .faq-q { padding: 16px 18px; font-size: 15px; line-height: 1.35; }
  .faq-a { padding: 16px 18px; font-size: 14px; line-height: 1.55; }

  /* --- Доп. SEO-текст --- */
  .usluga-extra { padding: 28px 12px; }
  .usluga-extra__body { font-size: 15px; line-height: 1.65; }
  .usluga-extra__body h2 { font-size: 22px; margin-top: 22px; }
  .usluga-extra__body h3 { font-size: 18px; margin-top: 20px; }

  /* --- Похожие услуги --- */
  .related-services { padding: 28px 12px; }
  .related-services__title { font-size: 22px; margin-bottom: 18px; line-height: 1.25; }
  .related-services__grid { gap: 12px; }
  .related-card { padding: 18px 16px; border-radius: 12px !important; }
  .related-card > div:first-child { font-size: 15px !important; }
}

/* === Очень узкие экраны (≤480px) === */
@media (max-width: 480px) {
  .usluga-hero__title { font-size: 22px; }
  .usluga-section__title { font-size: 20px; }
  .breadcrumbs__list { font-size: 12px; }
  .breadcrumbs__list li:nth-child(3) { /* родительская категория — сокращаем при тесноте */
    font-weight: 600;
  }
}

/* ============================================
   Прайс-каталог (стиль dezlux.by, под наш бренд)
   2 таба × 4–5 карточек × таблица "объект-цена-заявка"
   ============================================ */
.prices-catalog {
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
  padding: 70px 0;
  font-family: 'Montserrat', sans-serif;
}
.prices-catalog__title {
  font-size: 32px;
  line-height: 1.25;
  text-align: center;
  margin: 0 auto 36px;
  max-width: 900px;
  color: #1a2433;
  font-weight: 600;
}
.prices-catalog__title b {
  color: #40c8f8;
  font-weight: 800;
}

/* Табы */
.prices-catalog__tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto 36px;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  max-width: 520px;
  box-shadow: 0 4px 20px rgba(64, 200, 248, 0.08);
  border: 1px solid #eaf3f8;
}
.prices-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #5a6b7e;
  cursor: pointer;
  border-radius: 10px;
  transition: all .2s;
  font-family: inherit;
}
.prices-tab:hover { color: #40c8f8; }
.prices-tab.active {
  background: linear-gradient(135deg, #40c8f8 0%, #1ba8d8 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(64, 200, 248, 0.3);
}

/* Панели */
.prices-catalog__pane { display: none; animation: fadeInUp .3s ease; }
.prices-catalog__pane.active { display: block; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Акция-баннер сверху */
.prices-akciya {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #fff5e6 0%, #ffe7b8 100%);
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 24px;
  border: 1px solid #ffd784;
}
.prices-akciya__icon { font-size: 36px; flex-shrink: 0; }
.prices-akciya__text { flex: 1; }
.prices-akciya__title {
  margin: 0 0 4px;
  font-size: 17px;
  color: #6a4a00;
  font-weight: 500;
}
.prices-akciya__title b { color: #d97706; font-weight: 800; }
.prices-akciya__sub {
  margin: 0;
  font-size: 14px;
  color: #876300;
  line-height: 1.4;
}

/* Сетка карточек */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Карточка услуги */
.prices-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(20, 50, 80, 0.06);
  border: 1px solid #eef3f7;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.prices-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(64, 200, 248, 0.15);
}

.prices-card__head {
  background: linear-gradient(135deg, #f0fafe 0%, #e6f5fc 100%);
  padding: 20px 24px;
  border-bottom: 1px solid #e2eef4;
  position: relative;
}
.prices-card__icon {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 36px;
  opacity: .6;
}
.prices-card__name {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  color: #1a2433;
  padding-right: 50px;
  line-height: 1.3;
}
.prices-card__sub {
  margin: 0;
  font-size: 13px;
  color: #6a7a8c;
  padding-right: 50px;
  line-height: 1.4;
}

/* Строки прайса */
.prices-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.prices-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #f3f6f9;
  transition: background .15s;
}
.prices-row:last-child { border-bottom: none; }
.prices-row:hover { background: #f9fcfe; }

.prices-row__obj {
  font-size: 15px;
  color: #2c3e50;
  font-weight: 500;
}
.prices-row__price {
  font-size: 16px;
  font-weight: 700;
  color: #40c8f8;
  white-space: nowrap;
  min-width: 100px;
  text-align: right;
}
.prices-row__btn {
  display: inline-block;
  background: #fff;
  color: #40c8f8;
  border: 1.5px solid #40c8f8;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all .15s;
}
.prices-row__btn:hover {
  background: #40c8f8;
  color: #fff;
  text-decoration: none;
}

/* Сноска под прайсом */
.prices-catalog__note {
  text-align: center;
  color: #6a7a8c;
  font-size: 14px;
  margin-top: 28px;
  padding: 0 20px;
  line-height: 1.55;
}

/* === Адаптив прайса === */
@media (max-width: 1199px) {
  .prices-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 900px) {
  .prices-grid { grid-template-columns: 1fr; gap: 16px; }
  .prices-catalog__title { font-size: 26px; margin-bottom: 28px; }
  .prices-catalog { padding: 50px 0; }
}
@media (max-width: 600px) {
  .prices-catalog__title { font-size: 22px; padding: 0 12px; }
  .prices-catalog__tabs { max-width: 100%; margin: 0 12px 24px; }
  .prices-tab { padding: 12px 10px; font-size: 14px; }
  .prices-akciya { flex-direction: column; text-align: center; padding: 16px; }
  .prices-akciya__icon { font-size: 32px; }
  .prices-card__head { padding: 16px 18px; }
  .prices-card__icon { font-size: 28px; top: 12px; right: 14px; }
  .prices-card__name { font-size: 17px; }
  .prices-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 12px 16px;
  }
  .prices-row__btn { grid-column: 1 / -1; text-align: center; padding: 8px; }
  .prices-row__price { font-size: 15px; }
}
@media (max-width: 380px) {
  .prices-row__obj { font-size: 14px; }
}

/* ============================================
   Блок "Полный спектр услуг" (#uslugi) — выравнивание 5 карточек
   Раньше: col-lg-2 × 5 = 10 из 12 (справа пустое место + разная высота из-за разных пропорций видео)
   Теперь: CSS Grid 5 равных колонок + aspect-ratio для видео
   ============================================ */
#uslugi .row.row-pr {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 30px 0 0 !important;
  width: 100% !important;
  max-width: 100% !important; /* перебиваем .row-pr { max-width: 1170px } из styles.min.css */
}

#uslugi .row.row-pr > .prem,
#uslugi .row.row-pr > .col-lg-2 {
  max-width: 100% !important;
  flex: unset !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

#uslugi .premka {
  height: 100%;
  padding: 0 0 20px !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Видео: единое соотношение 4:3 на всех карточках, обрезка по краям */
#uslugi .videotut {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  background: #f5f7f9;
  margin-bottom: 16px;
}
#uslugi .videotut video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Заголовок и описание — внутри padding и центрированы */
#uslugi .premka .h-pr,
#uslugi .premka > h3 {
  margin: 0 16px 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #1a2433;
  min-height: 48px; /* резервируем место под 2 строки чтобы descr выровнялся */
  display: flex;
  align-items: center;
  justify-content: center;
}
#uslugi .premka .h-pr a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}
#uslugi .premka .h-pr a:hover {
  color: #40c8f8;
}
#uslugi .premka > p {
  margin: 0 16px !important;
  font-size: 13px !important;
  color: #6a7a8c !important;
  line-height: 1.45;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

/* Hover-эффект (тонкое поднятие, как у других карточек на сайте) */
#uslugi .prem {
  transition: transform .2s, box-shadow .2s;
}
#uslugi .prem:hover .premka {
  box-shadow: 0 12px 40px rgba(64, 200, 248, 0.18);
  transform: translateY(-4px);
}

/* === Адаптив === */
@media (max-width: 1199px) {
  #uslugi .row.row-pr { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (max-width: 768px) {
  #uslugi .row.row-pr { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  #uslugi .premka .h-pr { font-size: 16px; min-height: 44px; }
  #uslugi .premka > p { font-size: 12px !important; }
}
@media (max-width: 480px) {
  #uslugi .row.row-pr { grid-template-columns: 1fr; gap: 12px; }
  #uslugi .premka .h-pr { min-height: auto; }
}

/* ============================================
   Блок "Наши преимущества" (#payment) — выравнивание 4 карточек
   Раньше: иконки разной пропорции (портрет/квадрат/широкая) → визуально кривые
   Теперь: квадратный контейнер 140×140 + object-fit:contain + Grid 4×1fr
   ============================================ */
#payment .row.row-payment {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

#payment .row.row-payment > .prem,
#payment .row.row-payment > .col-lg-3 {
  max-width: 100% !important;
  flex: unset !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

#payment .premka {
  height: 100%;
  padding: 28px 24px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Иконки — единый квадратный контейнер, картинка вписывается сохраняя пропорции */
#payment .img-payment {
  width: 140px !important;
  height: 140px !important;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 18px !important;
  display: block;
}

#payment .premka .h-payment {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #1a2433;
  margin: 0 0 14px;
  min-height: 48px; /* резерв для 2 строк, чтобы тексты выровнялись */
  display: flex;
  align-items: center;
  justify-content: center;
}
#payment .premka .p-payment {
  font-size: 14px;
  line-height: 1.5;
  color: #5a6b7e;
  margin: 0;
  flex-grow: 1;
}

#payment .prem {
  transition: transform .2s, box-shadow .2s;
}
#payment .prem:hover .premka {
  box-shadow: 0 12px 40px rgba(64, 200, 248, 0.18);
  transform: translateY(-4px);
}

/* === Адаптив === */
@media (max-width: 1199px) {
  #payment .row.row-payment { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 600px) {
  #payment .row.row-payment { grid-template-columns: 1fr; gap: 14px; }
  #payment .img-payment { width: 120px !important; height: 120px !important; }
  #payment .premka .h-payment { font-size: 17px; min-height: auto; }
}

/* ============================================
   Блок "Отзывы клиентов" (#work) — slick-карусель с вертикальными скриншотами
   Раньше: img width=597 height=1280 + object-fit:fill → растягивание/искажение
   Теперь: фиксированный aspect-ratio контейнера 3/5, object-fit:cover для слайдов
   Внутри slick `.slide-item` ширина задаётся самим slick (slidesToShow:6 → ~228px на 1400px)
   ============================================ */
.up-rwslider .slide-item {
  padding: 0 8px;
}
.up-rwslider .slider-item-block {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(20, 50, 80, 0.06);
  transition: transform .2s, box-shadow .2s;
}
.up-rwslider .slider-item-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(64, 200, 248, 0.16);
}
.up-rwslider .slider-item-block-img,
.up-rwslider .block-img-block {
  width: 100%;
  margin: 0;
}
.up-rwslider .block-img-block a {
  display: block;
  width: 100%;
  aspect-ratio: 597 / 1280; /* родная пропорция скриншотов мессенджеров (~9:19.3) — никакой обрезки */
  overflow: hidden;
}
.up-rwslider .block-img-block img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* contain — отзыв виден целиком без обрезки */
  object-position: center;
  display: block;
  cursor: zoom-in;
  transition: transform .25s;
  background: #f8fafc;
}
.up-rwslider .block-img-block:hover img {
  transform: scale(1.03);
}

/* Slick navigation dots — стилизуем под бренд */
.up-rwslider .slick-dots {
  margin-top: 24px;
  display: flex !important;
  justify-content: center;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.up-rwslider .slick-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d6dce3;
  font-size: 0;
  cursor: pointer;
  padding: 0;
  transition: background .15s, transform .15s;
}
.up-rwslider .slick-dots li.slick-active button {
  background: #40c8f8;
  transform: scale(1.2);
}

/* === Адаптив отзывов === */
@media (max-width: 1024px) {
  .up-rwslider .block-img-block a { aspect-ratio: 3 / 5; }
}
@media (max-width: 767px) {
  .up-rwslider .slide-item { padding: 0 6px; }
}

/* ============================================
   Блок «Выберите ваш город» (#city-picker)
   6 карточек в линию на десктопе, 3×2 на планшете, 2×3 на мобильном, 1×6 на узком
   ============================================ */
#city-picker {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  scroll-margin-top: 80px; /* учитываем фиксированный navbar */
}
.city-picker__title {
  text-align: center;
  font-size: 30px;
  margin: 0 0 8px;
  color: #1a2433;
  font-weight: 700;
}
.city-picker__sub {
  text-align: center;
  color: #6a7a8c;
  margin: 0 auto 32px;
  max-width: 700px;
  font-size: 15px;
}

.city-picker__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.city-card {
  display: block;
  padding: 22px 18px;
  background: #fff;
  border: 1.5px solid #eef3f7;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  box-shadow: 0 2px 8px rgba(20, 50, 80, 0.04);
}
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(64, 200, 248, 0.18);
  border-color: #40c8f8;
  text-decoration: none;
}
.city-card__name {
  font-size: 20px;
  font-weight: 800;
  color: #40c8f8;
  margin-bottom: 6px;
  line-height: 1.2;
}
.city-card__region {
  font-size: 13px;
  color: #5a6b7e;
  line-height: 1.3;
  margin-bottom: 10px;
}
.city-card__price {
  font-size: 12px;
  color: #8c94a2;
  border-top: 1px dashed #eef3f7;
  padding-top: 8px;
  margin-top: 8px;
}
.city-card--accent {
  border-color: #40c8f8;
  background: linear-gradient(135deg, #f0fafe 0%, #ffffff 100%);
}
.city-card--accent .city-card__name {
  color: #1ba8d8;
}

/* === Адаптив города-picker === */
@media (max-width: 1199px) {
  .city-picker__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .city-picker__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .city-picker__title { font-size: 24px; }
  .city-card { padding: 18px 14px; }
  .city-card__name { font-size: 18px; }
}
@media (max-width: 420px) {
  .city-picker__grid { grid-template-columns: 1fr; }
}

