/* ============================================================
   SYHARVEST Aluminium Co., Ltd.
   English Corporate Portal — Main Stylesheet
   ============================================================ */

/* --- CSS Variables --- */
:root {
  /* Bright blue color scheme - professional & clickable */
  --color-primary: #0a6cff;
  --color-primary-light: #3b8bff;
  --color-primary-dark: #0052cc;
  --color-accent: #00b4d8;
  --color-accent-light: #48cae4;
  --color-accent-dark: #0096c7;
  --color-silver: #e0f2fe;
  --color-silver-light: #f0f9ff;
  --color-bg: #f0f8ff;
  --color-bg-dark: #e0f2fe;
  --color-white: #ffffff;
  --color-text: #1a202c;
  --color-text-light: #4a5568;
  --color-text-muted: #718096;
  --color-border: #cfe2f3;
  --color-success: #27ae60;
  --color-error: #e74c3c;

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.15);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  --max-width: 1200px;
  --header-height: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  letter-spacing: 0.01em;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-text {
  background: transparent;
  color: var(--color-accent);
  border: none;
  padding: 8px 0;
  position: relative;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.btn-text:hover::after {
  width: 100%;
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: var(--header-height);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  color: var(--color-primary);
  text-decoration: none;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.logo-icon, .logo-text, .logo-text .brand, .logo-text .sub {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
  background: rgba(196, 149, 79, 0.06);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a::after {
  content: '▾';
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
  border: 1px solid var(--color-border);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 22px;
  font-size: 0.85rem;
  color: var(--color-text);
  white-space: nowrap;
  border-radius: 0;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--color-bg);
  color: var(--color-primary);
  padding-left: 28px;
}

.dropdown-menu a::after {
  display: none !important;
}

/* Mobile Dropdown */
.mobile-dropdown-toggle {
  display: none;
}

.nav-cta {
  margin-left: 12px;
}

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active 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;
  padding-top: var(--header-height);
  background: var(--color-primary-dark) url('images/hero-bg.jpg') no-repeat center center / cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to bottom, transparent 50%, rgba(10, 33, 56, 0.95) 100%),
    linear-gradient(
      135deg,
      rgba(7, 29, 51, 0.8) 0%,
      rgba(11, 43, 74, 0.65) 45%,
      rgba(20, 59, 94, 0.55) 100%
    );
}

.hero-particles {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  padding: 40px 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--color-accent-light);
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--color-white);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero h1 .hero-line2 {
  display: inline-block;
  white-space: nowrap;
}

.hero h1 span {
  color: var(--color-accent);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  animation: fadeInUp 1s ease;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-scroll .line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

/* --- Video Showcase (compact centered player) --- */
.video-showcase {
  position: relative;
  background: transparent;
  padding: 80px 0;
}

.video-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/factory-workshop-1.jpg') center/cover no-repeat;
  z-index: -2;
}

.video-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10, 33, 56, 0.95) 0%,
    rgba(10, 33, 56, 0.85) 30%,
    rgba(10, 33, 56, 0.72) 60%);
  z-index: -1;
}

.video-showcase .container {
  position: relative;
  z-index: 1;
}

.video-showcase-header {
  text-align: center;
  margin-bottom: 40px;
}

.video-showcase-header h2 {
  color: var(--color-white);
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.video-showcase-header p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.video-wrapper {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  background: #000;
  position: relative;
}

.video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 33, 56, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), opacity 0.3s ease;
  cursor: pointer;
}

.video-showcase.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-showcase.playing .video-overlay:hover {
  opacity: 1;
  pointer-events: auto;
  background: rgba(10, 33, 56, 0.15);
}

