/* ============================================================
   ORION | Shanghai Borregg — Basic independent site
   Plain CSS, no build step. Visual DNA: blue #0F52BA + gold #F0B429
   ============================================================ */

:root {
  --blue: #0F52BA;
  --blue-dark: #0A2540;
  --navy: #16243a;
  --gold: #F0B429;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-soft: #F8FAFC;
  --green: #059669;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .10);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- i18n: only one language visible at a time ---------- */
html.lang-en .l-zh { display: none !important; }
html.lang-zh .l-en { display: none !important; }

/* ---------- layout helpers ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 1100px; }
.section { padding: 64px 0; }
.section-white { background: #fff; }
.section-light { background: #FAFBFD; }
.section-dotted {
  background: var(--bg-soft);
  background-image: radial-gradient(rgba(15, 82, 186, .07) 1px, transparent 1px);
  background-size: 16px 16px;
  border-bottom: 1px solid var(--line);
}
[id] { scroll-margin-top: 86px; }

/* ---------- section headings ---------- */
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head .badge { margin-bottom: 10px; }
.section-sub { color: var(--muted); font-size: 14px; margin-top: 8px; font-weight: 500; }
.section-head.center .section-sub { max-width: 640px; margin-left: auto; margin-right: auto; }

.accent { color: var(--blue); }

.title-display {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
  letter-spacing: .5px;
  color: var(--navy);
  line-height: 1.25;
}
.title-display.light { color: #fff; }
.title-underline {
  display: block; width: 80px; height: 4px; margin-top: 12px; border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.quote-mark { color: #cbd5e1; font-weight: 400; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.badge-blue { background: #eff6ff; border: 1px solid #bfdbfe; color: var(--blue); }
.badge-light { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #dbeafe; backdrop-filter: blur(2px); }

.link-arrow { color: var(--blue); font-weight: 700; font-size: 13px; white-space: nowrap; }
.link-arrow:hover { color: #0A387E; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: .5px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(90deg, #FF8A1E, #FF6A00); color: #fff; box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }
.btn-light:hover { background: #f1f5f9; }
.btn-lg { padding: 14px 30px; font-size: 15px; }
.btn-ghost { border: 1px solid var(--line); color: var(--muted); border-radius: 10px; padding: 8px 18px; font-size: 12px; }
.btn-ghost:hover { background: #f1f5f9; }
.btn-primary { background: var(--blue); color: #fff; border-radius: 10px; padding: 8px 18px; font-size: 12px; }
.btn-primary:hover { background: #0A387E; }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(15, 23, 42, .05);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: 46px; height: 46px; background: #fff; border-radius: 10px;
  padding: 5px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 900; font-size: 18px; letter-spacing: 2px; color: var(--navy); }
.brand-sub { font-size: 10.5px; color: var(--muted); letter-spacing: .4px; max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  font-size: 13px; font-weight: 600; color: #334155;
  padding: 8px 11px; border-radius: 8px; transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.main-nav a:hover { background: #eff6ff; color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px;
  font-size: 12px; font-weight: 800; color: var(--muted);
  transition: border-color .15s ease;
}
.lang-toggle:hover { border-color: var(--blue); }
.lang-sep { color: #cbd5e1; }
html.lang-en .lang-opt-en, html.lang-zh .lang-opt-zh { color: var(--blue); }

.nav-burger { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================ HERO ============================ */
.hero { background: #0f172a; }
.hero-frame { position: relative; width: 100%; aspect-ratio: 1920 / 650; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s ease; pointer-events: none;
}
.hero-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .85); color: var(--navy);
  font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.hero:hover .hero-arrow, .hero-arrow:focus { opacity: 1; }
.hero-arrow:hover { background: #fff; }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }

.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .65);
  transition: width .3s ease, background .3s ease;
}
.hero-dot.is-active { width: 28px; background: #fff; }

.trust-strip { background: var(--blue-dark); border-top: 1px solid rgba(255,255,255,.12); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; padding: 10px 20px; }
.trust-item { color: #dbeafe; font-size: 12px; font-weight: 700; letter-spacing: .4px; }
.trust-item::before { content: "\2713"; color: var(--gold); margin-right: 6px; font-weight: 900; }

/* ============================ GLOBAL ACCESS ============================ */
.ga-row {
  display: grid; grid-template-columns: 260px 1fr; gap: 16px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden; margin-bottom: 18px;
}
.ga-region {
  position: relative; overflow: hidden; padding: 24px;
  background: linear-gradient(135deg, #082448 0%, #0D47A1 48%, #1E6FD0 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: center;
  min-height: 230px;
}
.ga-region::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 85%);
}
.ga-index {
  position: absolute; right: -6px; bottom: -22px;
  font-size: 96px; font-weight: 900; color: rgba(255, 255, 255, .07); line-height: 1;
}
.ga-globe {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .35);
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--gold);
  margin-bottom: 14px;
}
.ga-region h3 { font-size: 17px; font-weight: 900; text-transform: uppercase; letter-spacing: .6px; line-height: 1.3; }
.ga-region-sub { display: block; font-size: 11px; font-weight: 700; opacity: .8; letter-spacing: 1px; margin-top: 6px; text-transform: none; }
.ga-divider { width: 40px; height: 1px; background: rgba(255, 255, 255, .45); margin: 12px 0; }
.ga-region p { font-size: 12px; line-height: 1.7; opacity: .92; }

.ga-products { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; }
.ga-card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; transition: border-color .2s ease, box-shadow .2s ease;
}
.ga-card:hover { border-color: rgba(15, 82, 186, .55); box-shadow: var(--shadow-md); }
.ga-card-img { display: block; border-radius: 8px; overflow: hidden; background: #f1f5f9; aspect-ratio: 16 / 10; margin-bottom: 10px; }
.ga-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ga-card:hover .ga-card-img img { transform: scale(1.05); }
.ga-card-body { display: flex; flex-direction: column; flex: 1; }
.ga-card-body h4 { font-size: 14px; font-weight: 800; color: #1e293b; line-height: 1.35; }
.ga-card-body p { font-size: 12px; color: var(--muted); margin-top: 4px; flex: 1; }
.ga-more { margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--blue); }
.ga-card:hover .ga-more { transform: translateX(4px); }

/* ============================ ABOUT ============================ */
.section-about {
  position: relative; background: linear-gradient(180deg, #f8fafc 0%, #eef5fd 50%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}
.about-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 20px; }
.about-watermark { text-align: right; user-select: none; }
.wm-number { font-size: 64px; font-weight: 900; line-height: 1; color: rgba(10, 37, 64, .08); }
.wm-label { font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-top: 4px; }

.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; }
.about-narrative {
  background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; box-shadow: var(--shadow-sm); font-size: 15px; color: #334155; line-height: 1.85;
}
.about-narrative strong { color: var(--ink); }
.about-narrative .hl {
  color: var(--blue); font-weight: 900;
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 3px; text-underline-offset: 5px;
}
.about-global { font-size: 13px; color: #475569; line-height: 1.85; margin: 16px 4px; }
.about-global strong { color: var(--ink); }

.fact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.fact-card {
  background: linear-gradient(135deg, #0A2540 0%, #0D47A1 60%, #1976D2 100%);
  color: #fff; border-radius: 14px; padding: 18px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.fact-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 80%);
}
.fact-card h4 { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.fact-card p { font-size: 12px; color: #bfdbfe; line-height: 1.65; }

.about-addresses { margin-top: 18px; font-size: 12px; color: var(--muted); display: grid; gap: 8px; }
.about-addresses strong { color: #334155; }

.factory-photo { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 2px solid #fff; }
.factory-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.factory-photo-badge {
  position: absolute; left: 14px; bottom: -14px;
  background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 16px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md);
}
.fb-number { font-size: 18px; font-weight: 900; color: var(--gold); line-height: 1.1; }
.fb-label { font-size: 10px; font-weight: 800; color: #334155; text-transform: uppercase; letter-spacing: 1px; }
.factory-caption { text-align: center; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 24px; }

.workshop-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-top: 12px; box-shadow: var(--shadow-sm); }
.workshop-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: #1e293b; margin-bottom: 12px; }
.workshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.workshop-tile {
  position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4 / 3; background: #f1f5f9; padding: 0;
}
.workshop-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.workshop-tile:hover img { transform: scale(1.08); }
.workshop-tile span:last-child {
  position: absolute; inset: auto 0 0 0; padding: 14px 8px 6px;
  background: linear-gradient(transparent, rgba(2, 6, 23, .82));
  color: #fff; font-size: 9.5px; font-weight: 800; line-height: 1.25;
}

.stats-band {
  margin-top: 52px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #082448 0%, #0D47A1 55%, #1E6FD0 100%);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 26px 12px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: none; }
.stat-value { font-size: 30px; font-weight: 900; color: var(--gold); line-height: 1.1; }
.stat-label { margin-top: 6px; font-size: 11px; font-weight: 700; color: #bfdbfe; text-transform: uppercase; letter-spacing: 1px; }

/* ============================ FACTORY STRIP ============================ */
.factory-strip { background: var(--bg-soft); padding: 40px 0; border-bottom: 1px solid var(--line); }
.strip-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
  background: #fff; padding: 4px; border-bottom: 3px solid #0160A0;
}
.strip-grid img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }

/* ============================ CATEGORY SHOWCASE ============================ */
.section-cats { background: #fff; padding-top: 48px; }
.cat-banner {
  position: relative; overflow: hidden; border-radius: 20px; padding: 36px 40px;
  color: #fff; box-shadow: var(--shadow-lg); margin-bottom: 26px;
}
.cat-banner-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; position: relative; z-index: 1; }
.cat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25);
  padding: 4px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
}
.cat-banner h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 900; letter-spacing: .5px; margin: 14px 0 6px; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.cat-sub { font-size: 13px; font-weight: 700; color: #dbeafe; }
.cat-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 16px; }
.cat-points li { position: relative; padding-left: 24px; font-size: 12.5px; color: #e2e8f0; line-height: 1.5; }
.cat-points li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  width: 17px; height: 17px; border-radius: 50%; background: rgba(240, 180, 41, .18);
  color: var(--gold); font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.cat-banner-left .btn { margin-top: 20px; }
.cat-banner-stage {
  background: #fff; border-radius: 18px; padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
}
.cat-banner-stage img { width: 100%; height: 100%; object-fit: contain; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pc-img { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid #f1f5f9; border-radius: 10px; padding: 8px; overflow: hidden; margin-bottom: 12px; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.pc-tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--blue); color: #fff; font-size: 9.5px; font-weight: 900; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 6px; box-shadow: var(--shadow-sm);
}
.pc-model { font-size: 10px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 4px; }
.pc-title { font-size: 13px; font-weight: 800; color: #1e293b; line-height: 1.4; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card:hover .pc-title { color: var(--blue); }
.pc-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid #f1f5f9; }
.pc-price { display: block; font-size: 15px; font-weight: 900; color: var(--blue); }
.pc-moq { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 2px; }
.pc-moq strong { color: #334155; }
.pc-verified { color: var(--green); font-weight: 700; font-size: 10px; }


/* ============================ CASES MARQUEE ============================ */
.case-marquee { background: #fff; padding: 44px 0; overflow: hidden; }
.marquee-viewport { overflow: hidden; width: 100%; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-viewport:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; }
@keyframes marquee { to { transform: translateX(-50%); } }

.case-card {
  width: 360px; flex-shrink: 0; margin: 0 8px;
  background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; box-shadow: var(--shadow-sm);
  padding: 16px; display: flex; flex-direction: column; height: 100%;
}
.case-top { display: flex; align-items: center; gap: 10px; }
.case-flag { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px var(--line); }
.case-country { font-size: 14px; font-weight: 800; color: var(--ink); }
.case-badge {
  margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--blue);
  background: #EBF3FE; border-radius: 8px; padding: 4px 10px; white-space: nowrap; text-align: center; line-height: 1.3;
}
.case-card p { font-size: 12.5px; color: #475569; line-height: 1.6; margin: 10px 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-card img:not(.case-flag) { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; margin-top: auto; }

/* ============================ OUR CLIENTS ============================ */
.clients-grid-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.clients-grid-bottom { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.client-photo {
  position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: #e2e8f0; padding: 0; box-shadow: var(--shadow-sm);
}
.client-photo img { width: 100%; object-fit: cover; transition: transform .5s ease; }
.clients-grid-top .client-photo img { aspect-ratio: 1.44 / 1; }
.clients-grid-bottom .client-photo img { aspect-ratio: 1.8 / 1; }
.client-photo:hover img { transform: scale(1.04); }
.client-zoom {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(2, 6, 23, .35); opacity: 0; transition: opacity .25s ease;
  color: #fff; font-size: 12px; font-weight: 800;
}
.client-zoom::before { content: "\25CE"; margin-right: 6px; font-size: 14px; }
.client-photo:hover .client-zoom, .client-photo:focus .client-zoom { opacity: 1; }

.clients-foot {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid #f1f5f9;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.clients-foot-left { display: flex; gap: 24px; flex-wrap: wrap; }
.clients-foot-left span::before { content: "\25CE"; color: var(--blue); margin-right: 6px; font-size: 10px; }

/* ============================ CERTIFICATES ============================ */
.certs-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.cert-card {
  position: relative; border-radius: 12px; overflow: hidden; text-align: center;
  border: 1px solid var(--line); background: #fff; padding: 10px 10px 12px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cert-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: linear-gradient(90deg, #0F52BA, #0A387E); color: #fff;
  font-size: 9px; font-weight: 900; letter-spacing: .8px; padding: 2px 8px; border-radius: 5px;
}
.cert-card img {
  width: 100%; aspect-ratio: 1 / 1.3; object-fit: contain;
  border: 6px solid #2A160C; border-radius: 4px; background: #fff;
  box-shadow: 0 0 0 1px rgba(217, 119, 6, .55), 0 6px 16px rgba(42, 22, 12, .28);
}
.cert-name { display: block; font-size: 10.5px; font-weight: 800; color: #1e293b; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cert-std { display: block; font-size: 9px; color: #94a3b8; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin-top: 2px; }

.certs-trust {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: #334155;
}
.certs-trust-items { display: flex; gap: 28px; flex-wrap: wrap; }
.certs-trust-items span::before { content: "\2713"; color: var(--green); font-weight: 900; margin-right: 6px; }

/* ============================ INVITE COOPERATION ============================ */
.section-invite { background: linear-gradient(180deg, #F3F8FD, #fff); border-top: 1px solid #f1f5f9; }
.invite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 40px; }
.invite-item { display: flex; gap: 12px; align-items: flex-start; }
.invite-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.invite-item p { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.55; }

/* ============================ CONTACT ============================ */
.contact { padding-bottom: 72px; }
.contact-banner {
  background: linear-gradient(90deg, #072B61, #0F52BA 55%, #0A387E);
  color: #fff; padding: 48px 0 96px; position: relative; overflow: hidden;
}
.contact-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .12;
}
.contact-banner-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contact-banner h2 { margin: 12px 0 8px; }
.contact-banner p { color: #bfdbfe; font-size: 14px; font-weight: 500; }

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: -64px; position: relative; z-index: 5;
}
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px;
  text-align: center; box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
  display: inline-flex; width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(180deg, #dbeafe, #e2e8f0); padding: 4px;
  box-shadow: var(--shadow-sm); margin-bottom: 12px;
}
.team-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; background: #fff; }
.team-card h3 { font-size: 16px; font-weight: 900; color: var(--ink); }
.team-card:hover h3 { color: var(--blue); }
.team-role { font-size: 12px; font-weight: 800; color: var(--blue); margin-top: 3px; }
.team-spec { font-size: 11px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-team {
  width: 100%; margin-top: 14px; padding: 9px 10px; border-radius: 12px;
  background: #eff6ff; border: 1px solid #bfdbfe; color: #1e293b; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s ease, color .2s ease;
}
.btn-team::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #10b981; }
.team-card:hover .btn-team { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ============================ FOOTER ============================ */
.site-footer { background: #0B1220; color: #94a3b8; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo { width: 48px; height: 48px; background: rgba(255,255,255,.96); border-radius: 10px; padding: 5px; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand-name { display: block; color: #fff; font-weight: 900; font-size: 16px; letter-spacing: 2px; }
.footer-brand-sub { display: block; font-size: 10px; color: #64748b; letter-spacing: 2px; text-transform: uppercase; }
.footer-brand > p { font-size: 13px; line-height: 1.7; color: #94a3b8; }
.footer-contacts { margin-top: 18px; display: grid; gap: 12px; font-size: 12.5px; }
.footer-contacts li { display: flex; flex-direction: column; gap: 2px; }
.footer-contacts li::before { content: "\25CE"; color: var(--gold); font-size: 9px; }
.footer-contacts strong { color: #e2e8f0; font-size: 12px; }
.footer-contacts a { color: #94a3b8; }
.footer-contacts a:hover { color: #fff; }

.footer-col h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13px; color: #94a3b8; padding: 6px 0; transition: color .15s ease, transform .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-cta { color: var(--gold); font-weight: 700; }
.footer-cta:hover { color: #fcd34d; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding: 20px 0 28px; }
.footer-bottom p { text-align: center; font-size: 12px; color: #475569; }

/* ============================ LIGHTBOX ============================ */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .8); backdrop-filter: blur(3px); }
.lightbox-card {
  position: relative; background: #fff; border-radius: 16px; max-width: 680px; width: 100%;
  padding: 20px; box-shadow: 0 40px 90px rgba(0, 0, 0, .4);
  max-height: 90vh; overflow-y: auto;
}
.lightbox-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.lightbox-kicker { display: block; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); }
.lightbox-head h3 { font-size: 15px; font-weight: 900; color: var(--ink); margin-top: 3px; }
.lightbox-close {
  width: 30px; height: 30px; border-radius: 50%; background: #f1f5f9; color: #475569;
  font-size: 13px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: #e2e8f0; }
.lightbox-body { margin: 14px 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #f8fafc; }
.lightbox-body img { width: 100%; max-height: 56vh; object-fit: contain; }
.lightbox-desc { font-size: 12.5px; color: #475569; line-height: 1.7; background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
.lightbox-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1500px) {
  .main-nav a { padding: 8px 7px; font-size: 12px; }
  .brand-sub { max-width: 200px; }
  .header-actions .btn-gold { padding: 9px 16px; font-size: 12px; }
  .lang-toggle { padding: 5px 10px; }
}

@media (max-width: 1280px) {
  .brand-sub { display: none; }
}

@media (max-width: 1080px) {
  .main-nav a { padding: 8px 7px; font-size: 12px; }
  .brand-sub { max-width: 200px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .certs-grid { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-watermark { display: none; }
}

@media (max-width: 860px) {
  .header-inner { height: 64px; gap: 12px; }
  .brand-sub { display: none; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    flex-direction: column; padding: 10px 16px 16px; margin: 0;
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 14px; border-bottom: 1px solid #f1f5f9; }
  .nav-burger { display: flex; }
  .header-actions .btn-gold { display: none; }

  .ga-row { grid-template-columns: 1fr; }
  .ga-region { min-height: 0; }
  .ga-index { font-size: 64px; bottom: -10px; }
  .cat-banner-grid { grid-template-columns: 1fr; }
  .cat-banner-stage { max-width: 420px; margin: 0 auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .invite-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid rgba(255, 255, 255, .1); }
  .stat:nth-child(-n+2) { border-top: none; }
  .contact-banner { padding: 40px 0 84px; }
}

@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .hero-frame { aspect-ratio: auto; height: 230px; }
  .hero-slide { object-position: center; }
  .hero-arrow { display: none; }
  .trust-row { gap: 6px 18px; }
  .trust-item { font-size: 11px; }
  .cat-banner { padding: 26px 20px; }
  .cat-points { grid-template-columns: 1fr; }
  .product-grid { gap: 12px; }
  .pc-title { font-size: 12px; }
  .clients-grid-top, .clients-grid-bottom { grid-template-columns: 1fr; }
  .clients-grid-bottom .client-photo img { aspect-ratio: 1.44 / 1; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .invite-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid img:last-child { display: none; }
  .fact-cards { grid-template-columns: 1fr; }
  .contact-banner-inner { flex-direction: column; align-items: flex-start; }
  .ga-products { grid-template-columns: 1fr; }
}

/* ============================ CONTACT POPUP ============================ */
.product-card { cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,23,42,.12); }
.product-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.cmodal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; }
.cmodal[hidden] { display: none; }
.cmodal-backdrop { position: absolute; inset: 0; background: rgba(10,37,64,.66); backdrop-filter: blur(3px); }
.cmodal-card {
  position: relative; width: min(440px, calc(100vw - 32px));
  background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(2,20,45,.35);
  padding: 30px 28px 26px; text-align: center;
  animation: cmodal-in .22s ease;
}
@keyframes cmodal-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.cmodal-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  border: none; border-radius: 50%; background: #f1f5f9; color: var(--ink);
  font-size: 15px; cursor: pointer;
}
.cmodal-close:hover { background: #e2e8f0; }
.cmodal-badge {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex; align-items: center; justify-content: center; padding: 10px;
}
.cmodal-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cmodal-card h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.cmodal-sub { font-size: 13px; color: var(--muted); line-height: 1.65; }
.cmodal-context {
  margin: 14px auto 0; padding: 9px 14px; max-width: 380px;
  background: #EFF4FC; border: 1px solid #D6E3F8; border-radius: 10px;
  color: var(--blue); font-size: 13px; font-weight: 700; line-height: 1.5;
}
.cmodal-mail {
  margin: 16px auto 4px; padding: 13px 18px; max-width: 380px;
  background: var(--bg-soft); border: 2px dashed #C7D6F0; border-radius: 12px;
}
.cmodal-mail-label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cmodal-mail strong { font-size: 19px; color: var(--ink); user-select: all; word-break: break-all; }
.cmodal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.cmodal-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 118px; }
#cm-copy.is-copied { color: var(--green); border-color: var(--green); }
@media (max-width: 520px) {
  .cmodal-card { padding: 24px 18px 20px; }
  .cmodal-mail strong { font-size: 16px; }
}
