/* ========================================
   海鼎船舶官网 - 自定义样式
   ======================================== */

/* 全局平滑滚动 */
html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  overflow-x: hidden;
}

#main-nav {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

.site-hero-image img,
.hero-carousel img,
.article-hero-img img,
#case-main-image img {
  transform: none !important;
}

.service-image-wrap,
.service-img,
.case-img,
.news-row-img-wrap,
.news-card-thumb,
.related-card-img,
.article-hero-img,
.service-detail-img,
.case-image-block {
  position: relative;
  overflow: hidden;
}

.service-image-wrap img,
.service-img img,
.case-img img,
.news-row-img,
.news-card-thumb img,
.related-card-img img,
.service-detail-img img,
.case-image-block img {
  transition: transform 0.45s ease, filter 0.45s ease;
  will-change: transform;
}

.service-image-wrap::after,
.service-img::after,
.case-img::after,
.news-row-img-wrap::after,
.news-card-thumb::after,
.related-card-img::after,
.service-detail-img::after,
.case-image-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 77, 162, 0.16);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.service-image-wrap:hover img,
.service-card:hover .service-img img,
.case-card:hover .case-img img,
.news-row-img-wrap:hover .news-row-img,
.news-card:hover .news-card-thumb img,
.related-card:hover .related-card-img img,
.service-detail-img:hover img,
.case-image-block:hover img {
  transform: scale(1.06);
  filter: saturate(1.06);
}

.service-image-wrap:hover .service-row-img,
.service-card:hover .service-img > img,
.service-img:hover > img {
  transform: scale(1.08) !important;
  filter: saturate(1.08) contrast(1.03);
}

.service-image-wrap .service-row-img,
.service-img > img {
  display: block;
  transform-origin: center center;
  transition: transform 0.45s ease, filter 0.45s ease !important;
}

.contact-map-fallback {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #eef4fb 0%, #f8fafc 100%);
  color: #334155;
  text-align: center;
  padding: 1rem;
}

.contact-map-fallback i {
  color: #0c4da2;
  font-size: 2rem;
}

.contact-map-fallback span {
  color: #64748b;
  font-size: 0.875rem;
}

.contact-map-fallback a {
  color: #0c4da2;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#contact-map {
  position: relative;
}

.service-image-wrap:hover::after,
.service-card:hover .service-img::after,
.case-card:hover .case-img::after,
.news-row-img-wrap:hover::after,
.news-card:hover .news-card-thumb::after,
.related-card:hover .related-card-img::after,
.service-detail-img:hover::after,
.case-image-block:hover::after {
  opacity: 1;
}

/* ===== 统计数据卡片 ===== */
.stat-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0c4da2, #3b82f6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -8px rgba(12, 77, 162, 0.15);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

/* 统计数字使用纤细字体，减轻大字号数字的视觉重量。 */
.stat-num-value {
  font-family: "Segoe UI Light", "Helvetica Neue", Arial, -apple-system, sans-serif;
  font-weight: 300 !important;
  letter-spacing: -0.035em;
  line-height: 1;
}

/* 数字后缀（+、%等） */
.stat-num-suffix {
  font-family: "Segoe UI Light", "Helvetica Neue", Arial, -apple-system, sans-serif;
  font-weight: 300 !important;
  line-height: 1;
  margin-left: 2px;
}

@media (max-width: 768px) {
  .stat-card {
    padding: 1.5rem 1rem;
  }
  .stat-num-value {
    font-size: 2.5rem !important;
  }
  .stat-num-suffix {
    font-size: 1.125rem !important;
  }
}

/* ===== 筛选标签容器 ===== */
.filter-tags-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== 导航下拉菜单 ===== */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: all 0.25s ease;
  pointer-events: none;
  padding-top: 0;
  margin-top: 0 !important;
  z-index: 60;
}

.group:hover .nav-dropdown,
.group.nav-dropdown-open .nav-dropdown,
.nav-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-link {
  min-height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

#nav-home { min-width: 48px; }
#nav-services { min-width: 72px; }
#nav-cases { min-width: 64px; }
#nav-news { min-width: 56px; }
#nav-about { min-width: 92px; }
#nav-contact { min-width: 96px; }

.lang-btn {
  min-width: 36px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-hero {
  position: relative;
  min-height: 400px;
  margin-top: 84px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 18, 38, 0.82) 0%, rgba(4, 18, 38, 0.66) 46%, rgba(4, 18, 38, 0.36) 78%, rgba(4, 18, 38, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 31, 61, 0.62) 0%, rgba(10, 31, 61, 0.42) 56%, rgba(10, 31, 61, 0.28) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero-title {
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  line-height: 1.18;
  font-weight: 700;
}

.page-hero-desc {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

#page-main > section:first-child:not(#hero):not(.page-hero):not(.faq-page-simple),
#hero.services-page-hero {
  min-height: 400px;
  height: 400px !important;
  margin-top: 84px;
}

#page-main > section:first-child:not(#hero):not(.page-hero):not(.faq-page-simple) > .relative.z-10,
#hero.services-page-hero > .relative.z-10 {
  text-align: center;
  max-width: 860px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#page-main > section:first-child:not(#hero):not(.page-hero):not(.faq-page-simple) h1,
#hero.services-page-hero h1 {
  font-size: clamp(2rem, 3.1vw, 2.75rem) !important;
  line-height: 1.18 !important;
  font-weight: 700;
}

#page-main > section:first-child:not(#hero):not(.page-hero):not(.faq-page-simple) p,
#hero.services-page-hero p {
  font-size: clamp(1rem, 1.35vw, 1.25rem) !important;
  line-height: 1.8 !important;
  max-width: 760px !important;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-breadcrumb {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 26px;
  z-index: 3;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.page-hero-breadcrumb a {
  color: inherit;
}

.page-hero-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-hero-breadcrumb-current {
  color: rgba(255, 255, 255, 0.94);
}

/* 服务页顶部大宽图遮罩：与案例页 hero 同款（从左到右 #0a1f3d 渐变 0.90→0.75→0.60）。
   服务页 hero 遮罩层在不同页面可能是 bg-gradient-to-b 或 bg-gradient-to-r，两者统一。 */
.services-page-hero > .absolute.inset-0 {
  background: linear-gradient(90deg, rgba(10, 31, 61, 0.90) 0%, rgba(10, 31, 61, 0.75) 50%, rgba(10, 31, 61, 0.60) 100%) !important;
}
.service-detail-hero .absolute.inset-0.bg-gradient-to-b,
.case-hero .absolute.inset-0.bg-gradient-to-b {
  background: linear-gradient(180deg, rgba(10, 31, 61, 0.50) 0%, rgba(10, 31, 61, 0.15) 40%, transparent 65%) !important;
}

.services-hero-panel {
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 320px;
  }
  .page-hero-desc {
    font-size: 0.95rem;
  }
  .page-hero-breadcrumb {
    left: 1rem;
    right: 1rem;
    bottom: 18px;
    font-size: 13px;
  }
}

/* ===== Tab 页签切换动画 ===== */
.tab-pane {
  display: none;
  animation: fadeSlideUp 0.4s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 滚动显示动画 ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 案例卡片 Hover ===== */
.case-card {
  display: flex;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.case-card-link {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.case-card-media {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(12, 77, 162, 0.18);
}

.case-card:hover .case-card-media img {
  transform: scale(1.035);
}

.case-card-link:focus-visible {
  outline: 3px solid rgba(12, 77, 162, 0.35);
  outline-offset: 3px;
}

.case-card .case-img {
  transition: none;
}

.case-card:hover .case-img {
  transform: none;
}

/* ===== 服务卡片 ===== */
.service-card {
  min-width: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card .service-img {
  border-radius: 0.75rem;
  transform: translateZ(0);
}

.service-card .service-img img {
  display: block;
  transform-origin: center center;
  transition: transform 0.45s ease, filter 0.45s ease !important;
}

/* ===== 回顶按钮 ===== */
.back-to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== 图片占位符 ===== */
.img-placeholder {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
  background-size: 200% 200%;
  animation: shimmer 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  overflow: hidden;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===== 服务标签（纯展示） ===== */
.service-tag {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  background-color: rgba(12, 77, 162, 0.08);
  color: #0c4da2;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
}

/* 服务行标签容器 */
.service-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

/* ===== 案例标签（case-item-tag）===== */
.case-item-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(12, 77, 162, 0.08);
  color: #0c4da2;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.375rem;
  letter-spacing: 0.02em;
}

/* ===== 移动端菜单 ===== */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.mobile-menu.open {
  max-height: min(600px, calc(100vh - 84px));
  opacity: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ===== 导航链接下划线动画 ===== */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

#nav-logo-icon.has-uploaded-logo {
  width: 280px !important;
  height: 84px !important;
  flex: 0 0 280px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: hidden;
}

.site-logo-img {
  display: block;
  width: 280px;
  height: 84px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  /* 容器与图片同为 280×84（与 200×60 同比例 3.33:1），等比完整显示、不裁切。
     logo 高度与导航行高 84px 对齐，是当前导航下的最大尺寸。
     需要改变 logo 大小请同时调整这里的宽高与容器宽高，且不要用 transform 放大，
     否则会被容器的 overflow:hidden 裁掉。 */
  transform: none;
}

/* 未吸顶（深色 hero）时保留 logo 原色：用 1px 白色描边托底，
   让深海军蓝文字在深色背景上依然清晰，同时保留金色图形。 */
#main-nav:not(.nav-scrolled) .site-logo-img {
  filter:
    drop-shadow(1px 1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(-1px -1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(1px -1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(-1px 1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

#main-nav.nav-scrolled #nav-logo-icon.has-uploaded-logo {
  background: transparent !important;
  border-color: transparent !important;
}

#main-nav.nav-scrolled .site-logo-img {
  filter: none !important;
}

/* 右侧固定浮动客服栏宽 58px，当视口不足以让导航容器两侧留出这段空白时，
   它会压住导航最右的语言切换。此区间给导航额外留出避让空间（<1396px 起出现重叠）。 */
@media (min-width: 1024px) and (max-width: 1400px) {
  #main-nav > div:first-child {
    padding-right: 74px !important;
  }
}

/* 1024–1279 之间导航可用宽度不足，280px 的 logo 会把菜单顶出容器、
   压到语言切换下方。这个区间 logo 回到 240px 并收紧菜单间距。 */
@media (min-width: 1024px) and (max-width: 1279px) {
  #nav-logo-icon.has-uploaded-logo {
    width: 240px !important;
    height: 72px !important;
    flex: 0 0 240px;
  }

  .site-logo-img {
    width: 240px;
    height: 72px;
  }

  #main-nav .gap-7 {
    gap: 14px !important;
  }
}

@media (max-width: 640px) {
  #nav-logo-icon.has-uploaded-logo {
    width: 220px !important;
    height: 66px !important;
    flex-basis: 220px;
  }

  .site-logo-img {
    width: 220px;
    height: 66px;
  }
}

/* 吸顶导航背景 - 白色 */
.nav-scrolled {
  background-color: #ffffff !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 吸顶后 Logo 图标 - 白底主色字（在白色背景上改为浅灰底） */
#main-nav.nav-scrolled #nav-logo-icon {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #0c4da2 !important;
}

/* 吸顶后文字黑色 */
#main-nav.nav-scrolled .nav-link {
  color: #111827 !important;
  text-shadow: none !important;
}
#main-nav.nav-scrolled .nav-link:hover,
#main-nav.nav-scrolled .nav-link.active {
  color: #0c4da2 !important;
}
#main-nav.nav-scrolled #nav-logo-text {
  color: #111827 !important;
  text-shadow: none !important;
}
#main-nav.nav-scrolled .nav-lang-sep {
  color: rgba(0, 0, 0, 0.2) !important;
}
#main-nav.nav-scrolled .lang-btn {
  color: #6b7280 !important;
}
#main-nav.nav-scrolled .lang-btn.active {
  color: #111827 !important;
}
#main-nav.nav-scrolled #mobile-menu-icon {
  color: #111827 !important;
}
#main-nav.nav-scrolled .nav-link::after {
  background-color: #0c4da2 !important;
}

/* 吸顶后语言切换按钮高亮背景调整 */
#main-nav.nav-scrolled .lang-btn.active {
  background-color: rgba(12, 77, 162, 0.1);
}

/* ===== 自定义滚动条 ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ===== 移动端下拉展开 ===== */
.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown-content.open {
  max-height: 200px;
}

/* ===== 按钮基础样式 ===== */
.btn-primary {
  background-color: #0c4da2;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #083a7a;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(12, 77, 162, 0.35);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #fff;
  color: #0c4da2;
}

/* ===== 语言切换高亮 ===== */
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 30px;
  transition: all 0.2s ease;
  padding: 2px 8px;
  border-radius: 4px;
}

.lang-btn.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

/* 吸顶后语言切换按钮高亮 */
#main-nav.nav-scrolled .lang-btn.active {
  background-color: rgba(12, 77, 162, 0.1);
  color: #111827 !important;
}

#main-nav .lang-btn.active {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
}

.about-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 3rem;
}

.about-tab-btn {
  min-width: 132px;
  height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 0 !important;
  background: #fff;
  color: #4b5563;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.about-tab-btn:hover {
  color: #0c4da2;
  background: #f8fafc;
}

.about-tab-btn.active {
  color: #0c4da2;
  background: #fff;
}

.about-tab-btn.active::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -1px;
  height: 4px;
  background: #0c4da2;
}

/* ===== 药丸按钮悬浮动效 ===== */
a.rounded-full,
button.rounded-full {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.rounded-full:hover,
button.rounded-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(12, 77, 162, 0.28);
}

/* ========================================
   服务详情页新增样式
   ======================================== */

/* ===== 面包屑导航 ===== */
.breadcrumb-nav a {
  transition: color 0.2s ease;
}

.breadcrumb-nav li:last-child {
  color: #111827;
}

/* ===== 详情页标签（纯文本，text-sm） ===== */
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  min-width: 0;
}

.detail-tag {
  font-size: 0.875rem; /* text-sm */
  color: #0c4da2;
  font-weight: 500;
  line-height: 1.5;
  pointer-events: none;
  user-select: none;
  overflow-wrap: anywhere;
}

/* ===== 服务明细卡片 ===== */
.detail-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.detail-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  min-width: 0;
}

.detail-card:hover {
  box-shadow: 0 4px 12px -2px rgba(12, 77, 162, 0.1);
  transform: translateY(-2px);
}

.detail-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(12, 77, 162, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c4da2;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.detail-card-icon-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.detail-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.375rem;
  overflow-wrap: anywhere;
}

