﻿/* =========================================================================
   site-base.css — 安阳优创电器有限责任公司 shared layout components
   Covers: design tokens, body reset, site header + nav + mobile panel,
           brand logo, site footer, inner-page hero banner.
   Replaces site-refactor.css + global.css + inner.css + detail.css +
   industrial-square.css for all new-design pages.
   ========================================================================= */

/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --brand-blue: #1677ff;
  --brand-dark: #0f64d8;
  --text-blue:  #096de6;
  --navy:       #0b203f;
  --container:  1280px;
  --c-pad:      32px;
  --header-shell: 1200px;
  --header-pad:   clamp(20px, 4vw, 40px);
  --font: "Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
}

/* ── Minimal reset ──────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
html { background: #fff; color: #14233a; overflow-y: scroll; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
}
img { max-width: 100%; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color .18s; }
a:hover { text-decoration: none; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-family: var(--font); font-weight: 700; }
p { margin: 0; }
ul,ol { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; }

.sr-factory-gallery-page .product-slide-img img,
.sr-honor-page .product-slide-img img {
  cursor: zoom-in;
}

body.site-lightbox-open {
  overflow: hidden;
}

.site-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  background: rgba(2, 12, 28, .9);
}

.site-image-lightbox[hidden] {
  display: none;
}

.site-image-lightbox figure {
  display: flex;
  max-width: min(1200px, 92vw);
  max-height: calc(100vh - 96px);
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.site-image-lightbox figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.site-image-lightbox figcaption {
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.site-image-lightbox__close {
  position: relative;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .18s ease, transform .18s ease;
}

.site-image-lightbox__close::before,
.site-image-lightbox__close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.site-image-lightbox__close::before { transform: rotate(45deg); }
.site-image-lightbox__close::after { transform: rotate(-45deg); }

.site-image-lightbox__close:hover,
.site-image-lightbox__close:focus {
  background: rgba(255, 255, 255, .26);
  transform: scale(1.06);
}

.site-image-lightbox__close:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .42);
}

/* ── Offset body for fixed header ───────────────────────────────────────── */
body.sr-ready           { padding-top: 0; background: #fff; color: #0a2344; }
body.sr-home.sr-ready   { padding-top: 0; }

/* ── Unified container — overrides Bootstrap 1140px default ─────────────── */
.container {
  width: 100%;
  max-width: calc(var(--header-shell) + var(--header-pad) * 2);
  padding-right: var(--header-pad);
  padding-left: var(--header-pad);
  margin-right: auto;
  margin-left: auto;
}

/* =========================================================================
   SITE HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
  background: rgba(245, 250, 255, .92);
  border-bottom: 1px solid rgba(8, 31, 68, .14);
  box-shadow: 0 8px 28px rgba(6, 31, 68, .10);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  transition: background .28s, border-color .28s, box-shadow .28s;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  max-width: calc(var(--header-shell) + var(--header-pad) * 2);
  height: 54px;
  margin: 0 auto;
  padding: 0 var(--header-pad);
}
.site-header__bar::after { display: none; }
.site-header__logo {
  display: flex;
  align-items: center;
  height: 54px;
  width: 150px;
  min-width: 146px;
}
.site-header__logo > img { display: none; }

/* ── Desktop navigation ─────────────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 54px;
  margin-left: auto;
  background: transparent;
  box-shadow: none;
}
.site-nav__item {
  position: relative;
  min-width: 0;
  margin-left: 24px;
}
.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 2px;
  color: #0c2342;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.22;
  position: relative;
  text-align: center;
  text-shadow: none;
}
.site-nav__link::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 12px;
  width: 0; height: 2px;
  background: linear-gradient(90deg,rgba(84,161,255,0),rgba(84,161,255,.95),rgba(84,161,255,0));
  opacity: .95;
  transform: translateX(-50%);
  transition: width .22s ease, opacity .22s ease;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  right: -9px; top: 50%;
  width: 3px; height: 3px;
  border-right: 1px solid rgba(12,35,66,.35);
  border-bottom: 1px solid rgba(12,35,66,.35);
  transform: translateY(-70%) rotate(45deg);
  opacity: 0;
}
.site-nav__item.has-sub > .site-nav__link::after { opacity: .65; }

.site-nav__item:hover > .site-nav__link::before,
.site-nav__item.is-active > .site-nav__link::before { width: 24px; }
.site-nav__item:hover > .site-nav__link,
.site-nav__item.is-active > .site-nav__link {
  background: transparent;
  color: #1677ff;
  text-decoration: none;
}

/* Dropdown sub-navigation */
.site-subnav {
  display: none;
  position: absolute;
  left: 0; right: auto; top: 55px;
  min-width: max-content;
  max-width: min(320px,calc(100vw - 48px));
  padding: 4px 0;
  background: linear-gradient(180deg,rgba(9,35,78,.86),rgba(7,28,64,.78));
  border: 1px solid rgba(130,180,238,.14);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0,10,36,.24);
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}
.site-subnav a {
  display: block;
  max-width: 280px;
  padding: 7px 13px;
  color: rgba(235,244,255,.88);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid rgba(145,188,238,.08);
  transition: background-color .18s ease, color .18s ease;
}
.site-subnav a:last-child { border-bottom: 0; }
.site-subnav a:hover, .site-subnav a.is-active {
  background: rgba(125,174,236,.13);
  color: #fff;
  text-decoration: none;
}
.site-nav__item:hover .site-subnav { display: block; }

