/* =========================================================
   ИНФОРМИУМ — лендинг 1С. Направление «Конверсия / Лендинг».
   Палитра фирменных цветов 1С задана через CSS-переменные.
   ========================================================= */

:root {
  /* Фирменные цвета 1С */
  --c-yellow: #FFDD2D;
  --c-yellow-2: #FFD200;
  --c-graphite: #1B1E24;
  --c-black: #111317;
  --c-red: #E21A1A;

  /* Светлые поверхности */
  --c-white: #FFFFFF;
  --c-bg: #F6F7F9;

  /* Текст */
  --c-text: #1B1E24;
  --c-text-muted: #5b626e;
  --c-text-light: #c7ccd6;

  /* Линии и тени */
  --c-border: #e6e8ee;
  --shadow-sm: 0 2px 8px rgba(17, 19, 23, .06);
  --shadow-md: 0 12px 30px rgba(17, 19, 23, .10);
  --shadow-lg: 0 24px 60px rgba(17, 19, 23, .18);
  --shadow-yellow: 0 18px 50px rgba(255, 210, 0, .35);

  /* Радиусы */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  /* Сетка */
  --container: 1180px;
  --gap: clamp(16px, 3vw, 32px);

  --header-h: 72px;
}

/* ----------------- Базовые сбросы ----------------- */
*, *::before, *::after { box-sizing: border-box; }

/* Атрибут hidden всегда выигрывает у любых display-правил (иначе элементы
   с display в CSS — меню, тексты ошибок — «всплывают», хотя hidden выставлен) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* страховка от случайного горизонтального скролла */
}

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

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

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* Видимый фокус для доступности */
:focus-visible {
  outline: 3px solid var(--c-yellow-2);
  outline-offset: 2px;
  border-radius: 4px;
}
/* у заголовка успеха фокус без рамки-кольца (он программный) */
.form-success__title:focus-visible { outline: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

/* ----------------- Кнопки ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .75; cursor: progress; transform: none; }

.btn--primary {
  background: var(--c-yellow);
  color: var(--c-black);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--c-yellow-2);
  box-shadow: var(--shadow-yellow);
}

.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border-color: rgba(27, 30, 36, .18);
}
.btn--ghost:hover {
  border-color: var(--c-black);
  background: rgba(17, 19, 23, .04);
}

.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ----------------- Бейджи / надписи ----------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(226, 26, 26, .08);
  color: var(--c-red);
}
/* пульсирующий статус-индикатор «на связи» */
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 0 4px rgba(226, 26, 26, .18);
  animation: pulse 2s infinite;
  flex: none;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(226, 26, 26, .18); }
  50% { box-shadow: 0 0 0 7px rgba(226, 26, 26, 0); }
}

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding-bottom: 6px;
  border-bottom: 3px solid var(--c-yellow);
}
.eyebrow--light { color: var(--c-text-light); }

/* семантический <mark> с жёлтой «маркерной» подложкой */
mark.hl, .hl {
  background: linear-gradient(180deg, transparent 60%, var(--c-yellow) 60%);
  color: inherit;
  padding: 0 .1em;
}

/* =========================================================
   ШАПКА
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.header-sentinel {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--c-border);
  background: rgba(255, 255, 255, .96);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.02em;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--c-black);
  color: var(--c-yellow);
  font-weight: 800;
  font-size: 1.1rem;
}
.logo--light { color: var(--c-white); }

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  margin-left: 18px;
}
.nav a {
  font-weight: 600;
  color: var(--c-text-muted);
  position: relative;
  padding: 4px 0;
  transition: color .18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--c-yellow-2);
  transition: width .2s ease;
}
.nav a:hover { color: var(--c-black); }
.nav a:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.header__phone {
  font-weight: 700;
  color: var(--c-black);
  white-space: nowrap;
}
.header__phone:hover { color: var(--c-red); }

/* Бургер */
.burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--c-black);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; /* по умолчанию скрыто; показывается только на мобиле (см. @media 760) */
  flex-direction: column;
  gap: 4px;
  padding: 12px clamp(16px, 4vw, 28px) 20px;
  border-top: 1px solid var(--c-border);
  background: var(--c-white);
}
.mobile-nav a {
  font-weight: 600;
  padding: 12px 8px;
  border-radius: 10px;
}
.mobile-nav a:hover { background: var(--c-bg); }
.mobile-nav .btn { margin-top: 8px; }

/* =========================================================
   ГЕРОЙ
   ========================================================= */
.hero {
  position: relative;
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 210, 0, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(226, 26, 26, .06), transparent 55%),
    var(--c-bg);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.hero__title {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 800;
  margin: 16px 0 14px;
}
.hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--c-text-muted);
  max-width: 56ch;
}
.hero__benefits {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
}
.hero__benefits li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
}
.hero__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--c-yellow);
  color: var(--c-black);
  border-radius: 7px;
  font-size: .8rem;
  font-weight: 800;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 38px);
  padding-top: 22px;
  border-top: 1px solid var(--c-border);
}
.trust__item { display: flex; flex-direction: column; }
.trust__item strong {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.trust__item span { font-size: .9rem; color: var(--c-text-muted); }

/* Карточка-форма в герое */
.hero__form-card {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-lg);
}
.form-card__head { margin-bottom: 18px; }
.form-card__title { font-size: 1.4rem; font-weight: 800; }
.form-card__sub { color: var(--c-text-muted); font-size: .95rem; margin-top: 6px; }
.form-card__note {
  font-size: .8rem;
  color: var(--c-text-muted);
  text-align: center;
  margin-top: 10px;
}

