/* ===========================
   VOWA 机械官网 - 主样式表
   =========================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0088c9;
  --primary-dark: #005f9e;
  --primary-deep: #083a63;
  --primary-light: #33b7ec;
  --accent: #f6a21a;
  --accent-light: #ffc766;
  --steel: #4a5568;
  --steel-light: #718096;
  --bg-light: #f4f8fb;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
  --radius: 8px;
  --radius-lg: 14px;
  --transition: all .28s cubic-bezier(.4,0,.2,1);
  --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --max-w: 1280px;
}

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

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ==============================
   HEADER & NAVIGATION
   ============================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 1px 8px rgba(0,0,0,.04);
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 76px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 1 360px;
  min-width: 220px;
}

.logo-text {
  min-width: 0;
}

.logo-icon {
  width: auto;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon img { height: 100%; width: auto; max-width: 136px; display: block; object-fit: contain; }

.logo-text .logo-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: 0;
  display: block;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-text .logo-sub {
  font-size: 10px;
  color: rgba(26,32,44,.55);
  letter-spacing: .4px;
  text-transform: uppercase;
  display: block;
  line-height: 1.3;
}

/* Nav */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 14px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(26,32,44,.75);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link-button {
  appearance: none;
  background: transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(0,160,233,.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 16px; right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-arrow {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  transition: transform .22s;
}

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

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s, transform .22s, visibility .22s;
  border: 1px solid var(--border);
  z-index: 60;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 8px 14px;
  font-size: 13.5px;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: var(--transition);
}

.dropdown-link:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  flex: 0 0 auto;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(0,160,233,.22);
  border-radius: 999px;
  background: rgba(0,160,233,.06);
  color: rgba(26,32,44,.68);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.language-switch svg {
  width: 15px;
  height: 15px;
  stroke: var(--primary);
  fill: none;
}

.language-switch a {
  color: rgba(26,32,44,.62);
  transition: var(--transition);
}

.language-switch a:hover,
.language-switch a.active {
  color: var(--primary);
}

.language-switch span {
  width: 1px;
  height: 12px;
  background: rgba(0,160,233,.28);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(26,32,44,.65);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 10px;
  border: 1px solid rgba(0,136,201,.16);
  border-radius: 999px;
  background: rgba(0,136,201,.05);
  white-space: nowrap;
}

.nav-phone svg { width: 14px; height: 14px; stroke: var(--primary); fill: none; }
.nav-phone span { color: var(--primary); font-weight: 600; }

.btn-consult {
  display: none;
}

.btn-consult:hover {
  display: none;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: rgba(0,0,0,.06);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #1a202c;
  border-radius: 2px;
  transition: var(--transition);
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
  min-height: 92dvh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('../assets/images/company-building.webp') center/cover no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Dark overlay for readability */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,30,55,.88) 0%, rgba(7,58,96,.78) 43%, rgba(0,136,201,.30) 100%),
    linear-gradient(180deg, rgba(3,18,34,.20) 0%, rgba(3,18,34,.72) 100%);
  z-index: 1;
}

/* Subtle grid pattern */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 1;
}

/* Accent glow orb */
.hero-bg .hero-glow {
  position: absolute;
  top: 20%; right: 5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,.2) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.hero-orb-1 {
  width: 700px; height: 700px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(255,255,255,.2) 0%, transparent 65%);
  animation: orb-float 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: 10%;
  background: radial-gradient(circle, rgba(245,166,35,.15) 0%, transparent 65%);
  animation: orb-float 10s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.04); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(520px, 1.08fr);
  gap: 72px;
  align-items: center;
  padding: 118px 0 72px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

.hero-title {
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: #FFC95C;
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: #FFC95C;
  opacity: .4;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.84);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
  min-width: 156px;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: .2px;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,.4);
}

