/* ===== База футера ===== */
.footer-new {
    background: linear-gradient(180deg, #0a4f82 0%, #053059 55%, #03213f 100%);
    color: #ffffff;
    padding: 40px 0 22px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}
.footer-new a { color: #ffffff; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
.footer-new a:hover { color: #7fd1ff; text-decoration: none; }

.footer-new__row { display: flex; flex-wrap: wrap; }
.footer-new__col { margin-bottom: 28px; }

.footer-new__title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255,255,255,.25);
    color: #ffffff;
}
.footer-new__title--sub { margin-top: 22px; font-size: 13px; border-bottom-style: dotted; }

/* Контакты */
.footer-new__phone {
    display: block;
    font-size: 26px;
    font-weight: 300;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.footer-new__email { display: block; font-size: 17px; margin-bottom: 18px; }
.footer-new__requisites { font-size: 13px; color: rgba(255,255,255,.8); }
.footer-new__requisites b { color: #ffffff; }

/* Списки ссылок */
.footer-new__list { list-style: none; margin: 0; padding: 0; }
.footer-new__list li { margin-bottom: 7px; padding-left: 14px; position: relative; }
.footer-new__list li::before {
    content: '›';
    position: absolute; left: 0; top: -1px;
    color: #7fd1ff;
}
.footer-new__list--docs li { margin-bottom: 5px; font-size: 12.5px; }
.footer-new__list--docs a { color: rgba(255,255,255,.75); }
.footer-new__list--docs a:hover { color: #7fd1ff; }

/* Соцсети */
.footer-new__social { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.footer-new__social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    transition: background .25s ease, transform .25s ease;
}
.footer-new__social a:hover { background: #0099cc; transform: translateY(-3px); }
.footer-new__social img { width: 24px; height: 24px; object-fit: contain; }

/* Кнопка оплаты */
.footer-new__paybtn {
    display: inline-block;
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 14px;
    text-align: center;
    font-weight: 600;
    color: #ffffff !important;
    background: #0099cc;
    border-radius: 6px;
    transition: background .25s ease;
}
.footer-new__paybtn:hover { background: #00b3ee; color: #ffffff !important; }
.footer-new__visa { max-width: 120px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }

/* Юридический блок */
.footer-new__legal {
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.18);
    font-size: 11.5px;
    line-height: 1.5;
    color: rgba(255,255,255,.6);
}
.footer-new__legal p { margin: 0 0 6px; }
.footer-new__legal a { color: rgba(255,255,255,.85); text-decoration: underline; }
.footer-new__legal a:hover { color: #7fd1ff; }

/* ===== Мобильная версия ===== */
@media (max-width: 991px) {
    .footer-new__col { flex-basis: 50%; max-width: 50%; }
}
@media (max-width: 767px) {
    .footer-new { padding: 30px 0 18px; }
    .footer-new__col { flex-basis: 100%; max-width: 100%; text-align: center; }
    .footer-new__phone { font-size: 30px; }
    .footer-new__title { border-bottom-color: rgba(255,255,255,.35); display: inline-block; }
    .footer-new__title--sub { margin-top: 18px; }
    .footer-new__col > .footer-new__title { display: block; text-align: center; }
    .footer-new__list li { padding-left: 0; }
    .footer-new__list li::before { display: none; }
    .footer-new__social { justify-content: center; }
    .footer-new__paybtn { max-width: 280px; margin-left: auto; margin-right: auto; display: block; }
    .footer-new__visa { margin: 0 auto; display: block; }
    .footer-new__legal { text-align: center; }
}

.footer-new__cards {
    margin-top: 2px;
}

.footer-new__cards-label {
    display: block;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.3;
}

.footer-new__cards-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    overflow: hidden; /* Убирает полосу прокрутки */
}

.footer-new__cards-icons i {
    display: block;
    flex: 0 1 auto;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}

/* Логотипы, которые загружены как IMG */
.footer-new__payment-logo {
    display: block;
    flex: 0 1 auto;
    width: 32px;
    height: 22px;
    max-width: 32px;
    max-height: 22px;
    margin: 0;
    border: 0;
    background: transparent;
    object-fit: contain;
}

/* Apple Pay обычно требует чуть больше места, но остаётся компактным */
.footer-new__cards-icons .fa-apple-pay {
    font-size: 30px;
}
/* Visa — белый логотип */
.footer-new__cards-icons .fa-cc-visa {
    color: #ffffff;
}

/* Mastercard — фирменный цвет */
.footer-new__cards-icons .fa-cc-mastercard {
    color: #ffffff;
}

/* Если остаются другие значки */
.footer-new__cards-icons .fa-cc-amex,
.footer-new__cards-icons .fa-credit-card {
    color: #ffffff;
}

@media (max-width: 767px) {
    .footer-new__cards-icons {
        justify-content: center;
    }
}

.footer-new__payment-logo {
    width: 32px;
    height: 22px;
    max-width: 32px;
    max-height: 22px;
}

/* Соцсети футера: отдельные стили */
.footer-new .footer-new__social-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

.footer-new .footer-new__social-buttons > a.btn-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
}

.footer-new .footer-new__social-buttons > a.btn-compact i {
    font-size: 30px;
    line-height: 1;
}

@media (max-width: 767px) {
    .footer-new .footer-new__social-buttons {
        justify-content: center;
    }
}

