:root {
  --color-primary: #1268f3;
  --color-primary-dark: #0b3f9f;
  --color-accent: #00c2a8;
  --color-text: #172033;
  --color-muted: #667085;
  --color-light: #f5f8ff;
  --color-card: #ffffff;
  --color-border: #e6ebf2;
  --shadow-card: 0 20px 60px rgba(18, 104, 243, 0.12);
  --container-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.7;
  background: #ffffff;
}

html.enhanced-motion body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(18, 104, 243, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 104, 243, 0.4) 1px, transparent 1px);
  background-size: 64px 64px;
  /* One cycle = exactly one tile period → seamless loop */
  animation: tech-grid-pan-64 34s linear infinite;
}

/* Navbar above siblings so mega-menu overlays <main>; equal z-index was hiding the dropdown behind .hero */
html.enhanced-motion body > yunma-navbar {
  position: relative;
  z-index: 40;
}

html.enhanced-motion body > main,
html.enhanced-motion body > yunma-footer {
  position: relative;
  z-index: 1;
}

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

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

button,
a,
.card,
.service-card,
.stat,
.award-card,
.contact-card,
.capability-card,
.credential-image {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - 40px, var(--container-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  /* Slightly more opaque so blur samples less of the scroll/animating page — fewer “shimmer” frames */
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  isolation: isolate;
}

.enhanced-motion .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(18, 104, 243, 0.28) 22%,
    rgba(0, 194, 168, 0.32) 50%,
    rgba(18, 104, 243, 0.28) 78%,
    transparent 100%
  );
  opacity: 0.82;
  /* Do not animate `filter` here: Chromium repaints blur + filter together → visible nav flicker */
  animation: tech-header-line 8s ease-in-out infinite alternate;
}

.navbar {
  width: min(100% - 40px, var(--container-width));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  color: var(--color-primary-dark);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > li {
  position: relative;
}


.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #28324a;
  font-weight: 600;
  box-shadow: none;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.18s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-primary);
  background: rgba(18, 104, 243, 0.08);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 310px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 0.12s ease-out,
    transform 0.14s cubic-bezier(0.2, 0.85, 0.25, 1),
    visibility 0s linear 0.12s;
}

/* Invisible wedge: fills the hole between trigger and panel so .nav-dropdown :hover doesn't drop while moving */
@media (min-width: 921px) {
  .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: -8px;
    right: -8px;
    height: 14px;
  }
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.11s ease-out,
    transform 0.13s cubic-bezier(0.2, 0.85, 0.25, 1),
    visibility 0s;
}

@media (min-width: 921px) {
  .dropdown-menu--about,
  .dropdown-menu--news {
    min-width: 220px;
  }

  .dropdown-menu--services {
    min-width: 320px;
  }
}

.dropdown-menu__label {
  padding: 10px 14px 4px;
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

.dropdown-menu__label:not(:first-child) {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.dropdown-menu__label + li > a {
  margin-top: 2px;
}

#about-intro,
#company-profile,
#company-philosophy,
#company-history,
#company-awards,
#company-news,
#services-group,
#products-group {
  scroll-margin-top: 96px;
}

.history-section {
  position: relative;
  overflow: hidden;
}

.history-timeline {
  position: relative;
  max-width: 920px;
  margin: 36px auto 0;
  padding: 8px 0 0;
  list-style: none;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 999px;
}

.history-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 0;
  align-items: start;
  padding-bottom: 36px;
}

.history-item:last-child {
  padding-bottom: 0;
}

.history-node {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow:
    0 0 0 4px #ffffff,
    0 0 0 6px rgba(18, 104, 243, 0.18);
}

.history-item:first-child .history-node {
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  box-shadow:
    0 0 0 4px #ffffff,
    0 0 0 7px rgba(0, 194, 168, 0.22);
}

.history-content {
  grid-row: 1;
  max-width: 100%;
}

.history-item:nth-child(odd) .history-content {
  grid-column: 1;
  padding-right: 32px;
  justify-self: end;
  text-align: left;
}

.history-item:nth-child(even) .history-content {
  grid-column: 3;
  padding-left: 32px;
  justify-self: start;
  text-align: left;
}

.history-year {
  margin: 0 0 8px;
  color: var(--color-primary-dark);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.history-item:first-child .history-year {
  color: var(--color-primary);
}

.history-text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.dropdown-menu a {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  border-radius: 12px;
  transition:
    color 0.14s ease,
    background-color 0.14s ease;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  color: var(--color-primary-dark);
  background: transparent;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s ease;
}

.language-toggle:hover {
  color: var(--color-primary);
}

.language-toggle [data-lang-label] {
  color: var(--color-muted);
}

.language-toggle [data-lang-label].active {
  color: var(--color-primary);
}

.language-toggle .divider {
  color: #c8d1df;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(18, 104, 243, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-primary-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 100px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 194, 168, 0.16), transparent 28%),
    linear-gradient(135deg, #eef5ff 0%, #ffffff 56%, #f7fbff 100%);
}

.enhanced-motion .hero {
  isolation: isolate;
}

.enhanced-motion .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 104, 243, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 104, 243, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 92%);
  animation: tech-grid-pan-48 19s linear infinite;
}

