.header__promo-telegram {
    position: relative;
    width: 282px;
    height: 180px;
    background: var(--color-grey);
    border-radius: 25px;
    overflow: hidden;
}

.header__promo-telegram--mobile {
    display: none;
}

.header__telegram-image {
    position: absolute;
    width: 186px;
    height: 166px;
    right: 15px;
    top: 0;
    transition: all 0.3s ease;
}

.header__telegram-content {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.header__telegram-title {
    font-size: 32px;
    line-height: 100.2%;
    margin-bottom: 0;
    transition: font-size 0.3s ease;
}

.header__telegram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.header__telegram-icon:hover {
    transform: translateY(-2px);
}

/* Адаптивные стили */
@media (max-width: 1200px) {
    .header__promo-telegram {
        display: none;
    }
    .header__promo-telegram--mobile {
        display: block;
        width: 100%;
        font-size: 32px;
        margin-top: 40px;
        background: var(--color-grey);
        border-radius: 25px;
        overflow: hidden;
        position: relative;
    }

    .header__telegram-image {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {
    .header__promo-telegram--mobile {
        height: 125px;
        margin-top: 30px;
    }
}

  /* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .header__telegram-title {
        font-size: 20px;
    }

    .header__telegram-content {
        bottom: 20px;
        left: 15px;
        right: 15px;
    }

    .header__promo-telegram--mobile {
        margin-top: 20px;
    }

    .header__telegram-image {
        width: 120px;
        height: 105px;
    }
    
    .header__telegram-icon {
        width: 40px;
        height: 40px;
    }

    .header__telegram-content {
        bottom: 15px;
        left: 12px;
        right: 12px;
        gap: 8px;
    }
} 