/* 北京微芯合创 — 现代官网样式 */
/* Critical: inner-page hero text color (avoid flash before full stylesheet) */
.page-hero {
  color: #fff;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
}

@keyframes pageHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

:root {
  --color-primary: #0c3d6e;
  --color-primary-dark: #082847;
  --color-accent: #0077cc;
  --color-accent-light: #e8f4fd;
  --color-text: #1a2332;
  --color-text-muted: #5a6578;
  --color-border: #e2e8f0;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7fb;
  --color-bg-dark: #0a2540;
  --shadow-sm: 0 1px 3px rgba(12, 61, 110, 0.08);
  --shadow-md: 0 4px 20px rgba(12, 61, 110, 0.12);
  --shadow-lg: 0 12px 40px rgba(12, 61, 110, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --header-h: 72px;
  --product-brand-bar-offset: 10px;
  --product-brand-bar-h: 54px;
  --security-categories-h: 72px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }

:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible,
.doc-filter-tab:focus-visible,
.menu-toggle:focus-visible,
.back-to-top:focus-visible,
.hero-dot:focus-visible,
.hero-arrow:focus-visible,
.cert-nav button:focus-visible,
.product-brand-bar a:focus-visible,
.product-brand-bar .product-brand-tab:focus-visible,
.dropdown a:focus-visible,
.top-bar__phone:focus-visible,
.top-bar__cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

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

/* ── Top bar ── */
.top-bar {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 0.8125rem;
  font-synthesis: none;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a { color: rgba(255, 255, 255, 0.9); }
.top-bar a:hover { color: #fff; }

.top-bar__contacts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar__contacts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar__tagline {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
}

.top-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.top-bar__phone:hover {
  color: #fff;
  opacity: 0.88;
}

.top-bar__cta {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  margin-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}

.top-bar__cta:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

/* ── UI icons ── */
.ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.ui-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-icon--inline {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.92);
}

.ui-icon--md {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: 14px;
}

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

.ui-icon--lg {
  width: 56px;
  height: 56px;
  background: var(--color-accent-light);
  border-radius: 14px;
}

.ui-icon--lg svg {
  width: 26px;
  height: 26px;
}

.service-item .service-item__icon.ui-icon {
  margin: 0 auto 16px;
}

.contact-card .ui-icon.contact-card__icon {
  margin: 0;
}

.service-detail__icon.ui-icon--md {
  border-radius: 12px;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo img { height: 44px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-synthesis: none;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.nav-link.active {
  color: var(--color-accent);
  background: var(--color-accent-light);
  font-weight: 500;
}

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

.nav-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-synthesis: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--color-text);
  font-size: 0.875rem;
  border-radius: 8px;
}

.dropdown a:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.dropdown__group-title {
  padding: 8px 14px 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dropdown--products {
  min-width: 220px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.card__tag--h3c {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.card__tag--huawei {
  background: #ffebee;
  color: #c62828;
}

.card__tag--ruijie {
  background: #e8f5e9;
  color: #2e7d32;
}

.card__tag--inspur {
  background: #e0f7fa;
  color: #00838f;
}

.card__tag--sugon {
  background: #f3e5f5;
  color: #6a1b9a;
}

.product-category {
  margin-bottom: 72px;
}

.product-category:last-child {
  margin-bottom: 0;
}

.product-category__header {
  margin-bottom: 28px;
}

.brand-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand-card-grid .card__image {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
}

.brand-card-grid .card__image img {
  object-fit: contain;
  padding: 10px;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

@media (max-width: 1024px) {
  .brand-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  }
}

.product-brand-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1080px;
  margin: 0 auto 32px;
  position: sticky;
  top: calc(var(--header-h) + var(--product-brand-bar-offset));
  z-index: 30;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.product-brand-bar a,
.product-brand-bar .product-brand-tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.product-brand-bar a:hover:not(.is-active),
.product-brand-bar .product-brand-tab:hover:not(.is-active) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.product-brand-bar a:hover,
.product-brand-bar a.is-active,
.product-brand-bar .product-brand-tab:hover,
.product-brand-bar .product-brand-tab.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.product-brand-tab[data-brand="h3c"].is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.product-brand-tab[data-brand="huawei"].is-active {
  border-color: #c62828;
  background: #ffebee;
  color: #c62828;
}

.product-brand-tab[data-brand="ruijie"].is-active {
  border-color: #2e7d32;
  background: #e8f5e9;
  color: #2e7d32;
}

.product-brand-tab[data-brand="inspur"].is-active {
  border-color: #00838f;
  background: #e0f7fa;
  color: #00838f;
}

.product-brand-tab[data-brand="sugon"].is-active {
  border-color: #6a1b9a;
  background: #f3e5f5;
  color: #6a1b9a;
}

.brand-panel[hidden] {
  display: none !important;
}

.brand-panel:not([hidden]) {
  animation: brandPanelIn 0.35s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .brand-panel:not([hidden]) {
    animation: none;
  }
}

/* Brand tab switch — hero / section text fade */
.product-brand-page.is-brand-switching #brand-hero-title,
.product-brand-page.is-brand-switching #brand-hero-desc,
.product-brand-page.is-brand-switching #brand-breadcrumb,
.product-brand-page.is-brand-switching #brand-section-label,
.product-brand-page.is-brand-switching #brand-section-title,
.product-brand-page.is-brand-switching #brand-section-desc {
  opacity: 0;
  transform: translateY(8px);
}

#brand-hero-title,
#brand-hero-desc,
#brand-breadcrumb,
#brand-section-label,
#brand-section-title,
#brand-section-desc {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.hero-slider { position: relative; height: clamp(320px, 42vw, 520px); }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active { opacity: 1; z-index: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
}

.hero-slide.active img {
  animation: heroKenBurns 8s ease-out forwards;
}

.hero-slide .hero-content > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.active .hero-content > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.active .hero-content h1 { transition-delay: 0.12s; }
.hero-slide.active .hero-content p { transition-delay: 0.24s; }
.hero-slide.active .hero-content .btn { transition-delay: 0.36s; }
.hero-slide.active .hero-content div { transition-delay: 0.36s; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 40, 71, 0.88) 0%, rgba(8, 40, 71, 0.45) 50%, rgba(10, 37, 64, 0.2) 100%),
    linear-gradient(to top, rgba(10, 37, 64, 0.35) 0%, transparent 40%);
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-content {
  color: #fff;
  max-width: 560px;
  padding: 40px 0;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  opacity: 0.9;
  margin-bottom: 28px;
}

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

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 40, 71, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 40, 71, 0.5);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.hero-arrow svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-arrow:hover {
  background: rgba(8, 40, 71, 0.78);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }

@media (min-width: 769px) {
  .hero-arrow {
    display: flex;
  }
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.35s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 26px;
  background: #fff;
}

.hero-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.78);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

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

