/* ============================================================
   博狗在线中心 · 共享站点外壳 / site.css
   素材：深海蓝基底 + 蓝图网格 + 罗盘索引 + 霓虹青路径 + 琥珀行动
   ============================================================ */

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

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

body,
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }

img, svg, video { display: block; max-width: 100%; height: auto; }

button { font: inherit; color: inherit; background: none; border: 0; }

a { color: inherit; text-decoration: none; }

main { display: block; }

/* ---------- 2. Tokens ---------- */
:root {
  --deep: #071A2F;
  --navy: #0B2440;
  --fog: #EAF2F8;
  --graphite: #94A8B8;
  --cyan: #20E3D2;
  --blue: #2F7BFF;
  --amber: #FFB23E;
  --glass: #8EF5EA;
  --ink: #030B14;
  --error: #FF6B6B;

  --line: rgba(148, 168, 184, 0.24);
  --line-strong: rgba(148, 168, 184, 0.38);
  --cyan-line: rgba(32, 227, 210, 0.34);

  --font-head: "Space Grotesk", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 22px;
  --shadow-lift: 0 18px 44px rgba(3, 11, 20, 0.46);
  --shadow-cyan: 0 10px 28px rgba(32, 227, 210, 0.2);
  --ease: cubic-bezier(0.32, 0.72, 0.24, 1);
}

/* ---------- 3. Base ---------- */
html { background: var(--ink); }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(16px, 0.42vw + 14.6px, 17.5px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--fog);
  background:
    radial-gradient(900px 520px at 84% -10%, rgba(47, 123, 255, 0.22), transparent 62%),
    radial-gradient(720px 480px at 4% 2%, rgba(32, 227, 210, 0.13), transparent 60%),
    var(--deep);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(32, 227, 210, 0.34); color: #ffffff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.65rem); }

p { text-wrap: pretty; }

/* ---------- 4. Layout primitives ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(44px, 6vw, 84px); }

.section--panel {
  background:
    linear-gradient(180deg, rgba(11, 36, 64, 0.96), rgba(7, 26, 47, 0.96));
  border-block: 1px solid var(--line);
}

.section--grid {
  background-color: rgba(11, 36, 64, 0.5);
  background-image:
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 76px);
  background-position: center;
  border-block: 1px solid var(--line);
}

.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 5. Typographic helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
}

.section-head { display: grid; gap: 12px; max-width: 68ch; }
.section-head p { color: var(--graphite); }

.lede {
  font-size: clamp(1rem, 0.4vw + 0.92rem, 1.18rem);
  line-height: 1.8;
  color: rgba(234, 242, 248, 0.86);
  max-width: 64ch;
}

.prose { max-width: 70ch; color: rgba(234, 242, 248, 0.9); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2vw, 1.9rem); }
.prose h3 { margin-top: 1.5em; color: var(--fog); }
.prose h3::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-right: 10px;
  vertical-align: -0.08em;
  background: var(--cyan);
  border-radius: 2px;
}
.prose ul, .prose ol { display: grid; gap: 8px; padding-left: 1.2em; }
.prose ul > li { list-style: none; position: relative; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
}
.prose ol > li { list-style: decimal; }
.prose strong { color: #ffffff; font-weight: 700; }
.prose a { color: var(--cyan); border-bottom: 1px solid var(--cyan-line); }

.breadcrumbs { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--graphite); }
.breadcrumbs li + li::before { content: "/"; color: rgba(148, 168, 184, 0.6); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--graphite); border-bottom: 1px solid transparent; }
.breadcrumbs a:hover { color: var(--cyan); border-bottom-color: var(--cyan-line); }
.breadcrumbs [aria-current="page"] { color: var(--fog); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease),
              border-color 0.24s var(--ease), box-shadow 0.24s var(--ease), color 0.24s var(--ease);
}

.btn--amber {
  background: linear-gradient(135deg, var(--amber), #FFCE7A);
  color: #180D00;
  box-shadow: 0 10px 26px rgba(255, 178, 62, 0.24);
}
.btn--amber:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255, 178, 62, 0.34); }

.btn--ghost {
  border-color: var(--cyan-line);
  background: rgba(32, 227, 210, 0.08);
  color: var(--cyan);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  background: rgba(32, 227, 210, 0.16);
  transform: translateY(-2px);
}

.btn--cyan {
  background: linear-gradient(135deg, var(--cyan), var(--glass));
  color: #032A28;
  box-shadow: var(--shadow-cyan);
}
.btn--cyan:hover { transform: translateY(-2px); }

/* ---------- 7. Cards / panels / tags / steps ---------- */
.card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, rgba(11, 36, 64, 0.92), rgba(7, 26, 47, 0.88));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan-line);
  box-shadow: var(--shadow-lift);
}

