.site-header { position: relative; z-index: 20; }
.site-header .navbar { margin: 16px 20px; background-color: rgba(248, 249, 250); }
.site-header .navbar-brand img { display: block; width: auto; height: 54px; object-fit: contain; }
.site-header .offcanvas-title { margin: 0; font-size: 1.15rem; }
.site-header .nav-link.active { color: #111 !important; }
.application-page .site-header .navbar { margin: 0; padding: 0; background-color: transparent !important; border-radius: 0; }
.application-page .site-header .nav-link { font-size: 1rem !important; }
.hero-section { position: relative; }
.hero-section .site-header--overlay { position: absolute; inset: 0 0 auto; z-index: 20; }
.site-footer { width: 100%; color: #1d2937; background: #fff; border-top: 1px solid #e3e8ed; }
.site-footer-inner { display: grid; width: min(100% - 48px, 1320px); grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; margin: 0 auto; padding: 38px 0 18px; }
.site-footer-contact h2 { margin: 0 0 8px; color: #172433; font-size: 1.05rem; font-weight: 700; }
.site-footer-contact a, .site-footer-social a { color: #354456; font-size: .92rem; text-decoration: none; }
.site-footer-contact a:hover, .site-footer-social a:hover { color: #126fb2; text-decoration: underline; }
.site-footer-brand { display: flex; align-items: center; justify-content: center; gap: 22px; min-width: 0; }
.site-footer-logo { width: auto; max-width: 155px; height: 58px; object-fit: contain; }
.site-footer-ofsted { width: auto; max-width: 120px; height: 50px; object-fit: contain; }
.site-footer-social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.site-footer-social a { display: grid; width: 44px; height: 44px; place-items: center; color: #263648; }
.site-footer-social svg { display: block; width: 32px; height: 32px; fill: currentColor; }
.site-footer-copyright { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 14px; color: #647284; border-top: 1px solid #e8ebef; font-size: .82rem; text-align: center; }

@media (max-width: 767px) {
  .site-header .navbar { margin: 8px 10px; padding: .35rem .65rem; }
  .site-header .navbar-brand img { height: 46px; }
  .site-header .offcanvas-body { flex-direction: column; align-items: center; justify-content: center; }
  .site-header .offcanvas-body .navbar-nav { flex: 1 1 auto; align-items: center; justify-content: center !important; width: 100%; }
  .site-header .offcanvas-body .nav-item { display: flex; justify-content: center; width: 100%; }
  .site-header .offcanvas-body .nav-link { position: relative; display: inline-block; width: fit-content; padding: 12px 4px; text-align: center; }
  .site-header .offcanvas-body .nav-link::before { right: 4px; left: 4px; width: auto; transform: none; }
  .site-footer-inner { width: min(100% - 32px, 540px); grid-template-columns: 1fr; justify-items: center; gap: 18px; padding: 28px 0 16px; text-align: center; }
  .site-footer-brand { flex-wrap: wrap; gap: 14px; }
  .site-footer-logo { height: 48px; }
  .site-footer-ofsted { height: 42px; }
  .site-footer-social { justify-content: center; gap: 12px 20px; }
  .site-footer-social a { width: 48px; height: 48px; }
  .site-footer-social svg { width: 36px; height: 36px; }
  .site-footer-copyright { grid-column: auto; width: 100%; }
}
/* Shared form security: spam trap kept off-screen */
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