.detail-card-content {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* ===== 服务详情图片占位 ===== */
.service-detail-img {
  width: 100%;
  min-height: 220px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
  background-size: 200% 200%;
  animation: shimmer 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  overflow: hidden;
  flex-basis: 0;
}

/* ===== 服务项目行间距 ===== */
.service-item-row {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* ===== 技术方案支持卡片悬浮 ===== */
#support-cards > div {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#support-cards > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(12, 77, 162, 0.12);
}

/* ===== 回顶按钮显隐（与现有 .back-to-top 不冲突） ===== */
#back-to-top.show {
  opacity: 1 !important;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===== 移动端适配 ===== */
@media (max-width: 1023px) {
  .detail-cards-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-img {
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .mobile-menu {
    max-height: 0;
  }
  .mobile-menu.open {
    max-height: calc(100vh - 84px);
  }
  .service-item-row {
    gap: 1.5rem !important;
    padding-top: 0;
    padding-bottom: 0;
  }
  .service-item-row > div {
    min-width: 0;
  }
  .service-item-row > div:last-child {
    flex-direction: column !important;
  }
  .service-detail-img,
  .service-detail-img.flex-1,
  .service-detail-img.h-48,
  .service-detail-img.h-64 {
    flex: none !important;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .detail-cards-grid {
    gap: 0.75rem;
  }
  .detail-card {
    padding: 1rem;
  }
  #support-cards > div {
    padding: 1.25rem;
  }
}

/* ===== 案例页筛选标签 ===== */
.filter-tags-bar { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; overflow: hidden; }
.filter-tags-bar.expanded { flex-wrap: wrap; }
.filter-tag { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 9999px; border: 1px solid #e5e7eb; background-color: #fff; color: #374151; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; flex-shrink: 0; }
.filter-tag:hover { border-color: #0c4da2; color: #0c4da2; }
.filter-tag.active { background-color: #0c4da2; border-color: #0c4da2; color: #fff; }
.filter-more-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 9999px; border: 1px solid #e5e7eb; background-color: #fff; color: #0c4da2; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; flex-shrink: 0; }
.filter-more-btn:hover { border-color: #0c4da2; background-color: #f0f5ff; }

/* ===== 通用筛选组件：PC 多行标签，移动端横滑标签 + 底部抽屉 ===== */
.desktop-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-text-image {
  display: grid;
  gap: 32px;
  align-items: start;
}

.about-text-image.has-image {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
}

.about-text-image.no-image {
  grid-template-columns: minmax(0, 1fr);
}

.about-rich-text {
  min-width: 0;
  color: #475569;
  line-height: 1.8;
}

.about-rich-text > * + * {
  margin-top: 16px;
}

/* 后台富文本（Quill）里的项目符号 / 编号列表必须在前台保留。
   custom.css 先于 tailwind.generated.css 加载，Tailwind preflight 会把 ul/ol
   的 list-style 与 padding 清零，因此这里必须用 !important 覆盖。
   覆盖三处渲染容器：SSR 的 about-source-pane、JS 渲染的 about-rich-text、首页 home-about-rich-text。 */
.about-source-pane ul,
.about-source-pane ol,
.about-rich-text ul,
.about-rich-text ol,
.home-about-rich-text ul,
.home-about-rich-text ol {
  list-style: disc !important;
  padding-left: 1.5rem !important;
  margin: 8px 0 16px 0 !important;
}

.about-source-pane ol,
.about-rich-text ol,
.home-about-rich-text ol {
  list-style: decimal !important;
}

.about-source-pane li,
.about-rich-text li,
.home-about-rich-text li {
  margin-bottom: 6px;
  padding-left: 2px;
}

.about-source-pane li p,
.about-rich-text li p,
.home-about-rich-text li p {
  margin: 0;
}

.about-single-image {
  overflow: hidden;
  border-radius: 8px;
  background: #f1f5f9;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.about-single-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-grid-intro {
  max-width: 960px;
  margin-bottom: 28px;
}

.about-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.about-image-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  text-align: left;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}

.about-image-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.about-image-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.about-image-card:hover .about-image-frame img {
  transform: scale(1.03);
}

.about-image-card:hover .about-image-zoom,
.about-image-card:focus-visible .about-image-zoom {
  opacity: 1;
}

.about-image-caption {
  display: block;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
}

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

.about-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.about-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
}

.about-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
}

.about-lightbox figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.about-lightbox figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  margin: 0 auto;
  border-radius: 6px;
  object-fit: contain;
}

.about-lightbox figcaption {
  padding-top: 12px;
  color: #fff;
  font-size: 14px;
}

.about-lightbox-close,
.about-lightbox-nav {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.about-lightbox-close {
  position: absolute;
  top: -4px;
  right: 0;
}

.about-lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .about-text-image.has-image {
    grid-template-columns: 1fr;
  }

  .about-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-text-image {
    gap: 24px;
  }

  .about-image-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-lightbox {
    padding: 12px;
  }

  .about-lightbox-dialog {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    max-height: calc(100vh - 24px);
  }

  .about-lightbox-close {
    top: 8px;
    right: 8px;
  }

  .about-lightbox-nav {
    width: 38px;
    height: 38px;
  }
}

.mobile-filter-ui {
  display: none;
}

body.mobile-filter-sheet-open {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 767px) {
  #filter-tags {
    display: block !important;
    margin-right: -16px;
    margin-bottom: 28px !important;
  }

  .desktop-filter-tags {
    display: none;
  }

  .mobile-filter-ui {
    display: block;
  }

  .mobile-filter-rail-row {
    position: relative;
    display: block;
    min-width: 0;
    padding-right: 128px;
  }

  .mobile-filter-rail-row::after {
    position: absolute;
    top: 0;
    right: 128px;
    bottom: 0;
    width: 28px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
    content: "";
    pointer-events: none;
  }

  .mobile-filter-rail {
    display: flex;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 2px 24px 6px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-filter-rail::-webkit-scrollbar {
    display: none;
  }

  .mobile-filter-chip,
  .mobile-filter-more,
  .mobile-filter-sheet-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-filter-chip {
    flex: 0 0 auto;
    padding: 0 17px;
    scroll-snap-align: start;
  }

  .mobile-filter-chip.active,
  .mobile-filter-sheet-option.active {
    border-color: #1763f5;
    background: #1763f5;
    color: #fff;
    box-shadow: 0 5px 14px rgba(23, 99, 245, 0.22);
  }

  .mobile-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #eef3f9;
    color: #7b8ba1;
    font-size: 0.72rem;
    font-weight: 700;
  }

  .mobile-filter-chip.active .mobile-filter-count,
  .mobile-filter-sheet-option.active .mobile-filter-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
  }

  .mobile-filter-more {
    position: absolute;
    top: 0;
    right: 16px;
    z-index: 1;
    width: 112px;
    padding: 0 14px;
    border-color: #cfe0ff;
    background: #f3f7ff;
    color: #0c4da2;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(12, 77, 162, 0.10);
  }

  .mobile-filter-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: #8ba0bb;
    font-size: 0.78rem;
  }

  .mobile-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(7, 18, 34, 0.48);
    opacity: 0;
    transition: opacity 0.24s ease;
  }

  .mobile-filter-backdrop.open {
    opacity: 1;
  }

  .mobile-filter-sheet {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 101;
    max-height: min(78svh, 680px);
    padding: 10px 20px max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow: 0 -14px 40px rgba(15, 23, 42, 0.20);
    transform: translateY(105%);
    transition: transform 0.24s cubic-bezier(0.22, 0.75, 0.25, 1);
  }

  .mobile-filter-sheet.open {
    transform: translateY(0);
  }

  .mobile-filter-sheet-handle {
    width: 52px;
    height: 5px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: #dbe3ef;
  }

  .mobile-filter-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1f6;
  }

  .mobile-filter-sheet-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 750;
    text-align: left !important;
  }

  .mobile-filter-sheet-header h2 i {
    color: #1763f5;
  }

  .mobile-filter-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #8b9ab0;
    font-size: 1.2rem;
  }

  .mobile-filter-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 18px 0;
  }

  .mobile-filter-sheet-option {
    justify-content: space-between;
    min-width: 0;
    padding: 0 14px;
    border-radius: 14px;
  }

  .mobile-filter-sheet-option > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-filter-sheet-actions {
    position: sticky;
    bottom: calc(-1 * max(18px, env(safe-area-inset-bottom)));
    display: grid;
    grid-template-columns: minmax(105px, 0.7fr) minmax(0, 1.8fr);
    gap: 12px;
    margin: 0 -20px;
    padding: 14px 20px max(18px, env(safe-area-inset-bottom));
    border-top: 1px solid #edf1f6;
    background: #fff;
  }

  .mobile-filter-reset,
  .mobile-filter-apply {
    min-height: 52px;
    border: 0;
    border-radius: 15px;
    font-weight: 700;
  }

  .mobile-filter-reset {
    background: #eef3f9;
    color: #50627a;
  }

  .mobile-filter-apply {
    background: #1763f5;
    color: #fff;
    box-shadow: 0 7px 16px rgba(23, 99, 245, 0.24);
  }
}

/* ===== 2026 competitor-aligned content system ===== */
:root {
  --site-page-bg: #f5f5f5;
  --site-panel-bg: #ffffff;
  --site-footer-bg: #08213f;
  --site-heading: #003b70;
  --site-copy: #163f63;
  --site-accent: #395da7;
  --site-border: #d7dce2;
}

body {
  background: var(--site-page-bg);
  color: var(--site-copy);
}

#page-main > section:not(#hero):not(.page-hero) {
  background-color: var(--site-page-bg) !important;
}

/* 内页 hero 统一高度（与参考站 zjxinhai 顶部大宽图一致 = 400px）。
   之前的 200px 短 hero 已废弃，统一到 400px。
   注意：ui-system.css 有 #page-main > section:first-child:not(#hero):not(.faq-page-simple)
   把高度 clamp 到 420px，这里用同构选择器（1,4,2）压过它，确保案例/新闻/服务三者一致。 */
#page-main > section#news-page-hero.page-hero:first-child,
#page-main > section#about-page-hero.page-hero:first-child,
#page-main > section#contact-page-hero.page-hero:first-child {
  min-height: 400px !important;
  height: 400px !important;
}

#news-page-hero .page-hero-content,
#about-page-hero .page-hero-content,
#contact-page-hero .page-hero-content {
  padding: 0;
}

#home-cta-btn,
.service-row-btn {
  border-radius: 0 !important;
  background: var(--site-accent) !important;
  color: #fff !important;
  box-shadow: none !important;
}

html[lang="en"] body,
html[lang="en"] button,
html[lang="en"] input,
html[lang="en"] select,
html[lang="en"] textarea {
  font-family: Arial, Helvetica, sans-serif;
}

html[lang="en"] body {
  font-size: 16px;
  line-height: 1.65;
}

html[lang="en"] .nav-link {
  font-size: 17px !important;
  font-weight: 400 !important;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4 {
  letter-spacing: 0;
  font-weight: 500;
}

/* Case category tree */
.case-page-description {
  margin: 0 0 28px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--site-border);
  color: var(--site-copy);
  font-size: 17px;
  line-height: 1.85;
  text-align: left;
}

.case-browser-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.case-filter-panel {
  position: sticky;
  top: 92px;
  border: 1px solid var(--site-border);
  background: #fff;
}

.case-filter-tree h2 {
  padding: 16px 20px;
  color: var(--site-heading);
  font-size: 23px;
  font-weight: 600;
  border-bottom: 1px solid var(--site-border);
}

.case-tree-all,
.case-tree-parent,
.case-tree-child {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  color: var(--site-heading);
  text-align: left;
  border-bottom: 1px solid #e7e7e7;
  background: #fff;
  cursor: pointer;
}

.case-tree-all b,
.case-tree-child b {
  color: #7d8790;
  font-size: 12px;
  font-weight: 400;
}

.case-tree-all:hover,
.case-tree-child:hover,
.case-tree-all.active,
.case-tree-child.active {
  color: #fff;
  background: var(--site-accent);
}

.case-tree-all.active b,
.case-tree-child.active b {
  color: #fff;
}

.case-tree-parent {
  font-weight: 600;
}

.case-tree-parent i {
  font-size: 11px;
  transition: transform .2s ease;
}

.case-tree-group.open .case-tree-parent i {
  transform: rotate(180deg);
}

.case-tree-children {
  display: none;
  background: #f8f8f8;
}

.case-tree-group.open .case-tree-children {
  display: block;
}

.case-tree-child {
  padding-left: 34px;
  font-size: 14px;
  background: #f8f8f8;
}

.case-tree-orphan {
  padding-left: 18px;
  background: #fff;
}

.case-tree-mobile {
  display: none;
}

.case-results {
  min-width: 0;
}

/* Why choose us */
.why-layout {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  min-height: 560px;
  background: #fff;
  border: 1px solid var(--site-border);
}

.why-list {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.why-list-item {
  flex: 1;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--site-border);
  color: var(--site-heading);
  text-align: left;
  transition: background .2s ease, color .2s ease;
}

.why-list-item:last-child {
  border-bottom: 0;
}

.why-list-item.active,
.why-list-item:hover {
  color: #fff;
  background: var(--site-accent);
}

.why-item-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.why-item-icon img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

.why-list-item.active .why-item-icon img,
.why-list-item:hover .why-item-icon img {
  filter: brightness(0) invert(1);
}

.why-item-copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 19px;
}

.why-item-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: #66788a;
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.why-list-item.active small,
.why-list-item:hover small {
  color: rgba(255, 255, 255, .82);
}

.why-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #163f63;
}

.why-visual > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 32, 64, .08), rgba(0, 32, 64, .78));
  pointer-events: none;
}

.why-visual.without-image::after {
  background: linear-gradient(135deg, #173e66, #315f8d);
}

.why-panes {
  position: absolute;
  z-index: 2;
  left: 42px;
  right: 42px;
  bottom: 38px;
  color: #fff;
}

.why-pane {
  display: none;
}

.why-pane.active:not([hidden]) {
  display: block;
}

.why-pane-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  object-fit: contain;
}

.why-pane h3 {
  margin-bottom: 12px;
  font-size: 30px;
  font-weight: 600;
}

.why-pane p {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.8;
}

/* Data-driven competitor-style footer */
.site-footer {
  padding: 0 !important;
  color: var(--site-heading) !important;
  background: var(--site-footer-bg) !important;
}

.footer-shell {
  max-width: 1340px;
  margin: 0 auto;
  padding: 46px 28px 22px;
}

.footer-main {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 310px;
  gap: 52px;
  align-items: start;
}

.footer-brand img {
  width: 190px;
  max-height: 100px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  margin-top: 22px;
  color: var(--site-copy);
  font-size: 13px;
  line-height: 1.7;
}

.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 28px;
}

@media (min-width: 1024px) {
  .footer-fixed-links {
    grid-column: 3;
    grid-row: 1;
  }
}

.footer-links-column h4,
.footer-contact-col h4 {
  margin-bottom: 14px;
  color: var(--site-accent);
  font-size: 18px;
  font-weight: 600;
}

.footer-links-column li,
.footer-contact-col li {
  margin: 8px 0;
  color: var(--site-heading);
  font-size: 14px;
  line-height: 1.55;
}

.footer-links-column a:hover,
.footer-contact-col a:hover {
  color: var(--site-accent);
  text-decoration: underline;
}

.footer-contact-col li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
}

.footer-contact-col i {
  margin-top: 4px;
  color: var(--site-accent);
}

.site-footer .footer-address {
  color: #fff !important;
}

.footer-qr-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 112px));
  gap: 16px;
  margin-top: 20px;
}

.footer-qr-item {
  width: 112px;
  min-width: 0;
  text-align: center;
}

.footer-qr-image {
  width: 112px;
  height: 112px;
  padding: 6px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.footer-qr-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-qr-item > span {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  /* 页脚为深色底，文案需与页脚正文一致使用浅色，避免深蓝 --site-copy 对比度不足 */
  color: rgba(219, 231, 244, 0.82) !important;
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid #c8cdd2;
  color: #5e6c78;
  font-size: 12px;
}

@media (max-width: 900px) {
  .case-browser-layout {
    display: block;
  }

  .case-filter-panel {
    position: static;
    margin-bottom: 24px;
    border: 0;
    background: transparent;
  }

  .case-filter-tree {
    display: none;
  }

  .case-tree-mobile {
    display: block;
    color: var(--site-heading);
    font-weight: 600;
  }

  .case-tree-select-wrap {
    position: relative;
    display: block;
    margin-top: 8px;
  }

  .case-tree-select-wrap select {
    width: 100%;
    height: 48px;
    padding: 0 42px 0 14px;
    border: 1px solid var(--site-border);
    color: var(--site-heading);
    background: #fff;
    appearance: none;
  }

  .case-tree-select-wrap i {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .why-layout {
    display: block;
  }

  .why-visual {
    min-height: 420px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 767px) {
  #news-page-hero,
  #about-page-hero,
  #contact-page-hero {
    height: 240px;
    min-height: 240px;
  }

  #hero .relative.z-10,
  #hero .max-w-4xl {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #hero-title,
  #hero-desc {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .why-list-item {
    grid-template-columns: 44px minmax(0, 1fr) 12px;
    padding: 17px 16px;
  }

  .why-item-copy small {
    -webkit-line-clamp: 3;
  }

  .why-visual {
    min-height: 360px;
  }

  .why-panes {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .why-pane h3 {
    font-size: 24px;
  }

  .why-pane p {
    font-size: 14px;
  }

  .footer-shell {
    padding: 34px 18px 18px;
  }

  .footer-link-groups {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .quick-contact-desktop {
    display: none !important;
  }

  .quick-contact-mobile {
    position: fixed !important;
    z-index: 2147483000 !important;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex !important;
    min-width: 100% !important;
    padding-bottom: env(safe-area-inset-bottom);
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #0c4da2;
    box-shadow: 0 -6px 22px rgba(3, 19, 40, 0.18);
  }

  .quick-contact-mobile .quick-contact-item {
    display: flex;
    width: 0;
    min-width: 0;
    height: 62px;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.32);
    background: #0c4da2;
    font-size: 0.72rem;
  }

  .quick-contact-mobile .quick-contact-item:nth-child(2n) {
    background: #0a62b8;
  }

  .quick-contact-mobile .quick-contact-item:last-child {
    border-right: 0;
  }

  .quick-contact-mobile .quick-contact-item i {
    font-size: 1.35rem;
  }

  .quick-contact-mobile .quick-contact-item small {
    display: none;
  }

  body.has-mobile-quick-contact {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }
}

/* ===== 案例卡片内标签（与首页一致蓝色药丸） ===== */
.case-item-tag { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 9999px; background-color: #e6effa; color: #0c4da2; font-size: 12px; font-weight: 500; line-height: 1.4; }

/* ===== 更多信息链接（与首页代表项目一致） ===== */
.case-more-link { display: inline-flex; align-items: center; gap: 6px; color: #0c4da2; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; transition: all 0.2s ease; }
.case-more-link:hover { gap: 10px; }

.case-news-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  color: #333333;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.case-news-link:hover {
  border-color: #0c4da2;
  color: #0c4da2;
  transform: translateY(-1px);
}
.case-news-date {
  flex-shrink: 0;
  color: #888888;
  font-size: 13px;
}

/* ========================================
   新闻资讯页新增样式
   ======================================== */

/* ===== 新闻卡片（横排布局：缩略图 + 标题 + 标签 + 副标题 + 日期 + CTA） ===== */
.news-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.news-card:hover {
  box-shadow: 0 8px 24px -6px rgba(12, 77, 162, 0.1);
  transform: translateY(-2px);
}
@media (min-width: 768px) {
  .news-card {
    flex-direction: row;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    align-items: flex-start;
  }
}

/* ===== 新闻缩略图 ===== */
.news-card-thumb {
  width: 100%;
  height: 160px;
  border-radius: 0.375rem;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
  background-size: 200% 200%;
  animation: shimmer 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}
@media (min-width: 768px) {
  .news-card-thumb {
    width: 200px;
    height: 140px;
  }
}

/* ===== 新闻内容区 ===== */
.news-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

/* ===== 新闻标题 ===== */
.news-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

/* ===== 新闻副标题/摘要 ===== */
.news-card-excerpt {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

/* ===== 新闻标签 ===== */
.news-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.news-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  background-color: #e6effa;
  color: #0c4da2;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

/* ===== 新闻 Meta 行（日期 + 标签） ===== */
.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.25rem;
}

/* ===== 新闻日期 ===== */
.news-card-date {
  font-size: 0.8125rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

/* ===== 新闻 CTA（阅读文章） ===== */
.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #0c4da2;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
  margin-top: 0.25rem;
}
.news-card-link:hover {
  gap: 0.625rem;
  color: #083a7a;
}

/* ===== 分页按钮（方形数字样式） ===== */
.page-btn,
.page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  background-color: #fff;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.page-btn:hover:not(:disabled),
.page-num:hover:not(.active) {
  border-color: #0c4da2;
  color: #0c4da2;
}
.page-num.active {
  background-color: #0c4da2;
  border-color: #0c4da2;
  color: #fff;
}
.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== 文章详情页封面 ===== */
.article-hero-img {
  width: 100%;
  height: 280px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
  background-size: 200% 200%;
  animation: shimmer 2s infinite;
}
@media (min-width: 768px) {
  .article-hero-img {
    height: 400px;
  }
}

/* ===== 文章正文排版 ===== */
.article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.article-body p {
  margin-bottom: 1rem;
}
.article-body ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-body ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-body li {
  margin-bottom: 0.375rem;
}
.article-body strong {
  color: #111827;
  font-weight: 600;
}
.article-body blockquote {
  border-left: 4px solid #0c4da2;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #4b5563;
  font-style: italic;
}

/* ===== 相关文章卡片 ===== */
.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.related-card:hover {
  box-shadow: 0 8px 24px -6px rgba(12, 77, 162, 0.1);
  transform: translateY(-2px);
}
.related-card-img {
  width: 100%;
  height: 140px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
  background-size: 200% 200%;
  animation: shimmer 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

/* ===== 上下篇导航 ===== */
.prev-next-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: all 0.2s ease;
}
.prev-next-item:hover {
  border-color: #0c4da2;
  background: #f0f5ff;
}

/* ===== 空状态 ===== */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: #9ca3af;
}
.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #cbd5e1;
}

/* ===== 新闻列表横排布局 ===== */
.news-row {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
}
.news-row:last-child {
  border-bottom: none;
}

.news-row-img-wrap {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f3f4f6;
  display: block;
}
.news-row-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.news-row-img-wrap:hover .news-row-img {
  transform: scale(1.03);
}

.news-row-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-row-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-row-title:hover {
  color: #0c4da2;
}

.news-row-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}
.news-row-meta i {
  margin-right: 0.25rem;
  color: #9ca3af;
}

