/* ============================================================
   天齐集团品牌官网 — 组件样式
   Buttons · Navigation · Cards · Data · Footer · Forms
   ============================================================ */

/* ============================================================
   Buttons
   ============================================================ */
/* ============================================================
   Buttons — Uiverse-inspired
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: 1;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

/* Primary: gradient bg + glow hover */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  color: var(--color-white);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px oklch(0.58 0.14 198 / 0.35),
    0 0 0 3px oklch(0.58 0.14 198 / 0.12);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px oklch(0.58 0.14 198 / 0.25);
}

/* Outline: border + sweep light on hover */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  overflow: hidden;
}
/* Sweep light pseudo-element */
.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, oklch(0.58 0.14 198 / 0.12), transparent);
  transition: left var(--duration-slow) var(--ease-out);
}
.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px oklch(0.58 0.14 198 / 0.3),
    0 0 0 3px oklch(0.58 0.14 198 / 0.10);
  border-color: var(--color-primary);
}
.btn-outline:hover::before {
  left: 100%;
}
.btn-outline:active {
  transform: translateY(0);
}

/* Ghost: minimal */
.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  padding: 0.5rem 1rem;
}
.btn-ghost:hover {
  background-color: var(--color-surface);
  color: var(--color-primary);
}

/* Light: glass effect for dark backgrounds */
.btn-light {
  background: oklch(1.000 0.000 0 / 0.12);
  color: var(--color-white);
  border: 1px solid oklch(1.000 0.000 0 / 0.2);
  backdrop-filter: blur(8px);
}
.btn-light:hover {
  background: oklch(1.000 0.000 0 / 0.22);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border-color: oklch(1.000 0.000 0 / 0.35);
}
.btn-light:active {
  transform: translateY(0);
}

/* Sizes */
.btn-sm { padding: 0.5rem 1.25rem; font-size: var(--text-sm); }
.btn-lg { padding: 1rem 2.25rem; font-size: var(--text-lg); border-radius: var(--radius-md); }

/* ============================================================
   Navigation
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--header-height);
  background-color: var(--color-bg);
  transition: background-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

/* Scroll state: add shadow and slight blur bg */
.site-header.scrolled {
  background-color: oklch(1.000 0.000 0 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: var(--weight-bold);
  font-size: var(--text-xl);
  color: var(--color-ink);
  flex-shrink: 0;
}
.header-logo img {
  height: 40px;
  width: auto;
}

/* Nav links */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-ink-light);
  padding: 0.25rem 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

/* Active indicator: bottom line */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg);
  z-index: calc(var(--z-sticky) - 1);
  padding: var(--space-2xl) var(--space-xl);
  overflow-y: auto;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav .nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.mobile-nav .nav-link {
  display: block;
  padding: var(--space-md) 0;
  font-size: var(--text-lg);
  border-bottom: 1px solid var(--color-border);
}


/* ============================================================
   Section Headers
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--color-muted);
  margin-inline: auto;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  border-color: oklch(0.58 0.14 198 / 0.4);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.08),
    0 0 0 1px oklch(0.58 0.14 198 / 0.15);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: var(--text-xl);
}

.card-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.card-desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* ============================================================
   Data / Stats Display
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-number);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  line-height: var(--leading-tight);
}

.stat-label {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* When stats are on dark bg */
.bg-primary .stat-label,
.bg-dark .stat-label {
  color: oklch(0.85 0.01 200);
}
.bg-primary .stat-number,
.bg-dark .stat-number {
  color: var(--color-white);
}

/* ============================================================
   Timeline (Development History)
   ============================================================ */
.timeline {
  position: relative;
  padding-left: var(--space-2xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background-color: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-2xl) - 4px);
  top: 6px;
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}

.timeline-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin: var(--space-xs) 0;
}

.timeline-desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background-color: oklch(0.28 0.055 198);
  color: oklch(0.92 0.015 198);
  padding-block: var(--space-4xl) var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: oklch(0.88 0.015 198);
  line-height: var(--leading-relaxed);
}