.card--glass,
.panel {
  border: 1px solid var(--cyan-line);
  background: linear-gradient(160deg, rgba(142, 245, 234, 0.12), rgba(11, 36, 64, 0.74));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lift);
}

.panel {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius-l);
}

.card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 24px;
  padding-inline: 8px;
  border: 1px solid var(--cyan-line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(32, 227, 210, 0.08);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--graphite);
}
.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tag--cyan { color: var(--cyan); border-color: var(--cyan-line); }
.tag--amber { color: var(--amber); border-color: rgba(255, 178, 62, 0.4); }

.step-list { display: grid; gap: 14px; counter-reset: step; }
.step-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px 16px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan-line);
  border-radius: var(--radius-s);
  background: rgba(11, 36, 64, 0.6);
}
.step-item__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--cyan-line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  background: rgba(32, 227, 210, 0.1);
}

/* ---------- 8. Image container base ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(32, 227, 210, 0.16), transparent 60%),
    linear-gradient(150deg, rgba(11, 36, 64, 0.95), rgba(3, 11, 20, 0.95));
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(148, 168, 184, 0.16) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(148, 168, 184, 0.16) 0 1px, transparent 1px 48px);
  mix-blend-mode: screen;
  opacity: 0.5;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__tag {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border: 1px solid var(--cyan-line);
  border-radius: 6px;
  background: rgba(3, 11, 20, 0.78);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

/* ---------- 9. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 300;
  padding: 10px 20px;
  border-radius: var(--radius-s);
  border: 1px solid var(--cyan);
  background: var(--ink);
  color: var(--cyan);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  transform: translate(-50%, -180%);
  transition: transform 0.24s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ---------- 10. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(7, 26, 47, 0.96), rgba(7, 26, 47, 0.82));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-strong);
}

.header-rail {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 34px);
  padding: 5px var(--gutter);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(148, 168, 184, 0.16);
  background-image: repeating-linear-gradient(90deg, transparent 0 34px, rgba(148, 168, 184, 0.18) 34px 35px);
  background-color: rgba(3, 11, 20, 0.5);
}

.rail-item {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
}
.rail-item--accent { color: var(--cyan); }
.rail-item--accent::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  vertical-align: 1px;
  box-shadow: 0 0 10px rgba(32, 227, 210, 0.9);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: 74px;
  padding-block: 12px;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--cyan-line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 32% 24%, rgba(32, 227, 210, 0.3), rgba(11, 36, 64, 0.92));
  box-shadow: inset 0 0 18px rgba(32, 227, 210, 0.22);
  flex: 0 0 auto;
}
.brand-mark::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 1px solid rgba(234, 242, 248, 0.55);
  border-radius: 50%;
}
.brand-mark__needle {
  position: absolute;
  width: 2px;
  height: 17px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--amber), var(--cyan));
  transform: rotate(24deg);
}

.brand-text { display: grid; gap: 2px; }
.brand-name {
  font-family: var(--font-head);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--fog);
}
.brand-line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--graphite);
}

/* Quick entry */
.header-quick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline-start: clamp(12px, 2vw, 24px);
  border-inline-start: 1px solid var(--line);
  font-size: 13.5px;
}
.quick-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 168, 184, 0.8);
}
.quick-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(234, 242, 248, 0.86);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.quick-link:hover { color: var(--cyan); border-bottom-color: var(--cyan-line); }
.quick-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--graphite);
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 16px);
  margin-inline-start: auto;
}

.nav-list { display: flex; align-items: center; gap: clamp(0px, 0.6vw, 8px); }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  color: rgba(234, 242, 248, 0.9);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
              color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.nav-link:hover {
  color: #ffffff;
  background: rgba(32, 227, 210, 0.1);
  border-color: var(--cyan-line);
}
.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(148, 168, 184, 0.85);
  transition: color 0.22s var(--ease);
}
.nav-label { display: inline-block; }

