/* Арт-Рекрутинг — дизайн-система. Без фреймворков и CDN. */

/* ---------- Шрифты (вариативные, локальные) ---------- */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/golos-text-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/golos-text-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
  --ink:      #0E1B2E;  /* чернильно-синий: тёмные секции, основной текст */
  --ink-soft: #1B2E4A;  /* приподнятая плоскость на тёмном */
  --ink-line: #2B4166;  /* разделители на тёмном */
  --blue:     #2F5C94;  /* фирменный синий: ссылки, вторичный акцент */
  --blue-dim: #6E88AC;  /* вторичный текст на тёмном */
  --flame:    #FF7212;  /* оранжевый логотипа: акцент, CTA */
  --flame-dk: #C24E00;  /* оранжевый, доступный как текст на белом */
  --paper:    #FFFFFF;
  --mist:     #F2F5F9;  /* холодная светлая заливка секций */
  --line:     #DCE3EC;
  --muted:    #56677E;  /* вторичный текст на светлом */

  --font-display: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --header-h: 72px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --page: 1200px;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
fieldset { border: 0; min-width: 0; }

::selection { background: var(--flame); color: var(--ink); }

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

:target { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- Раскладка ---------- */
.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--paper); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--flame);
  color: var(--ink);
  padding: .75rem 1.25rem;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Типографика ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(2.15rem, 4.6vw, 3.75rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.h-section {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 20ch;
}

.h-card {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--flame-dk);
}
.section--ink .eyebrow { color: var(--flame); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}
.section--ink .lede { color: #B9C6D8; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .h-section { margin-top: .9rem; }
.section-head .lede { margin-top: 1rem; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

/* Оранжевый с чернильным текстом: контраст 7.5:1, в отличие от белого на оранжевом */
.btn--primary { background: var(--flame); color: var(--ink); }
.btn--primary:hover { background: #FF8836; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }

.section--ink .btn--ghost,
.hero .btn--ghost { color: var(--paper); border-color: var(--ink-line); }
.section--ink .btn--ghost:hover,
.hero .btn--ghost:hover { border-color: var(--blue-dim); }

.btn .arw { transition: transform .18s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { width: 32px; height: 32px; border-radius: 5px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.nav a {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  padding-block: .35rem;
  transition: color .18s ease;
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--flame);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-phone:hover { color: var(--flame-dk); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.mobile-menu { display: none; border-top: 1px solid var(--line); padding-block: .5rem 1.25rem; }
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: .8rem .25rem;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { display: flex; margin-top: 1rem; width: 100%; border-bottom: 0; }

@media (max-width: 900px) {
  .nav, .header-phone { display: none; }
  .burger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-bottom: 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
}

.hero h1 { margin-top: 1.1rem; }
.hero .lede { margin-top: 1.6rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.2rem;
}

/* Панель фактов справа в hero */
.hero-facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink-line);
}
.hero-facts > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--ink-line);
}
.hero-facts dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--flame);
  font-feature-settings: 'tnum' 1;
  white-space: nowrap;
}
.hero-facts dd { font-size: .95rem; color: #B9C6D8; line-height: 1.45; }

/* ---------- Сигнатура: ось времени ---------- */
.timeline {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.timeline-track {
  position: relative;
  height: 1px;
  background: var(--ink-line);
  margin-bottom: 1.25rem;
}
.timeline-track::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--flame), rgba(255,114,18,.15));
  transform-origin: left;
  animation: track-in 1.1s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes track-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.timeline-marks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.timeline-marks > div { position: relative; padding-top: 1.1rem; }
.timeline-marks > div::before {
  content: '';
  position: absolute;
  top: -1.25rem;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--flame);
  transform: translateY(-4px);
}
.timeline-marks > div:last-child { text-align: right; }
.timeline-marks > div:last-child::before { left: auto; right: 0; }
.timeline-marks > div:nth-child(2) { text-align: center; }
.timeline-marks > div:nth-child(2)::before { left: 50%; margin-left: -4.5px; }

.timeline-year {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum' 1;
  line-height: 1;
}
.timeline-note {
  display: block;
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--blue-dim);
  line-height: 1.4;
  max-width: 24ch;
}
.timeline-marks > div:last-child .timeline-note { margin-left: auto; }
.timeline-marks > div:nth-child(2) .timeline-note { margin-inline: auto; }

@media (max-width: 640px) {
  .timeline-marks { grid-template-columns: 1fr; gap: 0; }
  .timeline-track { display: none; }
  .timeline-marks > div,
  .timeline-marks > div:last-child,
  .timeline-marks > div:nth-child(2) { text-align: left; padding: 1.1rem 0 1.1rem 1.5rem; border-bottom: 1px solid var(--ink-line); }
  .timeline-marks > div::before,
  .timeline-marks > div:last-child::before,
  .timeline-marks > div:nth-child(2)::before {
    top: 1.85rem; left: 0; right: auto; margin-left: 0; transform: none;
  }
  .timeline-marks > div:last-child { border-bottom: 0; }
  .timeline-note, .timeline-marks > div:last-child .timeline-note,
  .timeline-marks > div:nth-child(2) .timeline-note { margin-inline: 0; max-width: none; }
}