.enhanced-motion .hero::after {
  content: "";
  position: absolute;
  width: min(88vw, 760px);
  height: min(88vw, 760px);
  top: -22%;
  right: -18%;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 104, 243, 0.14) 0%, transparent 68%);
  animation: tech-orb-drift 16s ease-in-out infinite alternate;
}

.enhanced-motion .hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: center;
}

.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-accent);
}

.enhanced-motion .eyebrow::before {
  animation: tech-accent-glow 3s ease-in-out infinite alternate;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
}

h1 {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(30px, 3.2vw, 44px);
}

h3 {
  font-size: 22px;
}

.lead {
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 14px 34px rgba(18, 104, 243, 0.28);
}

.enhanced-motion .button.primary {
  position: relative;
  overflow: hidden;
}

.enhanced-motion .button.primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 220, 196, 0.38),
    rgba(120, 255, 236, 0.22),
    transparent
  );
  transform: skewX(-16deg);
  animation: tech-btn-shine 5s ease-in-out infinite;
  pointer-events: none;
}

.button.secondary {
  color: var(--color-primary-dark);
  border-color: rgba(18, 104, 243, 0.18);
  background: #ffffff;
}

.button.light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.hero-card {
  padding: 16px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
}

.hero-card img {
  width: 100%;
  min-height: clamp(320px, 44vh, 540px);
  max-height: min(58vh, 560px);
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 26px;
  background: linear-gradient(180deg, #eef4fc 0%, #dce8fb 100%);
}

.rounded-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  background: #dce8fb;
}

.carousel-section {
  padding-bottom: 44px;
}

.carousel {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 34px;
  background: #0d1b34;
  box-shadow: var(--shadow-card);
}

.enhanced-motion .carousel {
  animation: tech-carousel-glow 7s ease-in-out infinite;
}

.carousel-track {
  position: absolute;
  inset: 0;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #dce8fb;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 27, 52, 0.82), rgba(13, 27, 52, 0.28), rgba(13, 27, 52, 0.08));
}

.enhanced-motion .carousel-slide::after {
  z-index: 2;
}

.carousel-caption {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  bottom: clamp(34px, 6vw, 72px);
  z-index: 1;
  max-width: 520px;
  color: #ffffff;
}

.enhanced-motion .carousel-caption {
  z-index: 3;
}

.carousel-caption span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 194, 168, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.carousel-caption h3 {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.3;
}

.carousel-caption p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.55;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.92);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.enhanced-motion .carousel-button {
  z-index: 5;
}

.carousel-button.prev {
  left: 22px;
}

.carousel-button.next {
  right: 22px;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.enhanced-motion .carousel-dots {
  z-index: 4;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dots button.active {
  width: 28px;
  background: #ffffff;
}

.section {
  padding: 88px 0;
}

.section.alt {
  position: relative;
  background: var(--color-light);
}

.enhanced-motion .section.alt::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 12% 18%, rgba(18, 104, 243, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 45% at 88% 82%, rgba(0, 194, 168, 0.06), transparent 50%);
  animation: tech-section-pulse 20s ease-in-out infinite alternate;
}

.enhanced-motion .section.alt > .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

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

.section-heading.center .eyebrow {
  justify-content: center;
}

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

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

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-card);
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.news-card[hidden] {
  display: none !important;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 104, 243, 0.22);
  box-shadow: 0 18px 40px rgba(23, 32, 51, 0.1);
}

.news-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(18, 104, 243, 0.08), rgba(0, 194, 168, 0.12));
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
}

