@font-face {
  font-family: "FA Solid";
  src: url("../webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: "FA Brands";
  src: url("../webfonts/fa-brands-400.woff2") format("woff2");
}

@font-face {
  font-family: "FA Regular";
  src: url("../webfonts/fa-regular-400.woff2") format("woff2");
}

:root {
  --navy: #062a63;
  --navy-deep: #031d49;
  --red: #ee141d;
  --ink: #101010;
  --header-height: 122px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  font-family: "Arial Narrow", Arial, sans-serif;
  background: #fff;
}

main {
  min-height: calc(100svh - var(--header-height));
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 48px, 1560px);
  margin: 0 auto;
}

.langsen-page-hero {
  position: relative;
  display: flex;
  padding: 64px 0;
  align-items: center;
  overflow: hidden;
  background: #092a4b;
  color: #fff;
  min-height: 450px;
}

.langsen-page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.68);
}

.langsen-page-hero > .container {
  position: relative;
  z-index: 1;
}

.langsen-page-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.1;
}

.langsen-page-hero__subtitle {
  max-width: 720px;
  margin: 10px 0 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
}

.langsen-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  color: #fff;
  font-size: 13px;
}

.langsen-hero-breadcrumb a {
  color: #fff;
}

.langsen-hero-breadcrumb a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .langsen-page-hero {
      padding: 44px 0;
      min-height: 320px;
  }

  .langsen-page-hero__subtitle {
      max-width: 100%;
      font-size: 12px;
  }
}

.langsen-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 48px auto 0;
}

.langsen-pagination > a,
.langsen-pagination > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #dfe4eb;
  border-radius: 4px;
  background: #fff;
  color: #062a63;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.langsen-pagination > a:hover,
.langsen-pagination > a:focus-visible {
  border-color: #062a63;
  background: #edf2f9;
  color: #062a63;
}

.langsen-pagination > .is-current {
  border-color: #062a63;
  background: #062a63;
  color: #fff;
}

.langsen-pagination > .is-disabled {
  opacity: .4;
}

.langsen-pagination > .langsen-pagination__arrow {
  font-size: 24px;
  font-weight: 400;
}

@media (max-width: 760px) {
  .langsen-pagination {
      gap: 6px;
      margin-top: 32px;
  }

  .langsen-pagination > a,
  .langsen-pagination > span {
      min-width: 36px;
      height: 36px;
      padding: 0 8px;
  }
}

.fa-solid {
  font-family: "FA Solid";
  font-style: normal;
}

.fa-brands {
  font-family: "FA Brands";
  font-style: normal;
}

.fa-regular {
  font-family: "FA Regular";
  font-style: normal;
}

.fa-envelope::before {
  content: "\f0e0";
}

.fa-phone::before {
  content: "\f095";
}

.fa-chevron-down::before {
  content: "\f078";
}

.fa-facebook-f::before {
  content: "\f39e";
}

.fa-linkedin-in::before {
  content: "\f0e1";
}

.fa-youtube::before {
  content: "\f167";
}

.fa-instagram::before {
  content: "\f16d";
}

.fa-twitter::before {
  content: "\f099";
}

/* ==========================================================================
 GLOBAL HEADER STYLES (Utility Bar & Main Navigation)
 ========================================================================== */
.site-header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
}

