/* --- ФУТЕР --- */
.site-footer {
    background-color: #141418;
    background-image: url('../../images/horse.jpg');
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
    color: rgba(255, 255, 255, 0.82);
    padding: 80px 0 40px;
    font-size: 0.85rem;
    position: relative;
    z-index: 10;
    border-top: 3px solid #d62828;
    box-shadow: 0 -2px 20px var(--shadow-card);
    transition: border-color 0.4s ease;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 12, 16, 0.62) 0%,
        rgba(8, 8, 12, 0.72) 55%,
        rgba(6, 6, 10, 0.78) 100%
    );
    pointer-events: none;
}

.dark-theme .site-footer::before {
    background: linear-gradient(
        180deg,
        rgba(6, 6, 8, 0.68) 0%,
        rgba(4, 4, 6, 0.76) 55%,
        rgba(2, 2, 4, 0.82) 100%
    );
}

.site-footer > .container {
    position: relative;
    z-index: 1;
}

.page-content-section + .site-footer {
    margin-top: 80px;
}

.footer-social-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-social-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #f3f4f6;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer-social-link:hover {
    color: #fff;
    border-color: #d62828;
    background: rgba(214, 40, 40, 0.25);
}

.footer-social-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.footer-social-link--max {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.footer-holding-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 28px;
    margin-bottom: 36px;
    padding: 22px 26px;
    border: 1px solid rgba(214, 40, 40, 0.45);
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(214, 40, 40, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-holding-banner-text {
    flex: 1 1 280px;
    min-width: 0;
}

.footer-holding-banner-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 6px;
}

.footer-holding-banner-text p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.footer-holding-banner-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    text-decoration: none;
    color: #fff;
    background: #d62828;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-holding-banner-btn:hover {
    background: #b91f1f;
    color: #fff;
    box-shadow: 0 6px 20px rgba(214, 40, 40, 0.35);
}

.footer-nav {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.footer-nav-list a {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-nav-list a:hover {
    color: #d62828;
}

.footer-catalog {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-catalog-label {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #f3f4f6;
}

.footer-catalog-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.footer-catalog-list a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-catalog-list a:hover {
    color: #d62828;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #f9fafb;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    letter-spacing: 0.5px;
    text-transform: none;
}

.footer-col p {
    margin-bottom: 10px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.footer-col strong {
    color: #f3f4f6;
}

.footer-col a {
    color: #ff6b6b;
}

.footer-col a:hover {
    color: #fff;
}

.footer-link {
    color: #ff6b6b;
    text-decoration: underline;
    display: inline-block;
    margin-top: 15px;
}

.footer-link:hover {
    color: #fff;
}

.legal-block {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.68);
}

.legal-block p {
    margin-bottom: 5px;
    font-size: 0.8rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom p {
    margin: 0;
}

.footer-legal-links {
    margin-top: 8px !important;
    font-size: 0.8rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

@media (max-width: 950px) {
    .site-footer {
        background-position: 24% 40%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 60px 0 32px;
        background-position: 18% 38%;
        background-size: auto 100%;
    }

    .footer-social-wrap {
        margin-bottom: 28px;
        padding-bottom: 22px;
    }

    .footer-holding-banner {
        margin-bottom: 28px;
        padding: 18px 20px;
    }

    .footer-holding-banner-btn {
        width: 100%;
    }

    .footer-nav {
        margin-bottom: 28px;
        padding-bottom: 22px;
    }

    .footer-nav-list {
        gap: 8px 16px;
    }

    .footer-nav-list a {
        font-size: 0.78rem;
    }

    .footer-grid {
        gap: 32px;
        margin-bottom: 36px;
    }

    .footer-col {
        font-size: 0.88rem;
    }
}

/* --- COOKIE БАННЕР (нужен на всех страницах - согласие на Метрику по 152-ФЗ) --- */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; max-width: 100%; box-sizing: border-box; background: rgba(255, 255, 255, 0.97); color: var(--text-title); padding: 25px; display: flex; justify-content: center; align-items: center; z-index: 12000; box-shadow: 0 -2px 20px var(--shadow-card); backdrop-filter: blur(8px); border-top: 1px solid var(--border-color); }
.dark-theme .cookie-banner { background: rgba(26, 26, 26, 0.97); color: #ffffff; }
.cookie-content { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; gap: 40px; }
.cookie-content p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--text-muted); }
.cookie-content p a { color: inherit; text-decoration: underline; }
.dark-theme .cookie-content p { color: #cccccc; }
.btn-cookie { background: #d62828; color: #fff; border: none; padding: 14px 35px; font-family: var(--font-heading); font-size: 0.95rem; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background 0.3s; letter-spacing: 0.5px; }
.btn-cookie:hover { background: #b52222; }
@media (max-width: 768px) {
    .cookie-banner { padding: 14px; }
    .cookie-content { flex-direction: column; gap: 14px; text-align: center; }
}

/* --- ЧЕКБОКС СОГЛАСИЯ НА ОБРАБОТКУ ПДн (в формах fb-form и order-form) --- */
.fb-consent, .order-consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 10px; font-size: 0.82rem; line-height: 1.4; color: var(--text-muted); }
.fb-consent input[type="checkbox"], .order-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
.fb-consent a, .order-consent a { color: #d62828; text-decoration: underline; }
.fb-consent label, .order-consent label { cursor: pointer; }