.news-card__date {
  color: var(--color-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.news-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.news-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.65;
}

.news-card__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card__link:hover h3 {
  color: var(--color-primary);
}

.hero--article {
  padding-bottom: 48px;
}

.news-article-header {
  max-width: 820px;
}

.news-article-header h1 {
  margin-bottom: 0;
}

.news-article__date {
  display: block;
  margin-top: 12px;
  margin-bottom: 20px;
  color: var(--color-muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.news-article {
  max-width: 820px;
}

.news-article__cover {
  width: 100%;
  margin-bottom: 32px;
}

.news-article__content {
  display: grid;
  gap: 18px;
}

.news-article__content p {
  margin: 0;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.85;
}

.news-letter {
  padding: 36px 40px 44px;
  background: linear-gradient(180deg, #faf9f6 0%, #f5f3ef 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.news-letter__salutation {
  margin: 0 0 28px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-indent: 0;
}

.news-letter__body {
  display: grid;
  gap: 18px;
}

.news-letter__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.9;
  text-indent: 2em;
}

.news-letter__valediction,
.news-letter__salute {
  margin: 28px 0 0;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.6;
  text-indent: 0;
}

.news-letter__salute {
  margin-top: 4px;
}

.news-letter__salute:empty {
  display: none;
}

.news-letter__signature {
  margin-top: 40px;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.75;
  text-align: right;
}

.news-letter__signature p {
  margin: 0;
  text-indent: 0;
}

.news-letter__signature p + p {
  margin-top: 8px;
}

@media (max-width: 640px) {
  .news-letter {
    padding: 24px 20px 32px;
  }
}

.news-article__actions {
  margin-top: 40px;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.news-pagination__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.news-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.news-pagination__page {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(18, 104, 243, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary-dark);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.news-pagination__page:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 104, 243, 0.32);
  box-shadow: 0 10px 24px rgba(18, 104, 243, 0.12);
}

.news-pagination__page.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 10px 24px rgba(18, 104, 243, 0.24);
  transform: none;
}

.news-pagination__ellipsis {
  min-width: 28px;
  color: var(--color-muted);
  font-weight: 700;
  text-align: center;
}

.news-pagination__jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.news-pagination__jump-label {
  color: var(--color-muted);
  font-weight: 700;
}

.news-pagination__jump-input {
  width: 72px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(18, 104, 243, 0.18);
  border-radius: 14px;
  background: #ffffff;
  color: var(--color-text);
  font-weight: 700;
  text-align: center;
}

.news-pagination__jump-input:focus {
  outline: 2px solid rgba(18, 104, 243, 0.24);
  outline-offset: 2px;
  border-color: rgba(18, 104, 243, 0.32);
}

.news-pagination__jump-unit {
  color: var(--color-muted);
  font-weight: 700;
}

.news-pagination__btn--jump {
  min-width: 72px;
}

.news-pagination__btn {
  min-width: 88px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(18, 104, 243, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary-dark);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.news-pagination__btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(18, 104, 243, 0.32);
  box-shadow: 0 10px 24px rgba(18, 104, 243, 0.12);
}

.news-pagination__btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
  transform: none;
}

@media (max-width: 920px) {
  .news-pagination {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .news-pagination__controls {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
  }

  .news-pagination__pages {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .news-pagination__btn {
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .news-pagination__page {
    min-width: 36px;
    min-height: 40px;
    padding: 0 10px;
    font-size: 14px;
  }

  .news-pagination__ellipsis {
    min-width: 20px;
    font-size: 14px;
  }

  .news-pagination__jump {
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
  }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card,
.service-card,
.contact-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-card);
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.enhanced-motion .card::before,
.enhanced-motion .service-card::before,
.enhanced-motion .contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(18, 104, 243, 0),
    rgba(18, 104, 243, 0.18),
    rgba(0, 194, 168, 0.2),
    rgba(18, 104, 243, 0)
  );
  background-size: 200% 200%;
  animation: tech-border-flow 10s ease infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.enhanced-motion .card:hover::before,
.enhanced-motion .service-card:hover::before,
.enhanced-motion .contact-card:hover::before {
  opacity: 1;
}

.card:hover,
.service-card:hover,
.contact-card:hover,
.stat:hover,
.award-card:hover,
.capability-card:hover,
.credential-image:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 104, 243, 0.18);
  box-shadow: 0 18px 46px rgba(23, 32, 51, 0.1);
}

.card-icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 18px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 12px 24px rgba(18, 104, 243, 0.18);
}

.card-icon::before,
.card-icon::after,
.stat-icon::before,
.stat-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.step-number {
  position: absolute;
  top: 28px;
  right: 28px;
  color: rgba(18, 104, 243, 0.13);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.icon-platform::before {
  width: 24px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 7px;
}

.icon-platform::after {
  width: 22px;
  height: 3px;
  bottom: 12px;
  border-radius: 999px;
  background: currentColor;
}

/* 跨境电商运营：📈 折线图 + 增长动效 */
.icon-growth::before,
.icon-growth::after {
  display: none;
}

.icon-growth__svg {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
}

.icon-growth__line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.icon-growth__head {
  opacity: 0;
}

.icon-ecosystem::before {
  width: 28px;
  height: 28px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.icon-ecosystem::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 15px -8px 0 currentColor, 17px 12px 0 currentColor;
}

/* Home value cards — three card icons (scoped via .home-value-cards on index) */
.enhanced-motion .home-value-cards .card-icon {
  animation: stat-icon-badge-pulse 2.6s ease-out infinite;
}

.enhanced-motion .home-value-cards .icon-platform::before {
  animation: card-icon-platform-device 2.4s ease-in-out infinite;
}

.enhanced-motion .home-value-cards .icon-platform::after {
  transform-origin: center center;
  animation: card-icon-platform-bar 2.4s ease-in-out infinite;
}

.enhanced-motion .home-value-cards .icon-growth__line {
  animation: card-icon-growth-trend-draw 3s linear infinite;
}

.enhanced-motion .home-value-cards .icon-growth__head {
  animation: card-icon-growth-head-fade 3s linear infinite;
}

.enhanced-motion .home-value-cards .icon-ecosystem::before {
  animation: card-icon-ecosystem-ring 2.8s ease-in-out infinite;
}

.enhanced-motion .home-value-cards .icon-ecosystem::after {
  transform-origin: center center;
  animation: card-icon-ecosystem-orbit 5s linear infinite;
}

@keyframes card-icon-platform-device {
  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes card-icon-platform-bar {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 1;
  }

  50% {
    transform: scaleX(0.75);
    opacity: 0.82;
  }
}

@keyframes card-icon-growth-trend-draw {
  0% {
    stroke-dashoffset: 1;
  }

  72% {
    stroke-dashoffset: 0;
  }

  82% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 1;
  }
}

