/* ============================================================
   GlobalTrade Co. — Main Stylesheet
   Light / Dark theme + visual upgrades
   ============================================================ */

/* ── CSS Variables: Light (default) ─────────────────────────── */
:root {
  /* Brand */
  --primary:      #1a56db;
  --primary-d:    #1239a8;
  --primary-l:    #3b82f6;
  --accent:       #f59e0b;
  --accent-d:     #d97706;
  --success:      #059669;

  /* Surface */
  --bg:           #ffffff;
  --bg-2:         #f8faff;
  --bg-3:         #f1f5ff;
  --surface:      #ffffff;
  --surface-2:    #f8faff;

  /* Text */
  --text:         #0f172a;
  --text-2:       #334155;
  --text-3:       #64748b;

  /* UI */
  --border:       #e2e8f0;
  --border-2:     #cbd5e1;
  --topbar-bg:    #0f172a;
  --topbar-text:  #94a3b8;
  --footer-bg:    #0f172a;

  /* Shadows */
  --shadow-sm:    0 1px 4px rgba(15,23,42,.06);
  --shadow:       0 4px 16px rgba(15,23,42,.08);
  --shadow-lg:    0 12px 40px rgba(15,23,42,.14);
  --shadow-xl:    0 24px 64px rgba(15,23,42,.18);
  --glow:         0 0 32px rgba(26,86,219,.25);

  /* Geometry */
  --radius:       10px;
  --radius-lg:    18px;
  --radius-xl:    28px;

  /* Motion */
  --ease:         cubic-bezier(.22,.68,0,1.2);
  --transition:   .28s var(--ease);
  --transition-f: .18s ease;

  /* Fonts */
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
}

/* ── Dark theme ──────────────────────────────────────────────── */
[data-theme="dark"] {
  --primary:      #3b82f6;
  --primary-d:    #2563eb;
  --primary-l:    #60a5fa;
  --accent:       #fbbf24;
  --accent-d:     #f59e0b;

  --bg:           #0d1117;
  --bg-2:         #161b22;
  --bg-3:         #1c2333;
  --surface:      #161b22;
  --surface-2:    #1c2333;

  --text:         #f0f6fc;
  --text-2:       #c9d1d9;
  --text-3:       #8b949e;

  --border:       #30363d;
  --border-2:     #484f58;
  --topbar-bg:    #010409;
  --topbar-text:  #8b949e;
  --footer-bg:    #010409;

  --shadow-sm:    0 1px 4px rgba(0,0,0,.3);
  --shadow:       0 4px 16px rgba(0,0,0,.4);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.5);
  --shadow-xl:    0 24px 64px rgba(0,0,0,.6);
  --glow:         0 0 40px rgba(59,130,246,.3);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font); color: var(--text);
  background: var(--bg); line-height: 1.65;
  transition: background var(--transition-f), color var(--transition-f);
  overflow-x: hidden;
  /* 为固定顶栏留出空间：topbar(40px) + header(70px) */
  padding-top: 110px;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Selection ───────────────────────────────────────────────── */
::selection { background: var(--primary); color: #fff; }

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ══════════════════════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.bg-light { background: var(--bg-2); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-sub {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 14px;
}
.section-sub::before,
.section-sub::after {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--primary); border-radius: 2px; opacity: .5;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  color: var(--text); line-height: 1.2;
}
.section-more { text-align: center; margin-top: 52px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px; font-weight: 600;
  font-size: .92rem; transition: all var(--transition); white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.12); opacity: 0;
  transition: opacity var(--transition-f);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  color: #fff; box-shadow: 0 4px 20px rgba(26,86,219,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,86,219,.45);
}

.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1.02rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Gradient text helper ────────────────────────────────────── */
.grad-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-l));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════════════════════════ */
/* Wrapper 固定整个顶部（topbar + header）*/
.site-header-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
}

