/* ION Heat — Corporate Values */

.values {
    background: var(--fon-light);
    overflow: hidden;
}

.values .container {
    flex-direction: column;
    gap: 38px;
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 100px;
}

.values__head {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.values__label {
    color: var(--text);
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 130%;
    font-weight: 800;
    text-transform: uppercase;
}

.values__title {
    color: var(--text);
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    line-height: var(--h2-line-height);
    font-weight: var(--h2-font-weight);
}

/* Сетка — десктоп */
.values__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 24px;
    align-self: stretch;
}

/* Карточка */
.values__card {
    background: var(--white);
    border-radius: 12px;
    padding: 13px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    transition: box-shadow 0.25s;
}

.values__card:hover {
    box-shadow: var(--card-shadow);
}

.values__card-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
}

.values__card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.values__card-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
}

.values__card-name {
    color: var(--text);
    font-family: var(--text1-font-family);
    font-size: var(--text1-font-size);
    line-height: var(--text1-line-height);
    font-weight: var(--text1-font-weight);
}

.values__card-line {
    border: none;
    border-top: 1px solid var(--line);
    align-self: stretch;
    margin: 0;
}

.values__card-desc {
    color: var(--text);
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 130%;
    font-weight: 300;
    align-self: stretch;
}

/* Swiper — скрыт на десктопе */
.values__swiper { display: none; }

/* ── Адаптив ────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .values__grid   { display: none; }
    .values__swiper { display: block; width: 100%; }

    .values .container {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .values__title {
        font-size: clamp(32px, 5vw, 64px);
    }

    .values__swiper .swiper-pagination {
        position: static;
        margin-top: 24px;
    }

    .values__swiper .swiper-pagination-bullet {
        background: var(--fon2);
        opacity: 0.3;
        width: 10px;
        height: 10px;
    }

    .values__swiper .swiper-pagination-bullet-active {
        background: var(--main);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .values__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}