/* Раскрывающиеся доп. поля формы героя */
.more-fields { margin-bottom: 6px; }
.more-fields > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: .9rem;
  color: var(--c-text);
  padding: 8px 0;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.more-fields > summary::-webkit-details-marker { display: none; }
.more-fields > summary::before {
  content: "+";
  display: grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  font-weight: 800;
  line-height: 1;
}
.more-fields[open] > summary::before { content: "−"; }
.more-fields[open] > summary { margin-bottom: 8px; }

/* Полоса стека 1С */
.bar {
  margin-top: clamp(28px, 5vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.bar__label {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--c-text-muted);
}
.bar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.bar__row li {
  font-weight: 700;
  font-size: .9rem;
  color: var(--c-black);
  background: rgba(255, 210, 0, .16);
  border: 1px solid rgba(255, 210, 0, .5);
  padding: 6px 14px;
  border-radius: 999px;
}

/* Лента отраслей */
.logos {
  margin-top: clamp(20px, 3vw, 32px);
  padding-top: 24px;
  border-top: 1px dashed var(--c-border);
}
.logos__label {
  display: block;
  text-align: center;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-text-muted);
  margin-bottom: 14px;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.logos__row li {
  font-weight: 700;
  color: var(--c-graphite);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
}

/* =========================================================
   ФОРМЫ
   ========================================================= */
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 6px;
}
.req { color: var(--c-red); }
.opt { color: var(--c-text-muted); font-weight: 500; font-size: .85rem; }

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-bg);
  color: var(--c-text);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa0ad; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-yellow-2);
  background: var(--c-white);
  box-shadow: 0 0 0 4px rgba(255, 210, 0, .25);
}
.field.has-error input,
.field input.is-invalid {
  border-color: var(--c-red);
  background: rgba(226, 26, 26, .04);
}
.field.has-error input:focus,
.field input.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(226, 26, 26, .18);
}
.field__error,
.consent-error {
  color: var(--c-red);
  font-size: .82rem;
  font-weight: 600;
  margin-top: 6px;
}
.consent-error { margin: -8px 0 14px; }

/* honeypot — визуально и для AT скрыт, но не display:none (часть ботов это палит) */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--c-text-muted);
  margin: 6px 0 16px;
  cursor: pointer;
}
.consent input {
  margin-top: 3px;
  width: 18px; height: 18px;
  accent-color: var(--c-yellow-2);
  flex: none;
}
.consent.has-error input {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
  border-radius: 4px;
}
.link { color: var(--c-text); text-decoration: underline; text-underline-offset: 2px; }
.link:hover { color: var(--c-red); }
.link--muted { color: var(--c-text-light); }

/* Переключение «форма ↔ успех» через класс .is-sent на форме */
.form-success { display: none; }
.callback-form.is-sent .form-body { display: none; }
.callback-form.is-sent .form-success { display: block; }

.form-success {
  text-align: center;
  padding: 22px 12px 6px;
}
.form-success__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--c-yellow);
  color: var(--c-black);
  font-size: 1.8rem;
  font-weight: 800;
  animation: pop .4s ease;
}
@keyframes pop {
  0% { transform: scale(.4); opacity: 0; }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}
.form-success__title { font-weight: 800; font-size: 1.25rem; }
.form-success__text { color: var(--c-text-muted); margin-top: 4px; }

/* =========================================================
   СЕКЦИИ
   ========================================================= */
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section--muted { background: var(--c-white); }

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  text-align: center;
}
.section__title {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 800;
  margin: 12px 0 10px;
}
.section__lead {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--c-text-muted);
}
.section__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
}

/* Карточки услуг */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}
.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-yellow), var(--c-yellow-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255, 210, 0, .18);
  color: var(--c-graphite);
  margin-bottom: 16px;
}
.card__icon svg { display: block; }
.card__title { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.card__text { color: var(--c-text-muted); font-size: .98rem; }

/* CTA-лента */
.cta-strip {
  background: linear-gradient(120deg, var(--c-black), var(--c-graphite));
  position: relative;
  overflow: hidden;
}
.cta-strip::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255, 210, 0, .25), transparent 65%);
}
.cta-strip__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(30px, 5vw, 52px) 0;
}
.cta-strip__title {
  color: var(--c-white);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 800;
}
.cta-strip__text { color: var(--c-text-light); margin-top: 6px; }