.footer-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: var(--text-sm);
  color: oklch(0.88 0.015 198);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid oklch(0.50 0.04 198);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: oklch(0.82 0.012 198);
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* 页脚备案信息 */
.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-lg);
}

/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-white);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
}
.footer-logo img {
  height: 36px;
  width: auto;
}

/* ============================================================
   Forms
   ============================================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  font-family: var(--font-sans);
  color: var(--color-ink);
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: oklch(0.70 0.003 200);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================
   Scroll Reveal Animations
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero title entry — larger movement, slower */
.hero-new-title[data-reveal] {
  transform: translateY(40px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Counter glow animation */
@keyframes counter-glow {
  0%   { text-shadow: 0 0 0 oklch(0.58 0.14 198 / 0); }
  50%  { text-shadow: 0 0 18px oklch(0.58 0.14 198 / 0.5); }
  100% { text-shadow: 0 0 0 oklch(0.58 0.14 198 / 0); }
}

.highlight-number.glow {
  animation: counter-glow 1.2s ease-out;
}

/* Reduced motion: instant reveal */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Responsive: Components
   ============================================================ */
@media (max-width: 1199px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

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

@media (max-width: 767px) {
  /* Show hamburger, hide desktop nav */
  .menu-toggle {
    display: flex;
  }

  .nav-list.desktop {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }


  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

/* ============================================================
   New Hero (Anker-inspired)
   ============================================================ */
.hero-new {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-new-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

/* ============================================================
   Hero Brand Background — 品牌色渐变（备用）
   ============================================================ */
.hero-brand-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background:
    /* 主渐变：深青蓝到近黑 */
    linear-gradient(
      160deg,
      oklch(0.22 0.05 200) 0%,
      oklch(0.14 0.03 198) 35%,
      oklch(0.10 0.015 200) 65%,
      oklch(0.06 0.008 210) 100%
    );
}

/* Subtle grain texture overlay */
.hero-brand-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}

.hero-new-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.20) 50%,
    rgba(0,0,0,0.55) 100%
  );
}

.hero-new-body {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
  padding-bottom: 120px;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero-new-kicker {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: oklch(0.90 0.01 198);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
}

.hero-new-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero-new-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: oklch(0.82 0.015 200);
  line-height: 1.7;
  max-width: 560px;
}

/* Hero bottom highlight bar */
.hero-highlights {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: oklch(1.000 0.000 0 / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid oklch(0.90 0.003 200);
  padding-block: var(--space-xl);
}

.highlights-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg); /* 9 子项 8 间隔：原 3xl(64px) 总宽 512px 超容器导致压缩换行，收紧至 24px */
}

.highlight-item {
  text-align: center;
}

.highlight-number {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-number);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  line-height: 1.1;
  white-space: nowrap; /* 防止 flex 压缩时数字与后缀断成两行 */
}

/* 数字后缀（万平方英尺/亿+/+）：小号非等宽，避免长后缀与大字号数字混杂失衡 */
.highlight-number .highlight-suffix {
  font-family: var(--font-sans);
  font-size: 0.4em;
  font-weight: var(--weight-medium);
  margin-left: 0.1em;
  white-space: nowrap;
}

.highlight-label {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.highlight-divider {
  width: 1px;
  height: 48px;
  background-color: var(--color-border);
}

/* ============================================================
   Split Row (alternating image + text)
   ============================================================ */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.split-text .section-desc {
  margin-bottom: var(--space-2xl);
}

.split-stats {
  display: flex;
  gap: var(--space-3xl);
}

.split-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-number);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  line-height: 1.1;
}
.split-stat-num .text-sm {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split-media img,
.split-media video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.split-media-placeholder {
  aspect-ratio: 4/3;
  background-color: var(--color-surface-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

/* ============================================================
   Card Feature (icon + text)
   ============================================================ */
.card-feature {
  padding: var(--space-2xl);
}

.card-feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

/* ============================================================
   Platform Grid
   ============================================================ */
.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  max-width: 900px;
  margin-inline: auto;
}

.platform-item {
  padding: 0.75rem 2rem;
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-ink-light);
  letter-spacing: 0.02em;
  transition: all var(--duration-normal) var(--ease-out);
}

.platform-item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* ============================================================
   Horizontal Timeline
   ============================================================ */
.timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.timeline-horizontal::before {
  content: '';
  position: absolute;
  top: 8px;
  left: calc(10% + 4px);
  right: calc(10% + 4px);
  height: 2px;
  background-color: var(--color-border);
}

.tl-h-item {
  position: relative;
  padding-top: var(--space-2xl);
  text-align: center;
}

.tl-h-dot {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-primary);
  z-index: 1;
}

