/* ===== Hengruida Tools - Global Styles ===== */
/* Color Theme: PANTONE 326 C (#00B7B7) + Black + Brand Red (#E40615 from logo) */

:root {
  --primary: #00B7B7;          /* PANTONE 326 C - main brand color */
  --primary-dark: #008C8C;     /* darker shade of 326 C */
  --primary-light: #33C6C6;    /* lighter shade of 326 C */
  --primary-lighter: #66D9D9;  /* even lighter */
  --primary-pale: #E6F7F7;     /* very light tint for backgrounds */
  --primary-glow: rgba(0,183,183,0.15); /* glow effect */
  --accent: #00B7B7;
  --accent-dark: #008C8C;
  --brand-red: #E40615;        /* Hengruida logo red */
  --brand-red-dark: #B80411;
  --brand-red-light: #FF2E3A;
  --brand-red-pale: #FDECEE;
  --brand-red-glow: rgba(228,6,21,0.15);
  --black: #0A0A0A;
  --black-soft: #1A1A1A;
  --bg-light: #F5F7F8;
  --bg-gray: #ECEFF1;
  --text-dark: #0A0A0A;
  --text-medium: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --success: #00B7B7;
  --border: #E0E4E7;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.16);
  --shadow-primary: 0 4px 20px rgba(0,183,183,0.25);
  --shadow-primary-lg: 0 8px 40px rgba(0,183,183,0.35);
  --radius: 8px;
  --radius-lg: 16px;
  --container: 1200px;
  --font-heading: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

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

.header-top {
  background: var(--black);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top .contact-info {
  display: flex;
  gap: 24px;
}

.header-top .contact-info a {
  color: var(--white);
  opacity: 0.9;
}

.header-top .contact-info a:hover {
  opacity: 1;
  color: var(--accent);
}

.header-main {
  padding: 16px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
}
/* Brand slogan next to logo */
.logo .logo-slogan {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.6px;
  color: var(--primary);
  white-space: nowrap;
  transition: color 0.3s ease;
  text-shadow: 0 1px 2px rgba(0,183,183,0.15);
}

.logo:hover .logo-slogan {
  color: var(--primary-dark);
}

/* Real Hengruida logo image - transparent PNG */
.logo .logo-img {
  height: 62px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.04);
}

/* Footer logo on dark background - white version */
.footer .logo .logo-img {
  height: 68px;
}

.footer .logo .logo-slogan {
  color: rgba(255,255,255,0.55);
}

.footer .logo:hover .logo-slogan {
  color: var(--primary);
}

.footer .logo {
  color: var(--white);
}

.logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.logo .logo-text span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

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

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav a.active::after {
  width: 100%;
}

.btn-quote {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-primary);
}

.btn-quote:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
}

.btn-quote::after {
  display: none;
}

.mobile-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><path fill="%2300B7B7" fill-opacity="0.04" d="M400,0 L800,0 L800,600 L400,600 Z"/><circle cx="600" cy="300" r="200" fill="%2300B7B7" fill-opacity="0.05"/><circle cx="600" cy="300" r="120" fill="%2300B7B7" fill-opacity="0.04"/></svg>') no-repeat center;
  background-size: cover;
  z-index: 0;
}

/* ===== Carousel ===== */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  width: 500%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  width: 20%;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 40%, #003D3D 100%);
  padding: 80px 0 100px;
}

/* ===== Banner Slides (合成大图) ===== */
.banner-slide {
  padding: 0;
  background: #001A1D;
  line-height: 0;
}

.banner-slide picture {
  display: block;
  line-height: 0;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 660px;
  object-fit: cover;
}

/* Banner 上的 CTA 按钮: 浮在底部横幅之上 */
.banner-cta {
  position: absolute;
  left: 50%;
  bottom: 76px;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 5;
  line-height: normal;
}