.news-row-desc {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-row-link {
  font-size: 0.875rem;
  color: #0c4da2;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-row-link:hover {
  color: #083a7a;
}
.news-row-link i {
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}
.news-row-link:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .news-row {
    flex-direction: column;
    gap: 0.875rem;
  }
  .news-row-img-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* ===== 核心服务 - 交替布局无间隔 ===== */
.service-row {
  width: 100%;
}
.service-row-inner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.service-row-even .service-row-inner {
  flex-direction: row;
}
.service-row-odd .service-row-inner {
  flex-direction: row-reverse;
}

.service-image-wrap,
.service-text-wrap {
  width: 50%;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.service-row-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-icon-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
}
.service-icon-fallback i {
  font-size: 4rem;
  color: #9ca3af;
}
.service-icon-fallback.hidden {
  display: none !important;
}

.service-text-wrap {
  display: flex;
  align-items: center;
  background: #f5f5f5;
}

.service-text-box {
  padding: 3rem 4rem;
  max-width: 560px;
}

.service-row-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-row-desc {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.service-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #fff;
  color: #0a1f3d;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  text-decoration: none;
}
.service-row-btn:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 核心服务滑入动效 */
.reveal-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-slide-left.revealed,
.reveal-slide-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1023px) {
  .service-image-wrap,
  .service-text-wrap {
    width: 100%;
    min-height: 300px;
  }
  .service-text-box {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }
  .service-row-title {
    font-size: 1.5rem;
  }
  .service-row-even .service-row-inner,
  .service-row-odd .service-row-inner {
    flex-direction: column;
  }
  .reveal-slide-left,
  .reveal-slide-right {
    opacity: 1;
    transform: translateY(30px);
  }
  .reveal-slide-left.revealed,
  .reveal-slide-right.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Hero 轮播 ===== */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  overflow: hidden;
}

.hero-carousel-slide.active {
  opacity: 1;
}

.hero-carousel-slide img {
  width: 100%;
}
.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-carousel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 18, 38, 0.82) 0%, rgba(4, 18, 38, 0.64) 43%, rgba(4, 18, 38, 0.30) 74%, rgba(4, 18, 38, 0.14) 100%),
    linear-gradient(180deg, rgba(10, 31, 61, 0.62) 0%, rgba(10, 31, 61, 0.36) 45%, rgba(10, 31, 61, 0.46) 100%);
  z-index: 2;
  pointer-events: none;
}

/* ===== 分页器 ===== */
#pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.page-btn:hover {
  border-color: #0c4da2;
  color: #0c4da2;
}
.page-btn.active {
  background: #0c4da2;
  border-color: #0c4da2;
  color: #fff;
}
.page-next {
  padding: 0 0.875rem;
}
.page-info {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-left: 0.5rem;
}

/* ===== FAQ ===== */
.faq-accordion-list {
  display: block;
  border-top: 1px solid #dde2e7;
}

.faq-accordion-item {
  border: 0;
  border-bottom: 1px solid #dde2e7;
  border-radius: 0;
  background: #fff;
  position: relative;
}

.faq-accordion-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 86px;
  padding: 1.25rem 1.5rem;
  color: #111827;
  font-size: var(--type-body);
  font-weight: 400;
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.faq-toggle-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid #535b64;
  border-radius: 50%;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 2px;
  background: #535b64;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-toggle-icon::after {
  transform: rotate(90deg);
}

.faq-accordion-answer {
  display: none;
  margin: 0 0 1.65rem;
  width: 100%;
  max-width: 100%;
  padding: 1.25rem 1.5rem 1.25rem calc(1.5rem + 22px + 1rem);
  box-sizing: border-box;
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-weight: 400;
  background: #f6f8fa;
  overflow: visible;
}

.faq-accordion-answer p {
  margin: 0;
  max-width: 100%;
  color: #4b5563 !important;
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faq-accordion-item.expanded .faq-toggle-icon::after {
  opacity: 0;
}

.faq-accordion-item.expanded .faq-accordion-answer {
  display: block;
}

.faq-page-simple {
  background: #fff;
  height: auto !important;
  min-height: calc(100vh - 84px) !important;
  margin-top: 0 !important;
  padding-top: 84px;
  padding-bottom: 6rem;
}

#page-main > section.faq-page-simple .faq-accordion-answer p {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  color: #4b5563 !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  text-align: left !important;
}

.faq-page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 1.25rem 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
}

.faq-page-breadcrumb a {
  color: #0c4da2;
  font-weight: 500;
}

.faq-page-breadcrumb [aria-current="page"] {
  color: #374151;
}

#faq-page-pagination {
  min-height: 2.25rem;
  flex-wrap: wrap;
}

.faq-page-simple .filter-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.faq-page-simple .filter-tag.active,
.faq-page-simple .filter-tag:hover {
  border-color: #0c4da2;
  color: #0c4da2;
  background: #eff6ff;
}

@media (max-width: 640px) {
  .faq-page-simple .faq-accordion-question {
    min-height: 72px;
    padding: 1rem 1rem;
    font-size: 1rem;
  }

  .faq-page-simple .faq-accordion-answer {
    margin-bottom: 1.25rem;
    padding: 1rem 0.75rem 1rem calc(1rem + 22px + 1rem);
  }

  .faq-page-simple {
    padding-bottom: 4rem;
  }

  .faq-page-breadcrumb {
    margin-bottom: 1.5rem;
  }
}

/* Stable footer background fallback when Tailwind has no secondary color. */
.site-footer,
.bg-secondary {
  background-color: #08213f !important;
}

/* ===== 2026 mobile experience pass ===== */
@media (max-width: 767px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    font-size: 15px;
  }

  #main-nav > div:first-child {
    padding-left: 16px;
    padding-right: 16px;
  }

  #main-nav > div:first-child > div {
    position: relative;
    height: 84px !important;
  }

  #main-nav a[aria-label="Home"] {
    max-width: calc(100vw - 76px);
  }

  #main-nav a[aria-label="Home"] img {
    width: auto !important;
    max-width: 220px !important;
    height: 66px !important;
    object-fit: contain;
    object-position: left center;
  }

  #mobile-menu-btn {
    position: fixed;
    right: auto;
    left: min(calc(100vw - 58px), 334px);
    top: 21px;
    z-index: 72;
    display: flex !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.94) !important;
    background-image:
      linear-gradient(#111827, #111827),
      linear-gradient(#111827, #111827),
      linear-gradient(#111827, #111827);
    background-position: center calc(50% - 6px), center, center calc(50% + 6px);
    background-repeat: no-repeat;
    background-size: 22px 2px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
    pointer-events: auto;
    touch-action: manipulation;
  }

  #mobile-menu-icon {
    display: none !important;
  }

  #mobile-menu-btn::after {
    display: none;
  }

  #mobile-menu {
    position: absolute;
    right: 0;
    left: 0;
    top: 84px;
    z-index: 71;
    overflow-y: auto;
    pointer-events: none;
  }

  #mobile-menu.open {
    max-height: calc(100svh - 84px) !important;
    pointer-events: auto;
  }

  #mobile-menu > div {
    padding: 12px 16px 18px;
  }

  #mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  #page-main > #hero:not(.services-page-hero) {
    min-height: max(760px, 100svh) !important;
    padding: 84px 0 300px !important;
    justify-content: center !important;
  }

  #page-main > #hero:not(.services-page-hero) > .relative.z-10 {
    padding: 42px 20px 18px !important;
    margin: 0 !important;
    max-width: 100vw !important;
  }

  #page-main > #hero:not(.services-page-hero) > .relative.z-10 > div {
    width: 100%;
    max-width: min(330px, calc(100vw - 40px)) !important;
    text-align: center;
  }

  #page-main,
  #page-main > section,
  #page-main > section > div,
  .page-hero-content,
  .services-hero-panel {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  #hero-title {
    max-width: min(330px, calc(100vw - 40px));
    margin: 0 auto 18px !important;
    font-size: clamp(1.72rem, 7.3vw, 2.05rem) !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  #hero-desc {
    width: 100%;
    max-width: min(330px, calc(100vw - 40px)) !important;
    margin: 0 auto 28px !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 0.94rem !important;
    line-height: 1.72 !important;
    text-align: left;
  }

  #hero-desc + div {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
    width: 100%;
    max-width: min(330px, calc(100vw - 40px));
    margin: 0 auto;
  }

  #hero-btn1,
  #hero-btn2 {
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px !important;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 10px !important;
    background: rgba(4, 18, 38, 0.28) !important;
    color: #fff !important;
    box-shadow: none !important;
    backdrop-filter: blur(4px);
    font-size: 0.94rem;
  }

  .hero-carousel-slide img {
    object-position: center center !important;
  }

  .hero-carousel-overlay {
    background:
      linear-gradient(180deg, rgba(4, 18, 38, 0.38) 0%, rgba(4, 18, 38, 0.28) 25%, rgba(4, 18, 38, 0.70) 68%, rgba(4, 18, 38, 0.92) 100%),
      linear-gradient(90deg, rgba(4, 18, 38, 0.46), rgba(4, 18, 38, 0.15)) !important;
  }

  #stats {
    margin-top: -286px !important;
    padding: 0 20px 24px !important;
    background: transparent;
  }

  #stats-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100%;
    max-width: min(330px, calc(100vw - 40px));
  }

  #stats .stat-card {
    min-height: 78px;
    width: 100%;
    max-width: min(330px, calc(100vw - 40px));
    padding: 12px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 14px !important;
    background: rgba(8, 21, 38, 0.68) !important;
    box-shadow: none !important;
    color: #fff;
    backdrop-filter: blur(7px);
    transform: none !important;
  }

  #stats .stat-card > .mb-4 {
    display: none;
  }

  #stats .stat-card > .flex {
    margin-bottom: 5px !important;
  }

  #stats .stat-num-value {
    color: #fff !important;
    font-size: 1.8rem !important;
    line-height: 1 !important;
  }

  #stats .stat-num-suffix {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1rem !important;
  }

  #stats .stat-card > div:not(.flex):not(.mb-4) {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }

  .page-hero,
  #page-main > section:first-child:not(#hero):not(.page-hero):not(.faq-page-simple),
  #hero.services-page-hero {
    min-height: clamp(360px, 62svh, 520px) !important;
    height: auto !important;
    margin-top: 84px !important;
    align-items: flex-end !important;
  }

  .page-hero-content,
  #hero.services-page-hero > .relative.z-10,
  #page-main > section:first-child:not(#hero):not(.page-hero):not(.faq-page-simple) > .relative.z-10 {
    align-items: flex-start !important;
    padding: 0 20px 72px !important;
    text-align: left !important;
  }

  .page-hero-title,
  #hero.services-page-hero h1,
  #page-main > section:first-child:not(#hero):not(.page-hero):not(.faq-page-simple) h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.25rem) !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .page-hero-desc,
  #hero.services-page-hero p,
  #page-main > section:first-child:not(#hero):not(.page-hero):not(.faq-page-simple) p {
    max-width: 100% !important;
    margin: 14px 0 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
  }

  .page-hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 18, 38, 0.22) 0%, rgba(4, 18, 38, 0.50) 52%, rgba(4, 18, 38, 0.91) 100%),
      linear-gradient(90deg, rgba(4, 18, 38, 0.42), rgba(4, 18, 38, 0.08)) !important;
  }

  .page-hero-breadcrumb {
    left: 20px !important;
    right: 20px !important;
    bottom: 22px !important;
    font-size: 0.78rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .faq-page-simple {
    min-height: calc(100svh - 84px) !important;
    padding-top: 84px !important;
    padding-bottom: 48px !important;
  }

  #page-main > header:first-child {
    padding-top: 112px !important;
  }

  #article-title {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .faq-page-simple > div {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .faq-page-breadcrumb {
    margin-bottom: 18px !important;
    padding: 16px 0 !important;
  }

  .faq-accordion-question {
    min-height: 64px;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .faq-accordion-answer {
    margin-bottom: 14px;
    padding: 14px 12px 14px calc(1.5rem + 22px + 1rem);
  }

  #page-main > section:not(#hero):not(#stats):not(.page-hero):not(.faq-page-simple) {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  #services > div:first-child,
  #why > div,
  #cases > div {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #services .text-center,
  #why .text-center,
  #cases .text-center {
    margin-bottom: 32px !important;
  }

  #why-tabs,
  #about-tabs,
  .about-tabs-bar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100%;
    margin-bottom: 26px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible;
  }

  #why-tabs > *,
  #about-tabs > *,
  .about-tabs-bar > * {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #09a9d8 !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.35;
    text-align: center;
    white-space: normal !important;
    box-shadow: 0 4px 12px rgba(9, 169, 216, 0.16);
    transform: translateY(0);
    transition:
      background-color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease !important;
  }

  #why-tabs > *::after,
  #about-tabs > *::after,
  .about-tabs-bar > *::after {
    display: none !important;
  }

  #why-tabs > *:active,
  #about-tabs > *:active,
  .about-tabs-bar > *:active {
    transform: translateY(1px) scale(0.99);
  }

  #why-tabs > *.active,
  #why-tabs > *[aria-selected="true"],
  #about-tabs > *.active,
  #about-tabs > *[aria-selected="true"],
  .about-tabs-bar > *.active,
  .about-tabs-bar > *[aria-selected="true"] {
    background: #0c4da2 !important;
    color: #fff !important;
    box-shadow: 0 7px 18px rgba(12, 77, 162, 0.28);
    transform: translateY(-1px);
  }

  #why-tabs > *:focus-visible,
  #about-tabs > *:focus-visible,
  .about-tabs-bar > *:focus-visible {
    outline: 3px solid rgba(9, 169, 216, 0.3);
    outline-offset: 3px;
  }

  #why-panes {
    padding: 20px 16px !important;
    border-radius: 10px !important;
  }

  #about-panes {
    min-width: 0;
  }

  .tab-content-enter {
    animation: mobileTabContentIn 0.28s ease both;
  }

  .service-image-wrap,
  .service-text-wrap {
    width: 100% !important;
    min-height: 0 !important;
  }

  .service-image-wrap {
    height: clamp(210px, 58vw, 280px);
  }

  .service-text-box {
    width: 100%;
    max-width: none;
    padding: 28px 18px 32px !important;
  }

  .service-row-title {
    margin-bottom: 12px;
    font-size: 1.45rem !important;
  }

  .service-row-desc {
    margin-bottom: 22px;
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .service-row-btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .news-row {
    gap: 14px;
    padding: 20px 0;
  }

  .news-row-img-wrap {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }

  .news-row-title {
    margin-bottom: 8px;
    font-size: 1.08rem;
  }

  .news-row-meta {
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 8px;
  }

  .news-row-desc {
    margin-bottom: 10px;
    font-size: 0.875rem;
    -webkit-line-clamp: 3;
  }

  .article-body {
    font-size: 0.94rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .article-body h2 {
    margin-top: 2rem;
    font-size: 1.45rem;
  }

  .article-body h3 {
    margin-top: 1.6rem;
    font-size: 1.2rem;
  }

  .article-body img,
  .article-body video,
  .article-body iframe {
    max-width: 100%;
    height: auto;
  }

  .article-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  input,
  select,
  textarea,
  button {
    font-size: 16px;
  }

  iframe {
    max-width: 100%;
  }

  .site-footer {
    padding-top: 48px !important;
    padding-bottom: 24px !important;
  }

  .site-footer > div {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .site-footer > div > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 18px !important;
    margin-bottom: 38px !important;
  }

  .site-footer > div > .grid > div:last-child {
    grid-column: 1 / -1;
    order: -1;
  }

  /* 联系方式和二维码在移动端优先展示，桌面端顺序保持不变。 */
  .site-footer .footer-contact-col {
    order: -1;
    grid-column: 1 / -1 !important;
  }

  #cases-container,
  #cases-grid,
  #support-cards,
  #contact-cards,
  .contact-card-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  #cases-container > *,
  #cases-grid > *,
  #support-cards > *,
  #contact-cards > * {
    min-width: 0;
  }

  #service-content,
  #case-content,
  #contact-content {
    padding-top: 42px !important;
    padding-bottom: 48px !important;
  }

  #service-items-container,
  #case-items-container,
  #contact-content .max-w-7xl,
  #news-list,
  #cases-grid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #contact-content form,
  #contact-content .bg-white,
  #service-items-container .bg-white,
  #case-content .bg-white {
    border-radius: 14px !important;
  }

  #contact-content iframe,
  .map-container iframe {
    min-height: 220px;
    height: 220px !important;
  }

  .site-footer h4 {
    margin-bottom: 14px !important;
    font-size: 1rem !important;
  }

  .site-footer ul {
    font-size: 0.82rem !important;
  }

  .site-footer .border-t {
    align-items: flex-start !important;
    padding-top: 24px !important;
    font-size: 0.75rem !important;
  }

  #footer-qr-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(88px, 96px)) !important;
    justify-content: start;
    align-items: start;
    gap: 14px !important;
    width: 100%;
    max-width: 240px;
    margin-top: 20px !important;
    overflow: visible;
  }

  #footer-qr-list > div {
    grid-column: auto !important;
    width: 96px;
    min-width: 0;
  }

  #footer-qr-list > div > div {
    width: 88px !important;
    height: 88px !important;
    flex: 0 0 auto;
  }

  #footer-qr-list img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
  }

  /*
   * 英文移动端采用左对齐，提升长单词和多行段落的扫描效率。
   * 标签按钮、分页和操作按钮仍保留居中，避免破坏控件视觉。
   */
  html[lang="en"] #hero-title,
  html[lang="en"] #hero-desc,
  html[lang="en"] #hero-subtitle,
  html[lang="en"] .page-hero-title,
  html[lang="en"] .page-hero-desc,
  html[lang="en"] #service-desc-text,
  html[lang="en"] #why h2,
  html[lang="en"] #why-panes p,
  html[lang="en"] #about-panes h2,
  html[lang="en"] #about-panes h3,
  html[lang="en"] #about-panes p,
  html[lang="en"] #page-main section h1,
  html[lang="en"] #page-main section h2,
  html[lang="en"] #page-main section h3,
  html[lang="en"] #page-main section p {
    text-align: left !important;
    word-break: normal !important;
    overflow-wrap: break-word;
    white-space: normal !important;
  }

  html[lang="en"] #hero-title,
  html[lang="en"] #hero-desc,
  html[lang="en"] #hero-subtitle,
  html[lang="en"] #why-panes p,
  html[lang="en"] #service-desc-text {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html[lang="en"] #hero-subtitle,
  html[lang="en"] #service-desc-text {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 移动端不展示视觉面包屑，PC 端继续保留。 */
  .page-hero-breadcrumb,
  .faq-page-breadcrumb,
  .breadcrumb-nav,
  #breadcrumb-list {
    display: none !important;
  }

  /* 英文首页分区标题保持居中，不跟随正文左对齐规则。 */
  html[lang="en"] #services-title,
  html[lang="en"] #why-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /*
   * 英文移动端导航按钮无底色、边框和阴影。
   * 透明导航使用白色图标，白色吸顶导航使用黑色图标。
   */
  html[lang="en"] #mobile-menu-btn {
    border: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    background-image:
      linear-gradient(#fff, #fff),
      linear-gradient(#fff, #fff),
      linear-gradient(#fff, #fff);
  }

  html[lang="en"] #main-nav.nav-scrolled #mobile-menu-btn {
    background-image:
      linear-gradient(#111827, #111827),
      linear-gradient(#111827, #111827),
      linear-gradient(#111827, #111827);
  }

  #back-to-top {
    right: 14px !important;
    bottom: 14px !important;
    width: 42px !important;
    height: 42px !important;
  }
}

@media (max-width: 374px) {
  #hero-title {
    font-size: 1.75rem !important;
  }

  #hero-desc + div {
    gap: 8px !important;
  }

  #hero-btn1,
  #hero-btn2 {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 0.86rem;
  }

  .site-footer > div > .grid {
    grid-template-columns: 1fr !important;
  }

  .site-footer > div > .grid > div:last-child {
    grid-column: auto;
  }
}

