@media screen and (max-width: 1350px) {
    .help-ways__main .tabs {
        top: 84px;
    }
}

@media screen and (max-width: 1024px) {
    .help-ways__hero .breadcrumb-item + .breadcrumb-item {
        padding-left: 8px;
    }

    .help-ways__hero .hero-title, .help-ways__hero p, .help-ways__hero .img-desc {
        color: var(--white);
    }

    .help-ways__hero .hero-title {
        color: var(--white);
        font-size: 70px;
        margin-top: 5px;
        letter-spacing: -0.01em;
        max-width: 750px;
    }

    .help-ways__hero .breadcrumb {
        margin-bottom: 0;
    }

    .help-ways__hero p {
        color: var(--white);
        margin-top: auto;
    }

    .help-ways__hero .img-desc {
        display: none;
    }

    .help-ways__hero {
        background-image: linear-gradient(270deg, rgba(0, 0, 0, 0) 51.01%, rgba(0, 0, 0, 0.3) 77.77%), url("../../img/help_ways/help-ways-hero.jpg");
        background-position: 62% center;
        margin-bottom: 120px;
    }

    .help-ways__main-desc {
        grid-column: 1 / -1;
        order: -1;
        margin-bottom: 29px;
        margin-top: 0;
    }

    .help-ways__list {
        grid-column: 1 / -1;
        margin-top: 8px;
    }

    .help-ways__main-desc h1:last-of-type {
        padding-left: 76px;
        margin-top: 4px;
        margin-bottom: 42px;
    }

    .help-ways__main-desc p {
        padding-left: 0;
    }

    .help-ways__main .tabs {
        margin-bottom: 0;
    }

    .help-ways__list .item h2 {
        font-size: 52px;
        margin-bottom: 64px;
        line-height: 100%;
    }

    .help-ways__list .item h2::after {
        margin-bottom: -0.1em;
    }

    .help-ways__list .item p {
        margin-bottom: 16px;
    }

    .help-ways__contacts p {
        grid-column: 1 / -1;
    }

    .help-ways__contacts .contacts-list {
        grid-column: 1 / -1;
        order: -1;
        margin-bottom: 31px;
    }

    .help-ways__contacts h1 {
        order: -2;
        margin-bottom: 56px;
    }

    .help-ways__contacts {
        background-color: var(--white);
        /*padding-top: 0;*/
    }

    .help-ways__contacts h1::after {
        margin-bottom: -0.28em;
    }

    .help-ways__contacts .contacts-list .contact:first-of-type {
        order: 2;
    }

    .help-ways__contacts .contacts-list .contact-title {
        letter-spacing: -0.02em;
        font-weight: 700;
        font-size: 20px;
        line-height: 130%;
    }

    .help-ways__contacts .contacts-list .contact-desc {
        font-weight: 400;
        font-size: 20px;
        line-height: 130%;
        letter-spacing: -0.02em;
        max-width: 180px;
    }
}

@media screen and (max-width: 768px) {
    .help-ways__main-desc h1 {
        font-size: clamp(2.5rem, -3.125rem + 15.63vw, 4.375rem);
    }

    .help-ways__list .item h2 {
        font-size: clamp(1.75rem, -2.75rem + 12.5vw, 3.25rem);
    }

    .help-ways__contacts .contacts-list {
        gap: clamp(0.625rem, -5rem + 15.63vw, 2.5rem);
    }
}

@media screen and (max-width: 576px) {
    .help-ways__hero .hero-title {
        font-size: 40px;
    }

    .help-ways__hero .hero-container {
        gap: 34px;
    }

    .help-ways__hero {
        background-position: 72% center;
        margin-bottom: 80px;
    }

    .help-ways__main-desc h1:last-of-type {
        padding-left: 24px;
        margin-bottom: 25px;
    }

    .help-ways__main-desc p {
        font-weight: 500;
        font-size: 16px;
        line-height: 130%;
        letter-spacing: 0;
    }

    .help-ways__main-desc {
        margin-bottom: 6px;
    }

    .help-ways__main .tabs {
        margin-bottom: -9px;
        top: 60px;
    }

    .help-ways__list .item {
        padding: 24px;
    }

    .help-ways__list .item h2 {
        margin-bottom: 40px;
    }

    .help-ways__list .item p {
        font-weight: 500;
        font-size: 16px;
        line-height: 130%;
        letter-spacing: 0;
        margin-bottom: 16px;
    }

    .help-ways__list .item button {
        font-weight: 500;
        font-size: 12px;
        line-height: 110%;
        letter-spacing: 0;
        padding: 6px 10px;
        gap: 5px;
    }

    .help-ways__list {
        margin-top: 0;
    }

    .help-ways__main {
        margin-bottom: 80px;
    }

    .help-ways__contacts h1 {
        text-align: center;
        margin-bottom: 40px;
    }

    .help-ways__contacts h1::after {
        margin-bottom: -0.38em;
    }

    .help-ways__contacts .contacts-list {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 14px;
    }

    .help-ways__contacts .contacts-list .contact-title {
        font-weight: 600;
        font-size: 16px;
        line-height: 130%;
        letter-spacing: 0;
    }

    .help-ways__contacts .contacts-list .contact-desc {
        font-weight: 500;
        font-size: 16px;
        line-height: 130%;
        letter-spacing: 0;
        text-align: right;
        max-width: 165px;
    }

    .help-ways__contacts .contacts-list .contact {
        display: flex;
        justify-content: space-between;
    }

    .help-ways__contacts p {
        font-weight: 500;
        font-size: 16px;
        line-height: 130%;
        letter-spacing: 0;
    }

    .help-ways__contacts p b {
        font-weight: 600;
        letter-spacing: 0;
    }

    .help-ways__contacts .info-map {
        margin-top: 14px;
    }

    .help-ways__contacts {
        padding-bottom: 80px;
        padding-top: 80px;
    }
}

