/* Reset & Base Styles */

h2 {
    margin-bottom: 100px;
}

section,
header {
    min-width: 0;
}

/* ============================================
   HEADER
   ============================================ */

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* ===================== */
/* БАЗА offcanvas меню   */
/* ===================== */

.logo-desktop {
    display: block;
}

/* ============================================
   ABOUT US
   ============================================ */

.about-us-contentTabletMobile {
    display: none;
}

.about-us-contentTablet {
    display: none;
}

.about-us-container {
    padding: 100px 20px;
}

.about-us-title {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 20px;
}

.about-us-content {
    display: flex;
    flex-direction: row;
    gap: 60px;
}

.about-us-content-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 100px;
}

.about-us-back {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-primary);
}

.about-us-content-item-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-us-content-item-text {
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #2C2C2C;
}

.about-us-2-container {
    padding: 60px 40px;
    background-color: var(--color-bg-alt);
    border-radius: 20px;
    background-image: url(../images/chooseBackground.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-us-2-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
}

.about-us-2-text {
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #2C2C2C;
}

.about-us-2-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.advantages {
    padding: 100px 20px;
}

.advantages-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
}

.advantages-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.advantages-content-item {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.advantages-content-item-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.advantages-content-item-text {
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #2C2C2C;
}

.advantages-content-item img {
    width: 60px;
    height: 60px;
}

.how-we-help-container {
    margin-bottom: 80px;
}

.how-we-help-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
}

.how-we-help-content {
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--color-primary);
}

.how-we-help-text {
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #2C2C2C;
}

.advantages-content-item a,
.how-we-help-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

@media (min-width: 768px) and (max-width: 1280px) {
    .logo-desktop {
        display: none;
    }

    /* справа только «Войти» */

    .hero-title--desktop {
        display: none;
    }

    .hero-title--tablet {
        display: inline-block; /* или block — в зависимости от места */
    }

    .about-us-contentTabletMobile {
        display: none;
    }

    .about-us-content {
        display: none;
    }

    .about-us-contentTablet {
        display: flex;
        flex-direction: column;
    }

    .about-us-contentTablet {
        display: flex;
    }

    .about-us-content-item-titleTablet {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .about-us-content-item-textTablet {
        font-size: 20px;
    }

    .about-us-contentTablet img {
        margin-bottom: 40px;
    }

    .about-us-title {
        font-size: 34px;
    }

    .about-us-back {
        font-size: 20px;
    }
}

@media (max-width: 767px) {

    /* Header and Hero компоненты */
    .logo-desktop {
        display: none;
    }

    /* справа только «Войти» */
    .hero-title--desktop {
        display: none;
    }

    .hero-title--tablet {
        display: inline-block; /* или block — в зависимости от места */
    }

    .about-us-content {
        display: none;
    }

    .about-us-contentTablet {
        display: none;
    }

    .about-us-contentTabletMobile {
        display: flex;
        flex-direction: column;
    }

    .about-us-content-item-titleTabletMobile {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .about-us-content-item-textTabletMobile {
        font-size: 16px;
    }

    .about-us-content-item-imgTabletMobile {
        margin-bottom: 40px;
    }

    .about-us-title {
        font-size: 28px;
    }

    .about-us-back {
        font-size: 16px;
    }


    .about-us-2-title {
        font-size: 24px;
    }

    .about-us-2-text {
        font-size: 16px;
    }


    .advantages-title {
        font-size: 24px;
    }

    .advantages-content-item-title {
        font-size: 20px;
    }

    .advantages-content-item-text {
        font-size: 16px;
    }

    .advantages-content-item img {
        width: 40px;
        height: 40px;
    }

    .how-we-help-title {
        font-size: 24px;
    }

    .how-we-help-text {
        font-size: 16px;
    }

}