/* Сайт SERMIX: тёмно-синий и янтарный акцент, mobile first, сетка до 1200 px. Шрифт Inter урезан до латиницы и кириллицы */
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/inter-regular-e1f8c11d.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-display: swap;
  src: url("/assets/inter-medium-5e7ebdfa.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-weight: 700;
  font-display: swap;
  src: url("/assets/inter-bold-73a67696.woff2") format("woff2");
}

:root {
  --navy: #0b1f3a;
  --navy-2: #13325c;
  --navy-3: #1d4475;
  --ink: #0f1b2d;
  --muted: #4b5a70;
  --line: #dde4ee;
  --line-strong: #7d8ba1;
  --soft: #f3f6fa;
  --accent: #f2b33d;
  --accent-hover: #e3a01f;
  --accent-soft: #fff1d1;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --on-dark-muted: #b9c5d6;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgb(11 31 58 / 0.04), 0 8px 24px rgb(11 31 58 / 0.06);
  --shadow-lg: 0 2px 6px rgb(11 31 58 / 0.05), 0 24px 56px rgb(11 31 58 / 0.12);
  --header-height: 72px;
}

/* Основа */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
}

:where(ul[class], ol[class]) {
  list-style: none;
  padding: 0;
}

svg {
  display: block;
  flex-shrink: 0;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--navy-3);
  outline-offset: 3px;
}

:is(.hero, .section--dark, .cta__panel, .footer, .price-card--featured, .notice--dark) :focus-visible {
  outline-color: var(--accent);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

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

.container {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 64px, 1200px);
  }
}

/* Узкая колонка текста по левому краю сетки, как заголовок страницы над ней */
.narrow > * {
  max-width: 880px;
}

/* Секции и сетки */

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section--flush {
  padding-top: 0;
}

.section--soft {
  background: var(--soft);
}