.btn-primary:hover {
  background: #0066b3;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 119, 204, 0.32);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
}

.btn-secondary {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.btn-secondary::after {
  content: '→';
  display: inline-block;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-secondary:hover::after {
  transform: translateX(3px);
}

/* ── Section ── */
.section { padding: 80px 0; }
.section--alt { background: var(--color-bg-alt); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 6px 14px 6px 12px;
  background: var(--color-accent-light);
  border: 1px solid rgba(0, 119, 204, 0.12);
  border-radius: 999px;
}

.section-label::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.75;
}

.section-actions {
  text-align: center;
  margin-top: 32px;
}

.section-actions--compact {
  margin-top: 24px;
}

.section-title--left {
  text-align: left;
}

.about-contact-card {
  padding: 32px;
}

.about-contact-card__title {
  color: var(--color-primary);
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

/* ── Values strip ── */
.values-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: 36px 0;
}

.values-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(0, 119, 204, 0.2) 0%, transparent 62%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(255, 255, 255, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.values-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.value-item {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 16px 20px;
}

.value-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: rgba(255, 255, 255, 0.14);
}

.value-item__char {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.value-item__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.value-item__desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.values-grid .value-item {
  animation: pageHeroFadeUp 0.55s ease both;
}

.values-grid .value-item:nth-child(1) { animation-delay: 0.08s; }
.values-grid .value-item:nth-child(2) { animation-delay: 0.16s; }
.values-grid .value-item:nth-child(3) { animation-delay: 0.24s; }
.values-grid .value-item:nth-child(4) { animation-delay: 0.32s; }

/* ── Tech docs ── */
.doc-category {
  margin-bottom: 36px;
}

.doc-category__title {
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent-light);
}

.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.doc-item a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 21px;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), color var(--transition);
}