.banner-cta .btn-primary,
.banner-cta .btn-outline {
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.banner-cta .btn-primary {
  background: var(--brand-red);
  color: var(--white);
  border: 2px solid var(--brand-red);
  box-shadow: 0 6px 20px rgba(228, 6, 21, 0.35);
}

.banner-cta .btn-primary:hover {
  background: #ff1622;
  border-color: #ff1622;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(228, 6, 21, 0.5);
}

.banner-cta .btn-outline {
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

.banner-cta .btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--black);
  transform: translateY(-2px);
}

.carousel-slide:nth-child(2) {
  background: linear-gradient(135deg, #003D3D 0%, var(--black-soft) 40%, var(--black) 100%);
}

.carousel-slide:nth-child(3) {
  background: linear-gradient(135deg, var(--black) 0%, #002828 50%, var(--black-soft) 100%);
}

.carousel-slide .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><path fill="%2300B7B7" fill-opacity="0.06" d="M400,0 L800,0 L800,600 L400,600 Z"/><circle cx="600" cy="300" r="200" fill="%2300B7B7" fill-opacity="0.08"/><circle cx="600" cy="300" r="120" fill="%2300B7B7" fill-opacity="0.05"/></svg>') no-repeat center;
  background-size: cover;
}

/* Glow orbs in carousel */
.carousel-slide::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,183,183,0.12) 0%, rgba(0,183,183,0) 70%);
  z-index: 0;
}

/* Carousel navigation dots */
.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 6px;
}

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

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

.carousel-arrow.prev {
  left: 20px;
}

.carousel-arrow.next {
  right: 20px;
}

/* Hero content styles (shared by all slides) */
.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-visual .product-showcase {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual .product-showcase svg {
  width: 70%;
  height: 70%;
}

/* Hero stats bar (for slide 2) */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.hero-stat .stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat .stat-label {
  font-size: 14px;
  opacity: 0.85;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ===== Section Common ===== */
.section {
  padding: 80px 0;
}

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

.section-header .section-tag {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(0,183,183,0.2);
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Products Section ===== */
.products-section {
  background: var(--bg-light);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-primary-lg);
  border-color: rgba(0,183,183,0.3);
}

.product-card .product-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-pale) 0%, var(--bg-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card .product-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-card .product-image svg,
.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image svg,
.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-card .product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}

.product-card .product-info {
  padding: 24px;
}

.product-card .product-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.product-card .product-info p {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 16px;
  line-height: 1.5;
}

.product-card .product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-card .product-specs span {
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,183,183,0.1);
}

.product-card .product-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.product-card:hover .product-link {
  gap: 12px;
  color: var(--primary);
}

/* ===== Features/Advantages ===== */
.features-section {
  background: var(--white);
}

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

.feature-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.feature-card:hover {
  border-color: rgba(0,183,183,0.3);
  box-shadow: var(--shadow-primary);
  transform: translateY(-4px);
}

.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-pale) 0%, rgba(0,183,183,0.08) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  border: 1px solid rgba(0,183,183,0.1);
  overflow: hidden;
}

.feature-card .feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

/* OEM page feature icons - rectangular images instead of circular */
.oem-features .feature-icon.oem-icon {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  background: var(--white);
  border: 2px solid rgba(0,183,183,0.15);
  padding: 8px;
}

.oem-features .feature-icon.oem-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.oem-features .feature-card:hover .feature-icon.oem-icon {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ===== Markets Section ===== */
.markets-section {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.markets-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,183,183,0.06) 0%, rgba(0,183,183,0) 70%);
  transform: translate(-50%, -50%);
}

.markets-section .section-header h2 {
  color: var(--white);
}

.markets-section .section-header p {
  color: rgba(255,255,255,0.7);
}

.markets-section .section-header .section-tag {
  background: rgba(0,183,183,0.15);
  color: var(--primary);
}

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

.market-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.market-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.market-card:hover::before {
  width: 60%;
}

