/* ==========================================================================
   ЦРВУ — выставочные стенды. Базовые стили.
   Концепция «Чертёж → Монолит»: бумага, графит, тонкие линии, один оранжевый акцент.
   ========================================================================== */

:root {
  /* палитра */
  --graphite: #121212;
  --graphite-2: #1b1b1a;
  --graphite-3: #262624;
  --ink: #121212;
  --ink-2: #5c5a55;
  --paper: #f3f1ec;
  --paper-2: #eae7df;
  --surface: #ffffff;
  --line: #d9d5cc;
  --line-2: #bdb8ac;
  --accent: #ff5500;
  --accent-hover: #ff6a24;
  --accent-press: #e64d00;
  --accent-ink: #b93a00; /* оранжевый для текста на светлом фоне, контраст 5,1:1 */
  --bronze: #b88e56;
  --on-dark: #f3f1ec;
  --on-dark-2: #b9b7b0;
  --line-dark: rgba(243, 241, 236, 0.14);
  --line-dark-2: rgba(243, 241, 236, 0.28);
  --danger: #b3261e;
  --danger-dark: #ff9c8f;

  /* темы секций */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --ln: var(--line);
  --ln-2: var(--line-2);
  --card: var(--surface);
  --accent-text: var(--accent-ink);
  --focus: var(--ink);

  /* шрифты */
  --font-display: 'Geologica', 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;

  /* шкала */
  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-base: 1rem;
  --t-md: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: 1.5rem;
  --t-2xl: clamp(1.75rem, 1.05rem + 2.3vw, 2.875rem);
  --t-3xl: clamp(2.125rem, 1rem + 4.2vw, 4.5rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --maxw: 1280px;
  --hdr-h: 72px;
  --r: 2px;
  --r-lg: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --sec-y: clamp(4rem, 8.5vw, 7.5rem);
}

.on-dark {
  --bg: var(--graphite);
  --fg: var(--on-dark);
  --fg-2: var(--on-dark-2);
  --ln: var(--line-dark);
  --ln-2: var(--line-dark-2);
  --card: var(--graphite-2);
  --accent-text: var(--accent);
  --focus: var(--on-dark);
}

/* ---------- сброс ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  font-variant-numeric: lining-nums;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
img { background-color: var(--paper-2); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
dialog { color: inherit; }
[hidden] { display: none !important; }
table { border-collapse: collapse; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
::selection { background: var(--accent); color: var(--graphite); }

/* ---------- типографика ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
  hyphens: manual;
  -webkit-hyphens: manual;
}
h1 { font-size: var(--t-3xl); letter-spacing: -0.035em; line-height: 1.03; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
p { text-wrap: pretty; max-width: 68ch; }
b, strong { font-weight: 700; }
.mono {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.35;
  hyphens: manual;
}
.num { color: var(--accent-text); }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- сетка ---------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem);
}

/* ---------- секции ---------- */
.sec {
  position: relative;
  padding-block: var(--sec-y);
  background: var(--bg);
  color: var(--fg);
  scroll-margin-top: var(--hdr-h);
}
.sec--white { --bg: #fff; }
.sec--paper2 { --bg: var(--paper-2); }
.sec--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.sec--grid::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: min(70%, 720px);
  background-image:
    linear-gradient(rgba(18, 18, 18, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 18, 18, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  pointer-events: none;
}
.sec > .container { position: relative; }

.sec__head {
  display: grid;
  gap: 1.1rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.75rem);
}
.sec__title { max-width: 22ch; }
.sec__lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 62ch;
}
@media (min-width: 960px) {
  .sec__head--split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1rem, 2vw, 2rem);
    align-items: end;
  }
  .sec__head--split .tag { grid-column: 1 / -1; }
  .sec__head--split .sec__title { grid-column: 1 / 8; max-width: 20ch; }
  .sec__head--split .sec__lead { grid-column: 8 / 13; padding-bottom: 0.35rem; }
}

/* метка раздела — как лист чертежа */
.tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--fg-2);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag::before {
  content: '';
  width: 32px;
  height: 9px;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
  opacity: 0.7;
}

/* размерная линия */
.dim {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--fg-2);
}
.dim__seg {
  flex: 1;
  height: 9px;
  border-left: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
  opacity: 0.55;
}
.dim__seg:last-child { border-left: 0; border-right: 1px solid currentColor; }

/* метки по углам рамки */
.crop { position: relative; }
.crop::before, .crop::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid currentColor;
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
}
.crop::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.crop::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }

