/* ==========================================================================
   ПризывПраво — базовые стили
   ========================================================================== */

:root {
  --ink: #0d1b2a;
  --ink-2: #132a3f;
  --text: #22303f;
  --muted: #61707f;
  --muted-light: #9fb0c0;
  --line: #e2e8ef;
  --surface: #f4f7fa;
  --surface-2: #eef3f7;
  --white: #ffffff;
  --accent: #d8a24a;
  --accent-hover: #e5b45d;
  --accent-dark: #8a5d16;
  --accent-soft: #f8eedb;
  --success: #1f7a5c;
  --danger: #c0392b;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(13, 27, 42, .06);
  --shadow: 0 18px 50px rgba(13, 27, 42, .12);
  --shadow-lg: 0 30px 80px rgba(8, 20, 33, .22);
  --container: 1180px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

section[id],
div[id] {
  scroll-margin-top: 96px;
}

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

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, p {
  margin: 0;
}

ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid rgba(216, 162, 74, .55);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Типографика / общие элементы
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.eyebrow--light {
  color: var(--accent);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.section--tight {
  padding: clamp(48px, 6vw, 76px) 0;
}

.section__head {
  max-width: 730px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.14;
  letter-spacing: -.025em;
  color: var(--ink);
  font-weight: 800;
}

.section__lead {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.section__lead--left {
  max-width: 620px;
}

/* Кнопки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: #1a1409;
  box-shadow: 0 10px 26px rgba(216, 162, 74, .28);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 30px rgba(216, 162, 74, .36);
}

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

.btn--ghost:hover {
  border-color: #c9d3dd;
  background: var(--surface);
}

.hero .btn--ghost {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .22);
  color: var(--white);
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
}

.btn--outline {
  background: transparent;
  border-color: #cdd7e1;
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--accent-soft);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 14px;
  border-radius: 10px;
}

.btn--lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.link-arrow span {
  transition: transform .2s;
}

.link-arrow:hover span {
  transform: translateX(3px);
}

/* ==========================================================================
   Верхняя полоса и шапка
   ========================================================================== */

.topbar {
  background: #08131f;
  color: #b7c4d1;
  font-size: 12.5px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar__item--muted {
  color: #7f91a2;
}

.topbar__phone {
  font-weight: 700;
  color: var(--white);
}

.topbar__phone:hover,
.topbar__link:hover {
  color: var(--accent);
}

.topbar__link {
  color: var(--accent);
  font-weight: 600;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}

.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(13, 27, 42, .06);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--accent);
  flex: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.2;
}

.logo__name span {
  color: var(--accent-dark);
}

.logo__tagline {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 14.5px;
  font-weight: 600;
  color: #31414f;
  padding: 6px 0;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav .nav__phone,
.nav__cta {
  display: none;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(5, 13, 22, .55);
  backdrop-filter: blur(2px);
  animation: scrim-in .2s ease both;
}

@keyframes scrim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 981px) {
  .nav-scrim {
    display: none !important;
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.header__phone {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--accent-dark);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 78% 18%, rgba(216, 162, 74, .17), transparent 60%),
    radial-gradient(50% 70% at 8% 92%, rgba(42, 98, 138, .28), transparent 65%),
    linear-gradient(125deg, #0a1725 0%, #10283d 58%, #0b1a2a 100%);
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(75% 80% at 50% 40%, #000 20%, transparent 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -260px;
  border: 1px solid rgba(216, 162, 74, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(216, 162, 74, .025), 0 0 0 140px rgba(216, 162, 74, .02);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
  padding: clamp(58px, 7.5vw, 94px) 0 clamp(64px, 8vw, 100px);
}

.hero__content {
  max-width: 620px;
}

.hero__title {
  font-size: clamp(36px, 4.9vw, 60px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 800;
}

.hero__title em {
  position: relative;
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 8px;
  border-radius: 4px;
  background: rgba(216, 162, 74, .18);
}

.hero__lead {
  max-width: 555px;
  margin-top: 22px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: #c3d0dc;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
}

.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #d5e0e9;
}

.hero__badges svg {
  color: var(--accent);
  flex: none;
}

.hero__note {
  margin-top: 20px;
  font-size: 12.5px;
  color: #8799a9;
}

.hero__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: end;
}

.lead-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.lead-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--accent), #f0cf95);
}

.lead-card__head h2 {
  margin-top: 12px;
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  font-weight: 800;
}

.lead-card__head p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.lead-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lead-card__badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-dark);
}

