﻿/* ==========================================================================
   EVersafe — design system preview
   Tokens verified from public.css / style.css of eversafetechnology.com
   brand #4bab49 · text #333/#666/#999 · bg #fff/#f8f8f8 · line #eee–#ccc
   Montserrat 300/400/500/600/700 + Microsoft YaHei fallback · radius 10px
   ========================================================================== */

@font-face { font-family: "Montserrat"; src: url("fonts/ML-Regular.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/MR-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/MM-Regular.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/MSB-Regular.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/MB-Regular.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --brand: #4bab49;
  --brand-deep: #26ab33;
  --brand-dark: #3f8f3d;
  --brand-ink: #1d3b1c;
  --tint: rgba(75, 171, 73, .10);
  --tint-2: rgba(75, 171, 73, .18);

  --ink: #333333;
  --ink-2: #666666;
  --ink-3: #999999;
  --ink-4: #b3b3b3;

  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --bg-mute: #f5f5f5;
  --line: #eeeeee;
  --line-2: #dddddd;
  --line-3: #cccccc;

  --dark: #101d18;
  --dark-2: #182b23;

  --r: 10px;
  --r-sm: 6px;
  --r-pill: 999px;

  --sh-1: 0 0 10px rgba(0, 0, 0, .07);
  --sh-2: 0 14px 34px rgba(20, 40, 30, .10);
  --sh-3: 0 22px 60px rgba(16, 29, 24, .18);

  --font: "Montserrat", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --ease: cubic-bezier(.215, .61, .355, 1);
  --wrap: 1200px;
  --nav-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--tint-2); color: var(--brand-ink); }

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

/* ---------- header ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(0, 0, 0, .05); }

.header-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 17px;
  letter-spacing: .02em;
  box-shadow: 0 6px 16px rgba(75, 171, 73, .28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn { font-size: 17px; font-weight: 600; letter-spacing: .04em; color: #222; }
.brand-en { font-size: 10px; font-weight: 600; letter-spacing: .18em; color: var(--ink-3); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > li { position: relative; }
.nav a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: var(--brand); background: var(--tint); }
.nav a.is-active { color: var(--brand); font-weight: 600; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.has-menu > a::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  opacity: .55;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 208px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-menu:hover .menu-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-panel a { padding: 9px 12px; font-size: 14px; border-radius: var(--r-sm); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.lang {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  color: var(--ink-3);
  padding: 7px 10px;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.lang:hover { color: var(--brand); background: var(--tint); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px rgba(75, 171, 73, .26); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(75, 171, 73, .30); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-3); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--tint); }
.btn-inverse { background: #fff; color: var(--brand-ink); }
.btn-inverse:hover { background: #f2f8f2; transform: translateY(-1px); }
.btn .arrow { transition: transform .22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  padding: 0;
  place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- hero --------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(75, 171, 73, .30), transparent 62%),
    linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 58%, #1b3a2c 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 80% at 30% 0%, #000 25%, transparent 78%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -160px; top: -120px;
  width: 620px; height: 620px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 50%;
  box-shadow: inset 0 0 0 120px rgba(75, 171, 73, .05);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 88px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brand); }

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: #8fd98d; }
.hero-lede {
  margin-top: 22px;
  max-width: 34em;
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .72);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn-ghost { color: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .28); }
.hero .btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); }

.hero-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  backdrop-filter: blur(6px);
  box-shadow: var(--sh-3);
}
.hero-panel h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 600; }
.hero-panel ul { margin-top: 18px; display: grid; gap: 2px; }
.hero-panel li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
  font-size: 14.5px;
  color: rgba(255, 255, 255, .86);
  transition: color .2s var(--ease);
}
.hero-panel li:first-child { border-top: 0; }
.hero-panel li span:last-child { margin-left: auto; font-size: 12px; color: rgba(255, 255, 255, .45); font-variant-numeric: tabular-nums; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(75, 171, 73, .18); flex: none; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stats div { padding: 26px 0 30px; }
.hero-stats div + div { padding-left: 34px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-stats b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.hero-stats b small { font-size: 15px; font-weight: 600; margin-left: 2px; color: #8fd98d; }
.hero-stats p { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .55); letter-spacing: .02em; }

/* ---------- section scaffolding ----------------------------------------- */

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.section-head .kicker {
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand);
}
.section-head h2 { margin-top: 12px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; }
.section-head .rule { width: 44px; height: 3px; background: var(--brand); border-radius: 3px; margin-top: 18px; }
.section-head p.lede { margin-top: 16px; max-width: 46em; color: var(--ink-2); font-size: 15.5px; }
.section-head .more { flex: none; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding-bottom: 2px; border-bottom: 1px solid var(--line-3);
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.link-more:hover { color: var(--brand); border-color: var(--brand); gap: 12px; }

/* ---------- product category cards -------------------------------------- */

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

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.cat-card::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .28s var(--ease);
}
.cat-card:hover { border-color: var(--line-2); box-shadow: var(--sh-2); transform: translateY(-4px); }
.cat-card:hover::after { transform: scaleY(1); }

