/* ============================================================
   FOR WHOM
   Figma: .div → .forwhom
   ============================================================ */


   .gradient-bottom {
    background: linear-gradient(to top, #050505 0%, rgba(5, 5, 5, 0.00) 100%);
    width: 100%;
    height: 100px;
    display: block;
    position: relative;
    z-index: 2;
    margin-top: -50px;
}


.forwhom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    z-index: 2;

}

/* ── Шапка секции (.frame-52 + .frame-51) ── */
.forwhom__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    padding: 0 var(--section-padding-x);
}

.forwhom__head-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 100%;
    max-width: 1360px;
    position: relative;
    padding-bottom: 45px;
}

.forwhom__title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-bebas);
    font-size: 50px;
    line-height: 54px;
    font-weight: 700;
    position: relative;
    align-self: stretch;
    margin: 0;
}

.forwhom__subtitle {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-myriad);
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
    position: relative;
    align-self: stretch;
    margin: 0;
}

/* ── Карточки (.frame-59) ── */
.forwhom__cards {
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
    
    flex-shrink: 0;
    position: relative;
    margin-top: -1px auto 0;
    width: 100%;
    max-width: calc(1500px + var(--section-padding-x) * 2);
    padding-left: var(--section-padding-x);
    padding-right: var(--section-padding-x);
}

/* ── Карточка (.frame-56/57/58) ── */
.forwhom__card {
    border: 1px solid var(--linii);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 21px;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    position: relative;
        overflow: hidden;
   
  
}


.forwhom__card:hover{
        background: #151515 url('/wp-content/uploads/2026/05/frame-hover.png') top center / 100% auto no-repeat;
  
}



/* Контент поверх свечения */
.forwhom__card-top,
.forwhom__card-bottom {
    position: relative;
    z-index: 1;
}


/* Убираем двойной бордер между карточками */
.forwhom__card + .forwhom__card {
    margin-left: -1px;
}

/* ── Верх карточки (.frame-562) ── */
.forwhom__card-top {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    flex: 1;
}

/* Иконка */
.forwhom__card-icon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    object-fit: contain;
    aspect-ratio: 1;
}

/* Текстовый блок (.frame-54) */
.forwhom__card-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}

/* Заголовок карточки (.div4) */
.forwhom__card-title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-bebas);
    font-size: 28px;
    line-height: 29px;
    font-weight: 700;
    position: relative;
    align-self: stretch;
    margin: 0;
}

/* Описание (.div5) */
.forwhom__card-desc {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-myriad);
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    position: relative;
    align-self: center;
    max-width: 300px;
    margin: 0;
}

/* ── Кнопка (.frame-60 + .frame-11) ── */
.forwhom__card-bottom {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

.forwhom__card-btn {
    background: var(--gradient-zheltyj);
    border-radius: 5px;
    padding: 13px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    color: var(--color-black);
    -webkit-text-fill-color: var(--color-black);
    font-family: var(--font-bebas);
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: transform .15s;
}



.forwhom__card-btn:hover {
    background: linear-gradient(180deg, #C7A21B 0%, #FFDB73 100%);
}


/* ── Адаптив ── */
@media (max-width: 1024px) {
    .forwhom__title {
        padding: 0 20px;
        font-size: clamp(28px, 4vw, 50px);
        line-height: 115%;
    }

    .forwhom__subtitle {
        font-size: clamp(18px, 2vw, 20px);
        line-height: 117%;
    }
}

@media (max-width: 767px) {
    .forwhom__cards {
        flex-direction: column;
    }

    .forwhom__card + .forwhom__card {
        margin-left: 0;
        margin-top: -1px;
    }

    .forwhom__card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .gradient-bottom {
        height: 70px;
    }
}