.utility-bar {
height: 42px;
color: #fff;
background: linear-gradient(110deg, #052454, #031838);
}

.utility-inner,
.utility-contact,
.social-links {
display: flex;
align-items: center;
}

.utility-inner {
height: 100%;
justify-content: space-between;
}

.utility-contact {
gap: 20px;
font-size: 13px;
letter-spacing: .01em;
}

.utility-contact a {
display: inline-flex;
align-items: center;
gap: 8px;
transition: color .2s ease;
}

.utility-contact a:hover {
color: #ff3c43;
}

.utility-contact i {
color: var(--red);
font-size: 14px;
}

.utility-divider {
height: 16px;
width: 1px;
background: rgba(255, 255, 255, .2);
}

.social-links {
gap: 18px;
font-size: 14px;
}

.social-links a {
transition: transform .2s ease, color .2s ease;
}

.social-links a:hover {
color: #ff3139;
transform: translateY(-2px);
}

/* Navigation Bar & Header */
.main-nav {
position: relative;
height: 80px;
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
box-shadow: 0 4px 20px rgba(6, 42, 99, 0.08);
transition: all 0.3s ease;
}

.nav-inner {
height: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}

.brand {
display: block;
width: 175px;
line-height: 0;
transition: transform 0.25s ease;
}

.brand:hover {
transform: scale(1.02);
}

.brand img {
width: 100%;
height: auto;
display: block;
mix-blend-mode: multiply;
}

.nav-menu {
height: 100%;
display: flex;
align-items: stretch;
gap: clamp(18px, 2.8vw, 48px);
}

/* 一级导航项 Base / Hover / Active 统一规范 */
.nav-item {
position: relative;
display: flex;
align-items: center;
height: 100%;
}

.nav-link {
position: relative;
display: flex;
align-items: center;
height: 100%;
padding: 0 4px;
color: #062a63;
font-family: 'Outfit', sans-serif;
font-size: 15px;
font-weight: 700;
letter-spacing: 0.02em;
white-space: nowrap;
text-decoration: none;
transition: color 0.25s ease;
}

/* 一级导航项底部红线指示器 */
.nav-link::after {
content: "";
position: absolute;
height: 3.5px;
left: 0;
right: 0;
bottom: 0;
background: #ee141d;
border-radius: 2px 2px 0 0;
transform: scaleX(0);
transform-origin: center;
transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 下拉小箭头 */
.has-arrow {
gap: 8px;
}

.has-arrow i {
color: #64748b;
font-size: 11px;
transition: color 0.25s ease, transform 0.25s ease;
}

/* 一级 Active 状态、Hover 状态、下拉菜单展开状态 100% 严格统一 */
.nav-link:hover,
.nav-link.active,
.has-dropdown:hover > .nav-link {
color: #ee141d;
}

.nav-link:hover::after,
.nav-link.active::after,
.has-dropdown:hover > .nav-link::after {
transform: scaleX(1);
}

.nav-link:hover .has-arrow i,
.nav-link.active .has-arrow i,
.has-dropdown:hover > .nav-link i,
.has-dropdown:hover > .nav-link .has-arrow i {
color: #ee141d;
}

.has-dropdown:hover > .nav-link i.fa-chevron-down {
transform: rotate(180deg);
}

/* 二级下拉菜单 (.dropdown-menu) 高级设计 */
.has-dropdown {
position: relative;
}

.dropdown-menu {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%) translateY(10px);
min-width: 236px;
background: #ffffff;
border-radius: 8px;
border-top: 3px solid #ee141d;
border-right: 1px solid #edf2f7;
border-bottom: 1px solid #edf2f7;
border-left: 1px solid #edf2f7;
box-shadow: 0 16px 42px rgba(6, 42, 99, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04);
padding: 8px 0;
margin: 0;
list-style: none;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
z-index: 1001;
}

/* 顶部透明安全过渡区，防止鼠标滑出间隙意外收起 */
.dropdown-menu::before {
content: "";
position: absolute;
top: -14px;
left: 0;
right: 0;
height: 14px;
}

.has-dropdown:hover .dropdown-menu {
opacity: 1;
visibility: visible;
pointer-events: auto;
transform: translateX(-50%) translateY(0);
}

/* 二级与三级菜单项通用交互：Hover 状态与 Active 状态 100% 严格统一 */
.dropdown-menu li,
.submenu li {
margin: 0;
padding: 0;
position: relative;
}

.dropdown-menu li a,
.submenu li a {
display: flex;
align-items: center;
padding: 11px 20px;
color: #1e293b;
font-family: 'Plus Jakarta Sans', Arial, sans-serif;
font-size: 14px;
font-weight: 600;
line-height: 1.4;
text-decoration: none;
border-left: 3px solid transparent;
transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
white-space: nowrap;
}

/* 二级菜单有子菜单项左右两端对齐 */
.dropdown-menu li a {
justify-content: space-between;
}

/* 三级菜单文字严格靠左对齐 */
.submenu li a {
justify-content: flex-start;
text-align: left;
}

.dropdown-menu li a > span,
.submenu li a > span {
display: inline-block;
text-align: left;
}

/* 取消二级和三级菜单左侧的箭头图标 */
.dropdown-menu li a .fa-angle-right,
.submenu li a .fa-angle-right {
display: none !important;
}

.dropdown-menu .submenu-indicator {
margin-left: 16px;
font-size: 10px;
color: #94a3b8;
transition: color 0.2s ease, transform 0.2s ease;
}

/* 重点统一：Active 状态和 Hover 状态统一样式！
 包括：浅红柔和底衬、鲜红字体700字重、左边框红色指示条、小图标同步变红微位移 */
.dropdown-menu li a:hover,
.dropdown-menu li a.active,
.dropdown-menu li.has-submenu:hover > a,
.submenu li a:hover,
.submenu li a.active {
background: #fef2f2;
color: #ee141d;
font-weight: 700;
padding-left: 24px;
border-left-color: #ee141d;
}

.dropdown-menu li a:hover i,
.dropdown-menu li a.active i,
.dropdown-menu li.has-submenu:hover > a i,
.submenu li a:hover i,
.submenu li a.active i {
color: #ee141d;
}

.dropdown-menu li a:hover .submenu-indicator,
.dropdown-menu li a.active .submenu-indicator,
.dropdown-menu li.has-submenu:hover > a .submenu-indicator {
color: #ee141d;
transform: translateX(3px);
}

/* 三级子菜单 (.submenu) 高级设计 */
.submenu {
position: absolute;
top: -8px;
left: calc(100% + 4px);
min-width: 226px;
margin: 0;
padding: 8px 0;
list-style: none;
background: #ffffff;
border-radius: 8px;
border-top: 3px solid #ee141d;
border-right: 1px solid #edf2f7;
border-bottom: 1px solid #edf2f7;
border-left: 1px solid #edf2f7;
box-shadow: 0 16px 42px rgba(6, 42, 99, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04);
opacity: 0;
visibility: hidden;
pointer-events: none;
transform: translateX(10px);
transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
z-index: 1002;
}

/* 左侧透明过渡区防止平移间隙消失 */
.submenu::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: -12px;
width: 12px;
}

