/* ============================================================
   GasAlfa.ru — единый CSS
   Направление: Corporate trust + элементы Organic minimal (бриф 02).

   Anti-default (см. 03, п. 2 — чёрный список клише):
   - Без glassmorphism, без сине-фиолетовых градиентов.
   - Без Inter/Poppins — заголовки и текст на Golos Text.
   - Без «3 одинаковые карточки с круглыми иконками».
   - Без pill-кнопок как единственной формы — основная кнопка
     прямоугольная, радиус 8–12px.
   - Без градиентного текста и размытых blob-фонов.
   Тени — только через переменные --shadow-*.
   ============================================================ */

:root {
  /* Anchor + базовая палитра */
  --color-anchor: #0DEACF;
  --color-anchor-dark: #0BBFA8;
  --color-anchor-soft: rgba(13, 234, 207, 0.12);
  --color-blue: #123A5C;
  --color-blue-dark: #0C2A44;
  --color-green: #0F6B4F;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F3F7F7;
  --color-text: #1A1A1A;
  --color-muted: #5A6B72;

  /* Типографика */
  --font-heading: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Golos Text', 'PT Sans', system-ui, sans-serif;

  /* Радиусы */
  --radius-sm: 8px;
  --radius-md: 12px;

  /* Тени */
  --shadow-sm: 0 2px 8px rgba(13, 234, 207, 0.06);
  --shadow-md: 0 8px 24px rgba(13, 234, 207, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 58, 92, 0.10);

  /* Рамки */
  --border-thin: 1px solid rgba(0, 0, 0, 0.06);

  /* Раскладка */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

body.no-scroll {
  overflow: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-blue-dark);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul, ol { padding-left: 1.25em; }

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

::selection {
  background: var(--color-anchor-soft);
}

/* ---------- Утилиты ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.8em 1.4em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--color-anchor);
  color: var(--color-blue-dark);
}

.btn--primary:hover {
  background: var(--color-anchor-dark);
  color: var(--color-blue-dark);
}

.btn--dark {
  background: var(--color-blue);
  color: #FFFFFF;
}

.btn--dark:hover {
  background: var(--color-blue-dark);
  color: #FFFFFF;
}

.btn--ghost {
  background: transparent;
  color: var(--color-blue);
  border-color: rgba(18, 58, 92, 0.25);
}

.btn--ghost:hover {
  border-color: var(--color-anchor-dark);
  color: var(--color-anchor-dark);
}

.btn--sm {
  font-size: 0.9rem;
  padding: 0.6em 1.1em;
}

.btn--lg {
  font-size: 1.05rem;
  padding: 0.9em 1.7em;
}

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: var(--border-thin);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.main-nav {
  margin-left: auto;
}

.main-nav__list {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
}

.main-nav__link:hover { color: var(--color-anchor-dark); }

.header__phone {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-blue);
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.burger__line {
  display: block;
  height: 2px;
  background: var(--color-blue);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open .burger__line:nth-child(2) { opacity: 0; }
.burger.is-open .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding-top: clamp(40px, 7vw, 80px);
  padding-bottom: clamp(40px, 7vw, 80px);
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green);
  background: var(--color-anchor-soft);
  border-radius: var(--radius-sm);
  padding: 0.35em 0.8em;
  margin-bottom: 1em;
}

.hero__title {
  margin-bottom: 0.4em;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 34em;
  margin-bottom: 1.5em;
}

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

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.hero__fact {
  display: flex;
  flex-direction: column;
}

.hero__fact b {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-blue);
}

.hero__fact span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Панно документа в hero — не стоковое фото */
.hero__panel {
  background: var(--color-blue);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hero__panel h2 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.hero__doc {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__doc:last-child { border-bottom: 0; }

.hero__doc svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.hero__doc b {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.hero__doc span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Секции ---------- */
.section {
  padding-top: clamp(40px, 7vw, 76px);
  padding-bottom: clamp(40px, 7vw, 76px);
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__head {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.section__lead {
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* ---------- Сетки ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

/* ---------- Карточки ---------- */
.card {
  background: #FFFFFF;
  border: var(--border-thin);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.card--tight { padding: 20px; }

.card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-anchor-soft);
  color: var(--color-green);
  flex-shrink: 0;
}

.card__mark svg {
  width: 24px;
  height: 24px;
}

.card h3 { margin-bottom: 8px; }

.card p { color: var(--color-muted); margin-bottom: 0; }

/* Преимущества — нестандартная сетка (не 3 одинаковые карточки) */
.advantages {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border-thin);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.advantage {
  background: #FFFFFF;
  padding: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.advantage--wide { grid-column: span 2; }

.advantage__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-anchor-dark);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.advantage h3 { font-size: 1.05rem; margin-bottom: 6px; }
.advantage p { font-size: 0.92rem; color: var(--color-muted); margin: 0; }

/* ---------- Таблица характеристик ---------- */
.table-wrap {
  border: var(--border-thin);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: var(--border-thin);
}

.spec-table thead th {
  background: var(--color-blue);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
}

.spec-table tbody tr:last-child td { border-bottom: 0; }

.spec-table tbody tr:nth-child(even) td { background: var(--color-bg-alt); }

.spec-table td:first-child { font-weight: 600; color: var(--color-blue-dark); }

/* ---------- Signature: «Соответствие и документы» ---------- */
.stepper {
  max-width: 820px;
}

.step {
  position: relative;
  padding-left: 56px;
  border-bottom: var(--border-thin);
}

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

.step::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--color-anchor-soft);
}

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

.step__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-blue-dark);
}

.step__num {
  position: absolute;
  left: 0;
  top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--color-anchor);
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.step.is-open .step__num {
  background: var(--color-anchor);
  color: var(--color-blue-dark);
}

.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-anchor-soft);
  color: var(--color-green);
  flex-shrink: 0;
}