/* Products dropdown hover bridge */
.site-nav__item--products { padding-bottom: 14px; margin-bottom: -14px; }
.site-nav__item--products::after {
  content: "";
  position: absolute;
  left: -20px; right: -20px; top: 50px;
  height: 28px;
  z-index: 1;
  pointer-events: auto;
}
.site-nav__item--products .site-subnav {
  top: 58px;
  z-index: 2400;
  width: 300px;
  min-width: 300px;
  max-width: min(300px, calc(100vw - 48px));
  padding: 7px 0;
}
.site-nav__item--products:hover .site-subnav,
.site-nav__item--products .site-subnav:hover { display: block; }
.site-nav__item--products .site-subnav a {
  width: 100%;
  max-width: none;
  padding: 9px 15px;
}
.site-nav__item--products .site-subnav a:hover { background: rgba(125,174,236,.18); color: #fff; }

/* About Us dropdown hover bridge */
.site-nav__item--about { padding-bottom: 14px; margin-bottom: -14px; }
.site-nav__item--about::after {
  content: "";
  position: absolute;
  left: -20px; right: -20px; top: 50px;
  height: 28px;
  z-index: 1;
  pointer-events: auto;
}
.site-nav__item--about .site-subnav { top: 58px; z-index: 2400; padding: 7px 0; }
.site-nav__item--about:hover .site-subnav,
.site-nav__item--about:focus-within .site-subnav,
.site-nav__item--about .site-subnav:hover { display: block; }
.site-nav__item--about .site-subnav a { padding: 9px 15px; }

/* ── Mobile toggle ──────────────────────────────────────────────────────── */
/* Language switcher */
.site-nav__item--language {
  padding-bottom: 14px;
  margin-bottom: -14px;
  margin-left: 18px;
}
.site-language-link { gap: 6px; }
.site-language-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-nav__item--language .site-language-menu {
  right: auto;
  left: 0;
  top: 58px;
  z-index: 2400;
  width: 76px;
  min-width: 76px;
  max-width: 76px;
  padding: 7px 0;
}
.site-nav__item--language .site-language-menu a {
  width: 100%;
  padding: 9px 9px;
}
.site-nav__item--language:hover .site-language-menu,
.site-nav__item--language:focus-within .site-language-menu,
.site-nav__item--language .site-language-menu:hover {
  display: block;
}
.site-mobile-language {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #dfe8f5;
}
.site-mobile-nav .site-mobile-language__label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-mobile-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0c2342;
  font-size: 0;
  line-height: 1;
}
.site-mobile-toggle::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 20px;
  width: 24px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
}

