/* =========================================================
   上海瑞亿仪器有限公司 — 首页 UI 重构原型
   设计基调：沉稳科技蓝 / 大留白 / 细线分隔 / 无花哨装饰
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --navy-900: #0A1F33;
  --navy-800: #0E2C48;
  --navy-700: #123A5E;
  --blue-700: #11538F;
  --blue-600: #1668B0;
  --blue-500: #2A82CC;
  --blue-100: #E7F0F9;
  --blue-50: #F4F8FC;

  --ink: #101E2C;
  --ink-2: #3B4B5C;
  --muted: #6C7C8C;
  --line: #E5EBF2;
  --line-strong: #D3DDE8;
  --white: #FFFFFF;
  --bg-soft: #F7F9FC;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-xs: 0 1px 2px rgba(16, 30, 44, .05);
  --shadow-sm: 0 2px 6px rgba(16, 30, 44, .05), 0 12px 28px -18px rgba(10, 31, 51, .22);
  --shadow-md: 0 30px 70px -34px rgba(10, 31, 51, .35);

  --max: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--blue-100); color: var(--navy-900); }

/* ---------- Layout Helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 104px; }
.section--tight { padding-block: 76px; }
.section--soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.28;
  letter-spacing: -.01em;
  font-weight: 600;
  color: var(--navy-900);
}
.section-head p {
  margin-top: 14px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15.5px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-bottom: 4px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy-800);
  border-bottom: 1px solid var(--line-strong);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.link-more svg { transition: transform .25s var(--ease); }
.link-more:hover { color: var(--blue-600); border-color: var(--blue-500); }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding-inline: 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .22s var(--ease), background .22s var(--ease),
              box-shadow .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.btn--primary {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(17, 83, 143, .85);
}
.btn--primary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -16px rgba(10, 31, 51, .55);
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--navy-800);
  background: #fff;
}
.btn--ghost:hover {
  border-color: var(--navy-800);
  transform: translateY(-2px);
}
.btn--onDark {
  background: #fff;
  color: var(--navy-900);
}
.btn--onDark:hover { background: var(--blue-100); transform: translateY(-2px); }
.btn--outlineDark {
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
}
.btn--outlineDark:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Utility Bar ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 40px;
}
.topbar__meta { display: flex; align-items: center; gap: 26px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { opacity: .6; }
.topbar__item strong {
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
}
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__links a { transition: color .2s var(--ease); }
.topbar__links a:hover { color: #fff; }
.topbar__links span { opacity: .25; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(10, 31, 51, .5); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 76px;
  transition: height .3s var(--ease);
}
.header.is-stuck .header__inner { height: 66px; }

/* Logo */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.logo__mark { flex: 0 0 auto; }
.logo__img { display: block; height: 30px; width: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__en {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy-800);
}
.logo__cn {
  font-size: 10.5px;
  letter-spacing: .13em;
  color: var(--navy-800);
  white-space: nowrap;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative;
  padding: 10px 13px;
  font-size: 14.5px;
  color: var(--ink-2);
  white-space: nowrap;
  border-radius: 6px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav__link:hover { color: var(--navy-900); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--navy-900); font-weight: 500; }
.nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--blue-50); color: var(--blue-700); }

.header__cta { height: 42px; padding-inline: 20px; font-size: 14px; }

.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: 92px 104px;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 78% -10%, #EAF2FA 0%, rgba(234, 242, 250, 0) 70%),
    linear-gradient(180deg, #FBFCFE 0%, #FFFFFF 62%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 72px;
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: -.022em;
  font-weight: 600;
  color: var(--navy-900);
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-700);
}
.hero__desc {
  margin-top: 24px;
  max-width: 520px;
  font-size: 16.5px;
  color: var(--muted);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__fact { padding-right: 40px; margin-right: 40px; border-right: 1px solid var(--line); }
.hero__fact:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__fact dt {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
  letter-spacing: -.01em;
}
.hero__fact dd {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Hero visual */
.hero__visual {
  position: relative;
}
.hero__panel {
  position: relative;
  aspect-ratio: 1 / .92;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--blue-700) 62%, #1B6CA8 100%);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 20% 10%, #000 25%, transparent 78%);
}
.hero__panel::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  bottom: -180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 0 0 46px rgba(255, 255, 255, .045), 0 0 0 92px rgba(255, 255, 255, .03);
}
.hero__watermark {
  position: absolute;
  right: -42px;
  top: 44%;
  width: 290px;
  height: 290px;
  transform: translateY(-58%);
  opacity: .07;
  z-index: 1;
  pointer-events: none;
}
.hero__watermark svg { width: 100%; height: 100%; }