/* ===== Shared breadcrumb, footer accordion and quick contact ===== */
.quick-contact-mobile {
  display: none;
}

.mobile-page-breadcrumb {
  display: flex;
  min-height: 48px;
  margin-top: 0;
  padding: 0 max(24px, calc((100vw - 1280px) / 2 + 24px));
  align-items: center;
  gap: 9px;
  color: #64748b;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.86rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
}

.mobile-page-breadcrumb-label {
  flex: 0 0 auto;
  color: #64748b;
}

.mobile-page-breadcrumb a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  color: #0c4da2;
  font-weight: 600;
}

.mobile-page-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-page-breadcrumb-current {
  min-width: 0;
  overflow: hidden;
  color: #334155;
  text-overflow: ellipsis;
}

.mobile-page-breadcrumb-separator {
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 0.68rem;
}

.page-hero-breadcrumb,
.faq-page-breadcrumb,
.breadcrumb-nav,
#breadcrumb-list {
  display: none !important;
}

.footer-accordion-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: inherit;
  font: inherit;
  text-align: left;
}

.footer-accordion-toggle i {
  display: none;
}

.quick-contact-desktop {
  position: fixed;
  z-index: 45;
  top: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
  border-radius: 12px 0 0 12px;
  box-shadow: 0 12px 34px rgba(4, 24, 50, 0.2);
  overflow: visible;
}

.quick-contact-desktop .quick-contact-item {
  position: relative;
  display: flex;
  width: 58px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #0c4da2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: background-color 0.2s ease;
}

.quick-contact-desktop .quick-contact-item:last-child {
  border-bottom: 0;
}

.quick-contact-desktop .quick-contact-item:hover,
.quick-contact-desktop .quick-contact-item:focus-visible {
  background: #083a7a;
}

.quick-contact-desktop .quick-contact-item > i {
  width: 22px;
  flex: 0 0 22px;
  font-size: 1.25rem;
  text-align: center;
}

.quick-contact-desktop .quick-contact-item > span:not(.quick-contact-tooltip),
.quick-contact-desktop .quick-contact-item > small {
  display: none;
}

.quick-contact-tooltip {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: calc(100% + 12px);
  display: block;
  max-width: 260px;
  padding: 9px 13px;
  transform: translate(8px, -50%);
  color: #475569;
  border: 1px solid #dbe2ea;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 41, 70, 0.14);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.quick-contact-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid #dbe2ea;
  border-right: 1px solid #dbe2ea;
  background: #fff;
}

.quick-contact-desktop .quick-contact-item:hover .quick-contact-tooltip,
.quick-contact-desktop .quick-contact-item:focus-visible .quick-contact-tooltip {
  transform: translate(0, -50%);
  opacity: 1;
  visibility: visible;
}

.quick-contact-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.quick-contact-modal.open {
  opacity: 1;
}

.quick-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 14, 30, 0.65);
}

.quick-contact-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(320px, calc(100% - 40px));
  padding: 24px;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.quick-contact-dialog h2 {
  margin: 0 0 18px;
  color: #0a1f3d;
  font-size: 1.25rem;
  font-weight: 700;
}

.quick-contact-dialog img {
  display: block;
  width: 220px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
}

.quick-contact-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  color: #64748b;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .quick-contact-desktop {
    display: none;
  }

  .mobile-page-breadcrumb {
    min-height: 56px;
    margin-top: 64px;
    padding: 0 16px;
    gap: 8px;
    font-size: 0.82rem;
  }

  .mobile-page-breadcrumb-label {
    display: none;
  }

  .mobile-hidden-page-hero {
    display: none !important;
  }

  .is-inner-page .faq-page-simple {
    min-height: auto !important;
    padding-top: 28px !important;
  }

  .is-inner-page #page-main > header:first-child,
  .is-inner-page #case-article > section:first-child {
    padding-top: 28px !important;
  }

  .site-footer > div > .grid {
    display: block !important;
  }

  .site-footer .footer-contact-col {
    margin-bottom: 24px;
  }

  .site-footer .footer-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-footer .footer-accordion:last-of-type {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-footer .footer-accordion h4 {
    margin: 0 !important;
  }

  .site-footer .footer-accordion-toggle {
    min-height: 54px;
    padding: 0 2px;
  }

  .site-footer .footer-accordion-toggle i {
    display: inline-block;
    transition: transform 0.2s ease;
  }

  .site-footer .footer-accordion > ul {
    max-height: 0;
    margin: 0 !important;
    padding: 0 2px;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.2s ease;
  }

  .site-footer .footer-accordion.open > ul {
    max-height: 480px;
    padding-top: 4px;
    padding-bottom: 18px;
    opacity: 1;
  }

  .site-footer .footer-accordion.open .footer-accordion-toggle i {
    transform: rotate(180deg);
  }

  .mobile-filter-ui {
    display: block !important;
    width: 100%;
  }

  .mobile-filter-select-wrap {
    display: block;
    width: 100%;
  }

  .mobile-filter-select-label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .mobile-filter-select-control {
    position: relative;
    display: block;
  }

  .mobile-filter-select {
    width: 100%;
    height: 52px;
    padding: 0 46px 0 16px;
    color: #0a1f3d;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    outline: 0;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 41, 70, 0.06);
    font-weight: 600;
    appearance: none;
  }

  .mobile-filter-select:focus {
    border-color: #0c4da2;
    box-shadow: 0 0 0 3px rgba(12, 77, 162, 0.12);
  }

  .mobile-filter-select-control > i {
    position: absolute;
    top: 50%;
    right: 17px;
    color: #0c4da2;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .mobile-filter-rail-row,
  .mobile-filter-hint,
  .mobile-filter-backdrop,
  .mobile-filter-sheet {
    display: none !important;
  }

  .quick-contact-mobile {
    position: fixed !important;
    z-index: 2147483000 !important;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto !important;
    min-width: 100% !important;
    display: flex;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    padding-bottom: env(safe-area-inset-bottom);
    background: #0c4da2;
    box-shadow: 0 -6px 22px rgba(3, 19, 40, 0.18);
  }

  .quick-contact-mobile .quick-contact-item {
    display: flex;
    width: 0;
    min-width: 0;
    flex: 1 1 0;
    height: 62px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.32);
    background: #0c4da2;
    font-size: 0.7rem;
  }

  .quick-contact-mobile .quick-contact-item span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .quick-contact-mobile .quick-contact-item:nth-child(2n) {
    background: #0a62b8;
  }

  .quick-contact-mobile .quick-contact-item:last-child {
    border-right: 0;
  }

  .quick-contact-mobile .quick-contact-item i {
    font-size: 1.35rem;
  }

  .quick-contact-mobile .quick-contact-item small {
    display: none;
  }

  body.has-mobile-quick-contact {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  body.has-mobile-quick-contact #back-to-top {
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  }
}

@keyframes mobileTabContentIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keep the data-driven footer and compact content heroes authoritative. */
.site-footer {
  padding: 0 !important;
  background: var(--site-footer-bg) !important;
  color: var(--site-heading) !important;
}
.site-footer > .footer-shell {
  max-width: 1340px !important;
  margin: 0 auto !important;
  padding: 46px 28px 22px !important;
}
@media (max-width: 767px) {
  .site-footer > .footer-shell {
    padding: 34px 18px 18px !important;
  }
}

/* ===== Homepage 2026 layout ===== */
#services,
#why,
#cases,
#home-about,
#home-cta-section {
  scroll-margin-top: 84px;
}

#services {
  background: #fff !important;
}

#services-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
}

#services-container .service-row {
  margin-bottom: 28px;
  border: 1px solid #e5eaf0;
  background: #fff;
  box-shadow: 0 14px 36px rgba(10, 31, 61, 0.07);
}

#services-container .service-row:last-child {
  margin-bottom: 0;
}

#services-container .service-image-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
}

#services-container .service-image-wrap,
#services-container .service-text-wrap {
  min-height: 410px;
}

#services-container .service-image-wrap:hover .service-row-img {
  animation: homeServiceBreathe 2.8s ease-in-out infinite alternate;
}

#services-container .service-text-wrap {
  background: #f7f9fb !important;
}

#services-container .service-text-box {
  padding: clamp(36px, 5vw, 72px);
}

#services-container .service-row-title {
  color: #0a1f3d;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
}

#services-container .service-row-btn {
  border: 1px solid #cbd5e1;
  border-radius: 2px;
  box-shadow: none;
}

#services-container .service-row-btn:hover {
  color: #fff;
  border-color: #0c4da2;
  background: #0c4da2;
}

@keyframes homeServiceBreathe {
  from { transform: scale(1.035); }
  to { transform: scale(1.085); }
}

#why {
  padding: 0 !important;
  background: #173f7c !important;
}

.why-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  min-height: 610px;
}

.why-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 7vw, 104px) clamp(32px, 7vw, 112px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(43, 83, 158, 0.98), rgba(24, 61, 126, 0.98)),
    #244e95;
}

.section-eyebrow {
  margin-bottom: 12px;
  color: #8ddfff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

#why-title {
  margin-bottom: clamp(30px, 4vw, 48px);
  color: #fff;
  line-height: 1.16;
}

.why-static-list {
  display: grid;
  gap: 26px;
}

.why-static-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding-left: 14px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease calc(var(--why-index, 0) * 90ms),
    transform 0.55s ease calc(var(--why-index, 0) * 90ms),
    background-color 0.25s ease;
}

.why-static-item.home-item-visible {
  opacity: 1;
  transform: translateY(0);
}

.why-static-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: #5ed8ff;
  transform: scaleY(0.36);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.why-static-item:hover {
  transform: translateX(6px);
}

.why-static-item:hover::before {
  transform: scaleY(1);
}

.why-static-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  font-size: 1.7rem;
}

.why-static-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.why-static-copy strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 1.12rem;
}

.why-static-copy > span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  line-height: 1.72;
}

#why .why-visual {
  min-height: 610px;
  background: #163f63;
}

#why .why-visual::after {
  background: linear-gradient(90deg, rgba(18, 55, 111, 0.26), rgba(5, 20, 38, 0.08));
}

#why .why-visual > img {
  object-position: center center;
}

#cases {
  background: #f7f9fb !important;
}

#cases-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#cases-container .case-card {
  position: relative;
  border: 0 !important;
  border-bottom: 4px solid #16b7df !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 26px rgba(10, 31, 61, 0.1) !important;
}

#cases-container .case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(10, 31, 61, 0.16) !important;
}

.home-about {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #07346f, #0a1f3d);
}

.home-about-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-about-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 24, 55, 0.95) 0%, rgba(4, 39, 82, 0.82) 47%, rgba(5, 33, 67, 0.52) 100%),
    linear-gradient(180deg, rgba(1, 17, 38, 0.2), rgba(1, 17, 38, 0.72));
}

.home-about.without-image .home-about-overlay {
  background: linear-gradient(135deg, #07346f, #0a1f3d);
}

.home-about-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(48px, 7vw, 104px);
  width: min(1280px, calc(100% - 64px));
  min-height: 690px;
  margin: 0 auto;
  padding: 88px 0;
  align-items: center;
}

.home-about-copy {
  min-width: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.home-about-copy.home-item-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-about-copy h2 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 750;
}

.home-about-rich-text {
  position: relative;
  /* 首页“关于我们”需要完整展示后台“关于我们 → 企业简介”的内容。
     原实现用 max-height + overflow:hidden + 渐隐遮罩截断，会让企业简介只露出前两段、
     甚至出现「主要服务项目：」下面列表被切掉的情况，容易被误认为“没有读取”。 */
  max-height: none !important;
  padding-bottom: 0;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.82;
}