/* ---------- Условия (benefits) ---------- */
.terms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.terms > div {
  padding: 2rem 1.75rem 2rem 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.terms > div:last-child { border-right: 0; }
.terms > div + div { padding-left: 1.75rem; }

.term-key {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}
.term-key em { font-style: normal; color: var(--flame-dk); }
.term-text { margin-top: .75rem; font-size: .96rem; color: var(--muted); }

@media (max-width: 900px) { .terms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .terms { grid-template-columns: 1fr; }
  .terms > div, .terms > div + div { padding: 1.5rem 0; border-right: 0; }
}

/* ---------- Услуги ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease;
}
.service:hover { border-color: var(--ink); }

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--flame-dk);
  margin-bottom: 1.5rem;
}
.service h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.service p { margin-top: .8rem; color: var(--muted); font-size: .98rem; }

.service ul {
  list-style: none;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .6rem;
}
.service li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .95rem;
  color: var(--ink);
}
.service li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--flame);
}

/* ---------- Процесс ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-line);
}
.steps > li {
  list-style: none;
  padding: 2rem 1.5rem 0 0;
  border-right: 1px solid var(--ink-line);
}
.steps > li:last-child { border-right: 0; }
.steps > li + li { padding-left: 1.5rem; }

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .1em;
  color: var(--flame);
  font-feature-settings: 'tnum' 1;
  margin-bottom: 1rem;
}
.steps h3 { font-size: 1.15rem; color: var(--paper); }
.steps p { margin-top: .65rem; font-size: .93rem; color: #A9B8CC; line-height: 1.5; }

@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .steps > li, .steps > li + li {
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink-line);
  }
  .steps > li:last-child { border-bottom: 0; }
}

/* ---------- Отзывы ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  flex: 1;
}
.quote figcaption {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.quote-name { font-weight: 500; }
.quote-org { display: block; margin-top: .2rem; font-size: .9rem; color: var(--muted); }

/* ---------- Команда ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 1.25rem;
}
@media (max-width: 800px) { .team { grid-template-columns: 1fr; } }

.person {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
}
.person-mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--flame);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .02em;
  margin-bottom: 1.4rem;
}
.person h3 { font-size: 1.25rem; }
.person-role { margin-top: .35rem; font-size: .92rem; color: var(--flame-dk); font-weight: 500; }
.person p { margin-top: .9rem; font-size: .95rem; color: var(--muted); }

/* ---------- Форма ---------- */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }

.form-aside .lede { margin-top: 1.1rem; }
.form-aside-contacts {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .9rem;
}
.form-aside-contacts a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}
.form-aside-contacts a:hover { color: var(--flame-dk); }
.form-aside-contacts span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--muted); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.field { margin-bottom: 1.25rem; }
.field label,
.field legend,
.field > .field-label {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .45rem;
}
.req { color: var(--flame-dk); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 1rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:hover, .field textarea:hover { border-color: #B9C4D3; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(255,114,18,.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input[type="file"] {
  width: 100%;
  font-size: .9rem;
  color: var(--muted);
}
.field input[type="file"]::file-selector-button {
  margin-right: .9rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--mist);
  font-weight: 500;
  font-size: .9rem;
  cursor: pointer;
}
.field-hint { margin-top: .4rem; font-size: .82rem; color: var(--muted); }
.field-error { margin-top: .4rem; font-size: .85rem; color: #C0261B; }

.role-switch { display: flex; gap: .6rem; flex-wrap: wrap; }
.field .role-switch label {
  flex: 1 1 auto;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-weight: 500;
  transition: border-color .16s ease, background-color .16s ease;
}
.role-switch label:hover { border-color: #B9C4D3; }
.role-switch input { accent-color: var(--flame-dk); width: 18px; height: 18px; }
.role-switch label:has(input:checked) { border-color: var(--flame); background: rgba(255,114,18,.06); }

.field label.consent { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 0; }
.consent input { margin-top: .3rem; accent-color: var(--flame-dk); width: 17px; height: 17px; flex-shrink: 0; }
.consent span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

.form-card .btn { width: 100%; margin-top: 1.5rem; }

.notice {
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  margin-bottom: 1.5rem;
  font-size: .96rem;
}
.notice strong { display: block; font-family: var(--font-display); font-weight: 700; margin-bottom: .2rem; }
.notice--ok { background: #E9F6EE; border: 1px solid #B7DFC6; color: #14562F; }
.notice--err { background: #FDECEA; border: 1px solid #F3C2BC; color: #8E1C13; }

/* ---------- Контакты ---------- */
.contacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 860px) { .contacts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .contacts { grid-template-columns: 1fr; } }

.contact { border: 1px solid var(--ink-line); border-radius: var(--r-md); padding: 1.5rem; }
.contact dt {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-dim);
}
.contact dd { margin-top: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.contact a { text-decoration: none; }
.contact a:hover { color: var(--flame); }

/* ---------- Футер ---------- */
.site-footer {
  background: var(--ink);
  color: var(--blue-dim);
  border-top: 1px solid var(--ink-line);
  padding-block: 2.25rem;
  font-size: .9rem;
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }

/* ---------- Кнопка «наверх» ---------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 20;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--flame);
  color: var(--ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(14, 27, 46, .22);
  transition: background-color .18s ease;
}
.to-top.is-visible { display: inline-flex; }
.to-top:hover { background: #FF8836; }

.is-hidden { display: none !important; }