@keyframes card-icon-growth-head-fade {
  0%,
  71% {
    opacity: 0;
  }

  72%,
  82% {
    opacity: 1;
  }

  83%,
  100% {
    opacity: 0;
  }
}

@keyframes card-icon-ecosystem-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.07);
    opacity: 0.85;
  }
}

@keyframes card-icon-ecosystem-orbit {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.icon-diagnosis::before {
  width: 25px;
  height: 25px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.icon-diagnosis::after {
  width: 14px;
  height: 3px;
  right: 10px;
  bottom: 12px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.icon-plan::before {
  width: 24px;
  height: 28px;
  border: 3px solid currentColor;
  border-radius: 7px;
}

.icon-plan::after {
  width: 14px;
  height: 3px;
  top: 20px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 8px 0 currentColor;
}

.icon-launch::before {
  width: 26px;
  height: 26px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(-45deg);
}

.icon-launch::after {
  width: 16px;
  height: 16px;
  bottom: 13px;
  left: 15px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -6px 12px 0 rgba(255, 255, 255, 0.5);
}

.icon-review::before {
  width: 27px;
  height: 20px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.icon-review::after {
  width: 18px;
  height: 18px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(135deg) translate(-4px, -4px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stats-section {
  position: relative;
  overflow: hidden;
}

.stats-section::before,
.stats-section::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
}

.stats-section::before {
  top: -86px;
  left: -80px;
  background: radial-gradient(circle, rgba(18, 104, 243, 0.14), transparent 68%);
}

.stats-section::after {
  right: -76px;
  bottom: -98px;
  background: radial-gradient(circle, rgba(0, 194, 168, 0.16), transparent 68%);
}

.stat {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 32px rgba(23, 32, 51, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.stat::after,
.award-card::after,
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0, 210, 188, 0.35) 42%,
    rgba(64, 246, 226, 0.5) 52%,
    rgba(0, 210, 188, 0.28) 62%,
    transparent 75%
  );
  opacity: 0;
  transform: translateX(-120%);
}

.stat:hover::after,
.award-card:hover::after,
.service-card:hover::after {
  opacity: 1;
  transform: translateX(120%);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.stat-icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(18, 104, 243, 0.12), rgba(0, 194, 168, 0.12));
}

.icon-store::before {
  width: 25px;
  height: 17px;
  bottom: 11px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.icon-store::after {
  width: 30px;
  height: 10px;
  top: 11px;
  border-radius: 8px 8px 3px 3px;
  background: currentColor;
  box-shadow: 0 9px 0 -5px rgba(255, 255, 255, 0.78);
}

.icon-award::before {
  width: 24px;
  height: 24px;
  top: 9px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.icon-award::after {
  width: 19px;
  height: 16px;
  bottom: 7px;
  background: currentColor;
  clip-path: polygon(50% 0, 66% 42%, 100% 42%, 72% 62%, 84% 100%, 50% 76%, 16% 100%, 28% 62%, 0 42%, 34% 42%);
}

.icon-insight::before {
  width: 28px;
  height: 28px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.icon-insight::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 10px 0 0 currentColor, 5px -10px 0 currentColor;
}

.icon-service::before {
  width: 27px;
  height: 19px;
  border: 3px solid currentColor;
  border-radius: 8px;
}

.icon-service::after {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 8px 0 currentColor;
}

/* Home stats row — icon motion (scoped to .stats-section) */
.enhanced-motion .stats-section .stat-icon {
  animation: stat-icon-badge-pulse 2.6s ease-out infinite;
}

.enhanced-motion .stats-section .icon-store::before {
  transform-origin: center bottom;
  animation: stat-icon-store-base 2.2s ease-in-out infinite;
}

.enhanced-motion .stats-section .icon-store::after {
  transform-origin: center top;
  animation: stat-icon-store-awning 2.2s ease-in-out infinite;
}

.enhanced-motion .stats-section .icon-award::before {
  animation: stat-icon-award-ring 2.4s ease-in-out infinite;
}

.enhanced-motion .stats-section .icon-award::after {
  transform-origin: center center;
  animation: stat-icon-award-medal 1.9s ease-in-out infinite;
}

.enhanced-motion .stats-section .icon-insight::after {
  transform-origin: center center;
  animation: stat-icon-insight-orbit 5s linear infinite;
}

.enhanced-motion .stats-section .icon-service::before {
  animation: stat-icon-service-card 2.5s ease-in-out infinite;
}

.enhanced-motion .stats-section .icon-service::after {
  animation: stat-icon-service-lines 1.7s ease-in-out infinite;
}

@keyframes stat-icon-badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(18, 104, 243, 0);
  }

  48% {
    box-shadow: 0 0 0 7px rgba(18, 104, 243, 0.1);
  }

  72% {
    box-shadow: 0 0 0 12px rgba(18, 104, 243, 0);
  }
}

@keyframes stat-icon-store-awning {
  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes stat-icon-store-base {
  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(0.96);
  }
}

@keyframes stat-icon-award-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.06);
    opacity: 0.88;
  }
}