.btn-primary svg { width: 16px; height: 16px; stroke: #fff; fill: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: .2px;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #FFC95C;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-num sup {
  font-size: 14px;
  font-weight: 600;
  vertical-align: super;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  letter-spacing: .5px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-main {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  position: relative;
  overflow: hidden;
}

.hero-card-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.pump-illustration {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(0,0,0,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.pump-illustration svg {
  width: 200px;
  height: 160px;
}

/* Floating info cards */
.float-card {
  position: absolute;
  z-index: 6;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(5,30,55,.16);
  animation: none;
}

.float-card-1 {
  top: 16%;
  right: 20px;
}

.float-card-2 {
  top: 44%;
  left: 20px;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card-icon {
  width: 32px; height: 32px;
  background: var(--primary-dark);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card-icon svg { width: 16px; height: 16px; stroke: #fff; fill: none; }

.float-card-text .fc-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.float-card-text .fc-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Product spec row */
.spec-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.spec-tag {
  padding: 4px 10px;
  background: rgba(42,82,152,.15);
  border: 1px solid rgba(42,82,152,.25);
  border-radius: 100px;
  font-size: 11px;
  color: rgba(255,255,255,.7);
  letter-spacing: .3px;
}

/* ==============================
   BANNER CAROUSEL
   ============================== */

/* Carousel card - replaces hero-card-main */
.carousel-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  max-width: 620px;
  width: 100%;
}

/* Top accent line */
.carousel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 3;
}

/* Track container */
.carousel-track {
  position: relative;
  overflow: hidden;
}

/* Slides */
.carousel-slide {
  display: none;
  padding: 0 0 24px;
  animation: slideFadeIn .5s ease-out;
}

.carousel-slide.active {
  display: block;
}

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

/* Slide image */
.slide-image {
  width: 100%;
  aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 20% 12%, rgba(255,255,255,.45), transparent 34%),
    linear-gradient(135deg, #dcebf3 0%, #a9c8d9 42%, #4f7f9d 100%);
  border-radius: 16px 16px 0 0;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(3,18,34,.08) 0%, transparent 46%, rgba(3,18,34,.12) 100%),
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.20), transparent 28%);
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
  transition: transform .4s ease, filter .4s ease;
  filter: saturate(.98) contrast(1.04);
}

.carousel-slide:hover .slide-image img {
  transform: scale(1.02);
}

.slide-image .placeholder-svg {
  width: 180px;
  height: 140px;
}

/* Slide text */
.slide-title {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  margin-left: 32px;
  margin-right: 32px;
  margin-bottom: 8px;
  letter-spacing: .3px;
}

.slide-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-left: 32px;
  margin-right: 32px;
  margin-bottom: 20px;
}

/* Override spec-row margin for carousel context */
.carousel-slide .spec-row {
  margin-left: 32px;
  margin-right: 32px;
  margin-top: 0;
  margin-bottom: 20px;
}

/* Override spec-tag style for carousel context */
.carousel-slide .spec-tag {
  background: rgba(0,136,201,.08);
  border: 1px solid rgba(0,136,201,.16);
  border-radius: 6px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 500;
}

/* CTA button */
.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 32px;
  margin-right: 32px;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}

.slide-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,166,35,.35);
}

.slide-cta svg {
  transition: transform .25s ease;
}

.slide-cta:hover svg {
  transform: translateX(3px);
}

/* Controls bar */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px 24px;
  border-top: 1px solid var(--border);
}

/* Dot indicators */
.carousel-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,95,158,.20);
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(0,95,158,.35);
}

.carousel-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--accent);
}

/* Arrow buttons */
.carousel-arrows {
  display: flex;
  gap: 8px;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,95,158,.12);
  background: rgba(0,136,201,.08);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  padding: 0;
}

.carousel-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.carousel-arrow svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.carousel-arrow svg path {
  stroke: currentColor;
}

/* Progress bar */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 0 0 20px 20px;
  z-index: 4;
  width: 0;
  transition: width linear;
}

/* ==============================
   SECTION COMMON
   ============================== */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -.3px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==============================
   PRODUCTS SECTION
   ============================== */
.products-layout {
  display: grid;
  grid-template-columns: minmax(280px, 320px) 1fr;
  gap: 28px;
  align-items: start;
}

/* Category sidebar */
.category-sidebar {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,136,201,.12);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.cat-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-header svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.8); fill: none; }

.cat-list { padding: 8px; }

.cat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-secondary);
  font-weight: 500;
}

.cat-item > span:not(.cat-item-icon):not(.cat-count) {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.cat-item:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.cat-item.active {
  background: rgba(26,58,110,.08);
  color: var(--primary);
}

.cat-item-icon {
  width: 30px; height: 30px;
  background: var(--bg-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 11px;
  font-weight: 800;
  color: var(--steel-light);
}

.cat-item.active .cat-item-icon {
  background: var(--primary);
  color: #fff;
}

.cat-item-icon svg {
  width: 15px; height: 15px;
  stroke: var(--steel-light);
  fill: none;
  transition: var(--transition);
}

.cat-item.active .cat-item-icon svg {
  stroke: #fff;
}

.cat-count {
  display: none;
}

.cat-item.active .cat-count {
  background: var(--accent);
  color: #fff;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,136,201,.10);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,136,201,.28);
}

.product-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f7fbff 0%, #e8f2f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .35s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.045);
}

.product-thumb svg {
  width: 80px; height: 80px;
  opacity: .65;
}

.product-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: .5px;
}

