@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) {
    .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-hide {
        display: none;
    }

    .h-menu-show {
        position: fixed;
        inset: 0;
        z-index: 40;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--blue-dark);
    }

    .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 {
        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;
    }

    .review {
        flex-basis: calc((100% - 34px) / 2);
    }
}

@media screen and (max-width: 650px) {
    .wrapper {
        width: min(100% - 30px, 1240px);
    }

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

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

    .logo-mark {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .logo-copy {
        gap: 4px;
    }

    .logotype {
        font-size: 1.22rem;
    }

    .logo-subtitle {
        font-size: 0.68rem;
    }

    .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.1rem, 9.2vw, 2.95rem);
    }

    .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 {
        flex-basis: 86%;
        padding: 25px 22px;
    }

    .reviews-carousel {
        margin-inline: 0;
        padding-inline: 0;
    }

    .reviews {
        gap: 10px;
        padding-right: 14px;
        padding-bottom: 18px;
    }

    .review-head {
        grid-template-columns: 44px 1fr 26px;
        gap: 10px;
    }

    .review-avatar {
        width: 44px;
        height: 44px;
    }

    .review-source {
        width: 26px;
        height: 26px;
    }

    .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: 10px;
    }

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

    .footer__list {
        gap: 18px;
    }

    .footer__list-privacy {
        gap: 10px;
    }

    .fixed-button {
        right: max(15px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        left: auto;
        display: inline-flex;
        justify-content: center;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .fixed-button::before {
        animation: fixed-call-ring 2.6s ease-out infinite;
    }

    .fixed-button i {
        animation: fixed-call-pop 2.6s ease-in-out infinite;
    }
}

@media screen and (max-width: 370px) {
    .logotype {
        font-size: 1.08rem;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .logo-subtitle {
        font-size: 0.63rem;
    }

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