:root {
  --blue-900: #061945;
  --blue-800: #0c2a67;
  --blue-700: #16459a;
  --blue-500: #2a6ef3;
  --blue-200: #b7c8f5;
  --orange-500: #f48e2b;
  --orange-600: #d97400;
  --gray-100: #f5f6fb;
  --gray-300: #d6dbe8;
  --gray-600: #5c6378;
  --gray-900: #1a1e2e;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: var(--gray-900);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  /* clamp(最小值, 理想值, 最大值)
     任何分辨率下自动取 90vw，但不低于 1440px、不超过 3400px
     —— 4K(3840px) 下内容宽约 3400px (≈88.5%)，两侧各留约 220px 边距
     用 !important + max-width:none 抵消浏览器扩展/Bootstrap 注入的 max-width:1320px 限制 */
  width: clamp(1440px, 90vw, 3400px) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--orange-500);
  margin-bottom: 1rem;
  /* Added margin bottom */
}

.lede {
  color: var(--gray-600);
  max-width: 720px;
  margin-top: 0.75rem;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.core-capabilities .section-heading .lede {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9998;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  overflow: visible;
}

.scrolled .site-header {
  background: rgba(255, 255, 255, 0.95);
  /* Almost solid on scroll */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 81px;
  padding-block: 0.5rem;
  position: relative;
  overflow: visible;
  z-index: 9999;
}

.logo {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.logo img {
  max-height: 64px;
  width: auto;
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 9999;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-item.has-panel {
  position: relative;
}

.nav-item.has-compact-panel {
  position: relative;
}

.nav-item.has-mixed-panel {
  position: relative;
}

.nav-item.has-panel > .dropdown-panel.dropdown-panel--compact,
.nav-item.has-compact-panel > .dropdown-panel {
  position: absolute;
  left: 50%;
  right: auto;
  top: 126%;
  transform: translate(-50%, 0);
  width: auto;
  min-width: 200px;
  max-width: 320px;
  padding: 0.75rem 1rem 0.9rem;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.nav-item.has-mixed-panel > .dropdown-panel {
  position: absolute;
  left: 50%;
  right: auto;
  top: 126%;
  transform: translate(-50%, 0);
  width: auto;
  min-width: 640px;
  max-width: min(860px, 94vw);
  padding: 0.85rem 1.25rem 1rem;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.nav-item.has-panel:hover > .dropdown-panel.dropdown-panel--compact,
.nav-item.has-panel:focus-within > .dropdown-panel.dropdown-panel--compact,
.nav-item.has-panel.open > .dropdown-panel.dropdown-panel--compact,
.nav-item.has-compact-panel:hover > .dropdown-panel,
.nav-item.has-compact-panel:focus-within > .dropdown-panel,
.nav-item.has-compact-panel.open > .dropdown-panel,
.nav-item.has-mixed-panel:hover > .dropdown-panel,
.nav-item.has-mixed-panel:focus-within > .dropdown-panel,
.nav-item.has-mixed-panel.open > .dropdown-panel {
  transform: translate(-50%, 0);
  transition: opacity 0.2s ease, visibility 0s;
}

.nav-item.has-compact-panel .panel-columns {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 0.35rem;
  align-items: stretch;
}

.nav-item.has-compact-panel .panel-column {
  padding: 0;
  width: 100%;
}

.nav-item.has-compact-panel .panel-title {
  display: none;
}

.nav-item.has-compact-panel .panel-links {
  padding-top: 0;
}

.nav-item.has-compact-panel .panel-links a {
  justify-content: center;
  text-align: center;
}

.mobile-brand {
  display: none;
}

.mobile-brand img {
  width: 150px;
  height: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  background: transparent;
  color: var(--gray-900);
  cursor: pointer;
  white-space: nowrap;
  /* Prevent wrapping */
  flex-wrap: nowrap;
  /* Ensure arrow stays on side */
  position: relative;
  transition: color 0.25s ease;
}

.site-header .nav-link {
  color: #fff;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link.is-active,
.site-header .nav-link.is-active:hover,
.site-header .nav-link.is-active:focus-visible,
.site-header .nav-item.open>.nav-link {
  color: #fff;
}

.nav-item.nav-leaf>.nav-link {
  position: relative;
}

.nav-item.nav-leaf>.nav-link::before {
  display: none;
}

.nav-item.nav-leaf:hover>.nav-link::before,
.nav-item.nav-leaf:focus-within>.nav-link::before {
  transform: none;
}

.nav-item.nav-leaf>.nav-link.is-active::before {
  transform: none;
}

.nav-item.has-panel>.nav-link {
  padding-right: 1.2rem;
  border-radius: 0;
  background: transparent;
  border: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #1d4ed8;
  outline: none;
}

.nav-link.is-active,
.nav-link.is-active:hover,
.nav-link.is-active:focus-visible {
  color: #1d4ed8;
  font-weight: 700;
}

.nav-item.has-panel>.nav-link::after {
  display: none;
}

.nav-item.has-panel:hover>.nav-link,
.nav-item.has-panel:focus-within>.nav-link {
  background: transparent;
}

.nav-item.open>.nav-link::after {
  transform: none;
}

.nav-item.open>.nav-link {
  color: #e88b20;
}

.dropdown-panel {
  position: fixed;
  top: var(--header-height, 96px);
  left: 50%;
  right: auto;
  transform: translate(-50%, 6px);
  width: min(1400px, 96vw);
  background: #fff;
  border-radius: 0;
  border: none;
  padding: 0.9rem 2rem 1.3rem;
  box-shadow: 0 15px 60px rgba(6, 25, 69, 0.16);
  opacity: 0;
  visibility: hidden;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.2s;
  z-index: 1999999990000;
}

.dropdown-panel .panel-body {
  display: block;
  max-width: 100%;
  margin: 0;
}

.dropdown-panel--compact {
  width: auto;
  min-width: 200px;
  max-width: 300px;
}

.nav-item.open>.dropdown-panel,
.nav-item.has-panel:hover>.dropdown-panel,
.nav-item:focus-within>.dropdown-panel,
.nav-item:hover>.dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}


.panel-columns {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 0.45rem 1.2rem;
  margin: 0;
  padding: 0;
  align-items: flex-start;
  align-content: start;
}

.panel-columns.panel-columns--stacked {
  grid-template-columns: 1fr;
  max-width: 360px;
  justify-self: end;
  margin-left: auto;
  gap: 0.6rem;
}

.panel-columns.panel-columns--stacked .panel-column {
  padding-left: 0;
  padding-right: 0;
}

.panel-column {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 0.4rem 0.6rem;
}

.panel-columns.panel-columns--single {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
}

.panel-columns.panel-columns--single .panel-column {
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
}

.panel-columns.panel-columns--single .panel-links {
  gap: 0.35rem;
  align-items: center;
}

.panel-columns.panel-columns--single .panel-links a {
  display: block;
  width: 100%;
  text-align: left;
}

.panel-columns.panel-columns--mixed {
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 310px);
  grid-auto-flow: row;
  width: min(980px, 100%);
  max-width: 100%;
  gap: 0.45rem 2rem;
  align-items: start;
}

.panel-columns.panel-columns--mixed .panel-column {
  padding: 0;
}

.panel-columns.panel-columns--mixed .panel-column--primary-rich {
  grid-column: 1;
  grid-row: 1 / span 12;
  max-width: 100%;
}

.panel-columns.panel-columns--mixed .panel-column--secondary-rich,
.panel-columns.panel-columns--mixed .panel-column--leaf {
  grid-column: 2;
  width: 100%;
}

.panel-columns.panel-columns--mixed .panel-column--secondary-rich {
  align-self: start;
}

.panel-columns.panel-columns--mixed .panel-column--leaf .panel-links {
  display: none;
}

.panel-columns.panel-columns--mixed .panel-column--leaf .panel-links a {
  padding: 0.36rem 0.15rem;
}

.panel-columns.panel-columns--mixed .panel-title {
  padding-left: 0;
  padding-right: 0;
}

.panel-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.1rem 0.15rem 0.6rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0.4rem;
}

.panel-title a {
  flex: 1;
}

.panel-column--leaf .panel-title {
  display: flex;
  margin-bottom: 0.4rem;
  padding: 0.1rem 0 0.6rem;
  border-bottom: 1px solid #e5e7eb;
}

.panel-arrow {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 1.2rem;
}

.panel-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 0.1rem;
}

.panel-links a {
  color: var(--gray-600);
  font-size: 0.95rem;
  padding: 0.32rem 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
}

.panel-columns--single .panel-title {
  margin: 0;
}

.panel-links a:hover {
  color: #1d4ed8;
  background: transparent;
}

.panel-visual {
  display: none;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(6, 25, 69, 0.08);
}

.panel-visual img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  min-height: 190px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle-line {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--gray-900);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  body.nav-open .nav-toggle {
    position: fixed;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(4, 11, 31, 0.35);
    border-radius: 50%;
    padding: 0.6rem;
    z-index: 1001;
  }

  body.nav-open .nav-toggle-line {
    background: #fff;
  }
}


.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: #fff;
}

