/* ==========================================================================
   БЛОК ПОКАЗАНИЙ (ЧИСТАЯ ВЕРСИЯ)
   ========================================================================== */

.indication-card {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 24px;
    /* Базовая высота 280px (чтобы 2-й ряд был нужной высоты) */
    min-height: 280px; 
    height: 100%; 
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(41, 43, 50, 0.06);
    transition: all 0.3s ease;
}

.indication-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(41, 43, 50, 0.12);
}

/* --- КОНТЕЙНЕР ЧИСЛА --- */
.indication-card__number-wrapper {
    height: 50px; /* Уменьшили на 2px по ТЗ */
    overflow: hidden; 
    margin-bottom: 30px; 
    display: flex;
    align-items: flex-start;
    margin-top: -4px; 
}

.indication-card__number-text {
    font-family: 'Lato', sans-serif;
    font-size: 77px; 
    font-weight: 400;
    line-height: 0.75; 
    text-transform: uppercase;
    background: linear-gradient(90deg, #F44847 0%, #F19E57 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* --- КОНТЕНТ (Стилизация чистых тегов) --- */
.indication-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1; 
}

/* Применяем стили напрямую к h3 внутри секции (или карточки) */
.indications-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--header-dark, #292B32);
    margin: 0;
    line-height: 130%; /* Увеличили line-height по ТЗ */
}

/* Применяем стили напрямую к p внутри карточки */
.indication-card p {
    font-size: 14px;
    line-height: 1.4;
    color: var(--header-gray, #7C8498);
    margin: 0;
}

.indication-card__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.indication-card__link {
    font-size: 14px;
    font-weight: 500;
    color: #407CFF;
    text-decoration: none;
}

/* --- ОРАНЖЕВАЯ КАРТОЧКА --- */
.indication-card--orange {
    background: linear-gradient(135deg, #F44847 0%, #F19E57 100%);
}

.indication-card--orange .indication-card__number-text {
    background: none;
    -webkit-text-fill-color: initial;
    color: rgba(255, 255, 255, 0.4); 
}

/* Перекрашиваем чистые теги в белый на оранжевом фоне */
.indication-card--orange h3,
.indication-card--orange p,
.indication-card--orange .indication-card__link {
    color: #FFFFFF;
}

/* --- БЛОК С ФОТО (ПК) --- */
.indication-card-image {
    position: relative; /* Важно: точка отсчета для картинки */
    height: 100%;
    min-height: 280px; 
    border-radius: 20px;
    overflow: hidden; /* Обрезаем всё, что вываливается за скругленные углы */
    box-shadow: 0 4px 16px rgba(41, 43, 50, 0.06);
}

.indication-card-image img {
    position: absolute; /* Вырываем из потока! Картинка больше не диктует высоту */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняем весь блок красиво, отрезая лишнее */
    display: block;
}
/* ==========================================================================
   АДАПТИВ (МОБИЛЬНАЯ ВЕРСИЯ)
   ========================================================================== */

@media (max-width: 991.98px) {
    .indication-card {
        min-height: auto;
        padding-bottom: 70px; 
        position: relative;
    }

    .indication-card__content {
        margin-bottom: 10px;
    }

.indication-card__number-wrapper {
        position: absolute;
        bottom: 21px; 
        left: 24px;
        margin-bottom: 0;
        margin-top: 0;
        /* Уменьшили высоту с 42px до 40px, чтобы обрезать число еще на 2px */
        height: 40px; 
    }

    .indication-card__number-text {
        font-size: 60px; 
        line-height: 0.75;
    }

    .indication-card__footer {
        position: absolute;
        bottom: 21px; 
        right: 24px;
        margin-top: 0;
        padding-bottom: 2px; 
    }
}