.topbar {
  background: var(--topbar-bg); color: var(--topbar-text);
  font-size: .8rem;
  transition: background var(--transition-f);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 40px; gap: 12px;
}
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-icon { width: 13px; height: 13px; opacity: .6; filter: invert(1); flex-shrink: 0; }
.topbar-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.social-link {
  color: var(--topbar-text); transition: color var(--transition-f);
  display: flex; align-items: center;
  width: 28px; height: 28px; justify-content: center;
  border-radius: 6px; transition: all var(--transition-f);
}
.social-link:hover { color: #fff; background: rgba(255,255,255,.1); }

/* Language Switcher */
.lang-switcher {
  display: flex; gap: 2px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; padding: 2px;
}
.lang-btn {
  padding: 3px 9px; border-radius: 4px; font-size: .73rem; font-weight: 700;
  color: var(--topbar-text); transition: all var(--transition-f); letter-spacing: .04em;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--primary); color: #fff;
}

/* Theme Toggle */
.theme-toggle {
  width: 36px; height: 20px; border-radius: 10px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2);
  position: relative; cursor: pointer; transition: background var(--transition-f);
  flex-shrink: 0;
}
.theme-toggle::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; transition: transform var(--transition-f);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
[data-theme="dark"] .theme-toggle { background: var(--primary); border-color: var(--primary); }
[data-theme="dark"] .theme-toggle::after { transform: translateX(16px); }
.theme-toggle-wrap { display: flex; align-items: center; gap: 6px; }
.theme-icon { font-size: .85rem; line-height: 1; user-select: none; }

/* ══════════════════════════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════════════════════════ */
.header {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition-f), border-color var(--transition-f), box-shadow var(--transition-f);
}
.site-header-wrap.scrolled .header {
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
}
[data-theme="dark"] .site-header-wrap.scrolled .header {
  background: rgba(22,27,34,.96);
}

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

