/* Новый футер */
.new-footer {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 40px 0 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Верхняя секция */
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.footer-city {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.footer-city-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.footer-city-name {
    font-size: 16px;
    color: #374151;
    font-weight: 600;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.footer-email-icon {
    width: 16px;
    height: 16px;
    color: #9ca3af;
}

.footer-email-text {
    font-size: 14px;
    color: #374151;
    text-decoration: none;
}

.footer-messengers {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.footer-messenger-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    background: white;
    border: 2px solid #e5e7eb;
    color: #2160FE;
    position: relative;
}

.footer-messenger-link:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(33, 96, 254, 0.2);
}

.footer-messenger-link.Telegram:hover {
    background: #2AABEE;
    border-color: #2AABEE;
}

.footer-messenger-link.telegram:hover {
    background: #2AABEE;
    border-color: #2AABEE;
}

.footer-messenger-link img {
    width: 20px;
    height: 20px;
    display: block;
}

.footer-messenger-link .icon-telegram-blue {
    display: block !important;
    position: absolute;
}

.footer-messenger-link .icon-telegram-white {
    display: none !important;
    position: absolute;
}

.footer-messenger-link:hover .icon-telegram-blue {
    display: none !important;
}

.footer-messenger-link:hover .icon-telegram-white {
    display: block !important;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.footer-hours {
    font-size: 12px;
    color: #9ca3af;
}

.footer-phone {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: #2160FE;
}

.footer-cta-button {
    background: #2160FE;
    color: white !important;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    flex-shrink: 0;
}

.footer-cta-button:hover {
    background: #1a4fd4 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 96, 254, 0.3);
}

/* Дополнительные стили для переопределения глобальных стилей */
.footer-cta-button,
button.footer-cta-button,
button.footer-cta-button:visited,
button.footer-cta-button:active,
button.footer-cta-button:focus,
button.footer-cta-button:hover {
    color: white !important;
    background: #2160FE !important;
    text-decoration: none !important;
}

/* Нижняя секция */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-copyright {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    font-size: 12px;
    color: #6b7280;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #2160FE;
}

.footer-bottom-right {
    display: flex;
    align-items: flex-start;
}

.footer-disclaimer {
    font-size: 10px;
    color: #9ca3af;
    line-height: 1.4;
    text-align: right;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-right {
        justify-content: center;
    }
    
    .footer-disclaimer {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .new-footer {
        padding: 30px 0 15px 0;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-top {
        gap: 24px;
        margin-bottom: 24px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-image {
        height: 35px;
    }
    
    .footer-top {
        gap: 16px;
    }
    
    .footer-contacts {
        align-items: center;
    }
    
    .footer-phone {
        font-size: 18px;
    }
    
    .footer-cta-button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-logo-image {
        height: 30px;
    }
    
    .footer-contacts {
        align-items: center;
    }
    
    .footer-phone {
        font-size: 16px;
    }
    
    .footer-messengers {
        gap: 8px;
    }
    
    .footer-messenger-link {
        width: 32px;
        height: 32px;
    }
    
    .footer-cta-button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}

