html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

img,
video {
  height: auto;
}

table {
  width: 100%;
  max-width: 100%;
}

.custom-seo-container,
.article-container,
.service-content,
.content-wrapper,
main {
  box-sizing: border-box;
  max-width: min(1100px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.price-table,
.service-table,
.comparison-table {
  width: 100%;
  max-width: 100%;
}

.benefits,
.benefits-grid,
.cards-grid,
.service-grid,
.services-grid,
.pricing-grid,
.review-grid,
.reviews-grid,
.related-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cta-box,
.faq,
.faq-item,
.benefit,
.review-card,
.related-card,
.internal-links-section {
  overflow-wrap: anywhere;
}

.service-footer {
  background: #12365b;
  color: #dce8f2;
  margin-top: 64px;
  padding: 46px 0 22px;
  font-family: Inter, Arial, sans-serif;
}

.service-footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.service-footer-inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 30px;
  align-items: start;
}

.service-footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 12px;
}

.service-footer-logo span {
  color: #00a3ff;
}

.service-footer p {
  color: #dce8f2;
  margin: 0 0 12px;
  line-height: 1.65;
  text-align: left;
}

.service-footer h4 {
  color: #ffffff;
  font-size: 1rem;
  margin: 0 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(0, 163, 255, 0.45);
}

.service-footer a {
  color: #dce8f2;
  text-decoration: none;
}

.service-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.service-footer-list {
  display: grid;
  gap: 9px;
}

.service-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.service-footer-badges span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  padding: 6px 10px;
  font-size: 0.86rem;
}

.service-footer-call {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin: 4px 0 12px;
  padding: 10px 16px;
  border-radius: 6px;
  background: #00a3ff;
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none !important;
}

.service-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b8c7d6;
  font-size: 0.9rem;
}

.service-footer-bottom p {
  margin: 0;
  color: #b8c7d6;
}

@media (max-width: 900px) {
  .service-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .custom-seo-container,
  .article-container,
  .service-content,
  .content-wrapper,
  main {
    width: 100%;
    max-width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.55rem) !important;
    line-height: 1.16 !important;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.45rem, 6vw, 2rem) !important;
    line-height: 1.22 !important;
  }

  h3 {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem) !important;
    line-height: 1.28 !important;
  }

  p,
  li {
    font-size: 16px !important;
    text-align: left !important;
  }

  .benefits,
  .benefits-grid,
  .cards-grid,
  .service-grid,
  .services-grid,
  .pricing-grid,
  .review-grid,
  .reviews-grid,
  .related-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .cta-box,
  .faq,
  .faq-item,
  .benefit,
  .review-card,
  .internal-links-section {
    padding: 18px !important;
  }

  .cta-box a,
  .btn,
  .btn-cta,
  .hero-actions a {
    width: 100%;
    max-width: 380px;
    box-sizing: border-box;
    text-align: center;
  }

  .price-table,
  .service-table,
  .comparison-table {
    display: table;
    table-layout: auto;
  }

  .price-table th,
  .price-table td,
  .service-table th,
  .service-table td,
  .comparison-table th,
  .comparison-table td {
    white-space: normal;
  }

  .service-footer {
    margin-top: 42px;
    padding: 34px 0 18px;
  }

  .service-footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* ---- 2026-08 readability + mobile pass ---- */
.custom-seo-container p { text-align: left; hyphens: none; }
.custom-seo-container h1 { font-size: clamp(24px, 5.2vw, 34px); line-height: 1.22; }
.custom-seo-container h2 { font-size: clamp(20px, 4.2vw, 26px); line-height: 1.28; margin-top: 38px; }
.custom-seo-container h3 { font-size: clamp(17px, 3.4vw, 20px); line-height: 1.3; }
.custom-seo-container p, .custom-seo-container li { font-size: 17px; line-height: 1.72; }
.cta-box a, .btn-cta, a.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; }
.internal-links-section ul { list-style: none; padding-left: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 20px; }
.internal-links-section li { margin: 0; }
.internal-links-section a { display: block; padding: 11px 4px; min-height: 44px; box-sizing: border-box; color: #1a4d7a; text-decoration: none; border-bottom: 1px solid #eef1f4; }
.internal-links-section a:hover { text-decoration: underline; }
.breadcrumbs a:hover { text-decoration: underline; }
.image-block img { max-height: 460px; object-fit: cover; }
@media (max-width: 700px) {
  .benefits { grid-template-columns: 1fr !important; }
  .price-table th, .price-table td { padding: 10px 8px; font-size: 15px; }
  .image-block img { max-height: 260px; }
  .custom-seo-container { padding: 18px 14px !important; }
}


/* ---- контекстная ссылка на профильную страницу услуги (2026-08) ---- */
.hub-uplink{
  margin:26px 0;padding:16px 18px;
  background:#f2f8fd;border:1px solid #d8e7f4;border-left:4px solid #00A3FF;
  border-radius:10px;font-size:1rem;line-height:1.6;color:#2d3748;
}
.hub-uplink a{color:#1A365D;text-decoration:underline;text-underline-offset:3px}
.hub-uplink a:hover{color:#00A3FF}
@media(max-width:600px){.hub-uplink{padding:14px 15px;font-size:.95rem}}


/* ---- развилка на странице дезинфекции: увести тех, кто пришёл за вредителями ---- */
.dez-split{
  margin:22px 0 26px;padding:18px 20px;
  background:#f4f9f6;border:1px solid #d7e8de;border-left:4px solid #12a06a;
  border-radius:12px;font-size:1rem;line-height:1.65;color:#2d3748;
}
.dez-split p{margin:0 0 10px}
.dez-split ul{margin:0;padding-left:20px}
.dez-split li{margin:6px 0}
.dez-split a{color:#1A365D;text-decoration:underline;text-underline-offset:3px}
.dez-split a:hover{color:#12a06a}
@media(max-width:600px){.dez-split{padding:15px 16px;font-size:.95rem}}

/* readability + mobile pass, 2026-08 */
.custom-seo-container p { text-align: left !important; hyphens: none; }
.custom-seo-container h1 { font-size: clamp(24px, 5.2vw, 34px) !important; line-height: 1.22; }
.custom-seo-container h2 { font-size: clamp(20px, 4.2vw, 26px) !important; line-height: 1.28; margin-top: 38px; }
.custom-seo-container h3 { font-size: clamp(17px, 3.4vw, 20px) !important; line-height: 1.3; }
.custom-seo-container p, .custom-seo-container li { font-size: 17px !important; line-height: 1.72 !important; }
.custom-seo-container .cta-box p { font-size: 16px !important; }
.cta-box a { min-height: 48px !important; display: inline-flex !important; align-items: center; justify-content: center; padding: 14px 28px !important; }
.internal-links-section ul { list-style: none !important; padding-left: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 4px 20px; }
.internal-links-section li { margin: 0 !important; }
.internal-links-section a { display: block; padding: 12px 4px; min-height: 46px; box-sizing: border-box; color: #1a4d7a; text-decoration: none; border-bottom: 1px solid #e6ecf2; }
.internal-links-section a:hover { text-decoration: underline; }
.breadcrumbs a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .benefits { grid-template-columns: 1fr !important; }
  .price-table th, .price-table td { padding: 10px 8px !important; font-size: 15px !important; }
  .image-block img { max-height: 260px !important; }
  .custom-seo-container { padding: 18px 14px !important; }
}

