/* ION Heat — Why Choose Plasma Nitriding */

:root {
    --button-who-choose: #e4e4e4;
    --line: #626369;
}

.why-plasma {
    padding: 100px 0;
}

.why-plasma .container {
    flex-direction: row;
    gap: 0;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

.why-plasma__inner {
    background: var(--fon-light);
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    gap: 46px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    width: 100%;
    overflow: hidden;
}

/* Левая часть — картинка */
.why-plasma__img-wrap {
    background: var(--text);
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width:50%;
    min-height: 622px;
    overflow: hidden;
    padding: 10px;
}

.why-plasma__img {
    max-width: 669px;
    height: 713px;
    object-fit: cover;
    display: block;
    width: 100%;
}

/* Правая часть — текст */
.why-plasma__content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
    flex: 1;
    padding: 40px 46px 40px 0;
}

.why-plasma__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    align-self: stretch;
}

.why-plasma__title {
    color: var(--text);
    text-align: left;
    font-family: var(--h2-font-family);
    font-size: 42px;
    line-height: var(--h2-line-height);
    font-weight: var(--h2-font-weight);
    align-self: stretch;
}

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

.why-plasma__desc {
    color: var(--text);
    text-align: left;
    font-family: "Manrope", sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 130%;
    font-weight: 500;
    align-self: stretch;
}

/* Список кнопок */
.why-plasma__links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    align-self: stretch;
}

.why-plasma__link {
    background: var(--button-who-choose);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 10px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    text-decoration: none;
    transition: background 0.2s;
}

.why-plasma__link:hover {
    background: var(--accent);
}

.why-plasma__link span {
    color: var(--text);
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 130%;
    font-weight: 300;
    text-transform: uppercase;
    transition: color 0.2s;
}

.why-plasma__link:hover span {
    color: var(--white);
}

.why-plasma__link img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── Адаптив ────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .why-plasma__inner {
        flex-direction: column;
        border-radius: 12px;
    }

    .why-plasma__img-wrap {
        width: 100%;
        min-height: auto;
        border-radius: 12px 12px 0 0;
        padding: 20px;
    }

    .why-plasma__img {
        width: 100%;
        height: auto;
        max-height: 600px;
        object-fit: cover;
    }

    .why-plasma__content {
        padding: 32px 24px 40px;
    }

    .why-plasma__title {
        font-size: clamp(32px, 5vw, 42px);
    }
}

@media (max-width: 768px) {
    .why-plasma {
        padding: 60px 0;
    }
    .why-plasma__img {
    
        max-height: 400px;
        
    }
}