.doc-item a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity var(--transition);
}

.doc-item:last-child a { border-bottom: none; }

.doc-item a:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.doc-item a:hover::before {
  opacity: 1;
}

.doc-item__tag {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 3px 8px;
  border-radius: 4px;
  min-width: 64px;
  text-align: center;
}

.doc-item__title {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.doc-item__arrow {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  font-size: 0;
  opacity: 0.42;
  color: var(--color-text-muted);
  transition: opacity var(--transition), transform var(--transition), color var(--transition);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M17 7H9M17 7V15'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M17 7H9M17 7V15'/%3E%3C/svg%3E") center / contain no-repeat;
}

.doc-item a:hover .doc-item__arrow {
  opacity: 1;
  color: var(--color-accent);
  transform: translate(2px, -2px);
}

.doc-note {
  margin-top: 8px;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.doc-note a {
  color: var(--color-accent);
  font-weight: 500;
}

.doc-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 8px 0;
}

.doc-panel .doc-item a {
  border-bottom-color: var(--color-border);
}

.doc-panel .doc-item:last-child a { border-bottom: none; }

.doc-browser {
  margin-top: 8px;
  padding: 28px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.doc-filters {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.doc-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.doc-filter-label {
  flex-shrink: 0;
  min-width: 64px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.doc-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doc-filter-tab {
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.doc-filter-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.doc-filter-tab.active {
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.doc-filter-tab.active[data-brand="h3c"] {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.doc-filter-tab.active[data-brand="huawei"] {
  background: rgba(198, 40, 40, 0.1);
  border-color: #c62828;
  color: #c62828;
}

.doc-filter-tab.active[data-brand="ruijie"] {
  background: rgba(46, 125, 50, 0.1);
  border-color: #2e7d32;
  color: #2e7d32;
}

.doc-filter-tab.active[data-brand="inspur"] {
  background: rgba(0, 131, 143, 0.1);
  border-color: #00838f;
  color: #00838f;
}

.doc-filter-tab.active[data-brand="sugon"] {
  background: rgba(106, 27, 154, 0.1);
  border-color: #6a1b9a;
  color: #6a1b9a;
}

.doc-filter-tab[hidden] { display: none; }

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

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

.doc-panel-section:not([hidden]) {
  animation: docFadeIn 0.2s ease;
}

.doc-panel-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.doc-panel-section__head .card__tag {
  margin-bottom: 0;
  flex-shrink: 0;
  line-height: 1.4;
}

.doc-panel-section__head h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--color-primary);
}

.doc-panel-section .doc-category {
  margin-bottom: 28px;
}

.doc-panel-section .doc-category:last-child {
  margin-bottom: 0;
}

.doc-panel-section .doc-category__title {
  font-size: 1rem;
  margin-bottom: 10px;
}

.doc-panel-section__desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.doc-empty {
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.doc-empty a {
  color: var(--color-accent);
  font-weight: 500;
}

@media (max-width: 640px) {
  .doc-browser {
    padding: 18px 16px;
  }

  .doc-filters {
    padding: 18px 16px;
  }

  .doc-filter-group {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-grid .card__image {
  background: #fff;
}

.card-grid .card__image img {
  object-fit: contain;
  padding: 12px;
}

/* Category hub cards — full-bleed sci-fi covers */
.card-grid .card__image--category {
  background: var(--color-primary-dark);
}

.card-grid .card__image--category img {
  object-fit: cover;
  padding: 0;
  width: 100%;
  height: 100%;
}

.card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.card__placeholder-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
}

.card:hover .card__image img { transform: scale(1.05); }

.card__body { padding: 20px 24px 24px; }

.card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.card__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ── Product categories ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #fff;
  background: var(--color-primary);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 40, 71, 0.95) 0%, rgba(8, 40, 71, 0.4) 100%);
  z-index: 1;
}

.category-card > * { position: relative; z-index: 2; }

.category-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-bottom: 16px;
}

.category-card ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-card li a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
}

.category-card li a:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.category-card--energy { background: linear-gradient(135deg, #0077cc, #00a3e0); }
.category-card--server { background: linear-gradient(135deg, #0c3d6e, #1a5a8a); }
.category-card--storage { background: linear-gradient(135deg, #1a4d7a, #0077cc); }

/* ── Certificates ── */
.cert-slider-wrap {
  position: relative;
}

.cert-slider-wrap::before,
.cert-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 16px;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.cert-slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-alt) 15%, transparent);
}

.cert-slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-alt) 15%, transparent);
}

.section:not(.section--alt) .cert-slider-wrap::before {
  background: linear-gradient(to right, #fff 15%, transparent);
}

.section:not(.section--alt) .cert-slider-wrap::after {
  background: linear-gradient(to left, #fff 15%, transparent);
}

.cert-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.cert-track::-webkit-scrollbar { display: none; }

.cert-item {
  flex: 0 0 clamp(200px, 28vw, 280px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  background: #f8fafc;
}

.cert-item--landscape {
  flex: 0 0 clamp(280px, 42vw, 420px);
}

.cert-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cert-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  display: block;
  background: #f8fafc;
}

.cert-item--landscape img {
  aspect-ratio: 297/210;
}

.card-grid .cert-item--landscape {
  grid-column: span 2;
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
}

.cert-grid .cert-item {
  flex: 0 0 240px;
  width: 240px;
  max-width: 100%;
}

.cert-grid .cert-item--landscape {
  flex: 0 0 min(480px, 100%);
  width: min(480px, 100%);
  grid-column: auto;
}

@media (max-width: 560px) {
  .cert-grid .cert-item,
  .cert-grid .cert-item--landscape {
    flex: 0 0 100%;
    width: 100%;
  }
}

.cert-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.cert-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--color-primary);
  font-size: 0;
}

.cert-nav button::before {
  content: '';
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--cert-nav-icon) center / contain no-repeat;
  mask: var(--cert-nav-icon) center / contain no-repeat;
}

.cert-prev {
  --cert-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

.cert-next {
  --cert-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}

.cert-nav button:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ── Partners ── */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.partner-logo {
  flex: 0 1 140px;
  width: 140px;
  max-width: calc(50% - 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  min-height: 88px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.partner-logo:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
  transform: translateY(-2px);
}

.partner-logo img {
  max-height: 44px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition);
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo--word {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  filter: grayscale(1);
  opacity: 0.72;
  transition: color var(--transition), opacity var(--transition), filter var(--transition), transform var(--transition);
}

.partner-logo--word:hover {
  color: var(--color-primary);
  filter: grayscale(0);
  opacity: 1;
}

.partner-strip {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.partner-strip__label {
  margin: 0 0 14px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.partner-strip__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.partner-strip__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  opacity: 0.78;
  filter: grayscale(1);
  transition: border-color var(--transition), color var(--transition), opacity var(--transition), filter var(--transition), transform var(--transition);
}

.partner-strip__brand--logo {
  padding: 6px 12px;
  filter: none;
}

.partner-strip__brand--logo img {
  display: block;
  max-height: 26px;
  max-width: 88px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter var(--transition), opacity var(--transition);
}

.partner-strip__brand:hover,
.partner-strip__brand--logo:hover img {
  border-color: rgba(0, 119, 204, 0.35);
  color: var(--color-primary);
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-1px);
}

.partner-strip__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
}

.partner-strip__link:hover {
  color: var(--color-primary);
}

.partner-strip__link::after {
  content: ' →';
  display: inline-block;
  transition: transform 0.2s ease;
}

.partner-strip__link:hover::after {
  transform: translateX(3px);
}

/* ── Services ── */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.service-item {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-item:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-item__icon {
  margin: 0 auto 16px;
}

.service-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.service-item p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ── About block ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-split__text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.about-split__text p:last-of-type { margin-bottom: 24px; }

.stats-row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stats-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% -20%, rgba(0, 119, 204, 0.22) 0%, transparent 62%),
    radial-gradient(ellipse 45% 40% at 100% 100%, rgba(255, 255, 255, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.stat-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 16px;
  background: transparent;
  transition: background var(--transition);
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: rgba(255, 255, 255, 0.14);
}

.about-split__text.revealed .stat-item {
  animation: fadeUp 0.5s ease backwards;
}

.about-split__text.revealed .stat-item:nth-child(1) { animation-delay: 0.15s; }
.about-split__text.revealed .stat-item:nth-child(2) { animation-delay: 0.25s; }
.about-split__text.revealed .stat-item:nth-child(3) { animation-delay: 0.35s; }

.stat-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: none;
  box-shadow: none;
}

.stat-item strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.625rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-item span {
  display: block;
  margin-top: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* ── Philosophy ── */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.philosophy-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.philosophy-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.philosophy-card__num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
}

.philosophy-card h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.philosophy-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item__icon {
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 500;
}

.contact-panel {
  max-width: var(--container);
  margin: 0 auto;
}

.contact-panel__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-panel__main {
  text-align: left;
}

.contact-panel__main .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.contact-panel__intro {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.contact-panel__intro p {
  margin-bottom: 16px;
}

.contact-panel__intro p:last-child {
  margin-bottom: 0;
}

.contact-panel__cta {
  color: var(--color-text);
  font-weight: 500;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.contact-card__icon {
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.6;
}

.contact-card a {
  color: var(--color-accent);
  font-size: 1.125rem;
}

.contact-card a:hover {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .contact-panel__body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.contact-map {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.contact-map:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.panel-title {
  color: var(--color-primary);
  margin-bottom: 20px;
  font-size: 1.125rem;
  font-weight: 600;
}

.promise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.promise-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.promise-list__mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.promise-list__mark svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promise-list__text {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.cert-hint {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 24px;
  font-size: 0.875rem;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(0, 119, 204, 0.22) 0%, transparent 62%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

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

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 8px;
  animation: pageHeroFadeUp 0.65s ease both;
}

.page-hero p {
  font-size: 1rem;
  animation: pageHeroFadeUp 0.65s ease 0.1s both;
}

/* Inner page hero accents by section */
.page-context-products .page-hero::before {
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(0, 119, 204, 0.28) 0%, transparent 62%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
}

.page-context-docs .page-hero::before {
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(0, 188, 212, 0.24) 0%, transparent 62%),
    radial-gradient(ellipse 60% 50% at 15% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
}

.page-context-services .page-hero::before {
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(46, 125, 50, 0.22) 0%, transparent 62%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
}

.page-context-about .page-hero::before {
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(106, 27, 154, 0.2) 0%, transparent 62%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
}

.breadcrumb {
  margin-top: 16px;
  animation: pageHeroFadeUp 0.65s ease 0.18s both;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb__item:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 12px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.45);
  transform: rotate(-45deg) translateY(-1px);
  flex-shrink: 0;
  pointer-events: none;
}

.breadcrumb__item a {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
}

.breadcrumb__item a:hover {
  color: #fff;
}

.breadcrumb__item[aria-current='page'] {
  color: #fff;
  font-weight: 600;
}

/* ── Promo products ── */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.promo-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.promo-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.promo-card__img {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.promo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-card__info { flex: 1; min-width: 0; }

.promo-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: #e53e3e;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.promo-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 119, 204, 0.55) 35%,
    rgba(0, 119, 204, 0.85) 50%,
    rgba(0, 119, 204, 0.55) 65%,
    transparent 100%
  );
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.25fr) repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8125rem;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.footer-bottom a:hover { color: #fff; }

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.96);
  transition: transform 0.35s ease;
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), opacity var(--transition);
}

.lightbox-close::before {
  content: '';
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lightbox-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.55);
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.back-to-top::before {
  content: '';
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2n)::after { display: none; }
  .about-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .top-bar__tagline {
    width: 100%;
  }

  .top-bar__contacts {
    width: 100%;
    justify-content: center;
  }

  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

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

  .nav-item { border-bottom: 1px solid var(--color-border); }

  .nav-link {
    padding: 16px 8px;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 12px 16px;
    display: none;
  }

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

  .philosophy-grid,
  .contact-grid,
  .stats-row { grid-template-columns: 1fr; }

  .stat-item:not(:last-child)::after {
    top: auto;
    right: 15%;
    bottom: 0;
    left: 15%;
    width: auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
  }

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

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

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .value-item::after { display: none; }
  .value-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 20px;
    margin-bottom: 4px;
  }
  .top-bar .container { justify-content: center; text-align: center; }
}

/* Scroll reveal */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered grid reveal — cards/items cascade in */
.card-grid.reveal,
.brand-card-grid.reveal,
.service-list.reveal,
.partners-grid.reveal,
.philosophy-grid.reveal,
.cert-grid.reveal,
.doc-panel.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.card-grid.reveal > .card,
.brand-card-grid.reveal > .card,
.service-list.reveal > .service-card-link,
.partners-grid.reveal > .partner-logo,
.philosophy-grid.reveal > .philosophy-card,
.cert-grid.reveal > .cert-item,
.cert-grid.reveal > a,
.doc-panel.reveal .doc-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.doc-panel.reveal .doc-item {
  transform: translateX(-10px);
}

.card-grid.reveal.revealed > .card,
.brand-card-grid.reveal.revealed > .card,
.service-list.reveal.revealed > .service-card-link,
.partners-grid.reveal.revealed > .partner-logo,
.philosophy-grid.reveal.revealed > .philosophy-card,
.cert-grid.reveal.revealed > .cert-item,
.cert-grid.reveal.revealed > a,
.doc-panel.reveal.revealed .doc-item {
  opacity: 1;
  transform: translateY(0);
}

.doc-panel.reveal.revealed .doc-item {
  transform: translateX(0);
}

.card-grid.reveal.revealed > .card:nth-child(1),
.brand-card-grid.reveal.revealed > .card:nth-child(1),
.service-list.reveal.revealed > .service-card-link:nth-child(1),
.partners-grid.reveal.revealed > .partner-logo:nth-child(1),
.philosophy-grid.reveal.revealed > .philosophy-card:nth-child(1),
.cert-grid.reveal.revealed > *:nth-child(1),
.doc-panel.reveal.revealed .doc-item:nth-child(1) { transition-delay: 0.04s; }

.card-grid.reveal.revealed > .card:nth-child(2),
.brand-card-grid.reveal.revealed > .card:nth-child(2),
.service-list.reveal.revealed > .service-card-link:nth-child(2),
.partners-grid.reveal.revealed > .partner-logo:nth-child(2),
.philosophy-grid.reveal.revealed > .philosophy-card:nth-child(2),
.cert-grid.reveal.revealed > *:nth-child(2),
.doc-panel.reveal.revealed .doc-item:nth-child(2) { transition-delay: 0.1s; }

.card-grid.reveal.revealed > .card:nth-child(3),
.brand-card-grid.reveal.revealed > .card:nth-child(3),
.service-list.reveal.revealed > .service-card-link:nth-child(3),
.partners-grid.reveal.revealed > .partner-logo:nth-child(3),
.philosophy-grid.reveal.revealed > .philosophy-card:nth-child(3),
.cert-grid.reveal.revealed > *:nth-child(3),
.doc-panel.reveal.revealed .doc-item:nth-child(3) { transition-delay: 0.16s; }

.card-grid.reveal.revealed > .card:nth-child(4),
.brand-card-grid.reveal.revealed > .card:nth-child(4),
.service-list.reveal.revealed > .service-card-link:nth-child(4),
.partners-grid.reveal.revealed > .partner-logo:nth-child(4),
.philosophy-grid.reveal.revealed > .philosophy-card:nth-child(4),
.cert-grid.reveal.revealed > *:nth-child(4),
.doc-panel.reveal.revealed .doc-item:nth-child(4) { transition-delay: 0.22s; }

.card-grid.reveal.revealed > .card:nth-child(5),
.service-list.reveal.revealed > .service-card-link:nth-child(5),
.partners-grid.reveal.revealed > .partner-logo:nth-child(5),
.cert-grid.reveal.revealed > *:nth-child(5),
.doc-panel.reveal.revealed .doc-item:nth-child(5) { transition-delay: 0.28s; }

.card-grid.reveal.revealed > .card:nth-child(6),
.service-list.reveal.revealed > .service-card-link:nth-child(6),
.partners-grid.reveal.revealed > .partner-logo:nth-child(6),
.cert-grid.reveal.revealed > *:nth-child(6),
.doc-panel.reveal.revealed .doc-item:nth-child(6) { transition-delay: 0.34s; }

.service-list.reveal.revealed > .service-card-link:nth-child(n+7),
.partners-grid.reveal.revealed > .partner-logo:nth-child(n+7),
.cert-grid.reveal.revealed > *:nth-child(n+7),
.doc-panel.reveal.revealed .doc-item:nth-child(n+7) { transition-delay: 0.4s; }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  padding: 40px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 1080px;
  margin: 0 auto 32px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.product-detail:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.product-detail:last-child { margin-bottom: 0; }

.product-detail__media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.product-detail__media--empty {
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
}

.product-detail__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  padding: 16px;
  background: #fff;
}