/* ── Mobile panel (off-canvas) ──────────────────────────────────────────── */
.site-mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2600;
  background: rgba(4,16,42,.62);
}
.site-mobile-panel.is-open { display: block; }
.site-mobile-panel__menu {
  position: absolute;
  right: 0; top: 0;
  width: min(88vw,360px);
  height: 100vh;
  max-height: 100vh;
  background: #fff;
  overflow-y: auto;
  padding: 18px 14px 28px;
  box-shadow: -18px 0 42px rgba(0,8,26,.22);
}
.site-mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.site-mobile-panel__head > img { display: none; }
.site-mobile-panel__close {
  border: 0;
  background: transparent;
  font-size: 30px;
  color: #1a2f58;
  line-height: 1;
}
.site-mobile-nav a {
  display: block;
  position: relative;
  padding: 12px 10px 12px 16px;
  border-radius: 8px;
  color: #17305d;
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease;
}
.site-mobile-nav a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 2px; height: 0;
  background: #2f8cff;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height .18s ease;
}
.site-mobile-nav .sub a {
  padding-left: 22px;
  font-size: 14px;
  font-weight: 500;
  color: #3a4d70;
}
.site-mobile-nav > .has-sub:has(> a[href$="products.html"]) > .sub,
.site-mobile-nav > .has-sub:has(> a[href$="about.html"]) > .sub,
.site-mobile-nav > .site-mobile-language > .sub {
  display: none;
}
.site-mobile-nav > .has-sub:has(> a[href$="products.html"]).is-open > .sub,
.site-mobile-nav > .has-sub:has(> a[href$="about.html"]).is-open > .sub,
.site-mobile-nav > .site-mobile-language.is-open > .sub {
  display: block;
}
.site-mobile-nav > .has-sub:has(> a[href$="products.html"]) > a::after,
.site-mobile-nav > .has-sub:has(> a[href$="about.html"]) > a::after,
.site-mobile-nav > .site-mobile-language > a::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .18s ease;
}
.site-mobile-nav > .has-sub:has(> a[href$="products.html"]).is-open > a::after,
.site-mobile-nav > .has-sub:has(> a[href$="about.html"]).is-open > a::after,
.site-mobile-nav > .site-mobile-language.is-open > a::after {
  transform: translateY(-30%) rotate(225deg);
}
.site-mobile-nav a:hover,
.site-mobile-nav a.active { background: rgba(47,140,255,.08); color: #0f4fac; }
.site-mobile-nav a:hover::before,
.site-mobile-nav a.active::before { height: 18px; }

/* ── Responsive breakpoints for header ─────────────────────────────────── */
@media (max-width: 991px) {
  .site-nav { display: none; }
  .site-mobile-toggle { display: block; }
  .site-header__bar { padding: 0 20px; }
}
@media (min-width: 992px) {
  .site-mobile-toggle { display: none; }
}

/* =========================================================================
   BRAND LOGO SYSTEM
   ========================================================================= */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}
.brand-logo-crop {
  display: inline-block;
  width: 146px; height: 37px;
  overflow: hidden;
  flex: 0 0 auto;
}
.brand-logo-crop img {
  display: block;
  width: 146px;
  height: auto;
  max-width: none;
  object-fit: contain;
}
.brand-logo-text {
  display: inline-block;
  max-width: min(280px, 34vw);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 12px rgba(0,10,34,.35);
}
.brand-lockup--mobile .brand-logo-crop { width: 140px; height: 35px; }
.brand-lockup--mobile .brand-logo-crop img { width: 140px; }
.brand-lockup--mobile .brand-logo-text {
  max-width: min(250px, 58vw);
  color: #061f44;
  font-size: 13px;
  text-shadow: none;
}
.brand-lockup--icon-only .brand-logo-text { display: none; }