.dropdown-menu li.has-submenu:hover > .submenu {
opacity: 1;
visibility: visible;
pointer-events: auto;
transform: translateX(0);
}

.menu-toggle {
display: none;
border: 0;
background: transparent;
padding: 8px;
cursor: pointer;
border-radius: 6px;
outline: none;
transition: background-color 0.2s ease;
}

.menu-toggle:active {
background-color: rgba(0, 0, 0, 0.05);
}

.menu-toggle span {
width: 24px;
height: 2px;
display: block;
margin: 5px 0;
background: #062a63;
border-radius: 2px;
transition: transform 0.28s ease, opacity 0.2s ease, background-color 0.28s ease;
}

.menu-toggle.is-active span:nth-child(1) {
transform: translateY(7px) rotate(45deg);
background: #ee141d;
}

.menu-toggle.is-active span:nth-child(2) {
opacity: 0;
transform: scaleX(0);
}

.menu-toggle.is-active span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
background: #ee141d;
}

.mobile-nav-header,
.nav-submenu-toggle,
.mobile-nav-backdrop {
display: none;
}


.language-switcher {
align-self: flex-start;
margin-top: 1px;
padding: 2px 8px;
border: 1px solid #e8e8e8;
color: #777;
font-size: 8px;
white-space: nowrap;
}

.language-switcher span {
margin: 0 5px;
}

.language-switcher i {
color: var(--red);
font-size: 7px;
}

/* ==========================================================================
 GLOBAL FOOTER STYLES
 ========================================================================== */
.footer-redesign {
margin: 0;
background: #04162e;
color: #fff;
padding: 68px 0 32px;
}

.footer-grid-redesign {
display: grid;
grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
gap: 0;
}