.video-play-btn {
  background: transparent;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-play-btn:hover {
  transform: scale(1.05);
}

.video-play-btn svg {
  width: 80px;
  height: 80px;
}

.video-play-btn span {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.video-controls {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 10px 14px;
  background: rgba(0,0,0,0.5);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.video-wrapper:hover .video-controls,
.video-showcase.paused .video-controls {
  opacity: 1;
}

.video-ctrl-btn {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.video-ctrl-btn svg {
  width: 20px;
  height: 20px;
}

.video-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.video-progress-bar {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  width: 0%;
}

.video-time {
  color: var(--color-white);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.video-fullscreen-btn {
  margin-left: 8px;
}

/* --- Section Spacing --- */
.section {
  padding: 100px 0;
}

.section-gray {
  background: var(--color-bg);
}

.section-narrow {
  padding: 72px 0;
}

/* Dark navy section — for visual anchor */
.section-navy {
  background: #071b2e;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.section-navy::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0,180,216,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-navy::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(10,108,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-navy .section-tag {
  color: var(--color-accent-light);
}

.section-navy .section-title { color: var(--color-white); }
.section-navy .section-subtitle { color: rgba(255,255,255,0.72); }
.section-navy h2 { color: var(--color-white); }
.section-navy h3 { color: var(--color-white); }
.section-navy p { color: rgba(255,255,255,0.8); }

/* Gradient section — blue to dark */
.section-gradient {
  background: linear-gradient(160deg, #003d82 0%, #0a6cff 45%, #0052cc 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.section-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 20% 80%, rgba(0, 180, 216, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(72, 202, 228, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.section-gradient .section-tag { color: var(--color-accent-light); }
.section-gradient .section-title { color: var(--color-white); }
.section-gradient .section-subtitle { color: rgba(255,255,255,0.72); }
.section-gradient h2 { color: var(--color-white); }
.section-gradient h3 { color: var(--color-white); }

/* Accent-tinted light section */
.section-accent-tint {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 50%, #f5f9fc 100%);
  border-top: 1px solid #dcf0fa;
  border-bottom: 1px solid #dcf0fa;
}

/* Subtle pattern section */
.section-pattern {
  background-color: #f7fafd;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(10, 108, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 180, 216, 0.03) 0%, transparent 50%);
}

/* Section with diagonal accent stripe */
.section-stripe {
  position: relative;
  background: var(--color-white);
}

.section-stripe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 20%, var(--color-primary) 50%, var(--color-accent) 80%, transparent 100%);
}

/* --- Section Dividers --- */
.section-divider {
  height: 1px;
  max-width: var(--max-width);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  border: none;
}

.section-divider-accent {
  height: 2px;
  max-width: 200px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  border: none;
  border-radius: 1px;
}

/* --- Decorative Accent Line --- */
.accent-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 12px 0 20px;
}

.accent-line.center {
  margin: 12px auto 20px;
}

.accent-line.blue {
  background: var(--color-primary);
}

/* --- Heading Variants --- */
.heading-dark {
  color: #0a2138 !important;
}

.heading-accent {
  color: var(--color-accent-dark) !important;
}

.heading-white {
  color: var(--color-white) !important;
}

.heading-underline {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.heading-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.heading-underline.center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* --- Card Accent Variants --- */
.card-accent-top {
  border-top: 3px solid var(--color-primary) !important;
}

.card-accent-top.teal {
  border-top-color: var(--color-accent) !important;
}

.card-accent-top.dark {
  border-top-color: #0a2138 !important;
}

.card-accent-left {
  border-left: 4px solid var(--color-primary) !important;
}

.card-accent-left.teal {
  border-left-color: var(--color-accent) !important;
}

.card-elevated {
  box-shadow: var(--shadow-md) !important;
}

.card-elevated:hover {
  box-shadow: var(--shadow-lg) !important;
}

/* Card with color badge stripe */
.card-badge-stripe {
  position: relative;
  overflow: hidden;
}

.card-badge-stripe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card-badge-stripe.teal::before {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

/* --- Number Badge --- */
.number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* --- Inline Tag --- */
.inline-tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 10px;
}

.inline-tag.blue {
  background: rgba(10, 108, 255, 0.08);
  color: var(--color-primary);
}

.inline-tag.teal {
  background: rgba(0, 180, 216, 0.08);
  color: var(--color-accent-dark);
}

.inline-tag.dark {
  background: rgba(10, 33, 56, 0.08);
  color: #0a2138;
}

/* --- Highlight Box --- */
.highlight-box {
  background: linear-gradient(135deg, rgba(10,108,255,0.04) 0%, rgba(0,180,216,0.04) 100%);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* --- Stat Pill --- */
.stat-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.stat-pill .stat-pill-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-pill .stat-pill-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* --- Section Header Compact --- */
.section-header-compact {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header-compact .section-tag {
  display: block;
}

.section-header-compact .section-title {
  margin-bottom: 12px;
}

.section-header-compact .section-subtitle {
  margin-bottom: 0;
}

/* --- Page Banner Enhancement --- */
.page-banner-enhanced {
  position: relative;
}

.page-banner-enhanced::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.06));
  pointer-events: none;
}

/* --- Content Background Strip --- */
.bg-strip {
  position: relative;
}

.bg-strip::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 320px;
  background: var(--color-bg);
  z-index: -1;
  transform: translateY(-50%);
  border-radius: var(--radius-lg);
  margin: 0 20px;
}

/* --- Icon Circle --- */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle.blue {
  background: rgba(10, 108, 255, 0.1);
  color: var(--color-primary);
}

.icon-circle.teal {
  background: rgba(0, 180, 216, 0.1);
  color: var(--color-accent-dark);
}

.icon-circle svg {
  width: 24px;
  height: 24px;
}

.section-dark {
  background: #0a2138;
  color: var(--color-white);
}

.section-dark .section-tag {
  background: rgba(255,255,255,0.1);
  color: var(--color-accent);
}

.section-dark .section-title {
  color: var(--color-white);
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.7);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--color-white);
  padding: 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10;
  margin-top: -40px;
  border-radius: var(--radius-lg);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .plus {
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  height: 240px;
  background: var(--color-bg);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f5f7fa;
  padding: 16px;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image .placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-silver-light) 0%, var(--color-bg-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-silver);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-info p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Deep Processing Services --- */
.processing-section {
  background: linear-gradient(135deg, #f4f7fa 0%, #e9eef5 100%);
}

.processing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.service-image {
  width: 100%;
  height: 260px;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.service-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-info {
  padding: 22px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.service-title-row h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.3;
}

.service-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.service-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:hover .service-arrow {
  background: var(--color-primary);
  color: var(--color-white);
}

.service-info p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.5;
}

/* --- Category Pills --- */
.category-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.category-pill {
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition);
}

.category-pill:hover,
.category-pill.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* --- Advantages Section --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(196, 149, 79, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.advantage-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Image-based advantage / value card */
.advantage-card.has-image {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.advantage-card.has-image .card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: var(--color-bg);
}

.advantage-card.has-image .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.advantage-card.has-image:hover .card-image img {
  transform: scale(1.06);
}

.advantage-card.has-image .card-body {
  padding: 24px;
}

.advantage-card.has-image h3 {
  font-size: 1.05rem;
}

.advantage-card.has-image p {
  font-size: 0.88rem;
}

.advantage-card.has-image:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* --- Service Workflow --- */
.workflow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
}

.workflow::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.workflow-step {
  text-align: center;
  flex: 1;
  min-width: 120px;
  max-width: 150px;
  position: relative;
  z-index: 1;
}

.workflow-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  transition: all var(--transition);
}

.workflow-step:hover .workflow-num {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.1);
}