.hero .swiper,
.hero .swiper-wrapper,
.hero .swiper-slide {
  height: 100%;
}

.hero .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
}

.hero-slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero-slide-media img,
.hero-slide-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 11, 31, 0.85) 10%, rgba(4, 11, 31, 0.25) 65%, rgba(14, 32, 74, 0.3));
}

.hero-content {
  position: relative;
  padding-top: clamp(6rem, 18vh, 10rem);
  padding-bottom: clamp(3rem, 10vh, 6rem);
  z-index: 2;
}

.hero-heading {
  font-size: clamp(2.8rem, 6.5vw, 4.5rem);
  line-height: 1.1;
  margin: 1.5rem 0;
  /* Increased from 0.9rem */
}

.subheading {
  max-width: 720px;
  color: #e2e9ff;
  margin-bottom: 3rem;
  /* Increased from 2rem */
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  /* Increased from 2rem */
  flex-wrap: wrap;
}

.hero-heading,
.hero-subheading,
.hero-actions {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.swiper-slide-active .hero-heading,
.swiper-slide-active .hero-subheading,
.swiper-slide-active .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

.swiper-slide-active .hero-subheading {
  transition-delay: 0.2s;
}

.swiper-slide-active .hero-actions {
  transition-delay: 0.35s;
}

.hero-nav {
  position: absolute;
  right: clamp(1rem, 5vw, 3rem);
  bottom: clamp(2rem, 6vh, 4rem);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.hero-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(4, 11, 31, 0.55);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border 0.2s ease, transform 0.2s ease;
}

.hero-nav-btn span {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.hero-prev span {
  transform: rotate(-135deg);
}

.hero-next span {
  transform: rotate(45deg);
}

.hero-nav-btn:hover {
  border-color: #e88b20;
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background: var(--orange-500);
  color: #fff;
}

.btn.primary:hover {
  background: var(--orange-600);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn.ghost:hover {
  border-color: #fff;
}

/* Home Products */
.home-products {
  background: #fff;
  min-height: 750px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: minmax(clamp(260px, 16vw, 360px), 1fr);
  gap: clamp(14px, 1vw, 24px);
}

.product-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 260px;
  color: #fff;
  background: #0b1e46;
  box-shadow: 0 18px 40px rgba(6, 25, 69, 0.16);
  transition: opacity 0.9s ease, transform 0.9s ease, box-shadow 0.35s ease;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 12, 40, 0.85) 0%, rgba(6, 12, 40, 0.15) 60%, rgba(6, 12, 40, 0.35) 100%);
  z-index: 1;
}

.product-card:hover {
  box-shadow: 0 22px 40px rgba(6, 25, 69, 0.2);
}

.home-products.animate .product-card {
  opacity: 0;
  transform: translateY(44px);
}

.home-products.animate .product-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.home-products.animate .product-card.in-view:nth-child(1) { transition-delay: 0s; }
.home-products.animate .product-card.in-view:nth-child(2) { transition-delay: 0.14s; }
.home-products.animate .product-card.in-view:nth-child(3) { transition-delay: 0.26s; }
.home-products.animate .product-card.in-view:nth-child(4) { transition-delay: 0.38s; }
.home-products.animate .product-card.in-view:nth-child(5) { transition-delay: 0.50s; }