.product-info {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.product-info p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-cat {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(0,136,201,.08);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}

.product-series {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-params {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
  flex: 1;
}

.param-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.param-key { color: var(--text-muted); }
.param-val { color: var(--text-secondary); font-weight: 500; }

.product-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: rgba(0,136,201,.07);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
}

.product-link:hover {
  background: var(--primary);
  color: #fff;
}

.product-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

.home-product-inquiry {
  display: inline-flex !important;
}

.product-empty {
  display: none;
  grid-column: 2;
  background: linear-gradient(135deg, #fff, #f5faff);
  border: 1px dashed rgba(0,136,201,.28);
  border-radius: 12px;
  padding: 34px;
  text-align: center;
  color: var(--text-secondary);
}

.product-empty.visible {
  display: block;
}

.product-empty:not([hidden]) {
  display: block;
  margin-top: 24px;
}

.product-empty strong {
  display: block;
  color: var(--text-primary);
  font-size: 18px;
  margin-bottom: 8px;
}

.product-empty span {
  display: block;
  font-size: 14px;
  margin-bottom: 18px;
}

.product-empty a {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}

.product-empty a:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(246,162,26,.28);
}

/* ==============================
   ADVANTAGES SECTION
   ============================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.adv-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid rgba(0,136,201,.10);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

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

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

.adv-num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(26,58,110,.3);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.adv-icon-wrap {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #f0f4ff 0%, #dce6f8 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.adv-card:hover .adv-icon-wrap {
  background: var(--primary);
}

.adv-icon-wrap svg {
  width: 26px; height: 26px;
  stroke: var(--primary);
  fill: none;
  transition: var(--transition);
}

.adv-card:hover .adv-icon-wrap svg { stroke: #fff; }

.adv-en-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.adv-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.adv-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.adv-params {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.adv-param-tag {
  padding: 3px 9px;
  background: rgba(26,58,110,.07);
  color: var(--primary);
  font-size: 11.5px;
  border-radius: 4px;
  font-weight: 500;
}

/* ==============================
   ABOUT SECTION
   ============================== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.about-img-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #0078B5 0%, #00A0E9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-img-item.tall {
  aspect-ratio: 16 / 11;
  margin-top: 0;
}

.about-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.about-img-item:hover img {
  transform: scale(1.035);
}

.about-img-item svg {
  width: 60%;
  height: 60%;
  opacity: .4;
}

.about-img-overlay {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(5,30,55,.72);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: rgba(255,255,255,.92);
  font-weight: 500;
}

.about-year-badge {
  position: absolute;
  top: -28px; right: -24px;
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  z-index: 3;
  box-shadow: 0 14px 30px rgba(246,162,26,.28);
}

.about-year-badge .y-num { font-size: 24px; line-height: 1; }
.about-year-badge .y-label { font-size: 10px; opacity: .85; }

.about-fact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.about-fact {
  background: #fff;
  border: 1px solid rgba(0,136,201,.12);
  border-radius: 10px;
  padding: 14px 12px;
  box-shadow: var(--shadow-sm);
}

.about-fact strong {
  display: block;
  color: var(--primary-dark);
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
}

.about-fact span {
  color: var(--text-muted);
  font-size: 12px;
}

.about-text { }

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

.about-lead {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.about-feat-icon {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feat-icon svg { width: 15px; height: 15px; stroke: #fff; fill: none; }

.about-feat-text .feat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.about-feat-text .feat-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Stats counters */
.stats-strip {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-dark));
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 20px 10px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.15);
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-num sup, .stat-num sub {
  font-size: 16px;
  font-weight: 600;
}

.stat-unit { color: var(--accent); }

.stat-label {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  letter-spacing: .5px;
}

/* ==============================
   INDUSTRIES SECTION
   ============================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industries-grid.ic-carousel-mode {
  display: block;
  gap: 0;
}

.industry-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

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

.industry-img {
  height: 200px;
  background: linear-gradient(135deg, #0078B5 0%, #33C3F7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.industry-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  filter: saturate(.9) contrast(1.02);
  transition: transform .35s ease, opacity .35s ease;
}

.industry-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,24,42,.10), rgba(4,24,42,.62));
  transition: background .28s;
}

.industry-card:hover .industry-img::after {
  background: linear-gradient(180deg, rgba(0,136,201,.12), rgba(4,24,42,.68));
}

.industry-img svg {
  width: 70px; height: 70px;
  stroke: rgba(255,255,255,.5);
  fill: none;
  position: relative;
  z-index: 1;
  transition: transform .28s;
}

.industry-card:hover .industry-img img {
  transform: scale(1.05);
  opacity: .74;
}

.industry-card:hover .industry-img svg {
  transform: scale(1.1);
  stroke: rgba(255,255,255,.8);
}

.industry-info {
  padding: 20px;
}

.industry-info h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.industry-info p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.industry-index {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.industry-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ind-tag {
  padding: 3px 8px;
  background: rgba(26,58,110,.07);
  color: var(--primary);
  font-size: 11px;
  border-radius: 4px;
  font-weight: 500;
}

.industry-card .tag-row {
  margin-top: 14px;
}

.industry-card .soft-tag {
  font-size: 11px;
}

/* ---- Industries Carousel ---- */
.industries-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.industries-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.industries-carousel-track .industry-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 0;
}

/* Carousel Arrows */
.ic-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  transition: all 0.25s;
  opacity: 0.82;
}