.workflow-step h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.workflow-step p {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* --- News Section --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.06);
}

.news-image {
  height: 200px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--color-silver);
}

.news-body {
  padding: 20px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.news-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.2) 0%, transparent 70%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 6px;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact .icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
}

.footer-contact .icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* --- Page Banner (inner pages) --- */
.page-banner {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 300px at 15% 80%, rgba(0,180,216,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 500px 250px at 85% 20%, rgba(72,202,228,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.08));
  pointer-events: none;
}

.page-banner h1 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-banner .breadcrumb {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.page-banner .breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.page-banner .breadcrumb a:hover {
  color: var(--color-accent);
}

.page-banner .breadcrumb span {
  margin: 0 8px;
  color: rgba(255,255,255,0.4);
}

.page-banner .page-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
}

/* --- Factory Pages --- */
.factory-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.factory-intro-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.factory-intro-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.factory-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}

.factory-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory-intro-image:hover img {
  transform: scale(1.03);
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .factory-grid {
    grid-template-columns: 1fr;
  }
}

.factory-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.factory-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.factory-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.factory-icon svg {
  width: 28px;
  height: 28px;
}

.factory-card-img {
  width: calc(100% + 48px);
  height: 150px;
  margin: -32px -24px 20px -24px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.factory-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory-card:hover .factory-card-img img {
  transform: scale(1.08);
}

.factory-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.factory-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.factory-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.factory-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.gallery-main {
  height: 480px;
}

.gallery-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-side img {
  flex: 1;
  min-height: 220px;
}

.why-choose-block {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
}

.why-choose-block h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.why-choose-block p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  line-height: 1.8;
}

.why-choose-block ul {
  list-style: none;
  padding: 0;
}

.why-choose-block ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: rgba(255,255,255,0.9);
}

.why-choose-block ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-light);
  font-weight: 700;
}

.why-choose-cta {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.why-choose-cta h3 {
  color: var(--color-white);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.why-choose-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.why-choose-cta .btn {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.why-choose-cta .btn:hover {
  background: var(--color-accent-light);
  color: var(--color-white);
  border-color: var(--color-accent-light);
}

/* Process List (for extrusion/anodizing) */
.process-list {
  counter-reset: process;
  list-style: none;
  padding: 0;
}

.process-list li {
  position: relative;
  padding: 20px 0 20px 60px;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  color: var(--color-text);
}

.process-list li::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-grid .gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 220px;
  transition: all var(--transition);
}

.gallery-grid .gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ Accordion */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  transition: all var(--transition);
}

.faq-question:hover {
  background: var(--color-bg);
}

.faq-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.faq-answer {
  padding: 0 24px 24px 80px;
  color: var(--color-text-light);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Certifications Page */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.cert-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition);
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cert-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: var(--color-bg);
  padding: 20px;
}

.cert-card h3 {
  padding: 20px;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 0;
}

/* Delivery Info Cards */
.delivery-info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.delivery-info-card:hover {
  box-shadow: var(--shadow-md);
}

.delivery-info-card h3 {
  color: var(--color-primary);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.delivery-info-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-bg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-caption {
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  white-space: nowrap;
}

.about-text h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Brand stat (last column with the company name) */
.about-stat:last-child .about-stat-num {
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--color-accent);
}

/* Factory Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

@media (max-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-accent);
}

.value-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.value-card.has-image {
  padding: 0;
  overflow: hidden;
  text-align: left;
  border-top: none;
  position: relative;
}

.value-card.has-image .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.value-card.has-image .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.value-card.has-image:hover .card-image img {
  transform: scale(1.06);
}

.value-card.has-image .card-body {
  padding: 24px 20px;
}

.value-card.has-image h3 {
  margin-bottom: 10px;
  color: var(--color-primary);
}

.value-card.has-image .accent-bar {
  width: 36px;
  height: 3px;
  background: var(--color-accent);
  margin: 0 0 12px 0;
  border-radius: 2px;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.contact-form-container {
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-form-container h3 {
  margin-bottom: 24px;
}

/* --- Form Elements --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group label .required {
  color: var(--color-error);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--transition);
  background: var(--color-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* --- Case / Project Cards --- */
.projects-feature {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  border: 1px solid var(--color-border);
}

.project-feature-image {
  height: 100%;
  min-height: 420px;
  overflow: hidden;
}

