@media screen and (max-width: 1100px) {

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        justify-content: stretch;
    }

    .process__list {
        grid-template-columns: repeat(2, 1fr);
        justify-content: stretch;
    }

    .about__text {
        margin: 20px 0;
        text-indent: 0;
    }

    .process, .services, .faq, .contact {
        padding: 40px 0;
    }

    .transport-services__content {
        padding-top: 60px;
    }
}

@media screen and (max-width: 820px) {

    .about__container {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: nowrap;
    }

    .about__content {
        display: contents;
    }

    .about__title {
        order: 4;
    }

    .about__media {
        order: 3;
    }

    .about__text {
        margin: 0;
        order: 2;
    }

    .about__features {
        display: flex;
        gap: 30px;
        order: 1;
        margin-top: 10px;
    }

    .about__media img {
        width: 740px;
        height: 300px;
    }
}

@media screen and (max-width: 780px) {

    .about__media img {
        width: 700px;
        height: 300px;
    }
}

/* --- Планшеты --- */
@media screen and (max-width: 768px) {

    .about__text {
        text-indent: 64px;
    }

    .hero {
        padding: 100px 0;
    }

    .burger {
        display: flex;
    }

    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        background: #fff;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        padding: 20px 0;
    }

    .header__nav.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header__menu {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }

    .modal-content {
        max-width: 90%;
        padding: 30px 25px;
    }

    .modal h2 {
        font-size: 1.4rem;
    }

    .btn {
        font-size: 0.95rem;
        padding: 10px;
    }

    .transport-services__title {
        font-size: 32px;
    }
}

@media screen and (max-width: 740px) {

    .about__media img {
        width: 660px;
        height: 300px;
    }
}

@media screen and (max-width: 700px) {

    .about__media img {
        width: 620px;
        height: 300px;
    }
}

@media screen and (max-width: 660px) {

    .about__media img {
        width: 580px;
        height: 290px;
    }
}

@media screen and (max-width: 620px) {

    .about__media img {
        width: 540px;
        height: 270px;
    }
}

/* --- Смартфоны --- */
@media screen and (max-width: 600px) {

    .hero {
        padding: 70px 0;
    }

    .hero__title {
        font-size: 36px;
    }

    .footer__top {
        padding: 20px 15px;
        gap: 15px;
    }

    .logo img {
        width: 100px;
        height: auto;
    }

    .footer__contacts {
        gap: 12px;
    }

    .footer__contact a {
        font-size: 13px;
    }

    .footer__social img {
        width: 28px;
        height: 28px;
    }

    .footer__bottom {
        font-size: 12px;
        padding: 12px 0;
    }

    .modal-window {
        width: 90%;
        padding: 16px;
    }

    #ok-button {
        width: 100%;
        padding: 14px;
    }
}

@media screen and (max-width: 580px) {

    .about__media img {
        width: 500px;
        height: 250px;
    }

    .services__grid {
        grid-template-columns: repeat(1, 1fr);
        justify-content: stretch;
    }

    .process__list {
        grid-template-columns: repeat(1, 1fr);
        justify-content: stretch;
    }
}

@media screen and (max-width: 540px) {

    .about__media img {
        width: 460px;
        height: 230px;
    }

    .modal__checkbox-block {
        font-size: 14px;
    }
}

@media screen and (max-width: 520px) {

    .header__nav.active {
        gap: 18px;
    }

    .header__contacts--desktop {
        display: none;
    }

    .header__contacts--mobile {
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    .privacy__title {
        font-size: 24px;
    }
}

@media screen and (max-width: 500px) {

    .about__media img {
        width: 420px;
        height: 210px;
    }
}

@media screen and (max-width: 480px) {

    .modal {
        padding: 10px;
        align-items: flex-start;
    }

    .modal__content {
        max-width: 100%;
        border-radius: 8px;
        padding: 10px 15px;
        margin-top: 25px;
    }

    .modal__title {
        margin-bottom: 20px;
    }

    .modal__close {
        top: 8px;
    }

    .modal h2 {
        font-size: 1.2rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 10px;
    }

    .close {
        font-size: 24px;
        top: 8px;
        right: 10px;
    }
}

@media screen and (max-width: 460px) {

    .about__media img {
        width: 380px;
        height: 190px;
    }
}

@media screen and (max-width: 431px) {
    .modal__checkbox-block {
        font-size: 13px;
    }
}

@media screen and (max-width: 425px) {

    .hero {
        padding: 50px 0;
    }

    .hero__title {
        font-size: 30px;
    }

    .hero__subtitle {
        font-size: 14px;
        margin-bottom: 0;
    }

    .hero__actions {
        gap: 13px;
    }

    .about {
        padding: 40px 0;
    }

    .about__title {
        margin: 0;
    }

    .about__text {
        font-size: 16px;
    }

    .about__features {
        gap: 9px;
        margin-top: 0;
    }

    .about__feature-value {
        font-size: 24px;
    }

    .about__media img {
        width: 340px;
        height: 170px;
    }

    .contact__map {
        height: 200px
    }

    .faq__question {
        font-size: 13px;
    }

    .footer__bottom {
        width: 258px;
        margin: 0 auto;
    }

    .modal__form {
        gap: 12px;
    }

    .modal__row {
        gap: 10px;
    }

    .modal__input, .modal__textarea {
        font-size: 13px;
    }

    .modal__label {
        font-size: 13px;
    }

    .transport-services__title {
        font-size: 24px;
    }

    .transport-services__lead {
        font-size: 16px;
    }

    .transport-services__subtitle {
        font-size: 20px;
    }

    .privacy__title {
        font-size: 22px;
    }

    .privacy__pre-title {
        font-size: 18px;
    }

    .privacy__description {
        font-size: 14px;
    }

    .privacy__lists {
        margin-left: 20px;
    }

    .privacy__list {
        font-size: 14px;
    }
}

@media screen and (max-width: 405px) {
    .modal__checkbox-block {
        font-size: 12px;
    }
}

@media screen and (max-width: 380px) {

    .about__media img {
        width: 300px;
        height: 150px;
    }

    .modal__checkbox-block {
        font-size: 11px;
    }
}

@media screen and (max-width: 375px) {
    .transport-services__title {
        font-size: 20px;
    }
}


@media screen and (max-width: 355px) {
    .modal__checkbox-block {
        font-size: 10px;
    }
}

@media screen and (max-width: 340px) {

    .about__media img {
        width: 260px;
        height: 130px;
    }

    .footer__top {
        gap: 6px;
    }
}

@media screen and (max-width: 330px) {

    .logo img {
        width: 85px;
        height: auto;
    }

    .modal__checkbox-block {
        font-size: 9px;
    }
}