/* ==========================================================================
   ПРОМО-БЛОК С МАСКОТАМИ (promo-block.php)
   ========================================================================== */
.promo-violet {
    position: relative;
    border-radius: 32px;
    /* Скругление как на современных макетах */
    overflow: hidden;
    margin: 0px 0;
    padding: 80px 0 120px 0px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

/* Фиолетовый оверлей поверх картинки кабинета */
.promo-violet__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Фирменный цвет Виолы с прозрачностью 85% */
    background-color: rgba(99, 41, 163, 0.85);
    z-index: 1;
}

.promo-violet__container {
    position: relative;
    z-index: 2;
}

.promo-violet__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Изменено: Увеличили колонку с текстом до 70% */
.promo-violet__content {
    flex: 0 0 60%;
    max-width: 60%;
}

.promo-violet__title {
    color: #ffffff;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
}

/* Акцентный текст в заголовке */
.promo-accent {
    opacity: 0.9;
}

.promo-violet__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.promo-violet__item-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.promo-violet__item-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

/* Изменено: Уменьшили колонку маскота до 30% (примерно на треть) */
.promo-violet__visual {
    flex: 0 0 30%;
    max-width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.promo-violet__mascot {
    width: 125%;
    /* Оставляем нахлест, чтобы маскот эффектно смотрелся в уменьшенной колонке */
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: scale(1.05);
}

/* ==========================================================================
   ГЛОБАЛЬНЫЕ СТИЛИ (Если еще не добавлены в основной CSS)
   ========================================================================== */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn--white {
    background-color: #ffffff;
    color: #6329a3;
    /* Фиолетовый текст */
}

.btn--white:hover {
    background-color: #f4f4f4;
    transform: translateY(-2px);
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 991px) {

    /* Изменено: Скрываем контейнер с маскотом целиком на мобильных */
    .promo-violet__visual {
        display: none !important;
    }

    /* Текстовый блок теперь занимает 100% ширины на планшетах и мобилках */
    .promo-violet__content {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .promo-violet__grid {
        grid-template-columns: 1fr;
        /* В один столбец на телефонах */
        gap: 20px;
    }

    .promo-violet {
        padding: 50px 0;
        margin: 40px 0;
    }

    .promo-violet__title {
        margin-bottom: 30px;
    }
}

.btn__icon-calendar {
    display: inline-block;
    width: 24px; /* Если иконка будет мелкой/крупной, измените эти значения */
    height: 24px;
    background-color: currentColor; /* Магия: иконка автоматически берет цвет текста кнопки (#6329a3) */
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}