.market-card:hover {
  background: linear-gradient(135deg, rgba(0,183,183,0.15) 0%, rgba(0,183,183,0.05) 100%);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-primary);
}

.market-card .market-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.market-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.market-card p {
  font-size: 13px;
  opacity: 0.75;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path fill="%23000000" fill-opacity="0.08" d="M0,0 L1200,0 L1200,200 L0,200 Z"/><circle cx="200" cy="100" r="80" fill="%23ffffff" fill-opacity="0.04"/><circle cx="1000" cy="100" r="60" fill="%23ffffff" fill-opacity="0.03"/></svg>') no-repeat center;
  background-size: cover;
}

.cta-section .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-content p {
  font-size: 16px;
  opacity: 0.9;
}

.cta-section .btn-primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(228,6,21,0.35);
}

.cta-section .btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-red-light) 0%, var(--brand-red) 100%);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(228,6,21,0.45);
}

/* ===== FAQ Section ===== */
.faq-section {
  background: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .faq-toggle {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ===== Footer ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

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

.footer-col ul li a {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-contact p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.footer-contact p strong {
  opacity: 1;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
}

/* ===== Product Detail Page ===== */
.product-detail {
  padding: 40px 0 80px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.breadcrumb a {
  color: var(--text-medium);
}

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

.breadcrumb span {
  color: var(--text-light);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.product-gallery {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery svg,
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info-detail h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-info-detail .product-code {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.product-info-detail .product-description {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--text-dark);
}

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

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.product-tags span {
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.inquiry-form {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.inquiry-form h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

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

/* ===== About Page ===== */
.about-hero {
  background: linear-gradient(135deg, var(--black), var(--black-soft));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 17px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.about-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-visual {
  background: linear-gradient(135deg, var(--primary-pale) 0%, var(--bg-light) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,183,183,0.08);
}

/* ===== Enhanced Visual Elements ===== */

/* Logo icon gradient */
.logo .logo-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: var(--shadow-primary);
}

/* Nav active link underline */
.nav a.active::after {
  background: var(--primary);
  height: 2px;
}

/* Nav hover underline */
.nav a:hover {
  color: var(--primary-dark);
}

/* FAQ active state */
.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(0,183,183,0.1);
}

.faq-question .faq-toggle {
  color: var(--primary);
}

/* Stats numbers gradient */
.container > div[style*="text-align:center"] > div[style*="font-size:36px"] {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section divider with primary color accent */
.section + .section {
  border-top: 1px solid var(--border);
}

/* Footer brand glow */
.footer-brand .logo .logo-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Product link arrow enhancement */
.product-card .product-link {
  color: var(--primary-dark);
}

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

/* Inquiry form submit button gradient */
.inquiry-form .btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Form focus states */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,183,183,0.12);
}

/* Spec table header gradient */
.spec-table th {
  background: linear-gradient(135deg, var(--primary-pale) 0%, rgba(0,183,183,0.05) 100%);
  border-bottom: 2px solid var(--primary);
}

/* Product tags enhanced */
.product-tags span {
  background: linear-gradient(135deg, var(--primary-pale) 0%, rgba(0,183,183,0.04) 100%);
  color: var(--primary-dark);
  border: 1px solid rgba(0,183,183,0.12);
}

/* Carousel dot active glow */
.carousel-dot.active {
  background: var(--primary);
  box-shadow: 0 0 8px rgba(0,183,183,0.5);
}

/* Carousel arrow hover glow */
.carousel-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

/* Hero stat cards enhanced */
.hero-stat {
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(0,183,183,0.05) 100%);
  border: 1px solid rgba(0,183,183,0.15);
}

.hero-stat .stat-number {
  text-shadow: 0 0 20px rgba(0,183,183,0.3);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-float .wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.whatsapp-float .wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.whatsapp-float .wa-btn svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

/* Breathing pulse ring */
.whatsapp-float .wa-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: waPulse 2.5s ease-out infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Tooltip bubble */
.whatsapp-float .wa-tooltip {
  background: var(--white);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  font-size: 14px;
  color: var(--text-dark);
  white-space: nowrap;
  position: relative;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-float .wa-tooltip::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 26px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--white);
  transform: translateY(100%);
}

.whatsapp-float .wa-tooltip strong {
  display: block;
  font-size: 13px;
  color: #25D366;
  margin-bottom: 2px;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile: always show tooltip as small label */
@media (max-width: 768px) {
  .whatsapp-float .wa-btn {
    width: 52px;
    height: 52px;
  }
  .whatsapp-float .wa-btn svg {
    width: 28px;
    height: 28px;
  }
  .whatsapp-float .wa-btn::before {
    width: 52px;
    height: 52px;
  }
  .whatsapp-float .wa-tooltip {
    display: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero .container,
  .carousel-slide .container {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .carousel-slide {
    padding: 50px 0 70px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .carousel-arrow.prev {
    left: 10px;
  }
  
  .carousel-arrow.next {
    right: 10px;
  }
  
  .carousel-dots {
    position: static;
    transform: none;
    padding: 14px 0 18px;
    background: rgba(0, 32, 36, 0.96);
    gap: 10px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  
  .nav.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .header-top {
    display: none;
  }
  
  .cta-section .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 26px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .markets-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
}

/* ================================================
   Brand Red Accent Layer (Hengruida logo red #E40615)
   ================================================ */

/* Thin brand color bar at very top of page */
body::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red) 0%, var(--brand-red-dark) 25%, var(--primary) 60%, var(--primary-dark) 100%);
}

/* Brand red product tags */
.product-tag {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%) !important;
  color: var(--white) !important;
  box-shadow: 0 2px 10px var(--brand-red-glow);
}

/* Brand red section tag variant */
.section-tag.red {
  background: var(--brand-red-pale);
  color: var(--brand-red);
}

/* Brand red CTA button */
.btn-red {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%) !important;
  color: var(--white) !important;
  border: none;
  box-shadow: 0 4px 20px var(--brand-red-glow);
  transition: all 0.3s ease;
}

.btn-red:hover {
  background: linear-gradient(135deg, var(--brand-red-light) 0%, var(--brand-red) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(228,6,21,0.35);
}

/* Logo teal glow on hover in header */
.header .logo-img {
  box-shadow: 0 0 0 0 rgba(0,183,183,0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header .logo:hover .logo-img {
  box-shadow: 0 4px 18px rgba(0,183,183,0.45);
}

/* Brand red accent line under section headers */
.section-header h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--brand-red) 0%, var(--primary) 100%);
  border-radius: 2px;
}

/* Stat bar red accents */
.stat-number {
  position: relative;
}

.stat-number::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto 0;
  background: var(--brand-red);
  border-radius: 1px;
}

/* Header top: highlight email/phone with red underline on hover */
.header-top .contact-info a {
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.header-top .contact-info a:hover {
  border-bottom-color: var(--brand-red);
}

/* WhatsApp button - brand red glow */
.whatsapp-float .wa-btn {
  box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(228,6,21,0.4);
}

/* Feature card: red highlight on hover accent line */
.feature-card:hover::before {
  background: linear-gradient(90deg, var(--brand-red) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

/* Footer brand column logo spacing */
.footer-brand .logo {
  margin-bottom: 18px;
}

/* Contact info red markers in footer */
.footer-contact p::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--brand-red);
  border-radius: 50%;
  vertical-align: middle;
}

/* Company info strip (added for contact details) */
.company-strip {
  background: var(--black-soft);
  color: var(--white);
  padding: 18px 0;
  font-size: 13.5px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.company-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.company-strip .item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-strip .item .dot {
  width: 7px;
  height: 7px;
  background: var(--brand-red);
  border-radius: 50%;
  flex-shrink: 0;
}

.company-strip a {
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.company-strip a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.company-strip strong {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .banner-cta {
    bottom: 58px;
    gap: 10px;
  }
  .banner-cta .btn-primary,
  .banner-cta .btn-outline {
    padding: 10px 18px;
    font-size: 13px;
  }
  .banner-img {
    min-height: 300px;
    max-height: 340px;
    object-fit: cover;
    object-position: 42% center;
  }
  .logo .logo-img {
    height: 44px;
  }
  .footer .logo .logo-img {
    height: 46px;
  }
  .logo .logo-slogan {
    font-size: 17px;
    letter-spacing: 0.4px;
  }
  .company-strip .container {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== Banner 移动端 (<=640px): 使用竖版合成图 ===== */
@media (max-width: 640px) {
  .banner-slide {
    height: auto;
    padding: 0;
    overflow: hidden;
  }

  .banner-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: initial;
  }

  /* CTA 移到图片下方独立区域, 不遮挡 banner 内容 */
  .banner-cta {
    position: static;
    transform: none;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    background: rgba(0, 32, 36, 0.96);
    line-height: normal;
  }

  .banner-cta .btn-primary,
  .banner-cta .btn-outline {
    padding: 11px 18px;
    font-size: 13px;
  }

  /* 圆点移到 CTA 下方, 不再遮挡按钮 */
  .carousel-dots {
    position: static;
    transform: none;
    padding: 14px 0 18px;
    background: rgba(0, 32, 36, 0.96);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .logo .logo-slogan {
    display: none;
  }

  .banner-slide {
    height: auto;
  }

  .banner-cta {
    padding: 14px 10px;
  }

  .banner-cta .btn-primary,
  .banner-cta .btn-outline {
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* ===== Accessibility helper ===== */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Blog article layout ===== */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 32px;
}

.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta strong { color: var(--text-dark); font-weight: 600; }

.article-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-medium);
}

.article-body > p:first-of-type {
  font-size: 19px;
  color: var(--text-dark);
  line-height: 1.7;
}

.article-body h2 {
  font-size: 28px;
  color: var(--text-dark);
  margin: 48px 0 18px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  line-height: 1.3;
}

.article-body h3 {
  font-size: 21px;
  color: var(--text-dark);
  margin: 32px 0 12px;
  line-height: 1.35;
}

.article-body p { margin: 0 0 20px; }
.article-body ul,
.article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { color: var(--text-dark); }

.article-body a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--primary-pale);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  color: var(--text-dark);
  font-size: 16px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 15px;
}

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

.article-body th {
  background: var(--primary-pale);
  color: var(--text-dark);
  font-weight: 600;
}

.article-body tr:nth-child(even) td { background: #FAFBFC; }

.takeaways {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0 40px;
}

.takeaways h2 {
  font-size: 18px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--primary-dark);
}

.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { margin-bottom: 8px; font-size: 16px; }

.article-cta {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 36px;
  margin: 48px 0;
  text-align: center;
}

.article-cta h2 {
  color: #fff !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 24px !important;
  margin: 0 0 12px !important;
}

.article-cta p { color: rgba(255, 255, 255, 0.78); margin-bottom: 22px; }

.article-cta .btn-primary { display: inline-block; }
.article-cta .btn-outline { display: inline-block; margin-left: 10px; }

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 15px;
}

.article-nav a { color: var(--primary-dark); font-weight: 600; }

@media (max-width: 768px) {
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 23px; margin-top: 36px; }
  .article-body h3 { font-size: 19px; }
  .article-cta { padding: 26px 20px; }
  .article-cta .btn-outline { display: block; margin: 10px 0 0; }
  .article-body table { font-size: 13px; }
  .article-body th,
  .article-body td { padding: 8px 10px; }
}

/* ===== Long specification tables (per-model catalogue) ===== */
.spec-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

.spec-scroll .spec-table {
  min-width: 640px;
  margin-bottom: 0;
}

.spec-table .spec-group td {
  background: var(--black);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 9px 14px;
}

.spec-table .spec-group:hover td {
  background: var(--black);
}

.spec-table tbody tr:hover td {
  background: var(--primary-pale);
}

.spec-table td strong {
  color: var(--primary-dark);
  font-weight: 600;
  white-space: nowrap;
}

.spec-table tbody td:nth-child(3),
.spec-table tbody td:nth-child(4),
.spec-table tbody td:nth-child(5) {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .spec-table .spec-group td { font-size: 12px; }
}

/* ===== Per-model catalogue blocks (photo + its own spec table) ===== */
.model-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.model-jump a {
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
}

.model-jump a:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: var(--primary-pale);
}

.model-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 20px;
}

.model-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.model-media .model-code {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--primary-dark);
  margin-top: 10px;
  font-size: 15px;
}

.model-body h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.35;
}