.ic-arrow:hover {
  background: var(--primary);
  color: #fff;
  opacity: 1;
  box-shadow: 0 4px 16px rgba(0,136,201,.25);
}

.ic-arrow.hidden {
  display: none;
}

.ic-prev { left: -18px; }
.ic-next { right: -18px; }

/* Carousel Dots */
.industries-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.ic-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(0,136,201,.22);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.ic-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ---- END Industries Carousel ---- */

/* ==============================
   NEWS SECTION
   ============================== */
.news-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-light);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 40px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.news-tab {
  padding: 9px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 7px;
  cursor: pointer;
  transition: var(--transition);
}

.news-tab.active {
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

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

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-card.featured .news-img {
  height: 240px;
}

.news-img {
  height: 160px;
  background: linear-gradient(135deg, #0078B5 0%, #00A0E9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-img img {
  transform: scale(1.04);
  opacity: .82;
}

.news-img svg {
  width: 50px; height: 50px;
  stroke: rgba(255,255,255,.3);
  fill: none;
}

.news-cat-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
}

.cat-company { background: var(--accent); color: #fff; }
.cat-industry { background: rgba(42,82,152,.8); color: #fff; }

.news-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card.featured .news-title {
  font-size: 18px;
  -webkit-line-clamp: 3;
}

.news-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 14px;
  transition: var(--transition);
}

.news-read-more:hover { gap: 8px; color: var(--accent); }
.news-read-more svg { width: 13px; height: 13px; stroke: currentColor; fill: none; }

/* ==============================
   INNER PAGES
   ============================== */
.page-hero {
  min-height: 420px;
  padding: 150px 0 78px;
  background: linear-gradient(90deg, rgba(5,30,55,.88), rgba(0,95,158,.70)), url('../assets/images/company-building.webp') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 58px 58px;
}

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

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  margin-bottom: 20px;
}

.breadcrumb a { color: #fff; }

.page-title {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-lead {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.85;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.image-panel {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,136,201,.12);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.text-kicker {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lead-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 24px;
}

.metric-grid,
.feature-grid,
.solution-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

.metric-grid { grid-template-columns: repeat(4, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.solution-grid { grid-template-columns: repeat(2, 1fr); }
.contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }

.metric-card,
.feature-card,
.solution-card,
.contact-card,
.news-list-card {
  background: #fff;
  border: 1px solid rgba(0,136,201,.10);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover,
.solution-card:hover,
.news-list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,136,201,.24);
}

.metric-card strong {
  display: block;
  color: var(--primary-dark);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-card span,
.feature-card p,
.solution-card p,
.contact-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0,136,201,.08);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 16px;
}

.feature-card h3,
.solution-card h3,
.contact-card h3,
.news-list-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.timeline-shell {
  position: relative;
}

.timeline-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: -10px 0 18px;
}

.timeline-controls.hidden {
  display: none;
}

.timeline-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0,136,201,.18);
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-arrow:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.timeline-arrow:disabled {
  opacity: .36;
  cursor: not-allowed;
  box-shadow: none;
}

.timeline-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline {
  display: flex;
  gap: 18px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 8px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,136,201,.45) rgba(0,136,201,.08);
}

.timeline::-webkit-scrollbar {
  height: 8px;
}

.timeline::-webkit-scrollbar-track {
  background: rgba(0,136,201,.08);
  border-radius: 999px;
}

.timeline::-webkit-scrollbar-thumb {
  background: rgba(0,136,201,.45);
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  flex: 0 0 min(360px, calc(100vw - 56px));
  min-height: 196px;
  background: #fff;
  border: 1px solid rgba(0,136,201,.10);
  border-radius: 12px;
  padding: 22px 22px 24px;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0,136,201,.24);
  box-shadow: var(--shadow-md);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(246,162,26,.16);
}

.timeline-item time {
  display: block;
  color: var(--primary);
  font-weight: 800;
  margin: 0 0 18px;
  padding-left: 30px;
}

.timeline-item h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.timeline-item .lead-text {
  margin: 0;
  font-size: 14px;
}

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

.product-page-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,136,201,.10);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.product-page-img {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #f7fbff, #e8f2f8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-page-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.product-page-body {
  padding: 22px;
}

.product-page-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.product-page-body p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.product-card .tag-row {
  margin-top: auto;
  margin-bottom: 16px;
}

.soft-tag {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0,136,201,.08);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card .soft-tag {
  max-width: 100%;
  white-space: normal;
  line-height: 1.45;
}

@media (max-width: 1260px) {
  .language-switch { display: none; }
  .logo { flex-basis: 250px; }
}

.news-archive-section {
  padding: 72px 0;
  background: #fff;
}

.news-archive-section .container {
  max-width: 1320px;
}

.news-page-grid,
.news-archive {
  display: grid;
  gap: 56px;
}

.news-page-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.news-page-tab {
  min-width: 180px;
  height: 50px;
  padding: 0 34px;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  background: #f7f7f7;
  color: #555;
  font-size: 17px;
  line-height: 1;
  transition: var(--transition);
}

