@media (max-width: 1120px) {
    .nav-list {
        gap: 13px;
        font-size: 14px;
    }

    .help-board,
    .callback-strip__inner,
    .bottom-search__inner {
        grid-template-columns: 1fr;
    }

    .help-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .callback-strip img {
        height: 360px;
    }

}

@media (max-width: 1180px) {
    .nav-toggle,
    .nav-close {
        display: inline-grid;
        width: 44px;
        height: 44px;
        place-items: center;
        font-size: 22px;
    }

    .nav-panel {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(390px, 92vw);
        height: 100vh;
        align-content: start;
        align-items: stretch;
        display: grid;
        gap: 24px;
        padding: 28px;
        background: #fff8ef;
        box-shadow: -20px 0 60px rgba(32, 1, 0, 0.24);
        transform: translateX(104%);
        transition: transform 0.25s ease;
        z-index: 120;
        overflow-y: auto;
    }

    .nav-panel.is-open {
        transform: translateX(0);
    }

    .nav-close {
        justify-self: end;
    }

    .nav-list {
        display: grid;
        gap: 0;
        font-size: 18px;
    }

    .nav-list a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 900px) {
    .topbar__inner {
        justify-content: center;
        text-align: center;
    }

    .topbar__contact span {
        display: none;
    }

    .hero-slider {
        min-height: 590px;
    }

    .hero-slide::after {
        background: linear-gradient(180deg, rgba(32, 1, 0, 0.72), rgba(79, 29, 9, 0.54));
    }

    .hero-slide__content {
        transform: translate(-50%, -42%);
    }

    .hero-slide__content p:not(.eyebrow) {
        font-size: 18px;
    }

    .section {
        padding: 68px 0;
    }

    .section-head--split,
    .content-layout,
    .event-grid,
    .question-grid,
    .article-grid,
    .about-tabs__content,
    .footer__bottom {
        grid-template-columns: 1fr;
    }

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

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

    .footer__bottom {
        text-align: center;
    }

    .socials {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .topbar__inner {
        min-height: 44px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 8px 0;
    }

    .topbar__contact {
        display: contents;
    }

    .topbar__contact > a[href^="tel"] {
        order: 1;
        justify-self: center;
        font-size: 15px;
        font-weight: 800;
    }

    .topbar__contact .messengers {
        order: 2;
        justify-content: center;
    }

    .top-action {
        display: grid;
        width: 28px;
        min-width: 28px;
        height: 28px;
        place-items: center;
        color: var(--nut);
        background: rgba(255, 248, 239, 0.78);
        font-size: 12px;
    }

    .top-action i {
        display: block;
    }

    .top-action span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .main-nav {
        min-height: 68px;
    }

    .article-nav {
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }

    .article-nav__list {
        display: none;
    }

    .logo__image {
        width: 128px;
    }

    .hero-slider {
        min-height: 640px;
    }

    .hero-slide__content h1,
    .hero-slide__content h2 {
        font-size: 42px;
    }

    .hero-actions,
    .about-tabs__nav {
        display: grid;
    }

    .btn,
    .btn--ghost {
        width: 100%;
    }

    .help-tabs,
    .help-results,
    .footer__grid,
    .client-grid {
        grid-template-columns: 1fr;
    }

    .help-tab {
        min-height: 50px;
    }

    .callback-strip {
        padding: 54px 0;
    }

    .callback-strip img {
        order: 2;
        height: 280px;
        border-radius: 18px;
    }

    .quick-form {
        order: 1;
        padding: 24px;
    }

    .event-card img,
    .news-card img {
        height: 190px;
    }

    .article-card {
        padding: 22px;
    }

    .article-card h3 {
        font-size: 21px;
    }

    .article-card h2 {
        font-size: 24px;
    }

    .about-tabs__nav button {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .commercial-offer {
        min-height: 46px;
        padding: 12px 14px;
        font-size: 14px;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
