/* Футер справочника — единый тёмный блок без «белых коробок» */

.site-footer-wrapper {
    margin-top: auto;
    padding: 0;
    background: transparent;
}

.spr-footer {
    position: relative;
    margin-top: 3rem;
    background: linear-gradient(165deg, #2a2624 0%, #1a1817 42%, #141210 100%);
    color: rgba(255, 255, 255, 0.88);
    overflow: hidden;
    border-radius: 28px 28px 0 0;
}

.spr-footer__wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4622f, #e8703a 35%, #f0a070 65%, #d4622f);
    background-size: 200% 100%;
    animation: sprFooterShine 8s ease-in-out infinite;
}

@keyframes sprFooterShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.spr-footer__features {
    padding: 1.75rem 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spr-footer__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
}

.spr-footer__feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.spr-footer__feature:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(232, 112, 58, 0.35);
    transform: translateY(-2px);
}

.spr-footer__feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(232, 112, 58, 0.9), rgba(208, 98, 47, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(232, 112, 58, 0.25);
}

.spr-footer__feature-icon i {
    font-size: 1.05rem;
    color: #fff;
    line-height: 1;
}

.spr-footer__feature-title {
    margin: 0 0 0.15rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.spr-footer__feature-text {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}

.spr-footer__main {
    padding: 2rem 0 1.5rem;
}

.spr-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 2rem;
}

.spr-footer__brand-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.85rem;
    text-decoration: none;
}

.spr-footer__brand-logo img {
    height: 34px;
    width: auto;
    filter: brightness(1.05);
}

.spr-footer__brand-text {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.6;
    max-width: 300px;
}

.spr-footer__heading {
    margin: 0 0 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
}

.spr-footer__heading--apps {
    margin-top: 1.15rem;
}

.spr-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.spr-footer__links li {
    margin-bottom: 0.5rem;
}

.spr-footer__links a {
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    transition: color 0.15s, padding-left 0.15s;
}

.spr-footer__links a:hover {
    color: #f0a070;
    padding-left: 4px;
}

.spr-footer__apps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.spr-footer__apps a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
    opacity: 0.92;
}

.spr-footer__apps a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    opacity: 1;
}

.spr-footer__apps img {
    height: 38px;
    width: auto;
    display: block;
}

.spr-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 0 1.25rem;
    background: rgba(0, 0, 0, 0.18);
}

.spr-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.spr-footer__copy {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.5;
}

.spr-footer__copy strong {
    color: #f0a070;
    font-weight: 600;
}

.spr-footer__author {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.spr-footer__author-name {
    margin: 0;
    font-weight: 600;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
}

.spr-footer__author-org {
    margin: 0;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.42);
}

.spr-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.15s, transform 0.15s;
}

.spr-footer__social:hover {
    background: #e8703a;
    transform: translateY(-2px);
}

.spr-footer__social img {
    width: 17px;
    height: 17px;
}

/* Старый отдельный bar — скрыть если остался в кэше */
.spr-footer-bar {
    display: none !important;
}

@media (max-width: 991px) {
    .spr-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .spr-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .spr-footer {
        border-radius: 20px 20px 0 0;
    }

    .spr-footer__grid {
        grid-template-columns: 1fr;
    }

    .spr-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .spr-footer__author {
        flex-direction: column;
    }
}