.hero__panelLabel {
  position: absolute;
  top: 26px;
  left: 28px;
  z-index: 2;
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}
.hero__panelLabel strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: #fff;
}

.hero__card {
  position: absolute;
  inset: auto 34px 34px 34px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .97);
  border-radius: 16px;
  box-shadow: 0 24px 50px -26px rgba(4, 18, 32, .8);
  z-index: 3;
}
.hero__card img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--blue-50);
  padding: 6px;
}
.hero__cardMeta { min-width: 0; }
.hero__cardMeta span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.hero__cardMeta h3 {
  margin-top: 5px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero__badge {
  position: absolute;
  top: 26px;
  right: -18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  z-index: 4;
}
.hero__badge b {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
}
.hero__badge span { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.hero__badge i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-style: normal;
}

/* ---------- Brand Strip ---------- */
.brands {
  padding-block: 34px;
  border-block: 1px solid var(--line);
  background: #fff;
}
.brands__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.brands__label {
  flex: 0 0 auto;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
}
.brands__list {
  display: flex;
  align-items: center;
  gap: 12px 34px;
  flex-wrap: wrap;
}
.brands__list li {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #9AA9B7;
  transition: color .25s var(--ease);
}
.brands__list li:hover { color: var(--navy-800); }

/* ---------- Category Grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 26px 26px;
  background: #fff;
  transition: background .28s var(--ease);
}
.cat:hover { background: var(--blue-50); }
.cat__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--blue-50);
  color: var(--blue-700);
  transition: background .28s var(--ease), color .28s var(--ease), transform .28s var(--ease);
}
.cat:hover .cat__icon {
  background: var(--blue-700);
  color: #fff;
  transform: translateY(-2px);
}
.cat h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: -.005em;
}
.cat p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.cat__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color .28s var(--ease);
}
.cat__arrow svg { transition: transform .28s var(--ease); }
.cat:hover .cat__arrow { color: var(--blue-700); }
.cat:hover .cat__arrow svg { transform: translateX(3px); }
.cat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blue-600);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .32s var(--ease);
}
.cat:hover::before { transform: scaleY(1); }

/* ---------- Products ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.prod {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.prod:hover {
  border-color: #CBD9E6;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.prod__thumb {
  position: relative;
  aspect-ratio: 1 / .82;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.prod__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  mix-blend-mode: multiply;
  transition: transform .45s var(--ease);
}
.prod:hover .prod__thumb img { transform: scale(1.05); }
.prod__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--blue-700);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--blue-100);
  border-radius: 5px;
}
.prod__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 22px;
  flex: 1;
}
.prod__brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.prod__title {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--navy-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}
.prod__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.prod__foot em {
  font-style: normal;
  color: var(--blue-700);
  font-weight: 500;
}
.prod__more { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.svc {
  padding: 34px 30px 30px;
  border-left: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.svc:first-child { border-left: 0; padding-left: 0; }
.svc:hover { background: rgba(244, 248, 252, .7); }
.svc__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--blue-500);
}
.svc h3 {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-900);
}
.svc p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- News + About ---------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 64px;
}
.news__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.news__tab {
  padding: 7px 16px;
  font-size: 13.5px;
  color: var(--muted);
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all .22s var(--ease);
}
.news__tab:hover { color: var(--navy-800); border-color: var(--line-strong); }
.news__tab.is-active {
  color: #fff;
  background: var(--navy-800);
}
.news-list { border-top: 1px solid var(--line); margin-top: 18px; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 19px 4px;
  transition: padding-left .28s var(--ease), background .28s var(--ease);
}
.news-item:hover { padding-left: 12px; background: var(--blue-50); }
.news-item__title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .22s var(--ease);
}
.news-item:hover .news-item__title { color: var(--blue-700); }
.news-item__cat {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--muted);
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.news-item__go { flex: 0 0 auto; color: var(--line-strong); transition: color .22s var(--ease), transform .22s var(--ease); }
.news-item:hover .news-item__go { color: var(--blue-600); transform: translateX(3px); }

.about-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 36px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 58%, var(--blue-700) 100%);
  color: rgba(255, 255, 255, .74);
  overflow: hidden;
}
.about-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 34px rgba(255, 255, 255, .04);
}
.about-card .eyebrow { color: rgba(255, 255, 255, .6); }
.about-card h2 {
  margin-top: 16px;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
}
.about-card p {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.about-card__list {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.about-card__list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .82);
}
.about-card__list svg { flex: 0 0 auto; margin-top: 4px; color: var(--blue-500); }
.about-card .btn {
  align-self: flex-start;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.about-card__list { margin-bottom: 34px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 88% 0%, rgba(42, 130, 204, .34), transparent 68%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 56px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .3));
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 64px;
  padding-block: 84px;
}
.cta h2 {
  margin-top: 16px;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.01em;
}
.cta p {
  margin-top: 16px;
  max-width: 460px;
  color: rgba(255, 255, 255, .66);
  font-size: 15.5px;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta__box {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
}
.cta__row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 24px;
  background: rgba(10, 31, 51, .55);
  backdrop-filter: blur(2px);
}
.cta__row span {
  flex: 0 0 84px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
}
.cta__row b {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
}
.cta__row small { color: rgba(255, 255, 255, .45); font-size: 12px; }

/* ---------- Footer ---------- */
.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding-block: 64px 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 52px;
}
.footer__brand p {
  margin-top: 20px;
  max-width: 300px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all .22s var(--ease);
}
.footer__social a:hover { color: #fff; background: var(--blue-700); border-color: var(--blue-700); }
.footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.footer__links { margin-top: 20px; display: grid; gap: 12px; }
.footer__links a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer__links a:hover { color: var(--blue-700); padding-left: 4px; }
.footer__contact { margin-top: 20px; display: grid; gap: 13px; font-size: 13.5px; color: var(--muted); }
.footer__contact div { display: flex; gap: 10px; }
.footer__contact svg { flex: 0 0 auto; margin-top: 4px; color: var(--blue-600); }
.footer__contact b { color: var(--ink-2); font-weight: 500; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.footer__bottom a { transition: color .2s var(--ease); }
.footer__bottom a:hover { color: var(--blue-700); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .06s; }
.d2 { transition-delay: .12s; }
.d3 { transition-delay: .18s; }
.d4 { transition-delay: .24s; }

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 0 0 auto 0;
  top: 0;
  z-index: 90;
  background: #fff;
  padding: 22px var(--gutter) 30px;
  transform: translateY(-102%);
  transition: transform .38s var(--ease);
  box-shadow: 0 24px 60px -30px rgba(10, 31, 51, .5);
}
.mobile-nav.is-open { transform: none; }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.mobile-nav__list { display: grid; }
.mobile-nav__list a {
  padding: 15px 2px;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { width: 100%; margin-top: 24px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1120px) {
  .nav__link { padding: 10px 9px; font-size: 14px; }
  .header__cta { display: none; }
  .logo__img { height: 28px; }
  .hero__grid { gap: 48px; }
}

@media (max-width: 980px) {
  .section { padding-block: 76px; }
  .nav, .topbar__links { display: none; }
  .burger { display: inline-grid; }
  .header__inner { height: 66px; }
  .logo__img { height: 30px; }
  .hero { padding-block: 60px 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 520px; }
  .hero__panel { aspect-ratio: 1 / .78; }
  .hero__badge { right: 12px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc { padding: 30px 24px; }
  .svc:nth-child(odd) { border-left: 0; padding-left: 0; }
  .svc:nth-child(n+3) { border-top: 1px solid var(--line); }
  .duo { grid-template-columns: 1fr; gap: 56px; }
  .cta__inner { grid-template-columns: 1fr; gap: 40px; padding-block: 64px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .section { padding-block: 60px; }
  .topbar { display: none; }
  .logo__img { height: 26px; }
  .logo__cn { font-size: 10px; letter-spacing: .08em; }
  .hero__facts { gap: 20px 0; }
  .hero__fact { padding-right: 22px; margin-right: 22px; }
  .hero__fact dt { font-size: 21px; }
  .hero__card { inset: auto 16px 16px 16px; padding: 12px; gap: 12px; }
  .hero__card img { width: 58px; height: 58px; }
  .hero__badge { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat { padding: 22px 20px; gap: 12px; }
  .cat__icon { width: 38px; height: 38px; border-radius: 9px; }
  .cat p { font-size: 13px; }
  .prod-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { padding-left: 0 !important; border-left: 0; }
  .svc + .svc { border-top: 1px solid var(--line); }
  .news-item__cat { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta__row { flex-wrap: wrap; gap: 6px; }
  .cta__row span { flex-basis: 100%; }
}

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