/* ============================================
   Zhongjing Haizhu Group — Independent Site v1
   Premium Minimalist Industrial Style
   Reference: ines-gress.com / triumfo.de
   Color Theme: Deep Forest + Emerald Accent
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Brand Colors — Ink + Warm Stone + Bronze (premium architectural) */
  --color-primary: #16191c;
  --color-primary-rgb: 22,25,28;
  --color-accent: #c19a5b;
  --color-accent-hover: #a8843f;
  --color-accent-light: #d8be87;
  --color-accent-pale: #f5efe1;

  /* Neutrals — warm stone */
  --color-white: #ffffff;
  --color-offwhite: #f7f5f0;
  --color-bg-alt: #f3f0e9;
  --color-border: #e4ddd0;
  --color-border-light: #efeae0;

  /* Text */
  --color-text: #2b2f31;
  --color-text-heading: #16191c;
  --color-text-muted: #6b6e6c;
  --color-text-inverse: #ffffff;

  /* Functional */
  --shadow-sm: 0 1px 3px rgba(26,46,40,0.06);
  --shadow-md: 0 4px 20px rgba(26,46,40,0.08);
  --shadow-lg: 0 12px 40px rgba(26,46,40,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1180px;
  --header-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
ul, ol { list-style: none; }

/* --- Utility --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-primary); color: var(--color-text-inverse); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-heading);
  margin-bottom: 14px;
}
.section-header p { font-size: 1.05rem; color: var(--color-text-muted); line-height: 1.7; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  line-height: 1.3;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn-white:hover {
  background: var(--color-offwhite);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header.scrolled {
  box-shadow: 0 1px 0 var(--color-border), var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo img { height: 38px; width: auto; object-fit: contain; }
.logo span { display: none; } /* hide text when image logo present */

/* Nav */
.nav { display: flex; gap: 32px; }
.nav li a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}
.nav li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav li a:hover,
.nav li a.active { color: var(--color-primary); }
.nav li a:hover::after,
.nav li a.active::after { width: 100%; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-primary);
  transition: all var(--transition);
  border-radius: 1px;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(var(--color-primary-rgb), 0.22) 0%,
    rgba(var(--color-primary-rgb), 0.48) 42%,
    rgba(var(--color-primary-rgb), 0.80) 78%,
    rgba(var(--color-primary-rgb), 0.93) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
  color: var(--color-white);
}
.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero h1 strong {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #e6cf9e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero > .hero-content > p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero .btn-group { justify-content: center; }
.hero .btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: var(--color-white);
}
.hero .btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.scroll-indicator svg {
  width: 24px; height: 24px;
  stroke: rgba(255,255,255,0.6);
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(10px); }
  60% { transform: translateX(-50%) translateY(5px); }
}

/* ============================================
   FACTORY SPLIT (editorial)
   ============================================ */
.factory-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.factory-split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.factory-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.96) contrast(1.04);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.factory-split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(193,154,91,0.35);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.factory-split-media:hover img { transform: scale(1.04); }

/* Factory slideshow carousel (replaces single static image) */
.factory-carousel {
  position: absolute;
  inset: 0;
}
.factory-carousel .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.96) contrast(1.04);
  opacity: 0;
  animation: factoryFade 16s infinite;
}
.factory-carousel .slide-1 { animation-delay: 0s; }
.factory-carousel .slide-2 { animation-delay: 4s; }
.factory-carousel .slide-3 { animation-delay: 8s; }
.factory-carousel .slide-4 { animation-delay: 12s; }
@keyframes factoryFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  22%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}
.factory-split-media:hover .factory-carousel .slide { transform: scale(1.04); }
.factory-split-body h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-text-heading);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.factory-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.factory-lead strong { color: var(--color-text-heading); font-weight: 700; }
.factory-points {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.factory-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  color: var(--color-text);
  line-height: 1.55;
}
.fp-dot {
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  transition: all var(--transition);
}
.btn-outline-dark:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ============================================
   EXHIBITIONS & TRADE SHOWS
   ============================================ */
.exhibitions-section { background: var(--color-white); }

/* Featured large image */
.exhibition-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}
.exhibition-featured img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.exhibition-featured:hover img { transform: scale(1.02); }
.exhibition-featured-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 32px 28px;
  background: linear-gradient(
    to top,
    rgba(var(--color-primary-rgb), 0.94) 0%,
    rgba(var(--color-primary-rgb), 0.60) 55%,
    transparent 100%
  );
  color: #fff;
}
.exh-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  border: 1px solid rgba(193,154,91,0.5);
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.exhibition-featured-caption h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.exhibition-featured-caption p {
  font-size: 0.92rem;
  opacity: 0.82;
  line-height: 1.6;
  max-width: 520px;
}