.model-body .model-note {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-light);
}

.model-block .spec-table { margin: 0; }

.model-block .spec-table th,
.model-block .spec-table td { padding: 8px 10px; font-size: 13px; }

.model-block .spec-scroll { margin-bottom: 0; }

@media (max-width: 900px) {
  .model-block { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .model-media { max-width: 300px; margin: 0 auto; }
}

/* ===== Nav dropdown (product subcategories) ===== */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-item-dropdown .caret {
  font-size: 10px;
  line-height: 1;
  opacity: 0.55;
  transition: transform 0.2s;
}

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

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 620px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 400;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

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

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-dark) !important;
  white-space: nowrap;
}

.nav-dropdown a::after { display: none !important; }

.nav-dropdown a:hover {
  background: var(--primary-pale);
  color: var(--primary-dark) !important;
}

@media (max-width: 968px) {
  .nav-item-dropdown {
    position: static;
    display: block;
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 2px 0 0 10px;
  }

  .nav-dropdown a { padding: 7px 10px; font-size: 14px !important; }
}

/* ============================================================
   Hero carousel v2 - Nov 2026
   Photo-led split hero: copy left, square product card right.
   Replaces the old split-image banner slides.
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #06171A;
  color: var(--white);
}

/* Legacy .hero::before/::after rules live earlier in this file and still
   declare width:50%; reset them so the new layered background fills the hero. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 560px at 74% 46%, rgba(0, 183, 183, 0.20), rgba(0, 183, 183, 0) 68%),
    radial-gradient(760px 520px at 4% 104%, rgba(228, 6, 21, 0.10), rgba(228, 6, 21, 0) 70%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 58%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 58%);
}

.hero-track {
  position: relative;
  z-index: 1;
  display: flex;
  width: 400%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  position: relative;
  z-index: 1;
  flex: 0 0 25%;
  width: 25%;
  display: flex;
  align-items: center;
  min-height: 600px;
  padding: 44px 0 96px;
}

.hero-slide .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 570px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.hero-kicker::before {
  content: '';
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-red);
}

.hero-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

.hero-copy h2 span {
  color: var(--primary-light);
}

.hero-lead {
  max-width: 500px;
  margin-bottom: 30px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.70);
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-cta .btn-primary,
.hero-cta .btn-outline {
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
}

.hero-cta .btn-primary {
  background: linear-gradient(135deg, #ff2e3a 0%, var(--brand-red) 100%);
  box-shadow: 0 14px 34px -12px rgba(228, 6, 21, 0.75);
}

.hero-cta .btn-primary:hover {
  background: linear-gradient(135deg, #ff4751 0%, #ff1622 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(228, 6, 21, 0.85);
}

.hero-cta .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-cta .btn-outline:hover {
  border-color: rgba(0, 183, 183, 0.65);
  background: rgba(0, 183, 183, 0.12);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.hero-facts li {
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.nowrap {
  white-space: nowrap;
}

.hero-media {
  position: relative;
  width: 500px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  outline: 1px solid rgba(0, 183, 183, 0.24);
  outline-offset: 12px;
  box-shadow:
    0 36px 80px -28px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 90px -20px rgba(0, 183, 183, 0.35);
}

.hero-media picture {
  display: block;
  height: 100%;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04) brightness(0.95);
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(0, 183, 183, 0.10) 0%, rgba(0, 0, 0, 0) 45%),
    radial-gradient(115% 115% at 50% 42%, rgba(4, 20, 23, 0) 40%, rgba(4, 20, 23, 0.62) 100%),
    linear-gradient(0deg, rgba(4, 20, 23, 0.55) 0%, rgba(4, 20, 23, 0) 45%);
}

/* White product panel: catalog-style card on the dark hero */
.hero-media--white {
  background: #fff;
  outline-color: rgba(0, 183, 183, 0.38);
  box-shadow:
    0 34px 80px -26px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.10),
    0 0 80px -24px rgba(0, 183, 183, 0.45);
}

