/* =========================================================
   Лендинг «Интернет-магазин за 49 990 ₽» — Отдел Маркетинга
   Палитра и типографика продолжают попап на 42nt.ru
   ========================================================= */

:root {
  --navy: #133A5E;
  --navy-2: #1B4C78;
  --navy-3: #22588A;
  --navy-deep: #0D2A45;
  --accent: #0F4C81;
  --accent-dk: #0C3D68;
  --gold: #E8B33D;
  --gold-dk: #B98714;
  --ink: #1D2733;
  --ink-soft: #55616E;
  --paper: #F7F5F1;
  --paper-2: #EFECE6;
  --line: #DCD8D1;
  --white: #fff;
  --error: #C0392B;
  --ok: #1E8E5A;

  --font-display: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-ui: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --text-hero: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  --text-h2: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);
  --space-section: clamp(4rem, 3rem + 4vw, 7.5rem);
  --container: 1240px;
  --header-h: 72px;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --shadow-s: 0 2px 10px rgba(19, 40, 60, 0.07);
  --shadow-m: 0 14px 40px rgba(19, 40, 60, 0.14);
  --shadow-l: 0 30px 80px rgba(13, 42, 69, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.25s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) ease, color var(--dur) ease,
    border-color var(--dur) ease, transform var(--dur) var(--ease), box-shadow var(--dur) ease;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(232, 179, 61, 0.35);
}
.btn--gold:hover { background: #F0C154; box-shadow: 0 12px 30px rgba(232, 179, 61, 0.45); }

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

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* ---------- надзаголовок ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow i { display: block; width: 28px; height: 2px; background: currentColor; }
.eyebrow--dark { color: var(--accent); }

/* =================== ШАПКА =================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(13, 42, 69, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--dur) ease;
}
.header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--white);
  text-decoration: none;
}
.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding: 3px;
  border-radius: 8px;
  background: var(--white);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__kicker {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.brand b { font-family: var(--font-display); font-size: 15px; font-weight: 700; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color var(--dur) ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover,
.nav a.is-active { color: var(--white); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

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

.icon-link {
  display: flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: transform var(--dur) var(--ease);
}
.icon-link svg { width: 100%; height: 100%; }
.icon-link:hover { transform: translateY(-2px) scale(1.05); }

.header__cta { margin-left: 6px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 0;
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur) ease, opacity var(--dur) 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); }

/* =================== HERO =================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0 clamp(4rem, 2.5rem + 5vw, 7rem);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(232, 179, 61, 0.14), transparent 60%),
    linear-gradient(158deg, var(--navy) 0%, var(--navy-2) 58%, var(--navy-3) 100%);
  color: var(--white);
}
/* лёгкая сетка-подложка */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  pointer-events: none;
}

.hero__mark {
  position: absolute;
  left: -90px;
  bottom: -70px;
  width: 460px;
  height: auto;
  opacity: 0.07;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: normal;
  white-space: nowrap;
  color: var(--gold);
}
.hero__title sup { font-size: 0.45em; color: var(--gold); }

/* Оффер по строкам: средняя строка набрана мельче основного кегля */
.hero__line { display: block; }
.hero__badge {
  display: block;
  margin: 0.2em 0 0.25em;
  font-size: clamp(13px, 0.55rem + 1.1vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero__lead {
  max-width: 34em;
  margin-top: 22px;
  font-size: clamp(16px, 0.95rem + 0.25vw, 18.5px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.hero__points li { display: flex; flex-direction: column; }
.hero__points b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}
.hero__points span { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__footnote {
  display: flex;
  gap: 6px;
  max-width: 36em;
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}
.hero__footnote span { color: var(--gold); }

/* ---- макет окна магазина ---- */
.hero__visual { position: relative; padding: 28px 10px 40px; }

.mock {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--white);
  box-shadow: var(--shadow-l);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.8s var(--ease);
}
.hero__visual:hover .mock { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }

.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5D0C8; }
.mock__bar i:first-child { background: #E86A5A; }
.mock__bar i:nth-child(2) { background: var(--gold); }
.mock__bar i:nth-child(3) { background: #5BB974; }
.mock__bar span {
  flex: 1;
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--white);
  font-size: 11.5px;
  color: var(--ink-soft);
}

.mock__body { padding: 16px; color: var(--ink); }

.mock__search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-s);
  font-size: 13px;
  font-weight: 500;
}
.mock__search svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
}
.mock__typed { min-height: 1.2em; white-space: nowrap; overflow: hidden; }
.mock__typed::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.mock__layout {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  margin-top: 14px;
}