.product-detail__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.product-detail__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.product-detail__model {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 14px 0 18px;
}

.product-detail__phone {
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.product-detail__phone:hover {
  color: var(--color-accent);
}

.btn--compact {
  padding: 9px 20px;
  font-size: 0.875rem;
}

.product-detail__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table tr {
  border-bottom: 1px solid var(--color-border);
}

.spec-table tr:last-child { border-bottom: none; }

.spec-table tr:nth-child(even) {
  background: var(--color-bg-alt);
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.spec-table th {
  width: 128px;
  color: var(--color-text-muted);
  font-weight: 600;
  background: rgba(244, 247, 251, 0.95);
  border-right: 1px solid var(--color-border);
}

.spec-table td {
  color: var(--color-text);
}

.spec-table-wrap {
  width: 100%;
}

@media (max-width: 900px) and (min-width: 641px) {
  .spec-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -2px;
    padding-bottom: 4px;
  }

  .spec-table-wrap .spec-table {
    min-width: 520px;
  }
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-link:hover .card__title {
  color: var(--color-accent);
}

.product-card-link::after {
  content: "查看产品详情 →";
  display: block;
  padding: 0 24px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: color var(--transition), transform 0.2s ease;
}

.product-card-link:hover::after {
  color: var(--color-primary);
  transform: translateX(3px);
}

.product-card-link .card::after {
  content: none;
}

/* Security subcategories */
.security-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  padding: 20px 24px;
  background: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: sticky;
  top: calc(
    var(--header-h) + var(--product-brand-bar-offset) + var(--product-brand-bar-h) + 8px
  );
  z-index: 29;
  box-shadow: var(--shadow-sm);
}

.security-categories a {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.security-categories a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-accent-light);
}