.hero-media--white::after {
  display: none;
}

.hero-media--white img {
  filter: none;
  object-fit: contain;
}

.hero-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(4, 20, 23, 0.74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.hero-chip b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary-light);
}

/* Slide-change micro animation */
.hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.is-active .hero-copy > * {
  opacity: 1;
  transform: none;
}

.hero-slide.is-active .hero-copy > *:nth-child(2) { transition-delay: 0.06s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { transition-delay: 0.12s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { transition-delay: 0.18s; }
.hero-slide.is-active .hero-copy > *:nth-child(5) { transition-delay: 0.24s; }

/* Controls */
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
}

.hero-controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 22px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: width 0.35s ease, background 0.35s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.hero-dot.active {
  width: 46px;
  background: var(--primary-light);
}

.hero-dot:focus-visible,
.hero-arrow:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

.hero-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-count {
  margin-right: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.42);
}

.hero-count b {
  font-weight: 700;
  color: var(--white);
}

.hero-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hero-arrow:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #04161A;
}

@media (max-width: 1180px) {
  /* Keep the header logo from colliding with the nav on small laptops */
  .logo .logo-slogan {
    display: none;
  }

  .hero-slide .container {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 44px;
  }

  .hero-media {
    width: 420px;
  }
}

@media (max-width: 968px) {
  .hero-slide {
    display: block;
    min-height: 0;
    padding: 40px 0 0;
  }

  .hero-slide .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .hero-kicker {
    justify-content: center;
    margin-bottom: 16px;
  }

  .hero-lead {
    margin-right: auto;
    margin-left: auto;
    font-size: 16px;
  }

  .hero-cta {
    justify-content: center;
    margin-bottom: 26px;
  }

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

  .hero-media {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 18px;
  }

  .hero-controls {
    position: static;
    padding: 24px 20px 20px;
  }

  .hero-controls-inner {
    max-width: 400px;
    padding: 0;
  }

  .hero-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-slide {
    padding-top: 32px;
  }

  .hero-copy h2 {
    font-size: 1.9rem;
  }

  .hero-lead {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-outline {
    padding: 12px 18px;
    font-size: 14px;
  }

  .hero-facts li {
    padding: 0 12px;
    font-size: 10px;
  }

  .hero-media {
    max-width: 320px;
  }

  .hero-chip {
    left: 12px;
    bottom: 12px;
    padding: 8px 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track {
    transition: none;
  }

  .hero-copy > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Language switcher in the header nav */
.nav-lang a { text-decoration: none; }
.nav-lang a:hover { color: var(--primary) !important; }
@media (min-width: 969px) and (max-width: 1180px) {
  .nav-lang { display: none !important; }
}
@media (max-width: 968px) {
  .nav-lang {
    display: flex !important;
    gap: 16px !important;
    border-left: 0 !important;
    padding-left: 0 !important;
    margin-top: 10px;
    font-size: 14px;
  }
}
