@media screen and (max-width: 1100px) {
    .service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card h3 {
        min-height: 0;
    }

    .section__advantages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 900px) {
    .seo-hero-grid,
    .seo-split,
    .seo-bottom-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .seo-hero img { height: 330px; }
    .seo-step-grid { grid-template-columns: 1fr; }
    .compact-grid { grid-template-columns: 1fr; gap: 28px; }
    .detail-header nav { display: none; }
    .detail-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .detail-two-col { grid-template-columns: 1fr; gap: 30px; }
    .detail-chip-grid, .detail-method-grid { grid-template-columns: 1fr; }
    .detail-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .pest-detail-grid {
        grid-template-columns: 1fr;
    }
    .pest-links-grid {
        grid-template-columns: 1fr;
    }
    .header-nav {
        display: none;
    }

    .section__header-nav-links {
        display: none;
    }

    .section__hamburger-menu {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .hamburger-button {
        position: relative;
        z-index: 42;
        width: 48px;
        height: 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: 0;
        color: #ffffff;
        background: transparent;
        cursor: pointer;
    }

    .hamburger-button span {
        width: 31px;
        height: 2px;
        display: block;
        background: #ffffff;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .hamburger-button span + span {
        margin-top: 7px;
    }

    .hamburger-button.is-active span:first-child {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger-button.is-active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-button.is-active span:last-child {
        transform: translateY(-9px) rotate(-45deg);
    }

    .h-menu-show {
        position: fixed;
        inset: 0;
        z-index: 40;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 31, 73, 0.97);
    }

    .h-links {
        width: min(100% - 30px, 600px);
        border-top: 1px solid rgba(255, 255, 255, 0.35);
    }

    .h-links a {
        min-height: 64px;
        padding: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
        color: #ffffff;
        font-family: "Oswald", Arial, sans-serif;
        font-size: 1.2rem;
    }

    .header-block {
        width: min(700px, 86%);
    }

    .process-list,
    .reviews {
        grid-template-columns: 1fr;
    }

    .process-item,
    .review {
        min-height: 0;
    }

    .symptoms-layout,
    .costs-layout,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media screen and (max-width: 650px) {
    .seo-hero { padding: 42px 0 54px; }
    .seo-hero img { height: 250px; box-shadow: 10px 10px 0 var(--orange); }
    .seo-check-card { padding: 25px; }
    .seo-step-grid article { min-height: 0; }
    .compact-hero { padding: 46px 0 56px; }
    .compact-grid article { padding: 24px; }
    .detail-header .top-nav-button { display: none; }
    .detail-quick-grid, .detail-steps { grid-template-columns: 1fr; }
    .detail-quick-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
    .pest-detail-hero { padding: 48px 0 66px; }
    .detail-guarantee-box { padding: 25px; grid-template-columns: 1fr; }
    .pest-link-card {
        min-height: 0;
        padding: 20px;
    }
    .pest-link-icon { width: 58px; height: 58px; font-size: 1.3rem; }
    .wrapper {
        width: min(100% - 30px, 1240px);
    }

    .top-nav,
    .container__top-navbar {
        height: 70px;
    }

    .section__logo {
        min-width: 0;
        gap: 8px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 0.95rem;
    }

    .logotype {
        font-size: 1.3rem;
    }

    .brand-tagline {
        margin-top: 4px;
        font-size: 0.43rem;
        letter-spacing: 0.11em;
    }

    .section__top-nav-span {
        display: none;
    }

    .top-nav {
        z-index: 50;
    }

    .section__hamburger-menu {
        width: auto;
    }

    .hamburger-button {
        width: 48px;
        height: 48px;
        background: var(--blue);
    }

    header,
    .container__header {
        min-height: 570px;
    }

    header {
        background-position: 56% center;
    }

    .bgf {
        background: rgba(0, 31, 73, 0.86);
    }

    .header-block {
        width: 100%;
        padding: 48px 0 68px;
    }

    .header-block h1 {
        font-size: clamp(2.6rem, 12vw, 4rem);
    }

    .header-intro {
        margin-top: 16px;
        font-size: 1.02rem;
    }

    .header-list {
        margin: 18px 0 24px;
    }

    .header-list li {
        font-size: 0.96rem;
    }

    .header-button {
        width: 100%;
        justify-content: center;
    }

    .header-note {
        font-size: 0.82rem;
    }

    .section__advantages,
    .service-cards,
    .symptoms-list {
        grid-template-columns: 1fr;
    }

    .section__advantages {
        padding: 24px 0;
        gap: 14px;
    }

    .advantage {
        min-height: 0;
        padding: 22px 18px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 18px;
        text-align: left;
        border-top-width: 0;
        border-left: 4px solid var(--blue);
    }

    .a-icon {
        width: 42px;
        margin: 0;
        flex: 0 0 42px;
        font-size: 2.2rem;
        text-align: center;
    }

    .a-desc {
        margin-top: 6px;
    }

    .section {
        padding: 58px 0;
    }

    .section-heading {
        margin-bottom: 28px;
        text-align: left;
    }

    .section-heading h2,
    .symptoms-copy h2,
    .costs-panel h2,
    .faq-intro h2,
    .final-cta h2 {
        font-size: 2rem;
    }

    .process-item {
        padding: 22px 20px;
        gap: 15px;
    }

    .process-number {
        font-size: 2rem;
    }

    .content-button {
        width: 100%;
        padding-inline: 14px;
        font-size: 0.98rem;
    }

    .service-cards {
        gap: 16px;
    }

    .service-card-content {
        padding: 22px 20px 24px;
    }

    .service-card img {
        height: 220px;
    }

    .symptoms-layout,
    .costs-layout,
    .faq-layout {
        gap: 28px;
    }

    .symptoms-list li {
        min-height: 0;
        padding: 18px;
    }

    .costs-panel,
    .costs-checklist {
        padding: 28px 22px;
    }

    .review {
        padding: 25px 22px;
    }

    .faq-list summary {
        padding: 18px 50px 18px 18px;
    }

    .faq-list details p {
        padding: 0 18px 20px;
    }

    .final-cta-button {
        width: 100%;
        justify-content: center;
    }

    .footer {
        padding-bottom: 96px;
    }

    .footer__list,
    .footer__list-privacy {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer__list {
        gap: 18px;
    }

    .footer__list-privacy {
        gap: 10px;
    }

    .fixed-button {
        right: 15px;
        bottom: 14px;
        left: 15px;
        display: inline-flex;
        justify-content: center;
    }
}

@media screen and (max-width: 370px) {
    .brand-mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .logotype {
        font-size: 1.12rem;
    }

    .brand-tagline {
        letter-spacing: 0.08em;
    }

    .header-button .button-copy strong,
    .final-cta-button .button-copy strong {
        font-size: 1.16rem;
    }
}
