/* ============================================================
   Владислав Рагузин — ведение магазинов на WB и Ozon
   Светлый деловой стиль: Manrope (заголовки) + Golos Text (текст)
   ============================================================ */

/* ---------- Шрифты (локальные, без CDN) ---------- */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/golos-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/golos-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/golos-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/golos-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
  --bg: #FBFCFE;
  --bg-alt: #F2F6FD;
  --ink: #0F1B3D;
  --ink-soft: #4C5A7A;
  --blue: #2B5BFF;
  --violet: #7C3AED;
  --grad: linear-gradient(120deg, #2B5BFF 0%, #7C3AED 100%);
  --line: #E2E9F6;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(15, 27, 61, .09);
  --shadow-sm: 0 6px 20px rgba(15, 27, 61, .07);
  --font-head: 'Manrope', 'Golos Text', system-ui, sans-serif;
  --font-body: 'Golos Text', system-ui, sans-serif;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; } /* height:auto обязателен: без него атрибут height фиксирует высоту при сжатии ширины — фото деформируется */

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  color: #fff;
  background: var(--grad);
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(43, 91, 255, .28);
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(43, 91, 255, .38); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-sm); }
.btn--sm { padding: 10px 18px; font-size: 14px; border-radius: 11px; }
.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .65; cursor: default; transform: none; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--blue);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Шапка ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 254, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.topbar.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(15, 27, 61, .06); }

.topbar__row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.5px;
  box-shadow: 0 8px 20px rgba(43, 91, 255, .3);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink); }
.brand__role { font-size: 12px; color: var(--ink-soft); letter-spacing: .02em; }

.nav {
  display: flex;
  gap: 2px;
  margin-inline: auto;
  flex-wrap: nowrap;
}
.nav a {
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 14.5px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--blue); background: #EEF3FE; text-decoration: none; }