.product-media {
  position: absolute;
  inset: 0;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-content {
  position: relative;
  z-index: 2;
  padding: 2.4rem;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-card--large {
  grid-row: span 2;
  min-height: clamp(540px, 34vw, 740px);
}

.product-card--wide {
  grid-column: span 2;
}

.product-card--large .product-content {
  padding: clamp(2.4rem, 2.4vw, 4rem);
  max-width: 70%;
}

.product-content h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.25;
}

.product-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.55rem 1.6rem;
  background: var(--blue-500);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 22px rgba(42, 110, 243, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.product-card:hover .product-btn {
  transform: none;
}

/* Home News */
.home-news {
  background: #f8f8f8;
}

.home-news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

.home-news-header h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}

.home-news-more {
  color: var(--blue-500);
  font-weight: 600;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}

.home-news-grid > a {
  display: block;
  color: inherit;
}

.home-news-card {
  position: relative;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #ececec;
  box-shadow: 0 6px 14px rgba(6, 25, 69, 0.06);
  min-height: 360px;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.news-default,
.news-hover {
  transition: opacity 0.45s ease;
}

.news-default {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.9rem 1.8rem;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.35rem;
  opacity: 0;
  pointer-events: none;
}

.news-hover::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 59%;
  background: url("/skin/images/newslogo.jpg") no-repeat center / contain;
  opacity: 1;
  pointer-events: none;
}

.news-hover > * {
  position: relative;
  z-index: 1;
}

.home-news-card:hover .news-default {
  opacity: 0;
}

.home-news-card:hover .news-hover {
  opacity: 1;
}

.home-news-card:hover {
  border-color: transparent;
  box-shadow: 0 18px 48px rgba(6, 25, 69, 0.18), 0 3px 10px rgba(6, 25, 69, 0.08);
}

.home-news-thumb {
  height: 210px;
  overflow: hidden;
}

.home-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.news-date-block {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
}

.news-day {
  font-size: 3rem;
  font-weight: 700;
  color: var(--blue-500);
  line-height: 1;
}

.news-month {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.news-date-line {
  width: 28px;
  height: 2px;
  background: var(--blue-500);
  border-radius: 1px;
  margin-bottom: 0.2rem;
}

.home-news-body h3 {
  font-size: 1.1rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.home-news-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: auto;
}

.news-source-icon {
  width: 8px;
  height: 8px;
  background: var(--blue-500);
  transform: rotate(45deg);
  display: inline-block;
}

.news-quote {
  display: block;
  margin-top: 0;
  width: 100%;
  margin-left: -0.35rem;
  margin-bottom: -0.1rem;
}

.news-quote::before {
  content: "\201C";
  font-size: 3.8rem;
  color: var(--blue-500);
  line-height: 1;
  position: relative;
  bottom:-18px;
  left: -30px;
}

.news-hover h3 {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--blue-500);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}

.news-hover p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
}

.home-news-card--statement {
  background: linear-gradient(160deg, #1a2b6c 0%, #2c3d8d 100%);
  color: #fff;
}

.statement-banner {
  padding: 2.2rem 1.6rem;
}

.statement-banner h3 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.statement-body {
  background: #fff;
  color: var(--gray-900);
  border-radius: 0;
  margin: 0 1.4rem 1.4rem;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 12px 26px rgba(6, 25, 69, 0.08);
}

.statement-date {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  color: var(--blue-500);
}

.statement-day {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.statement-meta {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.2;
}

.statement-source {
  font-size: 0.85rem;
  color: var(--gray-600);
}

@media (max-width: 1200px) {
  .home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 平板:大卡占满一行,其余 4 张 2×2 */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(260px, 1fr);
  }
  .product-card--large {
    grid-column: span 2;
    grid-row: auto;
    min-height: 380px;
  }
  .product-card--wide {
    grid-column: span 2;
  }
  .product-content {
    max-width: 80%;
  }
}

/* 移动端:全部单列 */
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(220px, auto);
  }
  .product-card--large {
    grid-column: auto;
    min-height: 320px;
  }
  .product-card--wide {
    grid-column: auto;
  }
  .product-content {
    max-width: 90%;
  }
}

@media (max-width: 640px) {
  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .product-content {
    padding: 2rem;
  }
}

/* Core Capabilities - Dark Tech Theme */
.core-capabilities {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%), url('../images/bg.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

/* Background decoration */
.core-capabilities::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(249, 115, 22, 0.15) 0%, transparent 40%);
  pointer-events: none;
  animation: pulseLight 8s ease-in-out infinite alternate;
}

@keyframes pulseLight {
  0% {
    opacity: 0.8;
  }

  100% {
    opacity: 1.2;
  }
}

.core-capabilities .eyebrow {
  color: var(--orange-500);
}

.core-capabilities h2 {
  color: #fff;
}

.core-capabilities .lede {
  color: #94a3b8;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.cap-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px);
  transition: transform 0.6s ease-out, opacity 0.6s ease-out, border-color 0.3s ease;
  position: relative;
}

.cap-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.core-capabilities .cap-card.is-visible:nth-child(2) {
  transition-delay: 0.4s;
}

.core-capabilities .cap-card.is-visible:nth-child(3) {
  transition-delay: 0.8s;
}

/* Spotlight Effect */
.cap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 1px;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
      rgba(255, 255, 255, 0.4),
      transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cards-grid:hover .cap-card::before {
  opacity: 1;
}

.cap-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cap-card img {
  height: 200px;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s ease, opacity 0.5s ease;
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.cap-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: -60px;
  /* Pull content up over the faded image */
  position: relative;
  z-index: 2;
  flex: 1;
  /* Ensure content fills the card for alignment */
}

.card-content h3 {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-content p {
  color: #ffffff;
  /* Pure white for max contrast */
  line-height: 1.6;
  text-align: justify;
  font-weight: 450;
  /* Slightly bolder */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  /* Stronger shadow */
}

.core-capabilities .card-content p:first-of-type {
  min-height: auto;
  /* Reset min-height */
}

.card-content blockquote {
  font-weight: 600;
  color: #ffedd5;
  /* Very light orange */
  border-left: 3px solid var(--orange-500);
  padding-left: 1rem;
  margin-top: auto;
  font-style: normal;
  /* No italic */
  background: rgba(249, 115, 22, 0.15);
  padding: 0.8rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  white-space: nowrap;
  /* Force single line */
  overflow: hidden;
  text-overflow: ellipsis;
  /* Ellipsis if overflow */
}


.differentiators {
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.differentiators::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -40px;
  width: 100vw;
  height: 340px;
  background: url('../images/page2-bg.png') center bottom/cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.differentiators .container {
  position: relative;
  z-index: 1;
}

.diff-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
}

.media-panel img {
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(6, 25, 69, 0.15);
  animation: floatImage 6s ease-in-out infinite;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.media-panel img.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes floatImage {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.diff-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.content-panel h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.diff-list li {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-left: 4px solid transparent;
  opacity: 0;
  transform: translateX(30px);
}

.diff-list li.is-visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.diff-list li.is-visible:nth-child(1) {
  transition-delay: 0.1s;
}

.diff-list li.is-visible:nth-child(2) {
  transition-delay: 0.3s;
}

.diff-list li.is-visible:nth-child(3) {
  transition-delay: 0.5s;
}

.diff-list li:hover {
  transform: translateY(-5px) translateX(0) !important;
  /* Override transform from animation */
  box-shadow: 0 10px 30px rgba(232, 139, 32, 0.15);
  border-left-color: var(--orange-500);
}

.diff-list h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--blue-900);
}

.diff-list p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.diff-list li {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.diff-list li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.diff-list li:nth-child(2).is-visible {
  transition-delay: 0.15s;
}

.diff-list li:nth-child(3).is-visible {
  transition-delay: 0.3s;
}

.social-proof {
  background: linear-gradient(145deg, rgba(6, 25, 69, 0.03), rgba(32, 110, 243, 0.08));
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  /* Minimal padding */
}

/* .social-proof::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/page4-bg.png') center top/100% auto no-repeat;
  pointer-events: none;
} */

.social-proof>.container {
  position: relative;
  z-index: 1;
}

.logo-wall {
  display: none;
  /* Hidden as per user request */
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
  position: relative;
  margin-bottom: 1rem;
}

.logo-wall::before,
.logo-wall::after {
  content: none;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.logo-item {
  width: 280px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-item img {
  max-width: 100%;
  height: auto;
  /* Removed grayscale and opacity */
}

.logo-item:hover img {
  /* No hover effect needed if already full color */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 0 1rem;
}

.metric {
  /* Removed card background and shadow for a cleaner look */
  background: transparent;
  padding: 0.3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  position: relative;
}

/* Optional: Add dividers between metrics */
.metric:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.8rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(0, 0, 0, 0.05);
}

.metric:hover {
  transform: translateY(-3px);
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(32, 110, 243, 0.1), rgba(32, 110, 243, 0.05));
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.3rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.metric:hover .metric-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(32, 110, 243, 0.2), rgba(32, 110, 243, 0.1));
}

.metric-icon svg {
  width: 24px;
  height: 24px;
}

.metric-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1;
  position: relative;
  font-family: 'Outfit', sans-serif;
  margin-right: 1rem;
  /* Make space for suffix */
}