.news-page-tab:hover {
  color: var(--primary);
  border-color: rgba(0,136,201,.28);
}

.news-page-tab.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.news-page-panel {
  display: none;
}

.news-page-panel.is-active {
  display: block;
}

.news-list-grid {
  display: grid;
  gap: 22px;
}

.news-list-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px dashed #d9dfe7;
}

.news-list-card.is-hidden {
  display: none;
}

.news-list-thumb {
  display: block;
  width: 280px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef4f9, #dbeafe);
}

.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.news-list-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 0;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.news-list-title {
  min-width: 0;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--text-primary);
}

.news-list-title a {
  transition: var(--transition);
}

.news-list-title a:hover {
  color: var(--primary);
}

.news-list-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.news-list-content .news-read-more {
  align-self: flex-start;
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.news-page-number {
  min-width: 46px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  transition: var(--transition);
}

.news-page-number:hover,
.news-page-number.is-active {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.news-page-next {
  min-width: 86px;
}

.news-page-ellipsis {
  color: #111827;
  font-size: 14px;
  line-height: 42px;
}

.news-title a {
  transition: var(--transition);
}

.news-title a:hover {
  color: var(--primary);
}

.narrow-container {
  max-width: 960px;
}

.news-detail-card {
  background: #fff;
  border: 1px solid rgba(0,136,201,.10);
  border-radius: 14px;
  padding: clamp(26px, 4vw, 52px);
  box-shadow: var(--shadow-sm);
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.news-detail-meta span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0,136,201,.08);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.news-detail-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 18px;
}

.news-detail-lead {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.9;
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.news-detail-cover,
.news-media-block,
.news-video-block {
  margin: 0 0 28px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-light);
  border: 1px solid rgba(0,136,201,.10);
}

.news-detail-cover img,
.news-media-block img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.news-media-block figcaption,
.news-video-block figcaption {
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 13px;
  background: #fff;
}

.news-video-block {
  aspect-ratio: 16 / 9;
}

.news-video-block video,
.news-video-block iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.news-video-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.news-video-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}

.news-video-note {
  position: relative;
  z-index: 1;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(8,58,99,.82);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

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

.news-detail-body h3 {
  margin-top: 8px;
  color: var(--text-primary);
  font-size: 22px;
}

.news-detail-body p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 2;
}

.news-detail-body blockquote {
  margin: 4px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: rgba(246,162,26,.08);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.8;
}

.news-detail-body ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  list-style: disc;
  color: var(--text-secondary);
}

.news-detail-body a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-detail-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px auto 18px;
  border-radius: 12px;
}

.news-detail-body table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
}

.news-detail-body th,
.news-detail-body td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.news-detail-body .ql-align-center { text-align: center; }
.news-detail-body .ql-align-right { text-align: right; }
.news-detail-body .ql-align-justify { text-align: justify; }

.industry-detail-card .news-detail-cover img {
  max-height: 560px;
}

.empty-state {
  background: linear-gradient(135deg, #fff, #f5faff);
  border: 1px dashed rgba(0,136,201,.28);
  border-radius: 12px;
  padding: 30px;
  color: var(--text-secondary);
  text-align: center;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1.25fr) minmax(360px, .75fr);
  gap: 52px;
  align-items: center;
}

.product-detail-hero {
  align-items: stretch;
  margin-bottom: 48px;
}

.product-detail-gallery {
  min-height: 560px;
  border-radius: 14px;
  border: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none;
  position: relative;
}

.product-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.product-gallery-stage {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.product-gallery-stage img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .25s ease;
}

.product-gallery-stage img.active {
  opacity: 1;
}

.product-gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 28px;
}

.product-gallery-dots button {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: #3d3d3d;
  cursor: pointer;
}

.product-gallery-dots button.active {
  background: #1f5ca8;
}

.product-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,95,158,.16);
  box-shadow: 0 8px 24px rgba(15,54,88,.14);
  color: #1f5ca8;
  font-size: 32px;
  line-height: 1;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  transition: var(--transition);
}

.product-gallery-arrow:hover {
  background: #1f5ca8;
  color: #fff;
}

.product-gallery-prev {
  left: 18px;
}

.product-gallery-next {
  right: 18px;
}

.product-detail-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 16px;
}

.product-hero-overview {
  margin: -2px 0 18px;
}

.product-hero-overview p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 8px;
}

.product-feature-checks {
  display: grid;
  gap: 10px;
  margin: 14px 0 22px;
}

.product-feature-checks li {
  position: relative;
  min-height: 22px;
  padding-left: 28px;
  color: var(--text-primary);
  line-height: 1.6;
}

.product-feature-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1f5ca8;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.detail-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn-outline.dark {
  color: var(--primary-dark);
  border-color: rgba(0,136,201,.22);
  background: rgba(0,136,201,.06);
}

