/* ==========================================================================
   QINGRUN MACHINERY — design system v2
   Modern industrial: deep navy surfaces, luminous brand blue, teal accent.
   Full-bleed cinematic hero, editorial rhythm, tactile cards.
   ========================================================================== */

/* ---------- 01. Tokens ---------- */
:root {
  /* brand */
  --brand-50:  #eef4ff;
  --brand-100: #dde8ff;
  --brand-200: #c2d5ff;
  --brand-300: #96b4fb;
  --brand-400: #638cf3;
  --brand-500: #1b4bd8;
  --brand-600: #163ec0;
  --brand-700: #1233a0;
  --brand-800: #0f2a80;
  --brand-900: #0c1f60;

  /* accent */
  --teal:   #0fb5a5;
  --teal-d: #0a8f84;
  --amber:  #f5a524;

  /* ink + neutrals */
  --ink:    #0b1220;
  --ink-2:  #16203a;
  --body:   #4a5568;
  --muted:  #6b7688;
  --line:   #e6eaf2;
  --line-2: #f0f3f9;
  --soft:   #f6f8fc;
  --soft-2: #eef2f9;

  /* deep surfaces */
  --deep:   #060b16;
  --deep-2: #0c1730;

  /* surfaces / effects */
  --shadow-xs: 0 1px 2px rgba(11, 18, 32, .04);
  --shadow-sm: 0 2px 10px rgba(11, 18, 32, .05);
  --shadow-md: 0 10px 28px -10px rgba(11, 18, 32, .16);
  --shadow-lg: 0 24px 52px -20px rgba(11, 18, 32, .26);
  --shadow-xl: 0 40px 80px -32px rgba(11, 18, 32, .34);
  --shadow-brand: 0 14px 34px -12px rgba(27, 75, 216, .5);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease: cubic-bezier(.22, .8, .28, 1);
  --max-width: 1200px;
  --section-pad: 96px;

  --font-sans: "Inter", "Misans", "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC",
               "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Noto Serif SC", Georgia, serif;

  /* legacy aliases */
  --blue: var(--brand-500);
  --blue-dark: var(--brand-600);
  --blue-deep: var(--deep);
  --blue-soft: var(--brand-50);
  --light-blue: var(--brand-200);
  --accent: var(--amber);
  --accent-hover: #d98b0f;
  --primary: var(--deep-2);
  --primary-light: var(--brand-700);
  --secondary: var(--brand-500);
  --dark: var(--deep);
  --white: #fff;
  --gray: var(--muted);
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: var(--line);
  --gray-400: #94a3b8;
  --gray-500: var(--muted);
  --gray-600: var(--body);
  --gray-700: #334155;
  --gray-900: var(--ink);
  --light: var(--soft);
  --gradient-primary: linear-gradient(140deg, var(--deep) 0%, var(--deep-2) 55%, var(--brand-900) 100%);
  --gradient-hero: linear-gradient(150deg, var(--deep) 0%, #0b1730 45%, var(--brand-800) 100%);
  --gradient-brand: linear-gradient(120deg, var(--brand-500), #2f6bff 55%, var(--teal));
}

/* ---------- 02. Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--body);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv01";
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
strong, b { color: var(--ink-2); font-weight: 700; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--brand-500); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--soft); }
::-webkit-scrollbar-thumb { background: #c3cddd; border: 3px solid var(--soft); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #9fadc4; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- 03. Top bar ---------- */
.topbar {
  background: var(--deep);
  color: #a8b6d4;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  position: relative;
  z-index: 60;
}
.topbar::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 108, 232, .7), rgba(15, 181, 165, .5), transparent);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 42px; flex-wrap: wrap;
}
.topbar-info { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span {
  display: inline-flex; align-items: center; gap: 8px;
  color: #a8b6d4; transition: color .22s;
}
.topbar-info a:hover { color: #fff; }
.topbar-info .ti { width: 15px; height: 15px; stroke: currentColor; fill: none; opacity: .85; }
.topbar-lang { display: flex; gap: 5px; }

.lang-btn, .lang-tab {
  padding: 4px 13px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  color: #b6c2dc; cursor: pointer; border-radius: 999px;
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  transition: all .22s var(--ease);
}
.lang-btn:hover, .lang-tab:hover { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .1); }
.lang-btn.active, .lang-tab.active,
.lang-btn[aria-current="true"], .lang-tab[aria-current="true"],
.lang-btn[aria-current="page"], .lang-tab[aria-current="page"] {
  background: var(--brand-500); border-color: var(--brand-500); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(27, 75, 216, .8);
}

/* ---------- 04. Header / nav ---------- */
.header, .site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1.3rem; font-weight: 800; color: var(--ink);
  letter-spacing: -.01em; white-space: nowrap;
}
.logo::before {
  content: "Q"; flex: 0 0 auto;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--gradient-brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.22rem; font-weight: 800;
  box-shadow: 0 10px 24px -10px rgba(27, 75, 216, .8);
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; display: block; padding: 11px 16px;
  color: var(--ink-2); font-size: .93rem; font-weight: 600;
  border-radius: 10px; transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--brand-600); background: var(--brand-50); }
.nav-link.active { color: var(--brand-600); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.dropdown { position: relative; }
.dropdown > .nav-link::before { content: "\25BE"; margin-inline-start: 6px; font-size: .62em; opacity: .55; }
.dropdown > .nav-link::after { content: none; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); inset-inline-start: 0;
  min-width: 640px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 16px; display: none; grid-template-columns: repeat(3, 1fr); gap: 2px 16px;
  z-index: 60;
}
.dropdown-menu::before {
  content: ""; position: absolute; inset-inline: 26px; top: -1px; height: 2px;
  border-radius: 2px; background: var(--gradient-brand);
}
.dropdown:hover .dropdown-menu { display: grid; animation: menuIn .26s var(--ease) both; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.dropdown-item {
  position: relative; display: block; padding: 9px 12px 9px 14px; border-radius: 8px;
  font-size: .875rem; color: var(--body); font-weight: 500; transition: all .2s;
}
.dropdown-item::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: 50%;
  width: 3px; height: 0; border-radius: 2px; background: var(--brand-500);
  transform: translateY(-50%); transition: height .22s var(--ease);
}
.dropdown-item:hover { background: var(--brand-50); color: var(--brand-700); }
.dropdown-item:hover::before { height: 16px; }

.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px;
  border-radius: 2px; background: var(--ink);
  transition: transform .28s var(--ease), top .28s var(--ease), opacity .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 05. Buttons ---------- */
.btn, .btn-primary, .btn-outline, .btn-ghost, .btn-accent {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 34px; border-radius: 999px;
  font-weight: 700; font-size: .93rem; letter-spacing: .01em; line-height: 1;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background .22s, color .22s, border-color .22s;
  border: 1.5px solid transparent; cursor: pointer; overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand); color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .42) 48%, transparent 64%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(27, 75, 216, .65); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-accent { background: var(--amber); color: #24180a; }
.btn-accent:hover { background: #e59813; transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-600); background: var(--brand-50); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }
.hero .btn-outline, .prod-hero .btn-outline, .cta-section .btn-outline,
.solution-hero .btn-outline, .page-hero .btn-outline, .contact-hero .btn-outline {
  border-color: rgba(255, 255, 255, .42); color: #fff; background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}
.hero .btn-outline:hover, .prod-hero .btn-outline:hover, .cta-section .btn-outline:hover,
.solution-hero .btn-outline:hover, .page-hero .btn-outline:hover, .contact-hero .btn-outline:hover {
  background: #fff; color: var(--ink); border-color: #fff;
}
.btn-sm { padding: 10px 22px; font-size: .85rem; }

/* text link with animated underline */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand-600); font-weight: 700; font-size: .88rem;
  transition: gap .25s var(--ease), color .2s;
}
.link-arrow:hover { gap: 12px; color: var(--brand-700); }

/* ---------- 06. Section scaffolding ---------- */
.section { padding: var(--section-pad) 0; position: relative; }
.section.soft, .support-section, .services-preview { background: var(--soft); }
.support-section + .support-section, .products-section { background: #fff; }
.section.soft::before, .support-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(27, 75, 216, .055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 62%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 62%);
  opacity: .9;
}
.section > .container, .support-section > .container,
.services-preview > .container, .products-section > .container { position: relative; z-index: 2; }
.support-section, .services-preview, .products-section, .stats-section, .cta-section {
  padding: var(--section-pad) 0; position: relative; overflow: hidden;
}

.section-title {
  text-align: center; font-size: clamp(1.5rem, 2.9vw, 2.2rem);
  font-weight: 800; color: var(--ink); letter-spacing: -.022em;
  line-height: 1.3; margin-bottom: 18px; position: relative;
}
.section-title::after {
  content: ""; display: block; width: 54px; height: 3px; border-radius: 3px;
  background: var(--gradient-brand); margin: 18px auto 0;
}
.section-subtitle {
  text-align: center; color: var(--muted); font-size: 1.03rem;
  margin: 0 auto 52px; max-width: 720px; line-height: 1.8;
}
.kicker {
  display: block; text-align: center; color: var(--brand-600); font-weight: 800;
  font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 12px;
}
.section-count, .badge {
  display: inline-block; padding: 6px 15px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-600);
  font-size: .78rem; font-weight: 700; border: 1px solid var(--brand-100);
}

/* ---------- 07. HERO — full-bleed cinematic ---------- */
.hero, .hero-carousel {
  position: relative; overflow: hidden; color: #fff;
  padding: 0; background: var(--deep);
}
.hero-carousel { min-height: max(560px, calc(100vh - 132px)); }

