/* «Почему выбирают MOBITECH» per Figma "М. Главная" (393) and "Главная" (1920): bordered cards, no numbers.
   Tablet (768–1199) has no Figma frame: 2×2 grid in the desktop style. */
.advantages__title {
    margin-bottom: 15px;
}

.advantages__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.advantages__item {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 10px;
    /* Figma "М. Главная": 1.5px inside stroke #e2e2e2. An inset shadow, like a Figma inside stroke, takes no room
       (padding and height stay as in the mockup) and is not rounded down to 1px the way a 1.5px border is. */
    box-shadow: inset 0 0 0 1.5px var(--temno-belyy);
}

.advantages__content {
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
    color: var(--chernyy);
}

@media (min-width: 768px) {
    .advantages {
        background: var(--belyy);
        padding-block: 30px;
    }

    .advantages__title {
        margin-bottom: 20px;
    }

    .advantages__wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .advantages__item {
        min-height: 90px;
        padding: 20px;
        box-shadow: inset 0 0 0 3px var(--temno-belyy); /* Figma "Главная": 3px inside stroke */
    }

    .advantages__content {
        font-weight: 600;
        font-size: 20px;
        line-height: 130%;
        text-wrap: balance;
    }
}

@media (min-width: 1200px) {
    .advantages {
        padding-block: 40px;
    }

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

    .advantages__item {
        min-height: 110px;
        padding: 25px;
    }

    .advantages__content {
        font-size: clamp(18px, 10.67px + 0.6111vw, 23px);
    }
}
