/* app/static/css/footer.css */

/* =========================================================
   SECTION 1. FOOTER BASE
   Общая база подвала
   ========================================================= */
footer {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(180deg, rgba(6, 171, 212, 0.14), rgba(0, 0, 0, 0.10)),
        rgba(15, 18, 22, 0.98);
    color: #ffffff;
    padding: 34px 0 0;
    border-top: 1px solid rgba(6, 171, 212, 0.44);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-size: 18px;
    box-shadow:
        0 0 24px rgba(6, 171, 212, 0.22),
        0 -18px 50px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(6, 217, 255, 0.12), transparent 30%),
        radial-gradient(circle at 82% 72%, rgba(0, 255, 204, 0.08), transparent 34%);
    pointer-events: none;
}

/* =========================================================
   SECTION 2. FOOTER MAIN LAYOUT
   Общий контейнер трёх колонок
   ========================================================= */
.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 0 20px;
    min-height: 300px;
    font-size: 20px;
}

/* =========================================================
   SECTION 3. COLUMN WRAPPERS
   Внешние рамки колонок
   ========================================================= */
.footer-section-wrapper {
    flex: 1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        rgba(8, 12, 16, 0.88);
    border: 1px solid rgba(6, 171, 212, 0.28);
    border-radius: 18px;
    padding: 16px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    min-width: 250px;
    box-shadow:
        0 0 18px rgba(6, 171, 212, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.footer-section-wrapper:hover {
    border-color: rgba(6, 217, 255, 0.56);
    box-shadow:
        0 0 22px rgba(6, 171, 212, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

/* =========================================================
   SECTION 4. INNER COLUMN BLOCK
   Внутренний блок секции
   ========================================================= */
.footer-section {
    margin-bottom: 0;
}

.footer-section h2 {
    font-size: 22px;
    margin-bottom: 15px;
    padding-left: 10px;
    color: #e8fbff;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   SECTION 5. GENERIC FOOTER ITEM
   Универсальная планка для ссылок и полей
   ========================================================= */
.footer-item {
    background: rgba(15, 18, 22, 0.78);
    border: 1px solid rgba(6, 171, 212, 0.22);
    border-radius: 13px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.footer-item:hover {
    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.16), rgba(0, 255, 204, 0.05)),
        rgba(12, 16, 20, 0.96);
    border-color: rgba(6, 217, 255, 0.56);
    box-shadow:
        0 0 14px rgba(6, 171, 212, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* =========================================================
   SECTION 6. BRAND COLUMN
   Левая колонка: логотип + PAXOR
   ========================================================= */
.brand-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-left: 10px;
}

.footer-brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.footer-brand-title {
    font-size: 28px;
    font-weight: 200;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 0 14px rgba(6, 171, 212, 0.24);
    line-height: 1;
    margin: 0;
}

/* =========================================================
   SECTION 7. BRAND SUBTITLE
   Короткое описание под логотипом
   ========================================================= */
.footer-brand-subtitle {
    padding-left: 10px;
    margin-bottom: 18px;
    font-size: 16px;
    color: #cfefff;
    letter-spacing: 0.5px;
}

/* =========================================================
   SECTION 8. SOCIAL BOX
   Большая внутренняя рамка для соцсетей
   ========================================================= */
.footer-social-box {
    margin-top: 8px;
    margin-left: 10px;
    width: calc(100% - 10px);
    min-height: 86px;
    background: rgba(8, 12, 16, 0.86);
    border: 1px solid rgba(6, 171, 212, 0.28);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-social-box:hover {
    background: rgba(6, 171, 212, 0.12);
    border-color: rgba(6, 217, 255, 0.55);
    box-shadow: 0 0 14px rgba(6, 171, 212, 0.16);
}

/* =========================================================
   SECTION 9. SOCIAL ICONS
   Круглые иконки соцсетей внутри рамки
   ========================================================= */
.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 16px;
    padding-top: 8px; /* немного ниже */
}

.footer-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(6, 171, 212, 0.15);
    border: 1px solid rgba(6, 171, 212, 0.50);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00ccff;
    text-decoration: none;
    font-size: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.footer-social-icon:hover {
    background: rgba(6, 171, 212, 0.24);
    border-color: rgba(6, 217, 255, 0.72);
    color: #e8fbff;
    transform: scale(1.08);
}

/* =========================================================
   SECTION 10. LINKS COLUMN
   Центральная колонка со ссылками
   ========================================================= */
.footer-section.links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-section.links .footer-item {
    height: 40px;
    justify-content: center;
}

.footer-section.links .footer-item a {
    color: #e8fbff;
    text-decoration: none;
    font-size: 18px;
    width: 100%;
    display: block;
}

.footer-section.links .footer-item a:hover {
    color: #00ccff;
}

/* =========================================================
   SECTION 11. CONTACT BOX UNDER LINKS
   Одна общая рамка: Contact + 2 почты
   ========================================================= */
.footer-links-contact-box {
    margin-top: 18px;
    height: auto !important;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}

.footer-links-contact-title {
    font-size: 18px;
    color: #e8fbff;
    margin-bottom: 6px;
    padding-bottom: 6px;
    width: 100%;
    border-bottom: 1px solid rgba(6, 217, 255, 0.22);
}

.footer-links-contact-box p {
    margin: 0;
    font-size: 18px;
    color: #cfefff;
    line-height: 1.4;
}

/* =========================================================
   SECTION 12. CONTACT FORM COLUMN
   Правая колонка с рабочей формой Contact
   ========================================================= */
.footer-section.contact-form .footer-item {
    height: auto;
}

.footer-section.contact-form .contact-input {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 18px;
    padding: 0;
    height: 30px;
    box-sizing: border-box;
}

.footer-section.contact-form textarea.contact-input {
    height: 80px;
    resize: none;
}

.footer-section.contact-form .contact-input:focus {
    outline: none;
    border: none;
}

.footer-section.contact-form .contact-input::placeholder {
    color: rgba(207, 239, 255, 0.58);
}

/* =========================================================
   SECTION 13. CONTACT FORM BUTTON
   Кнопка отправки сообщения
   ========================================================= */
.footer-section.contact-form .btn {
    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.26), rgba(0, 255, 204, 0.10)),
        rgba(6, 171, 212, 0.12);
    border: 1px solid rgba(6, 217, 255, 0.54);
    color: #ffffff;
    font-size: 18px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 800;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 11px;
    height: 36px;
    margin-top: 10px;
    margin-left: 7px;
}

.footer-section.contact-form .btn:hover {
    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.34), rgba(0, 255, 204, 0.14)),
        rgba(6, 171, 212, 0.18);
    border-color: rgba(6, 217, 255, 0.78);
    box-shadow: 0 0 14px rgba(6, 171, 212, 0.20);
    transform: translateY(-1px);
}

.footer-section.contact-form .btn i {
    margin-right: 8px;
}

.footer-section.contact-form .btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* =========================================================
   SECTION 14. CONTACT FORM STATUS
   Статус отправки: success / error
   ========================================================= */
.footer-contact-status {
    margin-top: 12px;
    margin-left: 7px;
    font-size: 16px;
    min-height: 22px;
    color: #cfefff;
}

.footer-contact-status.success {
    color: #35d07f;
}

.footer-contact-status.error {
    color: #ff6b6b;
}

/* =========================================================
   SECTION 15. FOOTER BOTTOM
   Нижняя полоса copyright
   ========================================================= */
.footer-bottom {
    position: relative;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        rgba(8, 12, 16, 0.90);
    border-top: 1px solid rgba(6, 171, 212, 0.22);
    padding: 20px 0;
    margin-top: 30px;
    text-align: center;
    font-size: 16px;
}

.footer-bottom p {
    margin: 0;
    color: #cfefff;
}

/* =========================================================
   SECTION 16. LIGHT THEME BASE
   Светлая тема: общий фон подвала
   ========================================================= */
body.light-theme footer {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(180deg, rgba(6, 171, 212, 0.14), rgba(0, 0, 0, 0.10)),
        rgba(15, 18, 22, 0.98);
    color: #ffffff;
}

body.light-theme .footer-section-wrapper {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        rgba(8, 12, 16, 0.88);
    border-color: rgba(6, 171, 212, 0.28);
}

body.light-theme .footer-section-wrapper:hover {
    border-color: rgba(6, 217, 255, 0.56);
}

body.light-theme .footer-section h2 {
    color: #e8fbff;
}

body.light-theme .footer-item {
    background: rgba(15, 18, 22, 0.78);
    border-color: rgba(6, 171, 212, 0.22);
}

body.light-theme .footer-item:hover {
    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.16), rgba(0, 255, 204, 0.05)),
        rgba(12, 16, 20, 0.96);
    border-color: rgba(6, 217, 255, 0.56);
}