.mock__filter {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px;
  border-radius: var(--radius-s);
  background: var(--paper);
  font-size: 11.5px;
  color: var(--ink-soft);
}
.mock__filter b { font-family: var(--font-display); font-size: 12px; color: var(--ink); }
.mock__check { display: flex; align-items: center; gap: 7px; }
.mock__check i {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  border: 1.5px solid #B9B3AA;
  border-radius: 3px;
}
.mock__check i.on { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 2px var(--white); }
.mock__range { position: relative; height: 4px; margin-top: 8px; border-radius: 2px; background: var(--line); }
.mock__range span { position: absolute; left: 18%; right: 30%; top: 0; bottom: 0; border-radius: 2px; background: var(--accent); }

.mock__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
.mock__img {
  height: 54px;
  border-radius: 4px;
  background: linear-gradient(135deg, #E6EDF4, #D2DEEA);
}
.mock__card s { display: block; height: 7px; border-radius: 3px; background: #E3DFD8; text-decoration: none; }
.mock__card s.s { width: 60%; }
.mock__card em {
  font-size: 10.5px;
  font-style: normal;
  font-weight: 500;
  color: var(--ok);
}
.mock__card em.wait { color: var(--gold-dk); }

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 12px;
  border-radius: var(--radius-m);
  background: var(--white);
  box-shadow: var(--shadow-m);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  animation: floaty 6s ease-in-out infinite;
}
.float svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  padding: 8px;
  border-radius: 50%;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.float span { color: var(--ink-soft); }
.float b { display: block; font-family: var(--font-display); font-size: 13px; color: var(--ink); }

.float--sync { top: 0; right: -6px; }
.float--sync svg { background: rgba(15, 76, 129, 0.1); stroke: var(--accent); }
.float--lead { left: -18px; bottom: 6px; animation-delay: -3s; }
.float--lead svg { background: rgba(30, 142, 90, 0.12); stroke: var(--ok); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =================== СЕКЦИИ =================== */
.section { padding: var(--space-section) 0; }

.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.section__head--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  max-width: none;
}

.section__title {
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.section__lead { margin-top: 16px; font-size: 17px; color: var(--ink-soft); }
.section__head--split .section__lead { margin-top: 0; }

/* =================== ФУНКЦИОНАЛ (bento) =================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: row dense;
  gap: 16px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) ease, border-color var(--dur) ease;
}
.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 76, 129, 0.35);
  box-shadow: var(--shadow-m);
}
.tile h3 { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.tile p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

.tile__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-dk);
}

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

.tile--hero {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-end;
  padding: 34px 32px;
  border: 0;
  background:
    radial-gradient(420px 260px at 90% 0%, rgba(232, 179, 61, 0.25), transparent 70%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
}
.tile--hero h3 { font-size: clamp(22px, 1.1rem + 0.8vw, 28px); color: var(--white); }
.tile--hero p { font-size: 16px; color: rgba(255, 255, 255, 0.8); }
.tile--hero .tile__num { position: absolute; top: 30px; left: 32px; font-size: 64px; line-height: 1; color: rgba(232, 179, 61, 0.9); }

.tile__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.tile__tags li {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.tile--dark { border-color: transparent; background: var(--navy-deep); }
.tile--dark h3 { color: var(--white); }
.tile--dark p { color: rgba(255, 255, 255, 0.72); }
.tile--dark .tile__num { color: var(--gold); }

.lifetime {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid rgba(232, 179, 61, 0.5);
  border-radius: var(--radius-m);
  background: rgba(232, 179, 61, 0.1);
}
.lifetime p { flex: 1; font-size: 16px; color: var(--ink); }
.lifetime b { color: var(--gold-dk); }
.lifetime__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
}
.lifetime__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--navy-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lifetime__actions { display: flex; flex-wrap: wrap; gap: 10px; }

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

/* =================== ПРОЕКТЫ =================== */
.projects { background: var(--paper-2); }

/* Демо-магазин — отдельная карточка над сеткой проектов */
.demo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 22px;
  padding: 34px 38px;
  overflow: hidden;
  border-radius: var(--radius-m);
  background:
    radial-gradient(520px 280px at 100% 0%, rgba(232, 179, 61, 0.22), transparent 70%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
  box-shadow: var(--shadow-m);
}
.demo__copy { flex: 1; min-width: 0; }
.demo__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.demo__title {
  margin-top: 14px;
  font-size: clamp(22px, 1.1rem + 0.9vw, 30px);
  font-weight: 800;
  line-height: 1.2;
}
.demo__text { max-width: 44em; margin-top: 10px; font-size: 15.5px; color: rgba(255, 255, 255, 0.8); }
.demo__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.demo__list li {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}
.demo__cta { flex-shrink: 0; }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-m);
  background: var(--white);
  box-shadow: var(--shadow-s);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) ease;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }

