/* === АВТОГЕНЕРАЦИЯ ROBOTO — не править вручную (запуск `bin/rails fonts:roboto`) === */
/* латиница */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/roboto-latin-e71a8ea2.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: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/roboto-latin-ext-ebbeca11.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* кириллица */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/roboto-cyrillic-9046eb93.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* кириллица (расширенная) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/roboto-cyrillic-ext-66816f3d.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* === КОНЕЦ АВТОГЕНЕРАЦИИ ROBOTO === */

/* ==========================================================================
   Лендинг Sell & Buy — глобальные стили
   ========================================================================== */

:root {
  --color-white: #ffffff;
  --color-dark-blue: #020658;
  --color-primary-25: #f0f9ff;
  --color-primary-300: #50b6fb;
  --color-primary-400: #35a0e7;
  --color-primary-500: #2891d7;
  --color-primary-600: #197bbd;
  --color-neutral-700: #1f1f1f;
  --color-neutral-600: #4b4b4b;
  --color-neutral-400: #cacaca;
  --color-neutral-200: #eeeeee;
  --color-neutral-75: #f8f8f8;
  --color-green: #6bb700;

  --font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container-max: 1920px;
  --side-padding: 130px;

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-card: 18px 13px 56.4px 0 rgba(172, 197, 230, 0.25);
  --shadow-card-alt: -26px -6px 107.3px 0 rgba(172, 197, 230, 0.25);
}

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

html {
  scroll-padding-top: 90px;
  /* Защита от декора (свечения, «орбиты», размытые ореолы), вылезающих за
     секцию и дающих горизонтальный скролл на узких экранах. `clip` вместо
     `hidden` — не создаёт контейнер прокрутки и не ломает position:sticky выше. */
  overflow-x: clip;
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 56px;
  }
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--color-neutral-700);
  background-color: var(--color-white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-flash {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 12px 24px;
}

.site-flash__message {
  margin: 0 auto;
  max-width: 720px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-align: center;
}

.site-flash__message--success {
  color: #0d3d2a;
  background: #d4f5e4;
}

.site-flash__message--error {
  color: #5c1010;
  background: #fde8e8;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
}

/* ==========================================================================
   Переиспользуемые кнопки
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

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

.btn--primary {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  height: 48px;
  padding: 8px 52px;
  min-width: 220px;
}

.btn--secondary {
  background-color: var(--color-white);
  color: var(--color-dark-blue);
  border: 1px solid var(--color-dark-blue);
  height: 48px;
  padding: 8px 48px;
  min-width: 220px;
}

.btn--accent {
  background-color: var(--color-primary-400);
  color: var(--color-white);
  height: 56px;
  padding: 14px 40px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.2px;
  min-width: 260px;
}

.btn--accent:hover {
  background-color: var(--color-primary-500);
  opacity: 1;
}

.btn--cta-dark {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  height: 56px;
  padding: 8px 40px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.2px;
  min-width: 260px;
}

/* ==========================================================================
   Шапка сайта
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 90px;
  padding: 0 var(--side-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

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

.site-header__logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.site-header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-neutral-700);
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.site-header__burger:active {
  opacity: 0.7;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  color: var(--color-neutral-700);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--color-primary-500);
}

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

/* Компактные кнопки в шапке — глобальные .btn--primary / .btn--secondary
   рассчитаны на CTA в hero (min-width: 220px), в хедере это слишком широко. */
.site-header__actions .btn {
  height: 44px;
  min-width: 0;
  padding: 8px 22px;
  font-size: 15px;
}

/* ==========================================================================
   Переключатель языков
   ========================================================================== */

.lang-switch {
  display: inline-flex;
  align-items: center;
}

.lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-neutral-600);
  transition: color 0.15s ease, background-color 0.15s ease;
  text-decoration: none;
}

.lang-switch__link:hover {
  color: var(--color-primary-500);
}

.lang-switch__link--current {
  color: var(--color-dark-blue);
}

/* --- Вариант для шапки: компактные капсулы с короткими кодами RU/EN/BE. --- */
.lang-switch--header {
  background-color: var(--color-neutral-75);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}

.lang-switch--header .lang-switch__link {
  height: 32px;
  min-width: 36px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.lang-switch--header .lang-switch__name {
  display: none;
}

.lang-switch--header .lang-switch__link--current {
  background-color: var(--color-white);
  box-shadow: 0 1px 2px rgba(2, 6, 88, 0.08);
}

/* --- Вариант для мобильного меню: ряд кнопок с полным названием. --- */
.lang-switch--mobile {
  display: flex;
  gap: 8px;
  margin: 24px 0 4px;
  padding-top: 24px;
  border-top: 1px solid var(--color-neutral-200);
}

.lang-switch--mobile .lang-switch__link {
  flex: 1 1 0;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px;
  min-height: 56px;
  border-radius: var(--radius-sm);
  background-color: var(--color-neutral-75);
  font-weight: 500;
}

.lang-switch--mobile .lang-switch__code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-neutral-600);
}

.lang-switch--mobile .lang-switch__name {
  font-size: 14px;
  line-height: 18px;
}

.lang-switch--mobile .lang-switch__link--current {
  background-color: var(--color-primary-25);
  color: var(--color-dark-blue);
}

.lang-switch--mobile .lang-switch__link--current .lang-switch__code {
  color: var(--color-primary-500);
}

/* ==========================================================================
   Мобильное меню (оверлей)
   ========================================================================== */

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: var(--color-white);
  flex-direction: column;
  padding: 16px 20px 40px;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}

.mobile-menu--open {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  flex-shrink: 0;
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-neutral-700);
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.mobile-menu__logo img {
  height: 24px;
  width: auto;
  display: block;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding: 0 4px;
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  height: 40px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  color: var(--color-neutral-700);
  transition: color 0.2s ease;
}