/* =========================================================================
   SITE FOOTER
   ========================================================================= */
.site-footer {
  background: #061b3a;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* ── Simple single-strip footer (inner pages) ───────────────────────────── */
.site-footer__inner--simple {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  row-gap: 0;
  width: 100%;
  max-width: calc(var(--header-shell) + var(--header-pad) * 2);
  min-height: 68px;
  margin: 0 auto;
  padding: 10px var(--header-pad) 8px;
  box-sizing: border-box;
}
.site-footer__copyright {
  color: rgba(255,255,255,.52);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-footer__contact-block {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}
.site-footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s;
}
.site-footer__contact:hover { color: #fff; }
.site-footer__filings {
  order: 3;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 7px;
}
.site-footer__icp,
.site-footer__public-security {
  color: rgba(255,255,255,.58);
  font-size: 11px;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  transition: color .18s;
}
.site-footer__public-security {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.site-footer__public-security::before {
  content: '';
  width: 16px;
  height: 17px;
  flex: 0 0 16px;
  background: url('../img/beian.png') center / contain no-repeat;
}
.site-footer__icp:hover,
.site-footer__icp:focus-visible,
.site-footer__public-security:hover,
.site-footer__public-security:focus-visible {
  color: #fff;
  text-decoration: underline;
}
.site-footer__contact::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background: center / contain no-repeat;
}
.site-footer__contact:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.09 13a19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 3 2.18h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 21 16.92z'/%3E%3C/svg%3E");
  opacity: .65;
}
.site-footer__contact:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2' ry='2'/%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'/%3E%3C/svg%3E");
  opacity: .65;
}
.site-footer__contact:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
  opacity: .65;
}

/* ── Full footer (homepage / other rich footers) ────────────────────────── */
.site-footer__inner {
  width: min(100% - 64px, 1280px);
  margin: 0 auto;
  box-sizing: border-box;
}
.site-footer__col,
.site-footer__brand { min-width: 0; }
.site-footer__logo { margin: 0 0 14px; }
.site-footer__logo img,
.site-footer__brand img {
  display: block;
  width: auto; height: 34px;
  max-width: 210px;
  object-fit: contain;
}
.site-footer__brand p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.72;
}