.home-about-rich-text::after {
  display: none !important;
}

.home-about-rich-text p {
  margin-bottom: 14px;
}

.home-about-rich-text ul {
  margin: 8px 0 16px 0;
  list-style: disc;
}

.home-about-more {
  display: inline-flex;
  min-height: 44px;
  margin-top: 28px;
  padding: 0 22px;
  align-items: center;
  gap: 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.home-about-more:hover {
  border-color: #18bde7;
  background: #0c4da2;
  transform: translateY(-2px);
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.home-stat-card {
  min-height: 168px;
  padding: 27px 26px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 40px rgba(0, 20, 48, 0.18);
  backdrop-filter: blur(7px);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.58s ease calc(var(--stat-index, 0) * 90ms),
    transform 0.58s ease calc(var(--stat-index, 0) * 90ms),
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.home-stat-card.home-item-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-stat-card:nth-child(even) {
  margin-top: 42px;
}

.home-stat-card:hover {
  border-color: rgba(94, 216, 255, 0.72);
  background: rgba(12, 77, 162, 0.42);
  transform: translateY(-7px);
}

.home-stats-grid[data-count="1"] {
  grid-template-columns: minmax(260px, 360px);
  justify-content: center;
}

.home-stats-grid[data-count="1"] .home-stat-card,
.home-stats-grid[data-count="2"] .home-stat-card:nth-child(2) {
  margin-top: 36px;
}

.home-stats-grid[data-count="3"] .home-stat-card:nth-child(3) {
  grid-column: 1 / -1;
  width: calc(50% - 11px);
  margin: 0 auto;
}

.home-stat-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.home-stat-number {
  display: flex;
  align-items: baseline;
  color: #fff;
  line-height: 1;
}

.home-stat-number .stat-num-value {
  color: #fff !important;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 850;
}

.home-stat-number .stat-num-suffix {
  color: #fff !important;
  font-size: 1.25rem;
  font-weight: 750;
}

.home-stat-label {
  margin-top: 12px;
  color: #fff;
  font-weight: 700;
}

.home-stat-desc {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.55;
}

.home-cta-section {
  padding: 76px 0 !important;
  color: #fff;
  background: linear-gradient(120deg, #0a1f3d, #0c4da2) !important;
}

.home-cta-section #home-cta-title,
.home-cta-section #home-cta-subtitle {
  color: #fff !important;
}

.home-cta-section #home-cta-subtitle {
  opacity: 0.82;
}

.home-cta-section #home-cta-btn {
  color: #0a1f3d;
  background: #fff;
}

.home-cta-section #home-cta-btn:hover {
  color: #fff;
  background: #18a9d5;
}

@media (max-width: 1023px) {
  #services-container {
    width: min(760px, calc(100% - 32px));
  }

  #services-container .service-image-wrap,
  #services-container .service-text-wrap {
    min-height: 0;
  }

  #services-container .service-image-wrap {
    height: clamp(280px, 58vw, 430px);
  }

  #services-container .service-text-box {
    padding: 38px 32px 44px;
  }

  .why-shell {
    grid-template-columns: 1fr;
  }

  .why-content {
    padding: 64px max(28px, 6vw);
  }

  #why .why-visual {
    min-height: 430px;
  }

  .home-about-inner {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 48px));
    gap: 48px;
    padding: 72px 0;
  }

  .home-about-rich-text {
    max-height: none !important;
  }

  .home-stats-grid {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #hero {
    min-height: 560px !important;
    padding-bottom: 0 !important;
  }

  #hero > .relative.z-10 {
    padding-top: 132px !important;
    padding-bottom: 70px !important;
  }

  #services,
  #cases {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  #services-container {
    width: calc(100% - 28px);
  }

  #services-container .service-row {
    margin-bottom: 20px;
  }

  #services-container .service-image-wrap {
    height: clamp(220px, 62vw, 310px) !important;
  }

  #services-container .service-text-box {
    padding: 28px 22px 32px !important;
  }

  #services-container .service-image-wrap:hover .service-row-img {
    animation: none;
    transform: scale(1.025) !important;
  }

  .why-content {
    padding: 54px 20px;
  }

  #why-title {
    margin-bottom: 30px;
  }

  .why-static-list {
    gap: 24px;
  }

  .why-static-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding-left: 11px;
  }

  .why-static-icon {
    width: 42px;
    height: 42px;
  }

  #why .why-visual {
    min-height: 300px;
  }

  #cases-container {
    grid-template-columns: 1fr !important;
  }

  #cases-more {
    position: static !important;
    display: inline-flex !important;
    margin-top: 18px;
  }

  .home-about {
    min-height: 0;
  }

  .home-about-inner {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 58px 0;
  }

  .home-about-rich-text {
    max-height: none !important;
    font-size: 0.92rem;
  }

  .home-stats-grid,
  .home-stats-grid[data-count="1"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-stat-card,
  .home-stat-card:nth-child(even),
  .home-stats-grid[data-count="1"] .home-stat-card,
  .home-stats-grid[data-count="2"] .home-stat-card:nth-child(2) {
    min-height: 140px;
    margin-top: 0;
    padding: 20px 16px;
  }

  .home-stats-grid[data-count="1"] .home-stat-card,
  .home-stats-grid[data-count="3"] .home-stat-card:nth-child(3),
  .home-stats-grid .home-stat-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 100%;
  }

  .home-stat-number .stat-num-value {
    font-size: 2.25rem;
  }

  .home-cta-section {
    padding: 58px 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #services-container .service-image-wrap:hover .service-row-img {
    animation: none;
    transform: none !important;
  }

  .why-static-item,
  .home-stat-card,
  .home-about-copy {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Homepage clean marine UI ===== */
#services,
#why {
  color: #183247;
  background: #f7f9fa !important;
}

#services {
  padding-top: clamp(72px, 8vw, 112px) !important;
  padding-bottom: clamp(84px, 10vw, 140px) !important;
}

#services .home-section-heading {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
}

#services-title,
#why-title {
  color: #152d3f !important;
  font-size: clamp(2rem, 3.4vw, 3.15rem) !important;
  font-weight: 500 !important;
  line-height: 1.16 !important;
  text-align: center !important;
}

#services-title .home-section-title-accent,
#why-title .home-section-title-accent,
#cases-title .home-section-title-accent {
  margin: 0;
  padding: 0;
  border: 0;
}

.home-section-intro {
  max-width: 640px;
  margin: 14px auto 0;
  color: #5d6f7b;
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: center;
}

#services-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(58px, 6vw, 90px) clamp(24px, 4.5vw, 70px);
  width: min(1160px, calc(100% - 48px));
  overflow: visible;
}

#services-container[data-count="1"] {
  grid-template-columns: minmax(0, 1fr);
  width: min(940px, calc(100% - 48px));
}

#services-container[data-count="2"] {
  padding-bottom: 16px;
}

.home-service-card {
  position: relative;
  min-width: 0;
  padding-bottom: clamp(82px, 8vw, 112px);
  opacity: 1;
}

#services-container[data-count="1"] .home-service-card {
  padding-bottom: 0;
}

#services-container[data-count="1"] .home-service-media {
  width: min(78%, 760px);
  aspect-ratio: 16 / 9;
}

#services-container[data-count="1"] .home-service-copy {
  position: absolute;
  right: 0;
  bottom: 9%;
  width: min(48%, 440px);
}

#services-container[data-count="2"] .home-service-card:nth-child(2) {
  margin-top: 42px;
}

#services-container[data-count="3"] .home-service-card:last-child:nth-child(odd),
#services-container .home-service-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: min(82%, 920px);
  margin: 4px auto 0;
}

#services-container .home-service-card:last-child:nth-child(odd) .home-service-media {
  width: 76%;
}

#services-container .home-service-card:last-child:nth-child(odd) .home-service-copy {
  right: 0;
  left: auto;
  width: min(48%, 430px);
}

.home-service-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  overflow: hidden;
  isolation: isolate;
  background: #dce7ec;
  clip-path: polygon(8% 0, 91% 0, 100% 20%, 91% 100%, 0 100%, 5% 68%, 0 32%);
}

.home-service-shape-2 .home-service-media {
  clip-path: polygon(3% 8%, 93% 8%, 100% 0, 94% 82%, 84% 100%, 0 100%, 7% 58%);
}

.home-service-shape-3 .home-service-media {
  clip-path: polygon(13% 0, 94% 0, 100% 12%, 91% 91%, 76% 100%, 7% 94%, 0 74%, 5% 28%);
}

.home-service-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 41, 62, 0.02), rgba(6, 41, 62, 0.16));
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.home-service-media-inner {
  position: absolute;
  inset: 0;
  display: block;
  transform: scale(1.015);
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.home-service-card:hover .home-service-media-inner,
.home-service-card:focus-within .home-service-media-inner {
  animation: homeServiceBreatheClean 3.4s ease-in-out infinite alternate;
}

.home-service-card:hover .home-service-media::after,
.home-service-card:focus-within .home-service-media::after {
  opacity: 0.45;
}

.home-service-image,
.home-service-fallback {
  width: 100%;
  height: 100%;
}

.home-service-image {
  display: block;
  object-fit: cover;
}

.home-service-fallback {
  display: grid;
  place-items: center;
  color: #2c728f;
  font-size: clamp(2.5rem, 6vw, 5rem);
  background: #dcebef;
}

.home-service-copy {
  position: absolute;
  z-index: 3;
  right: clamp(14px, 3vw, 40px);
  bottom: 0;
  width: min(78%, 420px);
  min-height: 220px;
  padding: clamp(24px, 3.2vw, 38px);
  border-top: 3px solid #139ec0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 45px rgba(21, 58, 78, 0.13);
}

.home-service-card:nth-child(even) .home-service-copy {
  right: auto;
  left: clamp(14px, 3vw, 40px);
}

.home-service-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  place-items: center;
  color: #137c9b;
  font-size: 1.1rem;
  border: 1px solid #a8c9d4;
}

.home-service-copy h3 {
  margin: 0 0 12px;
  color: #173044;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 550;
  line-height: 1.25;
}

.home-service-copy p {
  display: -webkit-box;
  margin: 0 0 20px;
  overflow: hidden;
  color: #566b78;
  font-size: 0.93rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -2px 0 13px;
}

.home-service-tags span {
  padding: 3px 8px;
  color: #3e6879;
  font-size: 0.72rem;
  line-height: 1.35;
  border: 1px solid #c9d9df;
  background: #f5fafb;
}

.home-service-link {
  display: inline-flex;
  min-height: 38px;
  padding: 0 13px;
  align-items: center;
  gap: 9px;
  color: #087d9f;
  font-size: 0.84rem;
  font-weight: 650;
  border: 1px solid #159abd;
  background: transparent;
}

.home-service-link:hover,
.home-service-link:focus-visible {
  color: #fff;
  background: #0d8eae;
  transform: translateY(-2px);
}

.home-service-link i {
  font-size: 0.74rem;
}

@keyframes homeServiceBreatheClean {
  0% { transform: scale(1.025); }
  100% { transform: scale(1.075); }
}

#why {
  padding: clamp(76px, 8vw, 112px) 0 !important;
}

.why-shell {
  display: block;
  width: min(1160px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto;
}

.why-content {
  display: block;
  padding: 0;
  color: #183247;
  background: transparent;
}

#why .section-eyebrow {
  margin-bottom: 10px;
  color: #26839f;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-align: center;
}

#why-title {
  margin-bottom: clamp(34px, 5vw, 56px);
}

.why-tabs-layout {
  min-width: 0;
}

.why-tabs-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid #cfdde2;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.why-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.why-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  min-width: max-content;
}

.why-tab {
  position: relative;
  display: flex;
  min-width: 150px;
  min-height: 94px;
  padding: 16px 14px 18px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #57707e;
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  background: transparent;
}

.why-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: #0f91b3;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.why-tab:hover,
.why-tab.active,
.why-tab:focus-visible {
  color: #126f8b;
}

.why-tab.active::after {
  transform: scaleX(1);
}

.why-tab-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: currentColor;
  font-size: 1.05rem;
}

.why-tab-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: sepia(1) saturate(2.6) hue-rotate(145deg) brightness(0.72);
}

.why-panels {
  min-height: 260px;
  padding: clamp(34px, 5vw, 64px);
  background: #fff;
}

.why-panel {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  max-width: 930px;
  margin: 0 auto;
  gap: 24px;
  animation: whyPanelEnter 0.38s ease both;
}

.why-panel[hidden] {
  display: none;
}

.why-panel-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #0e819f;
  font-size: 1.75rem;
  border: 1px solid #b8d2dc;
  background: #f4fafb;
}

.why-panel-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: sepia(1) saturate(2.6) hue-rotate(145deg) brightness(0.72);
}

.why-panel h3 {
  margin: 0 0 14px;
  color: #173044;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
}

.why-panel p {
  margin: 0;
  color: #586d79;
  font-size: 0.97rem;
  line-height: 1.85;
}

@keyframes whyPanelEnter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1023px) {
  #services-container {
    gap: 58px 24px;
    width: min(900px, calc(100% - 36px));
  }

  .home-service-card {
    padding-bottom: 96px;
  }

  .home-service-copy {
    width: calc(100% - 38px);
  }

  #services-container[data-count="1"] .home-service-media {
    width: 86%;
  }

  #services-container[data-count="1"] .home-service-copy {
    width: min(54%, 420px);
  }

  .why-tabs {
    display: flex;
  }
}

@media (max-width: 767px) {
  #services {
    padding-top: 60px !important;
    padding-bottom: 70px !important;
  }

  #services .home-section-heading,
  #services-title,
  #why-title,
  .home-section-intro,
  #why .section-eyebrow {
    text-align: left !important;
  }

  .home-section-intro {
    margin-left: 0;
  }

  #services-container,
  #services-container[data-count="1"] {
    grid-template-columns: 1fr;
    gap: 38px;
    width: calc(100% - 28px);
  }

  #services-container .home-service-card,
  #services-container[data-count="2"] .home-service-card:nth-child(2),
  #services-container .home-service-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    margin: 0;
    padding-bottom: 0;
  }

  #services-container .home-service-media,
  #services-container[data-count="1"] .home-service-media,
  #services-container .home-service-card:last-child:nth-child(odd) .home-service-media {
    width: 100%;
    aspect-ratio: 1.55 / 1;
  }

  .home-service-media,
  .home-service-shape-2 .home-service-media,
  .home-service-shape-3 .home-service-media {
    clip-path: polygon(7% 0, 94% 0, 100% 14%, 94% 92%, 84% 100%, 0 100%, 4% 68%, 0 28%);
  }

  #services-container .home-service-copy,
  #services-container[data-count="1"] .home-service-copy,
  #services-container .home-service-card:last-child:nth-child(odd) .home-service-copy,
  .home-service-card:nth-child(even) .home-service-copy {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 24px);
    min-height: 0;
    margin: -34px 0 0 auto;
    padding: 24px 20px 26px;
  }

  .home-service-copy p {
    -webkit-line-clamp: 5;
  }

  #why {
    padding: 62px 0 !important;
  }

  .why-shell {
    width: calc(100% - 28px);
  }

  #why-title {
    margin-bottom: 28px;
  }

  .why-tab {
    min-width: 132px;
    min-height: 80px;
    padding: 12px 10px 15px;
    flex-direction: column;
    gap: 6px;
    font-size: 0.76rem;
  }

  .why-panels {
    min-height: 0;
    padding: 28px 20px 32px;
  }

  .why-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .why-panel-icon {
    width: 52px;
    height: 52px;
  }

  .why-panel p {
    font-size: 0.92rem;
    line-height: 1.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-service-card,
  .home-service-card.home-item-visible,
  .home-service-media-inner,
  .why-panel {
    opacity: 1;
    transform: none;
    animation: none !important;
    transition: none !important;
  }
}

/* ===== Homepage refinement and type scale ===== */
#hero-title {
  font-size: var(--type-hero) !important;
}

#services-title,
#why-title,
#cases-title,
#home-about-title,
#home-cta-title {
  font-size: var(--type-h2) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.home-service-copy h3,
.why-tab,
.why-panel h3,
#cases-container h4 {
  font-size: var(--type-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.home-section-intro,
.home-service-copy p,
.why-panel p,
.home-about-description,
.home-about-rich-text,
.home-cta-section #home-cta-subtitle,
#cases-container p {
  font-size: var(--type-body);
  line-height: 1.75;
}

.home-service-tags,
.home-service-link,
#cases-more,
.section-eyebrow {
  font-size: var(--type-small);
}

#services,
#why,
#cases {
  background: #f7f9fa !important;
}

#services {
  padding-top: 72px !important;
  padding-bottom: 48px !important;
}

#why {
  padding-top: 48px !important;
  padding-bottom: 34px !important;
}

#cases {
  padding-top: 40px !important;
  padding-bottom: 56px !important;
}

#services .home-section-heading,
#cases > div:first-child > div {
  margin-bottom: 40px !important;
  text-align: center !important;
}

#services-title,
#why-title,
#cases-title {
  text-align: center !important;
}