/* =========================================================
   SECTION 17. LIGHT THEME BRAND COLUMN
   Светлая тема для логотипа, PAXOR и соцсетей
   ========================================================= */
body.light-theme .footer-brand-title {
    color: #ffffff;
}

body.light-theme .footer-brand-subtitle {
    color: #cfefff;
}

body.light-theme .footer-social-box {
    background: rgba(8, 12, 16, 0.86);
    border-color: rgba(6, 171, 212, 0.28);
}

body.light-theme .footer-social-box:hover {
    background: rgba(6, 171, 212, 0.12);
    border-color: rgba(6, 217, 255, 0.55);
}

body.light-theme .footer-social-icon {
    background: rgba(6, 171, 212, 0.15);
    border-color: rgba(6, 171, 212, 0.50);
    color: #00ccff;
}

body.light-theme .footer-social-icon:hover {
    background: rgba(6, 171, 212, 0.24);
    border-color: rgba(6, 217, 255, 0.72);
    color: #e8fbff;
}

/* =========================================================
   SECTION 18. LIGHT THEME LINKS + CONTACT BOX
   Светлая тема для средней колонки
   ========================================================= */
body.light-theme .footer-section.links .footer-item a {
    color: #e8fbff;
}

body.light-theme .footer-section.links .footer-item a:hover {
    color: #00ccff;
}