.tl-h-year {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.tl-h-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
}

.tl-h-desc {
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   Honors 企业荣誉
   ============================================================ */
.honors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.honor-card {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-surface);
  cursor: zoom-in;
  aspect-ratio: 3 / 2;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.honor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.honor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   合作平台 — 全球电商平台墙
   ============================================================ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}
.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.platform-logo {
  height: 30px;
  max-width: 75%;
  object-fit: contain;
  display: block;
}
.platform-text {
  height: 30px;
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand, var(--color-ink));
}
.platform-name {
  font-size: var(--text-xs);
  color: var(--color-ink-light);
}
@media (max-width: 900px) {
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 荣誉大图查看器 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: var(--space-lg);
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 1199px) {
  .honors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .honors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

/* ============================================================
   News Card
   ============================================================ */
.news-card {
  display: block;
  padding: var(--space-2xl);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  border-left-color: var(--color-primary);
}

.news-card-date {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.news-card-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
  line-height: var(--leading-snug);
}

.news-card-excerpt {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   Join Us
   ============================================================ */
.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  max-width: 800px;
  margin-inline: auto;
}

.join-card {
  background: oklch(1.000 0.000 0 / 0.12);
  border: 1px solid oklch(1.000 0.000 0 / 0.18);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  transition: transform var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.join-card:hover {
  background: oklch(1.000 0.000 0 / 0.20);
  border-color: oklch(1.000 0.000 0 / 0.30);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px oklch(0.58 0.14 198 / 0.25);
}

.join-card-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.join-card-desc {
  font-size: var(--text-sm);
  color: oklch(0.82 0.015 200);
  margin-bottom: var(--space-xl);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   Contact Grid
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--space-3xl);
  max-width: 960px;
  margin-inline: auto;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding: var(--space-2xl);
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-item span:last-child {
  font-size: var(--text-base);
  color: var(--color-ink);
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-form-card {
  padding: var(--space-2xl);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

/* ============================================================
   Responsive: New Components
   ============================================================ */
@media (max-width: 1199px) {
  .split-row {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .split-media {
    order: -1;
  }

  .timeline-horizontal {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-horizontal::before {
    display: none;
  }

  .tl-h-item {
    padding-top: 0;
    text-align: left;
    padding-left: var(--space-xl);
    border-left: 2px solid var(--color-border);
    padding-bottom: var(--space-lg);
  }

  .tl-h-dot {
    top: 0;
    left: -8px;
    transform: none;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }
}

@media (max-width: 767px) {
  .hero-highlights {
    position: relative;
  }

  .hero-new-body {
    min-height: auto;
    padding-bottom: var(--space-4xl);
  }

  .highlights-row {
    flex-wrap: wrap;
    gap: var(--space-lg) var(--space-2xl);
  }

  .highlight-divider {
    display: none;
  }

  .highlight-item {
    flex: 1 1 40%;
    min-width: 120px;
  }

  .split-stats {
    gap: var(--space-xl);
    flex-wrap: wrap;
  }

  .timeline-horizontal {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .platform-item {
    padding: 0.5rem 1.25rem;
    font-size: var(--text-xs);
  }

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

/* ============================================================
   Business Categories (Expanded)
   ============================================================ */
.biz-category {
  margin-top: var(--space-5xl);
}
.biz-category:first-child {
  margin-top: 0;
}

/* Category header */
.biz-cat-header {
  margin-bottom: var(--space-2xl);
}

.biz-cat-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.biz-cat-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
}

.biz-cat-desc {
  font-size: var(--text-base);
  color: var(--color-muted);
  max-width: 560px;
}

/* 长数据文案：保持整句单行，不被 CJK 断行规则在句中断开（移动端降级为自然换行防溢出） */
.biz-cat-desc.nowrap {
  white-space: nowrap;
  max-width: none;
}
@media (max-width: 1199px) {
  .biz-cat-desc.nowrap {
    white-space: normal;
  }
}

/* == Product grid — 2×2 for landscape images == */
.biz-cat-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 1000px;
  margin-inline: auto;
}

.biz-cat-card {
  text-align: center;
  transition: transform var(--duration-normal) var(--ease-out);
}

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

.biz-cat-card:hover .biz-cat-label {
  color: var(--color-primary);
}

.biz-cat-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  background-color: var(--color-surface-alt);
}

.biz-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.biz-cat-card:hover .biz-cat-img img {
  transform: scale(1.05);
}

.biz-cat-label {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-ink);
  transition: color var(--duration-normal) var(--ease-out);
}

/* == Channel showcase == */
.biz-channel-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(145deg, oklch(0.18 0.035 200) 0%, oklch(0.10 0.018 200) 60%, oklch(0.06 0.008 210) 100%);
}

/* Background grid pattern — global network feel */
.channel-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    /* subtle map grid lines */
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Glow orbs behind badges */
.channel-grid-bg::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  top: -100px; right: -50px;
  background: radial-gradient(circle, oklch(0.58 0.14 198 / 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.channel-grid-bg::after {
  content: '';
  position: absolute;
  width: 250px; height: 250px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, oklch(0.58 0.14 198 / 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.channel-showcase-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-lg);
  padding: var(--space-4xl) var(--space-3xl);
}

.channel-badge {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: oklch(0.88 0.018 200);
  background: oklch(1.000 0.000 0 / 0.08);
  border: 1px solid oklch(1.000 0.000 0 / 0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: all var(--duration-normal) var(--ease-out);
  letter-spacing: 0.02em;
}

.channel-badge:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px oklch(0.50 0.14 198 / 0.35);
}

/* == Logistics Network Map == */
.logistics-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  background: oklch(0.09 0.01 200);
  border: 1px solid oklch(0.30 0.015 200 / 0.2);
}

.logistics-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.4) brightness(0.7);
}

.logistics-overlay {
  position: absolute;
  inset: 0;
}

/* Connection lines overlay */
.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Dots */
.map-dot {
  position: absolute;
  transform: translate(-50%, -50%);
}

.map-dot-pulse {
  display: block;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 12px oklch(0.58 0.14 198 / 0.5);
  animation: dot-pulse 2.2s ease-out infinite;
}

.map-dot-main .map-dot-pulse {
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  box-shadow: 0 0 18px oklch(0.68 0.145 78 / 0.6);
  animation: dot-pulse-main 2s ease-out infinite;
}

.map-dot-overseas .map-dot-pulse {
  background: oklch(0.68 0.145 78);
  box-shadow: 0 0 12px oklch(0.68 0.145 78 / 0.45);
}

.map-dot-pulse::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.5;
  animation: dot-ripple 2.2s ease-out infinite;
}

.map-dot-main .map-dot-pulse::after {
  inset: -7px;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.5); }
}