.stat-value::after {
  content: attr(data-suffix);
  font-size: 1rem;
  color: var(--orange-500);
  -webkit-text-fill-color: var(--orange-500);
  position: absolute;
  top: 0.3rem;
  right: -1rem;
  font-weight: 700;
}

.metric p {
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  /* Reduced gap */
}

.case-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Image on top */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(6, 25, 69, 0.1);
}

.case-card img {
  width: 100%;
  height: 180px;
  /* Further reduced height */
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.case-card div {
  padding: 1.25rem 1.5rem;
  /* Very compact padding */
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--blue-900);
}

.case-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
  flex: 1;
  /* Allow text to expand but keep card compact */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* Limit text lines if needed */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .case-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.case-more {
  color: var(--blue-600);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.case-more::after {
  content: "→";
  transition: transform 0.3s ease;
}

.case-more:hover::after {
  transform: translateX(5px);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.news-feature {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(6, 25, 69, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Added border for visibility */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.news-feature.visible {
  opacity: 1;
  transform: translateY(0);
}

.news-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.news-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  /* Fill remaining space in feature card */
  justify-content: space-between;
  /* Push 'More' to bottom if needed */
}

.insights .news-meta {
  display: block;
  width: 100%;
  font-size: 0.8rem;
  color: #94a3b8;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
}

.news-body h3,
.news-item h4 {
  color: var(--gray-900);
}

.news-body p,
.news-item p {
  color: var(--gray-600);
  margin: 0;
}

.news-more {
  width: fit-content;
  font-weight: 600;
  color: var(--blue-700);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.news-more::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.news-more:hover {
  color: var(--orange-500);
}

.news-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  justify-content: space-between;
  /* Distribute items evenly */
}

.news-item {
  background: #fff;
  border-radius: 18px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: center;
  /* Center content vertically */
  box-shadow: 0 12px 30px rgba(6, 25, 69, 0.06);
  flex: 1;
  /* Stretch to fill container */
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Added border for visibility */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.news-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for news items */
.news-item:nth-child(1) {
  transition-delay: 0.1s;
}

.news-item:nth-child(2) {
  transition-delay: 0.2s;
}

.news-item:nth-child(3) {
  transition-delay: 0.3s;
}

.news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.news-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 960px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .news-feature {
    min-height: auto;
    height: auto;
  }

  .news-list {
    height: auto;
    gap: 1.5rem;
  }
}

.site-footer {
  background: var(--blue-900);
  color: #cfd6ff;
  padding: 4rem 0 2rem;
}

.site-footer .section-heading h2 {
  color: #fff;
}

.site-footer .section-heading .eyebrow {
  color: var(--orange-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Equal width for perfect centering */
  gap: 4rem;
  align-items: start;
}

.footer-left {
  height: 100%;
  min-height: 350px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-left: 4rem;
  /* Push content to the right */
}

.footer-logo {
  max-height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-cta .btn {
  margin-right: 0.75rem;
}

.footer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.site-footer .btn.ghost {
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-map {
  height: 100%;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.map-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  overflow: hidden;
  /* Ensure image zoom stays inside */
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.map-link:hover .map-image {
  transform: scale(1.05);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-left {
    min-height: 300px;
    order: 2;
  }

  .footer-right {
    order: 1;
    padding-left: 0;
  }
}

/* Swiper overrides */
.hero .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
  width: 14px;
  height: 14px;
  opacity: 1;
}

.hero .swiper-pagination-bullet-active {
  background: var(--orange-500);
}

.service-banner img {
  object-fit: cover;
}

.service-list-section {
  padding: 4.5rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.case-card-tile {
  position: relative;
  background: #f8fafc;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.1rem 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.tile-header {
  padding-bottom: 0.75rem;
  border-bottom: 0;
  margin-bottom: 0.25rem;
}

.tile-title {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  color: #1e293b;
  transition: color 0.25s ease;
}

.tile-title a {
  color: inherit;
}

.case-card-tile:hover .tile-title {
  color: #e88b20;
}

.tile-desc {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.tile-underline {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, #e2e8f0 0%, #e2e8f0 100%);
  border-radius: 999px;
  margin: 0.5rem 0 0.75rem;
  overflow: hidden;
  position: relative;
}

.tile-underline::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #e88b20 0%, #e88b20 100%);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.case-card-tile:hover .tile-underline::after {
  transform: translateX(0);
}

.tile-thumb {
  display: block;
  border-radius: 0;
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.tile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.case-card-tile:hover .tile-thumb img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.5s ease forwards;
}

.reveal:nth-child(1) {
  animation-delay: 0.05s;
}

.reveal:nth-child(2) {
  animation-delay: 0.1s;
}

.reveal:nth-child(3) {
  animation-delay: 0.15s;
}

.reveal:nth-child(4) {
  animation-delay: 0.2s;
}

.reveal:nth-child(5) {
  animation-delay: 0.25s;
}

.reveal:nth-child(6) {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   Service Detail Page
   ========================================= */
.service-detail-section {
  padding: 5rem 0;
  background: #fff;
}

.service-detail-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.service-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.2rem;
}

.service-meta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fbd4b3;
  color: #b45309;
  font-size: 0.9rem;
  font-weight: 500;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.service-media {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #eef2f7;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.service-media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0));
  pointer-events: none;
}

.service-media-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.service-card-desc {
  color: var(--gray-600);
  margin-bottom: 1.2rem;
}

.service-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.service-feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #475569;
}

.service-feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--orange-500);
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 0.55rem;
  box-shadow: 0 0 0 4px rgba(244, 142, 43, 0.18);
}

.service-body-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #334155;
}

.service-body-content p {
  margin-bottom: 1.2rem;
}

.service-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.8rem 0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.service-body-content h2,
.service-body-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--gray-900);
}

.service-related-section .section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.service-related-section .section-title {
  font-size: 1.8rem;
}

.service-related-section .section-subtitle {
  letter-spacing: 0.2em;
  color: #94a3b8;
  font-size: 0.8rem;
}

.service-back {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.service-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid #d8dde8;
  color: var(--gray-600);
  background: #fff;
  transition: all 0.25s ease;
}

.service-back-link:hover {
  border-color: var(--orange-500);
  color: var(--orange-600);
  box-shadow: 0 12px 24px rgba(244, 142, 43, 0.18);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-media-frame img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .service-detail-header {
    text-align: left;
  }

  .service-meta {
    justify-content: flex-start;
  }
}

@media (min-width: 1025px) {
  .site-header .nav-wrapper {
    height: var(--header-height);
  }

  .nav-list {
    height: 100%;
    align-items: stretch;
  }

  .nav-item {
    height: 100%;
  }

  .nav-link {
    height: 100%;
  }

  .site-header .nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 0rem;
    right: 0.5rem;
    height: 2px;
    bottom: 6px;
    background: currentColor;
    display: block;
  }

  .site-header.shrink .nav-link.is-active::after {
    background: currentColor;
    bottom: 6px;
  }

  .header-solid .site-header .nav-link.is-active::after {
    background: currentColor;
    bottom: 6px;
  }

  .nav-item.has-panel:hover>.dropdown-panel,
  .nav-item.has-panel:focus-within>.dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    display: block;
  }

  .dropdown-panel:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: block;
  }

  .nav-item.open>.dropdown-panel {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: block;
  }

  .nav-item.has-panel:hover>.nav-link,
  .nav-item.has-panel:focus-within>.nav-link {
    color: #e88b20;
  }

  .nav-item.has-panel:hover>.nav-link::after,
  .nav-item.has-panel:focus-within>.nav-link::after {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 0.25rem) clamp(1rem, 4vw, 1.75rem) 2.25rem;
    background: linear-gradient(180deg, #0d1f4b 0%, #040b1f 100%);
    color: #fff;
    box-shadow: -20px 0 60px rgba(6, 25, 69, 0.45);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    overflow-y: auto;
    gap: 0.25rem;
    z-index: 999;
  }

  .nav-list.open {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    color: inherit;
    justify-content: space-between;
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-item.nav-leaf>.nav-link::before {
    display: none;
  }

  .nav-item.has-panel>.nav-link {
    border: none;
    background: transparent;
  }

  .mobile-brand {
    display: block;
    text-align: center;
    margin: 0.25rem 0 0.75rem;
  }

  .mobile-brand img {
    width: 120px;
    margin: 0 auto;
  }

  .dropdown-panel {
    position: static;
    width: 100%;
    padding: 0.5rem 0.75rem 0.75rem;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: none;
    background: rgba(8, 17, 44, 0.85);
    margin-top: 0.5rem;
    display: none;
    border-top: 0;
  }

  .dropdown-panel .panel-body {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .panel-visual {
    display: none;
  }

  .nav-item.open>.dropdown-panel {
    display: block;
  }

  .dropdown-panel--compact {
    width: 100%;
  }

  .nav-item.has-mixed-panel > .dropdown-panel {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0.5rem 0.75rem 0.75rem;
    transform: none;
  }

  .panel-columns {
    display: block;
    padding: 0;
    margin: 0;
  }

  .panel-column {
    margin-bottom: 0.75rem;
  }

  .panel-title {
    color: #fff;
    margin-bottom: 0.1rem;
  }

  .panel-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    padding: 0.3rem 0;
    display: block;
  }

  .panel-links a:hover {
    color: #fff;
  }

  .panel-columns.panel-columns--single,
  .panel-columns.panel-columns--single .panel-column,
  .panel-columns.panel-columns--single .panel-links,
  .panel-columns.panel-columns--mixed,
  .panel-columns.panel-columns--mixed .panel-column,
  .panel-columns.panel-columns--mixed .panel-links {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 7rem;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-nav {
    right: 50%;
    transform: translateX(50%);
    bottom: 1.5rem;
  }

  .hero-nav-btn {
    width: 42px;
    height: 42px;
  }

  .case-card {
    flex-direction: column;
    text-align: center;
  }

  .case-card img {
    width: 140px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
  }

  .cards-grid,
  .metrics,
  .case-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Header Shrink Effect (Global)
   ========================================= */
/* =========================================
   Header Shrink Effect (Global)
   ========================================= */
.site-header {
  --header-height: 81px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9998;
  height: 81px;
  /* Base height */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Smooth transition */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  overflow: visible;
}

.site-header.shrink {
  background: rgba(255, 255, 255, 1);
  /* Solid white */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 81px;
  --header-height: 81px;
  /* Keep height fixed */
}

.site-header.shrink .nav-wrapper {
  min-height: 100%;
  padding-block: 0;
}

.site-header.shrink .nav-link {
  color: #111;
}

.site-header.shrink .nav-link:hover,
.site-header.shrink .nav-link:focus-visible,
.site-header.shrink .nav-link.is-active,
.site-header.shrink .nav-link.is-active:hover,
.site-header.shrink .nav-link.is-active:focus-visible,
.site-header.shrink .nav-item.open>.nav-link {
  color: #111;
}

/* Solid header style for case pages */
.header-solid .site-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-solid .site-header .nav-link,
.header-solid .site-header .nav-link:hover,
.header-solid .site-header .nav-link:focus-visible,
.header-solid .site-header .nav-link.is-active,
.header-solid .site-header .nav-link.is-active:hover,
.header-solid .site-header .nav-link.is-active:focus-visible,
.header-solid .site-header .nav-item.open>.nav-link {
  color: #111;
}

/* Transparent header hover -> white background and black text */
.site-header:not(.shrink):hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header:not(.shrink):hover .nav-link,
.site-header:not(.shrink):hover .nav-link:hover,
.site-header:not(.shrink):hover .nav-link:focus-visible,
.site-header:not(.shrink):hover .nav-link.is-active,
.site-header:not(.shrink):hover .nav-link.is-active:hover,
.site-header:not(.shrink):hover .nav-link.is-active:focus-visible,
.site-header:not(.shrink):hover .nav-item.open>.nav-link {
  color: #111;
}

/* Dual Logo Transition */
.logo {
  position: relative;
  display: block;
}

.logo img {
  /* Only animate transform/size here, opacity handled individually */
  transition: transform 0.4s ease, max-height 0.4s ease;
  width: auto;
  max-height: 56px;
  /* Base size */
}

/* Default Logo (Visible initially) */
.logo-default {
  opacity: 1;
  position: relative;
  transition: opacity 0.3s ease 0.1s;
  /* Delay showing up when returning to top */
}

/* Scrolled Logo (Hidden initially) */
.logo-scrolled {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
  /* Hide quickly when returning to top */
}

/* Shrink State */
.site-header.shrink .logo-default {
  opacity: 0;
  transition: opacity 0.2s ease;
  /* Hide quickly on scroll */
}

.site-header.shrink .logo-scrolled {
  opacity: 1;
  transition: opacity 0.3s ease 0.1s;
  /* Delay showing up on scroll */
}

.site-header.shrink .logo img {
  max-height: 40px;
  /* Smaller logo */
}

/* =========================================
   News Page Specific Styles
   ========================================= */
.page-banner {
  position: relative;
  height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  /* Remove negative margin or gap causing shifts */
}

.page-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
}

.banner-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeUp 0.8s ease-out;
}