body.light-theme .footer-links-contact-title {
    color: #e8fbff;
    border-bottom-color: rgba(6, 217, 255, 0.22);
}

body.light-theme .footer-links-contact-box p {
    color: #cfefff;
}

/* =========================================================
   SECTION 19. LIGHT THEME CONTACT FORM
   Светлая тема для формы справа
   ========================================================= */
body.light-theme .footer-section.contact-form .contact-input {
    color: #ffffff;
}

body.light-theme .footer-bottom {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        rgba(8, 12, 16, 0.90);
    color: #cfefff;
}

/* =========================================================
   SECTION 20. RESPONSIVE
   Адаптация под планшеты и телефоны
   ========================================================= */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-section-wrapper {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-brand-header {
        gap: 10px;
    }

    .footer-brand-logo {
        width: 48px;
        height: 48px;
    }

    .footer-brand-title {
        font-size: 24px;
    }

    .footer-social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .footer-brand-subtitle {
        font-size: 15px;
    }
}


/* === MOBILE FOOTER COMPACT V1 START === */

@media (max-width: 760px) {

    /*
     * Только обычный подвал.
     * Глобальный музыкальный player не затрагиваем.
     */

    footer:not(.music-player) {
        padding-top: 10px !important;
        padding-bottom: 8px !important;
    }


    /* Основные рамки секций */
    footer:not(.music-player) .footer-section-wrapper {
        padding: 10px !important;
        min-height: 0 !important;
    }


    /* Заголовки Links / Contact */
    footer:not(.music-player) .footer-section h2 {
        font-size: 13px !important;
        line-height: 1.1 !important;
        margin-bottom: 7px !important;
    }


    /* PAXOR */
    footer:not(.music-player) .footer-brand-logo {
        width: 30px !important;
        height: 30px !important;
    }

    footer:not(.music-player) .footer-brand-title {
        font-size: 15px !important;
        line-height: 1 !important;
    }

    footer:not(.music-player) .footer-brand-subtitle {
        font-size: 10px !important;
        line-height: 1.15 !important;
        margin-top: 4px !important;
        margin-bottom: 5px !important;
    }


    /* Социальная рамка */
    footer:not(.music-player) .footer-social-box {
        padding: 6px !important;
        margin-top: 6px !important;
    }

    footer:not(.music-player) .footer-social-icon {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;

        font-size: 11px !important;
    }


    /* Links */
    footer:not(.music-player) .footer-section.links .footer-item {
        padding: 4px 6px !important;
        min-height: 0 !important;
    }

    footer:not(.music-player) .footer-section.links .footer-item a {
        font-size: 10px !important;
        line-height: 1.15 !important;
    }


    /* Contact внутри Links */
    footer:not(.music-player) .footer-links-contact-box {
        padding: 7px !important;
        margin-top: 7px !important;
    }

    footer:not(.music-player) .footer-links-contact-title {
        font-size: 10px !important;
        line-height: 1.1 !important;
    }

    footer:not(.music-player) .footer-links-contact-box p {
        font-size: 9.5px !important;
        line-height: 1.15 !important;
        margin: 2px 0 !important;
    }


    /* Поля Contact — просто ниже, расположение не меняем */
    footer:not(.music-player)
    .footer-section.contact-form .footer-item {
        margin-bottom: 6px !important;
    }

    footer:not(.music-player)
    .footer-section.contact-form .contact-input {
        min-height: 34px !important;
        padding: 6px 8px !important;

        font-size: 10px !important;
        line-height: 1.15 !important;
    }

    footer:not(.music-player)
    .footer-section.contact-form textarea.contact-input {
        min-height: 58px !important;
        height: 58px !important;
        padding: 7px 8px !important;
    }


    /* Send */
    footer:not(.music-player)
    .footer-section.contact-form .btn {
        min-height: 34px !important;

        padding: 6px 10px !important;

        font-size: 10px !important;
    }

    footer:not(.music-player)
    .footer-section.contact-form .btn i {
        font-size: 10px !important;
    }


    /* Нижняя рамка copyright */
    footer:not(.music-player) .footer-bottom {
        min-height: 30px !important;

        padding: 7px 8px !important;
        margin-top: 8px !important;
    }

    footer:not(.music-player) .footer-bottom p {
        margin: 0 !important;

        font-size: 9px !important;
        line-height: 1.1 !important;
    }

}