.footer-col {
padding: 0 28px;
border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col:first-child {
padding-left: 0;
}

.footer-col:last-child {
padding-right: 0;
border-right: 0;
}

.footer-logo {
display: block;
width: 170px;
margin-bottom: 22px;
}

.footer-logo img {
width: 100%;
height: auto;
display: block;
}

.footer-col-brand p {
color: rgba(255, 255, 255, 0.72);
font-size: 13px;
line-height: 1.65;
margin: 0 0 28px;
}

.footer-social-icons {
display: flex;
gap: 12px;
}

.footer-social-icons a {
width: 38px;
height: 38px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.12);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social-icons a:hover {
background: var(--red);
transform: translateY(-3px);
}

.footer-col h4 {
margin: 0;
color: #fff;
font-size: 16px;
font-weight: 800;
letter-spacing: 0.04em;
}

.footer-title-rule {
display: block;
width: 26px;
height: 2px;
background: var(--red);
margin: 10px 0 22px;
}

.footer-links {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 14px;
}

.footer-links li a {
color: rgba(255, 255, 255, 0.75);
font-size: 13px;
display: flex;
align-items: center;
gap: 10px;
transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links li a span {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
font-weight: bold;
}

.footer-links li a:hover {
color: #fff;
transform: translateX(4px);
}

.footer-links li a:hover span {
color: var(--red);
}

.footer-contact-list {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 18px;
}

.footer-contact-list li {
display: flex;
align-items: flex-start;
gap: 14px;
color: rgba(255, 255, 255, 0.75);
font-size: 13px;
line-height: 1.5;
}

.footer-contact-list li i {
color: #fff;
font-size: 16px;
margin-top: 2px;
flex: 0 0 18px;
}

.footer-contact-list li span {
color: rgba(255, 255, 255, 0.75);
}

.footer-copyright-bar {
margin-top: 54px;
padding-top: 28px;
border-top: 1px solid rgba(255, 255, 255, 0.12);
text-align: center;
}

.footer-copyright-bar p {
margin: 0;
color: rgba(255, 255, 255, 0.6);
font-size: 12px;
}

/* ==========================================================================
 GLOBAL SCROLL ANIMATIONS & INTERACTION SYSTEM
 ========================================================================== */
.animate-on-scroll {
opacity: 0;
transform: translateY(35px);
transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
will-change: opacity, transform;
}

.animate-on-scroll.fade-left {
transform: translateX(-40px);
}

.animate-on-scroll.fade-right {
transform: translateX(40px);
}

.animate-on-scroll.scale-up {
transform: scale(0.92);
}

.animate-on-scroll.is-visible {
opacity: 1;
transform: translateY(0) translateX(0) scale(1);
}

/* 阶梯递进动画 */
.stagger-parent .stagger-child {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-parent.is-visible .stagger-child {
opacity: 1;
transform: translateY(0);
}

.stagger-parent.is-visible .stagger-child:nth-child(1) { transition-delay: 0.05s; }
.stagger-parent.is-visible .stagger-child:nth-child(2) { transition-delay: 0.12s; }
.stagger-parent.is-visible .stagger-child:nth-child(3) { transition-delay: 0.19s; }
.stagger-parent.is-visible .stagger-child:nth-child(4) { transition-delay: 0.26s; }
.stagger-parent.is-visible .stagger-child:nth-child(5) { transition-delay: 0.33s; }
.stagger-parent.is-visible .stagger-child:nth-child(6) { transition-delay: 0.40s; }
.stagger-parent.is-visible .stagger-child:nth-child(7) { transition-delay: 0.47s; }
.stagger-parent.is-visible .stagger-child:nth-child(8) { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
.animate-on-scroll,
.stagger-parent .stagger-child {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
}

/* ==========================================================================
 BUTTON INTERACTION & LEFT-TO-RIGHT GRADIENT HOVER SYSTEM
 ========================================================================== */
.red-button,
.news-more-btn,
.cta-outline-btn,
.product-card small {
position: relative !important;
z-index: 1 !important;
overflow: hidden !important;
transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.red-button::before,
.news-more-btn::before,
.cta-outline-btn::before,
.product-card small::before {
content: "" !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
z-index: -1 !important;
transform: translateX(-101%) !important;
transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
border-radius: inherit !important;
}

.red-button:hover::before,
.news-more-btn:hover::before,
.cta-outline-btn:hover::before,
.product-card:hover small::before,
.product-card small:hover::before {
transform: translateX(0) !important;
}

.floating-actions {
position: fixed;
right: 24px;
bottom: 28px;
z-index: 1002;
display: flex;
flex-direction: column;
gap: 10px;
}

.floating-action {
width: 46px;
height: 46px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
background: var(--navy);
border-radius: 50%;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
transition: background 0.25s ease, transform 0.25s ease;
}

.floating-action:hover {
background: var(--red);
transform: translateY(-3px);
}

/* ==========================================================================
 HEADER & FOOTER RESPONSIVE MEDIA QUERIES
 ========================================================================== */
@media (max-width: 900px) {
:root {
  --header-height: 110px;
}

html {
  scroll-padding-top: var(--header-height);
}

.utility-bar {
  height: 38px;
}

.utility-contact {
  gap: 12px;
  font-size: 11px;
}

.utility-contact a {
  gap: 6px;
}

.utility-divider,
.social-links a:nth-child(n+4) {
  display: none;
}

.social-links {
  gap: 12px;
  font-size: 13px;
}

.main-nav {
  height: 72px;
}

.brand {
  width: 155px;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 移动端菜单主面板 */
.nav-menu {
  position: absolute;
  z-index: 1000;
  top: 72px;
  left: 0;
  right: 0;
  height: auto;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 10px 16px 24px;
  background: #ffffff;
  border-top: 1px solid #edf2f7;
  box-shadow: 0 20px 40px rgba(6, 42, 99, 0.15);
}

.nav-menu::-webkit-scrollbar {
  width: 4px;
}

.nav-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.nav-menu.is-open {
  display: flex;
}

/* 一级导航项 */
.nav-item {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid #f1f5f9;
}

.nav-menu > .nav-link {
  width: 100%;
  border-bottom: 1px solid #f1f5f9;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 10px;
  font-size: 15px;
  font-weight: 700;
  color: #062a63;
  white-space: normal;
  word-break: break-word;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

/* 移动端移除绝对定位的底部横线，改用左边指示线及背景 */
.nav-link::after {
  display: none;
}

.nav-link:hover,
.nav-link.active,
.has-dropdown.is-expanded > .nav-link {
  color: #ee141d;
  background: #fef2f2;
  border-left-color: #ee141d;
  padding-left: 14px;
  border-radius: 4px;
}

.has-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.has-arrow i {
  font-size: 12px;
  color: #64748b;
  margin-left: auto;
  padding-left: 10px;
  transition: transform 0.25s ease, color 0.2s ease;
}

.has-dropdown.is-expanded > .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: #ee141d;
}

/* 二级下拉菜单 (.dropdown-menu) 折叠面板 */
.dropdown-menu {
  position: static;
  display: none;
  min-width: 0;
  margin: 6px 0 12px 6px;
  padding: 6px 0;
  border: 1px solid #edf2f7;
  border-left: 3px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: none;
  background: #f8fafc;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  list-style: none;
  transition: none;
}

.has-dropdown.is-expanded > .dropdown-menu {
  display: block;
}

.dropdown-menu::before,
.submenu::before {
  display: none;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  white-space: normal;
  word-break: break-word;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active,
.dropdown-menu li.has-submenu.is-expanded > a {
  background: #fef2f2;
  color: #ee141d;
  font-weight: 700;
  padding-left: 18px;
  border-left-color: #ee141d;
}

.dropdown-menu .submenu-indicator {
  font-size: 11px;
  color: #94a3b8;
  margin-left: auto;
  padding-left: 8px;
  transition: transform 0.25s ease, color 0.2s ease;
}

.dropdown-menu li.has-submenu.is-expanded > a .submenu-indicator {
  transform: rotate(90deg);
  color: #ee141d;
}

/* 三级子菜单 (.submenu) 折叠面板 */
.submenu {
  position: static;
  display: none;
  min-width: 0;
  margin: 4px 8px 8px 12px;
  padding: 4px 0;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #94a3b8;
  border-radius: 6px;
  box-shadow: none;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  list-style: none;
  transition: none;
}

.dropdown-menu li.has-submenu.is-expanded > .submenu {
  display: block;
}

.submenu li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  white-space: normal;
  word-break: break-word;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.submenu li a:hover,
.submenu li a.active {
  background: #fef2f2;
  color: #ee141d;
  font-weight: 700;
  padding-left: 16px;
  border-left-color: #ee141d;
}

/* Mobile navigation is a viewport drawer, separate from desktop hover menus. */
body.nav-menu-open {
  overflow: hidden;
}

body.nav-menu-open .site-header {
  z-index: 2000;
}

.main-nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header .nav-menu {
  position: fixed;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: min(360px, 86vw);
  height: 100vh;
  height: 100dvh;
  max-height: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 16px max(24px, env(safe-area-inset-bottom));
  border: 0;
  background: #fff;
  box-shadow: 18px 0 48px rgba(3, 24, 56, .2);
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(-105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .3s ease, visibility .3s ease;
}

.site-header .nav-menu.is-open {
  display: flex;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  margin: 0 -16px 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-nav-brand {
  display: block;
  width: 150px;
  line-height: 0;
}

.mobile-nav-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-nav-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 6px;
  background: #f1f5f9;
  color: #062a63;
  font-size: 18px;
  cursor: pointer;
}

.mobile-nav-backdrop {
  position: fixed;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  border: 0;
  background: rgba(3, 20, 45, .58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

body.nav-menu-open .mobile-nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header .nav-menu .nav-item.has-dropdown,
.site-header .nav-menu .dropdown-menu li.has-submenu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: stretch;
}

.site-header .nav-menu .nav-item.has-dropdown > .nav-link,
.site-header .nav-menu .dropdown-menu li.has-submenu > a {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  width: 100%;
  height: auto;
}

.site-header .nav-menu .has-dropdown > .nav-link > i,
.site-header .nav-menu .has-submenu > a > .submenu-indicator {
  display: none;
}

.site-header .nav-menu .nav-submenu-toggle {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.site-header .nav-menu .nav-submenu-toggle i {
  transition: transform .25s ease;
}

.site-header .nav-menu .is-expanded > .nav-submenu-toggle i {
  transform: rotate(180deg);
  color: #ee141d;
}

.site-header .nav-menu .nav-link {
  height: auto;
}

.site-header .nav-menu .has-dropdown > .dropdown-menu,
.site-header .nav-menu .dropdown-menu li.has-submenu > .submenu {
  grid-column: 1 / -1;
  position: static;
  top: auto;
  left: auto;
  width: auto;
  min-width: 0;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header .nav-menu .has-dropdown > .dropdown-menu,
.site-header .nav-menu .dropdown-menu li.has-submenu > .submenu {
  display: none;
}

.site-header .nav-menu .has-dropdown.is-expanded > .dropdown-menu,
.site-header .nav-menu .dropdown-menu li.has-submenu.is-expanded > .submenu {
  display: block;
}

.site-header .nav-menu .dropdown-menu li.has-submenu:hover > .submenu {
  transform: none;
}

.site-header .nav-menu .nav-submenu-toggle:focus-visible,
.mobile-nav-close:focus-visible,
.mobile-nav-backdrop:focus-visible {
  outline: 2px solid #ee141d;
  outline-offset: 2px;
}

.footer-grid-redesign {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 0;
}

.footer-col {
  border-right: 0;
  padding: 0 16px;
}
}

@media (max-width: 520px) {
.utility-contact a:first-child {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-grid-redesign {
  grid-template-columns: 1fr;
  gap: 28px 0;
}

.footer-col-brand {
  padding-left: 0;
}

.floating-actions {
  right: 14px;
  bottom: 18px;
}

.floating-action {
  width: 42px;
  height: 42px;
}
}

/* Redesigned Contact CTA Section with Fixed Parallax Background */
.contact-cta-redesign {
display: block;
padding: 80px 0;
margin: 0;
background-color: #04193c;
background-image: linear-gradient(rgba(4, 25, 60, 0.88), rgba(4, 25, 60, 0.88)), url('../images/about-factory.png');
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
position: relative;
transform: none;
overflow: hidden;
color: #fff;
}

.contact-cta-redesign::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(ellipse at bottom left, rgba(16, 78, 175, 0.25), transparent 70%);
pointer-events: none;
}

.cta-container-redesign {
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
z-index: 1;
}

.cta-content-left h2 {
font-size: clamp(28px, 3.1vw, 42px);
font-weight: 700;
color: #fff;
line-height: 1.2;
margin: 0 0 14px;
}

.cta-content-left p {
font-size: 16px;
color: rgba(255, 255, 255, 0.85);
margin: 0;
font-weight: 400;
}

/* 右侧透明线框按钮 */
.cta-outline-btn {
display: inline-flex;
align-items: center;
gap: 16px;
padding: 14px 34px;
border: 1.5px solid rgba(255, 255, 255, 0.85);
border-radius: 4px;
color: #fff;
font-size: 16px;
font-weight: 600;
text-decoration: none;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(4px);
white-space: nowrap;
}

.cta-outline-btn::before {
background: var(--red) !important; /* 纯色大红滑块 */
}

.cta-outline-btn .cta-arrow {
font-size: 18px;
transition: transform 0.3s ease;
}

.cta-outline-btn:hover {
border-color: #ee141d;
color: #fff;
transform: translateY(-3px) !important;
box-shadow: 0 8px 24px rgba(238, 20, 29, 0.4);
}

.cta-outline-btn:hover .cta-arrow {
transform: translateX(6px);
}

@media (max-width: 900px) {
.cta-container-redesign {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.cta-outline-btn {
  padding: 12px 28px;
  font-size: 14px;
}

}

@media (max-width: 768px) {
.contact-cta-redesign {
  background-attachment: fixed;
  padding: 50px 0;
}

.cta-content-left h2 {
  font-size: 24px;
}

.cta-content-left p {
  font-size: 13px;
}

}