/* Logo */
.logo a { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: -.5px;
  box-shadow: 0 4px 14px rgba(26,86,219,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.logo a:hover .logo-mark {
  transform: rotate(-4deg) scale(1.06);
  box-shadow: 0 6px 20px rgba(26,86,219,.55);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-weight: 800; font-size: 1.1rem; color: var(--text); transition: color var(--transition-f); }
.logo-tagline { font-size: .68rem; color: var(--text-3); letter-spacing: .04em; }

/* Nav */
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 13px; border-radius: var(--radius); font-size: .88rem;
  font-weight: 500; color: var(--text-2); transition: all var(--transition-f);
  white-space: nowrap; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--primary); border-radius: 2px;
  transition: width var(--transition-f);
}
.nav-link:hover { color: var(--primary); background: rgba(26,86,219,.06); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-link.active { color: var(--primary); }
.arrow { font-size: .6rem; opacity: .6; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-8px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 188px; padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
}
.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0); pointer-events: all;
}
.dropdown li a {
  display: block; padding: 9px 14px; font-size: .86rem;
  color: var(--text-2); border-radius: var(--radius);
  transition: all var(--transition-f);
}
.dropdown li a:hover { background: var(--bg-3); color: var(--primary); padding-left: 18px; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; border-radius: var(--radius); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .22s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100svh; max-height: 860px;
  overflow: hidden; display: flex; align-items: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide:nth-child(1) {
  background-image: linear-gradient(135deg, #0a1628 0%, #1a3a8e 50%, #0d2b6b 100%);
}
.hero-slide:nth-child(2) {
  background-image: linear-gradient(135deg, #051525 0%, #0a3060 50%, #071e40 100%);
}
.hero-slide:nth-child(3) {
  background-image: linear-gradient(135deg, #071a10 0%, #0e4228 50%, #061410 100%);
}

/* Animated particle dots */
.hero-particles {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
}
.hero-particles span {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.15);
  animation: float-up linear infinite;
}
@keyframes float-up {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(-120vh) scale(.4); opacity: 0; }
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(2,6,23,.72) 0%, rgba(2,6,23,.38) 55%, transparent 100%),
    linear-gradient(to top, rgba(2,6,23,.5) 0%, transparent 40%);
}

/* hero-body 撑满 hero 宽度，作为 flex 子项对齐 */
.hero-body {
  position: relative; z-index: 2;
  width: 100%; display: flex; align-items: center;
}

/* hero-content 在左侧，最大宽 640px */
.hero-content {
  max-width: 640px; color: #fff;
  padding-top: 40px; padding-bottom: 40px;
}
.hero-sub {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; padding: 6px 14px;
  border: 1px solid rgba(251,191,36,.35);
  border-radius: 50px; background: rgba(251,191,36,.08);
  backdrop-filter: blur(4px);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700; line-height: 1.12; margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,.82);
  margin-bottom: 40px; max-width: 540px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-outline {
  color: #fff; border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06); backdrop-filter: blur(4px);
}
.hero-actions .btn-outline:hover {
  background: #fff; color: var(--primary-d); border-color: #fff;
}

/* Trust badges */
.hero-badges {
  position: absolute; bottom: 80px; right: 0; z-index: 3;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-badge {
  background: rgba(255,255,255,.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg);
  padding: 12px 18px; color: #fff; display: flex; align-items: center; gap: 12px;
  min-width: 200px;
}
.hero-badge-num {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.hero-badge-label { font-size: .75rem; opacity: .8; line-height: 1.3; }

.hero-indicators {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3; align-items: center;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35); transition: all .3s ease; cursor: pointer;
}
.dot.active {
  background: #fff; transform: scale(1.4);
  box-shadow: 0 0 8px rgba(255,255,255,.6);
}

/* ══════════════════════════════════════════════════════════════
   STATS BAR  — glassy accent strip
══════════════════════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-d), var(--primary));
  color: #fff; padding: 0;
  position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center; padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,.12);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.06); }
.stat-num { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 700; line-height: 1; }
.stat-unit { font-size: 1.6rem; font-weight: 700; vertical-align: super; font-size: 1.2rem; }
.stat-label {
  display: block; font-size: .75rem; opacity: .75; margin-top: 6px;
  text-transform: uppercase; letter-spacing: .08em;
}

/* ══════════════════════════════════════════════════════════════
   FEATURES — card grid with glass shimmer
══════════════════════════════════════════════════════════════ */
.features { position: relative; overflow: hidden; }
.features::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.06) 0%, transparent 70%);
  top: -200px; right: -200px; pointer-events: none;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute;
  inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-l) 100%);
  opacity: 0; transition: opacity var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover .feature-icon img { filter: brightness(0) invert(1); }
.feature-card:hover h3,
.feature-card:hover p { color: rgba(255,255,255,.9); }
.feature-card:hover h3 { color: #fff; }

.feature-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(26,86,219,.1), rgba(26,86,219,.06));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; position: relative; z-index: 1;
  transition: background var(--transition);
}
.feature-card:hover .feature-icon { background: rgba(255,255,255,.15); }
.feature-icon img { width: 32px; height: 32px; }
.feature-card h3 {
  font-size: 1.08rem; font-weight: 700; margin-bottom: 10px;
  color: var(--text); position: relative; z-index: 1; transition: color var(--transition);
}
.feature-card p {
  color: var(--text-3); font-size: .88rem; line-height: 1.72;
  position: relative; z-index: 1; transition: color var(--transition);
}

/* ══════════════════════════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════════════════════════ */
.cat-filter {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 44px; justify-content: center;
}
.cat-btn {
  padding: 9px 22px; border-radius: 50px; font-size: .86rem; font-weight: 600;
  border: 2px solid var(--border); color: var(--text-3);
  transition: all var(--transition-f); background: var(--surface);
}
.cat-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(26,86,219,.05); }
.cat-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  border-color: transparent; color: #fff;
  box-shadow: 0 4px 14px rgba(26,86,219,.35);
}

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