.banner-sub {
  font-size: 1.2rem;
  opacity: 0.9;
  animation: fadeUp 0.8s ease-out 0.2s backwards;
}

.news-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

.news-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: fadeUp 0.6s ease-out backwards;
}

/* Staggered Animation */
.news-card:nth-child(1) {
  animation-delay: 0.1s;
}

.news-card:nth-child(2) {
  animation-delay: 0.2s;
}

.news-card:nth-child(3) {
  animation-delay: 0.3s;
}

.news-card:nth-child(4) {
  animation-delay: 0.4s;
}

.news-card:nth-child(5) {
  animation-delay: 0.5s;
}

.news-card:nth-child(6) {
  animation-delay: 0.6s;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-thumb {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.08);
}

.news-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-date::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--orange-500, #ff6b00);
  border-radius: 50%;
}

.news-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;   
  max-width: 100%;         
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news-card:hover .news-title a {
  color: var(--orange-500, #ff6b00);
}

.news-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  align-self: flex-start;
  color: var(--orange-500, #ff6b00);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.news-more::after {
  content: '→';
  transition: transform 0.3s;
}

.news-more:hover {
  gap: 0.8rem;
}

/* Pagination */
.pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Reset wrapper spans */
.pagination span {
  display: inline-flex;
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  gap: 0.6rem;
}

/* Status Text */
.pagination .page-status {
  display: none;
}

/* Buttons (Index, Pre, Next, Last, Generic Numbers) */
.pagination a,
.pagination .page-num {
  min-width: 40px;
  padding: 0 16px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #fff;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #e0e0e0;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Hover State */
.pagination a:hover {
  border-color: var(--orange-500, #ff6b00);
  color: var(--orange-500, #ff6b00);
  background: #fff5eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 142, 43, 0.15);
}

/* Active State */
.pagination .page-num-current {
  min-width: 40px;
  padding: 0 16px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--orange-500, #ff6b00);
  color: #fff;
  border: 1px solid var(--orange-500, #ff6b00);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(244, 142, 43, 0.3);
}


/* =========================================
   News Detail Page
   ========================================= */
.news-detail-section {
  padding: 5rem 0;
  background-color: #fff;
  min-height: 60vh;
}

.news-detail-section .container {
  /* Use default container width */
}

/* Header */
.news-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.news-title-large {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1e2e;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.news-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: #999;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Content Body */
.news-body-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 4rem;
}

.news-body-content p {
  margin-bottom: 1.5rem;
}

.news-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.news-body-content h2,
.news-body-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1e2e;
}

/* Navigation (Refined) */
.news-post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 1px solid #eee;
}

.news-post-nav .nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  /* Enable truncation */
}

/* Prev/Next Specifics */
.news-post-nav .prev {
  text-align: left;
  align-items: flex-start;
}

.news-post-nav .next {
  text-align: right;
  align-items: flex-end;
}

.news-post-nav .center {
  flex: 0 0 auto;
  min-width: auto;
  align-items: center;
}

/* Typography */
.news-post-nav .label {
  font-size: 0.85rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-post-nav .title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1e2e;
  line-height: 1.4;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  position: relative;
  transition: color 0.3s ease;
}

.news-post-nav .title:hover {
  color: var(--orange-500, #ff6b00);
}

/* Center Button */
.btn-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 2rem;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  color: #4b5563;
  font-weight: 500;
  transition: all 0.3s ease;
  background: #fff;
}

.btn-list:hover {
  border-color: var(--orange-500, #ff6b00);
  background: var(--orange-500, #ff6b00);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 142, 43, 0.2);
}

@media (max-width: 768px) {
  .news-title-large {
    font-size: 1.6rem;
  }

  .news-post-nav {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
    text-align: center;
  }

  .news-post-nav .prev,
  .news-post-nav .next {
    align-items: center;
    text-align: center;
  }

  .news-post-nav .center {
    order: 3;
    /* Move button to bottom on mobile */
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .page-banner {
    height: 250px;
  }

  .banner-title {
    font-size: 2rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Inner Page Footer (Compact)
   ========================================= */
.site-footer.inner-footer {
  background: #1a1e2e;
  /* Match main footer dark bg */
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: 0;
}

.inner-footer .footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 4rem;
  margin-bottom: 3rem;
  align-items: start;
}

.inner-footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.inner-footer .footer-logo {
  height: 40px;
  width: auto;
  align-self: flex-start;
}

.inner-footer .footer-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.8;
}

.inner-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.8rem 2rem;
  align-items: start;
}

.inner-footer .link-group {
  min-width: 0;
}

.inner-footer .link-group h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  padding-left: 0;
  text-align: left;
}

.inner-footer .link-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 0;
  padding-left: 0;
}

.inner-footer .link-group a {
  display: inline-block;
  color: #94a3b8;
  transition: color 0.3s;
  font-size: 0.92rem;
  text-align: left;
}

.inner-footer .link-group a:hover {
  color: var(--orange-500);
}

.inner-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .inner-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .inner-footer .footer-links {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.6rem 1.8rem;
  }
}

/* =========================================
   Case List Page
   ========================================= */
.case-list-section {
  padding: 5rem 0;
  background-color: #f8fafc;
}

/* Featured Case */
.featured-case-wrapper {
  margin-bottom: 5rem;
}

.featured-case {
  display: grid;
  grid-template-columns: 2fr 1fr;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.featured-case:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.featured-media {
  position: relative;
  display: block;
  overflow: hidden;
  height: 100%;
  min-height: 450px;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-case:hover .featured-media img {
  transform: scale(1.05);
}

.featured-content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.case-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(244, 142, 43, 0.15);
  color: var(--orange-500, #ff6b00);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.featured-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1e2e;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.featured-title a {
  color: inherit;
  transition: color 0.3s;
}

.featured-title a:hover {
  color: var(--orange-500, #ff6b00);
}

.featured-desc {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn-case-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--orange-500, #ff6b00);
  font-weight: 600;
  font-size: 1.05rem;
  transition: gap 0.3s ease;
}

.btn-case-primary:hover {
  gap: 0.8rem;
}

/* Case Grid */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.case-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-thumb {
  display: block;
  position: relative;
  padding-bottom: 70%;
  /* Aspect Ratio */
  overflow: hidden;
}

.case-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-thumb img {
  transform: scale(1.1);
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
  opacity: 1;
}

.read-more {
  color: #fff;
  border: 1px solid #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
}

.case-body {
  padding: 1.5rem 2rem;
}

.case-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #1a1e2e;
}

.case-title a {
  color: inherit;
  transition: color 0.3s;
}

.case-title a:hover {
  color: var(--orange-500, #ff6b00);
}

.case-intro {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.fade-up-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .featured-case {
    grid-template-columns: 1fr;
  }

  .featured-media {
    min-height: 300px;
  }

  .featured-content {
    padding: 2rem;
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-qrcode img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 5px;
  margin-left: 0;
}

@media (max-width: 600px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 首页重点场景解决方案 =====
   全部尺寸用 clamp 在 1440-3400px 区间等比缩放,
   保证 4K(3840px) 屏上字号、间距、卡片大小都自动放大 */
.home-scenarios {
  background: #f5f7fb;
  padding: clamp(4rem, 5vw, 7.5rem) 0;
  position: relative;
  overflow: hidden;
}

.home-scenarios::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(42, 110, 243, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 8% 100%, rgba(240, 138, 36, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.scenarios-header {
  text-align: center;
  margin-bottom: clamp(2.6rem, 3vw, 4.8rem);
  position: relative;
}

.scenarios-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: clamp(0.9rem, 0.78vw, 1.2rem);
  font-weight: 600;
  color: var(--orange-500);
  margin: 0 0 0.7rem;
}

.scenarios-header h2 {
  font-size: clamp(1.8rem, 2.4vw, 3.4rem);
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

.scenarios-subtitle {
  font-size: clamp(1rem, 0.95vw, 1.5rem);
  color: #64748b;
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.scenario-stripe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 4vw, 96px);
  padding: clamp(2.4rem, 3vw, 5rem) 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  position: relative;
  /* 入场动画初始态 */
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.7, 0.25, 1),
    transform 0.85s cubic-bezier(0.22, 0.7, 0.25, 1);
}

/* stripe 进入视口后由 JS 添加 .is-visible */
.scenario-stripe.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 三段错峰入场 */
.scenario-stripe:nth-of-type(1).is-visible { transition-delay: 0s; }
.scenario-stripe:nth-of-type(2).is-visible { transition-delay: 0.12s; }
.scenario-stripe:nth-of-type(3).is-visible { transition-delay: 0.24s; }

/* stripe 内部元素的小幅度二级动画 —— 比 stripe 本体稍晚一点淡入 */
.scenario-stripe .scenario-num,
.scenario-stripe .scenario-text h3,
.scenario-stripe .scenario-desc,
.scenario-stripe .scenario-points,
.scenario-stripe .scenario-cta,
.scenario-stripe .scenario-visual {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.7, 0.25, 1),
    transform 0.7s cubic-bezier(0.22, 0.7, 0.25, 1);
}

.scenario-stripe.is-visible .scenario-num         { opacity: 1; transform: translateY(0); transition-delay: 0.10s; }
.scenario-stripe.is-visible .scenario-text h3     { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.scenario-stripe.is-visible .scenario-desc        { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
.scenario-stripe.is-visible .scenario-points      { opacity: 1; transform: translateY(0); transition-delay: 0.32s; }
.scenario-stripe.is-visible .scenario-cta         { opacity: 1; transform: translateY(0); transition-delay: 0.40s; }
.scenario-stripe.is-visible .scenario-visual      { opacity: 1; transform: translateY(0); transition-delay: 0.16s; }

/* 第 2、3 个 stripe 内部元素延迟累加上 stripe 本体的入场延迟 */
.scenario-stripe:nth-of-type(2).is-visible .scenario-num         { transition-delay: 0.22s; }
.scenario-stripe:nth-of-type(2).is-visible .scenario-text h3     { transition-delay: 0.30s; }
.scenario-stripe:nth-of-type(2).is-visible .scenario-desc        { transition-delay: 0.38s; }
.scenario-stripe:nth-of-type(2).is-visible .scenario-points      { transition-delay: 0.44s; }
.scenario-stripe:nth-of-type(2).is-visible .scenario-cta         { transition-delay: 0.52s; }
.scenario-stripe:nth-of-type(2).is-visible .scenario-visual      { transition-delay: 0.28s; }

.scenario-stripe:nth-of-type(3).is-visible .scenario-num         { transition-delay: 0.34s; }
.scenario-stripe:nth-of-type(3).is-visible .scenario-text h3     { transition-delay: 0.42s; }
.scenario-stripe:nth-of-type(3).is-visible .scenario-desc        { transition-delay: 0.50s; }
.scenario-stripe:nth-of-type(3).is-visible .scenario-points      { transition-delay: 0.56s; }
.scenario-stripe:nth-of-type(3).is-visible .scenario-cta         { transition-delay: 0.64s; }
.scenario-stripe:nth-of-type(3).is-visible .scenario-visual      { transition-delay: 0.40s; }

.scenario-stripe:last-of-type {
  border-bottom: none;
}

/* 偶数 stripe 翻转图文位置形成 zigzag */
.scenario-stripe:nth-of-type(even) .scenario-text { order: 2; }
.scenario-stripe:nth-of-type(even) .scenario-visual { order: 1; }

.scenario-text {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1vw, 22px);
}

.scenario-num {
  font-size: clamp(3.2rem, 3.6vw, 6.4rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-500);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: -8px;
}

.scenario-stripe h3 {
  font-size: clamp(1.8rem, 2vw, 3.2rem);
  font-weight: 600;
  margin: 0;
  color: #0f172a;
  line-height: 1.2;
}

.scenario-desc {
  color: #475569;
  font-size: clamp(0.98rem, 0.92vw, 1.4rem);
  line-height: 1.75;
  margin: 0;
}

.scenario-points {
  list-style: none;
  padding: 0;
  margin: clamp(6px, 0.5vw, 14px) 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(8px, 0.7vw, 16px) clamp(16px, 1.4vw, 32px);
}

.scenario-points li {
  color: #334155;
  font-size: clamp(0.9rem, 0.82vw, 1.2rem);
  padding-left: clamp(20px, 1.4vw, 30px);
  position: relative;
}

.scenario-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: clamp(7px, 0.6vw, 12px);
  width: clamp(12px, 0.9vw, 18px);
  height: clamp(8px, 0.6vw, 12px);
  border-left: 2px solid var(--orange-500);
  border-bottom: 2px solid var(--orange-500);
  transform: rotate(-45deg);
}

.scenario-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(0.65rem, 0.65vw, 1rem) clamp(1.4rem, 1.4vw, 2.4rem);
  background: var(--blue-500);
  color: #fff;
  font-size: clamp(0.94rem, 0.85vw, 1.15rem);
  font-weight: 600;
  border-radius: 4px;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  margin-top: 6px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(42, 110, 243, 0.22);
}

.scenario-cta:hover {
  background: #1c5fe0;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(42, 110, 243, 0.36);
  color: #fff;
}

.scenario-visual {
  /* 改成更扁的比例,让图片高度跟文字内容更匹配,避免文字侧上下空旷
     1440px 视口约 374px 高,1920px 约 499px,2K+ 上限 520px */
  height: clamp(320px, 26vw, 520px);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 48px rgba(6, 25, 69, 0.18);
}

.scenario-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.scenario-stripe:hover .scenario-visual img {
  transform: scale(1.04);
}

.scenario-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 12, 40, 0.42) 0%, rgba(6, 12, 40, 0.05) 55%, rgba(6, 12, 40, 0.28) 100%);
  pointer-events: none;
  z-index: 1;
}

.scenario-ghost-num {
  position: absolute;
  bottom: clamp(-40px, -2.5vw, -70px);
  right: clamp(-10px, -0.6vw, -20px);
  font-size: clamp(9rem, 13vw, 24rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1;
  letter-spacing: -0.05em;
  z-index: 2;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.32);
}

/* 响应式 */
@media (max-width: 960px) {
  .scenario-stripe {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 2rem 0;
  }
  .scenario-stripe:nth-of-type(even) .scenario-text { order: 1; }
  .scenario-stripe:nth-of-type(even) .scenario-visual { order: 2; }
  .scenario-points {
    grid-template-columns: 1fr;
  }
  .scenario-num {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .scenario-ghost-num {
    font-size: 7rem;
  }
}

/* ===== 首页品牌授权合作伙伴 ===== */
@keyframes partner-shimmer {
  0%, 100% { left: -30%; }
  50% { left: 100%; }
}

@keyframes partner-diamond-pulse {
  0%, 100% { text-shadow: 0 0 8px rgba(212, 168, 32, 0.5); }
  50% { text-shadow: 0 0 20px rgba(212, 168, 32, 0.9), 0 0 40px rgba(212, 168, 32, 0.4); }
}

.home-partners {
  background: #f3f5f8;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.home-partners::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(42, 110, 243, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 85% 50%, rgba(240, 138, 36, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* partner section 复用全局 .container 宽度 (clamp 1440-3400px),
   不再强压成 1232px,否则 4K 屏上会比上面的 home-products 板块明显窄一截 */

.home-partners-header {
  text-align: center;
  margin-bottom: 2.8rem;
  position: relative;
}

.home-partners-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--orange-500);
  margin: 0 0 0.6rem;
}

.home-partners-header h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.1rem);
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.partner-diamond-hero {
  background: linear-gradient(135deg, rgba(212, 168, 32, 0.18) 0%, rgba(196, 149, 24, 0.10) 100%);
  border: 1.5px solid rgba(212, 168, 32, 0.50);
  border-radius: 8px;
  padding: clamp(1.4rem, 1.6vw, 2.4rem) clamp(1.6rem, 2.2vw, 3.4rem);
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.4vw, 28px);
  margin-bottom: clamp(18px, 1.6vw, 30px);
  position: relative;
  overflow: hidden;
}

