/* ===== Почему мы ===== */
.why {
    position: relative;
    padding-top: 50px;
}

.why__title {
    padding: 0 0 25px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 400;
    color: var(--color-green);
    margin: 0;
}

.why__name{
	color: #3c3c3bb3;
}

.why__title strong { font-weight: 700; }

/* ===== Общее для карточек ===== */
.why__item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: var(--color-white);
    flex-shrink: 0;
}

.why__img {
	object-position: center;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.why__wrap--1 .why__item:nth-child(1) .why__img {
    object-position: center 25%;
}


.why__name {
    font-size: 15px;
    line-height: 1.28;
    padding: 21px 20px 10px;
}

.why__desc {
    font-size: 13px;
    line-height: 1.6;
    padding: 0 20px 24px;
    color: var(--color-gray);
}

.why__icoBox {
    padding: 14px 14px 3px;
}

.why__ico {
    width: 50px;
    height: 52px;
    display: block;
}

/* Нижний блок на мобилке скрыт */
.why__bottom { display: none; }

/* ===== Мобильные слайдеры ===== */
[data-why-slider] { overflow: hidden; border-radius: 14px; }
[data-why-slider="2"] { padding-top: 20px; }

.why__wrap {
    display: flex;
    align-items: flex-start;
}

/* ===== Кнопки слайдера (мобилка) ===== */
.sliderArr {
    display: flex;
    padding: 20px 0 0;
    justify-content: space-between;
}

.sliderArr__btn {
    display: flex;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: 0.32s;
    color: var(--color-gray);
    border: 0;
    border-radius: 50%;
    background: var(--color-white);
    justify-content: center;
    align-items: center;
}

.sliderArr__btn:hover {
    color: var(--color-gold);
    background: var(--color-green);
}

.sliderArr__btn--left {
    transform: rotate(180deg);
}

.sliderArr__ico {
    width: 7px;
    height: 13px;
}

.sliderArr__btn:disabled {
    opacity: 0.4;
    cursor: default;
}

/* ===== Десктоп (>= 860px) ===== */
@media (min-width: 860px) {
    [data-why-slider] { overflow: visible; border-radius: 0; }

    .why__wrap--1 {
        display: grid;
        align-items: stretch;
        gap: 1.6%;
        grid-template-columns: repeat(3, 1fr);
    }

    .why__wrap--2 {
        display: grid;
        align-items: stretch;
        gap: 1.6%;
        grid-template-columns: repeat(3, 1fr);
    }

    /* В верхнем слайдере оставляем только 3 карточки */
    .why__wrap--1 .why__item:nth-child(n + 4) { display: none; }

    [data-why-slider="2"] { padding-top: 24px; }

    .why__bottom {
        display: grid;
        padding: 24px 0 0;
        gap: 1.6%;
        grid-template-columns: repeat(3, 1fr);
    }

    .why__item { border-radius: 20px; }
    .why__img  { height: 20vw;}
    .why__name { font-size: 20px; padding: 14px 22px 15px; }
    .why__desc { font-size: 14px; padding: 0 22px 16px; }
    .why__icoBox { padding: 14px 22px 6px; }

    /* Скрываем кнопки слайдера — на десктопе сетка */
    .why__arr { display: none; }

	
}

@media (min-width: 1080px) {
    .why__title { font-size: 50px; }
    .why__item { border-radius: 24px; }
    .why__name { font-size: 20px; }
    .why__desc { font-size: 15px; }
}