.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition); cursor: pointer;
  group: true;
}
.product-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-5px);
  border-color: rgba(26,86,219,.2);
}
.product-img {
  aspect-ratio: 1; background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: background var(--transition-f);
}
.product-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,86,219,.08), rgba(59,130,246,.04));
  opacity: 0; transition: opacity var(--transition);
}
.product-card:hover .product-img::after { opacity: 1; }
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition);
  position: absolute; inset: 0;
}
.product-card:hover .product-img img { transform: scale(1.08); }

.product-badge {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff; font-size: .68rem; font-weight: 800;
  padding: 4px 10px; border-radius: 50px;
  box-shadow: 0 2px 8px rgba(245,158,11,.4);
  letter-spacing: .04em;
}
.product-body { padding: 16px 18px 18px; }
.product-cat {
  font-size: .7rem; color: var(--primary); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px;
}
.product-name {
  font-weight: 700; font-size: .95rem; margin-bottom: 8px;
  line-height: 1.35; color: var(--text);
  transition: color var(--transition-f);
}
.product-meta { font-size: .78rem; color: var(--text-3); }
.product-card:hover .product-name { color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════ */
.about { position: relative; overflow: hidden; }
.about::after {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.05) 0%, transparent 70%);
  bottom: -150px; left: -150px; pointer-events: none;
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-images { position: relative; padding-bottom: 32px; padding-right: 32px; }

.about-img-main {
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-3); position: relative;
  box-shadow: var(--shadow-xl);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.img-fallback .img-placeholder { display: flex !important; }
.img-placeholder {
  display: none; align-items: center; justify-content: center;
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
}
.img-placeholder img { width: 100%; height: 100%; object-fit: cover; }

.about-img-accent {
  position: absolute; bottom: 0; right: 0;
  width: 56%; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-3);
  border: 4px solid var(--surface); box-shadow: var(--shadow-xl);
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
  position: absolute; top: 28px; left: -20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  color: #fff; border-radius: var(--radius-lg);
  padding: 18px 22px; text-align: center;
  box-shadow: var(--glow);
}
.about-badge-num {
  display: block; font-family: var(--font-serif);
  font-size: 2.6rem; font-weight: 700; line-height: 1;
}
.about-badge-text { font-size: .72rem; opacity: .85; letter-spacing: .04em; }

.about-content .section-title { text-align: left; margin-bottom: 18px; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.about-content .section-sub { margin-bottom: 10px; justify-content: flex-start; }
.about-content .section-sub::before { display: none; }
.about-content p { color: var(--text-3); margin-bottom: 16px; line-height: 1.78; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 34px; }
.about-point {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; font-weight: 600; color: var(--text-2);
}
.check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-l));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(26,86,219,.3);
}
.check img { width: 13px; height: 13px; filter: brightness(0) invert(1); }

/* ══════════════════════════════════════════════════════════════
   CERTIFICATES
══════════════════════════════════════════════════════════════ */
.certs { position: relative; }
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.cert-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 24px; text-align: center;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.cert-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transition: transform var(--transition); transform-origin: left;
}
.cert-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary); }
.cert-card:hover::after { transform: scaleX(1); }
.cert-icon { margin-bottom: 16px; }
.cert-icon img { width: 68px; height: 68px; display: block; margin: 0 auto; }
.cert-card h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.cert-card p { color: var(--text-3); font-size: .85rem; }

/* ══════════════════════════════════════════════════════════════
   NEWS
══════════════════════════════════════════════════════════════ */
.news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 22px; }

.news-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-img { overflow: hidden; background: var(--bg-3); }
.news-card:not(.featured) .news-img { aspect-ratio: 16/9; }
.news-card.featured .news-img { aspect-ratio: 16/7; }
.news-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.news-card:hover .news-img img { transform: scale(1.04); }

