/* =================================================
   FOOTER — balanced, newsroom-like
================================================= */

.site-footer {
    margin-top: 48px;
    padding: 44px 0 22px;
    background: #0F172A; /* глубокий нейтральный (не черный) */
    color: rgba(255, 255, 255, .86);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.site-footer a:hover {
    color: rgba(255, 255, 255, .98);
    text-decoration: underline;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}

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

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Brand line */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
}

.footer-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* в стиле CTA (teal), но приглушенно */
    background: linear-gradient(135deg, #0F766E, #0B5F59);
    border: 1px solid rgba(45, 212, 191, .18);
    color: #ffffff;

    font-size: 18px;
    line-height: 1;
}

.footer-name {
    font-weight: 850;
    letter-spacing: -0.02em;
    font-size: 18px;
    color: rgba(255, 255, 255, .95);
}

.footer-desc {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.6;
    max-width: 44ch;
}

.footer-publisher {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.footer-publisher-title {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
    margin-bottom: 8px;
    font-weight: 700;
}

.footer-publisher-line {
    font-size: 14px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.55;
}

/* Column headings */
.footer-h {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .70);
    margin-bottom: 14px;
    font-weight: 800;
}

/* Links */
.footer-a {
    display: inline-block;
    padding: 6px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .80);
}

/* Button link (cookie settings) */
.footer-btnlink {
    background: transparent;
    border: 0;
    padding: 6px 0;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: rgba(255, 255, 255, .80);
}

.footer-btnlink:hover {
    color: rgba(255, 255, 255, .98);
    text-decoration: underline;
}

.footer-a,
.footer-btnlink {
    padding: 7px 0;
}

/* Bottom bar */
.footer-bottom {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom-left {
    font-size: 13px;
    color: rgba(255, 255, 255, .62);
}

.footer-bottom-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-mini {
    font-size: 13px;
    color: rgba(255, 255, 255, .70);
}

.footer-mini:hover {
    color: rgba(255, 255, 255, .98);
}

.footer-sep {
    color: rgba(255, 255, 255, .32);
}

/* === Column separators (visual structure) === */

.footer-col {
    position: relative;
    padding-right: 22px;
}

.footer-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
            to bottom,
            transparent,
            rgba(255, 255, 255, .12),
            transparent
    );
}

/* === Inner separators inside footer columns === */

.footer-col .footer-a,
.footer-col .footer-btnlink {
    display: block;
    position: relative;
    padding: 10px 0;
}

.footer-col .footer-a:not(:last-child)::after,
.footer-col .footer-btnlink:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px; /* короткая линия, не на всю ширину */
    height: 1px;
    background: rgba(255, 255, 255, .12);
}