.lead-card .form {
  margin-top: 22px;
}

.hero__panel-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: #8fa2b3;
}

.hero__panel-note svg {
  color: var(--accent);
}

/* ==========================================================================
   Формы
   ========================================================================== */

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form__error {
  padding: 10px 12px;
  border: 1px solid #f0c8c3;
  border-radius: 10px;
  background: #fff4f2;
  font-size: 12.5px;
  line-height: 1.5;
  color: #9f3328;
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 12.5px;
  font-weight: 700;
  color: #33465a;
}

.field__optional {
  font-weight: 500;
  color: #8a99a8;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7e0e8;
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2361707f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a2aebb;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(216, 162, 74, .16);
}

.field--error input,
.field--error textarea,
.field--error select {
  border-color: var(--danger);
  background: #fffafa;
}

.field__error {
  display: none;
  font-size: 12px;
  line-height: 1.4;
  color: var(--danger);
}

.field--error .field__error,
.field__error.is-visible {
  display: block;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11.8px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--accent-dark);
  cursor: pointer;
}

.check a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__hint {
  font-size: 11px;
  line-height: 1.45;
  color: #8b99a7;
}

.form__subtitle {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.form--card {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form--card h3 {
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.02em;
}

.form-success {
  padding: 26px 8px;
  text-align: center;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e7f4ee;
  color: var(--success);
}

.form-success h3 {
  font-size: 22px;
  color: var(--ink);
}

.form-success p {
  max-width: 320px;
  margin: 8px auto 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.form-success--card {
  margin-top: 0;
  padding: 70px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-success--dialog {
  padding: 20px 4px 8px;
}

/* ==========================================================================
   Ситуации
   ========================================================================== */

.situations {
  background: var(--white);
  border-bottom: 1px solid #eef2f6;
}

.situations .section__head {
  margin-bottom: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin-inline: auto;
}

.chip {
  padding: 11px 19px;
  border: 1px solid #d9e1e9;
  border-radius: 999px;
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: #33465a;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s, box-shadow .2s;
}

.chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #6f4c13;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(216, 162, 74, .18);
}

/* ==========================================================================
   Услуги
   ========================================================================== */

.services {
  background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #d3dde7;
  box-shadow: var(--shadow);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.service-card h3 {
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -.01em;
}

.service-card p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.service-card .link-arrow {
  margin-top: auto;
  padding-top: 18px;
}

/* ==========================================================================
   Цифры
   ========================================================================== */

.stats {
  background: var(--ink-2);
  color: var(--white);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 46px 0;
}

.stat {
  padding: 6px 30px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat:last-child {
  padding-right: 0;
}

.stat__value {
  display: block;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--accent);
}

.stat__label {
  display: block;
  max-width: 210px;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #a9bac9;
}

/* ==========================================================================
   О компании
   ========================================================================== */

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.about__content .section__lead {
  max-width: 590px;
}

.checklist {
  display: grid;
  gap: 13px;
  margin: 26px 0 30px;
}

.checklist li {
  position: relative;
  padding-left: 33px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #33465a;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4 4L19 7' stroke='%23a9772a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.about-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(216, 162, 74, .12), transparent 60%),
    var(--surface);
}

.about-card__top {
  padding-bottom: 24px;
  border-bottom: 1px solid #dbe3eb;
}

.about-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--accent);
}

.about-card__quote {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}

.about-card__list {
  display: grid;
  gap: 0;
  margin-top: 6px;
}

.about-card__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid #e0e7ee;
}

.about-card__list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-card__list dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8494a3;
}

.about-card__list dd {
  font-size: 13.5px;
  font-weight: 600;
  color: #2c3d4d;
  text-align: right;
}

/* ==========================================================================
   Этапы
   ========================================================================== */

.process {
  background: var(--surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 27px;
  right: 27px;
  border-top: 1px dashed #c7d2dd;
}

.step {
  position: relative;
  padding-top: 74px;
}

.step__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border: 1px solid #e7d3ae;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  z-index: 1;
}

.step h3 {
  font-size: 17.5px;
  line-height: 1.3;
  color: var(--ink);
}

.step p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================================
   Правовой блок
   ========================================================================== */

.law {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.law::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(216, 162, 74, .14), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(43, 98, 138, .25), transparent 65%);
  pointer-events: none;
}