.news-body { padding: 22px; }
.news-date {
  font-size: .72rem; color: var(--text-3); display: block; margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.news-date::before {
  content: ''; display: block; width: 16px; height: 2px;
  background: var(--primary); border-radius: 2px;
}
.news-card h3 { font-weight: 700; font-size: .97rem; line-height: 1.45; margin-bottom: 10px; color: var(--text); }
.news-card.featured h3 { font-size: 1.18rem; }
.news-card p { color: var(--text-3); font-size: .86rem; line-height: 1.72; margin-bottom: 16px; }
.news-link {
  color: var(--primary); font-size: .83rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap var(--transition-f);
}
.news-link:hover { gap: 8px; text-decoration: none; }

/* ══════════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════════ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color var(--transition-f), box-shadow var(--transition-f);
}
.faq-item.open { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.08); }
.faq-q {
  width: 100%; text-align: left; padding: 20px 24px;
  font-size: .95rem; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  transition: color var(--transition-f); gap: 16px;
}
.faq-q-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 300; color: var(--text-3);
  transition: all var(--transition-f);
}
.faq-item.open .faq-q { color: var(--primary); }
.faq-item.open .faq-q-icon {
  background: var(--primary); border-color: var(--primary); color: #fff;
  transform: rotate(45deg);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.faq-item.open .faq-a { max-height: 220px; }
.faq-a p { padding: 0 24px 22px; color: var(--text-3); line-height: 1.78; font-size: .92rem; }

/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.04) 0%, transparent 70%);
  top: -300px; right: -200px; pointer-events: none;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.contact-info .section-title { text-align: left; margin-bottom: 14px; }
.contact-info .section-sub { margin-bottom: 10px; justify-content: flex-start; }
.contact-info .section-sub::before { display: none; }
.contact-info > p { color: var(--text-3); margin-bottom: 36px; line-height: 1.75; }
.contact-details { display: flex; flex-direction: column; gap: 22px; }

.contact-row { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(26,86,219,.1), rgba(26,86,219,.06));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-f);
}
.contact-row:hover .contact-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  box-shadow: 0 4px 14px rgba(26,86,219,.35);
}
.contact-icon img { width: 22px; height: 22px; filter: var(--icon-filter, none); transition: filter var(--transition-f); }
.contact-row:hover .contact-icon img { filter: brightness(0) invert(1); }

[data-theme="dark"] .contact-icon img { filter: invert(.6) sepia(1) hue-rotate(200deg); }
[data-theme="dark"] .contact-row:hover .contact-icon img { filter: brightness(0) invert(1); }

.contact-row strong { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 4px; }
.contact-row p { font-weight: 600; font-size: .96rem; color: var(--text); }

.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.contact-form::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-l));
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group:last-of-type { margin-bottom: 0; }
.form-group label { font-size: .82rem; font-weight: 700; color: var(--text-2); letter-spacing: .02em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font); font-size: .92rem;
  color: var(--text); background: var(--bg-2);
  transition: border-color var(--transition-f), box-shadow var(--transition-f), background var(--transition-f);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(26,86,219,.1);
}
.form-group input.error,
.form-group textarea.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.contact-form .btn { margin-top: 10px; }
.form-success {
  display: none; text-align: center; padding: 16px;
  background: rgba(5,150,105,.1); color: var(--success);
  border: 1px solid rgba(5,150,105,.2);
  border-radius: var(--radius); font-weight: 600; margin-top: 14px;
}
.form-success.show { display: block; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--footer-bg); color: #94a3b8;
  padding-top: 72px; position: relative; overflow: hidden;
  transition: background var(--transition-f);
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary-l), transparent);
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px; padding-bottom: 56px;
}
.footer-brand .logo a { margin-bottom: 18px; display: inline-flex; }
.footer-brand .logo-name { color: #f0f6fc; }
.footer-brand .logo-tagline { color: #64748b; }
.footer-about { font-size: .86rem; color: #64748b; line-height: 1.75; margin: 16px 0 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  color: #64748b; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-f);
}
.footer-socials a:hover {
  background: var(--primary); border-color: var(--primary);
  color: #fff; transform: translateY(-2px);
}

.footer-col h4 { color: #e2e8f0; font-size: .9rem; font-weight: 700; margin-bottom: 20px; letter-spacing: .02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: .85rem; color: #64748b; transition: all var(--transition-f);
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-col ul a::before { content: '›'; opacity: 0; transition: opacity var(--transition-f); }
.footer-col ul a:hover { color: #f0f6fc; padding-left: 4px; }
.footer-col ul a:hover::before { opacity: 1; }
.contact-list li { font-size: .85rem; color: #64748b; line-height: 1.7; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 22px 0; }
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: #475569; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .8rem; color: #475569; transition: color var(--transition-f); }
.footer-links a:hover { color: #94a3b8; }

/* ══════════════════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════════════════ */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  box-shadow: 0 4px 20px rgba(26,86,219,.45);
  opacity: 0; visibility: hidden; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.back-top img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(26,86,219,.55); }