/* Gallery grid */
.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.exh-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition);
}
.exh-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.exh-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.exh-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.exh-card:hover .exh-card-img img { transform: scale(1.06); }
.exh-card-body {
  padding: 14px 16px 16px;
}
.exh-card-body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.35;
  margin-bottom: 3px;
}
.exh-card-body span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stat-item {
  text-align: center;
  padding: 44px 20px;
  border-right: 1px solid var(--color-border);
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--color-bg-alt); }
.stat-number {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-number small {
  font-size: 0.4em;
  font-weight: 600;
  color: var(--color-accent);
}
.stat-label {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border-light);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body {
  padding: 26px 24px 28px;
}
.product-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 10px;
}
.product-card-body p {
  font-size: 0.91rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.spec-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 11px;
  background: var(--color-accent-pale);
  color: var(--color-accent);
  border-radius: 100px;
  letter-spacing: 0.01em;
}

/* ============================================
   FEATURES GRID (Why Zhongjing)
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-item {
  padding: 34px 28px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  border-top: 3px solid var(--color-accent);
  transition: all var(--transition);
}
.feature-item:hover {
  border-color: var(--color-accent);
  border-top-color: var(--color-accent-hover);
  background: var(--color-accent-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-icon {
  font-size: 1.55rem;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-accent-pale);
  border: 1px solid rgba(193,154,91,0.4);
}
.feature-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 0.89rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition);
}
.project-card:hover { transform: translateY(-4px); }
.project-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
  color: var(--color-white);
}
.project-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.project-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  opacity: 0.85;
}
.project-meta span::after {
  content: '|';
  margin-left: 12px;
  opacity: 0.4;
}
.project-meta span:last-child::after { content: ''; margin-left: 0; }
.project-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--color-accent);
  color: var(--color-white);
  position: absolute;
  top: 16px; right: 16px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  text-align: center;
  padding: 90px 0;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-banner .btn-group { justify-content: center; }

/* ============================================
   GALLERY CAROUSEL (Projects Page) — Dual Panel
   ============================================ */
.gallery-dual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}
.gallery-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}
.gallery-panel .gallery-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.gallery-track {
  width: 100%;
  height: 100%;
  position: relative;
}
.gallery-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  transform: scale(1.03);
}
.gallery-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
/* Dual nav buttons — centered between panels */
.gallery-prev-dual {
  position: absolute;
  left: -20px; top: 50%; transform: translateY(-50%);
  z-index: 10;
}
.gallery-next-dual {
  position: absolute;
  right: -20px; top: 50%; transform: translateY(-50%);
  z-index: 10;
}
.gallery-btn {
  background: rgba(22,25,28,.65);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
  backdrop-filter: blur(4px);
}
.gallery-btn:hover { background: rgba(193,154,91,.85); }
.gallery-counter {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  letter-spacing: .04em;
}
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.gallery-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s;
}
.gallery-dot:hover { background: rgba(255,255,255,.5); }
.gallery-dot.active { background: var(--color-accent); width: 20px; border-radius: 4px; }

@media (max-width: 768px) {
  .gallery-dual { grid-template-columns: 1fr; gap: 12px; }
  .gallery-prev-dual { left: 8px; top: 45%; }
  .gallery-next-dual { right: 8px; top: 45%; }
  .gallery-panel .gallery-viewport { aspect-ratio: 16 / 10; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
  font-size: 0.89rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.86rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-white); }