/* Преимущества */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}
.feature {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 24px;
  border-left: 4px solid var(--c-yellow);
}
.feature__title { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.feature__text { color: var(--c-text-muted); font-size: .96rem; }

/* Цифры */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
  margin-top: clamp(28px, 4vw, 44px);
  background: var(--c-black);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.stat { text-align: center; color: var(--c-white); }
.stat__num {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--c-yellow);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 8px;
  color: var(--c-text-light);
  font-size: .92rem;
}
.stats__note {
  text-align: center;
  margin-top: 16px;
  font-size: .85rem;
  color: var(--c-text-muted);
}

/* Шаги */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(16px, 2.4vw, 22px);
  counter-reset: step;
}
.step {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-black);
  background: var(--c-yellow);
  border-radius: 10px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.step__title { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.step__text { color: var(--c-text-muted); font-size: .95rem; }

/* Отзывы */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}
.reviewcard {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 26px 24px;
  margin: 0;
}
.review__stars { color: var(--c-yellow-2); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 14px; font-size: 1.02rem; font-weight: 500; }
.review figcaption { color: var(--c-text-muted); font-size: .92rem; }
.review figcaption strong { color: var(--c-text); }
.review__company {
  display: block;
  margin-top: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-graphite);
}

/* Гарантии */
.guarantees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 28px;
  max-width: 920px;
  margin: 0 auto;
}
.guarantees li {
  position: relative;
  padding-left: 36px;
  font-weight: 500;
  padding-block: 6px;
}
.guarantees li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 6px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--c-yellow);
  color: var(--c-black);
  border-radius: 8px;
  font-weight: 800;
  font-size: .85rem;
}

/* =========================================================
   БЛОК ОСНОВНОЙ ФОРМЫ ЗАЯВКИ
   ========================================================= */
.callback {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(255, 210, 0, .10), transparent 60%),
    linear-gradient(160deg, var(--c-black), var(--c-graphite));
}
.callback__grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.callback__title {
  color: var(--c-white);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  margin: 14px 0 14px;
}
.callback__lead { color: var(--c-text-light); font-size: 1.05rem; max-width: 52ch; }
.callback__bullets { margin: 22px 0; display: grid; gap: 10px; }
.callback__bullets li {
  position: relative;
  padding-left: 30px;
  color: #eef0f4;
  font-weight: 500;
}
.callback__bullets li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--c-yellow);
  color: var(--c-black);
  border-radius: 6px;
  font-size: .75rem; font-weight: 800;
}

/* Акцентный «второй путь конверсии»: крупный кликабельный телефон */
.callback__phone {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .04);
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.callback__phone-label {
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Code', Consolas, monospace;
  font-size: .82rem;
  color: var(--c-yellow);
  letter-spacing: .02em;
}
.callback__phone-num {
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Code', Consolas, monospace;
  color: var(--c-white);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: .01em;
}
.callback__phone-num:hover { color: var(--c-yellow); }
.callback__phone-hint { font-size: .82rem; color: var(--c-text-light); }

.callback__form-wrap {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
}

/* =========================================================
   ФУТЕР
   ========================================================= */
.footer {
  background: var(--c-black);
  color: var(--c-text-light);
  padding-top: clamp(40px, 5vw, 64px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 40px);
  padding-bottom: 36px;
}
.footer__about { margin: 14px 0 18px; font-size: .95rem; max-width: 34ch; }
.footer__title {
  color: var(--c-white);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.footer__list { display: grid; gap: 10px; }
.footer__list a { transition: color .18s ease; }
.footer__list a:hover { color: var(--c-yellow); }
.footer__list--small { font-size: .85rem; line-height: 1.5; }
.footer__list--small li { color: #9aa0ad; }

.socials { display: flex; gap: 10px; }
.social {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--c-graphite);
  color: var(--c-white);
  font-weight: 800;
  font-size: .82rem;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.social:hover { background: var(--c-yellow); color: var(--c-black); transform: translateY(-2px); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem;
  color: #9aa0ad;
}

/* Плавающая кнопка (моб.) */
.floating-cta {
  position: fixed;
  left: 16px; right: 16px;
  bottom: 14px;
  z-index: 90;
  display: none;
  text-align: center;
  background: var(--c-yellow);
  color: var(--c-black);
  font-weight: 800;
  padding: 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-yellow);
}

/* =========================================================
   SCROLL-REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__form-card { position: static; order: -1; }
  .callback__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav,
  .header__phone { display: none; }
  .header__actions { margin-left: auto; }
  .burger { display: flex; }
  /* Меню раскрывается только на мобиле и только когда JS снял атрибут hidden */
  .mobile-nav:not([hidden]) { display: flex; }
  .floating-cta { display: block; }
  body { padding-bottom: 76px; } /* место под плавающую кнопку */
  .footer__bottom { justify-content: flex-start; }
  .callback__phone { display: flex; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 auto; }
  .header__actions .btn { display: none; } /* на мобиле звонок в бургере + плавающей кнопке */
  .cta-strip__inner .btn { width: 100%; }
}

/* =========================================================
   PREFERS-REDUCED-MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .step:hover, .social:hover { transform: none; }
}