@media (max-width: 768px) {
  .site-footer__inner--simple {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(18px, 5vw, 24px);
    padding: clamp(24px, 7vw, 34px) clamp(18px, 5vw, 24px)
      calc(clamp(24px, 7vw, 34px) + env(safe-area-inset-bottom, 0px));
  }

  .site-footer__contact-block {
    order: 1;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-footer__contact {
    min-height: 24px;
    font-size: clamp(13px, 3.8vw, 15px);
    line-height: 1.45;
  }

  .site-footer__copyright {
    order: 2;
    max-width: calc(100% - 58px);
    font-size: clamp(11px, 3.2vw, 13px);
    line-height: 1.55;
    white-space: normal;
  }

  .site-footer__filings {
    order: 3;
    width: 100%;
    gap: 5px;
    margin-top: 0;
  }

  .site-footer__icp,
  .site-footer__public-security {
    font-size: 12px;
    text-align: left;
  }

  .site-footer__inner { width: min(100% - 40px, 100%); }

  .site-back-top {
    right: clamp(14px, 4vw, 20px);
    bottom: calc(clamp(18px, 5vw, 26px) + env(safe-area-inset-bottom, 0px));
  }
}

/* Unified two-tier legal footer.
   Page-specific footer rules load after this file, so the layout declarations
   intentionally use !important to keep the Chinese site consistent. */
body .site-footer .site-footer__inner--simple {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas: "contact contact" "copyright filings" !important;
  align-items: center !important;
  justify-content: stretch !important;
  column-gap: 32px !important;
  row-gap: 12px !important;
  width: 100% !important;
  max-width: calc(var(--header-shell) + var(--header-pad) * 2) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 16px var(--header-pad) 14px !important;
  box-sizing: border-box !important;
}

body .site-footer .site-footer__contact-block {
  grid-area: contact;
  justify-self: stretch;
  width: 100% !important;
  justify-content: flex-start;
  gap: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

body .site-footer .site-footer__copyright {
  grid-area: copyright;
  max-width: none;
  line-height: 1.5;
}

body .site-footer .site-footer__filings {
  grid-area: filings;
  justify-self: end;
  flex: 0 1 auto;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-top: 0;
}

body .site-footer .site-footer__icp,
body .site-footer .site-footer__public-security {
  min-height: 17px;
  font-size: 12px;
  line-height: 17px;
  white-space: nowrap;
}

body .site-footer .site-footer__icp {
  display: inline-flex;
  align-items: center;
}

body .site-footer .site-footer__inner--simple:not(:has(.site-footer__contact-block)) {
  grid-template-areas: "copyright filings" !important;
  padding-top: 14px !important;
}

@media (max-width: 768px) {
  body .site-footer .site-footer__inner--simple {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "contact" "filings" "copyright" !important;
    gap: 16px !important;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body .site-footer .site-footer__contact-block {
    justify-content: flex-start;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-bottom: 16px;
  }

  body .site-footer .site-footer__filings {
    justify-self: start;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  body .site-footer .site-footer__copyright {
    max-width: calc(100% - 64px) !important;
  }

  body .site-footer .site-footer__inner--simple:not(:has(.site-footer__contact-block)) {
    grid-template-areas: "filings" "copyright" !important;
    padding-top: 24px !important;
  }
}

/* =========================================================================
   INNER PAGE HERO BANNER  (.inbanner + .inner-hero-enhanced)
   Used on: product pages, article pages, inner pages with full-width banner
   ========================================================================= */
.inbanner {
  position: relative;
  min-height: 354px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #173f7d;
  margin: 0;
}
.inbanner > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.0) brightness(.72) contrast(1.04);
}
.inbanner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,31,68,.78) 0%, rgba(8,31,68,.52) 48%, rgba(8,31,68,.24) 100%),
    radial-gradient(circle at 84% 50%, rgba(80,151,255,.16), transparent 28%);
}
.inbanner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,33,76,.16), rgba(8,33,76,.08));
  box-shadow: inset 0 0 80px rgba(0,8,26,.32);
}