@keyframes stat-icon-award-medal {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  35% {
    transform: scale(1.05) rotate(-4deg);
  }

  70% {
    transform: scale(1.05) rotate(4deg);
  }
}

@keyframes stat-icon-insight-orbit {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes stat-icon-service-card {
  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes stat-icon-service-lines {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 8px 0 currentColor;
  }

  50% {
    opacity: 0.72;
    box-shadow: 0 5px 0 currentColor, 0 11px 0 currentColor;
  }
}

.stat strong {
  display: block;
  color: var(--color-primary);
  font-size: 34px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--color-muted);
}

.service-catalog {
  display: grid;
  gap: 56px;
}

.service-category {
  scroll-margin-top: 110px;
}

.service-category__header {
  max-width: 760px;
  margin-bottom: 28px;
}

.service-category__title {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.service-list {
  display: grid;
  gap: 28px;
}

.service-card--product {
  border: 1px solid rgba(18, 104, 243, 0.14);
  background: linear-gradient(135deg, rgba(18, 104, 243, 0.04) 0%, rgba(0, 194, 168, 0.05) 100%);
}

.service-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: center;
  scroll-margin-top: 110px;
}

.service-card__media {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card__media:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.service-card__media:hover img {
  transform: scale(1.02);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  background: #dce8fb;
  transition: transform 0.25s ease;
}

.service-title-link {
  color: inherit;
  transition: color 0.2s ease;
}

.service-title-link:hover {
  color: var(--color-primary);
}

.detail-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding-left: 18px;
  border-left: 3px solid var(--color-accent);
  color: var(--color-muted);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.credential-grid .credential-image {
  margin-top: 0;
}

.credential-image {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
}

.credential-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  background: #dce8fb;
}

.credential-image--ratio-3-4 {
  width: min(100%, 360px);
  margin-left: auto;
  margin-right: auto;
}

.credential-image--ratio-3-4 img {
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.credential-image--ratio-16-9 img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.credential-image span {
  display: block;
  padding: 14px 18px;
  color: var(--color-muted);
  font-weight: 800;
  text-align: center;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.capability-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: #ffffff;
}

.capability-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #dce8fb;
}

.capability-grid--member-certs .capability-card img {
  aspect-ratio: 66 / 93;
  object-fit: contain;
}

.capability-card span {
  display: block;
  padding: 12px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag-list span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: rgba(18, 104, 243, 0.08);
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.philosophy-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.philosophy-list article {
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #ffffff;
}

.philosophy-list strong {
  display: block;
  color: var(--color-primary-dark);
  font-size: 18px;
}

.philosophy-list span {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
}

.award-grid {
  --award-cols: 4;
  --award-gap: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--award-gap);
}

.award-grid-break {
  flex: 0 0 100%;
  width: 0;
  height: 0;
  overflow: hidden;
}

.award-card {
  position: relative;
  flex: 0 0
    calc((100% - (var(--award-cols) - 1) * var(--award-gap)) / var(--award-cols));
  width: calc((100% - (var(--award-cols) - 1) * var(--award-gap)) / var(--award-cols));
  max-width: calc((100% - (var(--award-cols) - 1) * var(--award-gap)) / var(--award-cols));
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: #ffffff;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.award-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  background: #dce8fb;
}

.award-card:nth-child(n + 19) img {
  aspect-ratio: 2 / 3;
}

/* award-18～25：另起一行，卡片略小（桌面约 5 列） */
.award-card:nth-child(n + 19) {
  flex: 0 0 calc((100% - 4 * var(--award-gap)) / 5);
  width: calc((100% - 4 * var(--award-gap)) / 5);
  max-width: calc((100% - 4 * var(--award-gap)) / 5);
}

.award-card:nth-child(n + 19) span {
  padding: 10px 12px;
  font-size: 13px;
}