/* ══════════════════════════════════════════════════════════════
   PRODUCT MODAL
══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(2,6,23,.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: all .22s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
  background: var(--surface); border-radius: var(--radius-xl);
  max-width: 680px; width: 100%; max-height: 90vh; overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .3s var(--ease);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}
.modal-overlay.show .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--bg-2); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-f);
}
.modal-close:hover { background: var(--border); }
.modal-close img { width: 14px; height: 14px; opacity: .7; }
.modal-content { padding: 36px; }
.modal-img {
  aspect-ratio: 16/8; background: var(--bg-3); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; overflow: hidden;
}
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-content h2 { font-family: var(--font-serif); font-size: 1.55rem; margin-bottom: 10px; color: var(--text); }
.modal-content .modal-cat {
  color: var(--primary); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px;
}
.modal-content p { color: var(--text-3); line-height: 1.78; margin-bottom: 10px; font-size: .92rem; }
.modal-specs {
  background: var(--bg-2); border-radius: var(--radius); padding: 20px;
  margin: 20px 0; border: 1px solid var(--border);
}
.modal-specs h4 { font-size: .85rem; font-weight: 700; margin-bottom: 14px; color: var(--text); letter-spacing: .04em; text-transform: uppercase; }
.spec-row {
  display: flex; justify-content: space-between; font-size: .87rem;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--text-3); }
.spec-row span:last-child { font-weight: 700; color: var(--text); }

/* ══════════════════════════════════════════════════════════════
   DARK MODE ICON FILTERS
══════════════════════════════════════════════════════════════ */
[data-theme="dark"] .topbar-icon { filter: invert(1) opacity(.6); }
[data-theme="dark"] .check img { filter: brightness(0) invert(1); }
[data-theme="dark"] .back-top img { filter: brightness(0) invert(1); }
[data-theme="dark"] .modal-close img { filter: invert(.5); }
[data-theme="dark"] .feature-icon img { filter: invert(.2) sepia(1) hue-rotate(200deg) brightness(1.2); }
[data-theme="dark"] .feature-card:hover .feature-icon img { filter: brightness(0) invert(1); }
[data-theme="dark"] .cert-icon img { filter: invert(.15) sepia(.8) hue-rotate(180deg) brightness(1.1); }
[data-theme="dark"] .hamburger span { background: var(--text); }

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS & MICRO-INTERACTIONS
══════════════════════════════════════════════════════════════ */

/* Shimmer skeleton (loading state) */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* Pulse glow on stat nums */
@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 20px rgba(255,255,255,.4); }
}
.stat-num { animation: pulse-glow 3s ease-in-out infinite; }

/* Section reveal */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Staggered children */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.stagger.in > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s }
.stagger.in > *:nth-child(2) { opacity:1; transform:none; transition-delay:.12s }
.stagger.in > *:nth-child(3) { opacity:1; transform:none; transition-delay:.19s }
.stagger.in > *:nth-child(4) { opacity:1; transform:none; transition-delay:.26s }
.stagger.in > *:nth-child(5) { opacity:1; transform:none; transition-delay:.33s }
.stagger.in > *:nth-child(6) { opacity:1; transform:none; transition-delay:.40s }
.stagger.in > *:nth-child(7) { opacity:1; transform:none; transition-delay:.47s }
.stagger.in > *:nth-child(8) { opacity:1; transform:none; transition-delay:.54s }
.stagger.in > *:nth-child(n+9) { opacity:1; transform:none; transition-delay:.60s }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:first-child { grid-column: 1 / -1; }
  .hero-badges { display: none; }
}

