/* Shared navigation and footer for every page. */
:root { --nav-h: 88px; }
nav#main-nav.site-nav {
  position: fixed; inset: 0 0 auto; z-index: 300; height: var(--nav-h);
  display: flex; align-items: center; justify-content: center; padding: 0 2.5rem;
  background: #1565e0; border-bottom: 1px solid rgba(255,255,255,.16);
}
nav#main-nav.site-nav.scrolled { background: #104fb0; }
.site-nav .nav-inner { width: 100%; max-width: 1200px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-nav .nav-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.site-nav .logo-img { display: block; width: auto; height: 80px; object-fit: contain; filter: none; }
.site-nav .nav-links { display: flex; align-items: center; list-style: none; gap: 1.5rem; margin: 0; padding: 0; }
.site-nav .nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: .875rem; font-weight: 500; white-space: nowrap; text-decoration: none; border: 0; padding: 0; }
.site-nav .nav-links a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.site-nav .nav-links .nav-cta { padding: 0 1rem !important; border: 1px solid rgba(255,255,255,.4) !important; border-radius: 9px; background: rgba(255,255,255,.14) !important; }
.site-nav .nav-links .nav-cta:hover { background: rgba(255,255,255,.24) !important; }
.site-nav a:focus-visible, .site-nav .menu-btn:focus-visible, #mobile-nav a:focus-visible, .site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.site-nav .menu-btn { position: static; display: none; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.4); border-radius: 9px; cursor: pointer; }
nav#mobile-nav { display: none; position: fixed; inset: var(--nav-h) 0 auto; z-index: 299; height: auto; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; padding: .75rem max(1.25rem, calc((100vw - 1200px) / 2)) 1.25rem; flex-direction: column; background: #104fb0; border-bottom: 1px solid rgba(255,255,255,.18); }
#mobile-nav a { display: block; padding: .875rem .25rem; min-height: 48px; color: #fff; font-size: 1rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.14); }
#mobile-nav a[aria-current] { font-weight: 700; }
#mobile-nav .cta-drawer { display: flex; justify-content: center; align-items: center; margin-top: .75rem; padding: .875rem !important; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.4) !important; border-radius: 10px; font-weight: 700; }
body.menu-open .wa-float, body.footer-in-view .wa-float { visibility: hidden; pointer-events: none; }

footer.site-footer { padding: 3rem 2.5rem 1.5rem; background: #104fb0; color: #fff; border: 0; text-align: left; }
.site-footer-inner { display: grid; grid-template-columns: 1.25fr .9fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto; }
.site-footer-inner > * { min-width: 0; }
.site-footer .site-footer-brand > a { display: inline-flex; max-width: 100%; }
.site-footer .site-footer-brand img { width: 246px; max-width: 100%; height: auto; display: block; filter: none; }
.site-footer p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.85); margin: .75rem 0 0; }
.site-footer .site-footer-location { color: rgba(255,255,255,.72); font-size: .8125rem; }
.site-footer h2 { margin: .65rem 0 .75rem; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.site-footer nav { position: static; inset: auto; display: block; height: auto; padding: 0; background: transparent; border: 0; backdrop-filter: none; z-index: auto; }
.site-footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; list-style: none; padding: 0; margin: 0; }
.site-footer-nav a { display: flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.9); font-size: .875rem; text-decoration: none; }
.site-footer-nav a:hover, .site-footer-social a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer-contact p { margin-top: 0; }
.site-footer .site-footer-whatsapp { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; max-width: 100%; padding: .75rem 1rem; margin-top: 1.125rem; border-radius: 10px; background: #fff; color: #104fb0; font-size: .875rem; font-weight: 600; text-decoration: none; text-align: center; }
.site-footer-whatsapp:hover { background: #e8f1ff; }
.site-footer nav.site-footer-social { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 1.25rem; margin-top: .5rem; }
.site-footer-social a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.9); font-size: .8125rem; text-decoration: none; }
.site-footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.18); text-align: center; }
.site-footer-bottom p { margin: 0; font-size: .75rem; color: rgba(255,255,255,.75); }
.site-footer-bottom .site-footer-credit { margin-top: .5rem; }
.site-footer-credit a { color: #fff; text-decoration: none; text-underline-offset: 3px; }
.site-footer-credit a:hover { text-decoration: underline; }

@media (max-width: 1050px) {
  :root { --nav-h: 74px; }
  nav#main-nav.site-nav { padding: 0 1.25rem; }
  .site-nav .nav-inner { gap: 1rem; }
  .site-nav .logo-img { height: 52px; }
  .site-nav .nav-links { display: none; }
  .site-nav .menu-btn { display: flex; }
  nav#mobile-nav.open { display: flex; }
}
@media (max-width: 900px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
  .site-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  footer.site-footer { padding: 2rem 1.25rem 1.25rem; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer .site-footer-brand img { width: 230px; }
  .site-footer h2 { margin-top: 0; }
  .site-footer-nav ul { max-width: 360px; }
  .site-footer-bottom { margin-top: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav *, #mobile-nav * { transition: none !important; }
}