.hero-carousel > .container {
  display: grid; max-width: none; width: 100%; padding: 0; margin: 0;
  position: relative; z-index: 6;
}
.hero-carousel .carousel-slide {
  grid-area: 1 / 1;
  position: relative; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; text-align: start;
  min-height: max(560px, calc(100vh - 132px));
  padding: 104px max(24px, calc((100vw - 1200px) / 2 + 24px)) 170px;
  background: var(--deep); border-radius: 0; box-shadow: none;
  opacity: 0; visibility: hidden;
  transition: opacity .85s var(--ease), visibility .85s;
}
.hero-carousel .carousel-slide.active { opacity: 1; visibility: visible; }

/* photo layer */
.carousel-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-color: var(--deep);
  background-size: cover; background-position: center;
  transform: scale(1.02);
}
.carousel-slide.active::after { animation: kenburns 11s ease-out both; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14); } }

/* gradient scrim */
.carousel-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 8, 18, .95) 0%, rgba(4, 9, 22, .84) 34%, rgba(6, 14, 34, .52) 62%, rgba(10, 22, 52, .28) 100%),
    linear-gradient(180deg, rgba(4, 8, 18, .5) 0%, transparent 32%, rgba(4, 8, 18, .72) 100%);
}
.carousel-slide > * { position: relative; z-index: 2; max-width: 800px; }

/* 首屏只下载第 1 张轮播图；2–4 张在 window load 后由 animate.js 加 .hero-more 再挂背景，
   避免 4 张全尺寸 JPEG（约 1.2MB）挤占首屏带宽。WebP 优先，JPEG 兜底。 */
.carousel-slide:nth-child(1)::after {
  background-image: url("../img/hero-1.jpg");
  background-image: image-set(url("../img/hero-1.webp") type("image/webp"), url("../img/hero-1.jpg") type("image/jpeg"));
}
html.hero-more .carousel-slide:nth-child(2)::after {
  background-image: url("../img/hero-2.jpg");
  background-image: image-set(url("../img/hero-2.webp") type("image/webp"), url("../img/hero-2.jpg") type("image/jpeg"));
}
html.hero-more .carousel-slide:nth-child(3)::after {
  background-image: url("../img/hero-3.jpg");
  background-image: image-set(url("../img/hero-3.webp") type("image/webp"), url("../img/hero-3.jpg") type("image/jpeg"));
}
html.hero-more .carousel-slide:nth-child(4)::after {
  background-image: url("../img/hero-4.jpg");
  background-image: image-set(url("../img/hero-4.webp") type("image/webp"), url("../img/hero-4.jpg") type("image/jpeg"));
}

/* ambient glow + grid texture */
.hero-carousel::before {
  content: ""; position: absolute; z-index: 5; pointer-events: none;
  width: 1000px; height: 1000px; inset-inline-end: -360px; top: -420px;
  background: radial-gradient(circle, rgba(59, 108, 232, .38), transparent 62%);
  border-radius: 50%;
}
.hero-carousel::after {
  content: ""; position: absolute; z-index: 5; pointer-events: none;
  width: 720px; height: 720px; inset-inline-start: -260px; bottom: -380px;
  background: radial-gradient(circle, rgba(15, 181, 165, .24), transparent 64%);
  border-radius: 50%;
}

.hero h1, .hero h2.hero-h, .carousel-slide h1, .carousel-slide h2.hero-h {
  font-size: clamp(2.1rem, 4.8vw, 3.9rem); font-weight: 800; color: #fff;
  line-height: 1.1; letter-spacing: -.03em; margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; margin-bottom: 26px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px; color: #e3ebff;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 4px rgba(15, 181, 165, .22);
}
.hero-sub {
  font-size: clamp(.98rem, 1.3vw, 1.12rem); color: rgba(226, 235, 255, .82);
  max-width: 640px; margin: 0 0 38px; line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero::after, .hero-carousel .carousel-slide::after { }

.banner2-icons {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 10px; flex-wrap: wrap; margin-bottom: 26px;
}
.b2-icon {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); min-width: 78px;
}
.b2-icon span { font-size: 1.5rem; line-height: 1; }
.b2-icon small { color: rgba(255, 255, 255, .82); font-size: .74rem; white-space: nowrap; font-weight: 600; }
.b2-arrow { color: rgba(255, 255, 255, .35); font-size: .9rem; }

/* hero slide navigation — glass pill bar */
.carousel-dots {
  position: absolute; z-index: 12;
  bottom: 46px;
  inset-inline-start: max(24px, calc((100vw - 1200px) / 2 + 24px));
  display: flex; gap: 6px; margin: 0; padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8);
}
.carousel-dot {
  position: relative; width: auto; height: auto; padding: 9px 20px;
  border: 0; border-radius: 999px; background: transparent;
  color: rgba(255, 255, 255, .74); cursor: pointer;
  font-size: .84rem; font-weight: 600; letter-spacing: .01em;
  transition: all .3s var(--ease); white-space: nowrap;
}
.carousel-dot .dot-label {
  display: block; position: static; opacity: 1;
  transform: none; white-space: nowrap; font-size: inherit; color: inherit;
}
.carousel-dot:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.carousel-dot.active { background: #fff; color: var(--brand-700); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .7); }

/* scroll cue */
.hero-scroll {
  position: absolute; z-index: 12; bottom: 50px;
  inset-inline-end: max(24px, calc((100vw - 1200px) / 2 + 24px));
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
}
.hero-scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 3px; height: 8px; border-radius: 2px; background: #fff;
  transform: translateX(-50%); animation: scrollCue 1.9s var(--ease) infinite;
}
@keyframes scrollCue { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 100% { opacity: 0; top: 24px; } }

/* ---------- 08. Inner page hero ---------- */
.prod-hero, .page-hero, .solution-hero, .contact-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: 108px 0 88px;
  background:
    radial-gradient(900px 460px at 50% -14%, rgba(63, 116, 244, .55), transparent 68%),
    radial-gradient(680px 420px at 88% 110%, rgba(15, 181, 165, .26), transparent 66%),
    linear-gradient(160deg, #05090f 0%, #0a1428 46%, #10265f 100%);
}
.prod-hero::before, .page-hero::before, .solution-hero::before, .contact-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(700px 340px at 50% 0%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(700px 340px at 50% 0%, #000, transparent 78%);
}
.prod-hero h1, .page-hero h1, .solution-hero h1, .contact-hero h1 {
  color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.22;
}
.prod-hero p, .page-hero p, .solution-hero p, .contact-hero p {
  color: rgba(214, 226, 250, .82); margin-top: 14px; font-size: 1.02rem;
}
.prod-hero::after, .page-hero::after, .solution-hero::after, .contact-hero::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 74px; z-index: 1;
  background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
}
.crumbs { margin-top: 18px; font-size: .85rem; color: rgba(198, 213, 240, .78); }
.crumbs a { color: rgba(198, 213, 240, .78); transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs::before { content: "\2302"; margin-inline-end: 7px; opacity: .7; }

/* ---------- 09. Cards ---------- */
.card, .detail-card, .support-item, .service-card, .category-card,
.solution-card, .info-card, .cert-card, .step-flow li, .contact-card,
.transport-item, .channels-panel, .inquiry-card {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s;
  overflow: hidden;
}
.card::before, .service-card::before, .category-card::before, .cert-card::before,
.solution-card::before, .contact-card::before, .support-item::before, .detail-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; z-index: 3;
  background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: inline-start;
  transition: transform .45s var(--ease);
}
.card:hover, .detail-card:hover, .support-item:hover, .service-card:hover,
.category-card:hover, .solution-card:hover, .info-card:hover, .cert-card:hover,
.step-flow li:hover, .contact-card:hover, .transport-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg); border-color: var(--brand-100);
}
.card:hover::before, .service-card:hover::before, .category-card:hover::before,
.cert-card:hover::before, .solution-card:hover::before, .contact-card:hover::before,
.support-item:hover::before, .detail-card:hover::before { transform: scaleX(1); }

/* service grid */
.support-grid { display: grid; grid-template-columns: 1.2fr repeat(6, 1fr); grid-template-rows: repeat(2, 1fr); gap: 16px; }
.support-item { padding: 28px 16px; text-align: center; }
.support-center {
  grid-row: span 2; background: var(--gradient-primary); border: none; color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 28px 22px;
}
.support-center::before { content: none; }
.support-center h3, .support-center p { color: #fff; }
.support-center p { opacity: .82; font-size: .88rem; margin-top: 8px; }
.support-icon { font-size: 1.9rem; margin-bottom: 12px; line-height: 1; }
.support-item h3 { font-size: .92rem; font-weight: 700; color: var(--ink); }

/* illustrative icon chip (used when SVG icon replaces emoji) */
.ico-wrap {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-50), #e6f7f5);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  transition: transform .38s var(--ease), background .38s, color .38s, box-shadow .38s;
}
.ico-wrap svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .ico-wrap, .service-card:hover .ico-wrap, .category-card:hover .ico-wrap,
.cert-card:hover .ico-wrap, .contact-card:hover .ico-wrap, .support-item:hover .ico-wrap {
  transform: translateY(-3px) scale(1.06);
  background: var(--gradient-brand); color: #fff; border-color: transparent;
  box-shadow: 0 12px 26px -12px rgba(27, 75, 216, .75);
}
.ico-wrap.sm { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 12px; }
.ico-wrap.sm svg { width: 21px; height: 21px; }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.service-card { padding: 36px 24px; text-align: center; }
.service-num {
  font-size: 1.9rem; font-weight: 900; line-height: 1;
  color: var(--brand-500); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 { font-size: 1.02rem; color: var(--ink); margin-bottom: 9px; font-weight: 700; }
.service-card p { font-size: .875rem; color: var(--muted); line-height: 1.75; }

/* category tiles */
.product-categories, .prod-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px;
}
.prod-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); padding: 60px 24px; }
.category-card { padding: 32px 20px; text-align: center; display: block; }
.category-icon { font-size: 2rem; margin-bottom: 14px; line-height: 1; }
.category-card h3 { font-size: .95rem; color: var(--ink); font-weight: 700; }