.mobile-menu__nav a:active {
  color: var(--color-primary-500);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.mobile-menu__btn {
  width: 100%;
  height: 60px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  min-width: 0;
  padding: 8px 24px;
}

/* ==========================================================================
   Первый экран (hero)
   ========================================================================== */

.hero {
  background-color: var(--color-dark-blue);
  background-image:
    radial-gradient(80% 60% at 100% 0%, rgba(53, 160, 231, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, #060a6e 0%, #020658 55%, #01023f 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 80%);
  opacity: 0.7;
}

.hero__bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
}

.hero__bg-glow--blue {
  width: 720px;
  height: 720px;
  top: -240px;
  right: -160px;
  background: radial-gradient(circle, rgba(80, 182, 251, 0.55) 0%, rgba(80, 182, 251, 0) 70%);
}

.hero__bg-glow--green {
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(155, 224, 62, 0.32) 0%, rgba(155, 224, 62, 0) 70%);
  opacity: 0.45;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 96px var(--side-padding) 112px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__title {
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 24px 0;
}

.hero__title-accent {
  background: linear-gradient(120deg, #9be03e 0%, #50b6fb 60%, #c5f05a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hero__subtitle {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background-color: rgba(155, 224, 62, 0.12);
  border: 1px solid rgba(155, 224, 62, 0.35);
  color: #c5f05a;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__badge-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #9be03e;
  box-shadow: 0 0 0 3px rgba(155, 224, 62, 0.25);
  flex-shrink: 0;
}

.hero__badge-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(155, 224, 62, 0.55);
  animation: hero-pulse 2.4s ease-out infinite;
}

@keyframes hero-pulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  70%  { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 16px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: var(--color-white);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero__secondary svg {
  transition: transform 0.2s ease;
}

.hero__secondary:hover {
  color: #c5f05a;
}

.hero__secondary:hover svg {
  transform: translateX(3px);
}

.hero__highlights {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.hero__highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__highlights svg {
  color: #9be03e;
  flex-shrink: 0;
}

.hero__images {
  position: relative;
  height: 594px;
  width: 100%;
  max-width: 881px;
  justify-self: end;
}

.hero__images-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(80, 182, 251, 0.35) 0%, transparent 70%),
    radial-gradient(50% 60% at 80% 80%, rgba(155, 224, 62, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero__image-desktop {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 88%;
  max-width: 877px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #0a0f3a;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(255, 255, 255, 0.03);
}

.hero__image-desktop img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__image-mobile {
  position: absolute;
  right: 0;
  top: 89px;
  z-index: 2;
  width: 235px;
  max-height: 501px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #0a0f3a;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero__image-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Блок «О продукте» — графики
   ========================================================================== */

.section-about {
  position: relative;
  isolation: isolate;
  padding: 112px var(--side-padding) 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.section-about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(80, 182, 251, 0.10) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-white) 0%, var(--color-primary-25) 100%);
  pointer-events: none;
}

.about__images {
  position: relative;
  height: 485px;
  width: 100%;
  max-width: 815px;
}

.about__images-glow {
  position: absolute;
  inset: -10% -8% -10% -8%;
  z-index: 0;
  background:
    radial-gradient(50% 60% at 30% 30%, rgba(80, 182, 251, 0.28) 0%, transparent 70%),
    radial-gradient(45% 55% at 80% 80%, rgba(155, 224, 62, 0.22) 0%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
}

.about__image {
  position: absolute;
  border: 4px solid var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.4s ease;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__image--top {
  left: 0;
  top: 0;
  width: 65%;
  max-width: 534px;
  height: 372px;
  box-shadow: var(--shadow-card-alt);
  z-index: 1;
}

.about__image--bottom {
  left: 27%;
  top: 138px;
  width: 72%;
  max-width: 592px;
  height: 347px;
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.section-about:hover .about__image--top {
  transform: translate(-4px, -4px);
}

.section-about:hover .about__image--bottom {
  transform: translate(4px, 4px);
}

.about__tip {
  position: absolute;
  z-index: 3;
  left: -8px;
  bottom: -32px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 320px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(80, 182, 251, 0.25);
  border-radius: var(--radius-md);
  box-shadow:
    0 18px 40px rgba(2, 6, 88, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.about__tip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary-300) 0%, var(--color-primary-500) 100%);
  color: var(--color-white);
  flex-shrink: 0;
}

.about__tip-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about__tip-eyebrow {
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-primary-500);
  margin: 0;
}

.about__tip-text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--color-neutral-700);
  margin: 0;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 772px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: rgba(80, 182, 251, 0.12);
  color: var(--color-primary-600);
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary-400);
  box-shadow: 0 0 0 3px rgba(80, 182, 251, 0.2);
}

.about__features {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 28px;
}

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

.about__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(80, 182, 251, 0.14) 0%, rgba(155, 224, 62, 0.18) 100%);
  color: var(--color-primary-600);
  flex-shrink: 0;
}

.about__feature-title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0 0 4px 0;
}

.about__feature-desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
  margin: 0;
}

.section-title {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.section-lead {
  font-size: 20px;
  line-height: 28px;
  color: var(--color-neutral-600);
  font-weight: 400;
}

/* ==========================================================================
   Блок интеграций
   ========================================================================== */

.section-integration {
  position: relative;
  isolation: isolate;
  padding: 80px var(--side-padding) 100px;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.section-integration::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 50% at 100% 50%, rgba(80, 182, 251, 0.10) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-primary-25) 0%, var(--color-white) 100%);
  pointer-events: none;
}

.integration__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 772px;
}

.integration__tags-label {
  margin: 8px 0 -8px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-neutral-600);
}

.integration__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.integration__tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: var(--color-white);
  color: var(--color-primary-600);
  border: 1px solid rgba(40, 145, 215, 0.22);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.integration__tags li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary-400);
  flex-shrink: 0;
}

.integration__tags li:hover {
  transform: translateY(-2px);
  background-color: var(--color-primary-25);
  box-shadow: 0 6px 16px rgba(40, 145, 215, 0.15);
}

.integration__diagram {
  position: relative;
  height: 460px;
  width: 100%;
  max-width: 818px;
}

.integration__ring {
  position: absolute;
  left: calc(35% + 140px);
  top: 215px;
  border-radius: 50%;
  border-style: dashed;
  border-color: rgba(40, 145, 215, 0.28);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: integration-spin 80s linear infinite;
}

.integration__ring--inner {
  width: 360px;
  height: 360px;
  border-width: 1.5px;
  opacity: 0.7;
}

.integration__ring--outer {
  width: 480px;
  height: 480px;
  border-width: 1px;
  opacity: 0.45;
  animation-direction: reverse;
  animation-duration: 120s;
}