@keyframes dot-pulse-main {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.6); }
}

@keyframes dot-ripple {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

.map-dot-label {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: var(--weight-semibold);
  color: oklch(0.82 0.015 200);
  background: oklch(0.10 0.01 200 / 0.8);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.5;
  pointer-events: none;
  backdrop-filter: blur(4px);
  border: 1px solid oklch(1.000 0.000 0 / 0.08);
}

/* == R&D visual == */
.biz-rd-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.biz-rd-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* == Responsive: Business Categories == */
@media (max-width: 1199px) {
  .biz-cat-grid-4 {
    gap: var(--space-lg);
  }

  .channel-showcase-inner {
    padding: var(--space-2xl) var(--space-xl);
    gap: var(--space-md);
  }

  .channel-badge {
    padding: 0.75rem 1.25rem;
    font-size: var(--text-base);
  }
}

@media (max-width: 767px) {
  .biz-category {
    margin-top: var(--space-3xl);
  }

  .biz-cat-grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .biz-cat-img {
    aspect-ratio: 3/2;
  }

  .channel-showcase-inner {
    padding: var(--space-xl);
    gap: var(--space-sm);
  }

  .channel-badge {
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
  }

}

/* ============================================================
   Page Banner (inner pages)
   ============================================================ */
.page-banner {
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  background:
    linear-gradient(160deg, oklch(0.20 0.04 198 / 0.75) 0%, oklch(0.10 0.02 200 / 0.85) 100%),
    url('https://images.unsplash.com/photo-1477959858617-67f85cf4f477?w=1920&q=80&fm=webp') center 40% / cover no-repeat;
  color: var(--color-white);
  text-align: center;
}

.page-banner-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.page-banner-sub {
  font-size: var(--text-lg);
  color: oklch(0.80 0.015 200);
  max-width: 560px;
  margin-inline: auto;
}

/* ============================================================
   Nav Cards (homepage section entry points)
   ============================================================ */
.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.nav-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-2xl);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.nav-card:hover {
  transform: translateY(-6px);
  border-color: oklch(0.58 0.14 198 / 0.4);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.08),
    0 0 0 1px oklch(0.58 0.14 198 / 0.12);
}

