/* footer.css - Footer component
   Used by ALL pages on Compare.org.nz */

/* ---- FOOTER ---- */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
}
.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 0.75rem;
}
.footer-grid h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-grid a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-grid a:hover { color: var(--primary); }
.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
}
.footer-bottom-links a:hover { color: var(--text); }

/* Footer reviews band */
.footer-reviews {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}
.footer-reviews h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-reviews-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4rem 2rem;
}
.footer-reviews-grid a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
    padding: 0.2rem 0;
}
.footer-reviews-grid a:hover { color: var(--primary); }

@media (max-width: 900px) {
.footer-grid { grid-template-columns: 1fr 1fr; }
.footer-reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
.footer-grid { grid-template-columns: 1fr; gap: 2rem; }
.footer-reviews-grid { grid-template-columns: repeat(2, 1fr); }
.footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
