/* Final viewport safeguards: Bootstrap's negative row margins should not escape the custom section padding. */
.container-fluid > .row { margin-left: 0; margin-right: 0; }

.topbar { background: #2c3d00 !important; position: relative; z-index: 30; }
.navbar-brand { gap: 10px; }
.brand-logo {  height: 74px; object-fit: contain; mix-blend-mode: multiply; }
.navbar-toggler { position: relative; z-index: 40; }
.hero-art img { mix-blend-mode: normal; filter: saturate(1.08) contrast(1.03); }
.hero { background: #fff; }
.hero-glow { background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 47%, rgba(255,255,255,0) 72%), radial-gradient(circle at 80% 20%, #d9edff 0, transparent 25%); }
.about-visual > img, .enquiry-scene { mix-blend-mode: normal; }

@media (max-width: 1399.98px) {
  .navbar-brand { min-width: 0; max-width: calc(100% - 54px); flex: 1 1 auto; overflow: hidden; }
  .navbar-brand > span:last-child { overflow: hidden; }
  .navbar-toggler { display: block !important; position: absolute; right: 1rem; top: 25px; width: 44px; height: 40px; padding: 0 !important; border: 1px solid var(--blue) !important; border-radius: 8px; background: #fff linear-gradient(var(--blue) 0 0) center 12px / 20px 2px no-repeat, #fff linear-gradient(var(--blue) 0 0) center 19px / 20px 2px no-repeat, #fff linear-gradient(var(--blue) 0 0) center 26px / 20px 2px no-repeat !important; opacity: 1 !important; visibility: visible !important; }
  .navbar-toggler-icon { display: none; }
  .navbar-toggler::before { content: "☰"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
  .navbar-brand .brand-logo { width: 90px; height: 62px; }
  .navbar-brand strong { font-size: 1.08rem; }
  .navbar-brand small { font-size: .56rem; }
}

@media (max-width: 767px) {
  .container-fluid {  }
  .hero-copy { width: calc(100% - 30px); max-width: calc(100% - 30px); padding: 58px 30px 25px 6% !important; }
  .hero-copy > * { max-width: 100%; }
  .hero-text, .hero-actions { width: calc(100% - 30px); max-width: calc(100% - 30px); }
  .hero-actions { gap: 12px !important; }
  .hero-actions .btn { width: 100%; max-width: 100%; flex: 0 0 100%; }
  .navbar-brand { max-width: calc(100% - 50px); }
  .navbar-brand .brand-logo { width: 240px; }
  .navbar-brand > span:last-child { white-space: nowrap; }
}

/* Keep the existing navigation usable at tablet and small laptop widths. */
@media (min-width: 768px) and (max-width: 1399.98px) {
  .main-nav { min-height: 90px; }
  .navbar-brand .brand-logo { width: 240px; height: 62px; }
  .navbar-collapse { flex-basis: 100%; padding: 20px 0; }
  .navbar-collapse .navbar-nav { align-items: flex-start; }
  .navbar-collapse .nav-link.active::after { display: none; }
  .navbar-collapse .nav-cta { margin-top: 12px; }
}
/* Policy text and long enquiry content must stay within their columns. */
main p, .footer-contact-link { overflow-wrap: anywhere; }
/* Keep footer branding and contact details inside narrow desktop columns. */
.footer-brand img { max-width: 100%; height: auto; }
.footer-contact-link, .footer-contact-link span { white-space: normal; overflow-wrap: anywhere; }
.footer-column, .footer-brand { min-width: 0; }