.project-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.projects-feature:hover .project-feature-image img {
  transform: scale(1.03);
}

.project-feature-info {
  padding: 48px 40px 48px 0;
}

.project-feature-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}

.project-tag-line {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.project-feature-info h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.project-location {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--color-accent);
}

.project-desc {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

.projects-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.project-mini-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  display: block;
}

.project-mini-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-mini-img {
  height: 180px;
  overflow: hidden;
}

.project-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-mini-card:hover .project-mini-img img {
  transform: scale(1.08);
}

.project-mini-info {
  padding: 18px;
}

.project-mini-info h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.project-mini-info p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

/* --- Homepage Project Cards (4-card grid) --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-card-img {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.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-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(10, 108, 255, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.project-card-info h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.project-card-info p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.project-card-info .btn-text {
  align-self: flex-start;
}

.project-card-featured {
  grid-column: span 2;
  flex-direction: row;
}

.project-card-featured .project-card-img {
  width: 55%;
  height: auto;
  min-height: 320px;
}

.project-card-featured .project-card-info {
  width: 45%;
  padding: 40px;
  justify-content: center;
}

.project-card-featured .project-card-info h3 {
  font-size: 1.8rem;
}

.project-card-featured .project-card-info p {
  font-size: 1rem;
}

/* Case card actions & zoom icon */
.project-card-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
}

.project-card-actions .btn-text {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--color-primary);
  font-weight: 600;
}

.project-card-actions .btn-text:hover {
  color: var(--color-accent);
}

.lightbox-trigger {
  cursor: pointer;
}

.project-card-img {
  position: relative;
}

.zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--color-primary);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.project-card-img:hover .zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Product detail lightbox */
.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.case-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.case-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 40, 0.88);
  backdrop-filter: blur(6px);
}

.case-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.case-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.case-lightbox-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  max-width: 1100px;
  width: 100%;
  max-height: calc(100vh - 80px);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(20px);
  transition: transform 0.35s ease;
}

.case-lightbox.active .case-lightbox-content {
  transform: translateY(0);
}

.case-lightbox-media {
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: 360px;
}

.case-lightbox-media img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.case-lightbox-body {
  padding: 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-lightbox-body h3 {
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--color-text);
}

.case-lightbox-body p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.case-lightbox-specs {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.case-lightbox-specs h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 8px;
}

.case-lightbox-specs p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0;
}

@media (max-width: 900px) {
  .case-lightbox-content {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 60px);
  }

  .case-lightbox-media {
    min-height: 240px;
    padding: 24px;
  }

  .case-lightbox-media img {
    max-height: 40vh;
  }

  .case-lightbox-body {
    padding: 24px;
  }
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.06);
}

.case-image {
  height: 220px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-silver);
}

.case-info {
  padding: 20px;
}

.case-info h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.case-info p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* --- Product Detail Page (simple) --- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.product-gallery {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-silver);
}

.product-specs h2 {
  margin-bottom: 16px;
}