.law__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.law h2 {
  color: var(--white);
  max-width: 560px;
}

.law__content > p {
  max-width: 570px;
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #c3d0dc;
}

.law__content .law__muted {
  font-size: 13.5px;
  color: #91a4b5;
}

.law .btn {
  margin-top: 26px;
}

.law__points {
  display: grid;
  gap: 0;
}

.law__points li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.law__points li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.law__points li > span {
  flex: none;
  padding-top: 2px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--accent);
}

.law__points strong {
  display: block;
  font-size: 15.5px;
  color: var(--white);
}

.law__points p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.55;
  color: #9fb1c1;
}

/* ==========================================================================
   Квиз
   ========================================================================== */

.quiz {
  background:
    radial-gradient(55% 70% at 0% 0%, rgba(216, 162, 74, .09), transparent 60%),
    var(--white);
}

.quiz__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.quiz__facts {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.quiz__facts span {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: #455768;
}

.quiz__facts span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.quiz__facts strong {
  color: var(--ink);
}

.quiz-card {
  padding: clamp(24px, 3.2vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quiz-card__progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.quiz-card__bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #edf1f5;
  overflow: hidden;
}

.quiz-card__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #eac27b);
  transition: width .35s ease;
}

.quiz-card__counter {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  color: #7b8b9a;
  white-space: nowrap;
}

.quiz-question h3 {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.01em;
}

.quiz-options {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #dce4ec;
  border-radius: 12px;
  background: #fbfcfe;
  font-size: 13.8px;
  line-height: 1.45;
  text-align: left;
  color: #33465a;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.quiz-option::before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  border: 1.5px solid #b9c6d3;
  border-radius: 50%;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.quiz-option:hover {
  border-color: var(--accent);
  background: #fffdf8;
}

.quiz-option.is-selected {
  border-color: var(--accent-dark);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(169, 119, 42, .18);
}

.quiz-option.is-selected::before {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  box-shadow: inset 0 0 0 3px var(--accent-soft);
}

.quiz-card__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.quiz-card__nav .btn--primary {
  margin-left: auto;
}

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.quiz-result {
  text-align: center;
  padding: 8px 0;
}

.quiz-result__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.quiz-result h3 {
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
}

.quiz-result > p {
  margin: 10px auto 0;
  max-width: 430px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.quiz-result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.quiz-result .quiz-result__note {
  margin-top: 18px;
  font-size: 11px;
  color: #98a5b2;
}

/* ==========================================================================
   Ошибки
   ========================================================================== */

.mistakes__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.mistake {
  grid-column: span 2;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.mistake:nth-child(4),
.mistake:nth-child(5) {
  grid-column: span 3;
}

.mistake:hover {
  transform: translateY(-3px);
  border-color: #e0c79a;
  box-shadow: var(--shadow-sm);
}

.mistake__num {
  display: block;
  margin-bottom: 16px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: #ead3ae;
}

.mistake h3 {
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--ink);
}

.mistake p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  background: var(--surface);
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.faq__head {
  position: sticky;
  top: 106px;
}

.faq__head h2 {
  max-width: 420px;
}

.faq__head .btn {
  margin-top: 24px;
}

.faq__list {
  border-top: 1px solid #dde5ed;
}

.faq-item {
  border-bottom: 1px solid #dde5ed;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  list-style: none;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent-dark);
}

.faq-item__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid #d5dfe8;
  border-radius: 50%;
  background: var(--white);
  transition: background-color .2s, border-color .2s, transform .25s;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.6px;
  border-radius: 2px;
  background: #506374;
  transform: translate(-50%, -50%);
  transition: background-color .2s;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__icon::after {
  opacity: 0;
}

.faq-item[open] .faq-item__icon::before {
  background: var(--ink);
}

.faq-item__body {
  padding: 0 44px 22px 0;
}

.faq-item__body p {
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--muted);
}

/* ==========================================================================
   Контакты
   ========================================================================== */

.contacts {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 80% at 10% 0%, rgba(216, 162, 74, .1), transparent 60%),
    radial-gradient(50% 60% at 100% 100%, rgba(43, 98, 138, .25), transparent 65%);
  pointer-events: none;
}

.contacts__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.contacts h2 {
  color: var(--white);
}

.contacts__lead {
  max-width: 460px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: #b9c8d5;
}

.contacts__list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contacts__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contacts__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
  color: var(--accent);
}

