/* =========================================================
   achievements — «Достижения»: тёмная секция + слайдер.
   Карточки — те же, что в «Возможностях» (why-card + why-num + медиа внизу),
   здесь только цвета и размеры под слайдер.
   Слайдер — JS (assets/js/scripts.js, data-ach-*).
   ========================================================= */

.ach-section {
    padding: var(--section-pad) 0;
}

.ach-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 64px;
}

.ach-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--fs-title);
    line-height: 1;
    color: var(--color-white);
}

.ach-nav {
    display: flex;
    gap: 8px;
}

.ach-arrow {
    width: 46px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-btn);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ach-arrow:hover {
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
    color: var(--color-white);
}

/* Слайдер */
.ach-slider {
    overflow: hidden;
}

.ach-track {
    display: flex;
    gap: 40px;
    transition: transform 0.4s ease;
}

/* Карточка = why-card, перекрашенная под секцию и слайдер */
.ach-section .ach-card {
    flex: 0 0 calc((100% - 80px) / 3);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 348px;
    padding: 21.6px;
    background-color: #2b2b2d;
    color: var(--color-white);
}

.ach-section .ach-card--blue {
    background-color: var(--color-accent-blue);
}

/* Год — по углам внутреннего паддинга карточки */
.ach-section .ach-card .why-num {
    top: 21.6px;
    right: 21.6px;
}

/* Низ карточки: текст 60% + фото 38% в одном ряду */
.ach-card-row {
    display: flex;
    align-items: flex-start;
    gap: 2%;
    margin-top: auto;
}

.ach-card-row .why-card-text {
    flex: 0 0 60%;
    margin: 0;
}

.ach-card-row .why-card-media {
    flex: 0 0 38%;
    width: 38%;
    height: auto;
    object-fit: contain;
}

/* Весь текст в плашках — белый; заголовки одного размера, без капса */
.ach-section .ach-card .why-num {
    color: var(--color-white);
}

.ach-section .ach-card .why-card-text {
    color: var(--color-white);
}

.ach-section .ach-card .why-card-type,
.ach-section .ach-card .why-card-title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-white);
}

@media (max-width: 1024px) {
    .ach-section .ach-card {
        flex-basis: calc((100% - 40px) / 2);
    }
}

@media (max-width: 640px) {
    .ach-section .ach-card {
        flex-basis: 100%;
    }
}
