.custom-footer {
    background-color: red;
    color: white;
    padding: 40px 0;
}

.custom-footer a {
    color: white;
}

.custom-footer .widget-title {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.custom-footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-column {
    padding: 0 15px;
    box-sizing: border-box;
}

.footer-column-1,
.footer-column-2 {
    flex: 1;
    min-width: 250px;
}

.footer-column-3 {
    flex: 1.5; /* Более широкая третья колонка */
    min-width: 300px;
}

.footer-column-3-inner {
    display: flex;
    flex-wrap: wrap;
}

.footer-sub-column {
    flex: 1;
    min-width: 150px;
    padding: 0 10px;
}

.footer-sub-column .social-icons a {
    font-size: 24px;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-sub-column .social-icons a:hover {
    color: #ccc;
}

.footer-sub-column .social-icons a:last-child {
    margin-right: 0;
}

.footer-sub-column p i {
    margin-right: 10px;
}

.footer-sub-column p i.fa-phone {
    margin-right: 17px;
}

/* Адаптивность */
@media (max-width: 991px) {
    .custom-footer-container {
        flex-direction: column;
    }
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
        min-width: 100%;
    }
    .footer-column:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .footer-column-3-inner {
        flex-direction: column;
    }
    .footer-sub-column {
        min-width: 100%;
        margin-bottom: 20px;
    }
}


.footer-sub-column p {
    margin: 0;
    margin-bottom: 5px;
}

.footer-sub-column:first-of-type {
    flex-grow: 2;
}

.site-footer.custom {
    padding-top: 50px;
    padding-bottom: 60px;
}

footer .widget {
    margin: unset!important;
    padding: unset!important;
    border: unset!important;
}

.site-footer.text-light .widget-title {
    border-bottom: unset!important;
}

.footer-sub-column .social-icons i {
    font-size: 1.6em;
}

@media (max-width: 991px) {
  .footer-sub-column {
    padding: 0;
  }
}