/* Text content layer */
.inner-hero__content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 78px 0 24px;
  color: #fff;
}
.inner-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--header-shell) + var(--header-pad) * 2);
  padding-right: var(--header-pad);
  padding-left: var(--header-pad);
  margin-right: auto;
  margin-left: auto;
}
.inner-hero__container::after {
  content: "";
  position: absolute;
  right: 16px; top: 50%;
  width: min(30vw,360px); height: 120px;
  border: 1px solid rgba(125,180,255,.2);
  border-left: 0;
  border-radius: 0 80px 80px 0;
  transform: translateY(-50%);
  opacity: .48;
  pointer-events: none;
}
.inner-hero__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #8fc3ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.inner-hero__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
  color: rgba(238,246,255,.76);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.inner-hero__breadcrumb a {
  color: rgba(238,246,255,.82);
  text-decoration: none;
}
.inner-hero__breadcrumb a:hover { color: #fff; }
.inner-hero__breadcrumb-separator { color: rgba(238,246,255,.48); }
.inner-hero__breadcrumb-current { color: #fff; }

/* The H1 already names the current page; keep the eyebrow path parent-only. */
.inner-hero__breadcrumb > .inner-hero__breadcrumb-separator,
.inner-hero__breadcrumb > .inner-hero__breadcrumb-current:last-child {
  display: none;
}
.inner-hero__breadcrumb::after {
  content: ">";
  color: rgba(238,246,255,.48);
}
.inner-hero__title {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 2.6vw, 48px);
  line-height: 1.08;
  font-weight: 900;
}
.inner-hero__subtitle {
  max-width: 660px;
  margin: 14px 0 0;
  color: rgba(238,246,255,.86);
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .inbanner { min-height: 200px; }
  .inner-hero__container { padding-left: 18px !important; padding-right: 18px !important; }
  .inner-hero__container::after { display: none; }
  .inner-hero__eyebrow { font-size: 11px; margin-bottom: 6px; }
  .inner-hero__breadcrumb { font-size: 11px; margin-bottom: 10px; }
  .inner-hero__title { font-size: clamp(26px, 7vw, 32px); line-height: 1.12; }
  .inner-hero__subtitle { font-size: 14px; margin-top: 10px; }
}


/* ── Back to top ────────────────────────────────────────────────────────── */
.site-back-top {
  position: fixed;
  right: 28px;
  bottom: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #1677ff;
  border-radius: 0;
  background: #fff;
  color: #1677ff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, background .18s;
}
.site-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.site-back-top:hover {
  background: #f5f9ff;
}


@media (max-width: 1199px) {
  .site-nav__item { margin-left: 16px; }
  .site-nav__link { font-size: 11px; }
}


/* ── Global navbar scroll colour (all pages) ──────────────────────────── */
body.sr-nav-scrolled .site-header {
  background: rgba(5, 26, 58, .96);
  border-bottom-color: rgba(255, 255, 255, .10);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .30);
}
body.sr-nav-scrolled .site-header__logo .brand-logo-crop img {
  filter: brightness(0) invert(1);
  transition: filter .28s;
}
body.sr-nav-scrolled .site-nav__link {
  color: rgba(244, 248, 255, .92);
}
body.sr-nav-scrolled .site-nav__item:hover > .site-nav__link,
body.sr-nav-scrolled .site-nav__item.is-active > .site-nav__link {
  color: #58adff;
}
body.sr-nav-scrolled .site-mobile-toggle {
  color: #fff;
}


/* -- Shared page CTA block (products / cases / about / information) ---- */
.tr-directory-cta {
  width: calc(100% - (var(--header-pad) * 2));
  max-width: var(--header-shell);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 48px auto 80px;
  padding: 34px 30px;
  border: 1px solid #d6e2f0;
  background: #fff;
  box-shadow: 0 18px 36px rgba(13, 45, 84, .08);
}

/* When a CTA already sits inside the shared content container, do not inset it twice. */
.container .tr-directory-cta {
  width: 100%;
  max-width: none;
}
.tr-directory-cta h2 {
  margin: 0 0 12px;
  color: #071f3f;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}
.tr-directory-cta p {
  margin: 0;
  color: #49617d;
  font-size: 14px;
  line-height: 1.7;
}
.tr-directory-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 88px;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid #1677ff;
  background: #fff;
  color: #096de6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}
.tr-directory-cta a:hover,
.tr-directory-cta a:focus {
  border-color: #1677ff;
  background: #f5f9ff;
  color: #096de6;
  text-decoration: none;
}
@media (max-width: 767px) {
  .tr-directory-cta {
    width: calc(100% - (var(--header-pad) * 2));
    align-items: flex-start;
    flex-direction: column;
    margin-top: 36px;
    margin-bottom: 56px;
    padding: 28px 22px;
  }
}

/* Final mobile footer normalization. Page-specific styles load after this file,
   so these declarations intentionally use !important to keep every page aligned. */
@media (max-width: 768px) {
  body .site-footer {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body .site-footer .site-footer__inner--simple {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "contact" "filings" "copyright" !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    overflow: visible !important;
  }

  body .site-footer .site-footer__contact-block {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  body .site-footer .site-footer__contact {
    min-height: 24px !important;
    font-size: clamp(13px, 3.8vw, 15px) !important;
    line-height: 1.45 !important;
  }

  body .site-footer .site-footer__copyright {
    max-width: calc(100% - 64px) !important;
    font-size: clamp(11px, 3.2vw, 13px) !important;
    line-height: 1.55 !important;
    white-space: normal !important;
  }

  body .site-back-top {
    right: 16px !important;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  }
}