.nav-card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.nav-card-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-ink);
}

.nav-card-desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
}

.nav-card-arrow {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  transition: transform var(--duration-normal) var(--ease-out);
}

.nav-card:hover .nav-card-arrow {
  transform: translateX(4px);
}

@media (max-width: 1199px) {
  .nav-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-cards-grid {
    grid-template-columns: 1fr;
  }

  .page-banner {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }
}

/* ============================================================
   Full-Width Banner
   ============================================================ */
.full-banner {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .full-banner {
    height: 320px;
  }
}

.full-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

/* ============================================================
   About Page — Hero Image + Intro Text
   ============================================================ */
.about-hero-img {
  position: relative;
  margin-bottom: 0;
}

.about-hero-img img,
.about-hero-img video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.about-hero-img video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.about-intro-wrap {
  padding-top: var(--space-2xl);
}

.about-intro-text {
  font-size: var(--text-base);
  color: var(--color-ink-light);
  line-height: var(--leading-relaxed);
  max-width: none;
  text-wrap: pretty;
}

.about-intro-text + .about-intro-text {
  margin-top: var(--space-md);
}

/* ============================================================
   Mission / Vision / Philosophy — 3 cards with gradient hover
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

.mission-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: oklch(0.92 0.015 198);
  border: 1px solid var(--color-border);
  transition: transform 400ms var(--ease-out),
              box-shadow 400ms var(--ease-out),
              background 400ms var(--ease-out);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px oklch(0.20 0.04 198 / 0.3);
}

/* Gradient overlay — appears on hover (Songmics-style) */
.mission-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, oklch(0.40 0.08 198) 0%, oklch(0.18 0.05 200) 100%);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}

.mission-card:hover .mission-card-bg {
  opacity: 1;
}

.mission-card-content {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) var(--space-2xl);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.mission-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
  transition: color 400ms var(--ease-out);
}

.mission-card:hover .mission-label {
  color: oklch(0.90 0.02 198);
}

.mission-text {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-ink);
  line-height: var(--leading-relaxed);
  max-width: none;
  transition: color 400ms var(--ease-out);
}

.mission-card:hover .mission-text {
  color: var(--color-white);
}

/* ============================================================
   Core Values — stacked below, 4-column grid
   ============================================================ */
.values-section {
  margin-top: 0;
}