/* product card */
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.product-card .thumb {
  position: relative; background: linear-gradient(170deg, #fbfcff, #eef3fc);
  padding: 22px; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); overflow: hidden;
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .55s var(--ease); mix-blend-mode: multiply;
}
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card h3 { font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.5; }
.product-card .more {
  margin-top: auto; color: var(--brand-600); font-weight: 700;
  font-size: .8rem; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 6px;
  transition: gap .25s var(--ease);
}
.product-card:hover .more { gap: 11px; }

/* ---------- 10. Stats band ---------- */
.stats-section {
  background:
    radial-gradient(760px 340px at 14% 16%, rgba(63, 116, 244, .38), transparent 66%),
    radial-gradient(760px 340px at 86% 86%, rgba(15, 181, 165, .24), transparent 68%),
    linear-gradient(140deg, #05090f 0%, #0a1730 52%, #10265f 100%);
  color: #fff;
}
.stats-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.stats-section > .container { position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat-item { position: relative; text-align: center; padding: 12px 8px; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; inset-inline-start: -14px; top: 12%; bottom: 12%;
  width: 1px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .2), transparent);
}
.stat-num {
  display: block; font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 900;
  letter-spacing: -.035em; line-height: 1; color: #fff;
  background: linear-gradient(175deg, #fff 30%, #93b4ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { display: block; font-size: .9rem; color: rgba(198, 213, 240, .74); margin-top: 10px; letter-spacing: .02em; }

/* ---------- 11. Solutions ---------- */
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.solution-card { overflow: hidden; }
.solution-card-header {
  position: relative; padding: 30px 26px; color: #fff;
  background: linear-gradient(140deg, var(--deep-2), var(--brand-800));
}
.solution-card-icon { font-size: 1.8rem; margin-bottom: 10px; line-height: 1; }
.solution-card-header h3 { color: #fff; font-size: 1.08rem; }
.solution-card-body { padding: 24px 26px 28px; }

/* photo-topped cards (used on home + hub pages) */
.solution-photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10; margin-bottom: 18px; background: var(--soft-2);
}
.solution-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .solution-photo img { transform: scale(1.06); }
.solution-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 22, 0) 52%, rgba(6, 11, 22, .46));
}