.footer-col ul li:not(a) { color: rgba(255,255,255,0.55); font-size: 0.86rem; line-height: 1.6; }
.footer-qr { list-style: none; display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.footer-qr img { width: 66px; height: 66px; border-radius: 6px; background: #fff; padding: 3px; flex-shrink: 0; }
.footer-qr span { color: rgba(255,255,255,0.7); font-size: 0.76rem; line-height: 1.35; }
.footer-qr a { color: var(--color-accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.81rem;
  opacity: 0.5;
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-hero {
  padding: 140px 0 70px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #244038 100%);
  color: var(--color-white);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.page-hero p {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.84rem;
  opacity: 0.6;
}
.breadcrumb a { color: inherit; opacity: 0.8; }
.breadcrumb a:hover { opacity: 1; }

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
}
.product-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.product-detail-img img { width: 100%; }
.product-detail-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 12px;
}
.product-detail-info .subtitle {
  font-size: 0.95rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.product-detail-info > p {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 0.88rem;
}
.spec-table th,
.spec-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.spec-table th {
  font-weight: 600;
  color: var(--color-text-heading);
  width: 40%;
  background: var(--color-bg-alt);
}
.spec-table td { color: var(--color-text-muted); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }

/* Density spectrum visual */
.density-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}
.density-segment {
  flex: 1;
  height: 28px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.density-segment.flagship {
  box-shadow: 0 0 0 2px var(--color-accent), 0 4px 12px rgba(45,125,94,0.3);
  z-index: 1;
}
.density-label {
  font-size: 0.77rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  text-align: center;
}

/* Product gorgeous board — 4 mini carousels */
.gorgeous-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.gg-panel {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: #000;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.gg-panel:hover { border-color: var(--color-accent); transform: scale(1.04); }
.gg-viewport {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}
.gg-slide {
  position: absolute; top:0; left:0;
  width:100%; height:100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s ease;
}
.gg-slide.active { opacity: 1; }
.gg-dots {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 4px;
  z-index: 2;
}
.gg-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none; cursor: pointer;
  padding: 0; transition: all .25s;
}
.gg-dot.active { background: #fff; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.about-intro-text h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 18px;
  line-height: 1.3;
}
.about-intro-text p {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-intro-img img { width: 100%; }

/* Timeline / milestones */
.timeline-list {
  counter-reset: timeline;
  max-width: 680px;
  margin: 0 auto;
}
.timeline-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  counter-increment: timeline;
}
.timeline-item::before {
  content: counter(timeline, decimal-leading-zero);
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-pale);
  color: var(--color-accent);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
}
.timeline-year {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  min-width: 48px;
}
.timeline-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Certifications grid */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.cert-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}
.cert-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.cert-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.cert-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}
.cert-card p { font-size: 0.8rem; color: var(--color-text-muted); }

/* Factory images row */
.factory-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.factory-gallery > div:first-child {
  grid-row: span 2;
}
.factory-gallery div {
  border-radius: var(--radius-md);
  overflow: hidden;
}
.factory-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 200px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}
.contact-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 18px;
}
.contact-info > p {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--color-accent-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.contact-detail-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-heading);
  margin-bottom: 2px;
}
.contact-detail-text { font-size: 0.87rem; color: var(--color-text-muted); }
.contact-detail-text a { color: var(--color-accent); }

/* WhatsApp QR card (Contact page) */
.whatsapp-qr {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.whatsapp-qr-img {
  flex-shrink: 0;
  width: 112px; height: 112px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  background: #fff;
}
.whatsapp-qr-img img { width: 100%; height: 100%; object-fit: contain; }
.whatsapp-qr-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}
.whatsapp-qr-text a {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Contact form */
.contact-form {
  background: var(--color-bg-alt);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}
.contact-form h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(45,125,94,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  padding: 13px;
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.form-submit:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   DOWNLOADS PAGE
   ============================================ */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--color-text);
}
.download-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--color-text);
}
.download-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--color-accent-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.download-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 3px;
}
.download-info p { font-size: 0.8rem; color: var(--color-text-muted); }

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--transition);
  text-decoration: none;
  color: white;
  font-size: 1.6rem;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  color: white;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .products-grid,
  .features-grid,
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid var(--color-border); }
  .stat-item:nth-child(odd) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-detail { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .factory-gallery { grid-template-columns: 1fr 1fr; }
  .factory-gallery > div:first-child { grid-row: auto; }
}

@media (max-width: 768px) {
  :root { --header-height: 62px; }
  .section { padding: 64px 0; }
  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }
  .nav.open { display: flex; }
  .nav li a { font-size: 1.1rem; }
  .menu-toggle { display: flex; }
  .hero { min-height: 90vh; }
  .hero h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .products-grid,
  .features-grid,
  .projects-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 28px 16px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { max-width: 100%; margin: 0 auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .gorgeous-gallery { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .density-bar { flex-wrap: wrap; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }
  .factory-split-grid { grid-template-columns: 1fr; gap: 32px; }
  .factory-split-media { aspect-ratio: 16 / 10; }
  .exhibitions-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .exhibition-featured-caption { padding: 24px 18px 18px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { padding: 11px 22px; font-size: 0.86rem; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { text-align: center; justify-content: center; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--color-border); }
  .gorgeous-gallery { grid-template-columns: repeat(2, 1fr); }
  .exhibitions-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================
   HERO VIDEO (home — below main banner)
   ============================================ */
.hero-video-section { padding: 72px 0; }
.hero-video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  background: #000;
}
.hero-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

/* ============================================
   VIDEO SHOWCASE CAROUSEL (home — below Competitive Edge)
   ============================================ */
.video-showcase { padding: 96px 0; }
.video-carousel { position: relative; }
.vc-group {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vc-group.active { display: grid; }
.vc-col {
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
}
.vc-col video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #000;
}
.vc-cap {
  display: block;
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-heading);
  background: var(--color-white);
  text-align: center;
}
.vc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}
.vc-prev, .vc-next {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.vc-prev:hover, .vc-next:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.vc-dots { display: flex; gap: 8px; }
.vc-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: all .25s;
}
.vc-dot.active { background: var(--color-accent); width: 24px; border-radius: 4px; }

@media (max-width: 768px) {
  .vc-group { grid-template-columns: 1fr; gap: 14px; }
}
