/* ============================================================
   FOOTER — SvetLait
   Брейкпоинты:
   <1200 — убирается footer-strip (subnav)
   <1024 — убирается footer-nav (главное меню)
   <600  — убирается кнопка CTA
   <480  — только мобильный вид: лого + телефон/подпись + кнопка наверх
   ============================================================ */

/* ── Обёртка ── */
.site-footer {
    background: #151515;
    border-top: 1px solid var(--linii);
    padding: 0 0 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    z-index: 200;
}


.footer-strip a.is-active {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* ──────────────────────────────────────────────────────────
   ПОЛОСКА КАТЕГОРИЙ
   ────────────────────────────────────────────────────────── */
.footer-strip {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-strip__inner {
    width: 100%;
    max-width: 1920px;
    background: rgba(0,0,0,.35);
    border: 1px solid var(--linii);
    padding: 0 clamp(14px, 6vw, 210px);
    min-height: 52px;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    justify-content: center;
}

.footer-strip__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1500px;
}

.footer-strip__list > li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--linii);
   
    min-height: 52px;
    box-sizing: border-box;
}

.footer-strip__list > li:first-child {
    border-left: 1px solid var(--linii);
}

.footer-strip__list > li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-myriad);
    font-size: 15px;
    line-height: 17px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background .2s;
    padding: 10px 15px;
}

.footer-strip__list > li a:hover {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.footer-strip__list  li:hover  {
    border-radius: 6px;
    border: 1px solid #363636;
    background: linear-gradient(180deg, #FFDB73 0%, #D9B944 100%);
}

.footer-strip__list  li a:hover {
    color: var(--color-black);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--color-black);
}



/* ──────────────────────────────────────────────────────────
   ОСНОВНОЙ БЛОК
   ────────────────────────────────────────────────────────── */
.footer-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1500px;
    padding: 0 clamp(14px, 2vw, 24px);
    box-sizing: border-box;
    gap: 20px;
}

/* ── Левая часть: лого + меню ── */
.footer-main__left {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    flex-shrink: 0;
}

/* Логотип */
.footer-logo {
    flex-shrink: 0;
    width: 104px;
    height: 91px;
    display: block;
    overflow: visible;
    isolation: isolate;
}

.footer-logo svg,
.footer-logo img {
    width: 104px;
    height: 91px;
    object-fit: contain;
    display: block;
}

/* Главное меню */
.footer-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.footer-nav__list > li {
    display: flex;
    align-items: center;
}

/* Разделитель между пунктами */
.footer-nav__list > li + li::before {
    content: '';
    display: block;
    width: 0;
    height: 24px;
    border-left: 1px solid var(--linii);
    flex-shrink: 0;
}

.footer-nav__list > li a {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-radius: 6px;
    border: 1px solid transparent;
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-myriad);
    
    line-height: 23px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    transition: border-color .2s;

    font-size: clamp(12px, .8vw, 15px);
    padding-left: clamp(8px, .8vw, 14px);
    padding-right: clamp(8px, .8vw, 14px);


}




.footer-nav__list > li:hover {
    border-radius: 6px;
    border: 1px solid  #FFDB73;
}

