/* ==========================================================================
   Лендинг МОО «Общество потребителей СПб и ЛО»
   Без внешних CDN, шрифтов и изображений. Адаптив 320–1440, контраст AA.
   ========================================================================== */

:root {
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #4b5563;
  --ink-4: #52606d;
  --brand: #0b4f6c;
  --brand-dark: #083a50;
  --brand-mid: #0d5f80;
  --brand-soft: #e7f1f6;
  --brand-tint: #f3f9fc;
  --green: #0b6b52;
  --green-soft: #e7f4ee;
  --warn-ink: #6b3300;
  --warn-bg: #fff7ed;
  --warn-line: #ecd39a;
  --danger: #9b1c1c;
  --line: #d5dee6;
  --line-soft: #e2e9ee;
  --bg: #f6f8fa;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 14px 40px rgba(11, 79, 108, 0.08);
  --shadow-sm: 0 4px 14px rgba(11, 79, 108, 0.07);
  --focus: #0b4f6c;
  --focus-light: #ffd08a;
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

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

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  line-height: 1.22;
  text-wrap: balance;
  overflow-wrap: break-word;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-dark);
}

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

.hero :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--focus-light);
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Утилиты
   -------------------------------------------------------------------------- */

.container {
  --gutter: clamp(16px, 4vw, 32px);
  width: min(1140px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -140px;
  z-index: 100;
  padding: 12px 20px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-sm);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

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

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn--ghost:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-dark);
}

.btn--sm {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 14.5px;
  border-radius: 10px;
}

.btn--lg {
  min-height: 54px;
  padding: 15px 28px;
  font-size: 17px;
}

.btn--link {
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--brand);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn--link:hover {
  color: var(--brand-dark);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  min-height: 78px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand-mid), var(--brand-dark));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand__text {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.brand__small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-4);
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: inline-block;
  padding: 8px 2px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav__link:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

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

.header__phone {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

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

.header__cta {
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px) 0 clamp(44px, 7vw, 76px);
  background:
    radial-gradient(900px 420px at 82% -8%, rgba(255, 255, 255, 0.16), transparent 62%),
    radial-gradient(700px 500px at -10% 110%, rgba(18, 122, 148, 0.45), transparent 65%),
    linear-gradient(158deg, #0a3c53 0%, #0b4f6c 58%, #0d5f80 100%);
  color: #fff;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(120% 95% at 80% 6%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 95% at 80% 6%, #000 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bfdbe7;
}

.hero__title {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(31px, 5.6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero__lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(16.5px, 2vw, 19px);
  line-height: 1.55;
  color: #e6f1f6;
}

.disclaimer {
  max-width: 830px;
  margin: 28px 0 26px;
  padding: 20px 22px 20px 24px;
  background: #0b4257;
  border: 1px solid #3f7188;
  border-left: 5px solid #f0b45c;
  border-radius: 12px;
  color: #f2f8fb;
}

.disclaimer__title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.3vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.disclaimer__text {
  margin: 0;
  font-size: clamp(15px, 1.9vw, 17.5px);
  line-height: 1.55;
  color: #eaf4f9;
}

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

.hero .btn--primary {
  background: #fff;
  border-color: #fff;
  color: var(--brand-dark);
}

.hero .btn--primary:hover {
  background: #e9f4f9;
  border-color: #e9f4f9;
  color: var(--brand-dark);
}

.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.hero__note {
  margin: 12px 0 0;
  font-size: 14px;
  color: #d3e5ee;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero__fact {
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 500;
  color: #f2f8fb;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------------------
   Секции
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(44px, 6.5vw, 84px) 0;
  scroll-margin-top: 12px;
}

.section--muted {
  background: #eef3f7;
}

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

.section__kicker {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand);
}

.section__kicker-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 79, 108, 0.45);
}

.section__kicker-link:hover {
  color: var(--brand-dark);
  border-bottom-color: var(--brand-dark);
}

.section__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section__lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(16px, 1.7vw, 17.5px);
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Направления
   -------------------------------------------------------------------------- */

.directions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 18px;
}