.home-section-intro,
#why .home-section-intro {
  max-width: 760px;
  margin: 12px auto 0;
  color: #5c6f7c;
  text-align: center !important;
}

#services-container {
  gap: 48px 56px;
}

.home-service-card {
  --shape-skew: -5deg;
  --shape-counter-skew: 5deg;
  padding-bottom: 220px;
}

.home-service-card:nth-child(even) {
  --shape-skew: 5deg;
  --shape-counter-skew: -5deg;
}

.home-service-media,
.home-service-shape-2 .home-service-media,
.home-service-shape-3 .home-service-media {
  overflow: hidden;
  border-radius: 18px 34px 18px 30px;
  clip-path: none;
  transform: skewX(var(--shape-skew));
  box-shadow: 0 12px 34px rgba(21, 58, 78, 0.1);
}

.home-service-card:nth-child(even) .home-service-media {
  border-radius: 34px 18px 30px 18px;
}

.home-service-media-inner {
  inset: -4%;
  transform: skewX(var(--shape-counter-skew)) scale(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.home-service-card:hover .home-service-media-inner,
.home-service-card:focus-within .home-service-media-inner {
  animation: none;
  transform: skewX(var(--shape-counter-skew)) scale(1.1);
  filter: saturate(1.04) contrast(1.02);
}

.home-service-copy {
  top: 40%;
  bottom: auto;
  width: min(66%, 390px);
  min-height: 0;
  padding: 28px 30px 30px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(244, 248, 250, 0.98) 0%, rgba(255, 255, 255, 0.96) 58%, rgba(235, 243, 247, 0.96) 100%);
  box-shadow: 0 16px 38px rgba(21, 58, 78, 0.13);
}

.home-service-copy h3 {
  margin-bottom: 10px;
  color: #173044;
}

.home-service-copy p {
  margin-bottom: 18px;
  color: #566b78;
  -webkit-line-clamp: 3;
}

#services-container[data-count="1"] {
  width: min(1120px, calc(100% - 48px));
}

#services-container[data-count="1"] .home-service-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.72fr);
  gap: 38px;
  padding: 0;
  align-items: center;
}

#services-container[data-count="1"] .home-service-media {
  width: 100%;
  aspect-ratio: 16 / 9;
}

#services-container[data-count="1"] .home-service-copy {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  width: 100%;
}

#services-container .home-service-card:last-child:nth-child(odd) {
  width: min(78%, 880px);
  margin-top: 0;
}

#services-container .home-service-card:last-child:nth-child(odd) .home-service-media {
  width: 72%;
}

#services-container .home-service-card:last-child:nth-child(odd) .home-service-copy {
  width: min(48%, 390px);
}

#why-title {
  margin-bottom: 0;
}

#why .home-section-intro {
  margin-bottom: 34px;
}

.why-tabs {
  width: 100%;
  min-width: 0;
}

.why-tab {
  min-height: 84px;
  color: #173044;
  font-size: 1.05rem;
}

.why-tab:hover,
.why-tab.active,
.why-tab:focus-visible {
  color: #173044;
}

.why-tab-icon {
  color: #173044;
}

.why-panels {
  min-height: 190px;
  padding: 36px 0 0;
  background: transparent;
}

.why-panel {
  display: block;
  max-width: 960px;
}

.why-panel h3 {
  margin-bottom: 12px;
  color: #173044;
}

.why-panel p {
  color: #566b78;
}

.why-panel-icon {
  display: none;
}

.why-mobile-accordion {
  display: none;
}

#cases > div:first-child > div {
  position: relative;
}

#cases-more {
  top: 50% !important;
  transform: translateY(-50%);
}

.home-about-description {
  max-width: 650px;
  margin: -10px 0 24px;
  color: rgba(255, 255, 255, 0.8);
}

.home-cta-section {
  padding: 64px 0 !important;
}

.home-cta-section #home-cta-btn {
  min-height: 38px;
  padding: 0 13px !important;
  color: #087d9f !important;
  font-size: var(--type-small);
  font-weight: 650;
  border: 1px solid #159abd;
  border-radius: 4px !important;
  background: transparent !important;
}

.home-cta-section #home-cta-btn:hover,
.home-cta-section #home-cta-btn:focus-visible {
  color: #fff !important;
  background: #0d8eae !important;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  #services,
  #why,
  #cases {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  #services .home-section-heading,
  #cases > div:first-child > div {
    margin-bottom: 30px !important;
  }

  #services-title,
  #why-title,
  #cases-title,
  .home-section-intro,
  #why .home-section-intro {
    text-align: center !important;
  }

  #services-container {
    gap: 34px;
  }

  .home-service-card {
    padding-bottom: 0;
  }

  .home-service-media,
  .home-service-shape-2 .home-service-media,
  .home-service-shape-3 .home-service-media {
    border-radius: 12px 24px 12px 22px;
    clip-path: none;
  }

  #services-container .home-service-copy,
  #services-container[data-count="1"] .home-service-copy,
  #services-container .home-service-card:last-child:nth-child(odd) .home-service-copy,
  .home-service-card:nth-child(even) .home-service-copy {
    top: auto;
    width: calc(100% - 30px);
    margin-top: -26px;
    padding: 22px 20px 24px;
    border-radius: 8px;
  }

  #services-container[data-count="1"] .home-service-card {
    display: block;
  }

  #services-container[data-count="1"] .home-service-copy {
    margin-top: 18px;
  }

  .why-desktop-tabs {
    display: none;
  }

  .why-mobile-accordion {
    display: block;
    border-top: 1px solid #1e5874;
  }

  .why-accordion-item {
    border-bottom: 1px solid #1e5874;
  }

  .why-accordion-trigger {
    display: flex;
    width: 100%;
    min-height: 62px;
    padding: 14px 12px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #173f63;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
    background: transparent;
  }

  .why-accordion-trigger i {
    flex: 0 0 auto;
    transition: transform 0.25s ease;
  }

  .why-accordion-item.active .why-accordion-trigger i {
    transform: rotate(180deg);
  }

  .why-accordion-panel {
    padding: 0 12px 20px;
  }

  .why-accordion-panel[hidden] {
    display: none;
  }

  .why-accordion-panel p {
    margin: 0;
    color: #566b78;
    font-size: 0.92rem;
    line-height: 1.75;
  }

  #cases-more {
    position: static !important;
    margin-top: 14px;
    transform: none;
  }

  .home-about-description {
    margin-bottom: 20px;
  }
}

/* ===== 2026-06 homepage and case presentation refinements ===== */
#hero-title {
  font-size: clamp(2.35rem, 4vw, 3.55rem) !important;
}

#hero-desc {
  max-width: 650px;
  font-size: 1rem !important;
}

.hero-actions {
  display: flex;
  margin-top: 30px;
  gap: 12px;
  flex-wrap: wrap;
}

.site-cta {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #16a0c4;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.site-cta-primary {
  color: #fff;
  background: #0789ad;
}

.site-cta-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(10, 31, 61, 0.24);
}

.site-cta:hover,
.site-cta:focus-visible {
  color: #fff;
  border-color: #13a7cc;
  background: #087f9f;
  transform: translateY(-2px);
}

.page-hero-title,
#page-main > section.relative:first-child:not(#hero):not(.faq-page-simple) h1 {
  font-size: clamp(1.9rem, 3vw, 2.75rem) !important;
}

.page-hero-desc,
#page-main > section.relative:first-child:not(#hero):not(.faq-page-simple) p {
  max-width: 680px !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
}

#services-container {
  width: min(1110px, calc(100% - 48px));
  gap: 54px 44px;
}

.home-service-card {
  padding-bottom: 185px;
}

.home-service-media,
.home-service-shape-2 .home-service-media,
.home-service-shape-3 .home-service-media,
.home-service-card:nth-child(even) .home-service-media {
  aspect-ratio: 1.72 / 1;
  border-radius: 0;
  transform: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 70' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M14 1 Q9 1 7 6 L1 30 Q0 34 2 39 L10 64 Q11 69 17 69 H88 Q94 69 96 63 L99 10 Q100 5 94 3 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 70' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M14 1 Q9 1 7 6 L1 30 Q0 34 2 39 L10 64 Q11 69 17 69 H88 Q94 69 96 63 L99 10 Q100 5 94 3 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.home-service-media-inner {
  inset: 0;
  transform: scale(1.02);
  transition: transform 0.75s cubic-bezier(0.2, 0.65, 0.25, 1), filter 0.75s ease;
}

.home-service-card:hover .home-service-media-inner,
.home-service-card:focus-within .home-service-media-inner {
  transform: scale(1.09);
  filter: saturate(1.07) contrast(1.03);
}

.home-service-copy,
.home-service-card:nth-child(even) .home-service-copy {
  top: 48%;
  width: min(62%, 360px);
  padding: 25px 27px 27px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(233, 242, 247, 0.98) 0%, rgba(255, 255, 255, 0.98) 55%, rgba(216, 233, 241, 0.98) 100%);
  box-shadow: 0 15px 34px rgba(20, 56, 76, 0.14);
}

#services-container[data-count="1"] .home-service-card {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.65fr);
  gap: 46px;
}

#services-container[data-count="1"] .home-service-media {
  aspect-ratio: 1.78 / 1;
}

#services-container[data-count="1"] .home-service-copy {
  width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#services-container[data-count="1"] .home-service-icon {
  display: none;
}

#services-container .home-service-card:last-child:nth-child(odd) {
  width: min(82%, 900px);
}

#services-container .home-service-card:last-child:nth-child(odd) .home-service-media {
  width: 70%;
}

#services-container .home-service-card:last-child:nth-child(odd) .home-service-copy {
  width: min(43%, 360px);
}

#cases-container h4,
.case-list-card-title {
  font-size: 1.125rem !important;
  line-height: 1.38;
  text-align: left !important;
}

#cases-container p,
.case-list-card-description {
  font-size: 0.92rem !important;
  line-height: 1.7;
  text-align: left !important;
}

#cases-container .case-item-tag,
#cases-container .flex.flex-wrap {
  justify-content: flex-start !important;
  text-align: left !important;
}

.case-wide-shell {
  width: min(1540px, calc(100% - 56px));
  margin: 0 auto;
}

.case-filter-panel {
  margin-bottom: 34px;
}

.case-filter-linked {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid #ccd8e0;
  border-bottom: 1px solid #ccd8e0;
}

.case-filter-linked label {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) minmax(180px, 0.64fr);
  min-height: 78px;
  align-items: center;
  gap: 20px;
  padding: 0 26px;
}

.case-filter-linked label + label {
  border-left: 1px solid #ccd8e0;
}

.case-filter-linked label > span:first-child {
  color: #173044;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.case-filter-select-wrap {
  position: relative;
  display: block;
}

.case-filter-select-wrap select {
  width: 100%;
  min-height: 44px;
  padding: 0 42px 0 14px;
  color: #173044;
  border: 1px solid #b9cbd5;
  border-radius: 3px;
  outline: 0;
  background: #fff;
  appearance: none;
}

.case-filter-select-wrap select:focus {
  border-color: #0789ad;
  box-shadow: 0 0 0 2px rgba(7, 137, 173, 0.12);
}

.case-filter-select-wrap select:disabled {
  color: #84949d;
  background: #f2f5f6;
}

.case-filter-select-wrap i {
  position: absolute;
  top: 50%;
  right: 15px;
  color: #0a5875;
  pointer-events: none;
  transform: translateY(-50%);
}

.case-wide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.case-wide-grid .case-card {
  border-radius: 7px !important;
}

.case-wide-grid .case-card-media {
  aspect-ratio: 1.56 / 1;
}

.case-wide-grid .case-card > div:last-child {
  text-align: left;
}

.case-detail-breadcrumb {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 10px;
  color: #71818d;
  font-size: 0.84rem;
}

.case-detail-breadcrumb a {
  color: #0b7192;
}

.case-detail-breadcrumb a:hover {
  color: #075a75;
}

.case-detail-breadcrumb i {
  color: #a7b2b9;
  font-size: 0.7rem;
}

.site-footer .footer-brand img,
.site-footer img.footer-logo {
  filter: brightness(0) invert(1);
}

#home-cta-section,
#cta-section,
#case-article > section:has(#cta-title),
section:has(#support-title) {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
  text-align: center;
  background: #f5f7fa !important;
}

#home-cta-title,
#cta-title,
#support-title {
  color: #173044 !important;
  font-size: clamp(1.55rem, 2.4vw, 2rem) !important;
  line-height: 1.25;
}

#home-cta-subtitle,
#cta-subtitle,
#support-subtitle {
  color: #5c6f7c !important;
  font-size: 0.96rem !important;
  line-height: 1.7;
}

#home-cta-btn,
#cta-btn,
#cta-button,
#support-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #087d9f !important;
  border: 1px solid #159abd !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.88rem;
  font-weight: 650;
}

#home-cta-btn:hover,
#cta-btn:hover,
#cta-button:hover,
#support-cta:hover {
  color: #fff !important;
  background: #0d8eae !important;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .case-filter-linked {
    grid-template-columns: 1fr;
  }

  .case-filter-linked label + label {
    border-top: 1px solid #ccd8e0;
    border-left: 0;
  }

  .case-wide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #hero-title {
    font-size: clamp(2rem, 10vw, 2.7rem) !important;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .site-cta {
    min-height: 42px;
  }

  #services-container {
    width: min(100% - 32px, 560px);
  }

  .home-service-media,
  .home-service-shape-2 .home-service-media,
  .home-service-shape-3 .home-service-media {
    aspect-ratio: 1.55 / 1;
  }

  #services-container .home-service-copy,
  #services-container .home-service-card:last-child:nth-child(odd) .home-service-copy,
  .home-service-card:nth-child(even) .home-service-copy {
    width: calc(100% - 28px);
    padding: 22px 20px 24px;
  }

  #services-container[data-count="1"] .home-service-copy {
    width: 100%;
    margin-top: 22px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .case-wide-shell {
    width: min(100% - 32px, 620px);
  }

  .case-filter-linked label {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px 0;
    gap: 8px;
  }

  .case-wide-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== 2026-06 unified content alignment and service experience ===== */
:root {
  --site-align-width: 1280px;
}

.site-align-shell,
.case-wide-shell,
.news-reading-shell {
  width: min(var(--site-align-width), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.news-reading-shell {
  max-width: 960px;
}

@media (min-width: 768px) {
  .site-align-shell,
  .case-wide-shell,
  .news-reading-shell {
    box-sizing: border-box;
    padding-right: 32px;
    padding-left: 32px;
  }
}

.mobile-page-breadcrumb {
  width: min(var(--site-align-width), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

/* Homepage core services: two columns, staggered rows, three rounded pentagons. */
#services-container {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 52px;
  row-gap: 120px;
  align-items: start;
}

#services-container .home-service-card {
  width: 100%;
  min-height: 540px;
  margin: 0;
  padding: 0;
  transform: none;
}

#services-container .home-service-card:nth-child(even) {
  transform: translateY(76px);
}

#services-container .home-service-media,
#services-container .home-service-shape-2 .home-service-media,
#services-container .home-service-shape-3 .home-service-media {
  width: 100%;
  aspect-ratio: 1.72 / 1;
  box-shadow: none;
}

#services-container .home-service-shape-1 .home-service-media {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 66' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M14 1 Q9 1 7 6 L1 31 Q0 34 2 38 L10 61 Q12 65 17 65 H91 Q97 65 98 59 L100 9 Q100 3 94 2 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 66' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M14 1 Q9 1 7 6 L1 31 Q0 34 2 38 L10 61 Q12 65 17 65 H91 Q97 65 98 59 L100 9 Q100 3 94 2 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

#services-container .home-service-shape-2 .home-service-media {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 66' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M5 2 Q1 3 2 9 L7 57 Q8 64 15 65 H84 Q89 65 92 60 L99 35 Q100 31 98 27 L90 5 Q88 1 83 1 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 66' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M5 2 Q1 3 2 9 L7 57 Q8 64 15 65 H84 Q89 65 92 60 L99 35 Q100 31 98 27 L90 5 Q88 1 83 1 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

#services-container .home-service-shape-3 .home-service-media {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 66' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M15 1 L82 1 Q87 1 87.96 5.4 L98.04 51.6 Q99 56 92.68 56.72 L26.32 64.28 Q20 65 17.84 63.68 L4.16 55.32 Q2 54 2.64 49.76 L9.36 5.24 Q10 1 15 1 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 66' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M15 1 L82 1 Q87 1 87.96 5.4 L98.04 51.6 Q99 56 92.68 56.72 L26.32 64.28 Q20 65 17.84 63.68 L4.16 55.32 Q2 54 2.64 49.76 L9.36 5.24 Q10 1 15 1 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

#services-container .home-service-copy,
#services-container .home-service-card:nth-child(even) .home-service-copy {
  top: 42%;
  right: auto;
  left: 9%;
  width: 82%;
  max-width: none;
  padding: 28px 30px 30px;
}

#services-container .home-service-card:nth-child(even) .home-service-copy {
  right: 7%;
  left: auto;
}

#services-container .home-service-card:last-child:nth-child(odd),
#services-container[data-count="1"] .home-service-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 470px;
  grid-column: 1 / -1;
  transform: none;
}