.product-specs .desc {
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.specs-table th,
.specs-table td {
  padding: 10px 12px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.specs-table th {
  width: 120px;
  color: var(--color-text-light);
  font-weight: 600;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utility --- */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

/* --- Toast / Notification --- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-success);
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.toast.show {
  opacity: 1;
  visibility: visible;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .processing-grid { grid-template-columns: repeat(2, 1fr); }
  .service-image { height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .stat-item:nth-child(2)::after { display: none; }

  .workflow::before { display: none; }

  /* Factory / About subpages */
  .factory-intro { grid-template-columns: 1fr; gap: 40px; }
  .factory-intro-image { height: 360px; order: -1; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-gallery { grid-template-columns: 1fr; }
  .gallery-main { height: 360px; }
  .gallery-side { flex-direction: row; }
  .gallery-side img { min-height: 180px; }
  .why-choose-block { grid-template-columns: 1fr; text-align: center; }
  .why-choose-block ul { display: inline-block; text-align: left; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }

  /* Homepage video & projects */
  .video-sticky { height: 60vh; min-height: 420px; }
  .projects-feature { grid-template-columns: 1fr; }
  .project-feature-image { min-height: 320px; }
  .project-feature-info { padding: 32px; }
  .project-card-featured { grid-column: span 2; flex-direction: column; }
  .project-card-featured .project-card-img { width: 100%; min-height: 280px; }
  .project-card-featured .project-card-info { width: 100%; padding: 28px; }
  .project-card-featured .project-card-info h3 { font-size: 1.4rem; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .about-image { height: 400px; }
  .about-image-caption { display: none; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2.2rem; }

  .logo img { height: 40px; }

  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: 100px 30px 30px;
    gap: 0;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-slow);
    z-index: 1000;
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav a,
  .nav-dropdown > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-dropdown > a::after {
    content: '▾';
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    display: none;
    min-width: auto;
  }

  .dropdown-menu a {
    border-bottom: none;
    padding: 10px 0;
  }

  .dropdown-menu a:hover {
    padding-left: 8px;
    background: transparent;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-cta { margin-left: 0; margin-top: 16px; }
  .nav-cta .btn { width: 100%; text-align: center; justify-content: center; }

  .products-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .processing-grid { grid-template-columns: 1fr; }
  .service-image { height: 240px; }
  .project-card-featured { grid-column: span 1; flex-direction: column; }
  .project-card-featured .project-card-img { width: 100%; min-height: 220px; }
  .project-card-featured .project-card-info { width: 100%; padding: 24px; }
  .project-card-featured .project-card-info h3 { font-size: 1.3rem; }
  .project-card-img { height: 220px; }
  .projects-mini-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }

  .stat-item::after { display: none; }

  .about-intro { grid-template-columns: 1fr; gap: 30px; }
  .about-image { height: 320px; }
  .about-stats { gap: 20px; flex-wrap: wrap; }
  .about-stat-num { font-size: 1.6rem; }

  .video-showcase { padding: 60px 0; }
  .video-showcase-header h2 { font-size: 1.7rem; }
  .video-wrapper { border-radius: var(--radius-md); }
  .video-play-btn svg { width: 64px; height: 64px; }
  .project-feature-image { min-height: 240px; }
  .project-feature-info { padding: 24px; }
  .project-feature-info h3 { font-size: 1.4rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .workflow { flex-direction: column; align-items: center; gap: 24px; }
  .workflow-step { max-width: 200px; }

  .hero-scroll { display: none; }

  .section { padding: 60px 0; }
  .section-narrow { padding: 48px 0; }

  .page-banner { padding: 120px 0 40px; }
  .page-banner h1 { font-size: 1.8rem; }

  .article-content {
    padding: 28px;
  }

  .article-content::before {
    height: 60px;
  }

  /* Factory / About subpages mobile */
  .factory-grid { grid-template-columns: 1fr; }
  .factory-intro-image { height: 280px; }
  .gallery-main { height: 260px; }
  .gallery-side { flex-direction: column; }
  .gallery-side img { min-height: 180px; }
  .why-choose-block { padding: 30px 24px; }
  .why-choose-block ul { display: block; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cert-card img { height: 240px; }
  .faq-question { padding: 18px; font-size: 0.95rem; }
  .faq-answer { padding: 0 18px 18px 70px; }
  .faq-number { width: 34px; height: 34px; font-size: 0.75rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 1.7rem; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }

  .stats-bar { margin-top: 0; border-radius: 0; }
}

/* ========================================================== */
/* QUOTE PAGE STYLES                                          */
/* ========================================================== */

.page-banner-quote {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.quote-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 32px;
  align-items: start;
}

.quote-form .form-section {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.quote-form legend {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 14px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  cursor: pointer;
  font-size: 0.88rem;
  user-select: none;
  transition: all 0.2s ease;
}

.check-pill:hover {
  border-color: var(--color-accent);
  background: #fff;
}

.check-pill input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.check-pill:has(input:checked) {
  background: rgba(196, 149, 79, 0.1);
  border-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
}

.check-pill-block {
  display: flex;
  width: 100%;
  padding: 14px 16px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.file-upload {
  position: relative;
  display: block;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.file-upload:hover {
  border-color: var(--color-accent);
  background: rgba(196, 149, 79, 0.04);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-content .icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.file-upload-content p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.95rem;
}

.file-upload-content .hint {
  color: var(--color-text-light);
  font-size: 0.8rem;
  margin-top: 4px;
}

.file-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-list:empty { display: none; }

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.file-item .file-name { color: var(--color-primary); font-weight: 500; }
.file-item .file-remove {
  cursor: pointer;
  color: var(--color-text-light);
  font-size: 1.1rem;
  line-height: 1;
}
.file-item .file-remove:hover { color: #c0392b; }

.quote-side-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 96px;
}

.side-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.side-card h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.side-card-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border: none;
}

.side-card-primary h3 { color: #fff; }

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  position: relative;
}

.step-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 38px;
  bottom: -4px;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.step-num-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-list li div { flex: 1; }
.step-list li strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.step-list li p { font-size: 0.82rem; opacity: 0.85; margin: 0; line-height: 1.5; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-text);
  border-bottom: 1px dashed var(--color-border);
}

.check-list li:last-child { border-bottom: none; }

.side-card-cta {
  background: var(--color-bg);
  text-align: center;
}

.side-card-cta h4 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0;
}

.quote-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #f8f9fb 0%, #fff 100%);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.quote-cta-content { flex: 1; min-width: 280px; }

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--color-bg);
}

.map-info-card {
  background: var(--color-white);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--color-border);
}

.map-info-card .icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.map-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.map-info-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.btn.active-cta {
  background: var(--color-accent-dark);
}

/* Location / Travel Guide Styles */
.location-showcase {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
}

.location-image {
  position: relative;
  width: 100%;
  height: 520px;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Map iframe variant (replaces the static aerial image) */
.location-map {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: #0a2540;
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  pointer-events: none; /* parent <a> handles click → opens Google Maps */
}
.location-map-cta {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  color: #0a2540;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}
.location-map:hover .location-map-cta,
.location-map:focus-visible .location-map-cta {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.location-map-cta svg { flex-shrink: 0; }

.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.65) 55%, rgba(10, 37, 64, 0.2) 100%);
  display: flex;
  align-items: center;
  padding: 48px;
}

.location-address-card {
  max-width: 560px;
  color: #fff;
}

.location-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(196, 149, 79, 0.15);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.location-address-card h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
}

.address-zh {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.95;
}

.address-en {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.location-landmarks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.landmark {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.landmark strong {
  display: block;
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.location-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.location-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.location-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.travel-guide-title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 28px;
  font-weight: 600;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.travel-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.travel-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.travel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.travel-card:hover .travel-image img {
  transform: scale(1.05);
}

.travel-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.travel-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.travel-content h4 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  font-weight: 600;
}

.travel-detail {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
  flex: 1;
}

.travel-detail p {
  margin-bottom: 10px;
  color: var(--color-text-light);
}

.travel-detail p strong {
  color: var(--color-primary);
  font-weight: 600;
}

.travel-tips {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.travel-tips h4 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  font-weight: 600;
}

.travel-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}

.travel-tips li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.travel-tips li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

@media (max-width: 992px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-side-panel { position: static; }
  .form-row-3 { grid-template-columns: 1fr; }
  .quote-cta-banner { flex-direction: column; text-align: center; }
  .location-overlay { padding: 32px; }
  .location-landmarks { grid-template-columns: 1fr; }
  .travel-grid { grid-template-columns: 1fr; }
  .travel-tips ul { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .quote-form .form-section { padding: 20px; }
  .checkbox-grid { gap: 6px; }
  .check-pill { padding: 6px 10px; font-size: 0.82rem; }
  .location-image { height: 640px; }
  .location-map iframe { height: 640px; }
  .location-overlay { align-items: flex-end; padding: 20px; background: linear-gradient(0deg, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.7) 60%, rgba(10, 37, 64, 0.2) 100%); }
  .location-address-card h3 { font-size: 1.5rem; }
  .location-actions { flex-direction: column; }
  .location-actions .btn { width: 100%; text-align: center; }
}

/* ========================================================== */
/* NEWS TABS & CATEGORY STYLES (Inspired by Shenghai)         */
/* ========================================================== */

.news-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
  position: relative;
}

.news-tabs {
  display: inline-flex;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
  gap: 4px;
}

.news-tab {
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  white-space: nowrap;
}

.news-tab:hover {
  color: var(--color-primary);
  background: var(--color-bg);
}

.news-tab.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.news-tabs-mobile {
  display: none;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-primary);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.news-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.news-category.company {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.news-category.industry {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.news-category.product {
  background: rgba(196, 149, 79, 0.15);
  color: var(--color-accent-dark);
}

.news-tab-panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.news-tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.news-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: 48px;
}

.news-featured:hover {
  box-shadow: var(--shadow-lg);
}

.news-featured-image {
  position: relative;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}

.news-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-featured:hover .news-featured-image img {
  transform: scale(1.04);
}

.news-featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.news-featured-content h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--color-primary);
  line-height: 1.25;
}

