/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    padding: 0 var(--sp-sm);
}

/* Ornamental top rule */
.footer-rule {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: var(--sp-md) 0 0;
}

.footer-rule::before,
.footer-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--clr-border));
}

.footer-rule::after {
    background: linear-gradient(to left, transparent, var(--clr-border));
}

.footer-rule-ornament {
    font-size: 0.65rem;
    color: var(--clr-gold);
    letter-spacing: 0.3em;
    flex-shrink: 0;
}

/* Inner layout — stacks on mobile, row on desktop */
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
    padding: var(--sp-lg) 0 var(--sp-md);
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* Brand */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 900;
    color: var(--clr-text);
    letter-spacing: 0.04em;
    margin-bottom: var(--sp-sm);
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--clr-muted);
    font-style: italic;
}

/* Nav columns */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
}

@media (min-width: 480px) {
    .footer-nav {
        flex-direction: row;
        gap: var(--sp-xl);
    }
}

.footer-nav-heading {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: var(--sp-md);
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-col a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--clr-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.footer-nav-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--clr-gold);
    transition: width 0.3s var(--ease-out);
}

.footer-nav-col a:hover {
    color: var(--clr-gold-soft);
}

.footer-nav-col a:hover::after {
    width: 100%;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: var(--sp-md) 0;
    border-top: 1px solid var(--clr-border);
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copy,
.footer-legal {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--clr-muted);
}

.footer-legal a {
    color: var(--clr-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--clr-gold);
}