/* =====================================================================
   PRINTINGLIFE — FOOTER (светлая тема)
   Сохраняет раскладку старого футера (4 колонки + разделитель + легал).
   Текст — тёмный, шрифт чуть крупнее прежнего, элементы плотнее друг к другу.
   Токены — из printinglife-header.css (:root).
   ===================================================================== */

.pl-footer {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--pl-text);
    background: #ffffff;
    border-top: 1px solid var(--pl-line);
}

/* === Колоночный контейнер === */
.pl-footer__inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    padding: 2.5rem var(--pl-page-px);
    max-width: 100%;
    margin: 0;
}

.pl-footer__col {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;   /* плотно друг к другу */
    min-width: 0;
}

.pl-footer__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--pl-text);
    margin: 0 0 0.65rem;
    letter-spacing: -0.005em;
}

.pl-footer__title--spaced {
    margin-top: 1.15rem;
}

/* === Контакты === */
.pl-footer__contact {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9375rem;
    color: var(--pl-text);
    padding: 0.1rem 0;
}

.pl-footer__contact svg {
    width: 18px;
    height: 18px;
    color: var(--pl-ink);
    flex-shrink: 0;
    transition: color 160ms ease;
    opacity: 0.85;
}

.pl-footer__contact a {
    color: var(--pl-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 160ms ease;
}

.pl-footer__contact:hover svg,
.pl-footer__contact:hover a {
    color: var(--pl-brand);
    opacity: 1;
}

.pl-footer__line {
    margin: 0;
    font-size: 0.9rem;
    color: var(--pl-text);
    line-height: 1.45;
    padding: 0.1rem 0;
}

/* === Вертикальный разделитель === */
.pl-footer__divider {
    justify-self: center;
    width: 1px;
    height: 100%;
    background: var(--pl-line);
}

/* === Списки ссылок === */
.pl-footer__links a {
    font-size: 0.9rem;
    color: var(--pl-text);
    text-decoration: none;
    padding: 0.12rem 0;        /* плотно друг к другу */
    transition: color 160ms ease;
    line-height: 1.35;
}

.pl-footer__links a:hover {
    color: var(--pl-brand);
}

/* === Легал-строка === */
.pl-footer__legal {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem var(--pl-page-px);
    border-top: 1px solid var(--pl-line-soft);
    max-width: 100%;
    margin: 0;
    font-size: 0.8125rem;
    color: var(--pl-ink-soft);
}

.pl-footer__legal p {
    margin: 0;
}

.pl-footer__legal a {
    color: var(--pl-ink);
    text-decoration: none;
    transition: color 160ms ease;
}

.pl-footer__legal a:hover {
    color: var(--pl-brand);
}

/* ========== Адаптивность ========== */
@media (max-width: 1024px) {
    .pl-footer__inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.75rem 1.25rem;
    }
    .pl-footer__divider {
        display: none;
    }
    .pl-footer__contacts {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .pl-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 1.25rem;
        padding-top: 2rem;
    }
    .pl-footer__legal {
        flex-direction: column;
        gap: 0.4rem;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .pl-footer__inner {
        grid-template-columns: 1fr;
    }
}