.award-card span {
  display: block;
  padding: 12px 14px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.contact-card + .contact-card {
  margin-top: 16px;
}

.contact-card strong {
  display: block;
  color: var(--color-primary-dark);
  font-size: 18px;
}

.contact-card span {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
}

.contact-card-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-badge {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid transparent;
}

.contact-icon-svg {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
}

.contact-icon-svg--wechat {
  width: 24px;
  height: 24px;
  margin-bottom: -1px;
}

.contact-icon-ring {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border-width: 2px;
  border-style: solid;
  opacity: 0;
  pointer-events: none;
  animation: contact-icon-wave 1.85s ease-out infinite;
}

.contact-icon-ring--b {
  animation-delay: 0.65s;
}

.contact-icon-badge--phone {
  color: var(--color-accent);
  background: linear-gradient(145deg, rgba(0, 194, 168, 0.18), rgba(18, 104, 243, 0.1));
  border-color: rgba(0, 194, 168, 0.35);
  box-shadow: 0 0 0 0 rgba(0, 194, 168, 0.35);
  animation: contact-icon-badge-pulse-phone 2s ease-out infinite;
}

.contact-icon-badge--phone .contact-icon-ring {
  border-color: rgba(0, 210, 190, 0.55);
}

.contact-icon-svg--phone {
  animation: contact-icon-jiggle-phone 0.45s ease-in-out infinite;
}

.contact-icon-badge--email {
  color: var(--color-primary);
  background: linear-gradient(145deg, rgba(18, 104, 243, 0.14), rgba(0, 194, 168, 0.08));
  border-color: rgba(18, 104, 243, 0.32);
  box-shadow: 0 0 0 0 rgba(18, 104, 243, 0.25);
  animation: contact-icon-badge-pulse-email 2.35s ease-out infinite;
}

.contact-icon-badge--email .contact-icon-ring {
  border-color: rgba(18, 104, 243, 0.45);
}

.contact-icon-svg--email {
  animation: contact-icon-bob-email 1.85s ease-in-out infinite;
}

.contact-icon-badge--address {
  color: var(--color-accent);
  background: linear-gradient(145deg, rgba(0, 206, 190, 0.2), rgba(18, 104, 243, 0.12));
  border-color: rgba(0, 194, 168, 0.38);
  animation: contact-icon-badge-pulse-address 2.2s ease-out infinite;
}

.contact-icon-badge--address .contact-icon-ring {
  border-color: rgba(72, 220, 200, 0.55);
}

.contact-icon-svg--address {
  animation: contact-icon-bounce-address 0.9s ease-in-out infinite;
}

.contact-icon-badge--wechat {
  color: #12b886;
  background: linear-gradient(145deg, rgba(22, 200, 128, 0.16), rgba(18, 104, 243, 0.08));
  border-color: rgba(22, 200, 128, 0.38);
  animation: contact-icon-badge-pulse-wechat 2.15s ease-out infinite;
}

.contact-icon-badge--wechat .contact-icon-ring {
  border-color: rgba(22, 200, 128, 0.5);
}

.contact-icon-svg--wechat {
  animation: contact-icon-wiggle-wechat 0.52s ease-in-out infinite;
}

.contact-card-with-icon-text {
  min-width: 0;
}

.contact-card-with-icon-text span {
  margin-top: 6px;
}

@keyframes contact-icon-jiggle-phone {
  0%,
  100% {
    transform: rotate(-10deg) translate(0, 0);
  }

  20% {
    transform: rotate(11deg) translate(-1px, -1px);
  }

  45% {
    transform: rotate(-9deg) translate(2px, 1px);
  }

  72% {
    transform: rotate(10deg) translate(-2px, 0);
  }
}

@keyframes contact-icon-wave {
  0% {
    transform: scale(0.92);
    opacity: 0.58;
  }

  75% {
    opacity: 0;
  }

  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

@keyframes contact-icon-badge-pulse-email {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(18, 104, 243, 0);
  }

  45% {
    box-shadow: 0 0 18px rgba(18, 104, 243, 0.32);
  }

  72% {
    box-shadow: 0 0 0 10px rgba(18, 104, 243, 0);
  }
}

@keyframes contact-icon-badge-pulse-phone {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 194, 168, 0);
  }

  40% {
    box-shadow: 0 0 22px rgba(0, 210, 190, 0.35);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 210, 190, 0);
  }
}

@keyframes contact-icon-badge-pulse-address {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 194, 168, 0);
  }

  48% {
    box-shadow: 0 0 20px rgba(72, 220, 200, 0.32);
  }

  73% {
    box-shadow: 0 0 0 11px rgba(72, 220, 200, 0);
  }
}

@keyframes contact-icon-badge-pulse-wechat {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 200, 128, 0);
  }

  42% {
    box-shadow: 0 0 20px rgba(22, 200, 128, 0.35);
  }

  68% {
    box-shadow: 0 0 0 10px rgba(22, 200, 128, 0);
  }
}

@keyframes contact-icon-bob-email {
  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes contact-icon-bounce-address {
  0%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-6px);
  }

  50% {
    transform: translateY(2px);
  }

  70% {
    transform: translateY(-3px);
  }
}

@keyframes contact-icon-wiggle-wechat {
  0%,
  100% {
    transform: rotate(-6deg);
  }

  25% {
    transform: rotate(7deg);
  }

  50% {
    transform: rotate(-5deg) scale(1.05);
  }

  75% {
    transform: rotate(6deg);
  }
}

.footer {
  padding: 48px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: #0d1b34;
}