.project--feature {
  grid-column: span 2;
  padding: 36px;
  background:
    linear-gradient(160deg, rgba(15, 76, 129, 0.05), transparent 50%),
    var(--white);
  border-top: 4px solid var(--gold);
}
.project--feature .project__title { font-size: clamp(24px, 1.2rem + 0.9vw, 32px); }
.project--feature .project__brief dd { font-size: 16px; }

.project__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.project__tag {
  padding: 4px 11px;
  border-radius: 20px;
  background: rgba(15, 76, 129, 0.08);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}
.project__geo { font-size: 12.5px; color: var(--ink-soft); }

.project__title { font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--navy); }

.project__brief { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.project__brief div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.project__brief dt {
  padding-top: 2px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dk);
}
.project__brief dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }

.project__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.project__link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  transition: transform var(--dur) var(--ease);
}
.project__link:hover { color: var(--accent-dk); }
.project__link:hover svg { transform: translate(3px, -3px); }

/* =================== ЗАЯВКА =================== */
.order {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 10% 100%, rgba(232, 179, 61, 0.12), transparent 60%),
    linear-gradient(158deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-2) 100%);
  color: var(--white);
}

.order__grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px);
  gap: 64px;
  align-items: center;
}

.order__title {
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-left: 58px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(232, 179, 61, 0.6);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
}
.steps b { color: var(--white); }

.form {
  padding: 36px 34px 30px;
  border-radius: var(--radius-l);
  background: var(--paper);
  box-shadow: var(--shadow-l);
  color: var(--ink);
}
.form__title { font-size: 24px; font-weight: 800; color: var(--navy); }
.form__sub { margin: 6px 0 22px; font-size: 14.5px; color: var(--ink-soft); }

.field { margin-bottom: 14px; }
.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.field__opt { font-weight: 400; color: var(--ink-soft); }

.field__input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px; /* 16px — чтобы iOS не зумил при фокусе */
  outline: none;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.field__input--area { height: auto; min-height: 88px; padding: 13px 16px; line-height: 1.5; resize: vertical; }
.field__input::placeholder { color: rgba(29, 39, 51, 0.4); }
.field__input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15); }
.field__input.has-error { border-color: var(--error); }

.field__error {
  display: none;
  padding-top: 5px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--error);
}
.field__error.is-shown { display: block; }
.field__error--common { text-align: center; }

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

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input { width: 19px; height: 19px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--accent); }
.consent a { color: var(--accent-dk); text-underline-offset: 2px; }

