.buttons-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    container-type: inline-size;
    container-name: buttons;
}

/* Кнопка 1: Получить оценку - Зеленая с иконкой */
.btn-estimate {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:
            0 8px 25px rgba(40, 167, 69, 0.4),
            0 4px 0 #1e7e34,
            inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    white-space: nowrap;
}

.btn-estimate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-estimate:hover::before {
    left: 100%;
}

.btn-estimate:hover {
    transform: translateY(-3px);
    box-shadow:
            0 15px 40px rgba(40, 167, 69, 0.5),
            0 6px 0 #1e7e34,
            inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-estimate:active {
    transform: translateY(2px);
    box-shadow:
            0 5px 15px rgba(40, 167, 69, 0.4),
            0 2px 0 #1e7e34;
}

.btn-estimate img,
.btn-call img,
.btn-telegram img {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

/* Кнопка 2: Позвонить - Оранжевая/Красная с иконкой телефона */
.btn-call {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 28px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffcc00 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow:
            0 8px 25px rgba(255, 107, 53, 0.4),
            0 4px 0 #d35400,
            inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    animation: pulse 2s infinite;
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    white-space: nowrap;
}

@keyframes pulse {
    0%, 100% {
        box-shadow:
                0 10px 30px rgba(255, 107, 53, 0.4),
                0 4px 0 #d35400,
                inset 0 1px 0 rgba(255,255,255,0.3);
    }
    50% {
        box-shadow:
                0 15px 40px rgba(255, 107, 53, 0.6),
                0 4px 0 #d35400,
                inset 0 1px 0 rgba(255,255,255,0.3),
                0 0 20px rgba(255, 107, 53, 0.5);
    }
}

.btn-call::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-call:hover::before {
    left: 100%;
}

.btn-call:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
            0 20px 50px rgba(255, 107, 53, 0.5),
            0 6px 0 #d35400,
            inset 0 1px 0 rgba(255,255,255,0.3);
    animation: none;
}

.btn-call:active {
    transform: translateY(2px) scale(1);
    box-shadow:
            0 5px 15px rgba(255, 107, 53, 0.4),
            0 2px 0 #d35400;
}

.btn-call img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
    animation: shake 3s infinite;
}

@keyframes shake {
    0%, 90%, 100% { transform: rotate(0deg); }
    92% { transform: rotate(-10deg); }
    94% { transform: rotate(10deg); }
    96% { transform: rotate(-10deg); }
    98% { transform: rotate(10deg); }
}

.btn-call:hover img {
    animation: none;
    transform: scale(1.2);
}

/* Кнопка 3: Telegram - Фирменный синий */
.btn-telegram {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #0088cc 0%, #00a8e6 50%, #34b7f1 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow:
            0 8px 25px rgba(0, 136, 204, 0.4),
            0 4px 0 #006699,
            inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    white-space: nowrap;
}

.btn-telegram::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-telegram:hover::before {
    left: 100%;
}

.btn-telegram:hover {
    transform: translateY(-3px);
    box-shadow:
            0 15px 35px rgba(0, 136, 204, 0.5),
            0 6px 0 #006699,
            inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-telegram:active {
    transform: translateY(2px);
    box-shadow:
            0 5px 15px rgba(0, 136, 204, 0.4),
            0 2px 0 #006699;
}

.btn-telegram img {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
    animation: fly 2s ease-in-out infinite;
}

@keyframes fly {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.btn-telegram:hover img {
    animation: none;
    transform: scale(1.2) rotate(-10deg);
}

/* Текст внутри кнопки звонка */
.call-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.call-label {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.call-number {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Дополнительная информация */
.info-text {
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
}

/* Когда ширина блока buttons-container меньше 700px - кнопки в колонку */
@container buttons (max-width: 700px) {
    .buttons-container {
        flex-direction: column;
        align-items: center;
    }

    .btn-estimate,
    .btn-call,
    .btn-telegram {
        width: 100%;
        max-width: 400px;
        min-width: auto;
        padding: 18px 25px;
        font-size: 15px;
    }

    .btn-estimate img,
    .btn-call img,
    .btn-telegram img {
        width: 24px;
        height: 24px;
    }

    .call-label {
        font-size: 12px;
    }

    .call-number {
        font-size: 16px;
    }
}

/* Мобильный breakpoint для экранов меньше 768px */
@media (max-width: 768px) {
    .buttons-container {
        flex-direction: column;
        align-items: center;
    }

    .btn-estimate,
    .btn-call,
    .btn-telegram {
        width: 100%;
        max-width: 400px;
        min-width: auto;
        padding: 18px 25px;
        font-size: 15px;
    }

    .btn-estimate img,
    .btn-call img,
    .btn-telegram img {
        width: 24px;
        height: 24px;
    }

    .call-label {
        font-size: 12px;
    }

    .call-number {
        font-size: 16px;
    }
}

/* Мобильный breakpoint - оставляем для совместимости */
@media (max-width: 480px) {
    .btn-estimate,
    .btn-call,
    .btn-telegram {
        padding: 16px 20px;
        font-size: 14px;
    }
}