.partner-diamond-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 80, 0.20) 50%, transparent);
  animation: partner-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

.partner-diamond-badge {
  color: #d4a820;
  font-size: clamp(2.4rem, 2vw, 3.4rem);
  line-height: 1;
  flex-shrink: 0;
  animation: partner-diamond-pulse 2.8s ease-in-out infinite;
}

.partner-diamond-logo {
  background: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.20);
}

.partner-diamond-logo img {
  display: block;
  width: auto;
  height: clamp(36px, 2.6vw, 56px);
  max-width: clamp(190px, 14vw, 280px);
  object-fit: contain;
}

.partner-diamond-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.partner-diamond-name {
  color: #ffe082;
  font-weight: 700;
  font-size: clamp(1.3rem, 1.1vw, 1.7rem);
  letter-spacing: 0.02em;
}

.partner-diamond-level {
  color: #d4a820;
  font-weight: 600;
  font-size: clamp(0.88rem, 0.75vw, 1.05rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-diamond-spacer {
  flex: 1;
}

.partner-diamond-tag {
  background: #d4a820;
  color: #000;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.home-partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1vw, 24px);
  align-items: stretch;
  position: relative;
}

.partner-card {
  min-height: clamp(88px, 7vw, 140px);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 6px;
  padding: clamp(18px, 1.4vw, 30px) clamp(14px, 1vw, 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(36px);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.partner-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.partner-card:nth-child(1) { transition-delay: 0s; }
.partner-card:nth-child(2) { transition-delay: 0.06s; }
.partner-card:nth-child(3) { transition-delay: 0.12s; }
.partner-card:nth-child(4) { transition-delay: 0.18s; }
.partner-card:nth-child(5) { transition-delay: 0.24s; }
.partner-card:nth-child(6) { transition-delay: 0.30s; }
.partner-card:nth-child(7) { transition-delay: 0.36s; }
.partner-card:nth-child(8) { transition-delay: 0.42s; }
.partner-card:nth-child(9) { transition-delay: 0.48s; }
.partner-card:nth-child(10) { transition-delay: 0.54s; }
.partner-card:nth-child(11) { transition-delay: 0.60s; }
.partner-card:nth-child(12) { transition-delay: 0.66s; }

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 110, 243, 0.20);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.partner-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: clamp(38px, 3vw, 64px);
  object-fit: contain;
}

.home-partners-footer {
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
}

.home-partners-footer a {
  display: inline-block;
  font-size: 0.92rem;
  color: #475569;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 4px;
  padding: 0.55rem 1.6rem;
  text-decoration: none;
  background: #fff;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.home-partners-footer a:hover {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.35);
  background: #fff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

@media (max-width: 1100px) {
  .home-partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .partner-diamond-hero {
    padding: 1.4rem 1.6rem;
    gap: 14px;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .home-partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .partner-diamond-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 1.4rem 1.2rem;
    text-align: left;
  }
  .partner-diamond-spacer { display: none; }
  .partner-diamond-badge { font-size: 2rem; }
  .partner-diamond-name { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .home-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .home-partners {
    padding: 4rem 0;
  }

  .home-partners .container {
    width: calc(100% - 32px) !important;
  }

  .partner-diamond-hero {
    flex-wrap: wrap;
    padding: 1.3rem 1.2rem;
  }

  .partner-diamond-spacer {
    display: none;
  }

  .partner-diamond-tag {
    margin-left: 3.7rem;
  }

  .home-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-card {
    min-height: 82px;
  }

  .partner-card img {
    max-height: 34px;
  }
}
