/* ============================================================
   上海宝吉生物技术有限公司 · 视觉系统
   Technology navy / scientific blue
   ============================================================ */

:root {
  /* 主色：由近黑深蓝调整为通透的科技蓝，整体提亮一档 */
  --navy-950: #12456f;
  --navy-900: #16507e;
  --navy-800: #1a5a8c;
  --navy-700: #1f6699;
  --navy-600: #2472a6;
  --blue-700: #1462b4;
  --blue-600: #1d78cf;
  --blue-500: #2b8ce0;
  --blue-400: #4ea8f2;
  --cyan-500: #17aec2;
  --cyan-400: #1dbfd2;
  --cyan-300: #6cd9e8;
  --red-500: #e2231a;
  --ink-900: #0b1a2a;
  --ink-700: #1d3044;
  --ink-500: #4d6076;
  --ink-400: #6b7f93;
  --ink-300: #93a4b6;
  --line: #e2eaf3;
  --line-soft: #eef3f9;
  --bg: #ffffff;
  --bg-soft: #f6f9fd;
  --bg-mist: #eef5fc;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 26, 42, .05);
  --shadow-md: 0 12px 30px rgba(11, 26, 42, .08);
  --shadow-lg: 0 28px 60px rgba(7, 26, 44, .14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --container: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink-900); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: rgba(27, 127, 212, .18); }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

