/* DSP UI audit fixes — 2026-10-16
   Scoped, additive overrides only. Rollback: delete this file and
   dsp-ui-audit-20261016.php from novamira-sandbox/, then flush LiteSpeed. */

/* 1. Mobile bottom bar: Services | Tools | Assistant | DfiX ------------- */
.dsp-actionbar.dsp-actionbar--assistant{grid-template-columns:repeat(4,minmax(0,1fr))}
.dsp-actionbar.dsp-actionbar--assistant > a,
.dsp-actionbar.dsp-actionbar--assistant > button{min-width:0;min-height:52px}
.dsp-actionbar.dsp-actionbar--assistant span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.dsp-actionbar.dsp-actionbar--assistant > a{position:relative}
.dsp-actionbar.dsp-actionbar--assistant > a.is-current{
  color:var(--dsp-forest,#163D2B);
  background:rgba(168,194,163,.24);
}
.dsp-actionbar.dsp-actionbar--assistant > a.is-current::before{
  content:"";position:absolute;top:3px;left:50%;width:22px;height:3px;border-radius:3px;
  background:var(--dsp-coral,#F08069);transform:translateX(-50%);
}

/* 2. Clear, e-District-inspired navigation directly over the existing hero.
   Preserve the livebar, logo/menu markup, sticky state and seven-slide carousel.
   The header overlays the image via dsp-experience-v4.css's existing negative
   hero margin; never move or duplicate the header/hero containers here. */
body.dsp-v4.home #dsp-header.dsp-header:not(.dsp-hdr-solid):not(.is-stuck){
  background:linear-gradient(180deg,rgba(14,47,34,.24),rgba(14,47,34,.04))!important;
  border-bottom-color:rgba(255,249,240,.12)!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
@media (min-width:900px){
  body.dsp-v4.home #dsp-header.dsp-header:not(.dsp-hdr-solid):not(.is-stuck) .dsp-nav{
    background:transparent!important;
    background-image:none!important;
    border-color:transparent!important;
    box-shadow:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
}
body.dsp-v4.home #dsp-header.dsp-header:not(.dsp-hdr-solid):not(.is-stuck) .dsp-nav__link{
  text-shadow:0 1px 5px rgba(14,47,34,.65)!important;
}
@media (max-width:899px){
  body.dsp-v4.home #dsp-header.dsp-header:not(.dsp-hdr-solid):not(.is-stuck) .dsp-burger{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
}

/* 3. Footer — deep-forest gradient, sage accents, cream text, coral hover --- */
body .dsp-foot.dsp-foot--compact{
  background:
    radial-gradient(120% 120% at 0% 0%,rgba(168,196,174,.12) 0%,rgba(168,196,174,0) 55%),
    linear-gradient(160deg,#174638 0%,#102D27 58%,#0C241F 100%);
  color:rgba(247,244,233,.82);
  padding:clamp(22px,3vw,32px) 0 clamp(14px,2vw,18px);
}
body .dsp-foot.dsp-foot--compact::before,
body .dsp-foot.dsp-foot--compact::after{opacity:.22}
body .dsp-foot--compact .dsp-footc__brand > p{
  font-size:.875rem;line-height:1.55;color:rgba(247,244,233,.78);margin:12px 0 8px;
}
body .dsp-foot--compact .dsp-footc__csc{font-size:.8125rem;color:rgba(247,244,233,.6)}
body .dsp-foot--compact .dsp-footc__csc strong{color:#F08069}
body .dsp-foot--compact .dsp-footc__group summary{
  color:#A8C4AE;font-size:.75rem;letter-spacing:.12em;margin-bottom:10px;
}
body .dsp-foot--compact .dsp-footc__list{gap:6px 16px}
body .dsp-foot--compact .dsp-footc__list a{
  display:inline-flex;align-items:center;min-height:28px;
  color:rgba(247,244,233,.82);font-size:.84rem;line-height:1.35;
  text-decoration:none;
  background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;
  transition:color .18s ease,background-size .2s ease;
}
body .dsp-foot--compact .dsp-footc__list a:hover,
body .dsp-foot--compact .dsp-footc__list a:focus-visible{
  color:#F08069;text-decoration:none;background-size:100% 1px;
}
body .dsp-foot--compact .dsp-footc__list a:focus-visible,
body .dsp-foot--compact .dsp-footc__contact a:focus-visible{outline:2px solid #F08069;outline-offset:3px;border-radius:4px}
body .dsp-foot--compact .dsp-footc__contact{border-top:1px solid rgba(168,196,174,.18);margin-top:20px;padding-top:14px}
body .dsp-foot--compact .dsp-footc__contact > span,
body .dsp-foot--compact .dsp-footc__contact > a{color:rgba(247,244,233,.8);font-size:.84rem}
body .dsp-foot--compact .dsp-footc__contact > a:hover{color:#F08069}
body .dsp-foot--compact .dsp-footc__contact svg{color:#A8C4AE}
body .dsp-foot--compact .dsp-footc__bottom{border-top:1px solid rgba(168,196,174,.16)}
body .dsp-foot--compact .dsp-footc__disclose,
body .dsp-foot--compact .dsp-footc__copy{color:rgba(247,244,233,.58);font-size:.78rem}
body .dsp-foot--compact .dsp-footc__qr{border-color:rgba(168,196,174,.22);background:rgba(247,244,233,.05)}
@media (max-width:640px){
  body .dsp-foot--compact .dsp-footc__group{border-top-color:rgba(168,196,174,.16)}
  body .dsp-foot--compact .dsp-footc__group summary{min-height:44px;display:flex;align-items:center;margin:0;padding:0 28px 0 0}
  body .dsp-foot--compact .dsp-footc__group summary::after{top:50%;transform:translateY(-50%);color:#A8C4AE}
  body .dsp-foot--compact .dsp-footc__list a{min-height:36px;font-size:.875rem}
  body .dsp-foot--compact .dsp-footc__contact > span,
  body .dsp-foot--compact .dsp-footc__contact > a{font-size:.84rem;min-height:32px}
}
@media (prefers-reduced-motion:reduce){
  body .dsp-foot--compact .dsp-footc__list a{transition:none}
}