.btn-outline.dark:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.detail-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.detail-panel {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(0,136,201,.10);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.detail-panel-wide {
  margin-top: 28px;
  scroll-margin-top: 160px;
}

.product-detail-tabs {
  position: sticky;
  top: 74px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 34px calc(50% - 50vw) 0;
  padding: 10px calc(50vw - 50%);
  overflow-x: auto;
  background: rgba(255,255,255,.96);
  border-top: 1px solid rgba(0,0,0,.05);
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}

.product-detail-tabs::-webkit-scrollbar {
  display: none;
}

.product-detail-tabs a {
  flex: 0 0 auto;
  min-width: 72px;
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #263241;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.product-detail-tabs a.active,
.product-detail-tabs a:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.product-detail-sections {
  background: #fff;
  padding-top: 2px;
}

.detail-panel h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.detail-panel p,
.detail-list li {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.detail-list {
  display: grid;
  gap: 8px;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
}

.detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,136,201,.10);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 34%;
  color: var(--text-primary);
  background: rgba(0,136,201,.05);
}

.fixed-spec-table th {
  width: 220px;
}

.installation-grid {
  display: grid;
  gap: 18px;
}

.installation-card {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(280px, .85fr);
  gap: 30px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(0,136,201,.10);
  background: #fbfdff;
}

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

.installation-card img,
.detail-image-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.installation-carousel {
  position: relative;
  width: 100%;
  margin: 0;
}

.installation-carousel .product-gallery-stage {
  min-height: 360px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.installation-carousel .product-gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.installation-carousel .product-gallery-dots {
  margin-top: 10px;
}

.installation-carousel .product-gallery-arrow {
  width: 38px;
  height: 38px;
  font-size: 26px;
}

.installation-card h4 {
  display: none;
}

.installation-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.85;
}

.structure-list {
  display: grid;
  border: 1px solid rgba(0,136,201,.10);
}

.structure-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 54px;
  border-bottom: 1px solid rgba(0,136,201,.10);
}

.structure-row:last-child {
  border-bottom: 0;
}

.structure-row strong,
.structure-row span {
  padding: 15px 16px;
  line-height: 1.6;
}

.structure-row strong {
  background: rgba(0,136,201,.05);
  color: var(--text-primary);
}

.detail-image-block {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(0,136,201,.10);
  background: #fbfdff;
}

.rich-detail {
  color: var(--text-secondary);
  line-height: 1.85;
}

.rich-detail img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.faq-section {
  display: grid;
  gap: 10px;
}

.faq-section details {
  border: 1px solid rgba(0,136,201,.12);
  border-radius: 10px;
  background: #fff;
  padding: 14px 16px;
}

.faq-section summary {
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 700;
}

.faq-section details p {
  margin: 10px 0 0;
}

.contact-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

.contact-item strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text-primary);
  background: #fff;
}

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

/* ==============================
   PARTNERS SECTION
   ============================== */
.partners-section {
  overflow: hidden;
}

.partners-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.partner-marquee-row {
  position: relative;
  overflow: hidden;
  padding: 2px 0 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  animation: partnerMarquee var(--partner-duration, 80s) linear infinite;
  will-change: transform;
}

.partner-marquee-row-2 .partner-marquee-track {
  animation-direction: reverse;
}

.partner-marquee-set {
  display: flex;
  flex: 0 0 auto;
  gap: 20px;
  padding-right: 20px;
}

.partners-grid:hover .partner-marquee-track {
  animation-play-state: paused;
}

.partners-grid:not(:has(.partner-marquee-row)) {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.partners-grid:not(:has(.partner-marquee-row)) .partner-card {
  flex: initial;
  width: auto;
}

.partner-card {
  flex: 0 0 188px;
  width: 188px;
  min-height: 144px;
  padding: 22px 18px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}

.partner-card-logo {
  width: 100%;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card-logo img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(.08);
  transition: var(--transition);
}

.partner-card h3 {
  width: 100%;
  min-height: 22px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.partner-card:hover {
  border-color: rgba(0,136,201,.36);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.partner-card:hover img {
  filter: grayscale(0);
  transform: scale(1.04);
}

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

@keyframes partnerMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee-track {
    animation: none;
    transform: none;
  }
}

/* ==============================
   CTA SECTION
   ============================== */
.cta-section {
  background: var(--primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.3px;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: .2px;
}

.btn-cta-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,93,32,.4);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: #fff;
  transform: translateY(-2px);
}

/* ==============================
   FOOTER
   ============================== */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.7);
}