.nav-link[aria-current="page"] {
  color: #04222C;
  background: linear-gradient(135deg, var(--cyan), var(--glass));
  border-color: transparent;
  box-shadow: var(--shadow-cyan);
}
.nav-link[aria-current="page"] .nav-index { color: rgba(3, 11, 20, 0.62); }

.nav-cta { display: none; }
.header-cta { flex: 0 0 auto; }

/* Toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-inline-start: auto;
  padding: 8px 14px;
  border: 1px solid var(--cyan-line);
  border-radius: var(--radius-s);
  background: rgba(32, 227, 210, 0.08);
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Scroll progress */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(148, 168, 184, 0.18);
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 58%, var(--amber));
  transition: transform 0.12s linear;
}

/* ---------- 11. Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid rgba(32, 227, 210, 0.28);
  background:
    radial-gradient(700px 380px at 10% 0%, rgba(47, 123, 255, 0.18), transparent 66%),
    radial-gradient(520px 320px at 88% 6%, rgba(32, 227, 210, 0.12), transparent 62%),
    linear-gradient(180deg, var(--navy), var(--ink) 72%);
}

.footer-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -46%;
  height: 340px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(32, 227, 210, 0.16), transparent 78%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(38px, 5vw, 66px) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 46px);
}

.footer-brand { display: grid; gap: 14px; align-content: start; }
.brand--footer .brand-mark { width: 38px; height: 38px; }
.brand--footer .brand-name { font-size: 17px; }

.footer-pitch {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--graphite);
}
.footer-cta { justify-self: start; }

.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-col__title::before {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--amber);
}

.footer-list { display: grid; gap: 2px; }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: 14.5px;
  color: rgba(234, 242, 248, 0.84);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.footer-link::before {
  content: "";
  width: 14px;
  height: 1px;
  background: rgba(148, 168, 184, 0.55);
  transition: background-color 0.2s var(--ease), width 0.2s var(--ease);
}
.footer-link:hover { color: var(--cyan); gap: 14px; }
.footer-link:hover::before { background: var(--cyan); width: 18px; }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(26px, 3.6vw, 46px);
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid var(--cyan-line);
  border-radius: var(--radius-m);
  background: linear-gradient(135deg, rgba(11, 36, 64, 0.88), rgba(7, 26, 47, 0.66));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.contact-item { display: grid; gap: 6px; align-content: start; }
.contact-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
}
.contact-val {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fog);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: 18px;
  border-top: 1px solid rgba(148, 168, 184, 0.16);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: rgba(148, 168, 184, 0.9);
}
.footer-meta, .footer-legal { display: inline-block; }

/* ---------- 12. Reveal protocol ---------- */
html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
html[data-reveal-ready] [data-reveal][data-visible] {
  opacity: 1;
  transform: none;
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 1120px) {
  .header-quick { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    left: calc(var(--gutter) * -1);
    right: calc(var(--gutter) * -1);
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-inline-start: 0;
    padding: 12px var(--gutter) 22px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    border-bottom: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(11, 36, 64, 0.99), rgba(3, 11, 20, 0.99));
    box-shadow: 0 26px 52px rgba(3, 11, 20, 0.6);
  }
  .primary-nav[data-open] { display: flex; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 14px;
    font-size: 16px;
  }
  .nav-cta { display: inline-flex; width: 100%; margin-top: 12px; }

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .header-rail { gap: 16px; }
  .rail-item:nth-child(3) { display: none; }
}

@media (max-width: 760px) {
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .header-rail { font-size: 10px; padding-block: 4px; }
  .rail-item:nth-child(2) { display: none; }
  .nav-toggle__text { font-size: 12.5px; }
  .section--grid { background-size: 56px 56px; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-template-columns: minmax(0, 1fr); }
  .brand-mark { width: 38px; height: 38px; }
  .step-item { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 14. Motion & print preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html[data-reveal-ready] [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .scroll-progress__bar { transition: none; }
  .card:hover, .btn:hover, .footer-link:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .scroll-progress, .skip-link { display: none !important; }
  body { background: #ffffff; color: #071A2F; }
}