/* ---------- 12. FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 14px; overflow: hidden;
  box-shadow: var(--shadow-xs); transition: border-color .3s, box-shadow .3s;
}
.faq-item:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq-item::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gradient-brand); transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease);
}
.faq-item.open::before, .faq-item[open]::before { transform: scaleY(1); }
.faq-q, .faq-question {
  width: 100%; background: none; border: 0; font: inherit; color: var(--ink);
  font-weight: 700; font-size: 1rem; text-align: start; padding: 21px 24px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s;
}
.faq-q:hover, .faq-question:hover { color: var(--brand-600); }
.faq-q::after, .faq-question::after {
  content: "+"; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600);
  font-size: 1.15rem; line-height: 1; font-weight: 600;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq-item.open .faq-q::after, .faq-item.open .faq-question::after {
  transform: rotate(45deg); background: var(--brand-500); color: #fff;
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.faq-a p, .faq-a div { padding: 0 24px 22px; color: var(--muted); font-size: .95rem; line-height: 1.85; }
.faq-item.open .faq-a { max-height: 620px; }

/* ---------- 13. CTA band ---------- */
.cta-section {
  background:
    radial-gradient(720px 340px at 50% -20%, rgba(63, 116, 244, .5), transparent 68%),
    linear-gradient(140deg, #05090f 0%, #0a1730 50%, #10265f 100%);
  color: #fff; text-align: center;
}
.cta-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .085) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(620px 320px at 50% 50%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(620px 320px at 50% 50%, #000, transparent 76%);
}
.cta-section > .container { position: relative; z-index: 2; }
.cta-inner { text-align: center; }
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; color: #fff; letter-spacing: -.022em; }
.cta-section p { color: rgba(198, 213, 240, .8); margin: 16px auto 36px; max-width: 620px; font-size: 1.04rem; }

/* ---------- 14. Content / product detail ---------- */
.prod-content { max-width: 980px; margin: 0 auto; padding: 62px 24px; }
.prod-content p { color: var(--body); line-height: 1.95; font-size: .97rem; margin-bottom: 13px; }
.prod-content h2 { font-size: 1.4rem; margin: 38px 0 14px; }
.prod-content h3 { font-size: 1.12rem; margin: 28px 0 12px; }
.prod-content p.strong {
  font-weight: 700; color: var(--ink); font-size: 1.08rem;
  margin-top: 30px; margin-bottom: 12px; padding-inline-start: 16px;
  border-inline-start: 3px solid var(--brand-500); line-height: 1.5;
}
.prod-content .table-wrap + p.strong { margin-top: 38px; }
/* 正文项目符号已改为真正的列表（原先是 <p>● …</p>），样式与段落保持一致 */
.prod-content ul, .prod-content ol { margin: 0 0 14px; padding-inline-start: 22px; }
.prod-content li { color: var(--body); line-height: 1.95; font-size: .97rem; margin-bottom: 6px; }
.prod-content li::marker { color: var(--brand-500); }
[dir="rtl"] .prod-content ul, [dir="rtl"] .prod-content ol,
[dir="rtl"] .prod-content li { text-align: right; }
.prod-img { text-align: center; margin: 32px 0; }
.prod-img img {
  max-width: 100%; max-height: 420px; margin: 0 auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: #fff;
}
.lang-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 26px 0 34px; }
.lang-tabs .lang-tab {
  border: 1.5px solid var(--line); color: var(--body); background: #fff;
  padding: 7px 18px; font-size: .83rem;
}
.lang-tabs .lang-tab:hover { border-color: var(--brand-300); color: var(--brand-600); }
.lang-tabs .lang-tab.active { background: var(--brand-500); border-color: var(--brand-500); color: #fff; box-shadow: var(--shadow-brand); }
.lang-section { display: none; }
.lang-section.active { display: block; }
.back-link { text-align: center; padding: 40px 0 64px; }
.prod-list { max-width: 1200px; margin: 0 auto; padding: 66px 24px; }
.lang-note {
  display: none; margin: 0 auto 24px; max-width: 960px;
  background: #fff9ec; border: 1px solid #ffe2ac; color: #8a5a00;
  border-radius: var(--radius); padding: 13px 20px; font-size: .88rem; text-align: center;
}
.lang-note.show { display: block; }

/* ---------- 15. Tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th { background: var(--deep-2); color: #fff; padding: 12px 15px; text-align: start; font-weight: 600; }
.spec-table td { padding: 11px 15px; border-bottom: 1px solid var(--line); }
.table-wrap {
  overflow-x: auto; margin: 22px 0; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-xs); background: #fff;
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table-wrap th {
  background: var(--deep-2); color: #fff; padding: 13px 16px;
  text-align: start; font-weight: 600; font-size: .84rem; letter-spacing: .02em; white-space: nowrap;
}
.table-wrap td {
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  vertical-align: top; line-height: 1.7; color: var(--body);
}
.table-wrap tr:nth-child(even) td { background: var(--soft); }
.table-wrap tr:hover td { background: var(--brand-50); }
.table-wrap tr:last-child td { border-bottom: none; }

/* ---------- 16. Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--soft);
  outline: none; transition: border-color .22s, background .22s, box-shadow .22s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--brand-400); background: #fff; box-shadow: 0 0 0 4px rgba(27, 75, 216, .1);
}
.form-field textarea { min-height: 130px; resize: vertical; }

/* ---------- 17. Footer ---------- */
.footer, .site-footer { position: relative; background: var(--deep); color: #93a2c2; font-size: .9rem; }
.footer::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 116, 244, .75), rgba(15, 181, 165, .55), transparent);
}
.footer::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 320px at 12% 0%, rgba(63, 116, 244, .16), transparent 70%);
}
.footer > .container { position: relative; z-index: 2; }
.footer { padding: 72px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-col h3 {
  color: #fff; font-size: 1.12rem; margin-bottom: 16px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 11px;
}
.footer-col h3::before {
  content: "Q"; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  background: var(--gradient-brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800;
}
.footer-col h4 {
  position: relative; color: #fff; font-size: .95rem; margin-bottom: 18px;
  font-weight: 700; letter-spacing: .05em; padding-bottom: 12px;
}
.footer-col h4::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 28px; height: 2px; border-radius: 2px; background: var(--gradient-brand);
}
.footer-col p, .footer-col li { color: #93a2c2; margin-bottom: 11px; font-size: .875rem; line-height: 1.75; }
.footer-col a { color: #93a2c2; transition: color .2s, padding .25s var(--ease); display: inline-block; }
.footer-col a:hover { color: #fff; }
.footer-col ul li a:hover { transform: translateX(4px); color: #fff; }
.footer-bottom {
  text-align: center; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-bottom p { color: #61708f; font-size: .8rem; }

/* ---------- 18. Floating contact widget ---------- */
.qrw { position: fixed; right: 22px; bottom: 26px; z-index: 9000; display: flex; flex-direction: column; gap: 11px; }
.qrw-item {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 10px 26px -10px rgba(11, 18, 32, .55);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.qrw-item:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 32px -12px rgba(11, 18, 32, .7); }
.qrw-item svg { width: 26px; height: 26px; fill: currentColor; }
.qrw-item[hidden] { display: none; }
.qrw-wa { background: #25D366; }
.qrw-wc { background: #07C160; }
.qrw-sk { background: #00AFF0; }
.qrw-inq { background: var(--brand-500); }
.qrw-item::after {
  content: attr(data-tip); position: absolute; right: 64px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--deep); color: #fff; font-size: 12px; padding: 8px 12px;
  border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s var(--ease);
  box-shadow: var(--shadow-md);
}
.qrw-item:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.qrw-modal { position: fixed; inset: 0; background: rgba(6, 11, 22, .62); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 9500; }
.qrw-modal.open { display: flex; }
.qrw-modal-box {
  background: #fff; border-radius: var(--radius-lg); padding: 30px 26px;
  max-width: 350px; width: calc(100% - 48px); text-align: center; position: relative;
  box-shadow: var(--shadow-xl); animation: menuIn .3s var(--ease) both;
}
.qrw-modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 22px; color: #94a3b8; cursor: pointer; }
.qrw-modal-close:hover { color: var(--ink); }
.qrw-modal-box h4 { color: var(--ink); font-size: 1.05rem; margin-bottom: 16px; }
.qrw-modal-qr { width: 200px; height: 200px; object-fit: contain; margin: 0 auto 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.qrw-modal-id { font-size: 1.05rem; font-weight: 700; color: var(--ink); background: var(--soft); border-radius: var(--radius); padding: 11px 14px; margin-bottom: 16px; word-break: break-all; }
.qrw-copy-btn { display: inline-block; padding: 10px 24px; border: 0; border-radius: 999px; background: var(--gradient-brand); color: #fff; font-weight: 700; font-size: .85rem; cursor: pointer; transition: transform .25s var(--ease); }
.qrw-copy-btn:hover { transform: translateY(-2px); }

/* ---------- 19. Section divider ribbon ---------- */
.split-band {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.split-band .pic img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-band h2 { font-size: clamp(1.4rem, 2.6vw, 2.05rem); font-weight: 800; margin-bottom: 18px; }
.split-band p { color: var(--muted); margin-bottom: 14px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.stat-row .stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 18px; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-xs); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stat-row .stat::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px;
  background: var(--gradient-brand);
}
.stat-row .stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-row b { font-size: 2rem; font-weight: 900; color: var(--brand-600); display: block; line-height: 1.15; letter-spacing: -.02em; }
.stat-row span { font-size: .82rem; color: var(--muted); }

/* ---------- 20. Animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .carousel-slide.active::after { animation: none !important; }
  * { animation-duration: .01ms !important; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- 21. RTL ---------- */
[dir="rtl"] body, [dir="rtl"] .prod-content p, [dir="rtl"] .table-wrap { text-align: right; }
[dir="rtl"] .qrw { right: auto; left: 22px; }
[dir="rtl"] .qrw-item::after { right: auto; left: 64px; transform: translateY(-50%) translateX(-6px); }
[dir="rtl"] .qrw-item:hover::after { transform: translateY(-50%) translateX(0); }
[dir="rtl"] .qrw-modal-close { right: auto; left: 14px; }
[dir="rtl"] .footer-col ul li a:hover { transform: translateX(-4px); }
[dir="rtl"] .dropdown-item { padding: 9px 14px 9px 12px; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 0; }
  .nav-link { padding: 11px 11px; font-size: .875rem; }
  .support-grid { grid-template-columns: repeat(3, 1fr); }
  .support-center { grid-row: span 1; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --section-pad: 72px; }
  .nav-toggle { display: block; }
  .header-inner { min-height: 66px; gap: 12px; }
  .nav {
    position: fixed; top: 0; inset-inline-end: -320px; width: 300px; height: 100vh;
    background: #fff; box-shadow: -14px 0 44px rgba(11, 18, 32, .2);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 88px 22px 28px;
    transition: inset-inline-end .34s var(--ease); z-index: 99; overflow-y: auto;
  }
  .nav.open { inset-inline-end: 0; }
  .nav-link { padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link::after { content: none; }
  .nav-link:hover { background: transparent; }
  .dropdown-menu {
    position: static; min-width: 0; display: none;
    grid-template-columns: 1fr 1fr; box-shadow: none; border: 0; padding: 4px 0 10px;
  }
  .dropdown-menu::before { content: none; }
  .dropdown.open .dropdown-menu { display: grid; }
  .nav-toggle.open { z-index: 101; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-info { gap: 16px; font-size: 12px; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .split-band { grid-template-columns: 1fr; gap: 34px; }
  .hero-carousel .carousel-slide { padding: 110px 24px 150px; }
  .carousel-dots { inset-inline-start: 24px; bottom: 34px; flex-wrap: wrap; }
  .hero-scroll { display: none; }
}
@media (max-width: 640px) {
  :root { --section-pad: 58px; }
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .hero-carousel { min-height: 0; }
  .hero-carousel .carousel-slide { min-height: 0; padding: 96px 18px 132px; }
  .hero h1, .hero h2.hero-h, .carousel-slide h1, .carousel-slide h2.hero-h { font-size: 1.85rem; }
  .hero-sub { font-size: .96rem; }
  .carousel-dots { inset-inline-start: 18px; right: 18px; bottom: 26px; }
  .carousel-dot { padding: 8px 14px; font-size: .76rem; }
  .section-title { font-size: 1.42rem; }
  .section-subtitle { margin-bottom: 34px; font-size: .96rem; }
  .prod-hero, .page-hero, .solution-hero, .contact-hero { padding: 78px 0 62px; }
  .prod-hero h1, .page-hero h1 { font-size: 1.55rem; }
  .services-grid, .support-grid, .stats-grid, .product-categories { grid-template-columns: 1fr; }
  .product-categories { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-item + .stat-item::before { content: none; }
  .prod-content { padding: 38px 18px; }
  .prod-list { padding: 38px 18px; }
  .qrw { right: 14px; bottom: 16px; gap: 9px; }
  .qrw-item { width: 46px; height: 46px; }
  .qrw-item svg { width: 22px; height: 22px; }
  .qrw-item::after { display: none; }
  .footer { padding: 48px 0 20px; }
  .footer-grid { gap: 28px; margin-bottom: 28px; }
  .section-title::after { margin-top: 14px; }
}

/* ==========================================================================
   LEGACY UTILITY LAYER — kept verbatim so every generated page keeps working
   ========================================================================== */

/* ---------- 14. Utility layer ---------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: start; }
.text-right { text-align: end; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.whitespace-nowrap { white-space: nowrap; }
.uppercase { text-transform: uppercase; }
.cursor-pointer { cursor: pointer; }
.antialiased { -webkit-font-smoothing: antialiased; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }
.space-y-1 > * + * { margin-top: 4px; } .space-y-2 > * + * { margin-top: 8px; }
.space-y-4 > * + * { margin-top: 16px; } .space-y-8 > * + * { margin-top: 32px; }
.p-2 { padding: 8px; } .p-4 { padding: 16px; } .p-6 { padding: 24px; } .p-8 { padding: 32px; }
.px-2 { padding-inline: 8px; } .px-3 { padding-inline: 12px; } .px-4 { padding-inline: 16px; }
.px-5 { padding-inline: 20px; } .px-6 { padding-inline: 24px; }
.py-1 { padding-block: 4px; } .py-2 { padding-block: 8px; } .py-3 { padding-block: 12px; }
.py-4 { padding-block: 16px; } .py-8 { padding-block: 32px; } .py-12 { padding-block: 48px; }
.py-16 { padding-block: 64px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.mt-1 { margin-top: 4px; } .mt-4 { margin-top: 16px; } .mt-8 { margin-top: 32px; }
.mx-1 { margin-inline: 4px; }
.w-3 { width: 12px; } .w-5 { width: 20px; } .w-6 { width: 24px; } .w-7 { width: 28px; }
.w-8 { width: 32px; } .w-10 { width: 40px; } .w-14 { width: 56px; } .w-16 { width: 64px; }
.h-3 { height: 12px; } .h-5 { height: 20px; } .h-7 { height: 28px; } .h-8 { height: 32px; }
.h-10 { height: 40px; } .h-14 { height: 56px; } .h-16 { height: 64px; } .h-px { height: 1px; }
.top-0 { top: 0; } .top-3 { top: 12px; } .right-3 { right: 12px; } .z-50 { z-index: 50; }
.max-w-2xl { max-width: 42rem; } .max-w-4xl { max-width: 56rem; } .max-w-7xl { max-width: 80rem; }
.aspect-video { aspect-ratio: 16 / 9; }
.text-xs { font-size: .75rem; } .text-sm { font-size: .875rem; } .text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; } .text-2xl { font-size: 1.5rem; } .text-3xl { font-size: 1.875rem; }
.font-medium { font-weight: 500; } .font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; } .font-serif { font-family: var(--font-serif); }
.tracking-tight { letter-spacing: -.02em; } .tracking-widest { letter-spacing: .18em; }
.rounded { border-radius: 6px; } .rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: var(--radius-lg); } .rounded-full { border-radius: 9999px; }
.rounded-r-lg { border-start-end-radius: var(--radius); border-end-end-radius: var(--radius); }
.border { border: 1px solid var(--line); } .border-b { border-bottom: 1px solid var(--line); }
.border-t { border-top: 1px solid var(--line); } .border-l-4 { border-inline-start: 4px solid var(--line); }
.border-gray-100 { border-color: #f1f5f9; } .border-gray-200 { border-color: var(--line); }
.border-gray-700 { border-color: #334155; } .border-gray-800 { border-color: #1e293b; }
.border-blue-200 { border-color: #bfdbfe; } .border-blue-500 { border-color: #3b82f6; }
.border-cyan-500 { border-color: #06b6d4; } .border-green-500 { border-color: #22c55e; }
.border-orange-500 { border-color: #f97316; } .border-sky-500 { border-color: #0ea5e9; }
.border-violet-500 { border-color: #8b5cf6; } .border-yellow-500 { border-color: #eab308; }
.bg-white { background: #fff; } .bg-primary { background: var(--blue); }
.bg-accent { background: var(--accent); }

/* ==========================================================================
   MOBILE POLISH — nav backdrop, hero & carousel, forms & buttons
   (phone UX improvements; layered last so these win over earlier rules)
   ========================================================================== */
/* drawer backdrop + body scroll lock (header is z-index:1000, so this sits
   below the header/drawer/toggle — the close X stays tappable — but above
   page content, dimming what's behind the open menu) */
.nav-overlay {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(6, 14, 34, .5);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease, ease), visibility .3s var(--ease, ease);
  -webkit-tap-highlight-color: transparent;
}
.nav-overlay.show { opacity: 1; visibility: visible; }
body.nav-locked { overflow: hidden; }

@media (max-width: 900px) {
  /* nav drawer: breathing room for notched phones + bigger tap targets */
  .nav { padding-top: calc(80px + env(safe-area-inset-top, 0px)); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .nav-link { padding: 15px 14px; }
  .nav-link:active { background: var(--brand-50); }
  .dropdown.open > .nav-link { color: var(--brand-600); background: var(--brand-50); }
  .dropdown-menu { gap: 2px 12px; }

  /* hero & carousel: tighter first screen, stacked + full-width CTAs */
  .hero-carousel .carousel-slide { padding-top: calc(104px + env(safe-area-inset-top, 0px)); }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns .btn, .hero-btns .btn-primary, .hero-btns .btn-outline, .hero-btns .btn-ghost { width: 100%; }
  .carousel-dots { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .carousel-dot { padding: 9px 13px; }

  /* forms & buttons: 16px input stops iOS auto-zoom; taller tap targets */
  .form-field input, .form-field textarea, .form-field select { font-size: 16px; padding: 14px 15px; }
  .btn-submit { min-height: 52px; font-size: 1.05rem; }
  .btn { padding: 15px 30px; }
}

@media (max-width: 380px) {
  .hero h1, .hero h2.hero-h, .carousel-slide h1, .carousel-slide h2.hero-h { font-size: 1.6rem; }
  .hero-sub { font-size: .92rem; }
}
.bg-gray-50 { background: var(--soft); } .bg-gray-100 { background: #f1f5f9; }
.bg-gray-600 { background: #475569; } .bg-gray-800 { background: #1e293b; } .bg-gray-900 { background: var(--blue-deep); }
.bg-stone-50 { background: #fafaf9; }
.bg-blue-50 { background: #eff6ff; } .bg-blue-400 { background: #60a5fa; } .bg-blue-500 { background: #3b82f6; } .bg-blue-900 { background: #1e3a8a; }
.bg-cyan-50 { background: #ecfeff; } .bg-cyan-500 { background: #06b6d4; }
.bg-teal-50 { background: #f0fdfa; } .bg-teal-400 { background: #2dd4bf; } .bg-teal-500 { background: #14b8a6; } .bg-teal-900 { background: #134e4a; }
.bg-emerald-400 { background: #34d399; } .bg-emerald-500 { background: #10b981; } .bg-emerald-900 { background: #064e3b; }
.bg-green-50 { background: #f0fdf4; } .bg-green-400 { background: #4ade80; } .bg-green-500 { background: #22c55e; }
.bg-green-800 { background: #166534; } .bg-green-900 { background: #14532d; }
.bg-orange-50 { background: #fff7ed; } .bg-orange-400 { background: #fb923c; } .bg-orange-500 { background: #f97316; } .bg-orange-900 { background: #7c2d12; }
.bg-amber-400 { background: #fbbf24; } .bg-amber-500 { background: #f59e0b; } .bg-amber-900 { background: #78350f; }
.bg-yellow-50 { background: #fefce8; }
.bg-lime-500 { background: #84cc16; }
.bg-sky-50 { background: #f0f9ff; }
.bg-indigo-400 { background: #818cf8; } .bg-indigo-500 { background: #6366f1; } .bg-indigo-900 { background: #312e81; }
.bg-purple-50 { background: #faf5ff; } .bg-purple-500 { background: #a855f7; }
.bg-violet-50 { background: #f5f3ff; }
.bg-gradient-to-r, .bg-gradient-to-br { background-image: linear-gradient(135deg, var(--blue-deep), var(--blue-dark)); }
.from-primary { --tw-from: var(--blue); }
.from-blue-700, .from-blue-900 { background-image: linear-gradient(135deg, #1e3a8a, #0f172a); }
.from-cyan-700 { background-image: linear-gradient(135deg, #0e7490, #0f172a); }
.from-teal-900 { background-image: linear-gradient(135deg, #134e4a, #0f172a); }
.from-emerald-900 { background-image: linear-gradient(135deg, #064e3b, #0f172a); }
.from-green-700, .from-green-900 { background-image: linear-gradient(135deg, #14532d, #0f172a); }
.from-orange-700, .from-orange-900 { background-image: linear-gradient(135deg, #7c2d12, #0f172a); }
.from-amber-700, .from-amber-900 { background-image: linear-gradient(135deg, #78350f, #0f172a); }
.from-indigo-900 { background-image: linear-gradient(135deg, #312e81, #0f172a); }
.from-sky-700 { background-image: linear-gradient(135deg, #0369a1, #0f172a); }
.from-violet-700 { background-image: linear-gradient(135deg, #6d28d9, #0f172a); }
.to-gray-800, .to-gray-900, .to-primary { --tw-to: 1; }   /* gradient stops are baked into .from-* rules */
.text-white { color: #fff; } .text-primary { color: var(--blue); } .text-accent { color: var(--accent); }
.text-gray-200 { color: #e2e8f0; } .text-gray-300 { color: #cbd5e1; } .text-gray-400 { color: #94a3b8; }
.text-gray-500 { color: var(--muted); } .text-gray-600 { color: #475569; } .text-gray-700 { color: #334155; }
.text-gray-900 { color: var(--ink); }
.text-blue-200 { color: #bfdbfe; } .text-blue-400 { color: #60a5fa; } .text-blue-600 { color: #2563eb; }
.text-blue-800 { color: #1e40af; } .text-blue-900 { color: #1e3a8a; }
.text-cyan-400 { color: #22d3ee; } .text-teal-200 { color: #99f6e4; } .text-teal-400 { color: #2dd4bf; } .text-teal-600 { color: #0d9488; } .text-teal-900 { color: #134e4a; }
.text-emerald-200 { color: #a7f3d0; } .text-emerald-400 { color: #34d399; } .text-emerald-900 { color: #064e3b; }
.text-green-200 { color: #bbf7d0; } .text-green-400 { color: #4ade80; } .text-green-600 { color: #16a34a; } .text-green-900 { color: #14532d; }
.text-orange-200 { color: #fed7aa; } .text-orange-400 { color: #fb923c; } .text-orange-600 { color: #ea580c; }
.text-orange-800 { color: #9a3412; } .text-orange-900 { color: #7c2d12; }
.text-amber-200 { color: #fde68a; } .text-amber-400 { color: #fbbf24; } .text-amber-900 { color: #78350f; }
.text-yellow-800 { color: #854d0e; }
.text-sky-400 { color: #38bdf8; }
.text-indigo-200 { color: #c7d2fe; } .text-indigo-400 { color: #818cf8; } .text-indigo-900 { color: #312e81; }
.text-purple-600 { color: #9333ea; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.transition, .transition-all, .transition-colors, .transition-shadow { transition: all .25s ease; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.backdrop-blur-lg { backdrop-filter: blur(12px); }
.top-bar {
  background: var(--blue-deep); color: #c6d3e8; font-size: .8rem;
  padding: 8px 0; display: flex; align-items: center;
}
.top-bar a { color: #c6d3e8; }
.top-bar a:hover { color: #fff; }
.lang-selector { display: flex; gap: 4px; }
.wide { letter-spacing: .16em; }
div[class*="border-l-4"] { border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; }

/* ---------- 15. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 16. RTL ---------- */
[dir="rtl"] body, [dir="rtl"] .prod-content p, [dir="rtl"] .table-wrap { text-align: right; }
[dir="rtl"] .qrw { right: auto; left: 20px; }
[dir="rtl"] .qrw-item::after { right: auto; left: 62px; transform: translateY(-50%) translateX(-6px); }
[dir="rtl"] .qrw-item:hover::after { transform: translateY(-50%) translateX(0); }
[dir="rtl"] .qrw-modal-close { right: auto; left: 14px; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 0; }
  .nav-link { padding: 10px 10px; font-size: .875rem; }
  .support-grid { grid-template-columns: repeat(3, 1fr); }
  .support-center { grid-row: span 1; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-inner { min-height: 64px; gap: 12px; }
  .nav {
    position: fixed; top: 0; inset-inline-end: -300px; width: 280px; height: 100vh;
    background: #fff; box-shadow: -8px 0 30px rgba(16, 34, 86, .16);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 84px 20px 24px;
    transition: inset-inline-end .3s; z-index: 99; overflow-y: auto;
  }
  .nav.open { inset-inline-end: 0; }
  .nav-link { padding: 13px 12px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-link::after { content: none; }
  .dropdown-menu {
    position: static; min-width: 0; display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: none; border: 0; padding: 4px 0 8px;
  }
  .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: grid; }
  .nav-toggle.open { z-index: 101; }
  .topbar-inner { justify-content: center; text-align: center; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1, .hero h2.hero-h, .carousel-slide h1, .carousel-slide h2.hero-h { font-size: 2rem; }
}
@media (max-width: 640px) {
  :root { --section-pad: 56px; }
  .container { padding: 0 18px; }
  .hero, .hero-carousel { min-height: 0; padding: 80px 18px 60px; }
  .hero-carousel .carousel-slide { min-height: 0; padding: 70px 18px 54px; }
  .hero h1, .hero h2.hero-h, .carousel-slide h1, .carousel-slide h2.hero-h { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }
  .prod-hero { padding: 72px 0 48px; }
  .prod-hero h1 { font-size: 1.6rem; }
  .services-grid, .support-grid, .stats-grid, .grid-cols-2, .grid-cols-4 { grid-template-columns: 1fr; }
  .product-categories, .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-content { padding: 34px 18px; }
  .prod-list { padding: 34px 18px; }
  .qrw { right: 14px; bottom: 14px; gap: 8px; }
  .qrw-item { width: 46px; height: 46px; }
  .qrw-item svg { width: 22px; height: 22px; }
  .qrw-item::after { display: none; }
  .footer { padding: 44px 0 18px; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   18. FAQ — native <details>/<summary> variant
   ========================================================================== */
details.faq-item > summary {
  cursor: pointer; list-style: none; padding: 20px 22px; margin: 0;
  font-weight: 700; font-size: 1rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after {
  content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; transition: transform .25s;
}
details.faq-item[open] > summary::after { transform: rotate(45deg); }
details.faq-item[open] > summary { color: var(--blue); }
details.faq-item > .faq-a {
  max-height: none !important; overflow: visible; padding: 0 22px 20px;
  color: var(--muted); font-size: .95rem; line-height: 1.85;
}

/* ==========================================================================
   20. Interactive + responsive utility variants
   ========================================================================== */
.bg-white\/5 { background-color: rgba(255, 255, 255, .05); }
.bg-white\/20 { background-color: rgba(255, 255, 255, .2); }
.bg-black\/60 { background-color: rgba(0, 0, 0, .6); }
.bg-accent\/10 { background-color: rgba(245, 158, 11, .1); }
.bg-accent\/20 { background-color: rgba(245, 158, 11, .2); }
.bg-blue-500\/20 { background-color: rgba(59, 130, 246, .2); }
.bg-amber-500\/20 { background-color: rgba(245, 158, 11, .2); }
.bg-orange-500\/20 { background-color: rgba(249, 115, 22, .2); }
.bg-green-500\/20 { background-color: rgba(34, 197, 94, .2); }
.bg-teal-500\/20 { background-color: rgba(20, 184, 166, .2); }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, .2); }
.bg-indigo-500\/20 { background-color: rgba(99, 102, 241, .2); }
.bg-cyan-500\/20 { background-color: rgba(6, 182, 212, .2); }
.bg-sky-500\/20 { background-color: rgba(14, 165, 233, .2); }

.hover\:text-accent:hover { color: var(--accent); }
.hover\:text-white:hover { color: #fff; }
.hover\:text-green-300:hover { color: #86efac; }
.hover\:text-blue-300:hover { color: #93c5fd; }
.hover\:text-orange-300:hover { color: #fdba74; }
.hover\:text-teal-300:hover { color: #5eead4; }
.hover\:text-emerald-300:hover { color: #6ee7b7; }
.hover\:text-amber-300:hover { color: #fcd34d; }
.hover\:text-indigo-300:hover { color: #a5b4fc; }
.hover\:bg-gray-100:hover { background-color: var(--soft); }
.hover\:bg-gray-200:hover { background-color: var(--line); }
.hover\:bg-gray-800:hover { background-color: #1e293b; }
.hover\:bg-white\/30:hover { background-color: rgba(255, 255, 255, .3); }
.hover\:bg-accent\/90:hover { background-color: rgba(245, 158, 11, .9); }
.hover\:bg-blue-50:hover { background-color: #eff6ff; }
.hover\:bg-teal-50:hover { background-color: #f0fdfa; }
.hover\:bg-amber-50:hover { background-color: #fffbeb; }
.hover\:bg-emerald-50:hover { background-color: #ecfdf5; }
.hover\:bg-orange-50:hover { background-color: #fff7ed; }
.hover\:bg-indigo-50:hover { background-color: #eef2ff; }
.hover\:bg-green-50:hover { background-color: #f0fdf4; }
.hover\:shadow-lg:hover { box-shadow: var(--shadow-lg); }
.hover\:border-accent:hover { border-color: var(--accent); }
.hover\:border-blue-400:hover { border-color: #60a5fa; }
.hover\:border-green-400:hover { border-color: #4ade80; }
.hover\:border-purple-400:hover { border-color: #c084fc; }
.hover\:border-orange-400:hover { border-color: #fb923c; }
.hover\:border-teal-400:hover { border-color: #2dd4bf; }
.group:hover .group-hover\:underline { text-decoration: underline; }

@media (min-width: 640px) {
  .sm\:px-6 { padding-inline: 24px; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:py-16 { padding-block: 64px; }
  .md\:py-20 { padding-block: 80px; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* contact / utility pages on small screens */
@media (max-width: 1024px) {
  .inquiry-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .transport-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .contact-cards { grid-template-columns: 1fr; margin-top: 28px; }
  .transport-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .inquiry-card { padding: 22px 18px; }
  .carousel-slide { min-height: 0; padding: 56px 20px 52px; border-radius: var(--radius-lg); }
  .map-frame { height: 300px; }
}

/* ==========================================================================
   v2 refinement layer — runs last, unifies every component that the legacy
   utility block still re-declares (contact, hubs, category imagery, ...)
   ========================================================================== */

/* ---------- chrome bits kept from legacy ---------- */
.top-bar {
  background: var(--deep); color: #93a2c2; font-size: .8rem;
  padding: 9px 0; display: flex; align-items: center;
}
.top-bar a { color: #93a2c2; transition: color .2s; }
.top-bar a:hover { color: #fff; }
.lang-selector { display: flex; gap: 5px; }
.wide { letter-spacing: .16em; }
div[class*="border-l-4"] {
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  background: var(--brand-50);
}

/* ---------- FAQ: native details variant ---------- */
details.faq-item > summary {
  cursor: pointer; list-style: none; padding: 21px 24px; margin: 0;
  font-weight: 700; font-size: 1rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color .2s;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after {
  content: "+"; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600);
  font-size: 1.15rem; line-height: 1; font-weight: 600;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
details.faq-item[open] > summary { color: var(--brand-600); }
details.faq-item[open] > summary::after { transform: rotate(45deg); background: var(--brand-500); color: #fff; }
details.faq-item > .faq-a {
  max-height: none !important; overflow: visible; padding: 0 24px 22px;
  color: var(--muted); font-size: .95rem; line-height: 1.85;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 21px 24px; font-weight: 700;
  color: var(--ink); font-size: .98rem; position: relative; padding-inline-end: 60px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; inset-inline-end: 24px; top: 50%;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
  font-size: 1.15rem; line-height: 1; transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--brand-500); color: #fff; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item .faq-a { max-height: none; padding: 0 24px 20px; }
.faq-item .faq-a p { font-size: .92rem; color: var(--muted); line-height: 1.85; }

/* ---------- Contact page ---------- */
.contact-hero {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  padding: 104px 0 86px;
  background:
    radial-gradient(900px 460px at 50% -14%, rgba(63, 116, 244, .55), transparent 68%),
    radial-gradient(680px 420px at 88% 110%, rgba(15, 181, 165, .26), transparent 66%),
    linear-gradient(160deg, #05090f 0%, #0a1428 46%, #10265f 100%);
}
.contact-hero h1 { color: #fff; }
.contact-hero p { color: rgba(214, 226, 250, .82); }

.contact-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: -52px; position: relative; z-index: 5; padding-bottom: 10px;
}
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 22px; text-align: center; box-shadow: var(--shadow-md);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s;
}
.contact-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.contact-card .icon {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 17px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--brand-50), #e6f7f5);
  border: 1px solid var(--brand-100);
  font-size: 1.7rem; color: var(--brand-600);
  transition: transform .38s var(--ease), background .38s, box-shadow .38s;
}
.contact-card .icon svg { width: 27px; height: 27px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact-card:hover .icon {
  transform: translateY(-3px) scale(1.06);
  background: var(--gradient-brand); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(27, 75, 216, .75);
}
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: .92rem; }

.inquiry-section { padding: var(--section-pad) 0; background: var(--soft); margin-top: 60px; }
.inquiry-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.inquiry-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.inquiry-card h2, .inquiry-card h3 { margin-bottom: 18px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { color: var(--muted); font-size: .85rem; margin-top: 16px; line-height: 1.7; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius);
  background: #e8f7ee; color: #1a7f4b; font-size: .88rem; font-weight: 600;
  border: 1px solid #bfe8cf; }
.form-status.is-error { background: #fdecec; color: #b42323; border-color: #f3c1c1; }
.hp-field { display: none !important; }
.btn-submit {
  width: 100%; padding: 16px 34px; border: 0; border-radius: 999px;
  background: var(--gradient-brand); color: #fff; font: inherit; font-weight: 700;
  font-size: 1rem; cursor: pointer; letter-spacing: .01em;
  box-shadow: var(--shadow-brand);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(27, 75, 216, .65); }
.btn-submit:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }

.channels-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.channels-panel h3 { font-size: 1.05rem; margin-bottom: 20px; }
.channel-btn {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: .92rem;
  border: 1px solid var(--line); margin-bottom: 10px; transition: all .24s var(--ease);
}
.channel-btn:hover { border-color: var(--brand-200); color: var(--brand-700); background: var(--brand-50); transform: translateX(4px); }
.channel-btn[hidden] { display: none; }
.ci {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.ci svg { width: 17px; height: 17px; fill: #fff; }
.ci-wa { background: #25D366; }
.ci-wc { background: #07C160; }
.ci-sk { background: #00AFF0; }
.ci-mail { background: var(--brand-500); }
.ci-phone { background: var(--deep-2); }
.ci-vk { background: #0077FF; }
.channel-hours { color: var(--muted); font-size: .82rem; margin-top: 16px; line-height: 1.75; }

.transport-section { padding: var(--section-pad) 0 0; }
.transport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.transport-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
}
.transport-item h4 { font-size: 1rem; margin-bottom: 9px; }
.transport-item p { color: var(--muted); font-size: .875rem; }

.map-section { padding: var(--section-pad) 0; }
.map-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); background: #fff;
}
.map-frame { width: 100%; height: 420px; border: 0; display: block; filter: saturate(.95); }
.map-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; flex-wrap: wrap; border-top: 1px solid var(--line);
}
.map-addr { color: var(--muted); font-size: .9rem; }

/* ---------- hub pages: media / cert / steps ---------- */
.page-hero .badge {
  display: inline-block; padding: 7px 18px; border-radius: 999px; margin-bottom: 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  backdrop-filter: blur(10px);
}
.page-hero p { color: rgba(214, 226, 250, .82); line-height: 1.85; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.media-frame {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: var(--soft-2);
}
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.media-frame:hover img { transform: scale(1.06); }
.media-frame figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 52px 20px 18px;
  color: #fff; font-size: .88rem; font-weight: 700;
  background: linear-gradient(to top, rgba(6, 11, 22, .92), rgba(6, 11, 22, 0));
}

.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cert-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.cert-card h3 { font-size: .98rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.cert-card p { font-size: .84rem; color: var(--muted); line-height: 1.72; }

.step-flow {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding-top: 20px;
}
.step-flow li {
  position: relative; overflow: visible; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s;
}
.step-flow li:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.step-flow li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -18px; inset-inline-start: 22px; width: 38px; height: 38px;
  border-radius: 12px; background: var(--gradient-brand); color: #fff;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
  box-shadow: 0 12px 26px -12px rgba(27, 75, 216, .8);
}
.step-flow h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 8px 0 9px; }
.step-flow p { font-size: .85rem; color: var(--muted); line-height: 1.78; }

/* ---------- category imagery ---------- */
.cat-photo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; margin: -8px -8px 16px; background: var(--soft-2);
}
.cat-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.category-card:hover .cat-photo img { transform: scale(1.08); }
.cat-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 11, 22, .5), rgba(6, 11, 22, 0) 58%);
  transition: opacity .4s;
}
.category-card:hover .cat-photo::after { opacity: .75; }
.cat-emoji {
  position: absolute; z-index: 2; inset-block-start: 10px; inset-inline-start: 10px;
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; font-size: 1rem;
  background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}
.cat-emoji svg { width: 19px; height: 19px; stroke: var(--brand-600); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.prod-hero .container, .page-hero .container, .solution-hero .container, .contact-hero .container { position: relative; z-index: 2; }
.prod-hero::after, .page-hero::after, .solution-hero::after, .contact-hero::after { z-index: 1; }

/* ---------- responsive re-assertions ---------- */
@media (max-width: 1024px) {
  .inquiry-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .transport-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero h1, .hero h2.hero-h, .carousel-slide h1, .carousel-slide h2.hero-h { font-size: clamp(1.7rem, 5.4vw, 2.1rem); }
  .media-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
  .step-flow { grid-template-columns: 1fr 1fr; gap: 20px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero, .hero-carousel { min-height: 0; padding: 0; }
  .hero-carousel .carousel-slide { min-height: 0; padding: 96px 18px 130px; }
  .hero h1, .hero h2.hero-h, .carousel-slide h1, .carousel-slide h2.hero-h { font-size: 1.8rem; }
  .contact-cards { grid-template-columns: 1fr; margin-top: 30px; }
  .transport-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .inquiry-card { padding: 24px 18px; }
  .map-frame { height: 300px; }
  .step-flow { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr !important; }
}

/* ---------- inline line-icons (replaced every emoji) ---------- */
.ico {
  width: 1.15em; height: 1.15em; display: inline-block;
  vertical-align: -.18em; flex: 0 0 auto;
  stroke: currentColor; fill: none;
}
.category-icon { display: flex; align-items: center; justify-content: center; color: var(--brand-500); }
.category-icon .ico { width: 1em; height: 1em; vertical-align: 0; }
.service-num .ico { width: 1em; height: 1em; vertical-align: 0; }
.service-num { color: var(--brand-500); }
.b2-icon span { display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.b2-icon .ico { width: 26px; height: 26px; vertical-align: 0; }
.topbar-info .ico { width: 15px; height: 15px; vertical-align: -.16em; opacity: .9; }
.footer .ico { width: 1em; height: 1em; }
.card .ico, .service-card .ico { }

/* ==========================================================================
   23. home page blocks (v2)
   ========================================================================== */

/* ---- trust strip ---- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 48px 0; }
.trust-items { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 6px 4px; }
.trust-item h3 { font-size: .85rem; font-weight: 600; color: var(--ink-2); line-height: 1.5; letter-spacing: .01em; }
.trust-item .ico-wrap { margin: 0; }

/* ---- capability flow ---- */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flow-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 38px 22px 30px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s;
}
.flow-num {
  position: absolute; top: 15px; inset-inline-end: 19px;
  font-size: 1.5rem; font-weight: 900; line-height: 1; letter-spacing: -.03em;
  color: var(--brand-100); transition: color .35s;
}
.flow-card h3 { margin-top: 5px; font-size: .98rem; font-weight: 700; }
.flow-card::after {
  content: ""; position: absolute; top: 50%; inset-inline-end: -17px;
  width: 10px; height: 10px;
  border-top: 2px solid var(--brand-200); border-inline-end: 2px solid var(--brand-200);
  transform: translateY(-50%) rotate(45deg); transition: border-color .3s;
}
[dir="rtl"] .flow-card::after { transform: translateY(-50%) rotate(-45deg); }
.flow-card:last-child::after { content: none; }
.flow-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.flow-card:hover::after { border-color: var(--brand-400); }
.flow-card:hover .flow-num { color: var(--brand-200); }

/* ---- about capability cards ---- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 62px; }
.cap-card {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 26px; box-shadow: var(--shadow-sm);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s;
}
.cap-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: inline-start;
  transition: transform .45s var(--ease);
}
.cap-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-card:hover .ico-wrap {
  transform: translateY(-3px) scale(1.06);
  background: var(--gradient-brand); color: #fff; border-color: transparent;
  box-shadow: 0 12px 26px -12px rgba(27, 75, 216, .75);
}
.cap-card h3 { font-size: 1.03rem; font-weight: 700; margin-bottom: 9px; }
.cap-card p { font-size: .885rem; color: var(--muted); line-height: 1.78; }

/* ---- visit bar ---- */
.visit-bar {
  display: flex; gap: 20px; align-items: flex-start; margin-top: 30px;
  padding: 26px 30px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand-50), #eef8f7);
  border: 1px solid var(--brand-100);
}
.visit-bar .ico-wrap { margin: 0; background: #fff; }
.visit-bar b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 7px; }
.visit-bar p { color: var(--muted); font-size: .875rem; line-height: 1.82; }

/* ---- section cta / kicker variants / dark sections ---- */
.section-cta { text-align: center; margin-top: 48px; }
.kicker.left { text-align: start; }
.kicker.light { color: #8fb0ff; }
.section-title.light { color: #fff; }
.section-title.light::after { background: linear-gradient(90deg, #fff, rgba(255, 255, 255, .35)); }

.section.dark {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(760px 340px at 16% 12%, rgba(63, 116, 244, .36), transparent 66%),
    radial-gradient(720px 340px at 86% 88%, rgba(15, 181, 165, .22), transparent 68%),
    linear-gradient(140deg, #05090f 0%, #0a1730 52%, #10265f 100%);
}
.section.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(720px 340px at 50% 28%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(720px 340px at 50% 28%, #000, transparent 78%);
}
.section.dark > .container { position: relative; z-index: 2; }

.cert-grid.on-dark .cert-card {
  background: rgba(255, 255, 255, .055); border-color: rgba(255, 255, 255, .12);
  box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cert-grid.on-dark .cert-card h3 { color: #fff; }
.cert-grid.on-dark .cert-card p { color: rgba(198, 213, 240, .76); }
.cert-grid.on-dark .cert-card .ico-wrap { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .16); color: #9dbdff; }
.cert-grid.on-dark .cert-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); }
.cert-grid.on-dark .cert-card:hover .ico-wrap { background: var(--gradient-brand); border-color: transparent; color: #fff; }

/* ---- industry cards (home) ---- */
.solution-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.solution-card .solution-photo { border-radius: 0; margin-bottom: 0; aspect-ratio: 16 / 10; }
.solution-card-body { padding: 24px 24px 28px; }
.solution-card-body h3 { font-size: 1.06rem; margin-bottom: 9px; }
.solution-card-body p { color: var(--muted); font-size: .875rem; line-height: 1.78; margin-bottom: 15px; }
.solution-card:hover .solution-photo img { transform: scale(1.06); }
.solution-card .link-arrow { gap: 6px; }
.solution-card:hover .link-arrow { gap: 11px; }

/* ---- home category wall ---- */
.cat-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-wall .category-card { padding: 0; overflow: hidden; }
.cat-wall .cat-photo { margin: 0; border-radius: 0; aspect-ratio: 4 / 3; }
.cat-wall .category-card h3 { padding: 17px 16px; font-size: .94rem; text-align: center; transition: color .25s; }
.cat-wall .category-card:hover h3 { color: var(--brand-600); }

@media (max-width: 1100px) {
  .trust-items { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
  .flow-card::after { content: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .trust-strip { padding: 34px 0; }
  .trust-items { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .flow-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .cat-wall { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .visit-bar { flex-direction: column; padding: 22px; gap: 14px; }
  .section-cta { margin-top: 34px; }
}

/* ==========================================================================
   24. legacy tailwind pages — solutions / technical / news / services / video
   ========================================================================== */
.font-serif { font-family: var(--font-sans); font-weight: 800; letter-spacing: -.022em; }

/* lifted grey so the copy that used to sit on dark cards stays legible on white */
.text-gray-300 { color: #8b98ad; }
.text-gray-400 { color: #6f7c91; }
.text-gray-600 { color: var(--body); }

.legacy .band { position: relative; padding: 84px 0; }
.legacy .band-white { background: #fff; }
.legacy .band-soft { background: var(--soft); }
.legacy .band-soft::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(27, 75, 216, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 58%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 58%);
}
.legacy .band > .container, .legacy .band > div { position: relative; z-index: 2; }

.legacy .band-dark {
  color: rgba(210, 222, 248, .84);
  background:
    radial-gradient(760px 340px at 16% 12%, rgba(63, 116, 244, .34), transparent 66%),
    radial-gradient(720px 340px at 86% 88%, rgba(15, 181, 165, .2), transparent 68%),
    linear-gradient(140deg, #05090f 0%, #0a1730 52%, #10265f 100%);
}
.legacy .band-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(760px 340px at 50% 26%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(760px 340px at 50% 26%, #000, transparent 80%);
}
.legacy .band-dark :is(h1, h2, h3, h4, h5) { color: #fff; }
.legacy .band-dark :is(.text-gray-300, .text-gray-400, .text-gray-500, .text-gray-600) { color: rgba(206, 219, 246, .82); }
.legacy .band-dark .text-primary { color: #86a9ff; }
.legacy .band-dark .text-accent { color: #ffd28a; }
.legacy .band-dark [class*="bg-white/5"] {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.legacy .band-dark [class*="bg-gray-800"], .legacy .band-dark [class*="bg-gray-900"] {
  border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg);
}
.legacy .band-dark [class*="border-gray-8"] { border-color: rgba(255, 255, 255, .14); }
.legacy .band a[class*="bg-primary"], .legacy .band button[class*="bg-primary"] {
  border-radius: 999px !important; font-weight: 700;
}

/* hero chips inside the migrated pages */
.legacy .page-hero .hero-badge { margin-bottom: 20px; }
.legacy .page-hero :is(.text-gray-400, .text-gray-500, .text-gray-600) { color: rgba(206, 219, 246, .8); }
.legacy .page-hero a.text-gray-400:hover { color: #fff; }
.legacy .page-hero .text-primary { color: #c9dbff; }

/* tables */
.legacy table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.legacy table thead th {
  background: var(--deep-2); color: #fff; padding: 13px 15px;
  text-align: start; font-weight: 600; font-size: .82rem; letter-spacing: .02em;
}
.legacy table td { padding: 12px 15px; border-bottom: 1px solid var(--line); color: var(--body); vertical-align: top; line-height: 1.7; }
.legacy table tbody tr:nth-child(even) td { background: var(--soft); }
.legacy .band-dark table thead th { background: rgba(255, 255, 255, .1); }
.legacy .band-dark table td { border-color: rgba(255, 255, 255, .1); color: rgba(210, 222, 248, .86); }
.legacy .band-dark table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .035); }

/* misc legacy bits that need a light-surface correction */
.legacy .bg-gray-100 { background: var(--soft-2); }
.legacy [class*="rounded-xl"][class*="bg-white"] { border-radius: var(--radius-lg); }
.legacy .space-y-2 > * + * { margin-top: 10px; }
.legacy ul.space-y-2 li { line-height: 1.7; }

@media (max-width: 900px) {
  .legacy .band { padding: 62px 0; }
}
@media (max-width: 640px) {
  .legacy .band { padding: 52px 0; }
}

/* ==========================================================================
   25. final polish
   ========================================================================== */
.scroll-progress { background: linear-gradient(90deg, var(--brand-500), var(--teal)); height: 3px; }

/* category tiles on the products hub — tighter, image-forward */
.product-categories .category-card { padding: 12px 12px 18px; }
.product-categories .cat-photo { margin: 0 0 14px; border-radius: var(--radius); }
.product-categories .category-card h3 { font-size: .93rem; line-height: 1.5; }
.product-categories .category-card p { font-size: .76rem; }
.product-categories { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* hero eyebrow chip on inner pages already styled; keep page-hero copy tight */
.page-hero .hero-badge { margin-bottom: 20px; }
.prod-hero .container > .crumbs, .page-hero .container > .crumbs { margin-top: 20px; }

@media (max-width: 640px) {
  .product-categories { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .product-categories .category-card { padding: 8px 8px 14px; }
}

/* leftover hooks found by the class audit */
.split-band .txt { min-width: 0; }
.inquiry-form { display: block; }
.w-1\.5 { width: 6px; } .h-1\.5 { height: 6px; }

/* ---------- v20261013 compat: service-card accent ---------- */
.bg-amber-50 { background: #fffbeb !important; }
.text-amber-600 { color: #d97706 !important; }
.hover\:border-amber-400:hover { border-color: #fbbf24 !important; }

/* ==========================================================================
   视频中心（video/index.html）
   ========================================================================== */
.video-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 10px; }
.video-filter {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); font-size: 14px; font-family: var(--font-sans);
  cursor: pointer; transition: all .22s var(--ease);
}
.video-filter:hover { border-color: var(--accent); color: var(--blue); }
.video-filter.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.video-count { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.video-count b { color: var(--blue); font-weight: 700; }

.video-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; text-align: start;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  cursor: pointer; padding: 0; text-decoration: none; color: inherit;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--deep-2); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s var(--ease); }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-play span {
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.32); transition: transform .25s var(--ease), background .25s var(--ease);
}
.video-card:hover .video-play span { transform: scale(1.12); background: var(--accent); }
.video-play svg { width: 20px; height: 20px; fill: var(--blue); margin-inline-start: 3px; transition: fill .25s; }
.video-card:hover .video-play svg { fill: #fff; }
.video-dur {
  position: absolute; inset-inline-end: 10px; bottom: 10px; background: rgba(6,11,22,.78);
  color: #fff; font-size: 12px; padding: 2px 8px; border-radius: var(--radius-xs); letter-spacing: .5px;
}
.video-cat {
  position: absolute; inset-inline-start: 10px; top: 10px; background: rgba(245,165,36,.94);
  color: #1a1a1a; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-xs);
}
.video-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.video-info h3 { font-size: 16px; line-height: 1.5; color: var(--ink); font-weight: 600; }
.video-info p {
  font-size: 13px; color: var(--muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.video-meta .v-feat { color: #b8781a; font-weight: 600; }
.video-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; font-size: 14px; }

/* 播放弹层 */
.video-modal {
  position: fixed; inset: 0; background: rgba(6,11,22,.86); display: none;
  align-items: center; justify-content: center; z-index: 1200; padding: 20px;
}
.video-modal.open { display: flex; }
.video-modal-box {
  background: var(--deep-2); border-radius: var(--radius-lg); max-width: 980px; width: 100%;
  max-height: 92vh; overflow: hidden; position: relative; box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column;
}
.video-modal-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.video-modal-head .vmh-cat {
  font-size: 12px; letter-spacing: .08em; color: #8fa3b8; text-transform: uppercase;
}
.video-modal-close {
  flex: none; width: 36px; height: 36px; border: none;
  border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; line-height: 1;
  cursor: pointer; transition: background .2s;
}
.video-modal-close:hover { background: rgba(255,255,255,.3); }
/* 视频区自适应：视口不够高时压缩高度（内容 letterbox 居中），
   保证头部关闭栏、信息区、底部关闭按钮始终完整可见，弹层整体不滚动 */
.video-modal-box video {
  flex: 1 1 auto; min-height: 0; width: 100%; display: block;
  background: #000; aspect-ratio: 16 / 9; object-fit: contain;
}
.video-modal-foot { flex: none; padding: 0 26px 22px; text-align: center; }
.vmf-close-btn {
  display: inline-block; padding: 9px 34px; border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-sm); background: transparent; color: #dbe6f2;
  font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s;
}
.vmf-close-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.video-modal-note { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 56px 28px; text-align: center; color: #a9b8c9; font-size: 14px; line-height: 2; }
.video-modal-note .vn-btn { display: inline-block; margin-top: 14px; padding: 10px 26px; border-radius: var(--radius-sm); background: var(--accent); color: #1a1a1a; font-weight: 600; text-decoration: none; }
.video-modal-info { flex: 0 1 auto; min-height: 0; overflow: auto; padding: 20px 26px 26px; color: #e6edf5; }
.video-modal-info h3 { font-size: 18px; margin-bottom: 8px; color: #fff; line-height: 1.5; }
.video-modal-info p { font-size: 14px; line-height: 1.75; color: #a9b8c9; }
.video-modal-info .vmi-meta { margin-top: 12px; font-size: 12px; color: #7d8fa3; display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .video-filter { padding: 8px 15px; font-size: 13px; }
  .video-play span { width: 48px; height: 48px; }
}

/* 视频中心 · 后台入口 */
.video-admin-link {
  display: inline-block; margin-top: 20px; padding: 7px 20px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  color: rgba(255,255,255,.85); font-size: 13px; text-decoration: none;
  transition: all .22s var(--ease);
}
.video-admin-link:hover { border-color: var(--accent); color: #fff; background: rgba(245,165,36,.16); }

/* ==========================================================================
   按访客国家自动切换语言后的提示条（sticky，不遮挡导航与悬浮客服）
   ========================================================================== */
.qr-langbar {
  position: sticky; top: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px;
  padding: 9px 44px 9px 16px;
  background: #0d3b2a; color: #fff;
  font-size: 13.5px; line-height: 1.5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.qr-langbar-txt { opacity: .88; }
.qr-langbar-btn {
  padding: 4px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .38);
  background: transparent; color: #fff;
  font-family: inherit; font-size: 13px; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.qr-langbar-btn:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.qr-langbar-close {
  position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; line-height: 1;
  border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .7);
  font-size: 20px; cursor: pointer;
}
.qr-langbar-close:hover { background: rgba(255, 255, 255, .14); color: #fff; }
@media (max-width: 640px) {
  .qr-langbar { padding: 8px 40px 8px 12px; font-size: 12.5px; }
}

/* ---------- 键盘跳转链接（仅聚焦时可见，键盘用户可跳过导航直达 <main>） ---------- */
.skip-link {
  position: fixed; inset-inline-start: 12px; top: -64px; z-index: 9999;
  padding: 12px 20px; border-radius: 0 0 12px 12px;
  background: #fff; color: var(--deep);
  font-size: 14px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px rgba(6, 14, 34, .28);
  transition: top .18s var(--ease, ease);
}
.skip-link:focus, .skip-link:focus-visible {
  top: 0; outline: 3px solid var(--blue, #3b6ce8); outline-offset: 2px;
}
main:focus { outline: none; }

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

/* category intro paragraph */
.prod-list .cat-intro {
  max-width: 880px;
  margin: 0 0 34px;
  font-size: .95rem;
  line-height: 1.95;
  color: var(--body);
}