/* === MOBILE FOOTER COMPACT V1 END === */


/* === MOBILE FOOTER CONTACT HEIGHT V2 START === */

@media (max-width: 760px) {

    /* Внешняя рамка Contact */
    footer:not(.music-player)
    .footer-section-wrapper:has(.contact-form) {
        padding: 7px 9px !important;
    }

    /* Заголовок Contact ближе к форме */
    footer:not(.music-player)
    .footer-section.contact-form h2 {
        margin-bottom: 5px !important;
    }

    /* Уменьшаем вертикальные интервалы между полями */
    footer:not(.music-player)
    .footer-section.contact-form .footer-item {
        margin-bottom: 4px !important;
        padding: 0 !important;
    }

    /* Email */
    footer:not(.music-player)
    .footer-section.contact-form input.contact-input {
        height: 30px !important;
        min-height: 30px !important;

        padding: 5px 7px !important;
    }

    /* Message */
    footer:not(.music-player)
    .footer-section.contact-form textarea.contact-input {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;

        padding: 6px 7px !important;
    }

    /* Send */
    footer:not(.music-player)
    .footer-section.contact-form .btn {
        height: 30px !important;
        min-height: 30px !important;

        padding: 5px 9px !important;
    }

    /* статус под кнопкой не держит лишнюю высоту */
    footer:not(.music-player)
    .footer-contact-status:empty {
        display: none !important;
    }

}

/* === MOBILE FOOTER CONTACT HEIGHT V2 END === */


/* === MOBILE FOOTER FONT V3 START === */