.footer-main {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr .9fr 1.4fr;
  gap: 34px;
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-icon { background: #fff; border-radius: 6px; padding: 4px; height: 40px; }

.footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255,255,255,.5);
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover { background: var(--accent); }
.social-link svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.8); fill: none; }

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: .5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.fc-icon {
  width: 30px; height: 30px;
  background: rgba(255,255,255,.07);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.fc-icon svg { width: 13px; height: 13px; stroke: var(--accent); fill: none; }

.footer-contact-item .fc-label {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  margin-bottom: 1px;
}

.footer-contact-item .fc-value {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  word-break: break-all;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

.footer-bottom a {
  color: rgba(255,255,255,.35);
  transition: color .2s;
}

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

/* ==============================
   BACK TO TOP
   ============================== */
.back-top {
  position: fixed;
  bottom: 36px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
  border: none;
}

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

.back-top:hover { background: var(--accent); }
.back-top svg { width: 18px; height: 18px; stroke: #fff; fill: none; }

/* ==============================
   ANIMATIONS
   ============================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-1 { transition-delay: .05s; }
.stagger-2 { transition-delay: .12s; }
.stagger-3 { transition-delay: .19s; }
.stagger-4 { transition-delay: .26s; }
.stagger-5 { transition-delay: .33s; }
.stagger-6 { transition-delay: .40s; }

/* ==============================
   MOBILE NAV (overlay)
   ============================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 999;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  padding: 80px 28px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

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

.mobile-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: block;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.mobile-language-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
}

.mobile-language-switch span {
  margin-right: auto;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}

.mobile-language-switch a {
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 700;
}

.mobile-language-switch a.active,
.mobile-language-switch a:hover {
  background: #fff;
  color: var(--primary);
}

.mobile-nav-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-close svg { width: 18px; height: 18px; stroke: #fff; fill: none; }

.mobile-nav-contact {
  margin-top: 40px;
  padding: 20px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
}

.mobile-contact-phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.mobile-contact-label {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1100px) {
  .nav-link { padding: 8px 10px; font-size: 13px; }
  .nav-cta { gap: 8px; }
  .nav-phone { display: none; }
  .btn-consult { padding: 8px 14px; }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 60px;
  }
  .hero-visual { display: flex; justify-content: center; }
  .carousel-card { max-width: 480px; }
  .carousel-slide { padding: 0 0 20px; }
  .carousel-controls { padding: 12px 24px 20px; }
  .slide-title { font-size: 15px; margin-left: 24px; margin-right: 24px; }
  .slide-desc { font-size: 12px; margin-left: 24px; margin-right: 24px; }
  .carousel-slide .spec-row,
  .slide-cta { margin-left: 24px; margin-right: 24px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-img-grid { max-width: 440px; margin: 0 auto; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-carousel-track .industry-card { flex: 0 0 calc(50% - 10px); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-grid:not(:has(.partner-marquee-row)) { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split-layout,
  .contact-grid,
  .news-page-grid,
  .news-list-grid,
  .product-detail-layout,
  .detail-panel-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-gallery {
    min-height: 340px;
  }
  .product-gallery-stage {
    min-height: 320px;
  }
  .installation-card {
    grid-template-columns: 1fr;
  }
  .news-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .metric-grid,
  .product-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-content { padding: 100px 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .products-layout { grid-template-columns: 1fr; }
  .product-empty { grid-column: 1; }
  .category-sidebar { position: static; }
  .cat-list { display: flex; overflow-x: auto; padding: 8px 8px 12px; gap: 6px; }
  .cat-item { white-space: nowrap; flex-shrink: 0; }

  .advantages-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .industries-carousel-track .industry-card { flex: 0 0 calc(50% - 10px); }
  .news-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .partners-grid:not(:has(.partner-marquee-row)) { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .partner-card { flex-basis: 164px; width: 164px; min-height: 132px; padding: 18px 14px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { min-width: unset; width: 100%; }
  .carousel-card { max-width: 100%; }
  .carousel-slide { padding: 0 0 18px; }
  .carousel-controls { padding: 10px 20px 18px; }
  .slide-title,
  .slide-desc,
  .carousel-slide .spec-row,
  .slide-cta { margin-left: 20px; margin-right: 20px; }
  .float-card { display: none; }
  .about-fact-list { grid-template-columns: 1fr; }
  .page-hero {
    min-height: 340px;
    padding: 120px 0 56px;
  }
  .news-archive-section {
    padding: 56px 0;
  }
  .news-page-grid,
  .news-archive {
    gap: 44px;
  }
  .news-page-tabs {
    gap: 10px;
  }
  .news-page-tab {
    min-width: 0;
    flex: 1 1 0;
    height: 46px;
    padding: 0 14px;
    font-size: 15px;
  }
  .news-list-grid {
    gap: 24px;
  }
  .news-list-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 24px;
  }
  .news-list-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .news-list-content {
    padding: 0;
  }
  .news-list-title {
    font-size: 17px;
  }
  .news-list-excerpt {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }
  .news-pagination {
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 28px;
  }
  .metric-grid,
  .feature-grid,
  .solution-grid,
  .product-page-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .detail-actions {
    flex-direction: column;
  }
  .detail-actions .btn-primary,
  .detail-actions .btn-outline {
    justify-content: center;
  }
  .product-detail-tabs {
    top: 64px;
    gap: 6px;
    margin-top: 24px;
    padding: 8px 16px;
  }
  .product-detail-tabs a {
    min-width: 60px;
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }
  .structure-row {
    grid-template-columns: 1fr;
  }
  .structure-row strong,
  .structure-row span {
    padding: 12px 14px;
  }
  .installation-carousel .product-gallery-stage {
    min-height: 220px;
  }
  .form-field.full { grid-column: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: 1fr; }
  .industries-carousel-track .industry-card { flex: 0 0 calc(100% - 20px); }
  .industries-carousel-track { gap: 20px; }
  .ic-arrow { width: 32px; height: 32px; }
  .ic-prev { left: -8px; }
  .ic-next { right: -8px; }
  .partners-grid { grid-template-columns: 1fr; }
  .partners-grid:not(:has(.partner-marquee-row)) { grid-template-columns: 1fr; }
  .partner-card { flex-basis: 148px; width: 148px; min-height: 120px; }
  .about-features { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-cta-primary, .btn-cta-outline { justify-content: center; }
  .product-detail-tabs a {
    min-width: 54px;
    padding: 0 10px;
  }
}

/* Regional topic page: /sh/ */
.topic-page { background: #fff; }

.topic-hero {
  padding: 150px 0 92px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(5,30,55,.92), rgba(0,95,158,.78)),
    url('../assets/images/company-building.webp') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.topic-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 56px 56px;
}

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

.topic-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr);
  gap: 52px;
  align-items: center;
}

.topic-title {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.08;
  margin: 14px 0 20px;
}

.topic-lead {
  max-width: 760px;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.topic-hero-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 28px 60px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}

.topic-hero-card strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.topic-hero-card span {
  display: block;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  margin-bottom: 20px;
}

.topic-hero-card ul { display: grid; gap: 12px; }

.topic-hero-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  line-height: 1.7;
}