.direction {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.direction:hover {
  border-color: #a9c6d5;
  box-shadow: var(--shadow);
}

.direction__num {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.direction__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.direction__desc {
  margin: 0 0 16px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.direction__label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.ticks {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.direction__cta {
  margin-top: auto;
  padding-top: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.direction__cta:hover {
  text-decoration: underline;
}

.directions__note {
  margin: 22px 0 0;
  font-size: 15px;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Как работает
   -------------------------------------------------------------------------- */

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-step__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 0 14px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 18px;
  font-weight: 800;
}

.flow-step__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.flow-step__text {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--ink-2);
}

.flow-step__meta {
  margin: auto 0 0;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   Почему бесплатно
   -------------------------------------------------------------------------- */

.free__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.free__text p {
  margin: 0 0 14px;
  font-size: 16.5px;
  color: var(--ink-2);
}

.free__text .section__title {
  margin-bottom: 16px;
}

.free__note {
  padding: 13px 16px;
  border-left: 3px solid #b45309;
  border-radius: 0 10px 10px 0;
  background: var(--warn-bg);
  color: var(--warn-ink) !important;
  font-size: 14.5px !important;
}

.free-list {
  margin: 0;
  padding: 6px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.free-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.free-row:last-child {
  border-bottom: 0;
}

.free-row dt {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}

.free-row dd {
  margin: 0;
  text-align: right;
}

.free-row__price {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand);
  white-space: nowrap;
}

.free-row__hint {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink-4);
}

.free-row--accent {
  margin: 4px -14px;
  padding: 14px;
  border-bottom: 0;
  border-radius: 10px;
  background: var(--brand-tint);
}

/* --------------------------------------------------------------------------
   Что подготовить
   -------------------------------------------------------------------------- */

.prepare__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.panel {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel__title {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 700;
}

.checklist {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.callout {
  margin: 22px 0 0;
  padding: 14px 18px;
  background: #fff8e7;
  border: 1px solid var(--warn-line);
  border-radius: 12px;
  font-size: 15px;
  color: #5b3a00;
}

/* --------------------------------------------------------------------------
   Об обществе
   -------------------------------------------------------------------------- */

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.about__text > p {
  margin: 0 0 14px;
  font-size: 16.5px;
  color: var(--ink-2);
}

.about__quote {
  margin: 24px 0 12px;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: #f2f7fa;
}

.about__quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

.about__source {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-4);
}

.about__facts {
  position: sticky;
  top: 24px;
}

.facts {
  margin: 0;
}

.facts__row {
  display: grid;
  gap: 2px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.facts__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.facts__value {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand);
}

.facts__label {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

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

.faq__item[open] {
  border-color: #b8d0dd;
  box-shadow: var(--shadow-sm);
}

.faq__question {
  position: relative;
  padding: 16px 52px 16px 18px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq__question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--brand);
}

.faq__item[open] .faq__question::after {
  content: "–";
}

.faq__question:hover {
  color: var(--brand);
}

.faq__answer {
  padding: 0 18px 18px;
}

.faq__answer p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Форма
   -------------------------------------------------------------------------- */

.section--apply {
  background: linear-gradient(180deg, #eef4f8 0%, #f7fafc 100%);
}

.apply__layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.apply__aside {
  position: sticky;
  top: 24px;
}

.apply__aside > p {
  margin: 0 0 14px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.apply__aside .section__title {
  margin-bottom: 14px;
}

.apply__list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.apply__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.apply__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.apply__phone {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-3);
}

.apply__phone a {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.wizard {
  max-width: 760px;
  padding: clamp(18px, 3vw, 32px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.wizard__top {
  margin-bottom: 22px;
}

.progressbar {
  height: 8px;
  overflow: hidden;
  background: #e4ecf1;
  border-radius: 999px;
}

.progressbar__fill {
  display: block;
  width: 16.67%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #127a94);
  transition: width 0.3s ease;
}

.wizard__progress-label {
  margin: 9px 0 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
}

.wizard__chips {
  display: flex;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-3);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.chip:hover:not([disabled]) {
  border-color: var(--brand);
  color: var(--brand);
}

.chip[aria-current="step"] {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.chip.is-done {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.chip[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.wizard__form {
  min-width: 0;
}

.wizard-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.wizard-step:focus {
  outline: none;
}

.wizard-step__legend {
  display: block;
  width: 100%;
  margin: 0 0 4px;
  padding: 0;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.wizard-step__hint {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--ink-3);
}

.field {
  min-width: 0;
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid #c6d3dd;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(11, 79, 108, 0.14);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b42318;
  background: #fffafa;
}

.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.14);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field__hint {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-4);
}

.counter {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.field__error {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--danger);
}

.choices {
  display: grid;
  gap: 10px;
  margin-bottom: 6px;
}

.choice {
  position: relative;
  display: block;
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.choice__body {
  position: relative;
  display: block;
  padding: 14px 16px 14px 50px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.choice__body::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 2px solid #aebfcc;
  border-radius: 50%;
  background: #fff;
}

.choice__body::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--brand);
  transform: scale(0);
  transition: transform 0.12s ease;
}

.choice:hover .choice__body {
  border-color: #a9c6d5;
}

.choice input:focus-visible + .choice__body {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(11, 79, 108, 0.18);
}

.choice input:checked + .choice__body {
  border-color: var(--brand);
  background: var(--brand-tint);
}

.choice input:checked + .choice__body::before {
  border-color: var(--brand);
}

.choice input:checked + .choice__body::after {
  transform: scale(1);
}

.choice input[aria-invalid="true"] + .choice__body {
  border-color: #b42318;
}

.choice__title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.choice__text {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-3);
}

.dropzone {
  position: relative;
  padding: 24px 18px;
  border: 2px dashed #b6c7d3;
  border-radius: var(--radius);
  background: #f8fbfd;
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dropzone.is-drag {
  border-color: var(--brand);
  background: #eaf4f9;
}

.dropzone__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.dropzone__label {
  display: block;
  cursor: pointer;
}

.dropzone__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
}

.dropzone__label:hover .dropzone__title {
  background: var(--brand-dark);
}

.dropzone__input:focus-visible + .dropzone__label .dropzone__title {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.dropzone__hint {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-4);
}

.filelist {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.filelist__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f9fb;
}

.filelist__meta {
  min-width: 0;
}

.filelist__name {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.filelist__size {
  display: block;
  font-size: 12.5px;
  color: var(--ink-4);
}

.filelist__remove {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #8a1c1c;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.filelist__remove:hover {
  background: #fdecec;
  border-color: #e3b4b4;
}

.summary {
  margin: 0 0 20px;
}

.summary__row {
  display: grid;
  grid-template-columns: minmax(92px, 140px) minmax(0, 1fr);
  gap: 2px 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}

.summary__row dt {
  font-weight: 600;
  color: var(--ink-4);
}

.summary__row dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.summary__edit {
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--brand);
}

.consent label {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.consent__note {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-4);
}

.form-alert {
  margin: 0 0 18px;
  padding: 13px 16px;
  border: 1px solid #e3b4b4;
  border-radius: 10px;
  background: #fdecec;
  color: #7f1d1d;
  font-size: 14.5px;
  font-weight: 500;
}

.form-alert:focus {
  outline: none;
}

.wizard__nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.wizard__nav .btn {
  min-height: 52px;
  font-size: 16.5px;
}

#next-step,
#submit-step {
  flex: 1 1 auto;
}

.wizard__meta {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-4);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Результат
   -------------------------------------------------------------------------- */

.result {
  margin-top: 6px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #cfe2ec;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f0f8fc, #fff);
}

.result:focus {
  outline: none;
}

.result__badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result__badge--demo {
  background: #b45309;
}

.result__title {
  margin: 12px 0 10px;
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 800;
}

.result__id-label {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.result__id {
  margin: 0 0 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand);
  overflow-wrap: anywhere;
}

.result__status {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-2);
}

.result__files {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--ink-3);
}

.result__files.is-warn {
  padding: 10px 12px;
  border: 1px solid var(--warn-line);
  border-radius: 10px;
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.result__files button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1.5px solid #b45309;
  border-radius: 8px;
  background: #fff;
  color: #7a3e00;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.result__note {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-4);
}

.result__next {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.result .btn--link {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Cookie-баннер
   -------------------------------------------------------------------------- */

.cookie {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  max-height: 60vh;
  padding: 16px 0;
  overflow: auto;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 34px rgba(11, 79, 108, 0.16);
}

.cookie__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 28px;
}

.cookie__text {
  max-width: 680px;
}

.cookie__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.cookie__text p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.cookie__status {
  min-height: 1.2em;
  margin-top: 4px !important;
  font-size: 13px !important;
  color: var(--ink-3) !important;
}

.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cookie__actions .btn {
  min-height: 44px;
  padding: 9px 16px;
  font-size: 14.5px;
}

.cookie__withdraw {
  font-size: 13.5px;
}

body.cookie-open {
  padding-bottom: var(--cookie-h, 0px);
}

.footer__cookie {
  margin: 12px 0 0;
}

.footer__cookie-btn {
  padding: 0;
  border: 0;
  background: none;
  color: #dceaf2;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer__cookie-btn:hover {
  color: #fff;
}

@media (max-width: 639px) {
  .cookie {
    max-height: 55vh;
    padding: 12px 0;
  }

  .cookie__actions {
    width: 100%;
  }

  .cookie__actions .btn {
    flex: 1 1 auto;
  }

  .cookie__withdraw {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
}

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

.site-footer {
  padding: 56px 0 24px;
  background: #0c1a23;
  color: #cfdbe4;
  font-size: 15px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 44px);
}

.footer__name {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.footer__brand p {
  margin: 0 0 10px;
}

.footer__req {
  font-size: 14px;
  color: #a9bcc9;
}

.footer__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.footer__col p {
  margin: 0 0 10px;
}

.footer__col a {
  color: #dceaf2;
}

.footer__col a:hover {
  color: #fff;
}

.footer__small {
  font-size: 13px;
  color: #a9bcc9;
}

.domofon {
  margin: 12px 0 0 !important;
  padding: 12px 14px;
  border-left: 3px solid #f0b45c;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.07);
  font-size: 14.5px;
  line-height: 1.5;
  color: #e6eef3;
}

.domofon strong {
  color: #ffd08a;
}

.footer__links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__disclaimer {
  max-width: 920px;
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  line-height: 1.55;
  color: #a9bcc9;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 13px;
  color: #8fa5b4;
}

.footer__bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
  .header__inner {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding-block: 12px;
  }

  .nav {
    order: 3;
    flex: 1 1 100%;
    margin-left: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav__list {
    width: max-content;
    gap: 16px;
    padding-bottom: 2px;
  }

  .header__contacts {
    margin-left: auto;
  }

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

  .apply__aside {
    position: static;
  }

  .wizard {
    max-width: 100%;
  }

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

@media (max-width: 899px) {
  .free__layout,
  .about__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__facts {
    position: static;
  }

  .about__facts .facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }

  .facts__row {
    border-bottom: 1px solid var(--line-soft);
  }

  .about__facts .facts__row:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 639px) {
  body {
    font-size: 16.5px;
  }

  .header__inner {
    gap: 10px;
  }

  .brand {
    flex: 1 1 100%;
  }

  .header__contacts {
    order: 2;
    flex: 1 1 100%;
    justify-content: space-between;
    margin-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
  }

  .nav {
    order: 3;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

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

  .summary__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .wizard__nav {
    flex-wrap: wrap;
  }

  #prev-step {
    flex: 1 1 100%;
    order: 2;
  }

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

@media (max-width: 399px) {
  .brand__mark {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .brand__small {
    font-size: 10.5px;
  }

  .header__phone {
    font-size: 15px;
  }

  .header__cta {
    padding-inline: 12px;
    font-size: 13.5px;
  }

  .hero__fact {
    padding: 7px 12px;
    font-size: 13px;
  }

  .chip {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .wizard__chips {
    gap: 6px;
  }

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

  .about__facts .facts__row:nth-last-child(2) {
    border-bottom: 1px solid var(--line-soft);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero__pattern,
  .hero__actions,
  .wizard,
  .skip-link,
  .directions__note {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .hero {
    padding: 0;
    background: #fff;
    color: #000;
  }

  .hero__title,
  .hero__lead,
  .hero__note,
  .hero__eyebrow,
  .disclaimer,
  .disclaimer__title,
  .disclaimer__text,
  .section__title,
  .section__lead,
  .direction__title,
  .direction__desc {
    color: #000;
  }

  .section {
    padding: 12px 0;
    break-inside: avoid;
  }

  .section--muted,
  .section--apply {
    background: #fff;
  }

  .direction,
  .flow-step,
  .panel,
  .faq__item {
    box-shadow: none;
    break-inside: avoid;
  }

  .faq__answer {
    display: block !important;
  }
}

/* honeypot: скрыто от людей, доступно ботам (SECURITY_AUDIT S-03) */.hp-field{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden}