.contacts__list li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1px;
}

.contacts__list span:not(.contacts__icon) {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8598aa;
}

.contacts__list a,
.contacts__list p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
}

.contacts__list a:hover {
  color: var(--accent);
}

.contacts__list em {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: #8598aa;
}

.contacts__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.contacts__socials > span {
  font-size: 12px;
  color: #8598aa;
}

.contacts__socials > div {
  display: flex;
  gap: 8px;
}

.contacts__socials a {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #d6e1ea;
  transition: border-color .2s, background-color .2s, color .2s;
}

.contacts__socials a:hover {
  border-color: var(--accent);
  background: rgba(216, 162, 74, .1);
  color: var(--accent);
}

.contacts__tg {
  margin-top: 24px;
}

.form-success a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form--card h3,
.form--card .form__subtitle {
  color: var(--ink);
}

.form--card .form__subtitle {
  color: var(--muted);
}

/* ==========================================================================
   Подвал
   ========================================================================== */

.footer {
  padding: 62px 0 28px;
  background: #08131f;
  color: #93a4b4;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
  padding-bottom: 40px;
}

.logo--footer .logo__mark {
  background: rgba(255, 255, 255, .06);
}

.logo--footer .logo__name {
  color: var(--white);
}

.logo--footer .logo__tagline {
  color: #7f91a2;
}

.footer__brand > p {
  max-width: 360px;
  margin: 18px 0;
  font-size: 13px;
  line-height: 1.65;
  color: #8fa1b1;
}

.footer__phone {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
}

.footer__phone:hover {
  color: var(--accent);
}

.footer__mail {
  display: inline-block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--accent);
}

.footer__mail:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
}

.footer__nav h3 {
  margin-bottom: 14px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7e92a5;
}

.footer__nav a {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  color: #b3c2cf;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__disclaimer {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer__disclaimer p {
  max-width: 1000px;
  font-size: 10.8px;
  line-height: 1.65;
  color: #6f8395;
}

.footer__disclaimer p + p {
  margin-top: 8px;
  color: #7e92a5;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  font-size: 11px;
  color: #7e92a5;
}

.footer__bottom div {
  display: flex;
  gap: 20px;
}

.footer__bottom a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Кнопка наверх
   ========================================================================== */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #dbe3eb;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(13, 27, 42, .14);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, visibility .25s, transform .25s, background-color .2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   Диалог
   ========================================================================== */