.form .btn--block { margin-top: 16px; }

.form__success {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(30, 142, 90, 0.4);
  border-radius: var(--radius-s);
  background: rgba(30, 142, 90, 0.08);
  font-size: 14.5px;
}
.form__success[hidden] { display: none; }
.form__success svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--ok);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =================== КОНТАКТЫ =================== */
.contacts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) ease, border-color var(--dur) ease;
}
.contact:hover { transform: translateY(-4px); border-color: rgba(15, 76, 129, 0.35); box-shadow: var(--shadow-m); }
.contact__icon { width: 52px; height: 52px; margin-bottom: 14px; }
.contact__name { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.contact__value {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.contact__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--accent);
}
.contact__go svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--dur) var(--ease);
}
.contact:hover .contact__go svg { transform: translateX(4px); }

/* =================== ПОДВАЛ =================== */
.footer {
  padding: 26px 0;
  background: var(--navy-deep);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer a { color: rgba(255, 255, 255, 0.75); text-underline-offset: 2px; }
.footer a:hover { color: var(--gold); }

.sticky-cta { display: none; }

/* =================== ПОЯВЛЕНИЕ =================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =================== АДАПТИВ =================== */
@media (max-width: 1180px) {
  .header__cta { display: none; }
  .nav { gap: 22px; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { width: 100%; max-width: 560px; margin: 0 auto; }
  .mock,
  .hero__visual:hover .mock { transform: none; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--hero { grid-row: auto; min-height: 280px; }

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

  .order__grid { grid-template-columns: 1fr; gap: 40px; }
  .form { max-width: 560px; }

  .section__head--split { grid-template-columns: 1fr; gap: 0; }
  .section__head--split .section__lead { margin-top: 16px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .burger { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 16px 20px;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease), visibility var(--dur);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 16px; }
  .nav a::after { display: none; }
  .header__actions { margin-left: auto; }

  .contacts__grid { grid-template-columns: 1fr; }
  .lifetime { flex-direction: column; align-items: flex-start; }
  .demo { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }

  .brand__kicker { display: none; }
  .brand b { font-size: 14px; }
  .icon-link { width: 34px; height: 34px; }

  .hero__points { gap: 12px 24px; }
  .hero__points b { font-size: 21px; }
  .hero__cta .btn,
  .lifetime__actions,
  .lifetime__actions .btn,
  .demo__cta { width: 100%; }
  .hero__visual { padding: 24px 0 36px; }
  .float { font-size: 11px; padding: 8px 12px 8px 9px; }
  .float svg { width: 28px; height: 28px; padding: 6px; }
  .float--sync { right: -4px; }
  .float--lead { left: -4px; }
  .mock__layout { grid-template-columns: 1fr; }
  .mock__filter { display: none; }

  .bento { grid-template-columns: 1fr; }
  .tile--wide,
  .tile--hero { grid-column: auto; }
  .tile--hero { min-height: 0; padding-top: 96px; }

  .projects__grid { grid-template-columns: 1fr; }
  .project--feature { grid-column: auto; padding: 26px; }
  .project__brief div { grid-template-columns: 1fr; gap: 2px; }

  .form { padding: 26px 18px 22px; border-radius: var(--radius-m); }

  .sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: var(--radius-s);
    background: var(--gold);
    box-shadow: 0 10px 30px rgba(13, 42, 69, 0.35);
    color: var(--navy-deep);
    font-family: var(--font-display);
    font-weight: 800;
    text-decoration: none;
    transition: transform var(--dur) var(--ease), opacity var(--dur) ease;
  }
  .sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .footer { padding-bottom: 84px; }
}

/* На самых узких экранах плашке разрешаем перенос, чтобы не было прокрутки */
@media (max-width: 380px) {
  .hero__badge { white-space: normal; }
}

@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;
  }
  .js .reveal { opacity: 1; transform: none; }
}