.step__icon svg { width: 22px; height: 22px; }

.step__title { flex: 1; }

.step__toggle {
  width: 22px;
  height: 22px;
  color: var(--color-muted);
  transition: transform 0.2s ease;
}

.step.is-open .step__toggle { transform: rotate(45deg); }

.step__body {
  display: none;
  padding: 0 0 20px 54px;
  color: var(--color-muted);
}

.step.is-open .step__body { display: block; }

/* ---------- Процесс ---------- */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: process;
}

.process__item {
  position: relative;
  padding-top: 44px;
  counter-increment: process;
}

.process__item::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-anchor-dark);
}

.process__item h3 { font-size: 1rem; margin-bottom: 6px; }
.process__item p { font-size: 0.92rem; color: var(--color-muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq {
  border: var(--border-thin);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq__item {
  border-bottom: var(--border-thin);
}

.faq__item:last-child { border-bottom: 0; }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  background: #FFFFFF;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-blue-dark);
}

.faq__q:hover { color: var(--color-anchor-dark); }

.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-anchor-dark);
  transition: transform 0.2s ease;
}

.faq__item.is-open .faq__icon { transform: rotate(45deg); }

.faq__a {
  display: none;
  padding: 0 22px 20px;
  color: var(--color-muted);
}

.faq__item.is-open .faq__a { display: block; }

/* ---------- Табы ---------- */
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tabs__btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55em 1.1em;
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tabs__btn:hover { border-color: var(--color-anchor); }

.tabs__btn.is-active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #FFFFFF;
}

.tabs__panel[hidden] { display: none; }

/* ---------- CTA ---------- */
.cta {
  background: var(--color-blue);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
}

.cta h2 {
  color: #FFFFFF;
  margin-bottom: 0.4em;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 46em;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cta .btn--ghost {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta .btn--ghost:hover {
  border-color: var(--color-anchor);
  color: var(--color-anchor);
}

/* ---------- Хлебные крошки ---------- */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-muted);
  padding: 16px 0;
}

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

.breadcrumbs li { display: flex; align-items: center; gap: 6px; }

.breadcrumbs li + li::before {
  content: "/";
  color: var(--color-muted);
}

.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-anchor-dark); }
.breadcrumbs [aria-current="page"] { color: var(--color-blue); font-weight: 600; }