.values-box {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.values-box-header {
  margin-bottom: var(--space-xl);
}

.values-header {
  margin-bottom: var(--space-2xl);
}

.values-divider {
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
  margin-top: var(--space-sm);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.value-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.value-card:hover {
  transform: translateY(-4px);
  background: var(--color-surface);
  border-color: oklch(0.72 0.02 198);
  box-shadow: var(--shadow-md);
}

.value-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.value-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.value-desc {
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
  max-width: none;
}

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

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

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .value-card {
    padding: var(--space-lg) var(--space-sm);
  }
}

/* ============================================================
   Brand Row — Songmics-style left text + right image
   ============================================================ */
.brand-row {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: var(--space-3xl);
  align-items: start;
  margin-bottom: var(--space-5xl);
}

.brand-row:last-child {
  margin-bottom: 0;
}

/* Alternate: image left, text right */
.brand-row-reverse {
  grid-template-columns: 1.8fr 1fr;
}

.brand-row-reverse .brand-media {
  order: -1;
}

/* Shared brand styles */
.brand-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.brand-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.brand-desc {
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
  max-width: none;
}

.brand-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.brand-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

@media (max-width: 1199px) {
  .brand-row,
  .brand-row-reverse {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
  }

  /* 统一顺序：文字在上、图片在下（避免正反行交替错乱） */
  .brand-row-reverse .brand-media {
    order: 2;
  }

  .brand-row-reverse .brand-text {
    order: 1;
  }

  .brand-media img {
    aspect-ratio: 3/2;
  }

}
/* ============================================================
   Global branch map
   ============================================================ */
.global-presence-section {
  background:
    radial-gradient(circle at 12% 12%, color-mix(in oklch, var(--color-primary-light) 68%, transparent), transparent 32%),
    var(--color-surface);
}

.branch-map-shell {
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--color-primary) 18%, var(--color-border));
  border-radius: 24px;
  background: var(--color-bg);
  box-shadow: 0 22px 70px rgba(7, 28, 38, 0.09);
}

.branch-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}

.branch-map-hint {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.branch-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--color-ink-light);
  font-size: 0.86rem;
}

.branch-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.branch-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px currentColor;
}

.branch-legend-dot--china {
  color: rgba(237, 177, 68, 0.22);
  background: #edb144;
}

.branch-legend-dot--overseas {
  color: rgba(61, 196, 212, 0.2);
  background: #3dc4d4;
}

.branch-map-viewport {
  position: relative;
  overflow: hidden;
  overscroll-behavior: contain;
  background: #071c26;
}

.branch-map-viewport:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: -3px;
}

.branch-map-canvas {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 24 / 13;
}