#services-container .home-service-card:last-child:nth-child(odd) .home-service-media,
#services-container[data-count="1"] .home-service-media {
  width: 68%;
  aspect-ratio: 1.65 / 1;
}

#services-container .home-service-card:last-child:nth-child(odd) .home-service-copy,
#services-container[data-count="1"] .home-service-copy {
  position: absolute;
  top: 50%;
  right: 0;
  left: auto;
  width: 48%;
  margin: 0;
  padding: 34px 36px 36px;
  border-radius: 8px;
  background: linear-gradient(105deg, rgba(224, 234, 239, 0.99) 0%, rgba(249, 251, 252, 0.99) 46%, #fff 100%);
  box-shadow: 0 16px 38px rgba(21, 58, 78, 0.13);
  transform: translateY(-50%);
}

#services-container[data-count="1"] .home-service-icon {
  display: inline-flex;
}

/* Services page tabs and detail content. */
.services-page-hero {
  height: 360px !important;
}

.services-hero-copy {
  max-width: 680px;
}

.service-tabs-shell {
  position: sticky;
  z-index: 20;
  top: 84px;
  border-bottom: 1px solid #d7e0e5;
  background: rgba(255, 255, 255, 0.97);
}

.service-tabs-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-tab-btn {
  position: relative;
  min-height: 64px;
  padding: 0 22px;
  color: #345064;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.service-tab-btn::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  background: transparent;
  content: "";
}

.service-tab-btn:hover,
.service-tab-btn.active {
  color: #087d9f;
}

.service-tab-btn.active::after {
  background: #18a9d5;
}

.service-overview {
  padding: 30px 0 24px;
  background: #fff;
}

.service-overview p {
  max-width: 1020px;
  margin: 0;
  color: #526b7a;
  font-size: 0.95rem;
  line-height: 1.8;
}

.service-tab-content {
  padding: 18px 0 72px !important;
  background: #fff;
}

.service-tab-panel {
  display: contents;
}

.service-tab-panel[hidden] {
  display: none !important;
}

#page-main > .service-overview {
  padding-top: 30px !important;
  padding-bottom: 24px !important;
}

.service-items-stack {
  display: grid;
  gap: 6px;
  padding: 28px 30px;
  background: #f5f7f8;
}

.service-item-row {
  display: grid;
  min-height: 350px;
  padding: 28px 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 54px;
}

.service-item-row.is-reversed .service-item-copy {
  order: 2;
}

.service-item-row.is-reversed .service-item-images {
  order: 1;
}

.service-item-copy h3 {
  margin: 0 0 8px;
  color: #173044;
  font-size: 1.55rem;
  line-height: 1.3;
}

.service-item-copy > p {
  margin: 12px 0 22px;
  color: #526b7a;
  line-height: 1.75;
}

.service-item-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-item-images.image-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-item-images .service-detail-img {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  animation: none;
}

.service-item-images .service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-switcher-section {
  padding: 64px 0 46px;
  background: #f4f6f7;
}

.service-switcher-heading {
  margin-bottom: 34px;
  text-align: center;
}

.service-switcher-heading h2 {
  margin: 0 0 10px;
  color: #173044;
  font-size: 1.8rem;
}

.service-switcher-heading p {
  margin: 0;
  color: #607582;
}

.service-switcher-grid {
  display: grid;
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.service-switch-card {
  display: flex;
  min-height: 290px;
  padding: 30px;
  flex-direction: column;
  align-items: flex-start;
  color: #526b7a;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(22, 48, 65, 0.08);
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-switch-card:hover,
.service-switch-card:focus-visible {
  border-color: #18a9d5;
  box-shadow: 0 10px 24px rgba(20, 84, 112, 0.1);
  transform: translateY(-3px);
}

.service-switch-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  color: #087d9f;
  border-radius: 5px;
  background: #e8f2f6;
}

.service-switch-card strong {
  margin-bottom: 5px;
  color: #173044;
  font-size: 1.25rem;
}

.service-switch-card > span:not(.service-switch-icon) {
  margin-bottom: 14px;
  color: #087d9f;
  font-size: 0.86rem;
  font-weight: 600;
}

.service-switch-card p {
  margin: 0;
  line-height: 1.75;
}

.service-contact-row {
  margin-top: 28px;
  text-align: center;
}

/* Case filter and detail corrections. */
.case-wide-shell {
  width: min(var(--site-align-width), calc(100% - 48px));
}

.case-filter-linked label {
  display: block;
  min-height: 70px;
  padding: 13px 24px;
}

.case-filter-linked label > .case-filter-select-wrap {
  width: 100%;
}

.case-detail-breadcrumb,
.content-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #71818d;
  font-size: 0.84rem;
}

.content-breadcrumb a,
.case-detail-breadcrumb a {
  color: #0b7192;
}

#case-article #specs-title,
#case-article #section-01-title,
#case-article #section-02-title,
#case-article #section-03-title {
  margin: 0 !important;
  padding-top: 0 !important;
  font-size: 1.35rem !important;
  line-height: 1.4;
}

#case-article section .flex.items-start {
  align-items: center;
}

#case-article #section-01-content,
#case-article #section-02-content,
#case-article #section-03-content {
  padding-left: 56px;
}

/* News detail formatting. */
.news-detail-header {
  padding: 112px 0 30px;
}

.news-detail-header .content-breadcrumb {
  margin-bottom: 28px;
}

.news-detail-title {
  max-width: 960px;
  margin: 0 0 18px;
  color: #173044;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.25;
}

.article-hero-img {
  aspect-ratio: 16 / 8.5;
}

.article-body {
  color: #405967;
  font-size: 1rem;
  line-height: 1.9;
}

.article-body > * {
  max-width: 100%;
}

.article-body p {
  margin: 0 0 1.35em;
}

.article-body h2 {
  margin: 2em 0 0.75em;
  color: #173044;
  font-size: 1.55rem;
}

.article-body h3 {
  margin: 1.6em 0 0.65em;
  color: #173044;
  font-size: 1.25rem;
}

.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 28px auto;
  border-radius: 6px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.35em;
  padding-left: 1.5em;
}

#page-main > section:has(#related-articles) {
  color: #173044 !important;
  background: #f4f6f7 !important;
}

#related-articles h3,
#related-articles h4,
#related-articles span {
  color: #173044;
}

#related-articles img {
  background: #e7edf0;
}

/* About tabs share the service tab language and position. */
#about-content {
  padding-top: 0 !important;
}

#about-tabs.about-tabs-bar {
  display: grid;
  position: sticky;
  z-index: 15;
  top: 84px;
  margin-right: calc((100vw - min(var(--site-align-width), calc(100vw - 48px))) / -2);
  margin-bottom: 44px;
  margin-left: calc((100vw - min(var(--site-align-width), calc(100vw - 48px))) / -2);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid #d7e0e5;
  background: rgba(255, 255, 255, 0.97);
}

#about-tabs .about-tab-btn {
  min-width: 0;
  height: 64px;
  color: #345064;
  background: transparent;
  font-size: 0.95rem;
}

#about-tabs .about-tab-btn.active {
  color: #087d9f;
}

#about-tabs .about-tab-btn.active::after {
  right: 18px;
  left: 18px;
  height: 3px;
  background: #18a9d5;
}

@media (max-width: 900px) {
  #services-container {
    grid-template-columns: 1fr;
    row-gap: 54px;
  }

  #services-container .home-service-card:nth-child(even) {
    transform: none;
  }

  #services-container .home-service-card:last-child:nth-child(odd),
  #services-container[data-count="1"] .home-service-card {
    grid-column: auto;
  }

  .service-item-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-item-row.is-reversed .service-item-copy,
  .service-item-row.is-reversed .service-item-images {
    order: initial;
  }
}

@media (max-width: 767px) {
  .site-align-shell,
  .case-wide-shell,
  .news-reading-shell,
  .mobile-page-breadcrumb {
    width: min(100% - 32px, var(--site-align-width));
  }

  #services-container {
    width: min(100% - 32px, 560px);
  }

  #services-container .home-service-card {
    min-height: 0;
  }

  #services-container .home-service-card:last-child:nth-child(odd) .home-service-media,
  #services-container[data-count="1"] .home-service-media {
    width: 100%;
  }

  #services-container .home-service-card:last-child:nth-child(odd) .home-service-copy,
  #services-container[data-count="1"] .home-service-copy {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 28px);
    margin: -28px auto 0;
    padding: 22px 20px 24px;
    transform: none;
  }

  .services-page-hero {
    display: flex !important;
    height: 310px !important;
  }

  .service-tabs-shell,
  #about-tabs.about-tabs-bar {
    position: static;
  }

  .service-tabs-list,
  #about-tabs.about-tabs-bar {
    display: flex !important;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    grid-template-columns: none;
    border-bottom: 1px solid #d7e0e5 !important;
  }

  .service-tab-btn,
  #about-tabs .about-tab-btn {
    width: auto !important;
    min-width: 190px;
    min-height: 58px;
    padding: 0 18px !important;
    color: #345064 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .service-tab-btn.active,
  #about-tabs .about-tab-btn.active {
    color: #087d9f !important;
    transform: none;
  }

  .service-overview {
    padding: 24px 0 16px;
  }

  .service-overview p,
  .service-item-copy,
  .service-item-copy p {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .service-items-stack {
    padding: 18px 16px;
  }

  .service-item-row {
    padding: 20px 0;
  }

  .service-item-images.image-count-2 {
    grid-template-columns: 1fr;
  }

  .service-switcher-grid {
    grid-template-columns: 1fr;
  }

  .service-switch-card {
    min-height: 0;
    padding: 24px;
  }

  .case-filter-linked label {
    padding: 12px 0;
  }

  #case-article #section-01-content,
  #case-article #section-02-content,
  #case-article #section-03-content {
    padding-left: 0;
  }

  .news-detail-header {
    padding-top: 96px;
  }

  .news-detail-title {
    font-size: 1.85rem;
  }
}

/* ===== 2026-06-13 shared hero, breadcrumb and content polish ===== */
.services-page-hero > .absolute.inset-0 {
  background: linear-gradient(90deg, rgba(10, 31, 61, 0.90) 0%, rgba(10, 31, 61, 0.75) 50%, rgba(10, 31, 61, 0.60) 100%) !important;
}

.mobile-page-breadcrumb {
  box-sizing: border-box;
  width: min(var(--site-align-width), calc(100% - 48px));
  min-height: 52px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 32px;
  background: transparent;
  border: 0;
}

.hero-overlay-breadcrumb {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(var(--site-align-width), calc(100% - 48px));
  margin: 0 auto;
  padding-right: 32px;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent !important;
  border: 0 !important;
}

.hero-overlay-breadcrumb .mobile-page-breadcrumb-label,
.hero-overlay-breadcrumb a,
.hero-overlay-breadcrumb .mobile-page-breadcrumb-current {
  color: #fff;
}

.hero-overlay-breadcrumb .mobile-page-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.72);
}

.service-tabs-list,
#about-tabs.about-tabs-bar {
  display: flex;
  justify-content: flex-start;
  grid-template-columns: none;
}

.service-tab-btn,
#about-tabs .about-tab-btn {
  width: auto;
  min-width: 168px;
  padding: 0 34px;
}

#about-tabs.about-tabs-bar {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  padding-left: 0;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.service-tab-content {
  padding-bottom: 24px !important;
}

.service-switcher-section {
  padding-top: 36px;
}

.service-switcher-heading {
  margin-bottom: 28px;
}

.service-switcher-heading h2 {
  color: #173044;
  font-size: var(--type-h2);
  font-weight: 600;
  line-height: 1.3;
}

.service-switcher-heading p {
  color: #5c6f7c;
  font-size: var(--type-body);
  line-height: 1.75;
}

.home-service-tags span,
.case-item-tag,
.detail-tag {
  display: inline-flex;
  min-height: 24px;
  padding: 2px 9px;
  align-items: center;
  color: #3b697d;
  background: #f5fafc;
  border: 1px solid #c9dce5;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.case-list-card-title,
#cases-container .case-list-card-title,
.case-wide-grid .case-list-card-title {
  font-weight: 400 !important;
}

.mobile-nav-dropdown-toggle > i {
  transition: transform 0.2s ease;
}

.mobile-nav-dropdown-toggle.open > i {
  transform: rotate(180deg);
}

.service-mobile-accordion,
.about-mobile-accordion {
  display: none;
}


@media (max-width: 767px) {
  #main-nav {
    background: #fff !important;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.12);
  }

  #main-nav .site-logo-img,
  #main-nav:not(.nav-scrolled) .site-logo-img,
  #main-nav.nav-scrolled .site-logo-img {
    filter: none !important;
  }

  #main-nav #nav-logo-icon.has-uploaded-logo {
    background: transparent !important;
    border-color: transparent !important;
  }

  #page-main > #hero:not(.services-page-hero) {
    min-height: 620px !important;
    height: min(720px, calc(100svh - 84px)) !important;
    padding-top: 84px !important;
    padding-bottom: 180px !important;
  }

  #hero.services-page-hero,
  #page-main > section#contact-page-hero.page-hero:first-child:not(#hero) {
    height: 260px !important;
    min-height: 260px !important;
  }

  #services-container .home-service-copy,
  #services-container[data-count="1"] .home-service-copy,
  #services-container .home-service-card:last-child:nth-child(odd) .home-service-copy,
  #services-container .home-service-card:nth-child(even) .home-service-copy {
    right: auto;
    left: auto;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .home-service-icon,
  .home-service-tags,
  .home-service-link {
    justify-content: center;
  }

  .footer-main {
    display: flex !important;
    flex-direction: column;
    gap: 24px !important;
  }

  .footer-contact-col {
    order: 1 !important;
    margin-bottom: 0 !important;
  }

  .footer-link-groups {
    order: 2;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 20px !important;
    width: 100%;
  }

  .footer-fixed-links {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100%;
  }

  .footer-brand {
    order: 3;
    width: 100%;
  }

  .footer-records {
    width: 100%;
    margin-top: 24px;
  }

  .service-tabs-list {
    display: none !important;
  }

  .service-mobile-accordion,
  .about-mobile-accordion {
    display: block;
    width: 100%;
    border-top: 1px solid #d7e0e5;
    background: #fff;
  }

  .service-accordion-item,
  .about-accordion-item {
    border-bottom: 1px solid #d7e0e5;
  }

  .service-accordion-trigger,
  .about-accordion-trigger {
    display: flex;
    width: 100%;
    min-height: 58px;
    padding: 14px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #173f63;
    background: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
  }

  .service-accordion-trigger i,
  .about-accordion-trigger i {
    flex: 0 0 auto;
    transition: transform 0.25s ease;
  }

  .service-accordion-item.active .service-accordion-trigger i,
  .about-accordion-item.active .about-accordion-trigger i {
    transform: rotate(180deg);
  }

  .service-accordion-panel,
  .about-accordion-panel {
    padding: 0 16px 22px;
  }

  .service-accordion-panel[hidden],
  .about-accordion-panel[hidden] {
    display: none;
  }

  .service-accordion-overview {
    margin: 0 0 20px;
    color: #566b78;
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .service-accordion-panel .service-item-row {
    padding: 24px 0;
  }

  #service-overview,
  #service-content {
    display: none !important;
  }

  #about-tabs.about-tabs-bar {
    display: none !important;
  }

  #about-panes > .about-pane {
    display: none !important;
  }

  .about-accordion-panel .about-rich-text {
    margin-bottom: 16px;
  }

  .about-accordion-image,
  .about-accordion-images img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .about-accordion-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

body:has(.news-detail-header),
body:has(.news-detail-header) #page-main,
.news-detail-header,
#page-main > section:has(#article-cover),
#page-main > article:has(#article-content),
#page-main > section:has(#related-articles) {
  background: #f5f7fa !important;
}

.news-reading-shell {
  width: min(var(--site-align-width), calc(100% - 48px));
  max-width: none;
}

.article-hero-img {
  aspect-ratio: 3 / 1;
  border-radius: 6px;
}

.article-body {
  color: #526b7a;
  font-size: var(--type-body);
  line-height: 1.8;
}

/* ===== 2026-06-14 detail-page spacing and interaction corrections ===== */
.is-inner-page #page-main > section:not(#hero):not(.page-hero):not(.faq-page-simple):not(#why):not(.home-about) {
  padding-top: 64px;
  padding-bottom: 64px;
}

#case-list-content {
  padding-top: 24px !important;
  padding-bottom: 64px !important;
}

.case-detail-header-section {
  padding-top: 94px !important;
  padding-bottom: 12px !important;
}

.case-detail-cover-section {
  padding-top: 0 !important;
  padding-bottom: 36px !important;
}

.case-related-heading {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.case-related-heading #news-title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35;
}

.case-related-heading .fa-newspaper {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
}

body.news-detail-page,
body.news-detail-page #page-main,
body.news-detail-page #page-main > header.news-detail-header,
body.news-detail-page #page-main > #article-cover-section,
body.news-detail-page #page-main > article,
body.news-detail-page #page-main > section:has(#related-articles) {
  background: #f5f7fa !important;
}

.news-detail-page .news-detail-header {
  padding-top: 96px !important;
  padding-bottom: 8px !important;
}

.news-detail-header .content-breadcrumb {
  margin-bottom: 20px;
}

#article-meta {
  margin-bottom: 0 !important;
}

