/* ============================================================
   SESI86-FOOTER-GLOBAL
   Footer situs — dicabut dari home.blade.php (baris 377-412 + 425)
   agar bisa dipakai semua halaman via layouts/akuikut.blade.php

   Bergantung pada CSS variable global yang didefinisikan di
   layouts/akuikut.blade.php baris 30-33:
     --line, --ink, --muted, --font-display, --brand
   ============================================================ */

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 2.5rem;
    padding: 2rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    margin: 0 0 .5rem;
}

.footer-brand-name .dot { color: var(--brand); }

.footer-tagline {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 .9rem;
    max-width: 22rem;
}

.footer-social { display: flex; gap: .6rem; }

.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
    color: var(--muted);
    transition: color .12s ease, border-color .12s ease;
}

.footer-social a:hover { color: var(--brand); border-color: var(--brand); }

.footer-col h4 {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 .7rem;
}

.footer-col a, .footer-col span {
    display: block;
    font-size: .92rem;
    color: var(--ink);
    text-decoration: none;
    padding: .25rem 0;
    line-height: 1.4;
}

.footer-col a:hover { color: var(--brand); }

.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 1.6rem;
    padding-top: 1.1rem;
    font-size: .82rem;
    color: var(--muted);
    text-align: center;
}

/* ---------- Desktop (>= 860px) ---------- */
@media (min-width: 860px) {
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
}

/* ---------- Pengecualian: halaman belajar ----------
   learn.css memaksa main.shell padding-bottom:0 (app-like, mentok bawah).
   Footer marketing tidak relevan di sana. Pola body:has() sejalan learn.css:256,429. */
body:has(.learn-wrap) .site-footer { display: none; }
