/* ============================================
   FOOTER RESPONSIVE CSS
   Breakpoints:
   - SM (Small)    : ~480px
   - MD (Medium)   : 481~768px
   - TB (Tablet)   : 769~1024px
   - LG (Large)    : 1025px~
   ============================================ */

/* ============================================
   TB — Tablet (769px ~ 1024px)
   2-column grid, links move under contact
   ============================================ */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer {
        padding: 4rem 0;
    }
    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #eee;
    }
    .footer-brand h2 {
        font-size: 2.2rem;
        margin-bottom: 0.3rem;
    }
    .footer-contact p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    .footer-links {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.75rem;
    }
    .footer-links a {
        font-size: 0.88rem;
    }
    .footer-policies {
        gap: 1.2rem;
    }
    .footer-policies a {
        font-size: 0.82rem;
    }
}

/* ============================================
   MD — Medium (481px ~ 768px)
   Single column, center-aligned
   ============================================ */
@media (max-width: 768px) and (min-width: 481px) {
    .footer {
        padding: 3.5rem 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        margin-bottom: 2.5rem;
    }
    .footer-brand {
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid #eee;
    }
    .footer-brand h2 {
        font-size: 2rem;
    }
    .footer-contact {
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid #eee;
    }
    .footer-contact p {
        font-size: 0.88rem;
        margin-bottom: 0.35rem;
        line-height: 1.7;
    }
    .footer-links {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .footer-links a {
        font-size: 0.88rem;
        gap: 0.5rem;
    }
    .footer-links svg {
        width: 1rem;
        height: 1rem;
    }
    .footer-bottom {
        padding-top: 1.5rem;
    }
    .footer-policies {
        gap: 1rem;
        margin-bottom: 0.75rem;
    }
    .footer-policies a {
        font-size: 0.8rem;
    }
    .footer-bottom > p {
        font-size: 0.75rem;
    }
}

/* ============================================
   SM — Small (~ 480px)
   Compact stacked layout
   ============================================ */
@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    .footer-brand {
        padding-bottom: 1.2rem;
        margin-bottom: 1.2rem;
        border-bottom: 1px solid #eee;
    }
    .footer-brand h2 {
        font-size: 1.6rem;
        margin-bottom: 0.2rem;
    }
    .footer-brand p {
        font-size: 0.85rem;
    }
    .footer-contact {
        padding-bottom: 1.2rem;
        margin-bottom: 1.2rem;
        border-bottom: 1px solid #eee;
    }
    .footer-contact p {
        font-size: 0.82rem;
        margin-bottom: 0.3rem;
        line-height: 1.65;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
    .footer-links a {
        font-size: 0.85rem;
        gap: 0.5rem;
        padding: 0.5rem 1.2rem;
        border: 1px solid #eee;
        border-radius: 999px;
        transition: all 0.25s ease;
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }
    .footer-links a:hover {
        background: #111;
        color: #fff;
        border-color: #111;
    }
    .footer-links a:hover svg {
        stroke: #fff;
    }
    .footer-links svg {
        width: 0.95rem;
        height: 0.95rem;
    }
    .footer-bottom {
        padding-top: 1.2rem;
    }
    .footer-policies {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    .footer-policies a {
        font-size: 0.78rem;
        padding: 0.25rem 0;
    }
    .footer-bottom > p {
        font-size: 0.7rem;
        color: #aaa;
    }
}