.news-featured-content p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.news-featured-content .btn-text {
  font-weight: 600;
  align-self: flex-start;
}

/* --- Article Detail Pages --- */
.article-section {
  background: linear-gradient(135deg, #f7fafd 0%, #edf4fb 30%, #f4f8fc 70%, #fafcff 100%);
  padding: 60px 0 80px;
  position: relative;
}

.article-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 30%, var(--color-accent) 70%, transparent 100%);
  opacity: 0.4;
}

.article-container {
  max-width: 860px;
}

.article-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px;
  position: relative;
}

.article-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 80px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-lg) 0 0 0;
}

.article-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 24px;
}

.article-header .news-category {
  display: inline-block;
  margin-bottom: 12px;
}

.article-date {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: 2.25rem;
  line-height: 1.25;
  color: #0a2138;
}

.article-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

.article-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
}

.article-body h2 {
  font-size: 1.55rem;
  margin: 40px 0 18px;
  color: #0a2138;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

.article-body h3 {
  font-size: 1.2rem;
  margin: 28px 0 14px;
  color: var(--color-primary);
  position: relative;
  padding-left: 18px;
}

.article-body h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 3px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 24px;
  list-style: disc;
}

.article-body li {
  margin-bottom: 10px;
}

.article-inline-img {
  border-radius: var(--radius-lg);
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.article-footer {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--color-border);
}

.article-footer .btn-outline-dark {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
}

/* ========================================================== */
/* ARTICLE PAGE (News Detail)                                */
/* ========================================================== */

.article-page {
  background: #fff;
}

.article-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 460px;
  display: flex;
  align-items: center;
  color: #fff;
  margin-top: 0;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,33,56,0.55) 0%, rgba(10,33,56,0.85) 100%);
}

.article-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 60px 0;
}

.article-hero-content h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  margin: 12px 0 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-content-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 56px 0 40px;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #0a2138;
  margin-bottom: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border: none;
}

.sidebar-cta h4, .sidebar-cta p {
  color: #fff;
}

.sidebar-cta p {
  color: rgba(255,255,255,0.85);
}

.sidebar-cta .btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  width: 100%;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  display: inline-block;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-cta .btn:hover {
  background: #e68a00;
  transform: translateY(-1px);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-link {
  font-size: 0.88rem;
  color: var(--color-text);
  text-decoration: none;
  padding: 6px 0 6px 10px;
  border-left: 2px solid var(--color-border);
  transition: all 0.2s ease;
  line-height: 1.4;
}

.toc-link:hover {
  border-left-color: var(--color-accent);
  color: var(--color-accent);
}

.toc-link.toc-h3 {
  padding-left: 22px;
  font-size: 0.83rem;
  color: var(--color-text-light);
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.article-lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--color-text);
  font-weight: 500;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f1fa 100%);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 32px;
}

