/**
 * footer.css
 * Site footer styles
 */

/* ══════════════════════════════════════════════════════
   FOOTER UNDERLAYER
   Fixed at the bottom of the viewport — content scrolls
   away to progressively reveal it.
═══════════════════════════════════════════════════════ */

.footer-underlayer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
}

/* ══════════════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════════════ */

.site-footer {
    background: #070F1E;
    color: var(--clr-white);
}

/* ── Upper Section — fluid, full viewport width ──────── */

.site-footer__upper {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    gap: 60px;
    padding-block: 72px 64px;
    padding-inline: var(--container-gutter);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Brand column */
.site-footer__brand img {
    height: 100px;
    width: auto;
    margin-bottom: var(--space-5);
    display: block;
}

.site-footer__brand p {
    font-size: var(--text-sm);
    line-height: var(--lh-relaxed);
    color: rgba(255, 255, 255, 0.35);
    max-width: 560px;
}

.site-footer__dev-logos {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__dev-logos img {
    height: 32px;
    width: auto;
    opacity: 0.45;
    filter: brightness(0) invert(1);
    transition: opacity var(--duration-fast) var(--ease-out);
    display: inline-block;
}

.site-footer__dev-logos img:hover {
    opacity: 0.75;
}

/* Nav columns */
.site-footer__heading {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: var(--space-5);
}

.site-footer__col ul {
    list-style: none;
}

.site-footer__col ul li {
    margin-bottom: var(--space-3);
}

.site-footer__col ul li a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.38);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

.site-footer__col ul li a:hover {
    color: var(--clr-gold);
}

/* Contact column */
.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.site-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
}

.site-footer__contact-item svg {
    color: var(--clr-gold);
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.75;
}

.site-footer__contact-item a,
.site-footer__contact-item span {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    line-height: var(--lh-normal);
    transition: color var(--duration-fast) var(--ease-out);
}

.site-footer__contact-item a:hover {
    color: var(--clr-gold);
}

.site-footer__map-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: color var(--duration-fast) var(--ease-out);
    letter-spacing: 0.04em;
}

.site-footer__map-link:hover {
    color: var(--clr-gold);
}

/* ── Bottom Bar — fluid, full viewport width ─────────── */

.site-footer__bottom {
    background: #050C17;
    padding-block: 28px;
    padding-inline: var(--container-gutter);
}

.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: space-between;
    align-items: flex-start;
}

.site-footer__copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    max-width: none;
    line-height: var(--lh-normal);
}

.site-footer__disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1.65;
    max-width: 640px;
    flex-basis: 100%;
    order: 3;
}

.site-footer__legal-nav {
    display: flex;
    gap: var(--space-6);
    flex-shrink: 0;
}

.site-footer__legal-nav a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.22);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}

.site-footer__legal-nav a:hover {
    color: var(--clr-gold);
}