@keyframes integration-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.integration__hub {
  position: absolute;
  left: 35%;
  top: 75px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, var(--color-white) 0%, var(--color-neutral-75) 100%);
  border: 4px solid var(--color-white);
  box-shadow:
    var(--shadow-card),
    0 0 0 1px rgba(40, 145, 215, 0.12) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.integration__hub-cart {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-300) 0%, var(--color-primary-500) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow:
    0 12px 28px rgba(40, 145, 215, 0.35),
    0 0 0 6px rgba(80, 182, 251, 0.10);
}

.integration__hub-cart svg {
  width: 64px;
  height: 64px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.integration__hub-label {
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  color: var(--color-neutral-700);
  letter-spacing: 0.01em;
}

.integration__node {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--color-primary-500);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(40, 145, 215, 0.10);
  z-index: 2;
  animation: integration-float 5s ease-in-out infinite;
}

.integration__node svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.integration__node-label {
  font-size: 11px;
  line-height: 13px;
  font-weight: 600;
  color: var(--color-neutral-600);
  letter-spacing: 0.02em;
}

.integration__node--card {
  left: 20%;
  top: 42px;
  animation-delay: 0s;
}

.integration__node--message {
  left: 16%;
  top: 244px;
  animation-delay: -1.6s;
}

.integration__node--check {
  right: 6%;
  top: 57px;
  color: var(--color-green);
  animation-delay: -3.2s;
}

@keyframes integration-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.integration__plus {
  position: absolute;
  left: 57%;
  top: 227px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-white);
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.08),
    0 0 0 4px rgba(155, 224, 62, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green);
  z-index: 3;
  animation: integration-pulse 2.6s ease-in-out infinite;
}

.integration__plus svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
}

@keyframes integration-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 0 0 4px rgba(155, 224, 62, 0.18); }
  50%      { box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 0 0 10px rgba(155, 224, 62, 0); }
}

.integration__connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.integration__connectors line {
  stroke: rgba(40, 145, 215, 0.45);
  stroke-width: 2;
  stroke-dasharray: 6 5;
  stroke-linecap: round;
}

.integration__connectors--mobile {
  display: none;
}

/* ==========================================================================
   Блок «Для кого»
   ========================================================================== */

.for-whom-wrap {
  padding: 24px 32px 48px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.for-whom {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(80, 182, 251, 0.20) 0%, transparent 60%),
    linear-gradient(180deg, var(--color-primary-25) 0%, #e8f4fe 100%);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding: 80px 64px;
  align-items: center;
}

.for-whom__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(40, 145, 215, 0.12) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 90%);
  opacity: 0.55;
}

.for-whom__bg-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  bottom: -120px;
  left: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 224, 62, 0.22) 0%, rgba(155, 224, 62, 0) 70%);
  filter: blur(40px);
}

.for-whom__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.for-whom__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.for-whom__industries {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.for-whom__industries li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: var(--color-white);
  color: var(--color-neutral-700);
  border: 1px solid rgba(40, 145, 215, 0.20);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.for-whom__industries li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary-400);
  flex-shrink: 0;
}

.for-whom__industries li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(40, 145, 215, 0.15);
}

.for-whom__industry--active {
  background: linear-gradient(135deg, var(--color-green) 0%, #8ad300 100%) !important;
  color: var(--color-white) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(107, 183, 0, 0.30) !important;
}

.for-whom__industry--active::before {
  display: none;
}

.for-whom__industry--active svg {
  color: var(--color-white);
}

.for-whom__images {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 818 / 488;
  min-width: 0;
  /* Явная высота — чтобы % у вложенных absolute-рамок считались стабильно. */
  height: auto;
}

.for-whom__image {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: #d9d9d9;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.for-whom__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.for-whom__image:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  z-index: 2;
}

/* Координаты коллажа (макет 818×488): inset вместо width+height %. */
.for-whom__image--1 {
  inset: 0 85.82% 73.36% 0;
}

.for-whom__image--2 {
  inset: 0 34.35% 36.89% 16.99%;
}

.for-whom__image--3 {
  inset: 0 0 67.42% 68.58%;
}

.for-whom__image--4 {
  inset: 68.03% 51.47% 0 0;
}

.for-whom__image--5 {
  inset: 37.5% 0 0 68.58%;
}

/* ==========================================================================
   Блок преимуществ
   ========================================================================== */

.section-advantages {
  position: relative;
  isolation: isolate;
  padding: 96px var(--side-padding);
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-advantages::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 50% at 0% 100%, rgba(155, 224, 62, 0.10) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-white) 0%, var(--color-primary-25) 100%);
  pointer-events: none;
}

.advantages__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.advantages__title {
  margin: 0;
}

.advantages__subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  color: var(--color-neutral-600);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}

.advantage-card {
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 289px;
  height: 100%;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.advantage-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-300) 0%, var(--color-green) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(40, 145, 215, 0.30);
  box-shadow: 0 18px 36px rgba(40, 145, 215, 0.14);
}

.advantage-card:hover::after {
  opacity: 1;
}

.advantage-card:hover .advantage-card__icon {
  transform: scale(1.05);
  box-shadow: 0 14px 30px rgba(40, 145, 215, 0.35);
}

.advantage-card__number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  color: rgba(40, 145, 215, 0.10);
  letter-spacing: -0.02em;
  pointer-events: none;
}

.advantage-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.advantage-card__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-primary-300) 0%, var(--color-primary-500) 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(40, 145, 215, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.advantage-card__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.advantage-card__title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.advantage-card__text {
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: var(--color-neutral-600);
}

.advantages__footer {
  margin: 8px 0 0;
  text-align: center;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-neutral-600);
}

.advantages__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  color: var(--color-primary-600);
  font-weight: 600;
  transition: color 0.2s ease, gap 0.2s ease;
}

.advantages__footer-link svg {
  transition: transform 0.2s ease;
}

.advantages__footer-link:hover {
  color: var(--color-primary-500);
}

.advantages__footer-link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Блок вопросов и ответов (FAQ)
   ========================================================================== */

.section-faq {
  padding: 96px var(--side-padding);
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.section-faq__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 110px;
}

.section-faq__title {
  margin: 0;
}

.section-faq__subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600);
}