.dialog {
  width: min(510px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.dialog::backdrop {
  background: rgba(5, 13, 22, .68);
  backdrop-filter: blur(3px);
}

.dialog[open] {
  animation: dialog-in .22s ease both;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.dialog__inner {
  position: relative;
  max-height: calc(100vh - 40px);
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: #5b6c7c;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.dialog__close:hover {
  background: var(--surface);
  color: var(--ink);
}

.dialog__head {
  padding-right: 32px;
}

.dialog__head h2 {
  margin-top: 12px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
}

.dialog__head p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.dialog .form {
  margin-top: 20px;
}

/* ==========================================================================
   Анимация появления
   ========================================================================== */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Адаптивность
   ========================================================================== */

@media (max-width: 1100px) {
  .header__inner {
    gap: 24px;
  }

  .nav {
    gap: 20px;
  }

  .header__phone {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header--open .nav {
    position: absolute;
    top: 100%;
    left: -24px;
    right: -24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 24px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(13, 27, 42, .12);
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
  }

  .header--open .nav a {
    padding: 13px 0;
    border-bottom: 1px solid #eef2f6;
    font-size: 15px;
  }

  .header--open .nav a:last-child {
    border-bottom: 0;
  }

  .header--open .nav .nav__phone,
  .header--open .nav__cta {
    display: flex;
  }

  .header--open .nav .nav__phone {
    padding: 15px 0 12px;
    border-bottom: 1px solid #eef2f6;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
  }

  .header--open .nav .nav__phone::after {
    display: none;
  }

  .header--open .nav__cta {
    width: 100%;
    margin-top: 14px;
    padding: 13px 18px;
  }

  .header__actions {
    margin-left: auto;
  }

  .header__inner {
    gap: 16px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero__panel {
    justify-self: start;
    max-width: 520px;
  }

  .hero__title em {
    white-space: normal;
  }

  .about__inner,
  .law__inner,
  .quiz__inner,
  .faq__inner,
  .contacts__inner {
    grid-template-columns: 1fr;
  }

  .about-card {
    max-width: 560px;
  }

  .faq__head {
    position: static;
  }

  .faq__head h2 {
    max-width: none;
  }

  .quiz__intro {
    max-width: 640px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .steps::before {
    display: none;
  }

  .contacts__info {
    max-width: 620px;
  }

  .contacts__form-wrap {
    max-width: 620px;
  }
}

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

  .stats__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 30px 0;
  }

  .stat {
    padding: 18px 24px;
  }

  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .mistakes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mistake,
  .mistake:nth-child(4),
  .mistake:nth-child(5) {
    grid-column: span 1;
  }

  .mistake:last-child {
    grid-column: span 2;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 32px);
  }

  .topbar__item--muted,
  .topbar__link {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
    min-height: 34px;
  }

  .topbar__left,
  .topbar__right {
    gap: 0;
  }

  .topbar__left {
    display: none;
  }

  .header__inner {
    min-height: 68px;
  }

  .logo__tagline {
    display: none;
  }

  .logo__mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .logo__mark svg {
    width: 25px;
    height: 25px;
  }

  .logo__name {
    font-size: 18px;
  }

  .header__actions .btn {
    padding: 10px 14px;
    font-size: 12.5px;
  }

  .header--open .nav {
    left: -16px;
    right: -16px;
    padding-inline: 16px;
  }

  .hero__inner {
    gap: 34px;
    padding-bottom: 64px;
  }

  .hero__title {
    font-size: clamp(32px, 8.8vw, 44px);
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__badges {
    display: grid;
    gap: 10px;
  }

  .lead-card {
    padding: 24px 20px;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    padding: 0 0 26px 72px;
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step__num {
    width: 50px;
    height: 50px;
    top: 0;
  }

  .step::after {
    content: "";
    position: absolute;
    top: 56px;
    bottom: 8px;
    left: 25px;
    border-left: 1px dashed #c7d2dd;
  }

  .step:last-child::after {
    display: none;
  }

  .law__points li {
    gap: 14px;
  }

  .quiz-card {
    padding: 22px 18px;
  }

  .mistakes__grid {
    grid-template-columns: 1fr;
  }

  .mistake,
  .mistake:nth-child(4),
  .mistake:nth-child(5),
  .mistake:last-child {
    grid-column: span 1;
  }

  .faq-item summary {
    font-size: 14.5px;
  }

  .faq-item__body {
    padding-right: 10px;
  }

  .form--card {
    padding: 24px 20px;
  }

  .form-success--card {
    padding: 48px 24px;
  }

  .footer {
    padding-top: 46px;
  }

  .footer__nav {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__bottom div {
    flex-wrap: wrap;
    gap: 14px;
  }

  .dialog__inner {
    padding: 26px 20px;
  }

  .dialog__head h2 {
    font-size: 22px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .header__actions .btn {
    display: none;
  }

  .hero__title {
    font-size: 31px;
  }

  .chips {
    gap: 8px;
  }

  .chip {
    padding: 9px 14px;
    font-size: 12.5px;
  }

  .quiz-card__nav .btn {
    flex: 1;
  }

  .quiz-result__actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Доступность: уменьшенная анимация
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .header,
  .topbar,
  .to-top,
  .dialog,
  .hero__panel,
  .footer__nav {
    display: none !important;
  }

  .hero,
  .law,
  .contacts {
    background: #fff !important;
    color: #000 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Страница документов
   ========================================================================== */

.legal-page {
  padding: clamp(40px, 6vw, 76px) 0 clamp(56px, 8vw, 96px);
  background: var(--surface);
}

.legal-page__inner {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
}

.legal-page__back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--ink);
}

.legal-page__meta {
  margin-top: 10px;
  font-size: 12.5px;
  color: #8a99a8;
}

.legal-page__note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--accent-soft);
  font-size: 13px;
  line-height: 1.6;
  color: #6a4c1c;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
}

.legal-page p,
.legal-page li {
  font-size: 14px;
  line-height: 1.7;
  color: #4a5b6b;
}

.legal-page p {
  margin-top: 10px;
}

.legal-page ul {
  margin-top: 10px;
  padding-left: 0;
}

.legal-page li {
  position: relative;
  margin-top: 6px;
  padding-left: 20px;
}

.legal-page li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-dark);
}

.legal-page a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__footer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #8494a3;
}

