/* LUZMU V151 — FINAL CROSS-BROWSER / INNER PAGE STABILITY */
:root{
  --luzmu-gold:#d9a62e;
  --luzmu-gold-soft:#b8872e;
  --luzmu-bg:#02070a;
  --luzmu-inner-max:1680px;
  --luzmu-header-max:1800px;
}
html{
  box-sizing:border-box;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  background:var(--luzmu-bg);
}
*,*::before,*::after{box-sizing:inherit}
body.luzmu-body{
  margin:0;
  min-width:320px;
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  overflow-x:hidden;
  background:var(--luzmu-bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body.luzmu-body>main{flex:1 0 auto;min-width:0;width:100%}
img,svg,video,canvas{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
button,[type=button],[type=submit],a{-webkit-tap-highlight-color:transparent}

/* Header: one stable geometry for every internal module. */
body.is-inner .site-header{
  width:100%!important;
  min-height:78px!important;
  height:78px!important;
  background:linear-gradient(180deg,#07111a,#020609)!important;
  border-bottom:1px solid rgba(221,166,48,.62)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.34)!important;
  position:relative!important;
  z-index:1000!important;
}
body.is-inner .site-header .header-inner{
  width:min(calc(100% - 32px),var(--luzmu-header-max))!important;
  height:100%!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:clamp(180px,14vw,260px) minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:clamp(10px,1.1vw,20px)!important;
}
body.is-inner .site-header .brand-image{min-width:0!important;display:flex!important;align-items:center!important}
body.is-inner .site-header .brand-image img{width:clamp(160px,10.5vw,215px)!important;max-width:100%!important;height:auto!important}
body.is-inner .site-header .main-nav{height:100%!important;min-width:0!important;display:flex!important;justify-content:center!important}
body.is-inner .site-header .nav-list-icons{height:100%!important;display:flex!important;align-items:stretch!important;justify-content:center!important;min-width:0!important;margin:0!important;padding:0!important}
body.is-inner .site-header .nav-list-icons li{min-width:0!important;display:flex!important}
body.is-inner .site-header .nav-list-icons a{
  height:100%!important;
  min-width:clamp(70px,5.1vw,96px)!important;
  padding:6px 8px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  white-space:nowrap!important;
  font-size:clamp(7px,.52vw,9px)!important;
  line-height:1.15!important;
}
body.is-inner .site-header .nav-icon{width:clamp(23px,1.5vw,30px)!important;height:clamp(23px,1.5vw,30px)!important;object-fit:contain!important}
body.is-inner .language-switch-v47{display:flex!important;align-items:center!important;gap:3px!important;flex-wrap:nowrap!important;position:static!important;transform:none!important;margin:0!important}
body.is-inner .language-switch-v47 a{flex:0 0 auto!important}
body.is-inner .mobile-nav-toggle{display:none!important}

/* Inner pages keep a centered, readable width on 1366 through 3440. */
body.is-inner .inner-page-shell{
  width:min(calc(100% - clamp(28px,4vw,96px)),var(--luzmu-inner-max))!important;
  max-width:var(--luzmu-inner-max)!important;
  margin:clamp(22px,2vw,38px) auto clamp(42px,4vw,72px)!important;
  padding:0!important;
  min-width:0!important;
}
body.is-inner .inner-hero{
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center center!important;
}
body.is-inner .inner-module{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-wrap:anywhere;
}
body.is-inner table{max-width:100%}
body.is-inner .table-responsive{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

/* Footer: always complete, centered, and never clipped by legacy V18-V21 rules. */
.site-footer.footer-reference-v135{
  flex:0 0 auto!important;
  width:100%!important;
  max-width:none!important;
  height:62px!important;
  min-height:62px!important;
  margin:0!important;
  padding:0 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  background:#020304!important;
  border-top:1px solid rgba(213,157,48,.48)!important;
  color:#aa873b!important;
  position:relative!important;
  z-index:5!important;
}
.site-footer.footer-reference-v135>*{display:flex!important;visibility:visible!important;opacity:1!important}
.site-footer .footer-reference-shell-v135{
  width:min(calc(100% - 12px),var(--luzmu-header-max))!important;
  max-width:var(--luzmu-header-max)!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:clamp(10px,1.2vw,20px)!important;
  white-space:nowrap!important;
  overflow:visible!important;
  font-size:clamp(8px,.55vw,10px)!important;
  line-height:1.2!important;
  color:#a88437!important;
}
.site-footer .footer-reference-shell-v135 a{display:inline!important;color:#b99544!important;text-decoration:none!important}
.site-footer .footer-reference-sep-v135{display:inline!important;color:#8f691f!important}

/* Browser-safe layout primitives. */
body.is-inner [class*="row"]{min-width:0}
body.is-inner [class*="col-"]{min-width:0}
body.is-inner .form-control,body.is-inner input,body.is-inner select,body.is-inner textarea{max-width:100%}

@media (min-width:2200px){
  :root{--luzmu-inner-max:1760px;--luzmu-header-max:1900px}
  body.is-inner .site-header{height:82px!important;min-height:82px!important}
}
@media (max-width:1180px){
  body.is-inner .site-header{height:72px!important;min-height:72px!important}
  body.is-inner .site-header .header-inner{width:100%!important;padding:0 12px!important;grid-template-columns:minmax(145px,1fr) auto auto!important}
  body.is-inner .site-header .brand-image img{width:165px!important}
  body.is-inner .mobile-nav-toggle{display:block!important;grid-column:3!important}
  body.is-inner .language-switch-v47{grid-column:2!important}
  body.is-inner .site-header .main-nav{
    display:none!important;position:absolute!important;top:72px!important;left:10px!important;right:10px!important;height:auto!important;
    padding:8px!important;background:rgba(2,8,12,.99)!important;border:1px solid rgba(215,157,43,.62)!important;box-shadow:0 18px 36px rgba(0,0,0,.6)!important
  }
  body.is-inner .site-header .main-nav.is-open{display:block!important}
  body.is-inner .site-header .nav-list-icons{height:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  body.is-inner .site-header .nav-list-icons a{height:54px!important;min-width:0!important;flex-direction:row!important;justify-content:flex-start!important;padding:8px 12px!important;font-size:9px!important}
  body.is-inner .inner-page-shell{width:calc(100% - 24px)!important;margin-top:18px!important}
}
@media (max-width:700px){
  body.is-inner .site-header .header-inner{grid-template-columns:minmax(125px,1fr) auto auto!important;padding:0 8px!important}
  body.is-inner .site-header .brand-image img{width:142px!important}
  body.is-inner .language-switch-v47{gap:1px!important;padding:2px!important}
  body.is-inner .language-switch-v47 a{width:25px!important;height:26px!important}
  body.is-inner .language-switch-v47 span{display:none!important}
  body.is-inner .site-header .nav-list-icons{grid-template-columns:1fr 1fr!important}
  body.is-inner .inner-page-shell{width:calc(100% - 16px)!important;margin:12px auto 30px!important}
  .site-footer.footer-reference-v135{height:auto!important;min-height:72px!important;padding:13px 10px!important}
  .site-footer .footer-reference-shell-v135{white-space:normal!important;flex-wrap:wrap!important;text-align:center!important;gap:6px 10px!important;font-size:8px!important}
}
@media (max-width:430px){
  body.is-inner .language-switch-v47 a{width:21px!important}
  body.is-inner .site-header .nav-list-icons{grid-template-columns:1fr!important}
  .site-footer .footer-reference-sep-v135{display:none!important}
}