.topic-hero-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.topic-metrics {
  margin-top: -76px;
  position: relative;
  z-index: 2;
}

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

.topic-product-grid .product-page-card { color: inherit; }

.topic-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 22px auto 28px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.shanghai-topic .topic-hero {
  background:
    linear-gradient(120deg, rgba(8,58,99,.94), rgba(0,136,201,.74)),
    url('../assets/images/company-building.webp') center/cover no-repeat;
}

/* Managed landing pages: /en/ */
.landing-page {
  background: #f7fafc;
}
.landing-hero {
  padding: 150px 0 88px;
  background:
    linear-gradient(135deg, rgba(0, 86, 132, .88), rgba(8, 139, 174, .74)),
    url("../assets/images/company-building.webp") center/cover no-repeat;
  color: #fff;
}
.landing-hero .container {
  max-width: 920px;
}
.landing-kicker {
  color: rgba(255,255,255,.78);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.landing-title {
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
}
.landing-subtitle {
  margin: 0 0 14px;
  color: rgba(255,255,255,.92);
  font-size: 22px;
  font-weight: 700;
}
.landing-desc {
  max-width: 760px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.84);
  font-size: 17px;
  line-height: 1.8;
}
.landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.landing-panel {
  min-height: 240px;
  padding: 30px;
  border: 1px solid rgba(15, 54, 88, .1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 54, 88, .08);
}
.landing-panel h2 {
  margin-bottom: 16px;
  color: #0f3658;
}
.landing-highlights {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.landing-highlights li {
  padding-left: 18px;
  position: relative;
  color: #445568;
}
.landing-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00a7b5;
}
.landing-relation {
  color: #445568;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .topic-hero { padding: 120px 0 70px; }
  .topic-hero-grid,
  .topic-product-grid { grid-template-columns: 1fr; }
  .topic-hero-card { padding: 24px; }
  .topic-metrics { margin-top: 0; }

  .landing-hero {
    padding: 120px 0 70px;
  }
  .landing-grid {
    grid-template-columns: 1fr;
  }
  .landing-panel {
    min-height: unset;
    padding: 24px;
  }
}

/* ==============================
   PREFERS REDUCED MOTION
   ============================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
.shanghai-rich-body {
  max-width: 960px;
  margin: 0 auto;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.85;
}

.shanghai-rich-body h1,
.shanghai-rich-body h2,
.shanghai-rich-body h3 {
  color: var(--primary-dark);
  margin: 0 0 16px;
  line-height: 1.35;
}

.shanghai-rich-body p,
.shanghai-rich-body ul,
.shanghai-rich-body ol,
.shanghai-rich-body blockquote {
  margin: 0 0 16px;
}

.shanghai-rich-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.shanghai-rich-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}

.shanghai-rich-body th,
.shanghai-rich-body td {
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  text-align: left;
}

.shanghai-rich-body .ql-align-center { text-align: center; }
.shanghai-rich-body .ql-align-right { text-align: right; }
.shanghai-rich-body .ql-align-justify { text-align: justify; }