@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-images { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content .section-title { text-align: center; }
  .about-content .section-sub { justify-content: center; }
  .about-content .section-sub::before { display: block; }
  .about-points { justify-items: center; }
}

@media (max-width: 768px) {
  .topbar-left { display: none; }
  /* 手机端 topbar 内容少，高度约 40px，header 70px，共 110px */
  body { padding-top: 110px; }
  .section-pad { padding: 64px 0; }

  /* Mobile Nav — 抽屉式侧边栏 */
  .nav {
    position: fixed; top: 0; right: -100%; left: auto; bottom: 0;
    width: min(300px, 85vw); height: 100vh;
    background: var(--surface); z-index: 950;
    box-shadow: -8px 0 32px rgba(0,0,0,.25);
    transition: right .3s ease;
    overflow-y: auto; padding: 80px 24px 40px;
    pointer-events: none;
  }
  .nav.open { right: 0; pointer-events: all; }

  /* 半透明遮罩 — 只覆盖导航面板左侧，不拦截面板内点击 */
  .nav-overlay {
    position: fixed; top: 0; left: 0; bottom: 0;
    right: min(300px, 85vw);   /* 右边界 = 导航面板左边界，不覆盖面板 */
    z-index: 940;
    background: rgba(0,0,0,.5);
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
  }
  .nav-overlay.show { opacity: 1; pointer-events: all; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-link {
    display: block; padding: 16px 0; font-size: 1rem;
    border-bottom: 1px solid var(--border); width: 100%; border-radius: 0;
  }
  .nav-link::after { display: none; }

  /* 手机端：彻底覆盖桌面端下拉定位，改为垂直折叠展开 */
  .dropdown {
    /* 重置桌面端所有定位属性 */
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: translateX(0) translateY(0) !important;
    transition: max-height .3s ease !important;
    /* 折叠状态 */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    box-shadow: none;
    border: none;
    background: transparent;
    width: 100%;
  }
  .has-dropdown:hover .dropdown {
    /* 覆盖桌面端 hover 展开，手机端 hover 不触发 */
    max-height: 0;
    pointer-events: none;
    transform: translateX(0) translateY(0) !important;
  }
  .has-dropdown.open .dropdown {
    max-height: 600px !important;
    pointer-events: all;
    padding: 4px 0 8px 0;
    transform: translateX(0) translateY(0) !important;
  }
  /* 子菜单项与父级左对齐 */
  .dropdown li a {
    transition: none;          /* 禁止从初始值过渡，避免首次展开偏移 */
    padding: 11px 12px 11px 14px;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 0;
    font-size: .9rem;
    color: var(--text-2);
    margin: 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .dropdown li a:hover {
    color: var(--primary);
    background: rgba(26,86,219,.05);
    padding-left: 18px;
    transition: padding .15s ease, color .15s ease, background .15s ease;
  }
  .has-dropdown > .nav-link { cursor: pointer; }

  .hamburger { display: flex; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .about-points { grid-template-columns: 1fr; }
  .hero-body { align-items: flex-start; padding-top: 20px; }
  .hero-content { padding-top: 0; padding-bottom: 80px; max-width: 100%; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-desc { font-size: 1rem; margin-bottom: 28px; }
  .hero-sub { font-size: .72rem; margin-bottom: 14px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .stat-item { padding: 28px 16px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 100svh; }
  .contact-form { padding: 22px 18px; }
}

@media (max-width: 360px) {
  .products-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   PRINT
══════════════════════════════════════════════════════════════ */
@media print {
  .topbar, .header, .back-top, .modal-overlay { display: none !important; }
  body { color: #000; background: #fff; }
}