@media (max-width: 760px) {

    /* PAXOR */
    footer:not(.music-player) .footer-brand-title {
        font-size: 16px !important;
    }

    footer:not(.music-player) .footer-brand-subtitle {
        font-size: 11.5px !important;
        line-height: 1.2 !important;
    }


    /* Links / Contact заголовки */
    footer:not(.music-player) .footer-section h2 {
        font-size: 14px !important;
    }


    /* Ссылки */
    footer:not(.music-player)
    .footer-section.links .footer-item a {
        font-size: 11.5px !important;
        line-height: 1.2 !important;
    }


    /* Contact возле ссылок */
    footer:not(.music-player)
    .footer-links-contact-title {
        font-size: 11.5px !important;
    }

    footer:not(.music-player)
    .footer-links-contact-box p {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }


    /* Поля формы */
    footer:not(.music-player)
    .footer-section.contact-form .contact-input {
        font-size: 11px !important;
    }

    footer:not(.music-player)
    .footer-section.contact-form .contact-input::placeholder {
        font-size: 11px !important;
    }


    /* Send */
    footer:not(.music-player)
    .footer-section.contact-form .btn {
        font-size: 11px !important;
    }

    footer:not(.music-player)
    .footer-section.contact-form .btn i {
        font-size: 11px !important;
    }


    /* Copyright */
    footer:not(.music-player) .footer-bottom p {
        font-size: 10.5px !important;
    }

}

/* === MOBILE FOOTER FONT V3 END === */


/* === MOBILE FOOTER FONT + SOCIAL V4 START === */