body.news-detail-page #page-main > #article-cover-section {
  padding-top: 0 !important;
  padding-bottom: 32px !important;
}

#article-cover-section .article-hero-img {
  margin-top: 0 !important;
}

#home-cta-section #home-cta-btn {
  min-height: 42px;
  padding: 0 16px !important;
  color: #087d9f !important;
  border: 1px solid #159abd !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.88rem;
  font-weight: 650;
}

#home-cta-section #home-cta-btn:hover,
#home-cta-section #home-cta-btn:focus-visible {
  color: #fff !important;
  border-color: #0d8eae !important;
  background: #0d8eae !important;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .mobile-page-breadcrumb,
  .hero-overlay-breadcrumb {
    width: calc(100% - 32px);
    min-height: 44px;
    padding: 0;
    font-size: 0.78rem;
  }

  .mobile-page-breadcrumb-label {
    display: none;
  }

  .services-page-hero > .absolute.inset-0 {
    background: linear-gradient(90deg, rgba(10, 31, 61, 0.90) 0%, rgba(10, 31, 61, 0.75) 50%, rgba(10, 31, 61, 0.60) 100%) !important;
  }

  .is-inner-page #page-main > section:not(#hero):not(.page-hero):not(.faq-page-simple):not(#why):not(.home-about) {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .case-detail-header-section {
    padding-top: 92px !important;
  }

  .news-detail-page .news-detail-header {
    padding-top: 92px !important;
  }

  .service-tab-btn,
  #about-tabs .about-tab-btn {
    min-width: 156px;
    padding: 0 20px !important;
  }

  #about-tabs.about-tabs-bar {
    padding-left: 0;
  }

  .service-tab-content {
    padding-bottom: 14px !important;
  }

  .service-switcher-section {
    padding-top: 28px;
  }

  .news-reading-shell {
    width: calc(100% - 32px);
    padding-right: 0;
    padding-left: 0;
  }

  .article-hero-img {
    aspect-ratio: 16 / 9;
  }
}

/* ===== 按 IP 预设语言：窄屏常驻语言切换条 ===== */
:root {
  --nav-h: 84px;
}

.lang-compact-bar {
  display: none;
}

@media (max-width: 1023px) {
  :root {
    /* 主行 84px + 常驻条 40px；桌面端不受影响 */
    --nav-h: 124px;
  }

  #main-nav {
    height: var(--nav-h) !important;
  }

  /* 主行与 logo 尺寸保持不变 */
  #main-nav > div:first-child > div {
    height: 84px !important;
  }

  #main-nav .lang-compact-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
    height: 40px;
    padding: 0 20px;
  }

  .lang-compact-inner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border: 1px solid rgba(10, 25, 47, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 8px rgba(7, 26, 51, 0.12);
  }

  .lang-compact-inner > span {
    color: rgba(10, 25, 47, 0.3);
    font-size: 12px;
  }

  #main-nav .lang-compact-bar .lang-btn {
    min-width: 32px;
    min-height: 28px;
    padding: 2px 6px;
    border: 0 !important;
    border-radius: 999px;
    background: transparent !important;
    /* 旧样式有多条 .lang-btn.active { color:#fff !important }，这里必须显式覆盖，
       否则白底药丸上的激活项文字会变成白色不可见 */
    color: #0a192f !important;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
  }

  #main-nav .lang-compact-bar .lang-btn.active {
    background-color: #0c4da2 !important;
    color: #ffffff !important;
    font-weight: 600;
  }

  /* 菜单与内页 hero 随导航总高下移，避免被常驻条遮挡 */
  #main-nav #mobile-menu {
    top: var(--nav-h) !important;
  }

  .mobile-menu.open {
    max-height: min(600px, calc(100vh - var(--nav-h))) !important;
  }

  #mobile-menu.open {
    max-height: calc(100svh - var(--nav-h)) !important;
  }

  .page-hero,
  #page-main > section:first-child:not(#hero):not(.faq-page-simple),
  #page-main > section.service-detail-hero,
  #page-main > section.case-hero {
    margin-top: var(--nav-h) !important;
  }

  #page-main > #hero:not(.services-page-hero) {
    padding-top: var(--nav-h) !important;
  }
}

@media (max-width: 767px) {
  #main-nav .lang-compact-bar {
    padding-right: calc(16px + env(safe-area-inset-right, 0px));
    padding-left: calc(16px + env(safe-area-inset-left, 0px));
  }
}

/* ===== 案例类型树：左侧单层树 + 右侧卡片，窄屏折叠面板 ===== */
/* 只在案例列表页加宽外壳；--site-align-width 由 .case-wide-shell 自身读取，
   用后代覆盖变量而非改 :root，避免影响其它页面。 */
#case-list-content .case-type-shell {
  --site-align-width: 1440px;
}

#case-list-content .case-browser-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

/* 类型面板：去掉边框与卡片感，用「上深下浅」的渐变与页面底色（#f5f5f5）自然过渡。 */
#case-list-content .case-type-panel {
  min-width: 0;
  position: sticky;
  top: calc(var(--nav-h, 84px) + 12px);
  padding: 6px 0;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #e4ebf4 0%, #edf1f6 34%, #f3f4f6 70%, var(--site-page-bg) 100%);
}

#case-list-content .case-type-panel .case-filter-tree h2,
/* 复用既有 .case-tree-* 视觉，但改成单层按钮：透明底，让面板渐变透出。 */
#case-list-content .case-filter-tree .case-tree-all,
#case-list-content .case-filter-tree .case-tree-child {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--site-heading);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  appearance: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

#case-list-content .case-filter-tree .case-tree-child {
  padding-left: 28px;
  background: transparent;
}

/* 子节点前的 L 形连接线，让单层列表仍呈现树形层次。 */
#case-list-content .case-filter-tree .case-tree-child span::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-left: 1px solid rgba(57, 93, 167, .28);
  border-bottom: 1px solid rgba(57, 93, 167, .28);
  vertical-align: 1px;
}

#case-list-content .case-filter-tree .case-tree-all:hover,
#case-list-content .case-filter-tree .case-tree-child:hover {
  color: var(--site-accent);
  background: rgba(57, 93, 167, .1);
}

#case-list-content .case-filter-tree .case-tree-all.active,
#case-list-content .case-filter-tree .case-tree-child.active {
  color: #fff;
  background: var(--site-accent);
}

#case-list-content .case-filter-tree .case-tree-child.active span::before {
  border-color: rgba(255, 255, 255, .75);
}

/* ---- 二级树：一级分组可展开，子类型缩进 ---- */
#case-list-content .case-filter-tree .case-tree-parent,
#case-list-content .case-filter-tree .case-tree-leaf {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--site-heading);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  appearance: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

#case-list-content .case-filter-tree .case-tree-parent {
  justify-content: space-between;
  gap: 10px;
}

/* 一级叶子（仿真 / 节能等无分组的类型）保持常规字重，与旧版单层列表一致。 */
#case-list-content .case-filter-tree .case-tree-leaf {
  font-weight: 400;
}

#case-list-content .case-filter-tree .case-tree-parent i {
  flex-shrink: 0;
  font-size: 11px;
  color: #8a97a5;
  transition: transform .2s ease;
}

#case-list-content .case-filter-tree .case-tree-group.open > .case-tree-parent i {
  transform: rotate(180deg);
}

#case-list-content .case-filter-tree .case-tree-children {
  display: none;
  background: transparent;
}

#case-list-content .case-filter-tree .case-tree-group.open > .case-tree-children {
  display: block;
}

#case-list-content .case-filter-tree .case-tree-child {
  padding-left: 34px;
  font-weight: 400;
  background: transparent;
}

/* 含被选中子项的分组：淡蓝底提示，不用整条高亮，避免与选中项抢视觉。 */
#case-list-content .case-filter-tree .case-tree-parent.has-active {
  color: var(--site-accent);
  background: rgba(57, 93, 167, .08);
}

#case-list-content .case-filter-tree .case-tree-parent:hover,
#case-list-content .case-filter-tree .case-tree-leaf:hover {
  color: var(--site-accent);
  background: rgba(57, 93, 167, .1);
}

#case-list-content .case-filter-tree .case-tree-leaf.active {
  color: #fff;
  background: var(--site-accent);
}

/* 分组过高时面板内部滚动，避免 sticky 面板超出视口被截断。 */
#case-list-content .case-type-panel {
  max-height: calc(100vh - var(--nav-h, 84px) - 24px);
  overflow-y: auto;
}

/* 窄屏折叠入口：桌面隐藏，面板放文档流内，不与固定导航 / 语言条抢层级。 */
.case-type-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--site-border);
  border-radius: 4px;
  background: #fff;
  color: var(--site-heading);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.case-type-toggle i {
  transition: transform .2s ease;
}

.case-type-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* 901–1023px：窄屏常驻语言条已生效，树收窄、卡片降 2 列。 */
@media (min-width: 901px) and (max-width: 1023px) {
  #case-list-content .case-browser-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
  }

  #case-list-content .case-wide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  #case-list-content .case-type-toggle {
    display: flex;
  }

  #case-list-content .case-browser-layout {
    display: block;
  }

  #case-list-content .case-type-panel {
    display: none;
    position: static;
    margin-bottom: 20px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(180deg, #e4ebf4 0%, #edf1f6 34%, #f3f4f6 70%, var(--site-page-bg) 100%);
    /* 移动端面板在文档流内，取消桌面端的内部滚动，展示完整两级树。 */
    max-height: none;
    overflow: visible;
  }

  #case-list-content .case-type-panel.open {
    display: block;
  }

  /* 覆盖旧 @media(max-width:900px) 里 .case-filter-tree{display:none}，
     折叠面板内仍要展示真正的树，而不是旧版 select。 */
  #case-list-content .case-type-panel .case-filter-tree {
    display: block;
  }

  /* 移动端缩进收敛，避免窄屏子项文字被推得太靠右。 */
  #case-list-content .case-filter-tree .case-tree-child {
    padding-left: 26px;
  }

  #case-list-content .case-type-panel .case-tree-mobile {
    display: none;
  }
}

/* ============================================================
   内页 hero 统一规范（除首页外的所有导航页顶部大宽图）
   对齐参考站 zjxinhai 顶部 banner：高度 400px、左对齐白色标题(~34px)、
   白色描述(~18px)、深色遮罩、标题/描述「从右淡入」(fadeFromRight) 动效。
   覆盖三种历史变体：.page-hero（about/contact/news）、
   #hero.services-page-hero（services）、
   service-*/case-* 的 Tailwind 内联 hero。
   ============================================================ */
.inner-page-hero {
  position: relative;
  height: 400px !important;
  min-height: 400px !important;
  margin-top: 84px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  color: #fff !important;
}

.inner-page-hero > img,
.inner-page-hero .page-hero-image,
.inner-page-hero img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* 统一遮罩：左深右浅的海军蓝渐变，保证左对齐白色文字可读。
   注意：只匹配真正的遮罩层（.page-hero-overlay 或带 bg-gradient-to-* 的层），
   不要匹配图片容器 .absolute.inset-0，否则会盖住 overlay 本身。 */
.inner-page-hero .page-hero-overlay,
.inner-page-hero [class*="bg-gradient-to"] {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(90deg, rgba(7, 26, 51, 0.85), rgba(7, 26, 51, 0.42)) !important;
  pointer-events: none !important;
}

/* 内容容器：充满 hero，垂直居中（中间位置），水平与面包屑同一左边界
   （1280px 居中容器再内缩 24px，与 .page-hero-breadcrumb 的 left 完全一致）。 */
.inner-page-hero .page-hero-content,
.inner-page-hero .inner-hero-content,
.inner-page-hero .services-hero-copy,
.inner-page-hero .relative.z-10,
.inner-page-hero .site-align-shell {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  box-sizing: border-box !important;
}

/* 标题 */
.inner-page-hero h1,
.inner-page-hero .page-hero-title,
.inner-page-hero #hero-title {
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: clamp(1.75rem, 3.4vw, 2.125rem) !important; /* 最大 34px，对齐参考站 */
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
  opacity: 1;
  animation: heroFadeRight 0.9s ease both;
}

/* 描述 */
.inner-page-hero p,
.inner-page-hero .page-hero-desc,
.inner-page-hero #hero-subtitle {
  margin: 0 !important;
  max-width: 720px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(1rem, 1.3vw, 1.125rem) !important; /* 最大 18px，对齐参考站 */
  line-height: 1.7 !important;
  text-align: left !important;
  opacity: 1;
  animation: heroFadeRight 0.9s ease 0.15s both;
}

@keyframes heroFadeRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .inner-page-hero h1,
  .inner-page-hero .page-hero-title,
  .inner-page-hero #hero-title,
  .inner-page-hero p,
  .inner-page-hero .page-hero-desc,
  .inner-page-hero #hero-subtitle {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* 移动端：高度与字号收敛，避免标题被裁切 */
@media (max-width: 767px) {
  #page-main > section:first-child:not(#hero):not(.page-hero):not(.faq-page-simple),
  #hero.services-page-hero,
  .inner-page-hero {
    height: 260px !important;
    min-height: 260px !important;
  }
  .inner-page-hero h1,
  .inner-page-hero .page-hero-title,
  .inner-page-hero #hero-title {
    font-size: 1.6rem !important;
  }
  .inner-page-hero p,
  .inner-page-hero .page-hero-desc,
  .inner-page-hero #hero-subtitle {
    font-size: 0.95rem !important;
  }
}

/* ============================================================
   services 页 hero 强覆盖：压过 #hero.services-page-hero 专属规则，
   对齐参考站 zjxinhai（左对齐、贴左约 100px、垂直偏上、34/18px）。
   利用 services 已加的 inner-page-hero 类把特异性提升到 (1,2,0)。
   ============================================================ */
#hero.services-page-hero.inner-page-hero {
  height: 400px !important;
  min-height: 400px !important;
  /* 与案例页/新闻页对齐：hero 从页面顶端铺开，固定导航浮于其上。
     原 84px 会把整张图推到导航下方，视觉上比案例/新闻页矮一截。 */
  margin-top: 0 !important;
  align-items: center !important;
}

#hero.services-page-hero.inner-page-hero > .relative.z-10,
#hero.services-page-hero.inner-page-hero .site-align-shell {
  position: absolute !important;
  inset: 0 !important;
  text-align: left !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

#hero.services-page-hero.inner-page-hero .services-hero-copy {
  align-items: flex-start !important;
}

#hero.services-page-hero.inner-page-hero h1 {
  margin: 0 0 14px !important;
  font-size: clamp(1.75rem, 3.4vw, 2.125rem) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
  opacity: 1;
  animation: heroFadeRight 0.9s ease both;
}

#hero.services-page-hero.inner-page-hero p {
  margin: 0 !important;
  max-width: 720px !important;
  font-size: clamp(1rem, 1.3vw, 1.125rem) !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  opacity: 1;
  animation: heroFadeRight 0.9s ease 0.15s both;
}

@media (max-width: 767px) {
  #hero.services-page-hero.inner-page-hero {
    height: 260px !important;
    min-height: 260px !important;
  }
  #hero.services-page-hero.inner-page-hero > .relative.z-10,
  #hero.services-page-hero.inner-page-hero .site-align-shell {
    padding: 92px clamp(20px, 6vw, 40px) 24px !important;
  }
  .inner-page-hero .page-hero-content,
  .inner-page-hero .relative.z-10,
  .inner-page-hero .site-align-shell {
    padding-top: 92px !important;
  }
}

/* ===== 案例详情主图：完整显示，不裁切 ===== */
.case-main-frame {
  position: relative;
  height: clamp(220px, 46vw, 620px);
  background: linear-gradient(180deg, #eef3f9 0%, #e6edf6 100%);
}

.case-main-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.86) 100%);
  pointer-events: none;
}

.case-main-frame .case-main-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(54px) saturate(1.12) brightness(1.04);
  transform: scale(1.32) !important;
  opacity: 0.55;
  pointer-events: none;
}

.case-main-frame .case-image-placeholder {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.case-main-frame .case-image-placeholder .placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.case-main-frame .case-main-fg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 767px) {
  .case-main-frame {
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .case-main-frame .case-main-bg {
    filter: blur(34px) saturate(1.08);
  }
}

/* 新闻详情封面：同样完整显示 */
.article-hero-img {
  background: linear-gradient(180deg, #eef3f9 0%, #e6edf6 100%);
}
.article-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.86) 100%);
  pointer-events: none;
}
.article-hero-img .article-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(54px) saturate(1.12) brightness(1.04);
  transform: scale(1.32) !important;
  opacity: 0.55;
  pointer-events: none;
}
.article-hero-img img.article-hero-fg {
  position: relative;
  z-index: 1;
  object-fit: contain;
}

/* ===== 服务「方案设计」超宽总布置图纸完整显示（2026-11-18）=====
   原图 1984×512（约 3.875:1），此前被 object-fit:cover + 固定高度/16:9 裁切两端。
   改为等比 contain 完整显示，父容器按图片比例自适应并加浅色衬底。 */
.service-detail-img:has(img[src*="1794933399209-502946750"]) {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  flex: none !important;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
  padding: 8px;
  box-sizing: border-box;
}
.service-detail-img img[src*="1794933399209-502946750"] {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
}
