/* LPD v178 UX — sticky header, nav, back-to-top, lightbox */
:root { --lpd-hdr-h: 72px; --lpd-blue: #1d4a9f; --lpd-ink: #141a26; --lpd-muted: #44506a; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--lpd-hdr-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lpd-lb-fade, .lpd-backtop, .lpd-nav-panel { transition: none !important; }
}
.lpd-site-hdr {
  position: sticky; top: 0; z-index: 900; background: #fff;
  border-bottom: 1px solid #d8dde6; box-shadow: 0 1px 0 rgba(20,26,38,.04);
}
.lpd-site-hdr-inner {
  max-width: 1240px; margin: 0 auto; padding: 10px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  justify-content: space-between;
}
.lpd-site-hdr .lpd-logo img { height: 56px; width: auto; display: block; }
.lpd-pnav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 15px; font-weight: 500; }
.lpd-pnav > a, .lpd-nav-btn {
  text-decoration: none; color: inherit; padding: 10px 12px; border-radius: 2px;
  background: transparent; border: 0; font: inherit; font-weight: 500; cursor: pointer;
}
.lpd-pnav > a:hover, .lpd-nav-btn:hover, .lpd-pnav > a:focus-visible, .lpd-nav-btn:focus-visible {
  color: var(--lpd-blue); outline: none;
}
.lpd-pnav > a:focus-visible, .lpd-nav-btn:focus-visible { box-shadow: 0 0 0 3px #ffbf47; }
.lpd-nav-item { position: relative; }
.lpd-nav-btn[aria-expanded="true"] { color: var(--lpd-blue); }
.lpd-nav-panel {
  display: none; position: absolute; left: 0; top: calc(100% + 4px); min-width: 240px;
  background: #fff; border: 1px solid #d8dde6; border-radius: 2px;
  box-shadow: 0 12px 28px rgba(20,26,38,.12); padding: 8px 0; z-index: 950;
}
.lpd-nav-item.is-open > .lpd-nav-panel { display: block; }
.lpd-nav-panel a {
  display: block; padding: 10px 16px; text-decoration: none; color: var(--lpd-ink); font-weight: 500;
}
.lpd-nav-panel a:hover, .lpd-nav-panel a:focus-visible { background: #eef3fb; color: var(--lpd-blue); outline: none; }
.lpd-hdr-cta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lpd-hdr-cta .btn {
  display: inline-block; background: var(--lpd-blue); color: #fff !important; text-decoration: none;
  font-weight: 700; padding: 11px 16px; border-radius: 2px;
}
.lpd-hdr-phone { font-weight: 600; text-decoration: none; color: #111; font-size: 14px; padding: 8px; }
.lpd-nav-toggle {
  display: none; border: 1px solid #c5cdd9; background: #fff; padding: 10px 12px;
  font-weight: 700; border-radius: 2px; cursor: pointer;
}
.lpd-nav-toggle:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
@media (max-width: 920px) {
  .lpd-nav-toggle { display: inline-block; }
  .lpd-pnav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    padding: 8px 0 12px; border-top: 1px solid #e8ecf2; margin-top: 4px;
  }
  .lpd-pnav.is-open { display: flex; }
  .lpd-nav-item { width: 100%; }
  .lpd-nav-panel {
    position: static; box-shadow: none; border: 0; border-left: 2px solid #d8dde6;
    margin: 0 0 4px 12px; min-width: 0;
  }
  .lpd-site-hdr .lpd-logo img { height: 48px; }
}
.lpd-backtop {
  position: fixed; right: 16px; bottom: 72px; z-index: 850;
  width: 44px; height: 44px; border-radius: 2px; border: 1px solid #c5cdd9;
  background: #fff; color: var(--lpd-ink); font-weight: 700; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.lpd-backtop.is-on { opacity: 1; pointer-events: auto; }
.lpd-backtop:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
@media (max-width: 760px) { .lpd-backtop { bottom: 72px; } }

/* Lightbox */
.lpd-lb[hidden] { display: none !important; }
.lpd-lb {
  position: fixed; inset: 0; z-index: 2000; background: rgba(10,16,28,.88);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lpd-lb-dialog {
  position: relative; max-width: min(1100px, 100%); max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.lpd-lb-img {
  max-width: 100%; max-height: calc(90vh - 72px); width: auto; height: auto;
  object-fit: contain; background: #000;
}
.lpd-lb-cap { color: #e8ecf2; font-size: 14px; line-height: 1.45; text-align: center; max-width: 70ch; }
.lpd-lb-close, .lpd-lb-prev, .lpd-lb-next {
  position: absolute; border: 0; background: rgba(255,255,255,.92); color: #111;
  font-weight: 700; cursor: pointer; border-radius: 2px; min-width: 44px; min-height: 44px;
}
.lpd-lb-close { top: -8px; right: -8px; }
.lpd-lb-prev { left: -8px; top: 50%; transform: translateY(-50%); }
.lpd-lb-next { right: -8px; top: 50%; transform: translateY(-50%); }
.lpd-lb-close:focus-visible, .lpd-lb-prev:focus-visible, .lpd-lb-next:focus-visible {
  outline: 3px solid #ffbf47; outline-offset: 2px;
}
body.lpd-lb-open { overflow: hidden; }
.lpd-gallery-trigger { cursor: zoom-in; }
.lpd-gallery-trigger:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }

.lpd-related {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid #d8dde6;
}
.lpd-related h2 { font-family: Newsreader, Georgia, serif; font-weight: 500; font-size: 28px; margin: 0 0 12px; }
.lpd-related p { margin: 0; font-size: 15px; line-height: 1.7; color: #333; }
.lpd-nextstep-soft {
  margin: 32px 0 0; padding: 16px 18px; border: 1px solid #e8ecf2; background: #f8f9fb;
  font-size: 14px; line-height: 1.55; color: var(--lpd-muted);
}


/* v178 logo-C review QA */
.lpd-related{max-width:880px;margin:40px auto 0;padding:24px 24px 0;border-top:1px solid #d8dde6;text-align:left}
.lpd-related h2{text-align:left}
.lpd-related p{text-align:left}
#lpd-dcta{display:none}
@media(min-width:900px){
  #lpd-dcta{display:inline-flex;align-items:center;justify-content:center;position:fixed;right:24px;bottom:24px;z-index:998;
    background:#1d4a9f;color:#fff!important;font-weight:700;font-size:16px;text-decoration:none;padding:15px 22px;border-radius:2px;
    box-shadow:0 6px 20px rgba(0,0,0,.25);min-height:44px}
  #lpd-dcta.hide{opacity:0;pointer-events:none}
}
#lpd-mbar{display:none}
@media(max-width:760px){
  #lpd-mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:999;background:#000;gap:1px}
  #lpd-mbar a{flex:1;text-align:center;padding:14px 6px;color:#fff!important;font-weight:700;text-decoration:none;font-size:15px;min-height:44px;display:flex;align-items:center;justify-content:center}
  #lpd-mbar a+a{background:#1d4a9f}
  body{padding-bottom:56px}
}
/* Lightbox: fire 7.24 pattern — controls in top bar above image, >=44px high-contrast */
.lpd-lb{position:fixed;inset:0;z-index:3000;background:rgba(5,8,14,.94);display:flex;flex-direction:column;align-items:stretch;padding:0}
.lpd-lb-dialog{position:relative;display:flex;flex-direction:column;width:100%;height:100%;max-width:none;max-height:none}
.lpd-lb-bar{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;background:#05080e;flex:0 0 auto}
.lpd-lb-ctrls{display:flex;gap:8px}
.lpd-lb-close,.lpd-lb-prev,.lpd-lb-next{position:static;transform:none;min-width:56px;min-height:56px;padding:0 14px;font:inherit;font-size:16px;font-weight:700;color:#05080e;background:#fff;border:2px solid #fff;border-radius:2px;cursor:pointer}
.lpd-lb-close:hover,.lpd-lb-prev:hover,.lpd-lb-next:hover{background:#ffbf47;border-color:#ffbf47}
.lpd-lb-stage{position:relative;z-index:1;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:12px 16px}
.lpd-lb-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none;-webkit-user-drag:none;background:transparent}
.lpd-lb-cap{color:#e8ecf2;font-size:15px;line-height:1.45;text-align:center;padding:8px 16px 16px;max-width:80ch;margin:0 auto;flex:0 0 auto}

/* logo-c-qa-fix floating lanes */
.lpd-backtop{position:fixed;left:24px;right:auto;bottom:24px;z-index:850;width:48px;height:48px}
@media (min-width:900px){
  #lpd-dcta{right:24px;left:auto;bottom:24px}
}
@media (max-width:760px){
  .lpd-backtop{left:auto;right:16px;bottom:calc(56px + 12px + env(safe-area-inset-bottom,0px))}
  body{padding-bottom:calc(56px + 64px + env(safe-area-inset-bottom,0px)) !important}
  footer{padding-bottom:28px}
}
