/* assets/css/footer.css */

.medical-disclaimer {
    background-color: #f8f9fa;
    color: #6c757d;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    padding: 20px 0;
    letter-spacing: 1px;
    border-top: 1px solid var(--border-color);
}

.site-footer {
    background-color: #0055b3;
    color: #ffffff;
    padding: 70px 0 0 0;
}

.footer-grid-container {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 0.9fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
}

.footer-text {
    color: #e0ecff;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-link {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #b3d7ff;
}

.footer-legal {
    font-size: 12px;
    color: #b3d7ff;
    margin-top: auto;
    line-height: 1.5;
}

.footer-legal a {
    color: #ffffff;
}

/* Список филиалов */
.footer-branches {
    list-style: none;
}

.footer-branches li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 13.5px;
    color: #e0ecff;
    line-height: 1.4;
}

.footer-branches li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
}

.footer-branches li strong {
    color: #ffffff;
    display: block;
    font-size: 14px;
}

.branch-time {
    font-size: 11.5px;
    color: #b3d7ff;
}

/* Контакты */
.footer-phone-link {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-phone-link:hover {
    color: #b3d7ff;
}

/* ОФОРМЛЕНИЕ МЕССЕНДЖЕРОВ (СВЕТЯЩИЕСЯ КНОПКИ) */
.social-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important; /* Увеличили расстояние между иконкой и текстом */
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* Стилизация иконок внутри кнопок */
.social-btn-icon {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

/* Наведение на WhatsApp (Мягкий зеленый неон) */
.social-btn.btn-whatsapp:hover {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
}

/* Наведение на ассистента Max (Кораллово-розовый неон в цвет рук логотипа) */
.social-btn.btn-max:hover {
    background-color: #ff3366 !important;
    border-color: #ff3366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.9) !important;
}

/* Наведение на ВКонтакте (Мягкий синий неон) */
.social-btn.btn-vk:hover {
    background-color: #0077ff !important;
    border-color: #0077ff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.4) !important;
}

/* Нижняя полоска */
.footer-bottom {
    background-color: #004494;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    color: #b3d7ff;
    font-size: 12px;
}

.footer-bottom-wrap {
    display: flex;
    justify-content: space-between;
}

/* Стили для векторной иконки телефона в подвале */
.footer-phone-svg {
    color: #b3d7fd; /* Мягкий нежно-голубой цвет иконки */
    flex-shrink: 0;
    transition: color 0.2s ease;
}

/* При наведении на блок телефона иконка и ссылка загораются одновременно */
.footer-branches li:hover .footer-phone-svg {
    color: #ffffff;
}

.footer-branch-phone {
    color: #e0ecff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    transition: color 0.2s ease;
}

.footer-branch-phone:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .footer-grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom-wrap {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}