.cat-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-soft);
  color: var(--brand);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cat-card:hover .cat-icon { background: var(--tint); }
.cat-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.4; }

.cat-card h3 { margin-top: 22px; font-size: 19px; font-weight: 600; }
.cat-card h3 small { display: block; margin-top: 5px; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; }
.cat-card p { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.cat-card .go {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.cat-card:hover .go { color: var(--brand); transform: translateX(2px); }

/* ---------- solutions ---------------------------------------------------- */

.solutions { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.solutions::before {
  content: "";
  position: absolute; left: 50%; top: -240px;
  width: 900px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(75, 171, 73, .16), transparent);
  pointer-events: none;
}
.solutions .wrap { position: relative; z-index: 2; }
.solutions .kicker { color: #8fd98d; }
.sol-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.sol-copy h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; margin-top: 12px; }
.sol-copy p { margin-top: 18px; color: rgba(255, 255, 255, .66); font-size: 15.5px; max-width: 30em; }
.sol-copy .btn { margin-top: 30px; }

.sol-list { display: grid; gap: 0; }
.sol-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  transition: padding-left .25s var(--ease);
}
.sol-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sol-item:hover { padding-left: 8px; }
.sol-item .num { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: rgba(255, 255, 255, .38); font-variant-numeric: tabular-nums; }
.sol-item h4 { font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, .95); }
.sol-item p { margin-top: 4px; font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.sol-item .chev { color: rgba(255, 255, 255, .35); transition: color .2s, transform .2s var(--ease); }
.sol-item:hover .chev { color: var(--brand); transform: translateX(4px); }

/* ---------- news --------------------------------------------------------- */

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.news-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.news-card:hover { box-shadow: var(--sh-2); transform: translateY(-4px); border-color: var(--line-2); }
.news-thumb { position: relative; aspect-ratio: 16 / 10; background: var(--bg-mute); overflow: hidden; }
.news-thumb svg, .news-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.news-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.news-body h3 { margin-top: 10px; font-size: 16.5px; line-height: 1.55; font-weight: 600; }
.news-body p { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.news-body .more_02 { margin-top: auto; padding-top: 18px; font-size: 13px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.news-card:hover .more_02 .arrow { transform: translateX(3px); }
.more_02 .arrow { transition: transform .2s var(--ease); }

/* ---------- CTA band ----------------------------------------------------- */

.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand) 55%, #6cc267 100%); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 54px 0; }
.cta-inner h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; }
.cta-inner p { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }

/* ---------- page hero (products) ---------------------------------------- */

.page-hero {
  position: relative;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(16, 29, 24, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 29, 24, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, #000, transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 2; padding: 48px 0 64px; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); }
.crumbs a:hover { color: var(--brand); }
.crumbs span.sep { opacity: .5; }
.page-hero h1 { margin-top: 26px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.02em; }
.page-hero .lede { margin-top: 16px; max-width: 46em; color: var(--ink-2); font-size: 15.5px; }
.page-hero .hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px;
  border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--ink-2); font-weight: 500;
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- filters ------------------------------------------------------ */

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.filter {
  height: 40px; padding: 0 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink-2);
  font-size: 13.5px; font-weight: 500;
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.is-on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(75, 171, 73, .24); }

/* ---------- product grid ------------------------------------------------- */

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 52px 0 96px; }
.prod-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.prod-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.prod-media svg { width: 100%; height: 100%; }
.prod-media .tag {
  position: absolute; left: 14px; top: 14px;
  height: 26px; padding: 0 10px;
  display: inline-flex; align-items: center;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--brand-dark);
}
.prod-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 17px; font-weight: 600; }
.prod-body h3 small { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.prod-body p { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.spec { margin-top: 18px; border-top: 1px dashed var(--line-2); }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 12.5px; }
.spec dt, .spec span:first-child { color: var(--ink-3); }
.spec span:last-child { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.prod-body .link-more { margin-top: 20px; align-self: flex-start; font-size: 13px; }

/* ---------- footer ------------------------------------------------------- */

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.footer-brand p { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; max-width: 26em; }
.footer-contact { margin-top: 22px; display: grid; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.footer-contact div { display: flex; align-items: center; gap: 9px; }
.footer-contact svg { width: 15px; height: 15px; stroke: var(--brand); fill: none; stroke-width: 1.5; flex: none; }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.footer-col ul { margin-top: 16px; display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--ink-2); transition: color .18s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--ink-3);
}
.footer-bottom .demo-note { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .demo-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- motion ------------------------------------------------------- */

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- responsive --------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 72px 0 64px; }
  .hero-panel { display: none; }
  .cat-grid, .prod-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  :root { --nav-h: 70px; }
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
  }
  .nav.is-open .menu-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .nav.is-open .has-menu:focus-within .menu-panel { display: block; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .cat-grid, .prod-grid, .news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats b { font-size: 24px; }
  .hero-stats div { padding: 20px 0; }
  .hero-stats div + div { padding-left: 20px; }
}