.section-faq__cta {
  margin-top: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(155, 224, 62, 0.16) 0%, transparent 70%),
    linear-gradient(135deg, var(--color-primary-25) 0%, var(--color-white) 100%);
  border: 1px solid rgba(40, 145, 215, 0.18);
}

.section-faq__cta-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.section-faq__cta-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
}

.section-faq__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--color-primary-600);
  transition: color 0.2s ease;
}

.section-faq__cta-link svg {
  transition: transform 0.2s ease;
}

.section-faq__cta-link:hover {
  color: var(--color-primary-500);
}

.section-faq__cta-link:hover svg {
  transform: translateX(3px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid rgba(40, 145, 215, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(40, 145, 215, 0.28);
}

.faq-item[open] {
  border-color: rgba(40, 145, 215, 0.30);
  box-shadow: 0 14px 32px rgba(40, 145, 215, 0.10);
}

.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: var(--color-neutral-700);
  cursor: pointer;
  list-style: none;
  user-select: none;
  outline: none;
  transition: color 0.2s ease;
}

.faq-item__summary:hover {
  color: var(--color-primary-600);
}

.faq-item[open] .faq-item__summary {
  color: var(--color-primary-600);
  padding-bottom: 12px;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__summary:focus-visible {
  box-shadow: inset 0 0 0 2px var(--color-primary-400);
  border-radius: var(--radius-md);
}

.faq-item__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-primary-25);
  color: var(--color-primary-500);
  transition: transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--color-primary-300) 0%, var(--color-primary-500) 100%);
  color: var(--color-white);
}

.faq-item__answer {
  padding: 0 28px 24px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600);
}

.faq-item__answer p {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(40, 145, 215, 0.10);
}

/* ==========================================================================
   Контакты (форма + соцсети)
   ========================================================================== */

.section-contacts {
  background-color: var(--color-dark-blue);
  padding: 72px var(--side-padding);
}

.contacts {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 1320px;
  margin: 0 auto;
  box-shadow: 0 30px 80px -40px rgba(2, 6, 88, 0.45);
}

.contacts__form-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  padding: 64px 72px;
  align-items: stretch;
  /* Мягкое фирменное свечение в левом верхнем углу — глубина без отвлечения от формы. */
  background:
    radial-gradient(640px 320px at 0% 0%, rgba(80, 182, 251, 0.10) 0%, transparent 60%),
    radial-gradient(420px 320px at 100% 100%, rgba(2, 6, 88, 0.05) 0%, transparent 65%),
    var(--color-white);
}

/* --- Колонка с текстом (интро) ---------------------------------------- */

.contacts__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
}

.contacts__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background-color: var(--color-primary-25);
  color: var(--color-primary-600);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.contacts__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-green);
  box-shadow: 0 0 0 4px rgba(107, 183, 0, 0.18);
  flex-shrink: 0;
}

.contacts__benefits {
  list-style: none;
  margin: 12px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--color-neutral-200);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacts__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-700);
  font-weight: 500;
}

.contacts__benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(107, 183, 0, 0.14);
  color: var(--color-green);
  flex-shrink: 0;
  margin-top: -2px;
}

.contacts__benefit-icon svg {
  display: block;
}

.contacts__trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  padding: 14px 16px;
  background-color: var(--color-primary-25);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-700);
}

.contacts__trust svg {
  color: var(--color-primary-500);
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Колонка с формой -------------------------------------------------- */

.contacts-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 100%;
  min-width: 0;
  padding: 32px 32px 28px;
  background-color: var(--color-neutral-75);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-neutral-200);
}

.contacts-form__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}

.contacts-form__title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.contacts-form__subtitle {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
  margin: 0;
}

/* Поля формы — модель из sellnbuy-admin (_inputs.scss).
   Лейбл всегда статичен сверху, маленький; у инпута увеличенный padding-top,
   чтобы текст вводился ниже лейбла. На фокус — primary‑цвет рамки и лейбла. */
.field {
  position: relative;
  width: 100%;
}

.field__label,
.field__label--inside {
  position: absolute;
  top: 8px;
  left: 16px;
  right: 16px;
  display: block;
  width: auto;
  max-width: none;
  background: transparent;
  padding: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--color-neutral-600);
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  pointer-events: none;
  z-index: 2;
  transition: color 0.15s ease;
}

.field__required {
  color: var(--color-primary-600);
  font-size: 12px;
  margin-left: 2px;
}