.topbar__contacts { display: flex; align-items: center; gap: 18px; }
.topbar__phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  white-space: nowrap;
}
.topbar__phone:hover { color: var(--blue); text-decoration: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  margin-left: auto;
}
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  overflow: hidden; /* Safari ≤15 не знает clip */
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(124, 58, 237, .07), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(43, 91, 255, .08), transparent 70%),
    var(--bg);
}
.hero::before {
  /* тонкая координатная сетка — отсылка к аналитике */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 27, 61, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 27, 61, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(75% 75% at 50% 30%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 30%, #000 0%, transparent 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #EEF3FE;
  border: 1px solid #DCE6FB;
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2rem, 4.3vw, 3.35rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 30px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__facts .icon { width: 20px; height: 20px; color: var(--blue); }

/* Фото-карточка */
.hero__right { position: relative; }

.photo-card { margin: 0; position: relative; }

.photo-card--hero {
  max-width: 420px;
  margin-inline: auto;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(var(--card), var(--card)) padding-box,
              var(--grad) border-box;
  border: 2.5px solid transparent;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}
.photo-card--hero img { border-radius: 16px; }

.photo-card__badge {
  position: absolute;
  left: -34px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  transform: rotate(-1.4deg);
}
.photo-card__badge strong { font-family: var(--font-head); font-size: 16px; }
.photo-card__badge span { font-size: 13px; color: var(--ink-soft); }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.float-chip .icon { color: var(--blue); width: 26px; height: 26px; }
.float-chip b { display: block; font-family: var(--font-head); font-size: 17px; line-height: 1.2; }
.float-chip span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.3; display: block; }
.float-chip--1 { top: 30px; right: -30px; animation: floaty 5.5s ease-in-out infinite; }
.float-chip--2 { bottom: -6px; right: 8px; animation: floaty 6.5s ease-in-out .8s infinite; }

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

/* ---------- Бегущая строка ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  padding: 15px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  white-space: nowrap;
}
.marquee i { color: var(--violet); font-style: normal; font-size: 13px; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Цифры ---------- */
.stats { padding: clamp(44px, 5vw, 70px) 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  line-height: 1.05;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat span { font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; display: block; }

/* ---------- Секции ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section:nth-of-type(even) { background: var(--bg-alt); }

.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 54px); }
.section__head .section__title { margin-bottom: 0; }
.section__title { font-size: clamp(1.55rem, 2.9vw, 2.35rem); font-weight: 800; }
.section__sub { margin-top: 16px; color: var(--ink-soft); font-size: 17px; }

.grid { display: grid; gap: 22px; }
.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: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

/* ---------- Проблемы ---------- */
.problems__note {
  margin: 30px 0 0;
  text-align: center;
  font-size: 17px;
  color: var(--ink-soft);
}

.problem { text-align: left; transition: transform .25s ease, box-shadow .25s ease; }
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.problem__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #F1EEFE;
  color: var(--violet);
  margin-bottom: 18px;
}
.problem__icon .icon { width: 26px; height: 26px; }
.problem h3 { font-size: 18.5px; margin-bottom: 8px; }
.problem p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- Услуги ---------- */
.service { display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.service__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(43, 91, 255, .3);
  flex: none;
}
.service__icon .icon { width: 28px; height: 28px; }
.service h3 { font-size: 21px; margin: 0; }
.service__price { color: var(--blue); font-weight: 600; font-size: 15px; margin-bottom: 18px; }

.checklist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; flex: 1; }
.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #EAF0FE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B5BFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan--vip .checklist li { color: rgba(255, 255, 255, .82); }
.plan--vip .checklist li::before {
  background: rgba(255, 255, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Производителям ---------- */
.makers__row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.makers__text .section__title { margin-bottom: 18px; }
.makers__text > p { color: var(--ink-soft); }
.makers__result { color: var(--ink); font-size: 16.5px; }
.makers__result b { color: var(--blue); }
.makers__text .btn { margin-top: 10px; }

.makers__visual {
  /* карточки в потоке: flex-столбик со смещениями и поворотами.
     absolute-композиция давала наложения карточек при разной ширине. */
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.makers__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 220px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.makers__card .icon { width: 28px; height: 28px; color: var(--blue); margin-bottom: 10px; }
.makers__card b { font-family: var(--font-head); font-size: 17px; }
.makers__card span { font-size: 13.5px; color: var(--ink-soft); }
.makers__card--1 { align-self: flex-start; transform: rotate(-2.5deg); }
.makers__card--2 { align-self: flex-end; transform: rotate(2deg); }
.makers__card--3 { align-self: center; transform: rotate(-1.5deg); }

/* ---------- Шаги ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 26px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  margin-bottom: 12px;
  color: transparent;
  -webkit-text-stroke: 1.5px #C7D4F2;
}
.step:hover .step__num { -webkit-text-stroke-color: var(--blue); }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Кейсы ---------- */
.case { transition: transform .25s ease, box-shadow .25s ease; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case__tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: #EEF3FE;
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 18px;
}
.case__metrics { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.case__metrics b {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case__metrics span { font-size: 14px; color: var(--ink-soft); line-height: 1.35; }
.case__metrics--sub { margin-bottom: 14px; }
.case__metrics--sub b { font-size: 1.35rem; color: var(--ink); background: none; -webkit-text-stroke: 0; }
.case p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.cases__note {
  margin: 26px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}
.reviews__note {
  margin: 26px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}

.pricing__clarify {
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.pricing__clarify p {
  margin: 0;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.pricing__clarify b { color: var(--ink); }

/* ---------- Тарифы ---------- */
.pricing__grid { align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan h3 { font-size: 20px; margin: 0 0 4px; }
.plan__for { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; }
.plan__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 18px;
}
.plan__price span { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.plan .checklist { margin-bottom: 22px; }
.plan .checklist li { font-size: 14.5px; }

.plan--vip {
  background: linear-gradient(160deg, #16224E 0%, #0F1B3D 100%);
  border-color: #26346B;
  color: #fff;
}
.plan--vip h3 { color: #fff; }
.plan--vip .plan__for { color: rgba(255, 255, 255, .65); }
.plan--vip .plan__price { color: #fff; }
.plan--vip .plan__price span { color: rgba(255, 255, 255, .6); }
.plan__flag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pricing__note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 15.5px;
  color: var(--ink-soft);
  padding: 16px 24px;
  border-radius: 14px;
  background: #EEF3FE;
  border: 1px dashed #C9D8FA;
}

/* ---------- Отзывы ---------- */
.review { display: flex; flex-direction: column; }
.review__stars { color: #F5A623; font-size: 17px; letter-spacing: 3px; margin-bottom: 14px; }
.review blockquote {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  flex: 1;
}
.review figcaption { display: flex; flex-direction: column; }
.review figcaption b { font-family: var(--font-head); font-size: 15.5px; }
.review figcaption span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Обо мне ---------- */
.about__row {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.photo-card--about {
  max-width: 400px;
  border-radius: 26px;
  overflow: hidden;
  transform: rotate(-1.6deg);
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.about__text > p { color: var(--ink-soft); }
.about__principles { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.about__principles li {
  padding: 16px 20px 16px 52px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
}
.about__principles li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #EAF0FE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B5BFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.about__principles b { color: var(--ink); }
.about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.about__contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink);
}
.about__contact:hover { border-color: var(--blue); text-decoration: none; }
.about__contact .icon { color: var(--blue); }
.about__contact b { font-family: var(--font-head); display: block; line-height: 1.25; }
.about__contact small { color: var(--ink-soft); font-size: 12.5px; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 12px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue); }
.faq__item .chevron { width: 20px; height: 20px; color: var(--ink-soft); transition: transform .3s ease; }
.faq__item[open] .chevron { transform: rotate(180deg); color: var(--blue); }
.faq__item p { margin: 0; padding: 0 24px 22px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Форма / контакт ---------- */
.contact__card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 26px;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
}
.contact__text .section__title { margin-bottom: 16px; }
.contact__text > p { color: var(--ink-soft); margin-bottom: 22px; }
.contact__channels { display: grid; gap: 10px; }
.contact__channels a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  padding: 11px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
}
.contact__channels a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.contact__channels .icon { color: var(--blue); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: grid; gap: 7px; }
.field span { font-size: 14px; font-weight: 600; color: var(--ink); }
.field span em { color: #E5484D; font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: #FBFCFE;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(43, 91, 255, .12);
}
.field input.is-invalid { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); }

.hp-field { position: absolute; left: -5000px; top: -5000px; opacity: 0; height: 1px; width: 1px; }

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.5;
}
.form__consent input {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  accent-color: var(--blue);
  cursor: pointer;
}

.form__status {
  margin: 0;
  font-size: 14.5px;
  font-weight: 500;
  min-height: 22px;
}
.form__status.is-ok { color: #18794E; }
.form__status.is-err { color: #E5484D; }

/* ---------- Футер ---------- */
.footer { background: #0D1734; color: rgba(255, 255, 255, .75); padding: 56px 0 0; }
.footer__row {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer__brand p { font-size: 14.5px; margin: 18px 0 0; max-width: 40ch; }
.footer .brand__name { color: #fff; }
.footer .brand__role { color: rgba(255, 255, 255, .55); }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a { color: rgba(255, 255, 255, .75); font-size: 15px; }
.footer__nav a:hover { color: #fff; }
.footer__contacts { display: grid; gap: 10px; align-content: start; }
.footer__phone, .footer__mail {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.footer__mail { font-size: 15.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
}
.footer__bottom a { color: rgba(255, 255, 255, .6); }
.footer__bottom a:hover { color: #fff; }
.footer__bottom p { margin: 0; }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(13, 23, 52, .55); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative;
  width: min(480px, calc(100% - 32px));
  margin: 8vh auto 0;
  padding: 34px 32px 30px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 30px 80px rgba(15, 27, 61, .3);
  animation: modalIn .3s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.modal__dialog h3 { font-size: 24px; margin-bottom: 6px; }
.modal__service {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #EEF3FE;
  border: 1px solid #DCE6FB;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}
.modal__service[hidden] { display: none; }
.modal__sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: #F2F6FD;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.modal__close:hover { background: #E3EBFB; }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(480px, calc(100vw - 40px));
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  box-shadow: 0 20px 50px rgba(15, 27, 61, .35);
  font-size: 13.5px;
  line-height: 1.5;
}
.cookie p { margin: 0; }
.cookie a { color: #9DB6FF; }
.cookie .btn { flex: none; }
.cookie[hidden] { display: none; } /* класс .cookie перебивает дефолтный hidden — без этого плашка не закрывается */

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip--1, .float-chip--2, .marquee__track { animation: none; }
}

/* контент виден даже если JS не загрузился */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Политика (politika.html) ---------- */
.policy { padding: clamp(40px, 6vw, 72px) 0; }
.policy h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.policy__date { color: var(--ink-soft); font-size: 14px; margin-bottom: 32px; }
.policy h2 { font-size: 19px; margin: 28px 0 10px; }
.policy p, .policy li { color: var(--ink-soft); font-size: 15.5px; }
.policy ul, .policy ol { padding-left: 22px; margin: 0 0 16px; }
.policy__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-weight: 600;
}

/* ============================ АДАПТИВ ============================ */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  /* выпадающее меню живёт во всём диапазоне показа бургера (769–1080 включительно) */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 14px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(15, 27, 61, .1);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .burger { display: flex; } /* меню уже скрыто — бургер нужен с этой ширины, иначе 769–1080px без навигации */
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .topbar__contacts .topbar__phone { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__right { max-width: 480px; margin-inline: auto; }
  .photo-card__badge { left: 12px; }
  .float-chip--1 { right: -6px; }
  .float-chip--2 { right: 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .makers__row { grid-template-columns: 1fr; }
  .makers__visual { max-width: 420px; margin-inline: auto; }  .about__row { grid-template-columns: 1fr; }
  .photo-card--about { margin-inline: auto; }
  .contact__card { grid-template-columns: 1fr; }
  .footer__row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar__contacts .btn { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .footer__row { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero__cta .btn { width: 100%; }
  .hero__facts { gap: 10px 18px; }
  .photo-card__badge { padding: 10px 14px; bottom: 16px; }
  .float-chip { padding: 10px 14px; }
  .float-chip b { font-size: 15px; }
  .makers__visual { max-width: 320px; }
  .card { padding: 22px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; flex-direction: column; align-items: flex-start; gap: 12px; }
  .modal__dialog { padding: 26px 20px 24px; margin-top: 5vh; }
}
