/* Преимущества (Категория) */
.advantages {
    margin-top: 20px;   /* от баннера */
    margin-bottom: 62px; /* до табов категорий */
}

.advantages__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.adv-card {
    display: flex;
    align-items: stretch;
    min-height: 218px;
    background-color: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(39, 43, 51, 0.05);
    overflow: hidden;
}

.adv-card__img {
    flex-shrink: 0;
    /* width: 45%; */
    align-self: stretch;
    object-fit: contain;
    object-position: left center;
}

.adv-card__content {
    padding: 50px 0 0 50px; /* заголовки обеих карточек на одной высоте, как в макете */
}

.adv-card__title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    color: #272b33;
}

.adv-card__text {
    max-width: 330px;
    margin: 0;
    font-size: 16px;
    line-height: 25px;
    color: #9aa0a8;
}

/* Таблет (макета нет — экстраполяция) */
@media (max-width: 1024px) {
    .advantages__list {
        grid-template-columns: 1fr;
    }

    .adv-card {
        min-height: 180px;
    }

    .adv-card__content {
        padding: 32px 0 32px 40px;
    }

    .adv-card__title {
        margin-bottom: 14px;
        font-size: 20px;
    }

    .adv-card__text {
        max-width: none;
    }
}

/* Мобайл */
@media (max-width: 640px) {
    .advantages {
        margin-top: 12px;
        margin-bottom: 66px;
    }

    .advantages__list {
        gap: 15px;
    }

    .adv-card {
        flex-direction: column;
        min-height: 0;
        border-radius: 16px;
        padding-bottom: 20px;
    }

    .adv-card__img {
        width: 100%;
        height: 150px;
        object-position: center;
    }

    .adv-card__content {
        padding: 6px 20px 0;
    }

    .adv-card__title {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .adv-card__text {
        max-width: none;
        line-height: 22px;
    }
}

/* Тёмная тема */
body.dark .adv-card {
    background-color: #1e232b;
}

body.dark .adv-card__title {
    color: var(--color-white);
}