/* ==========================================================================
   STAYORA FOOTER — UNSLOPPED TYPOGRAPHY & WARM LIMESTONE ALIGNMENT
   Mobile-First · Instrument Sans + IBM Plex Mono · Zero Negative Micro-Tracking
   ========================================================================== */

.footer {
    background-color: #f4f4f2;
    color: var(--us-text-secondary, #5e554a);
    font-family: var(--us-font-ui, "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    padding: 56px 16px 32px;
    border-top: 1px solid rgba(31, 27, 22, 0.08);
}

.footer-shell {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.footer-directory {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
    padding-bottom: 32px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    margin: 0 0 12px;
    font-family: var(--us-font-mono, "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.01em;
    color: var(--us-text-primary, #1f1b16);
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-list li {
    margin: 0;
}

.footer-list a,
.footer-link-btn {
    color: var(--us-text-secondary, #5e554a);
    text-decoration: none;
    font-family: var(--us-font-ui, "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0;
    transition: color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-list a:hover,
.footer-link-btn:hover {
    color: var(--us-accent, #1b4d7e);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-social-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--us-text-muted, #7b7266);
    transition: color 160ms cubic-bezier(0.22, 1, 0.36, 1), transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-list a.footer-social-link:hover {
    text-decoration: none;
}

.footer-list a.footer-social-link:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-list a.footer-social-link:hover .footer-social-icon {
    color: var(--us-accent, #1b4d7e);
}

.footer-inline-form {
    display: inline;
    margin: 0;
}

.footer-link-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.footer-more-ways {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(31, 27, 22, 0.1);
    font-family: var(--us-font-ui, "Instrument Sans", -apple-system, sans-serif);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--us-text-muted, #7b7266);
}

.footer-more-ways a {
    color: var(--us-accent, #1b4d7e);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-more-ways a:hover {
    color: var(--us-accent-hover, #153e66);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--us-font-mono, "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace);
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    color: var(--us-text-muted, #7b7266);
}

.footer-legal-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-copyright {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--us-text-muted, #7b7266);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
    color: #1b4d7e;
    text-decoration: none;
    transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-brand:hover {
    color: #153e66;
}

.footer-brand .brand-mark-svg,
.footer-copyright .brand-mark-svg {
    width: 24px;
    height: 21px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    color: currentColor;
}

.footer-legal-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    font-family: var(--us-font-ui, "Instrument Sans", -apple-system, sans-serif);
    font-size: 13px;
}

.footer-legal-links li {
    display: inline-flex;
    align-items: center;
}

.footer-legal-links li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: rgba(31, 27, 22, 0.14);
    margin: 0 12px;
}

.footer-legal-links a {
    color: var(--us-text-secondary, #5e554a);
    text-decoration: none;
    transition: color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-legal-links a:hover {
    color: var(--us-accent, #1b4d7e);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-locale {
    color: var(--us-text-secondary, #5e554a);
    white-space: nowrap;
}

@media (min-width: 640px) {
    .footer {
        padding: 64px 24px 36px;
    }

    .footer-directory {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 20px;
    }
}

@media (min-width: 834px) {
    .footer-directory {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
        padding-bottom: 36px;
    }

    .footer-legal {
        flex-direction: row;
        align-items: center;
    }

    .footer-legal-left {
        flex-direction: row;
        align-items: center;
        gap: 28px;
    }
}