.article-tags {
  margin: 40px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.article-tags strong {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-right: 4px;
}

.tag {
  display: inline-block;
  background: #f0f7ff;
  color: var(--color-primary);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid #d0e3f5;
}

.article-cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  margin-top: 40px;
  box-shadow: var(--shadow-md);
}

.article-cta-box h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.article-cta-box p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.article-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.article-cta-buttons .btn {
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.article-cta-buttons .btn-primary {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
}

.article-cta-buttons .btn-primary:hover {
  background: #e68a00;
  border-color: #e68a00;
}

.article-cta-buttons .btn-outline-dark {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.article-cta-buttons .btn-outline-dark:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.related-articles {
  background: #f8fafc;
  padding: 64px 0;
  border-top: 1px solid var(--color-border);
}

.related-articles .section-title {
  text-align: center;
  margin-bottom: 36px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-grid .news-card {
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s ease;
}

.related-grid .news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
  .news-featured {
    grid-template-columns: 1fr;
  }
  .news-featured-image {
    min-height: 260px;
  }
  .news-featured-content {
    padding: 28px;
  }
  .news-featured-content h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .news-tabs {
    display: none;
  }
  .news-tabs-mobile {
    display: block;
  }
  .news-tabs-wrap {
    margin-bottom: 32px;
  }
  .article-hero { min-height: 360px; }
  .article-hero-content h1 { font-size: 1.7rem; }
  .article-content-wrapper { grid-template-columns: 1fr; padding: 32px 0 24px; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr; }
  .article-cta-buttons { flex-direction: column; align-items: stretch; }
  .article-cta-buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
  .article-hero { min-height: 300px; }
  .article-hero-content h1 { font-size: 1.4rem; }
  .article-lead { font-size: 1rem; padding: 16px 18px; }
}

/* ========================================================== */
/* GLOBAL TRUST SECTION (Inspired by Shenghai)               */
/* ========================================================== */

.trust-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

.trust-section .section-title {
  color: #fff;
}

.trust-section .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.trust-content h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
}

.trust-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 24px;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-stat {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
}

.trust-stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.trust-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trust-country {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.trust-country:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .trust-map {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .trust-section {
    padding: 60px 0;
  }
  .trust-stats {
    grid-template-columns: 1fr;
  }
  .trust-map {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-content h3 {
    font-size: 1.4rem;
  }
  .article-section {
    padding: 40px 0 60px;
  }
  .article-content {
    padding: 24px;
  }
  .article-content::before {
    height: 50px;
    width: 3px;
  }
  .article-header h1 {
    font-size: 1.5rem;
  }
  .article-body h2 {
    font-size: 1.3rem;
  }
  .article-body {
    font-size: 1rem;
  }
  .article-footer {
    flex-direction: column;
  }
}

/* ========================================================== */
/* FACTORY VIDEO GALLERIES                                    */
/* ========================================================== */

.factory-gallery-two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.factory-gallery-two-up .gallery-main {
  height: clamp(320px, 35vw, 440px);
}

.company-film {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.company-film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #07111d;
  overflow: hidden;
}

.company-film-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #07111d;
}

.company-film-duration {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 17, 29, 0.72);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.company-film-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  padding: 30px 34px 34px;
}

.company-film-meta span {
  display: block;
  margin-bottom: 7px;
  color: var(--color-accent-dark);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.company-film-meta h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.35rem;
  line-height: 1.35;
}

.company-film-meta p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.75;
}

.factory-video-intro {
  max-width: 780px;
  margin: -20px auto 30px;
  color: var(--color-text-light);
  text-align: center;
  line-height: 1.75;
}

.factory-video-carousel {
  max-width: 1100px;
  margin: 0 auto;
  outline: none;
}

.factory-video-carousel:focus-visible .factory-video-stage {
  outline: 3px solid rgba(43, 111, 160, 0.35);
  outline-offset: 5px;
}

.factory-video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(10, 33, 56, 0.12);
  border-radius: 24px;
  background: #07111d;
  box-shadow: 0 28px 70px rgba(10, 33, 56, 0.24);
}

.factory-video-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.factory-video-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.factory-video-open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: #07111d;
  cursor: zoom-in;
  text-align: left;
}

.factory-video-open:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.factory-video-open video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1s ease;
}

.factory-video-open:hover video {
  transform: scale(1.025);
}

.factory-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 29, 0.08) 34%, rgba(6, 17, 29, 0.82) 100%);
  pointer-events: none;
}

.factory-video-copy {
  position: absolute;
  left: clamp(28px, 5vw, 58px);
  right: 110px;
  bottom: clamp(34px, 6vw, 62px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}

.factory-video-copy small {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.factory-video-copy strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.2;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.38);
}

.factory-video-copy em {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-style: normal;
}

.factory-video-expand {
  position: absolute;
  right: 28px;
  bottom: 36px;
  z-index: 3;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(7, 17, 29, 0.5);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease;
  pointer-events: none;
}