.enhanced-motion [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.enhanced-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.enhanced-motion .nav-menu > li:not(:last-child) > a:hover {
  box-shadow:
    inset 0 0 0 1px rgba(18, 104, 243, 0.12),
    0 0 18px rgba(18, 104, 243, 0.1);
}

.enhanced-motion .brand-logo,
.enhanced-motion .footer-logo {
  transition: transform 0.25s ease;
}

.enhanced-motion .brand:hover .brand-logo,
.enhanced-motion .footer-brand-heading:hover .footer-logo {
  transform: rotate(-5deg) scale(1.06);
}

.enhanced-motion .hero-card img,
.enhanced-motion .rounded-image,
.enhanced-motion .service-card img,
.enhanced-motion .award-card img,
.enhanced-motion .capability-card img,
.enhanced-motion .credential-image img {
  transition: transform 0.45s ease;
}

.enhanced-motion .hero-card:hover img,
.enhanced-motion .rounded-image:hover,
.enhanced-motion .service-card:hover img,
.enhanced-motion .award-card:hover img,
.enhanced-motion .capability-card:hover img,
.enhanced-motion .credential-image:hover img {
  transform: scale(1.025);
}

.enhanced-motion .card:hover .card-icon,
.enhanced-motion .stat:hover .stat-icon {
  transform: translateY(-3px) scale(1.05);
}

.enhanced-motion .card-icon,
.enhanced-motion .stat-icon {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.enhanced-motion .stats-section::before {
  animation: soft-float 8s ease-in-out infinite;
}

.enhanced-motion .stats-section::after {
  animation: soft-float 9s ease-in-out infinite reverse;
}

.enhanced-motion .stat strong {
  transition: color 0.24s ease, transform 0.24s ease;
}

.enhanced-motion .stat:hover strong {
  color: var(--color-primary-dark);
  transform: translateX(2px);
}

.enhanced-motion .award-card:hover span {
  color: var(--color-primary-dark);
}

.enhanced-motion .tag-list span {
  /* Only transition paint props — animated transform makes hit‑targets slide under the cursor and flicker between neighbors */
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.enhanced-motion .tag-list span:hover {
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 0 6px 18px rgba(18, 104, 243, 0.28);
}

/* Pan distance must equal background-size for a gapless infinite loop */
@keyframes tech-grid-pan-64 {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 64px 64px, 64px 64px;
  }
}

@keyframes tech-grid-pan-48 {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 48px 48px, 48px 48px;
  }
}

@keyframes tech-orb-drift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.85;
  }

  100% {
    transform: translate(-26px, 20px) scale(1.05);
    opacity: 1;
  }
}