.security-category {
  scroll-margin-top: calc(
    var(--header-h) + var(--product-brand-bar-offset) + var(--product-brand-bar-h)
      + var(--security-categories-h) + 16px
  );
  margin-bottom: 56px;
}

.security-category:last-of-type {
  margin-bottom: 0;
}

.security-category__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-accent-light);
}

.security-category__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: 12px;
  color: var(--color-accent);
}

.security-category__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-category__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.security-category__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 720px;
}

.security-category .product-detail {
  margin-bottom: 24px;
}

.security-category .product-detail:last-child {
  margin-bottom: 0;
}

.security-category__empty {
  margin: 0;
  padding: 28px 24px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
}

.security-category__empty a {
  color: var(--color-accent);
  font-weight: 500;
}

.security-category__empty a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .spec-table-wrap {
    overflow: visible;
  }

  .spec-table-wrap .spec-table {
    min-width: 0;
  }

  .spec-table {
    border: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  .spec-table tr {
    display: block;
    margin-bottom: 10px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
  }

  .spec-table tr:nth-child(even) {
    background: var(--color-bg-alt);
  }

  .spec-table tr:last-child {
    margin-bottom: 0;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
  }

  .spec-table th {
    display: inline-block;
    width: auto;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    padding: 4px 10px;
    background: var(--color-accent-light);
    border-radius: 999px;
  }

  .spec-table td {
    font-size: 0.875rem;
    line-height: 1.65;
  }
}