.ico { flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: all .28s var(--ease);
}
.btn .ico { transition: transform .28s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-primary { background: linear-gradient(120deg, var(--blue-600), var(--blue-500)); color: #fff; box-shadow: 0 10px 24px rgba(22, 104, 179, .26); }
.btn-primary:hover { background: linear-gradient(120deg, var(--blue-500), var(--blue-400)); box-shadow: 0 14px 30px rgba(22, 104, 179, .34); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.btn-outline { border-color: var(--line); color: var(--ink-900); background: #fff; }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 16px;
}
.kicker i { width: 22px; height: 2px; background: currentColor; display: block; }
.kicker.light { color: var(--cyan-300); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--blue-600); }
.link-arrow .ico { transition: transform .28s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------- Topbar / Header ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .66); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-left { display: flex; align-items: center; gap: 26px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.lang-link { color: rgba(255, 255, 255, .55); font-size: 12.5px; }
.lang-link.is-active, .lang-link:hover { color: #fff; }
.lang-sep { color: rgba(255, 255, 255, .25); }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 26px rgba(11, 26, 42, .07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 26px; }
.brand img { height: 44px; width: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 0 15px; line-height: 82px; white-space: nowrap;
  font-size: 15.5px; font-weight: 500; color: var(--ink-900); position: relative;
}
html[lang="en"] .nav-item > a { padding: 0 11px; font-size: 14.5px; }
.nav-item > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 24px; height: 2px;
  background: var(--blue-500); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav-item:hover > a, .nav-item.is-active > a { color: var(--blue-600); }
.nav-item:hover > a::after, .nav-item.is-active > a::after { transform: scaleX(1); }

.nav-caret { position: absolute; right: 4px; top: 50%; width: 5px; height: 5px; border-right: 1.4px solid var(--ink-400); border-bottom: 1.4px solid var(--ink-400); transform: translateY(-50%) rotate(45deg); opacity: .5; }

.nav-dropdown {
  position: absolute; top: calc(100% - 8px); left: 50%; transform: translate(-50%, 10px);
  min-width: 300px; background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 12px; opacity: 0; visibility: hidden; transition: all .26s var(--ease);
}
.nav-dropdown.is-wide { min-width: 560px; }
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-lead { font-size: 12.5px; color: var(--ink-400); padding: 6px 12px 10px; border-bottom: 1px dashed var(--line); margin-bottom: 8px; }
.dropdown-list { display: grid; grid-template-columns: 1fr; gap: 2px; }
.is-wide .dropdown-list { grid-template-columns: 1fr 1fr; }
.dropdown-list a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); }
.dropdown-list a:hover { background: var(--bg-soft); }
.dd-name { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink-900); }
.dropdown-list a:hover .dd-name { color: var(--blue-600); }
.dd-desc { display: block; font-size: 12px; color: var(--ink-400); margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-700);
  transition: all .25s var(--ease);
}
.icon-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.menu-toggle { display: none; width: 40px; height: 40px; background: none; border: 0; padding: 10px; }
.menu-toggle span { display: block; height: 1.8px; background: var(--ink-900); margin: 4px 0; transition: all .3s var(--ease); }
.mobile-extra { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(ellipse 90% 80% at 72% 6%, #2472a6 0%, transparent 64%), linear-gradient(168deg, #16507e 0%, #12456f 60%, #12456f 100%); color: #fff; overflow: hidden; padding: 84px 0 96px; }
.hero-bg { position: absolute; inset: 0; }
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .22; filter: saturate(.75);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 10%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 10%, transparent 82%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120, 190, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 190, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 78%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb-1 { width: 520px; height: 520px; background: #125a9c; top: -160px; left: -80px; }
.orb-2 { width: 460px; height: 460px; background: #0d7f92; bottom: -200px; right: 4%; opacity: .35; }
.orb-3 { width: 300px; height: 300px; background: #1b7fd4; top: 30%; right: 28%; opacity: .22; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(to top, rgba(18, 69, 111, .72), transparent);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-copy h1 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.12; color: #fff; letter-spacing: -.025em; font-weight: 600; }
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #5fd0ff, #16b8c9 60%, #7ce3c8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 24px; font-size: 16.5px; line-height: 1.85; color: rgba(226, 240, 252, .72); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: rgba(226, 240, 252, .6); }
.hero-points .ico { color: var(--cyan-400); }

.hero-visual { position: relative; height: 470px; }
.molecule-card {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 45%, rgba(27, 127, 212, .22), rgba(7, 26, 44, .05) 62%, transparent 70%);
}
.molecule { width: 100%; max-width: 460px; height: auto; animation: floaty 9s ease-in-out infinite; }
.mol-nodes circle:first-child { animation: pulse 4.5s ease-in-out infinite; transform-origin: 230px 230px; }
.molecule-caption {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(200, 230, 255, .55); white-space: nowrap;
}
.molecule-caption strong { color: var(--cyan-300); font-weight: 600; }
.float-card {
  position: absolute; padding: 14px 18px; border-radius: var(--radius);
  background: rgba(12, 36, 60, .72); border: 1px solid rgba(120, 190, 255, .18);
  backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(2, 12, 24, .35);
  animation: floaty 7s ease-in-out infinite;
}
.float-a { top: 8%; left: -2%; animation-delay: -1.4s; }
.float-b { bottom: 12%; right: -2%; animation-delay: -3.2s; }
.float-label { display: block; font-size: 11.5px; color: rgba(200, 230, 255, .55); letter-spacing: .04em; }
.float-card strong { font-size: 24px; color: #fff; font-weight: 600; letter-spacing: -.02em; }
.float-card small { font-size: 12px; color: var(--cyan-300); font-weight: 500; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.06); opacity: 1; } }

/* ---------- Stat bar ---------- */
.statbar { background: linear-gradient(90deg, var(--navy-950), var(--navy-700) 45%, var(--navy-950)); border-top: 1px solid rgba(120, 190, 255, .1); }
.statbar-inner { display: flex; align-items: center; padding: 34px 0; }
.stat { flex: 1; text-align: center; }
.stat-num { font-size: 38px; font-weight: 600; color: #fff; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num em { font-style: normal; font-size: 20px; color: var(--cyan-300); margin-left: 3px; }
.stat-label { margin-top: 9px; font-size: 13px; color: rgba(200, 225, 245, .55); letter-spacing: .02em; }
.stat-divider { width: 1px; height: 40px; background: rgba(120, 190, 255, .14); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.02em; }
.section-head p { margin-top: 16px; font-size: 16px; color: var(--ink-500); line-height: 1.8; }
.section-head.with-link { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: none; }
.section-head.compact { margin-bottom: 28px; }
.section-head.compact h2 { font-size: clamp(22px, 2vw, 28px); }
.section-head.compact.with-link { display: flex; align-items: flex-end; justify-content: space-between; }

/* ---------- Services ---------- */
.section-services { background: var(--bg); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; padding: 30px 28px 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: all .35s var(--ease); overflow: hidden; cursor: pointer;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service-card:hover { border-color: rgba(27, 127, 212, .35); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #eef6ff, #e3f1fd); color: var(--blue-600);
  border: 1px solid rgba(27, 127, 212, .12);
}
.service-count { font-size: 12px; color: var(--ink-400); font-variant-numeric: tabular-nums; }
.service-count small { font-size: 11px; }
.service-card h3 { font-size: 19px; margin-bottom: 8px; }
/* 整卡可点：标题链接的点击区扩到整张卡片（含图标、留白、右下箭头） */
.service-card h3 a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; }
/* 子项与「了解更多」压在覆盖层之上，保持各自可点 */
.service-card .service-list a,
.service-card .link-arrow { position: relative; z-index: 2; }
.service-card h3 a:hover,
.service-card:hover h3 a { color: var(--blue-600); }
/* 键盘 Tab 到标题时，焦点框跟随整卡范围 */
.service-card h3 a:focus-visible { outline: none; }
.service-card h3 a:focus-visible::after {
  outline: 2px solid var(--blue-500); outline-offset: -2px; border-radius: var(--radius-lg);
}
.service-desc { font-size: 13.5px; color: var(--ink-500); line-height: 1.7; min-height: 44px; }
.service-list { margin: 18px 0 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.service-list li { font-size: 13.5px; color: var(--ink-500); padding: 4px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-list li::before { content: "·"; color: var(--cyan-500); margin-right: 8px; font-weight: 700; }
.service-list a:hover { color: var(--blue-600); }

/* ---------- Why ---------- */
.section-why { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.why-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 12% 20%, rgba(27, 127, 212, .3), transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(18, 169, 189, .22), transparent 60%),
    linear-gradient(rgba(120, 190, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 255, .05) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}
.why-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.why-head h2 { font-size: clamp(28px, 2.6vw, 38px); color: #fff; }
.why-head > p { max-width: 420px; font-size: 15px; color: rgba(220, 238, 252, .6); line-height: 1.8; }
.why-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card {
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(120, 190, 255, .14);
  transition: all .35s var(--ease);
}
.why-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(120, 190, 255, .34); transform: translateY(-4px); }
.why-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(27, 127, 212, .18); color: var(--cyan-300); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.why-card h3 { font-size: 17px; color: #fff; margin-bottom: 10px; }
.why-card p { font-size: 13.5px; line-height: 1.78; color: rgba(214, 234, 250, .62); }

/* ---------- Flow ---------- */
.section-flow { background: var(--bg-soft); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow::before {
  content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.flow-step { position: relative; padding: 0 26px; text-align: center; }
.flow-num {
  width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 16px rgba(11, 26, 42, .06); position: relative; z-index: 1;
  transition: all .3s var(--ease);
}
.flow-step:hover .flow-num { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.flow-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.flow-step p { font-size: 13.5px; color: var(--ink-500); line-height: 1.7; }

/* ---------- Solutions ---------- */
.solution-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.solution-item {
  display: flex; gap: 20px; align-items: flex-start; padding: 26px 26px 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  transition: all .32s var(--ease);
}
.solution-item:hover { border-color: rgba(27, 127, 212, .35); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.solution-idx { font-size: 13px; font-weight: 600; color: var(--cyan-500); font-variant-numeric: tabular-nums; padding-top: 3px; letter-spacing: .06em; }
.solution-body h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.45; }
.solution-item:hover .solution-body h3 { color: var(--blue-600); }
.solution-body p { font-size: 13.5px; color: var(--ink-500); line-height: 1.7; }
.solution-arrow { margin-left: auto; color: var(--ink-300); transition: all .3s var(--ease); }
.solution-item:hover .solution-arrow { color: var(--blue-600); transform: translateX(4px); }

/* ---------- Products ---------- */
.section-products { background: var(--bg-soft); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: productcard; }
.product-card {
  position: relative; counter-increment: productcard;
  background: #fff; border: 1px solid rgba(16, 52, 84, .09); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(11, 38, 66, .04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 4;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); opacity: .78;
}
.product-card::after {
  content: counter(productcard, decimal-leading-zero);
  position: absolute; top: 12px; right: 15px; z-index: 3;
  font: 600 24px/1 Inter, "Helvetica Neue", Arial, sans-serif;
  color: rgba(22, 104, 179, .15); pointer-events: none;
}
.product-card:hover { border-color: rgba(27, 127, 212, .28); box-shadow: 0 18px 40px rgba(11, 38, 66, .12); transform: translateY(-6px); }
.product-media {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 142px; overflow: hidden;
  background: radial-gradient(circle at 76% 18%, rgba(46, 155, 230, .16), transparent 58%),
              linear-gradient(135deg, #f6fafe 0%, #eaf3fb 100%);
}
.product-media::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(22, 104, 179, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(22, 104, 179, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 96%);
}
.product-media img {
  position: relative; z-index: 2;
  width: auto; height: auto; max-width: 60%; max-height: 94px;
  object-fit: contain;
  padding: 8px; border-radius: 10px;
  background: #fff; border: 1px solid rgba(16, 52, 84, .07);
  box-shadow: 0 8px 20px rgba(11, 38, 66, .09);
  transition: transform .5s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover .product-media img { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 28px rgba(11, 38, 66, .14); }
.product-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--blue-400); }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { text-wrap: balance; font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-body p { font-size: 13px; color: var(--ink-400); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-more { display: flex; width: 100%; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); align-items: center; gap: 6px; font-size: 13px; color: var(--blue-600); font-weight: 500; }

/* ---------- Partners ---------- */
.partners { padding: 64px 0 72px; border-top: 1px solid var(--line-soft); background: #fff; }
.partners-head { text-align: center; margin-bottom: 34px; }
.partners-head h2 { font-size: 22px; }
.partners-head p { margin-top: 10px; font-size: 14px; color: var(--ink-400); }
.partner-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partner-track { display: flex; gap: 14px; width: max-content; animation: marquee 46s linear infinite; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-chip {
  padding: 14px 26px; border: 1px solid var(--line); border-radius: 40px;
  font-size: 14.5px; color: var(--ink-500); white-space: nowrap; background: #fff;
  transition: all .28s var(--ease);
}
.partner-chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta-band { position: relative; background: var(--navy-900); color: #fff; padding: 72px 0; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 85% 20%, rgba(18, 169, 189, .32), transparent 60%),
              radial-gradient(ellipse 50% 80% at 10% 90%, rgba(27, 127, 212, .3), transparent 62%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(26px, 2.4vw, 34px); color: #fff; }
.cta-inner p { margin-top: 12px; font-size: 15px; color: rgba(216, 236, 252, .65); max-width: 620px; }
.cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-phone { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 17px; font-weight: 500; letter-spacing: .01em; }
.cta-phone .ico { color: var(--cyan-300); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: rgba(222, 238, 252, .76); padding: 72px 0 0; overflow: hidden; }
.footer-glow { position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 900px; height: 400px; background: radial-gradient(ellipse, rgba(27, 127, 212, .18), transparent 70%); }
.footer-main { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr .8fr; gap: 44px; padding-bottom: 56px; }
.footer-logo img { height: 40px; width: auto; opacity: .95; }
.footer-desc { margin-top: 20px; font-size: 13px; line-height: 1.85; color: rgba(206, 226, 245, .72); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-badges span { padding: 5px 10px; border: 1px solid rgba(120, 190, 255, .16); border-radius: 3px; font-size: 11.5px; color: rgba(206, 226, 245, .74); }
.footer-col h4 { font-size: 14px; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13.5px; color: rgba(196, 218, 238, .58); }
.footer-col ul a:hover { color: #fff; }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin-bottom: 12px; color: rgba(196, 218, 238, .58); line-height: 1.6; }
.footer-contact .ico { color: var(--cyan-400); margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.qr-box { text-align: center; }
.qr-box img { width: 108px; height: 108px; object-fit: cover; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .12); background: #fff; padding: 4px; }
.qr-box span { display: block; margin-top: 10px; font-size: 11.5px; color: rgba(196, 218, 238, .5); }
.footer-bottom { position: relative; border-top: 1px solid rgba(120, 190, 255, .1); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12.5px; color: rgba(180, 206, 228, .45); }
.footer-meta { display: flex; align-items: center; gap: 10px; }
.footer-meta a:hover { color: #fff; }
.footer-meta .dot { opacity: .4; }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(4, 16, 29, .72);
  backdrop-filter: blur(8px); display: flex; align-items: flex-start; justify-content: center;
  padding-top: 16vh; opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-panel { width: min(680px, calc(100% - 40px)); background: #fff; border-radius: var(--radius-lg); padding: 40px; position: relative; transform: translateY(-14px); transition: transform .3s var(--ease); }
.search-overlay.is-open .search-panel { transform: translateY(0); }
.search-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 18px; color: var(--ink-400); }
.search-kicker { font-size: 11.5px; letter-spacing: .16em; color: var(--ink-400); text-transform: uppercase; margin-bottom: 14px; }
.search-panel form { display: flex; gap: 10px; }
.search-panel input { flex: 1; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; outline: none; }
.search-panel input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(27, 127, 212, .12); }
.search-hints { margin-top: 18px; font-size: 13px; color: var(--ink-400); display: flex; gap: 12px; flex-wrap: wrap; }
.search-hints a { color: var(--blue-600); }

/* ---------- Back top ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink-700); font-size: 16px;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all .3s var(--ease); z-index: 80;
}
.back-top.is-visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- News resource card ---------- */
.news-resource {
  display: block; margin-top: 26px; padding: 24px 26px;
  border-radius: var(--radius-lg); border: 1px solid rgba(27, 127, 212, .18);
  background: linear-gradient(140deg, #f2f8ff, #e9f4fb);
  transition: all .3s var(--ease);
}
.news-resource:hover { border-color: rgba(27, 127, 212, .42); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.nr-kicker { font-size: 10.5px; letter-spacing: .16em; color: var(--blue-600); text-transform: uppercase; }
.news-resource h3 { font-size: 17px; margin: 8px 0 8px; line-height: 1.5; }
.news-resource p { font-size: 13.5px; color: var(--ink-500); line-height: 1.7; }
.nr-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; color: var(--blue-600); font-weight: 500; }
.news-resource:hover .nr-more .ico { transform: translateX(4px); }
.nr-more .ico { transition: transform .3s var(--ease); }