.section--dark {
  background: var(--navy);
  color: #fff;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

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

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

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

.section__title {
  font-size: clamp(30px, 1.6vw + 22px, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}

.section__title--small {
  margin-bottom: 24px;
  font-size: clamp(24px, 0.8vw + 20px, 30px);
}

.section--dark .section__title {
  color: #fff;
}

.section__lead {
  max-width: 680px;
  margin-top: 16px;
  font-size: clamp(17px, 0.3vw + 16px, 20px);
  color: var(--muted);
}

.section--dark .section__lead {
  color: var(--on-dark-muted);
}

.section__more {
  margin-top: 40px;
}

.section__title + :is(.checklist, .table-wrap) {
  margin-top: 28px;
}

.section__lead + .contact-links {
  margin-top: 20px;
}

.table-note + .btn {
  margin-top: 24px;
}

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

.stack {
  display: grid;
  gap: 20px;
  align-content: start;
}

.split {
  display: grid;
  gap: 32px;
  align-items: start;
}

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

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

@media (min-width: 1024px) {
  .grid {
    gap: 24px;
  }

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

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

  .split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
  }

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

  .split--reverse {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

/* Кнопки и ссылки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn--primary {
  background: var(--accent);
  color: var(--navy);
}

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

.btn--outline {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn--light {
  border-color: rgb(255 255 255 / 0.55);
  background: rgb(255 255 255 / 0.06);
  color: #fff;
}

.btn--light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

.btn--small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 15px;
}

.btn--large {
  min-height: 58px;
  padding: 16px 28px;
  font-size: 17px;
}

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

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

@media (max-width: 479px) {
  .btn-row .btn {
    width: 100%;
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section__lead + .link-arrow {
  margin-top: 24px;
}

/* Шапка */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 0.97);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.logo__bg {
  fill: var(--navy);
}

.logo__text {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.logo--inverse {
  color: #fff;
}

.logo--inverse .logo__bg {
  fill: var(--navy-2);
}

.header__nav {
  display: none;
}

.header.is-open .header__nav {
  display: block;
  position: absolute;
  inset: 100% 0 auto;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  padding: 8px 20px 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.nav__link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.nav__link.is-current {
  font-weight: 700;
  color: var(--navy);
}

.header__actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.header__phone,
.header__telegram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--navy);
  cursor: pointer;
}

.header__burger-close,
.header.is-open .header__burger-open {
  display: none;
}

.header.is-open .header__burger-close {
  display: block;
}

@media (min-width: 1180px) {
  .header__burger {
    display: none;
  }

  .header__nav,
  .header.is-open .header__nav {
    display: flex;
    position: static;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .nav {
    display: flex;
    gap: 26px;
    margin-left: 32px;
  }

  .nav__link {
    position: relative;
    padding: 8px 0;
    border: 0;
    font-size: 16px;
    color: var(--ink);
  }

  .nav__link:hover {
    color: var(--navy-3);
  }

  .nav__link.is-current::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
  }

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

  .header__phone {
    font-size: 16px;
  }

  .header__telegram,
  .header__audit {
    display: none;
  }
}

/* Первый экран главной */

.hero {
  padding-block: clamp(56px, 7vw, 104px);
  background:
    radial-gradient(900px 520px at 90% -10%, rgb(70 126 204 / 0.3), transparent 62%),
    radial-gradient(800px 480px at -10% 110%, rgb(40 92 170 / 0.45), transparent 60%),
    var(--navy);
  color: #fff;
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 64px;
  }
}

.hero__eyebrow {
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}

.hero__title {
  font-size: clamp(36px, 3.4vw + 20px, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

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

.hero__lead {
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(18px, 0.4vw + 16px, 21px);
  color: var(--on-dark-muted);
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 15px;
  color: var(--on-dark-muted);
}

.hero__panel {
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.06);
}

.hero__panel-title {
  font-size: 20px;
  font-weight: 700;
}

.hero__panel-label {
  margin: 20px 0 10px;
  font-size: 14px;
  color: var(--on-dark-muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 14px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  font-size: 15px;
  font-weight: 500;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}

.hero__facts dt {
  font-size: clamp(24px, 1vw + 18px, 30px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent);
}

.hero__facts dd {
  margin-top: 6px;
  font-size: 15px;
  color: var(--on-dark-muted);
}

/* Полоса правил под первым экраном */

.trust {
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}

.trust__list {
  display: grid;
  gap: 14px 32px;
}

@media (min-width: 640px) {
  .trust__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .trust__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.trust__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--navy);
}

/* Карточки */

.card {
  position: relative;
  padding: clamp(24px, 2vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.section--soft .card {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.icon-badge + .card__title,
.rule-card__icon + .card__title {
  margin-top: 20px;
}

.card__text {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
}

.card--service {
  display: flex;
  flex-direction: column;
}

.card__price {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 700;
  color: var(--navy);
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-3);
}

.card--link {
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.card--link:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card__link {
  text-decoration: none;
}

.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card__link:focus-visible {
  outline: none;
}

.card--link:has(.card__link:focus-visible) {
  outline: 3px solid var(--navy-3);
  outline-offset: 3px;
}

.card--row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--navy);
}

.icon-badge--large {
  width: 60px;
  height: 60px;
  border-radius: 16px;
}

.rule-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

/* На телефоне иконка встаёт рядом с заголовком карточки, а не над ним: так короче лента */
@media (max-width: 639px) {
  .card--feature,
  .card--service {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    padding: 20px;
  }

  :is(.card--feature, .card--service) > .icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  :is(.card--feature, .card--service) > .card__title {
    margin-top: 0;
    font-size: 18px;
  }

  :is(.card--feature, .card--service) > :is(.card__text, .card__price, .card__more) {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .card--service .card__price {
    margin-top: 14px;
    padding-top: 0;
  }

  .card--row {
    gap: 16px;
    padding: 20px;
  }

  .card--row .icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

.contact-card__value {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.contact-card__value:hover {
  text-decoration: underline;
}

/* Списки с отметками */

.checklist {
  display: grid;
  gap: 12px;
}

.card .checklist {
  margin-top: 16px;
}

.checklist li,
.result__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
}

.checklist--large li {
  font-size: 17px;
}

.checklist .icon,
.trust__list .icon,
.result__list .icon {
  width: 26px;
  height: 26px;
  margin-top: -1px;
  padding: 5px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--navy);
  stroke-width: 3;
}

.numbered {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 22px;
  list-style: decimal;
  color: var(--muted);
}

.rules {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .rules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.rules li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.05);
  font-size: 17px;
  font-weight: 500;
}

.rules__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  color: var(--accent);
}

@media (max-width: 639px) {
  .rules li {
    gap: 14px;
    padding: 14px 16px;
    font-size: 16px;
  }

  .rules__icon {
    width: 34px;
    height: 34px;
  }
}

.platforms {
  margin-top: 32px;
  color: var(--muted);
}

.platforms span {
  font-weight: 700;
  color: var(--navy);
}

/* Шаги */

.steps {
  display: grid;
  gap: 28px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .steps--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .steps--3 .step:not(:last-child)::before,
  .steps--4 .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 24px;
    right: 0;
    left: 64px;
    border-top: 2px dashed var(--line-strong);
    opacity: 0.5;
  }
}

.step {
  position: relative;
}

/* На телефоне шаги идут столбиком: номер слева, пунктир ведёт к следующему */
@media (max-width: 767px) {
  .step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
  }

  .step__num {
    grid-row: 1 / span 2;
  }

  .step__title {
    margin-top: 10px;
  }

  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 56px;
    bottom: -24px;
    left: 23px;
    border-left: 2px dashed var(--line-strong);
    opacity: 0.5;
  }
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.step__title {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.step__text {
  margin-top: 8px;
  font-size: 16px;
  color: var(--muted);
}

/* Цены */

.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.section--soft .price-card {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.price-card--featured,
.section--soft .price-card--featured {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.price-card__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.price-card__for {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

.price-card__price {
  margin-top: 20px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.price-card__price span {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.price-card__note {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.price-card .checklist {
  margin-block: 24px 28px;
}

.price-card .btn {
  margin-top: auto;
}

.price-card--featured .price-card__name {
  color: #fff;
}

.price-card--featured .price-card__price {
  color: var(--accent);
}

.price-card--featured :is(.price-card__for, .price-card__note, .price-card__price span) {
  color: var(--on-dark-muted);
}

.price-card--featured .checklist .icon {
  background: rgb(255 255 255 / 0.1);
  color: var(--accent);
}

.price-band {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .price-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
  }
}

.price-band__price {
  margin-top: 20px;
  font-size: clamp(32px, 1.4vw + 24px, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.price-band__price span {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.price-band__text {
  margin-top: 14px;
  color: var(--muted);
}

.price-band .section__title + .checklist {
  margin-top: 24px;
}

.price-band > div > .btn,
.price-band .btn-row {
  margin-top: 28px;
}

.mini-prices {
  margin: 12px 0 20px;
}

.mini-prices div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mini-prices dt {
  font-weight: 500;
}

.mini-prices dd {
  font-weight: 700;
  text-align: right;
  color: var(--navy);
}

.table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.section--soft .table-wrap {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.table th,
.table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table tr:last-child :is(th, td) {
  border-bottom: 0;
}

.table th {
  font-weight: 500;
}

.table td {
  font-weight: 700;
  color: var(--navy);
}

.table a {
  color: var(--navy-3);
}

.table--text th {
  white-space: nowrap;
}

.table--text td {
  font-weight: 400;
  color: var(--ink);
}

@media (max-width: 639px) {
  .table th,
  .table td {
    display: block;
  }

  .table th {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .table td {
    padding-top: 0;
  }
}

.table-note {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}

/* Блоки-пояснения, вопросы и ответы */

.notice {
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
}

.notice__title {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}

.notice .link-arrow {
  margin-top: 16px;
}

.notice--spaced {
  margin-top: 32px;
}

.section__head--after-notice {
  margin-top: clamp(56px, 7vw, 96px);
}

.notice--dark {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--navy);
  color: var(--on-dark-muted);
}

.notice--dark .notice__title {
  font-size: 22px;
  color: #fff;
}

.notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.08);
  color: var(--accent);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.section--soft .faq__item {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  list-style: none;
  cursor: pointer;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__chevron {
  color: var(--navy-3);
  transition: transform 0.2s;
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 24px 22px;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .faq-section {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 64px;
    align-items: start;
  }

  .faq-section .section__head {
    position: sticky;
    top: calc(var(--header-height) + 32px);
    margin-bottom: 0;
  }
}

/* Шапка внутренних страниц */

.page-head {
  padding-block: clamp(32px, 5vw, 72px) clamp(48px, 5vw, 72px);
  background: linear-gradient(180deg, var(--soft), #fff);
}

.breadcrumbs {
  margin-bottom: 28px;
  font-size: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line-strong);
}

.breadcrumbs a {
  color: var(--navy-3);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-head__title {
  max-width: 900px;
  font-size: clamp(34px, 2.6vw + 22px, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}

.page-head__lead {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(18px, 0.4vw + 16px, 21px);
  color: var(--muted);
}

.page-head .btn-row {
  margin-top: 28px;
}

/* Формы */

.form-card {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.form-card__title {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

.form,
.form__row {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
}

.field__optional {
  font-weight: 400;
  color: var(--muted);
}

.input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-size: 17px;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input::placeholder {
  color: #6b778a;
}

.input:hover {
  border-color: var(--navy-3);
}

.input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgb(29 68 117 / 0.18);
}

textarea.input {
  min-height: 112px;
  resize: vertical;
}

select.input {
  appearance: none;
  padding-right: 48px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
}

.field.is-invalid .input {
  border-color: var(--danger);
}

.field.is-invalid .input:focus {
  box-shadow: 0 0 0 4px rgb(180 35 24 / 0.15);
}

.field__hint,
.field__error {
  margin-top: 6px;
  font-size: 14px;
}

.field__hint {
  color: var(--muted);
}

.field__error {
  font-weight: 500;
  color: var(--danger);
}

.field__error:empty {
  display: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
}

.consent input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--navy);
}

.consent a {
  color: var(--navy-3);
}

.form__alert {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--danger-soft);
  font-weight: 500;
  color: var(--danger);
}

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

/* Заявка внизу страниц */

.section.cta {
  padding-top: clamp(32px, 4vw, 56px);
}

.cta .form-card {
  border-color: transparent;
  box-shadow: none;
}

.cta__panel {
  display: grid;
  gap: 40px;
  align-items: start;
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: 32px;
  background:
    radial-gradient(700px 420px at 100% 0%, rgb(70 126 204 / 0.3), transparent 60%),
    var(--navy);
  color: #fff;
}

@media (min-width: 1024px) {
  .cta__panel {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }
}

/* На телефоне панель заявки во всю ширину и переходит прямо в подвал */
@media (max-width: 639px) {
  .section.cta {
    padding-bottom: 0;
  }

  .cta .container {
    width: 100%;
  }

  .cta__panel {
    padding: 40px 20px 20px;
    border-radius: 0;
  }

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

.cta .section__title {
  color: #fff;
}

.cta .section__lead {
  color: var(--on-dark-muted);
}

.cta__or {
  margin-top: 28px;
  font-weight: 700;
}

.cta__free {
  display: grid;
  gap: 10px;
  margin: 12px 0 32px;
}

.cta__free a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.35);
  text-underline-offset: 5px;
}

.cta__free a:hover {
  text-decoration-color: var(--accent);
}

.cta__free .icon {
  color: var(--accent);
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

:is(.cta, .footer) .contact-links a {
  color: #fff;
}

/* Результат проверки отзыва и служебные страницы */

.result {
  margin-bottom: 56px;
  border-left: 4px solid var(--accent);
}

.result__list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.result__note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

.narrow > .section__title--small {
  margin-bottom: 32px;
}

.error-page__code {
  margin-bottom: 8px;
  font-size: clamp(72px, 8vw, 128px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy-3);
}

.error-page .contact-links {
  margin-top: 28px;
}

.prose > * {
  max-width: 820px;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  line-height: 1.3;
  color: var(--navy);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  margin-top: 12px;
}

.prose ul {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.prose a {
  color: var(--navy-3);
}

/* Подвал */

.footer {
  padding-block: 64px 32px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  background: var(--navy);
  font-size: 15px;
  color: var(--on-dark-muted);
}

.footer__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: auto;
  }
}

.footer__about {
  max-width: 340px;
  margin: 16px 0 24px;
}

.footer__title {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

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

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__bottom {
  display: grid;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 14px;
}

@media (min-width: 1024px) {
  .footer__bottom {
    grid-template-columns: auto 1fr auto;
    gap: 32px;
  }
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