.branch-world-map {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.branch-world-map.is-dragging {
  cursor: grabbing;
}

.branch-map-controls {
  position: absolute;
  z-index: 8;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(117, 204, 210, 0.35);
  border-radius: 12px;
  background: rgba(7, 28, 38, 0.86);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.branch-map-controls button {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid rgba(117, 204, 210, 0.22);
  color: #eefcfd;
  background: transparent;
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.branch-map-controls button:last-child {
  border-right: 0;
}

.branch-map-controls button:hover,
.branch-map-controls button:focus-visible {
  color: #fff;
  background: rgba(61, 196, 212, 0.2);
  outline: none;
}

.branch-map-controls button:focus-visible {
  box-shadow: inset 0 0 0 2px #5ee4ed;
}

.branch-map-controls button:disabled {
  color: rgba(238, 252, 253, 0.35);
  cursor: not-allowed;
  background: transparent;
}

.branch-map-controls .branch-map-reset {
  min-width: 66px;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.branch-map-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.branch-map-graticule path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.055);
  stroke-width: 1;
}

.branch-map-land path {
  fill: #183f49;
  stroke: rgba(117, 204, 210, 0.2);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.branch-route {
  fill: none;
  stroke: rgba(75, 206, 218, 0.28);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 7 9;
  vector-effect: non-scaling-stroke;
  animation: branch-route-flow 16s linear infinite;
  transition: opacity 180ms ease, stroke 180ms ease, stroke-width 180ms ease;
}

.branch-world-map.has-active .branch-route {
  opacity: 0.11;
}

.branch-world-map.has-active .branch-route.is-active {
  opacity: 1;
  stroke: #5ee4ed;
  stroke-width: 2.5;
}

@keyframes branch-route-flow {
  to { stroke-dashoffset: -160; }
}

.branch-leader {
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  vector-effect: non-scaling-stroke;
}

.branch-anchor-dot {
  fill: rgba(255, 255, 255, 0.9);
  stroke: #0c2b35;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.branch-marker {
  cursor: pointer;
  outline: none;
}

.branch-marker-hit {
  fill: transparent;
  pointer-events: all;
}

.branch-marker-pulse,
.branch-marker-ring {
  transform-box: fill-box;
  transform-origin: center;
}

.branch-marker-pulse {
  opacity: 0.2;
  animation: branch-marker-pulse 2.8s ease-out infinite;
}

.branch-marker--china .branch-marker-pulse,
.branch-marker--china .branch-marker-dot {
  fill: #edb144;
}

.branch-marker--overseas .branch-marker-pulse,
.branch-marker--overseas .branch-marker-dot {
  fill: #3dc4d4;
}

.branch-marker-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
  vector-effect: non-scaling-stroke;
}

.branch-marker:hover .branch-marker-ring,
.branch-marker:focus .branch-marker-ring,
.branch-marker.is-active .branch-marker-ring {
  opacity: 1;
  transform: scale(1.35);
}

.branch-marker-dot {
  stroke: #fff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

@keyframes branch-marker-pulse {
  0% { transform: scale(0.7); opacity: 0.38; }
  75%, 100% { transform: scale(2.1); opacity: 0; }
}

.branch-map-tooltip {
  position: absolute;
  z-index: 5;
  width: max-content;
  max-width: 230px;
  padding: 12px 14px;
  border: 1px solid rgba(61, 196, 212, 0.35);
  border-radius: 12px;
  color: #112a33;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
}

.branch-map-tooltip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-right: 1px solid rgba(61, 196, 212, 0.35);
  border-bottom: 1px solid rgba(61, 196, 212, 0.35);
  transform: translateX(-50%) rotate(45deg);
}

.branch-map-tooltip strong,
.branch-map-tooltip span {
  display: block;
}

.branch-tooltip-city {
  padding-right: 10px;
  font-size: 0.98rem;
}

.branch-tooltip-country {
  margin-top: 2px;
  color: #5c7279;
  font-size: 0.76rem;
}

.branch-tooltip-role {
  margin-top: 7px;
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.branch-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
  background: var(--color-surface);
}

.branch-country-card {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-bg);
}

.branch-country-card--china {
  grid-column: span 2;
  border-color: color-mix(in oklch, var(--color-accent) 35%, var(--color-border));
}

.branch-country-card h3 {
  margin: 0 0 11px;
  color: var(--color-ink);
  font-size: 0.95rem;
}

.branch-country-card h3 span {
  display: block;
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.branch-location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.branch-location-list button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-ink-light);
  background: var(--color-surface);
  font: inherit;
  font-size: 0.74rem;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.branch-location-list button:hover,
.branch-location-list button:focus-visible,
.branch-location-list button.is-active {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  outline: none;
}

.branch-location-list small {
  display: block;
  margin-top: 1px;
  color: inherit;
  font-size: 0.62rem;
}

@media (max-width: 900px) {
  .branch-map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 600px) {
  .branch-map-toolbar {
    padding: 16px;
  }

  .branch-map-hint {
    font-size: 0.78rem;
  }

  .branch-map-legend {
    gap: 12px;
    font-size: 0.76rem;
  }

  .branch-map-controls {
    top: 10px;
    right: 10px;
  }

  .branch-map-controls button {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
  }

  .branch-map-controls .branch-map-reset {
    min-width: 58px;
  }

  .branch-directory {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .branch-country-card--china {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .branch-route,
  .branch-marker-pulse {
    animation: none;
  }
}
