/* ==========================================================
   footer.css — Footer
   3 columns desktop, stacked mobile, dark background.
   ========================================================== */

/* --------------------------------------------------------
   Footer-Wrapper
   -------------------------------------------------------- */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white-muted);
    padding-block: var(--space-2xl);
}

/* --------------------------------------------------------
   Footer grid: 3 columns
   -------------------------------------------------------- */
.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 48rem) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--space-2xl);
    }
}

/* --------------------------------------------------------
   Footer columns
   -------------------------------------------------------- */
.footer__heading {
    color: var(--color-white);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

/* --------------------------------------------------------
   Footer — Info column (logo + short text)
   -------------------------------------------------------- */
.footer__brand {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.footer__description {
    font-size: var(--font-size-small);
    max-width: 20rem;
}

/* --------------------------------------------------------
   Footer — Contact column
   -------------------------------------------------------- */
.footer__contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: var(--font-size-small);
}

.footer__contact-list a {
    color: var(--color-white-muted);
    transition: color var(--transition-base);
}

.footer__contact-list a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* --------------------------------------------------------
   Footer — Links column
   -------------------------------------------------------- */
.footer__nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: var(--font-size-small);
}

.footer__link {
    color: var(--color-white-muted);
    transition: color var(--transition-base);
}

.footer__link:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* --------------------------------------------------------
   Footer — Bottom row (copyright)
   -------------------------------------------------------- */
.footer__bottom {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-white-faint);
    font-size: var(--font-size-small);
    text-align: center;
}