@keyframes tech-btn-shine {
  0%,
  65% {
    left: -120%;
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  82% {
    left: 130%;
    opacity: 0;
  }

  100% {
    left: 130%;
    opacity: 0;
  }
}

@keyframes tech-section-pulse {
  0% {
    opacity: 0.78;
  }

  100% {
    opacity: 1;
  }
}

@keyframes tech-header-line {
  0% {
    opacity: 0.52;
  }

  100% {
    opacity: 0.95;
  }
}

@keyframes tech-carousel-glow {
  0%,
  100% {
    box-shadow:
      var(--shadow-card),
      0 0 0 1px rgba(0, 194, 168, 0.15),
      0 0 28px rgba(18, 104, 243, 0.2);
  }

  50% {
    box-shadow:
      var(--shadow-card),
      0 0 0 1px rgba(18, 104, 243, 0.22),
      0 0 44px rgba(0, 194, 168, 0.24);
  }
}

@keyframes tech-border-flow {
  0% {
    background-position: 0% 42%;
  }

  50% {
    background-position: 100% 58%;
  }

  100% {
    background-position: 0% 42%;
  }
}

@keyframes tech-accent-glow {
  0% {
    box-shadow: 0 0 0 rgba(0, 194, 168, 0);
  }

  100% {
    box-shadow: 0 0 12px rgba(0, 194, 168, 0.42);
  }
}

@keyframes soft-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(16px, 12px, 0) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .enhanced-motion [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .contact-icon-svg,
  .contact-icon-ring,
  .contact-icon-badge {
    animation: none !important;
    box-shadow: none !important;
  }

  .contact-icon-ring {
    display: none !important;
  }

  .enhanced-motion .stats-section .stat-icon,
  .enhanced-motion .stats-section .stat-icon::before,
  .enhanced-motion .stats-section .stat-icon::after,
  .enhanced-motion .home-value-cards .card-icon,
  .enhanced-motion .home-value-cards .card-icon::before,
  .enhanced-motion .home-value-cards .card-icon::after,
  .enhanced-motion .home-value-cards .icon-growth__line {
    animation: none !important;
    box-shadow: none !important;
    stroke-dashoffset: 0 !important;
  }

  .enhanced-motion .home-value-cards .icon-growth__head {
    animation: none !important;
    opacity: 1 !important;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.85fr 1.35fr 0.9fr;
  gap: 34px;
}

.footer strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
}

.footer-brand-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer p {
  max-width: 520px;
  margin: 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 16px;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.78);
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-column b {
  display: inline-flex;
  min-width: 74px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.footer-contact-line em {
  color: rgba(255, 255, 255, 0.58);
  font-style: normal;
  line-height: 1.65;
}

.footer-qr img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
}

.footer-bottom {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.filing-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filing-info img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

@media (max-width: 920px) {
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: none;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    max-height: min(calc(100dvh - 96px), 640px);
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
  }

  .nav-menu.open {
    display: flex;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-menu > li:not(.nav-menu__footer) {
    flex-shrink: 0;
  }

  .nav-menu__footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    flex-shrink: 0;
    margin-top: 8px;
    padding: 10px 4px 4px;
    border-top: 1px solid var(--color-border);
    background: #ffffff;
  }

  .nav-menu a {
    width: 100%;
    justify-content: flex-start;
  }

  .language-toggle {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    background: rgba(18, 104, 243, 0.06);
  }

  .nav-dropdown > .nav-dropdown__entry.active {
    color: #28324a;
    background: transparent;
  }

  .nav-dropdown.is-open > .nav-dropdown__entry {
    color: var(--color-primary);
    background: rgba(18, 104, 243, 0.08);
  }

  .nav-dropdown__entry {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-dropdown__entry::after {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .nav-dropdown.is-open .nav-dropdown__entry::after {
    transform: rotate(-135deg);
  }

  .nav-dropdown .dropdown-menu {
    display: none;
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    padding: 4px 0 8px 12px;
    min-width: 0;
    width: 100%;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: flex;
  }

  .dropdown-menu--about,
  .dropdown-menu--news,
  .dropdown-menu--services {
    min-width: 0;
    width: 100%;
  }

  .dropdown-menu__label {
    padding-left: 0;
  }

  .dropdown-menu__label:not(:first-child) {
    margin-top: 10px;
    padding-top: 12px;
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .service-card {
    grid-template-columns: 1fr;
  }

  .award-grid {
    --award-cols: 2;
  }

  .award-card:nth-child(n + 19) {
    flex: 0 0 calc(((100% - var(--award-gap)) / 2) * 0.82);
    width: calc(((100% - var(--award-gap)) / 2) * 0.82);
    max-width: calc(((100% - var(--award-gap)) / 2) * 0.82);
  }

  .card-grid,
  .news-grid,
  .process-grid,
  .capability-grid,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .carousel {
    border-radius: 24px;
  }

  .carousel-caption {
    left: 16px;
    right: 16px;
    bottom: 36px;
    max-width: none;
  }

  .carousel-caption span {
    margin-bottom: 4px;
    padding: 3px 8px;
    font-size: 11px;
  }

  .carousel-caption h3 {
    font-size: 15px;
    line-height: 1.22;
  }

  .carousel-caption p {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.34;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: calc(1.34em * 3);
    overflow: hidden;
  }

  .carousel-dots {
    bottom: 12px;
    gap: 8px;
  }

  .carousel-dots button {
    width: 8px;
    height: 8px;
  }

  .carousel-dots button.active {
    width: 24px;
  }

  .hero-card {
    padding: 10px;
    border-radius: 24px;
  }

  .hero-card img {
    display: block;
    min-height: 0;
    max-height: none;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    background: #e8f0fa;
  }
}

@media (max-width: 620px) {
  .container,
  .navbar {
    width: min(100% - 28px, var(--container-width));
  }

  .hero,
  .section {
    padding: 64px 0;
  }

  .hero-card {
    padding: 8px;
  }

  .hero-card img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .carousel-button {
    display: none;
  }

  .carousel-caption {
    left: 12px;
    right: 12px;
    bottom: 32px;
  }

  .carousel-caption span {
    margin-bottom: 3px;
    padding: 2px 7px;
    font-size: 10px;
  }

  .carousel-caption h3 {
    font-size: 14px;
    line-height: 1.2;
  }

  .carousel-caption p {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.32;
    min-height: calc(1.32em * 3);
  }

  .carousel-dots {
    bottom: 10px;
    gap: 6px;
  }

  .award-grid {
    --award-cols: 1;
  }

  .award-card:nth-child(n + 19) {
    flex: 0 0 min(72%, 300px);
    width: min(72%, 300px);
    max-width: min(72%, 300px);
  }

  .card-grid,
  .news-grid,
  .process-grid,
  .capability-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

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

  .history-timeline {
    max-width: 100%;
    padding-left: 4px;
  }

  .history-timeline::before {
    left: 11px;
    transform: none;
  }

  .history-item {
    grid-template-columns: 24px minmax(0, 1fr);
    padding-bottom: 28px;
  }

  .history-node {
    grid-column: 1;
    justify-self: center;
  }

  .history-item:nth-child(odd) .history-content,
  .history-item:nth-child(even) .history-content {
    grid-column: 2;
    padding-right: 0;
    padding-left: 20px;
    text-align: left;
  }
}

.lightbox-zoomable {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
}

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

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 52, 0.9);
}

.image-lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(96vw, 1200px);
  max-height: 92vh;
}

.image-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 56px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  background: #ffffff;
}

.image-lightbox__caption {
  margin: 0;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.image-lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.image-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.05);
}

@media (max-width: 620px) {
  .image-lightbox__close {
    top: 8px;
    right: 8px;
    background: rgba(13, 27, 52, 0.55);
  }

  .image-lightbox__panel {
    width: 100%;
  }
}
