/* Footer polish: better contrast, clearer hierarchy, larger touch targets.
   Selectors are prefixed with "footer.footer" so they win over styles.css
   regardless of load order. Colours, content and links are unchanged. */

footer.footer { background: linear-gradient(180deg, var(--navy-dark, #000060) 0%, #00004d 100%); color: rgba(255, 255, 255, 0.78); padding-top: 72px; }

footer.footer .footer-grid { grid-template-columns: 1.7fr 1fr 1.15fr 1fr 1.3fr; gap: 36px; padding-bottom: 52px; border-bottom-color: rgba(255, 255, 255, 0.12); }

/* brand column */
footer.footer .footer-brand .nav-brand-text span { color: rgba(255, 255, 255, 0.6); }
footer.footer .footer-brand p { color: rgba(255, 255, 255, 0.78); max-width: 300px; }
footer.footer .footer-socials { gap: 10px; margin: 22px 0 18px; }
footer.footer .footer-social { width: 40px; height: 40px; border-radius: 10px; border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); }
footer.footer .footer-social svg { width: 17px; height: 17px; color: rgba(255, 255, 255, 0.8); }
footer.footer .footer-social:hover svg { color: var(--navy-dark, #000060); }

/* link columns */
footer.footer .footer-col h4 { position: relative; color: var(--white, #FFFFFF); font-size: 0.78rem; letter-spacing: 1.6px; margin-bottom: 24px; padding-bottom: 12px; }
footer.footer .footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--green, #A5D549); }
footer.footer .footer-col ul { gap: 4px; }
footer.footer .footer-col a { display: inline-block; padding: 5px 0; color: rgba(255, 255, 255, 0.78); font-size: 0.88rem; line-height: 1.45; transition: color 0.2s ease, transform 0.2s ease; }
footer.footer .footer-col a:hover { color: var(--green, #A5D549); transform: translateX(3px); }

/* bottom bar */
footer.footer .footer-bottom { padding: 24px 0; color: rgba(255, 255, 255, 0.66); font-size: 0.8rem; }
footer.footer .footer-utility { gap: 22px; flex-wrap: wrap; }
footer.footer .footer-utility a { color: rgba(255, 255, 255, 0.72); }
footer.footer .footer-utility a:hover { color: var(--green, #A5D549); }
footer.footer .footer-disclaimer { margin-top: 0; border-top-color: rgba(255, 255, 255, 0.12); }
footer.footer .footer-disclaimer p { color: rgba(255, 255, 255, 0.62); font-size: 0.78rem; max-width: 980px; }

/* AI tools line */
footer.footer .ai-tools-section { border-top-color: rgba(255, 255, 255, 0.12); }
footer.footer .ai-tools-label { color: rgba(255, 255, 255, 0.6); }

/* keyboard focus */
footer.footer a:focus-visible { outline: 2px solid var(--green, #A5D549); outline-offset: 3px; border-radius: 4px; }

/* call-to-action band */
footer.footer { padding-top: 0; }
footer.footer .footer-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin: -48px 0 48px; padding: 28px 32px; position: relative; z-index: 2;
    background: var(--green, #A5D549); color: var(--navy-dark, #000060); border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 40, 0.28);
}
footer.footer .footer-cta__text { display: flex; flex-direction: column; gap: 4px; max-width: 640px; }
footer.footer .footer-cta__text strong { font-family: var(--font-heading, 'Roboto', sans-serif); font-size: 1.35rem; font-weight: 700; color: var(--navy-dark, #000060); line-height: 1.25; }
footer.footer .footer-cta__text span { font-size: 0.95rem; color: rgba(0, 0, 70, 0.82); line-height: 1.55; }
footer.footer .footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
footer.footer .footer-cta__btn {
    display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 999px;
    font-family: var(--font-heading, 'Roboto', sans-serif); font-size: 0.9rem; font-weight: 600; color: var(--navy-dark, #000060);
    border: 2px solid var(--navy-dark, #000060); background: transparent; transition: background 0.2s ease, color 0.2s ease;
}
footer.footer .footer-cta__btn:hover { background: var(--navy-dark, #000060); color: var(--white, #FFFFFF); }
footer.footer .footer-cta__btn--primary { background: var(--navy-dark, #000060); color: var(--white, #FFFFFF); }
footer.footer .footer-cta__btn--primary:hover { background: var(--navy, #000080); }
footer.footer .footer-cta__btn:focus-visible { outline: 2px solid var(--navy-dark, #000060); outline-offset: 3px; }
footer.footer .container { padding-top: 0; }

/* contact column */
footer.footer .footer-contact address { font-style: normal; display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
footer.footer .footer-contact__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green, #A5D549); }
footer.footer .footer-contact address a { line-height: 1.6; }

@media (max-width: 1180px) {
    footer.footer .footer-grid { grid-template-columns: 1.4fr 1fr 1.1fr 1fr; }
    footer.footer .footer-contact { grid-column: 1 / -1; }
    footer.footer .footer-contact ul { flex-direction: row; flex-wrap: wrap; gap: 4px 24px; }
}
@media (max-width: 1024px) {
    footer.footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
    footer.footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    footer.footer .footer-cta { padding: 22px 20px; margin-left: -4px; margin-right: -4px; }
    footer.footer .footer-cta__actions { width: 100%; }
    footer.footer .footer-cta__btn { flex: 1 1 140px; }
    footer.footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    footer.footer .footer-col a { padding: 7px 0; }
    footer.footer .footer-utility { justify-content: center; gap: 12px 18px; }
}
@media (max-width: 420px) {
    footer.footer .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    footer.footer .footer-col a { transition: none; }
    footer.footer .footer-col a:hover { transform: none; }
}