.footer-nav__list > li a:hover {
    background: linear-gradient(180deg, #FFDB73 0%, #D9B944 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}





/* ── Правая часть: телефон + CTA + соцсети ── */
.footer-main__right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

/* Телефон + подпись */
.footer-phone-block {
    display: flex;
    flex-direction: column;
    gap: 11px;
    align-items: flex-end;
}

/* Используем классы хедера для спанов телефона (.header-phone__prefix/code/number) */
/* Размер задаём здесь */
.footer-phone {
    font-family: var(--font-bebas);
    font-size: 28px;
    line-height: 23px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

/* Подпись */
.footer-phone-note {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.footer-phone-note__dot-wrap {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Точка — используем .header-phone-note__dot из header.css */

.footer-phone-note__text {
    font-family: var(--font-myriad);
    font-size: 16px;
    line-height: 23px;
    font-weight: 600;
    white-space: nowrap;
}






.footer-phone-note__text .light {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-phone-note__text .gold {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.footer-mobile__note-text .light {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-mobile__note-text .gold {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* Кнопка CTA */
.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 14px 18px;
    background: var(--gradient-zheltyj);
    border-radius: 5px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .2s, transform .15s;
    flex-shrink: 0;
}

.footer-cta:hover {
    background: linear-gradient(180deg, #C7A21B 0%, #FFDB73 100%);
}

.footer-cta__text {
    color: var(--color-black);
    -webkit-text-fill-color: var(--color-black);
    font-family: var(--font-bebas);
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
}

/* Соцсети — используем классы хедера .header-socials__item */
.footer-socials {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────
   МОБИЛЬНЫЙ ФУТЕР <480
   ────────────────────────────────────────────────────────── */
.footer-mobile {
    display: none;
}

/* ──────────────────────────────────────────────────────────
   АДАПТИВ
   ────────────────────────────────────────────────────────── */





/* <1200 — убираем полосу категорий */

@media (max-width: 1199px) {
    .footer-strip {
        display: none;
    }

    .footer-nav {
        display: none;
    }
}

/* <1024 — убираем главное меню, телефон масштабируется */
@media (max-width: 1023px) {

    

    .footer-main {
        padding: 0 24px;
    }

    /* Телефон — как в мобильном хедере */
    .footer-phone {
        font-size: clamp(20px, 2.5vw, 28px);
        font-weight: 400;
        line-height: 1;
    }

    .footer-phone-note__text {
        font-size: clamp(11px, 1.2vw, 16px);
        line-height: 1.3;
        white-space: normal;
    }
}

/* <600 — убираем кнопку CTA */
@media (max-width: 599px) {
    .footer-cta {
        display: none;
    }
}

/* <480 — только мобильный вид */
@media (max-width: 479px) {
    .site-footer {
        padding: 0;
        gap: 0;
        border-top: 1px solid var(--linii);
        border-bottom: 1px solid var(--linii);
    }

    .footer-strip,
    .footer-main {
        display: none;
    }

    /* ── Мобильный блок ── */
    .footer-mobile {
        width: 100%;
        padding: 14px 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        box-sizing: border-box;
    }

    /* Логотип */
    .footer-mobile__logo {
        flex-shrink: 0;
        width: 66px;
        height: 58px;
        display: block;
        overflow: visible;
    }

    .footer-mobile__logo svg,
    .footer-mobile__logo img {
        width: 66px;
        height: 58px;
        object-fit: contain;
        display: block;
    }

    /* Телефон + подпись */
    .footer-mobile__center {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: flex-end;
        flex: 1;
        min-width: 0;
    }

    .footer-mobile__phone {
        font-family: var(--font-bebas);
        font-size: 22px;
        line-height: 1;
        font-weight: 400;
        white-space: nowrap;
        text-decoration: none;
    }

    .footer-mobile__note {
        display: flex;
        flex-direction: row;
        gap: 6px;
        align-items: center;
    }

    .footer-mobile__dot-wrap {
        width: 7px;
        height: 7px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-mobile__note-text {
        font-family: var(--font-myriad);
        font-size: 13px;
        line-height: 1.3;
        font-weight: 600;
    }

    /* Переиспользуем .light / .gold из header.css */

    /* Кнопка наверх */
    .footer-mobile__totop {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        position: relative;
        border: none;
        padding: 0;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-mobile__totop-bg {
        position: absolute;
        inset: 0;
        border-radius: 50px;
        background: var(--gradient-zheltyj);
        box-shadow: var(--effekt-1-box-shadow);
        backdrop-filter: var(--effekt-1-backdrop-filter);
    }

    .footer-mobile__totop svg {
        position: relative;
        z-index: 1;
        width: 64.86%;
        height: 64.86%;
    }

    .footer-mobile__totop:hover .footer-mobile__totop-bg {
        filter: brightness(1.1);
    }
}



.footer-dev {
    border-top: 1px solid var(--linii);
    padding: 20px var(--section-padding-x);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-dev__link {
    opacity: .5;
    transition: opacity .2s;
}

.footer-dev__link:hover {
    opacity: 1;
}

.footer-dev__logo {
    display: block;
    height: 32px;
    width: auto;
}