/* ---------- иконки ---------- */
.ico {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-body);
  font-size: var(--t-base);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  color: var(--fg);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { transition: transform 0.25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--graphite); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--accent:active { background: var(--accent-press); transform: translateY(1px); }
.btn--accent:focus-visible { outline-color: var(--on-dark); box-shadow: 0 0 0 2px var(--graphite); }
.on-dark .btn--accent:focus-visible { outline-color: var(--on-dark); box-shadow: none; }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2a2a28; }
.btn--sm { min-height: 44px; padding: 0.6rem 1.05rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.5; pointer-events: none; }
.btn--text {
  min-height: 44px;
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  justify-content: flex-start;
  background: none;
}
.btn--text:hover { color: var(--accent-text); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow:hover { color: var(--accent-text); }

/* ---------- формы ---------- */
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field > label, .label {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
}
.hint { font-size: var(--t-sm); color: var(--fg-2); line-height: 1.45; }
.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  font-size: var(--t-base);
  line-height: 1.3;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.textarea { min-height: 112px; resize: vertical; }
.select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23121212' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  text-overflow: ellipsis;
}
.input::placeholder, .textarea::placeholder { color: #8a867d; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}
.on-dark .input:focus-visible, .on-dark .select:focus-visible { outline-color: var(--on-dark); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.err {
  display: flex; gap: 0.45rem; align-items: flex-start;
  font-size: var(--t-sm); line-height: 1.4; font-weight: 600;
  color: var(--danger);
}
.on-dark .err { color: var(--danger-dark); }
.err[hidden] { display: none; }
.err::before {
  content: '';
  flex: none;
  width: 14px; height: 14px; margin-top: 2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1l6.5 12h-13zM6.4 5.2h1.2v4H6.4zM6.4 10.2h1.2v1.2H6.4z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1l6.5 12h-13zM6.4 5.2h1.2v4H6.4zM6.4 10.2h1.2v1.2H6.4z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* флажок */
.check {
  display: flex; align-items: flex-start; gap: 0.75rem;
  min-height: 44px; padding-block: 0.4rem;
  font-size: var(--t-base); line-height: 1.4; cursor: pointer;
}
.check input {
  appearance: none; -webkit-appearance: none;
  flex: none; display: grid; place-content: center;
  width: 24px; height: 24px; margin: 1px 0 0;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  cursor: pointer;
  transition: background-color 0.15s;
}
.check input::after {
  content: '';
  width: 12px; height: 6px;
  border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper);
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 0.15s var(--ease);
}
.check input:checked { background: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.field.has-error > .check input { border-color: var(--danger); box-shadow: 0 0 0 2px rgba(179, 38, 30, 0.25); }

/* карточка-вариант (radio / checkbox как чип) */
.opt { position: relative; display: block; min-width: 0; cursor: pointer; }
.opt input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer; z-index: 1;
}
.opt__body {
  display: flex; flex-direction: column; justify-content: center; gap: 0.2rem;
  height: 100%; min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  line-height: 1.25;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.opt:hover .opt__body { border-color: var(--ink); }
.opt input:checked + .opt__body { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt input:checked + .opt__body .opt__sub { color: rgba(243, 241, 236, 0.74); }
.opt input:focus-visible + .opt__body { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt__t { font-weight: 700; font-size: 0.9375rem; }
.opt__sub { font-size: var(--t-sm); color: var(--ink-2); font-weight: 500; }

/* ---------- анимации появления ---------- */
.js .rv { opacity: 0; transition: opacity 0.8s var(--ease); }
.js .rv.is-in { opacity: 1; }
.js .rv-wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.js .rv-wipe.is-in { clip-path: inset(0 0 0 0); }
.js .rv-d1 { transition-delay: 0.08s; }
.js .rv-d2 { transition-delay: 0.16s; }
.js .rv-d3 { transition-delay: 0.24s; }

/* ---------- шапка ---------- */
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--ink); color: var(--paper);
  font-weight: 700; text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 1rem; outline: 2px solid var(--accent); }

.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(243, 241, 236, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.hdr__in {
  display: flex; align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  min-height: var(--hdr-h);
}
.logo { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; flex: none; }
.logo img { height: 44px; width: auto; background: none; }
.logo__d {
  padding-left: 0.9rem;
  border-left: 1px solid var(--line-2);
  color: var(--ink-2);
  line-height: 1.35;
  hyphens: manual;
  white-space: nowrap;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(0.9rem, 1.7vw, 1.9rem); }
.nav a {
  display: inline-block;
  padding: 0.55rem 0.1rem;
  font-size: 0.9375rem; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current='true'] { border-bottom-color: var(--ink); }
.hdr__tel { line-height: 1.15; text-align: right; flex: none; }
.hdr__tel a { display: inline-block; min-height: 24px; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; text-decoration: none; white-space: nowrap; letter-spacing: -0.01em; }
.hdr__tel a:hover { color: var(--accent-ink); }
.hdr__tel small { display: block; margin-top: 0.15rem; font-family: var(--font-mono); font-size: var(--t-xs); color: var(--ink-2); letter-spacing: 0.04em; }
.burger {
  display: none;
  width: 48px; height: 48px; margin-left: auto;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r);
  color: var(--ink);
}
.burger .ico { width: 24px; height: 24px; }
.burger .ico--x { display: none; }
.burger[aria-expanded='true'] .ico--menu { display: none; }
.burger[aria-expanded='true'] .ico--x { display: block; }

.mmenu {
  position: fixed; inset: var(--hdr-h) 0 0 0; z-index: 55;
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 1.25rem var(--gutter) 6rem;
  background: var(--paper);
  overflow-y: auto;
}
.mmenu.is-open { display: flex; }
.mmenu a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 0.5rem 0;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em;
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.mmenu__foot { margin-top: 1.5rem; display: grid; gap: 0.9rem; }
.mmenu__foot .tel { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-decoration: none; }

@media (max-width: 1180px) {
  .logo__d { display: none; }
}
@media (max-width: 1060px) {
  .nav, .hdr__tel, .hdr__cta { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 60px; }
  .logo img { height: 36px; }
}

/* ---------- липкая мобильная панель ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(18, 18, 18, 0.97);
  border-top: 1px solid var(--line-dark-2);
  transition: transform 0.3s var(--ease);
}
.mbar .btn { min-height: 48px; padding-inline: 1rem; font-size: 0.9375rem; }
.mbar .btn--line { color: var(--on-dark); }
.mbar .btn--line:hover { background: var(--on-dark); color: var(--graphite); }
@media (max-width: 760px) {
  .mbar { display: grid; }
  body .ftr { padding-bottom: calc(2rem + 72px + env(safe-area-inset-bottom)); }
  body.in-quiz .mbar, body.menu-open .mbar { transform: translateY(110%); }
}

/* кнопка «Наверх» */
.totop {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 65;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--line-dark-2); border-radius: var(--r);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--accent); color: var(--graphite); }
.totop .ico { transform: rotate(-90deg); }
@media (max-width: 760px) { .totop { display: none; } }

/* ---------- диалоги ---------- */
.dlg {
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--graphite);
  color: var(--on-dark);
  overflow: hidden;
}
.dlg::backdrop { background: rgba(10, 10, 10, 0.82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg[open] { animation: dlg-in 0.28s var(--ease); }
@keyframes dlg-in { from { opacity: 0; } to { opacity: 1; } }
.dlg__x {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 5;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(18, 18, 18, 0.7); color: var(--on-dark);
  border: 1px solid var(--line-dark-2); border-radius: var(--r);
}
.dlg__x:hover { background: var(--accent); color: var(--graphite); border-color: var(--accent); }

/* ---------- подвал ---------- */
.ftr { background: var(--graphite); color: var(--on-dark); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; border-top: 1px solid var(--line-dark); }
.ftr__top { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-dark); }
.ftr__brand { display: grid; gap: 1rem; align-content: start; }
.ftr .logo-mask {
  display: block; width: 190px; aspect-ratio: 1680 / 361;
  background: var(--on-dark);
  -webkit-mask: url('../logos/crvu-logo-header.png') center / contain no-repeat;
  mask: url('../logos/crvu-logo-header.png') center / contain no-repeat;
}
.ftr__line { color: var(--on-dark-2); max-width: 46ch; font-size: 0.9375rem; }
.ftr__nav { display: grid; gap: 0.2rem; }
.ftr__nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.ftr__nav a:hover { color: var(--accent); }
.ftr__bot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; padding-top: 1.5rem; color: var(--on-dark-2); font-size: 0.875rem; }
.ftr__bot a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 860px) {
  .ftr__top { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
}

/* ---------- reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .rv, .js .rv-wipe { opacity: 1 !important; clip-path: none !important; }
}

html { -webkit-tap-highlight-color: rgba(255, 85, 0, 0.12); }