.factory-video-expand svg {
  width: 22px;
  height: 22px;
}

.factory-video-open:hover .factory-video-expand {
  transform: scale(1.08);
  background: rgba(43, 111, 160, 0.9);
}

.factory-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 17, 29, 0.45);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.factory-carousel-arrow:hover,
.factory-carousel-arrow:focus-visible {
  background: rgba(43, 111, 160, 0.95);
  transform: translateY(-50%) scale(1.06);
}

.factory-carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.factory-carousel-prev { left: 18px; }
.factory-carousel-next { right: 18px; }

.factory-carousel-status {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  pointer-events: none;
}

.factory-muted-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 17, 29, 0.55);
  backdrop-filter: blur(8px);
}

.factory-muted-badge > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ee6a8;
  box-shadow: 0 0 0 5px rgba(94, 230, 168, 0.16);
}

.factory-slide-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.factory-slide-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), #d9ad70);
  transition: width 0.15s linear;
}

.factory-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 6px 0;
}

.factory-carousel-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.factory-carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #bcc9d5;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.factory-carousel-dots button.is-active {
  width: 32px;
  background: var(--color-primary-light);
}

.factory-carousel-dots button:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 3px;
}

.factory-carousel-nav p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: right;
}

body.video-modal-open {
  overflow: hidden;
}

.factory-video-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  visibility: hidden;
  opacity: 0;
  background: rgba(4, 12, 22, 0.9);
  backdrop-filter: blur(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.factory-video-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.factory-video-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
  width: min(1180px, 96vw);
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: var(--color-white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.3s ease;
}

.factory-video-modal.is-open .factory-video-dialog {
  transform: translateY(0) scale(1);
}

.factory-video-modal-media {
  display: flex;
  align-items: center;
  min-height: 480px;
  background: #000;
}

.factory-video-modal-media video {
  display: block;
  width: 100%;
  max-height: 78vh;
  background: #000;
}

.factory-video-modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 34px;
}

.factory-video-modal-copy span {
  margin-bottom: 10px;
  color: var(--color-accent-dark);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.factory-video-modal-copy h3 {
  margin-bottom: 16px;
  color: var(--color-primary);
  font-size: 1.65rem;
  line-height: 1.3;
}

.factory-video-modal-copy p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.94rem;
  line-height: 1.75;
}

.factory-video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(10, 33, 56, 0.16);
  border-radius: 50%;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.factory-video-modal-close:hover,
.factory-video-modal-close:focus-visible {
  color: #fff;
  background: var(--color-primary);
}

@media (max-width: 900px) {
  .company-film-meta {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .factory-video-dialog {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }

  .factory-video-modal-media {
    min-height: 0;
  }

  .factory-video-modal-media video {
    max-height: 65vh;
  }

  .factory-video-modal-copy {
    padding: 26px 28px 30px;
  }
}

@media (max-width: 768px) {
  .factory-gallery-two-up {
    grid-template-columns: 1fr;
  }

  .factory-gallery-two-up .gallery-main {
    height: 280px;
  }

  .company-film-meta {
    padding: 24px;
  }

  .company-film-duration {
    top: 12px;
    right: 12px;
    padding: 6px 9px;
  }

  .factory-video-intro {
    margin-top: -12px;
    font-size: 0.9rem;
  }

  .factory-video-stage {
    border-radius: 16px;
  }

  .factory-carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .factory-carousel-prev { left: 10px; }
  .factory-carousel-next { right: 10px; }

  .factory-carousel-status {
    top: 12px;
    left: 14px;
    right: 14px;
  }

  .factory-video-copy {
    left: 22px;
    right: 78px;
    bottom: 26px;
  }

  .factory-video-copy em {
    display: none;
  }

  .factory-video-expand {
    right: 18px;
    bottom: 22px;
    width: 42px;
    height: 42px;
  }

  .factory-carousel-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .factory-carousel-nav p {
    text-align: left;
  }

  .factory-video-modal {
    padding: 14px;
  }

  .factory-video-dialog {
    width: 100%;
    border-radius: 16px;
  }

  .factory-video-modal-copy h3 {
    font-size: 1.35rem;
  }
}

@media (max-width: 520px) {
  .factory-muted-badge {
    padding: 6px 9px;
    font-size: 0.68rem;
  }

  .factory-video-copy small {
    font-size: 0.62rem;
    margin-bottom: 5px;
  }

  .factory-video-copy strong {
    font-size: 1.05rem;
  }

  .factory-carousel-arrow {
    top: 55%;
  }

  .factory-video-modal-close {
    top: 8px;
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .factory-video-track,
  .factory-video-open video,
  .factory-video-dialog,
  .factory-slide-progress span {
    transition: none;
  }
}


/* ===== Newsletter Subscribe (footer) ===== */
.footer-subscribe {
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.footer-subscribe h4 { font-size: 18px; margin-bottom: 6px; }
.footer-subscribe p { font-size: 14px; opacity: 0.8; margin-bottom: 16px; }
.footer-subscribe-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-subscribe-form input {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
}
.footer-subscribe-form input::placeholder { color: rgba(255,255,255,0.55); }
.footer-subscribe-form input:focus { outline: none; border-color: var(--color-primary, #2f7df4); }