.field__control {
  width: 100%;
  height: 56px;
  padding: 22px 16px 6px;
  border: 1px solid var(--color-neutral-400);
  border-radius: 8px;
  background-color: var(--color-white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 16px;
  line-height: 20px;
  color: var(--color-neutral-700);
  box-sizing: border-box;
}

.field__control--textarea {
  height: auto;
  min-height: 140px;
  resize: vertical;
  padding: 28px 16px 12px;
}

.field__control::placeholder {
  color: var(--color-neutral-500);
}

.field__control:focus {
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 3px rgba(40, 145, 215, 0.15);
}

.field:has(.field__control:focus) .field__label,
.field:has(.field__control:focus) .field__label--inside {
  color: var(--color-primary-600);
}

.field__control:disabled {
  border-color: var(--color-neutral-400);
  color: var(--color-neutral-500);
  background-color: var(--color-neutral-75);
  cursor: not-allowed;
}

.field:has(.field__control:disabled) .field__label,
.field:has(.field__control:disabled) .field__label--inside {
  color: var(--color-neutral-400);
}

.contacts-form__submit {
  width: 100%;
  margin-top: 8px;
}

.contacts-form__note {
  font-size: 13px;
  line-height: 18px;
  color: var(--color-neutral-600);
  margin: 4px 0 0;
}

.contacts-form__note a {
  color: var(--color-primary-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contacts-form__note a:hover {
  color: var(--color-primary-600);
}

/* ==========================================================================
   Юридическая страница (/privacy) — политика / условия / cookie
   ========================================================================== */

.legal-page {
  background-color: var(--color-neutral-75);
  padding: 64px var(--side-padding) 96px;
}

.legal-page__inner {
  max-width: 820px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 64px 64px 56px;
  box-shadow: 0 4px 32px rgba(20, 40, 80, 0.04);
}

.legal-page__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.legal-page__eyebrow {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-primary-500);
  margin: 0;
}

.legal-page__title {
  font-size: 36px;
  line-height: 44px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.legal-page__updated {
  font-size: 15px;
  line-height: 22px;
  color: var(--color-neutral-600);
  margin: 0;
}

.legal-page__updated a {
  color: var(--color-primary-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__notice {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--color-primary-400);
  background-color: var(--color-primary-25);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 22px;
  color: var(--color-neutral-700);
}

.legal-page__notice a {
  color: var(--color-primary-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__toc {
  background-color: var(--color-neutral-75);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 48px;
}

.legal-page__toc-title {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-neutral-600);
  margin: 0 0 12px;
}

.legal-page__toc ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

.legal-page__toc li {
  font-size: 15px;
  line-height: 22px;
  color: var(--color-neutral-700);
}

.legal-page__toc a {
  color: var(--color-neutral-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-page__toc a:hover {
  color: var(--color-primary-500);
  border-bottom-color: var(--color-primary-300);
}

.legal-page__section {
  margin-bottom: 40px;
  scroll-margin-top: 110px;
}

.legal-page__section:last-of-type {
  margin-bottom: 24px;
}

.legal-page__section h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0 0 16px;
}

.legal-page__section h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 24px 0 8px;
}

.legal-page__section p {
  font-size: 16px;
  line-height: 26px;
  color: var(--color-neutral-700);
  margin: 0 0 14px;
}

.legal-page__section p:last-child {
  margin-bottom: 0;
}

.legal-page__section ul {
  margin: 0 0 16px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-page__section li {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-700);
}

.legal-page__section a {
  color: var(--color-primary-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.legal-page__section a:hover {
  color: var(--color-primary-600);
}

.legal-page__section strong {
  font-weight: 600;
  color: var(--color-neutral-700);
}

.legal-page__footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-neutral-200);
  font-size: 15px;
  line-height: 22px;
  color: var(--color-neutral-600);
}

.legal-page__footer a {
  color: var(--color-primary-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1024px) {
  .legal-page {
    padding: 48px var(--side-padding) 72px;
  }

  .legal-page__inner {
    padding: 48px 40px;
  }

  .legal-page__title {
    font-size: 30px;
    line-height: 38px;
  }
}

@media (max-width: 720px) {
  .legal-page {
    padding: 24px 16px 48px;
  }

  .legal-page__inner {
    padding: 32px 20px 28px;
    border-radius: 16px;
  }

  .legal-page__title {
    font-size: 24px;
    line-height: 30px;
  }

  .legal-page__updated {
    font-size: 14px;
    line-height: 20px;
  }

  .legal-page__toc {
    padding: 20px;
    margin-bottom: 32px;
  }

  .legal-page__toc ol {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .legal-page__section {
    margin-bottom: 32px;
  }

  .legal-page__section h2 {
    font-size: 20px;
    line-height: 26px;
  }

  .legal-page__section h3 {
    font-size: 17px;
    line-height: 22px;
    margin-top: 20px;
  }

  .legal-page__section p,
  .legal-page__section li {
    font-size: 15px;
    line-height: 22px;
  }
}

/* ==========================================================================
   Подвал сайта
   ========================================================================== */

/* Тёмный подвал в несколько колонок.
   Токены цвета локальны здесь, чтобы не засорять глобальный :root
   (остальная страница на светлой палитре). */
.site-footer {
  --footer-bg:        var(--color-dark-blue);
  --footer-bg-soft:   #0a0f78;
  --footer-text:      rgba(255, 255, 255, 0.78);
  --footer-text-mute: rgba(255, 255, 255, 0.55);
  --footer-link:      #ffffff;
  --footer-link-hover: var(--color-primary-300);
  --footer-divider:   rgba(255, 255, 255, 0.12);

  background:
    radial-gradient(120% 80% at 0% 0%, var(--footer-bg-soft) 0%, transparent 60%),
    radial-gradient(120% 80% at 100% 0%, rgba(40, 145, 215, 0.18) 0%, transparent 60%),
    var(--footer-bg);
  color: var(--footer-text);
  padding: 80px var(--side-padding) 32px;
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
  min-width: 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 64px;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 420px;
  /* Позволяет grid/flex‑родителю сжимать колонку уже max-content детей (иначе
     кнопка с width:max-content раздувает трек и даёт горизонтальный скролл). */
  min-width: 0;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: max-content;
}

.site-footer__logo img {
  height: 40px;
  width: auto;
  display: block;
  /* logo-footer.svg уже для тёмного фона (белый текст и корзина, стрелки #020658).
     Не применять invert к img: иначе стрелки и корпус сливаются в один цвет. */
}

.site-footer__tagline {
  font-size: 16px;
  line-height: 24px;
  color: var(--footer-text);
  margin: 0;
  max-width: 380px;
}

.site-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--footer-divider);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--footer-text);
  width: max-content;
  max-width: 100%;
  margin: 0;
}

.site-footer__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-green);
  box-shadow: 0 0 0 4px rgba(107, 183, 0, 0.18);
  flex-shrink: 0;
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: var(--color-primary-400);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 4px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.site-footer__cta:hover {
  background-color: var(--color-primary-500);
  transform: translateY(-1px);
}

.site-footer__cta svg {
  display: block;
  flex-shrink: 0;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.site-footer__col-title {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--footer-text-mute);
  margin: 0 0 18px;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__col a {
  color: var(--footer-link);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-footer__col a:hover {
  color: var(--footer-link-hover);
}

.site-footer__contacts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-footer__contact-label {
  font-size: 12px;
  line-height: 16px;
  color: var(--footer-text-mute);
  font-weight: 500;
}

.site-footer__contacts a {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--footer-link);
  word-break: break-all;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--footer-divider);
}

.site-footer__copy,
.site-footer__made {
  font-size: 13px;
  line-height: 18px;
  color: var(--footer-text-mute);
  margin: 0;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.site-footer__legal a {
  font-size: 13px;
  line-height: 18px;
  color: var(--footer-text);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-footer__legal a:hover {
  color: var(--footer-link-hover);
}

/* ==========================================================================
   Адаптивная вёрстка
   ========================================================================== */

@media (max-width: 1440px) {
  :root {
    --side-padding: 64px;
  }

  .hero__inner,
  .section-about,
  .section-integration {
    gap: 40px;
  }

  .for-whom__content {
    padding-left: 32px;
  }
}

@media (max-width: 1200px) {
  .hero__title {
    font-size: 38px;
    line-height: 46px;
  }

  .hero__subtitle,
  .section-lead {
    font-size: 18px;
    line-height: 26px;
  }

  .section-title {
    font-size: 32px;
  }

  .for-whom {
    padding: 56px 40px;
    gap: 32px;
  }

  .contacts__form-wrap {
    padding: 48px 48px;
    gap: 48px;
  }
}

/* Шапка: бургер раньше, чем остальная сетка — даже компактному меню
   нужно ≥1280px (логотип + 5 пунктов + 2 кнопки). Ниже — скрываем desktop-nav. */
@media (max-width: 1280px) {
  .site-header__inner {
    height: 76px;
    justify-content: flex-start;
    gap: 16px;
  }

  .site-header__burger {
    display: inline-flex;
  }

  .site-nav,
  .site-header__actions {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 1024px) {
  :root {
    --side-padding: 32px;
  }

  .btn--primary,
  .btn--secondary {
    height: 44px;
    min-width: 0;
    padding: 8px 24px;
  }

  .hero__inner,
  .section-about,
  .section-integration,
  .for-whom {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__inner {
    padding: 80px var(--side-padding) 100px;
  }

  .hero__bg-grid {
    background-size: 44px 44px;
  }

  .hero__bg-glow--blue {
    width: 520px;
    height: 520px;
  }

  .hero__highlights {
    gap: 10px 20px;
  }

  .section-about {
    padding: 100px var(--side-padding) 80px;
    gap: 48px;
  }

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

  .about__tip {
    left: 0;
    right: 0;
    bottom: -48px;
    margin: 0 auto;
    max-width: 360px;
  }

  .for-whom__content {
    padding-left: 0;
  }

  .hero__images,
  .about__images,
  .integration__diagram,
  .for-whom__images {
    margin: 0 auto;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .section-faq {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 80px var(--side-padding);
  }

  .section-faq__header {
    position: static;
    top: auto;
  }

  .contacts__form-wrap {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 40px;
  }

  .contacts-form {
    padding: 28px 28px 24px;
  }

  .site-footer {
    padding: 64px var(--side-padding) 32px;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .site-footer__brand {
    max-width: none;
  }

  .site-footer__columns {
    gap: 32px;
  }
}

/* ==========================================================================
   Мобильная вёрстка (≤720px) — макет Figma Mobile (375px)
   ========================================================================== */

@media (max-width: 720px) {
  :root {
    --side-padding: 20px;
  }

  /* --- Шапка --- */
  .site-header {
    position: sticky;
    top: 0;
  }

  .site-header__inner {
    height: 56px;
    padding: 16px 20px;
    gap: 12px;
  }

  .site-header__logo img {
    height: 24px;
  }

  /* --- Типографика (общие переопределения) --- */
  .section-title {
    font-size: 22px;
    line-height: 26px;
  }

  .section-lead {
    font-size: 16px;
    line-height: 20px;
  }

  /* --- Кнопки --- */
  .btn--accent,
  .btn--cta-dark {
    width: 100%;
    min-width: 0;
    height: 60px;
    padding: 8px 24px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: 0;
  }

  /* --- Первый экран --- */
  .hero__inner {
    padding: 44px 20px;
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .hero__content {
    gap: 48px;
    width: 100%;
  }

  .hero__title {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 20px;
  }

  .hero__title-accent {
    white-space: normal;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 24px;
  }

  .hero__badge {
    padding: 6px 12px;
    font-size: 12px;
    line-height: 16px;
    gap: 8px;
  }

  .hero__badge-dot {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 2px rgba(107, 183, 0, 0.25);
  }

  .hero__bg-grid {
    background-size: 36px 36px;
    opacity: 0.5;
  }

  .hero__bg-glow--blue {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -120px;
  }

  .hero__bg-glow--green {
    width: 320px;
    height: 320px;
    left: -140px;
    bottom: -160px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero__secondary {
    height: 48px;
    justify-content: center;
    padding: 0;
  }

  .hero__highlights {
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
    font-size: 13px;
    line-height: 18px;
  }

  .hero__images {
    height: auto;
    max-width: 100%;
    aspect-ratio: 335 / 226;
    justify-self: stretch;
  }

  .hero__images-glow {
    filter: blur(28px);
  }

  .hero__image-desktop {
    width: 99.7%;
    border-width: 1px;
    border-radius: 6px;
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  .hero__image-mobile {
    width: 38%;
    top: 14.97%;
    bottom: 0.7%;
    left: auto;
    right: 0;
    transform: translateX(calc(-50% + 50.4%));
    height: auto;
    border-width: 1.5px;
    border-radius: 6px;
  }

  /* --- О продукте --- */
  .section-about {
    padding: 56px 20px 40px;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
  }

  .about__text {
    order: -1;
    gap: 16px;
    width: 100%;
    max-width: none;
  }

  .section-eyebrow {
    padding: 5px 12px;
    font-size: 12px;
    line-height: 14px;
  }

  .about__features {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 8px;
  }

  .about__feature-icon {
    width: 36px;
    height: 36px;
  }

  .about__feature-title {
    font-size: 15px;
    line-height: 20px;
  }

  .about__feature-desc {
    font-size: 14px;
    line-height: 18px;
  }

  .about__images {
    height: 199px;
    width: 100%;
    max-width: 335px;
    margin: 0 auto;
  }

  .about__images-glow {
    display: none;
  }

  .about__tip {
    display: none;
  }

  .about__image {
    border-width: 1.5px;
    border-radius: 6px;
  }

  .about__image--top {
    width: 65%;
    height: 76.6%;
    left: 0;
    top: 0;
  }

  .about__image--bottom {
    width: 75%;
    height: 71.5%;
    left: auto;
    right: 0;
    top: 28.5%;
  }

  /* --- Интеграции --- */
  .section-integration {
    padding: 56px 20px 56px;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }

  .integration__text {
    gap: 16px;
    width: 100%;
    max-width: none;
  }

  .integration__tags-label {
    margin: 4px 0 -4px;
    font-size: 12px;
    line-height: 14px;
  }

  .integration__tags {
    gap: 6px;
  }

  .integration__tags li {
    padding: 6px 12px;
    font-size: 13px;
    line-height: 16px;
  }

  .integration__diagram {
    display: block;
    height: 172px;
    max-width: 335px;
    width: 100%;
    margin: 0 auto;
  }

  .integration__ring {
    display: none;
  }

  .integration__hub {
    left: 50%;
    top: 14px;
    width: 140px;
    height: 140px;
    transform: translateX(-50%);
    border-width: 1.5px;
    gap: 4px;
  }

  .integration__hub-cart {
    width: 70px;
    height: 70px;
    box-shadow:
      0 6px 16px rgba(40, 145, 215, 0.3),
      0 0 0 4px rgba(80, 182, 251, 0.10);
  }

  .integration__hub-cart svg {
    width: 36px;
    height: 36px;
  }

  .integration__hub-label {
    font-size: 11px;
    line-height: 13px;
  }

  .integration__node {
    width: 56px;
    height: 56px;
    padding: 4px;
    gap: 0;
    animation: none;
  }

  .integration__node svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.6;
  }

  .integration__node-label {
    display: none;
  }

  .integration__node--card {
    left: 35px;
    top: 5px;
  }

  .integration__node--message {
    left: 8px;
    top: 112px;
  }

  .integration__node--check {
    left: auto;
    right: 14px;
    top: 5px;
  }

  .integration__plus {
    left: 185px;
    top: 90px;
    width: 24px;
    height: 24px;
  }

  .integration__plus svg {
    width: 10px;
    height: 10px;
  }

  .integration__connectors--desktop {
    display: none;
  }

  .integration__connectors--mobile {
    display: block;
  }

  /* --- Для кого --- */
  .for-whom-wrap {
    padding: 16px 20px 32px;
  }

  .for-whom {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 44px 20px;
    border-radius: 20px;
    align-items: stretch;
  }

  .for-whom__content {
    gap: 32px;
    padding-left: 0;
    width: 100%;
    max-width: 335px;
    margin: 0 auto;
  }

  .for-whom__text {
    gap: 16px;
  }

  .for-whom__text > .section-title {
    font-size: 22px;
    line-height: 26px;
  }

  .for-whom__industries {
    margin-top: 8px;
    gap: 6px;
  }

  .for-whom__industries li {
    padding: 6px 12px;
    font-size: 13px;
    line-height: 16px;
  }

  .for-whom__image {
    cursor: default;
  }

  .for-whom__image:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
  }

  .for-whom__images {
    height: auto;
    max-width: 100%;
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 64px;
    gap: 8px;
    width: 100%;
    aspect-ratio: auto;
  }

  .for-whom__image {
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 10px;
  }

  /* picture из responsive_image_tag — растягиваем на ячейку сетки */
  .for-whom__image picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .for-whom__image img {
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }

  .for-whom__image--1 {
    grid-column: 1 / span 1;
    grid-row: 2 / span 1;
    inset: auto;
  }

  .for-whom__image--2 {
    grid-column: 2 / span 3;
    grid-row: 1 / span 2;
    inset: auto;
  }

  .for-whom__image--3 {
    grid-column: 5 / span 2;
    grid-row: 1 / span 1;
    inset: auto;
  }

  .for-whom__image--4 {
    grid-column: 1 / span 4;
    grid-row: 3 / span 1;
    inset: auto;
  }

  .for-whom__image--5 {
    grid-column: 5 / span 2;
    grid-row: 2 / span 2;
    inset: auto;
  }

  /* --- Преимущества --- */
  .section-advantages {
    padding: 56px 20px;
    gap: 28px;
  }

  .advantages__header {
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }

  .advantages__title {
    font-size: 22px;
    line-height: 26px;
    text-align: left;
  }

  .advantages__subtitle {
    font-size: 15px;
    line-height: 21px;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .advantage-card {
    padding: 22px 20px;
    gap: 14px;
    min-height: auto;
    border-radius: var(--radius-md);
  }

  .advantage-card__number {
    top: 14px;
    right: 18px;
    font-size: 36px;
  }

  .advantage-card__head {
    gap: 12px;
  }

  .advantage-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 6px 14px rgba(40, 145, 215, 0.22);
  }

  .advantage-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .advantage-card:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    border-color: rgba(40, 145, 215, 0.12);
  }

  .advantage-card:hover::after {
    opacity: 0;
  }

  .advantage-card:hover .advantage-card__icon {
    transform: none;
    box-shadow: 0 6px 14px rgba(40, 145, 215, 0.22);
  }

  .advantage-card__title {
    font-size: 17px;
    line-height: 22px;
    padding-right: 40px;
  }

  .advantage-card__text {
    font-size: 15px;
    line-height: 20px;
  }

  .advantages__footer {
    text-align: left;
    font-size: 14px;
    line-height: 20px;
  }

  .advantages__footer-link {
    margin-left: 0;
    display: inline-flex;
  }

  /* --- Вопросы и ответы --- */
  .section-faq {
    padding: 56px 20px;
    gap: 28px;
  }

  .section-faq__header {
    gap: 12px;
  }

  .section-faq__title {
    font-size: 22px;
    line-height: 26px;
    text-align: left;
  }

  .section-faq__subtitle {
    font-size: 15px;
    line-height: 21px;
  }

  .section-faq__cta {
    margin-top: 8px;
    padding: 18px 18px 16px;
    border-radius: var(--radius-md);
  }

  .section-faq__cta-title {
    font-size: 15px;
    line-height: 20px;
  }

  .section-faq__cta-text {
    font-size: 13px;
    line-height: 18px;
  }

  .section-faq__cta-link {
    font-size: 13px;
    line-height: 18px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item__summary {
    padding: 18px 20px;
    font-size: 16px;
    line-height: 22px;
    gap: 16px;
  }

  .faq-item[open] .faq-item__summary {
    padding-bottom: 10px;
  }

  .faq-item__chevron {
    width: 28px;
    height: 28px;
  }

  .faq-item__answer {
    padding: 0 20px 20px;
    font-size: 15px;
    line-height: 22px;
  }

  /* --- Контакты --- */
  .section-contacts {
    padding: 44px 12px;
  }

  .contacts {
    border-radius: 16px;
  }

  .contacts__form-wrap {
    grid-template-columns: 1fr;
    padding: 32px 16px;
    gap: 32px;
  }

  .contacts__intro {
    gap: 14px;
    text-align: center;
    align-items: center;
    max-width: none;
  }

  .contacts__eyebrow {
    font-size: 12px;
    line-height: 16px;
    padding: 5px 12px 5px 10px;
  }

  .contacts__intro .section-title {
    font-size: 22px;
    line-height: 28px;
  }

  .contacts__benefits {
    align-self: stretch;
    text-align: left;
    padding-top: 20px;
    margin-top: 6px;
  }

  .contacts__benefits li {
    font-size: 15px;
    line-height: 22px;
  }

  .contacts__trust {
    align-self: stretch;
    text-align: left;
    font-size: 13px;
    line-height: 18px;
    padding: 12px 14px;
  }

  .contacts-form {
    width: 100%;
    gap: 22px;
    padding: 24px 20px 22px;
    border-radius: 16px;
  }

  .contacts-form__title {
    font-size: 18px;
    line-height: 24px;
  }

  .contacts-form__subtitle {
    font-size: 13px;
    line-height: 18px;
  }

  .contacts-form__note {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
  }

  .contacts-form__submit {
    height: 60px;
  }

  /* На узком экране длинные лейблы переносятся в 2 строки —
     даём textarea запас под высоту двухстрочного лейбла. */
  .field__control--textarea {
    padding-top: 44px;
  }

  /* --- Подвал --- */
  .site-footer {
    padding: 56px 20px 28px;
  }

  .site-footer__inner {
    gap: 40px;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .site-footer__logo img {
    height: 32px;
  }

  .site-footer__tagline {
    font-size: 15px;
    line-height: 22px;
  }

  .site-footer__cta {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: center;
    height: auto;
    min-height: 48px;
    padding: 10px 14px;
    white-space: normal;
    flex-wrap: wrap;
    text-align: center;
    row-gap: 4px;
  }

  .site-footer__columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .site-footer__col-title {
    margin-bottom: 14px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 24px;
  }

  .site-footer__legal {
    gap: 8px 20px;
  }
}

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

/* ==========================================================================
   Согласие на cookie — нижний баннер + модальное окно
   ========================================================================== */

.cookie-banner {
  position: fixed;
  z-index: 1100;
  inset: auto 16px 16px 16px;
  padding: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow:
    0 -2px 16px rgba(2, 6, 88, 0.04),
    0 24px 60px -20px rgba(2, 6, 88, 0.35);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px 32px;
  align-items: center;
  padding: 20px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.cookie-banner__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cookie-banner__title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.cookie-banner__lead {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
  margin: 0;
}

.cookie-banner__lead a {
  color: var(--color-primary-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__lead a:hover {
  color: var(--color-primary-600);
}

.cookie-banner__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* --- Кнопки (баннер и модалка общие) ---------------------------------- */

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--color-neutral-700);
  transition: background-color 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

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

.cookie-btn--primary {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  border-color: var(--color-dark-blue);
}

.cookie-btn--primary:hover {
  background-color: #0a0f78;
}

.cookie-btn--secondary {
  background-color: var(--color-white);
  color: var(--color-neutral-700);
  border-color: var(--color-neutral-400);
}

.cookie-btn--secondary:hover {
  border-color: var(--color-dark-blue);
  color: var(--color-dark-blue);
}

.cookie-btn--ghost {
  background: transparent;
  color: var(--color-neutral-600);
  border-color: transparent;
  padding: 0 12px;
}

.cookie-btn--ghost:hover {
  color: var(--color-dark-blue);
  background-color: var(--color-neutral-75);
}

/* --- Модальное окно ---------------------------------------------------- */

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cookie-modal--open {
  display: flex;
}

.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(2, 6, 88, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: cookie-modal-fade 0.18s ease;
}

.cookie-modal__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 32px);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(2, 6, 88, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: cookie-modal-pop 0.2s ease;
}

@keyframes cookie-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cookie-modal-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--color-neutral-200);
}

.cookie-modal__title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.cookie-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-neutral-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cookie-modal__close:hover {
  background-color: var(--color-neutral-75);
  color: var(--color-neutral-700);
}

.cookie-modal__body {
  padding: 22px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-modal__intro {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-600);
  margin: 0;
}

.cookie-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-cat {
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background-color: var(--color-neutral-75);
}

.cookie-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.cookie-cat__title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin: 0;
}

.cookie-cat__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.cookie-cat__badge--always {
  background-color: rgba(107, 183, 0, 0.14);
  color: #3f7100;
}

.cookie-cat__desc {
  font-size: 13px;
  line-height: 19px;
  color: var(--color-neutral-600);
  margin: 0;
}

/* --- Переключатели ----------------------------------------------------- */

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

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

.cookie-toggle__track {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  background-color: var(--color-neutral-400);
  border-radius: 999px;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.cookie-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background-color: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.cookie-toggle__input:checked + .cookie-toggle__track {
  background-color: var(--color-primary-500);
}

.cookie-toggle__input:checked + .cookie-toggle__track .cookie-toggle__thumb {
  transform: translateX(18px);
}

.cookie-toggle__input:focus-visible + .cookie-toggle__track {
  box-shadow: 0 0 0 3px rgba(40, 145, 215, 0.25);
}

.cookie-toggle__label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--color-neutral-600);
}

.cookie-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 28px;
  border-top: 1px solid var(--color-neutral-200);
  background-color: var(--color-neutral-75);
}

.cookie-modal__footer-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 720px) {
  .cookie-banner {
    inset: auto 8px 8px 8px;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 18px 16px;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .cookie-btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .cookie-modal {
    padding: 0;
    align-items: flex-end;
  }

  .cookie-modal__panel {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
    animation: cookie-modal-slide-up 0.22s ease;
  }

  @keyframes cookie-modal-slide-up {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .cookie-modal__header,
  .cookie-modal__footer {
    padding: 16px 18px;
  }

  .cookie-modal__body {
    padding: 18px;
  }

  .cookie-modal__footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .cookie-modal__footer-right {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .cookie-modal__footer .cookie-btn {
    height: 44px;
    width: 100%;
  }
}

/* ==========================================================================
   Доступность: уважение к настройке «уменьшить анимацию»
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