@media (max-width: 760px) {

    /* PAXOR */
    footer:not(.music-player) .footer-brand-title {
        font-size: 17px !important;
    }

    footer:not(.music-player) .footer-brand-subtitle {
        font-size: 12.5px !important;
        line-height: 1.2 !important;
    }


    /* Links / Contact */
    footer:not(.music-player) .footer-section h2 {
        font-size: 15px !important;
    }


    /* Ссылки */
    footer:not(.music-player)
    .footer-section.links .footer-item a {
        font-size: 12.5px !important;
        line-height: 1.2 !important;
    }


    /* Контактные email */
    footer:not(.music-player)
    .footer-links-contact-title {
        font-size: 12.5px !important;
    }

    footer:not(.music-player)
    .footer-links-contact-box p {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }


    /* Поля формы */
    footer:not(.music-player)
    .footer-section.contact-form .contact-input,
    footer:not(.music-player)
    .footer-section.contact-form .contact-input::placeholder {
        font-size: 12px !important;
    }


    /* Send */
    footer:not(.music-player)
    .footer-section.contact-form .btn {
        font-size: 12px !important;
    }

    footer:not(.music-player)
    .footer-section.contact-form .btn i {
        font-size: 11.5px !important;
    }


    /* Copyright */
    footer:not(.music-player) .footer-bottom p {
        font-size: 11.5px !important;
    }


    /* =====================================================
       РАМКА СОЦСЕТЕЙ — НИЖЕ
       ===================================================== */

    footer:not(.music-player)
    .footer-social-box {
        height: auto !important;
        min-height: 0 !important;

        margin-top: 4px !important;

        padding-top: 2px !important;
        padding-bottom: 2px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    footer:not(.music-player)
    .footer-social-icons {
        min-height: 0 !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        line-height: 0 !important;
    }

    /* Значки оставляем удобного размера */
    footer:not(.music-player)
    .footer-social-icon {
        width: 30px !important;
        min-width: 30px !important;

        height: 30px !important;
        min-height: 30px !important;

        margin: 0 !important;
    }

}

/* === MOBILE FOOTER FONT + SOCIAL V4 END === */


/* === MOBILE FOOTER SOCIAL ICONS V5 START === */

@media (max-width: 760px) {

    /* Сами иконки крупнее */
    footer:not(.music-player)
    .footer-social-icon {
        width: auto !important;
        min-width: 0 !important;

        height: auto !important;
        min-height: 0 !important;

        padding: 0 4px !important;
        margin: 0 !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        font-size: 18px !important;
        line-height: 1 !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* На случай если круг рисуется через псевдоэлементы */
    footer:not(.music-player)
    .footer-social-icon::before,
    footer:not(.music-player)
    .footer-social-icon::after {
        content: none !important;
        display: none !important;
    }

    footer:not(.music-player)
    .footer-social-icon i {
        font-size: 18px !important;
        line-height: 1 !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;
    }

    /* расстояние между Facebook / YouTube */
    footer:not(.music-player)
    .footer-social-icons {
        gap: 10px !important;
    }

}

/* === MOBILE FOOTER SOCIAL ICONS V5 END === */


/* === MOBILE FOOTER SOCIAL BOX V6 START === */

@media (max-width: 760px) {

    footer:not(.music-player)
    .footer-social-box {
        min-height: 40px !important;

        padding-top: 5px !important;
        padding-bottom: 5px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

}

/* === MOBILE FOOTER SOCIAL BOX V6 END === */


/* === MOBILE FOOTER SOCIAL LEFT V7 START === */

@media (max-width: 760px) {

    footer:not(.music-player)
    .footer-social-box {
        justify-content: flex-start !important;
    }

    footer:not(.music-player)
    .footer-social-icons {
        width: auto !important;

        justify-content: flex-start !important;
        align-items: center !important;

        margin-left: 3px !important;
        margin-right: 0 !important;
    }

}

/* === MOBILE FOOTER SOCIAL LEFT V7 END === */


/* =========================================================
   DESKTOP FOOTER COMPACT
   Slightly smaller desktop footer.
   Mobile <= 760px is unchanged.
   ========================================================= */

@media (min-width: 761px) {

    footer:not(.music-player) {
        padding-top: 24px;
        font-size: 15px;
    }

    footer:not(.music-player) .footer-content {
        min-height: 250px;
        gap: 16px;
        font-size: 16px;
    }

    footer:not(.music-player) .footer-section-wrapper {
        padding: 13px;
        border-radius: 15px;
    }

    footer:not(.music-player) .footer-section h2 {
        font-size: 18px;
        margin-bottom: 11px;
        padding-left: 8px;
    }

    footer:not(.music-player) .footer-item {
        padding: 7px 9px;
        margin-bottom: 7px;
        border-radius: 11px;
    }

    footer:not(.music-player) .footer-brand-header {
        gap: 10px;
        margin-bottom: 10px;
        padding-left: 8px;
    }

    footer:not(.music-player) .footer-brand-logo {
        width: 46px;
        height: 46px;
    }

    footer:not(.music-player) .footer-brand-title {
        font-size: 23px;
    }

    footer:not(.music-player) .footer-brand-subtitle {
        padding-left: 8px;
        margin-bottom: 13px;
        font-size: 14px;
    }

    footer:not(.music-player) .footer-social-box {
        margin-top: 5px;
        margin-left: 8px;
        width: calc(100% - 8px);
        min-height: 68px;
        border-radius: 12px;
    }

    footer:not(.music-player) .footer-social-icons {
        gap: 11px;
        padding-left: 13px;
        padding-top: 5px;
    }

    footer:not(.music-player) .footer-social-icon {
        width: 37px;
        height: 37px;
        font-size: 17px;
    }

    footer:not(.music-player) .footer-section.links .footer-item {
        height: 32px;
    }

    footer:not(.music-player) .footer-section.links .footer-item a {
        font-size: 15px;
    }

    footer:not(.music-player) .footer-links-contact-box {
        margin-top: 12px;
        gap: 5px;
    }

    footer:not(.music-player) .footer-links-contact-title {
        font-size: 15px;
        margin-bottom: 4px;
        padding-bottom: 4px;
    }

    footer:not(.music-player) .footer-links-contact-box p {
        font-size: 15px;
        line-height: 1.3;
    }

    footer:not(.music-player) .footer-section.contact-form .contact-input {
        font-size: 15px;
        height: 25px;
    }

    footer:not(.music-player)
    .footer-section.contact-form textarea.contact-input {
        height: 64px;
    }

    footer:not(.music-player) .footer-section.contact-form .btn {
        height: 31px;
        padding: 6px 15px;
        margin-top: 7px;
        font-size: 15px;
        border-radius: 9px;
    }

    footer:not(.music-player) .footer-contact-status {
        margin-top: 8px;
        font-size: 13px;
        min-height: 17px;
    }

    footer:not(.music-player) .footer-bottom {
        padding: 13px 0;
        margin-top: 20px;
        font-size: 14px;
    }
}