/* ---------- Внутренняя hero ---------- */
.page-hero {
  background: var(--color-bg-alt);
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.page-hero .hero__lead { margin-bottom: 0; }

/* ---------- Контакты ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

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

.contact-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-anchor-soft);
  color: var(--color-green);
  flex-shrink: 0;
}

.contact-list__icon svg { width: 22px; height: 22px; }

.contact-list b {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-blue-dark);
}

.contact-list a { color: var(--color-blue); }
.contact-list span { color: var(--color-muted); font-size: 0.92rem; }

/* ---------- Блог ---------- */
.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: var(--border-thin);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card__tag {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-green);
  background: var(--color-anchor-soft);
  border-radius: var(--radius-sm);
  padding: 0.3em 0.7em;
  margin-bottom: 12px;
}

.post-card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.post-card h2 a { color: var(--color-blue-dark); }
.post-card h2 a:hover { color: var(--color-anchor-dark); }
.post-card p { font-size: 0.92rem; color: var(--color-muted); margin-bottom: 12px; }
.post-card__more { margin-top: auto; font-weight: 600; font-size: 0.9rem; }

/* ---------- Статья ---------- */
.article {
  max-width: 760px;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.article__body h2 {
  margin-top: 1.6em;
  font-size: 1.45rem;
}

.article__body h3 {
  margin-top: 1.4em;
}

.article__body ul,
.article__body ol {
  margin-bottom: 1em;
}

.article__body blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--color-anchor);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-muted);
}

.article__cta {
  margin-top: 32px;
}

/* ---------- Модалка ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 42, 68, 0.55);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-muted);
  cursor: pointer;
}

.modal__close:hover { color: var(--color-blue-dark); }

.modal__dialog h2 { margin-bottom: 4px; }
.modal__sub { color: var(--color-muted); font-size: 0.92rem; margin-bottom: 20px; }

/* ---------- Форма ---------- */
.form { display: grid; gap: 14px; }

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

.field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-blue-dark);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7em 0.85em;
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--color-text);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--color-anchor);
  outline-offset: 0;
}

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

.field--error input,
.field--error textarea {
  border-color: #C0392B;
}

.field__error {
  font-size: 0.8rem;
  color: #C0392B;
  display: none;
}

.field--error .field__error { display: block; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-anchor-dark);
}

.form__success {
  display: none;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-anchor-soft);
  color: var(--color-green);
  font-weight: 600;
}

.form__success.is-visible { display: block; }

/* ---------- Футер ---------- */
.site-footer {
  background: var(--color-blue-dark);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer__title {
  color: #FFFFFF;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

.footer__list a { color: rgba(255, 255, 255, 0.8); }
.footer__list a:hover { color: var(--color-anchor); }

.footer__note {
  font-size: 0.92rem;
  max-width: 34em;
}

.logo--footer { margin-bottom: 14px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.footer__bottom p { margin: 0; }

/* ---------- 404 ---------- */
.error-page {
  text-align: center;
  padding-top: clamp(48px, 10vw, 100px);
  padding-bottom: clamp(48px, 10vw, 100px);
}

.error-page__code {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 1;
  color: var(--color-anchor-dark);
  margin-bottom: 0.1em;
}

.error-page p { color: var(--color-muted); max-width: 36em; margin: 0 auto 24px; }

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1023px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: #FFFFFF;
    padding: 24px var(--gutter);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    z-index: 40;
  }

  .main-nav.is-open { transform: translateX(0); }

  .main-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .main-nav__link {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    border-bottom: var(--border-thin);
  }

  .header__phone { display: none; }
  .header__inner .btn { margin-left: auto; }
  .burger { display: flex; }

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

  .advantages { grid-template-columns: repeat(2, 1fr); }
  .advantage--wide { grid-column: span 2; }

  .process { grid-template-columns: repeat(2, 1fr); }
  .post-list { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__panel { order: -1; }

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

  .advantages { grid-template-columns: 1fr; }
  .advantage--wide { grid-column: span 1; }

  .process { grid-template-columns: 1fr; }
  .post-list { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }

  .step { padding-left: 44px; }
  .step::before { left: 15px; }
  .step__num { width: 32px; height: 32px; font-size: 0.85rem; }
  .step__body { padding-left: 0; }
}

@media (min-width: 1440px) {
  .hero__inner { padding-top: 88px; padding-bottom: 88px; }
}