/* ── Contact form ── */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  color: var(--color-primary);
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group label .optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.12);
}

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

.form-success {
  display: none;
  padding: 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #065f46;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.form-success.visible {
  display: block;
}

.contact-form.is-submitted .form-fields {
  display: none;
}

.map-embed {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

.map-embed__link {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 0.875rem;
  background: #fff;
  border-top: 1px solid var(--color-border);
}

/* ── Service detail sections ── */
.service-detail {
  scroll-margin-top: calc(var(--header-h) + 24px);
  padding: 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-accent-light);
}

.service-detail__icon {
  flex-shrink: 0;
}

.service-detail h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-detail__col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-detail__col ul {
  list-style: none;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.service-detail__col li {
  padding: 4px 0;
  padding-left: 14px;
  position: relative;
}

.service-detail__col li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card-link:hover .service-item {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

/* ── CTA banner ── */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% -20%, rgba(0, 119, 204, 0.24) 0%, transparent 62%),
    radial-gradient(ellipse 50% 45% at 100% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

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

.cta-banner h2 {
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.75;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.cta-banner .btn-primary:hover {
  background: var(--color-accent-light);
}

.cta-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  margin-left: 0;
}

.cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.product-disclaimer {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-top: 48px;
}

/* ── 404 page ── */
.error-page__code {
  font-size: clamp(4rem, 12vw, 5.5rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1;
  margin-bottom: 8px;
  animation: pageHeroFadeUp 0.65s ease both;
}

.error-page__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .card-grid.reveal > .card,
  .brand-card-grid.reveal > .card,
  .service-list.reveal > .service-card-link,
  .partners-grid.reveal > .partner-logo,
  .philosophy-grid.reveal > .philosophy-card,
  .cert-grid.reveal > *,
  .doc-panel.reveal .doc-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .doc-panel-section:not([hidden]) {
    animation: none;
  }

  .values-grid .value-item,
  .error-page__code,
  .page-hero h1,
  .page-hero p,
  .page-hero .breadcrumb,
  .about-split__text.revealed .stat-item,
  .hero-slide img,
  .hero-slide .hero-content > *,
  .hero-dot {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-dot.active {
    width: 8px;
  }

  #brand-hero-title,
  #brand-hero-desc,
  #brand-breadcrumb,
  #brand-section-label,
  #brand-section-title,
  #brand-section-desc {
    transition: none;
  }
}
