/* ==========================================================================
   ЭКОМЕРА — временный сайт
   Дизайн-система: Unbounded (заголовки) + Onest (текст), белый и небесно-голубой
   ========================================================================== */

/* ---------- Шрифты (локально, variable) ---------- */
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  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: "Onest";
  src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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 {
  /* палитра заказчика */
  --white: #ffffff;
  --sky-50: #eef7fd;      /* светлое небо — фоны сцен */
  --sky-400: #5bbef5;     /* небесно-голубой — декор, свечения */
  --blue-500: #1a8fe3;    /* насыщенный голубой — кнопки, акценты, фокус */
  --navy-900: #0b1f4d;    /* тёмно-синий — текст, как в логотипе */
  /* производные */
  --sky-100: #ddeffb;
  --sky-200: #c2e3f8;
  --blue-700: #1677c9;    /* ссылки мелким текстом, ховер кнопок (4.6:1 на белом) */
  --navy-800: #16306b;
  --blue-800: #135f9f;     /* мелкий акцентный текст на светлом небе (6:1) */
  --ink: var(--navy-900);
  --ink-2: #44557a;       /* вторичный текст (7:1) */
  --ink-3: #5f6f8f;       /* подписи (5:1) */
  --line: #d9e9f5;        /* декоративные разделители */
  --field-line: #7896b3;  /* границы полей (3:1 к белому) */
  --danger: #c8283c;
  --danger-bg: #fdf0f2;
  /* градиент логотипа — только для «О» */
  --logo-conic: conic-gradient(from 0deg, #215afd 0deg, #5c4bef 30deg, #a140d7 60deg, #e128aa 90deg, #f0144b 122deg, #ef1956 150deg, #d434b3 180deg, #7d6bdf 210deg, #3f92f8 240deg, #1baafd 270deg, #0cb2ff 300deg, #0f89fe 330deg, #215afd 360deg);

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --scene-pad: clamp(96px, 12vw, 184px);
  --header-h: 76px;

  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: 36px;

  --shadow-1: 0 1px 2px rgba(11, 31, 77, .06);
  --shadow-2: 0 2px 6px rgba(26, 143, 227, .06), 0 14px 34px -14px rgba(11, 31, 77, .18);
  --shadow-3: 0 2px 8px rgba(26, 143, 227, .06), 0 40px 90px -40px rgba(26, 143, 227, .42);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  color-scheme: light;
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--sky-200); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 12px 18px; border-radius: 999px;
  background: var(--navy-900); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Пометка для незаполненных данных */
.todo {
  display: inline-block;
  padding: 0 .45em;
  border: 1.5px dashed #e08a00;
  border-radius: 6px;
  background: #fff6e5;
  color: #8a4b00;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92em;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-800);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sky-400);
  box-shadow: 0 0 0 4px rgba(91, 190, 245, .22);
}
.h2 {
  margin-top: .45em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.05rem, 1rem + 4.3vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 1rem + .8vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.lead {
  margin-top: 1.1em;
  max-width: 44rem;
  font-size: clamp(1.125rem, 1rem + .5vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.text-link {
  color: var(--blue-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-color: rgba(22, 119, 201, .4);
  transition: text-decoration-color .2s, color .2s;
}
.text-link:hover { color: var(--navy-900); text-decoration-color: currentColor; }

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--blue-500);
  --btn-bg-hover: var(--blue-700);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px;
  padding: 0 30px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  /* 19px / 700 — «крупный текст» по WCAG, контраст белого на #1A8FE3 3.4:1 допустим */
  font-size: 1.1875rem; font-weight: 700; line-height: 1.1; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -12px rgba(26, 143, 227, .7);
  transition: background-color .25s ease, transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.btn__icon { width: 20px; height: 20px; flex: none; transition: transform .4s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--navy { --btn-bg: var(--navy-900); --btn-bg-hover: var(--navy-800); box-shadow: 0 10px 24px -12px rgba(11, 31, 77, .7); }
.btn--soft {
  --btn-bg: #fff; --btn-bg-hover: var(--sky-50); --btn-fg: var(--navy-900);
  min-height: 52px; padding: 0 24px;
  font-size: 1rem; font-weight: 600;
  box-shadow: inset 0 0 0 1.5px var(--sky-200);
}
.btn--soft:hover { box-shadow: inset 0 0 0 1.5px var(--blue-500); }
.btn[disabled], .btn[aria-busy="true"] { cursor: progress; transform: none; }
.btn[disabled]:not([aria-busy="true"]) { opacity: .55; cursor: not-allowed; }
.btn[aria-busy="true"] { background: var(--blue-700); }
.btn__spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Плашка «сайт в разработке»
   ========================================================================== */
.notice {
  position: relative;
  z-index: 60;
  background: var(--navy-900);
  color: #fff;
  font-size: .9375rem;
  line-height: 1.4;
}
.notice__inner {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 10px 56px;
  text-align: center;
}
.notice__dot {
  flex: none; width: 8px; height: 8px; margin-right: 12px; border-radius: 50%;
  background: var(--sky-400);
  box-shadow: 0 0 0 0 rgba(91,190,245,.6);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91,190,245,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(91,190,245,0); } }
.notice a {
  color: #a9dcfb;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}
.notice a:hover { color: #fff; }
.notice :focus-visible { outline-color: var(--sky-400); }
.notice__close {
  position: absolute; right: 6px; top: 50%;
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-top: -22px;
  border: 0; border-radius: 50%;
  background: transparent; color: #cfe6f8;
  transition: background-color .2s, color .2s;
}
.notice__close:hover { background: rgba(255,255,255,.1); color: #fff; }
.notice__close svg { width: 18px; height: 18px; }
html.notice-closed .notice { display: none; }
@media (max-width: 599px) {
  .notice { font-size: .875rem; }
  .notice__inner { justify-content: flex-start; padding: 10px 52px 10px 16px; text-align: left; }
}

/* ==========================================================================
   Шапка
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgba(11, 31, 77, .07);
  opacity: 0;
  transition: opacity .35s ease;
}
.header.is-scrolled::before, .header.is-open::before { opacity: 1; }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 100%;
}
.logo { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.logo img { width: auto; height: 34px; }
@media (max-width: 767px) { .logo img { height: 28px; } }

/* --- Облачка меню --- */
.nav__list { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }

.cloud {
  --puff: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px;
  padding: 0 20px;
  color: var(--navy-900);
  font-size: .9375rem; font-weight: 600; line-height: 1; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  isolation: isolate;
  filter: drop-shadow(0 8px 12px rgba(26, 143, 227, .17)) drop-shadow(0 1px 1px rgba(11, 31, 77, .07));
  transition: transform .6s var(--ease-out), color .25s ease;
  animation: cloud-float 6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  -webkit-tap-highlight-color: transparent;
}
.cloud::before,
.cloud::after,
.cloud__puff {
  content: "";
  position: absolute; z-index: -1;
  background: var(--puff);
  border-radius: 999px;
  /* мягкий «пушистый» край */
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, .95);
  transition: transform .6s var(--ease-out);
}
.cloud::before {          /* тело облака */
  inset: 0;
  background: linear-gradient(180deg, #fff 45%, #f0f8fe 100%);
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, .95), inset 0 -5px 9px -5px rgba(91, 190, 245, .35);
}
.cloud::after {           /* большая «шапка» */
  width: 30px; height: 30px;
  left: 22%; top: -11px;
  border-radius: 50%;
}
.cloud__puff {            /* маленькая «шапка» */
  width: 22px; height: 22px;
  right: 22%; top: -7px;
  border-radius: 50%;
}
.cloud__label { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.cloud__label::after {    /* индикатор активного раздела */
  content: ""; position: absolute; left: 50%; bottom: -8px;
  width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--blue-500);
  transform: scale(0); opacity: 0;
  transition: transform .45s var(--ease-out), opacity .3s;
}
.cloud:focus-visible { outline-offset: 6px; border-radius: 999px; }
.cloud:hover { transform: translateY(-3px) scale(1.035); color: var(--blue-700); }
.cloud:hover::after { transform: translate(-2px, -3px) scale(1.12); }
.cloud:hover .cloud__puff { transform: translate(2px, -2px) scale(1.15); }
.cloud:active { transform: translateY(-1px) scale(.98); transition-duration: .15s; }
.cloud.is-active { color: var(--blue-700); }
.cloud.is-active::before { background: linear-gradient(180deg, #fff 30%, #e3f2fd 100%); }
.cloud.is-active .cloud__label::after { transform: scale(1); opacity: 1; }
.nav__list li:nth-child(2) .cloud { --float-delay: -1.5s; }
.nav__list li:nth-child(3) .cloud { --float-delay: -3s; }
.nav__list li:nth-child(4) .cloud { --float-delay: -4.5s; }
.nav__list li:nth-child(2) .cloud::after { left: 30%; }
.nav__list li:nth-child(3) .cloud::after { left: 16%; width: 27px; height: 27px; }
.nav__list li:nth-child(4) .cloud__puff { right: 18%; }
@keyframes cloud-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2.5px; } }

/* --- Кнопка мобильного меню --- */
.nav-toggle {
  display: none;
  position: relative;
  width: 64px; height: 44px;
  padding: 0; border: 0;
  background: transparent;
  color: var(--navy-900);
  filter: drop-shadow(0 8px 12px rgba(26, 143, 227, .2)) drop-shadow(0 1px 1px rgba(11, 31, 77, .08));
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; background: #fff; border-radius: 999px;
  box-shadow: 0 0 6px 2px rgba(255,255,255,.95);
}
.nav-toggle::before { inset: 0; box-shadow: 0 0 6px 2px rgba(255,255,255,.95), inset 0 -5px 9px -5px rgba(91,190,245,.35); }
.nav-toggle::after { width: 26px; height: 26px; left: 12px; top: -9px; border-radius: 50%; }
.nav-toggle__bars { position: absolute; left: 50%; top: 50%; width: 22px; height: 14px; margin: -7px 0 0 -11px; z-index: 1; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease-out), opacity .25s;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    padding: 28px 20px 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(1.6) blur(22px);
    backdrop-filter: saturate(1.6) blur(22px);
    box-shadow: var(--shadow-3), inset 0 0 0 1px rgba(255,255,255,.8);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px) scale(.98);
    transform-origin: top right;
    transition: opacity .3s ease, transform .5s var(--ease-out), visibility 0s linear .5s;
  }
  .header.is-open .nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .3s ease, transform .5s var(--ease-out), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 22px; }
  .nav__list li { display: flex; }
  .nav__list li:nth-child(odd) { justify-content: flex-start; }
  .nav__list li:nth-child(even) { justify-content: flex-end; }
  .nav .cloud {
    height: 56px; min-width: 62%; padding: 0 28px;
    font-size: 1.125rem;
    opacity: 0; transform: translateY(8px);
    transition: transform .6s var(--ease-out), opacity .4s ease, color .25s;
  }
  .nav .cloud::after { width: 36px; height: 36px; top: -14px; }
  .nav .cloud__puff { width: 26px; height: 26px; top: -9px; }
  .header.is-open .nav .cloud { opacity: 1; transform: none; }
  .header.is-open .nav li:nth-child(2) .cloud { transition-delay: .05s; }
  .header.is-open .nav li:nth-child(3) .cloud { transition-delay: .1s; }
  .header.is-open .nav li:nth-child(4) .cloud { transition-delay: .15s; }
  .nav .cloud .cloud__label::after { display: none; }
  .nav .cloud.is-active { color: var(--blue-700); }
  .nav .cloud.is-active .cloud__label::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500);
  }
}

/* ==========================================================================
   Главный экран
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  min-height: calc(100svh - 44px);
  display: grid;
  place-items: center;
  padding: 8px 0 clamp(40px, 6vh, 72px);
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  background:
    radial-gradient(60% 46% at 50% 44%, rgba(221, 239, 251, .75) 0%, rgba(238, 247, 253, .35) 45%, rgba(255, 255, 255, 0) 75%),
    var(--white);
}
html.notice-closed .hero { min-height: 100svh; }
.hero__inner {
  --orb: clamp(88px, 12vw, 212px);
  --ry: clamp(96px, 10vw, 150px);
  position: relative;
  width: 100%;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  will-change: transform;
}
.hero__title {
  position: relative;
  margin: 0;
  padding-top: calc(var(--ry) + var(--orb) * .32);
  padding-bottom: calc(var(--ry) + var(--orb) * .52 - .4em + 10px);
  font-family: var(--font-display);
  font-weight: 760;
  font-size: clamp(46px, 7.2vw + 24px, 196px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--navy-900);
  white-space: nowrap;
}
.hero__w { position: relative; z-index: 5; }
.hero__o {
  position: relative;
  display: inline-block;
  width: .86em; height: .8em;
  margin: 0 .005em;
  vertical-align: -.025em;
}
.o-base, .o-bezel, .o-ping {
  position: absolute; top: 0; left: 50%;
  width: .8em; height: .8em; margin-left: -.4em;
  border-radius: 50%;
  pointer-events: none;
}
.o-base {
  z-index: 3;
  transition: opacity .35s ease, transform .6s var(--ease-out);
}
.o-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--logo-conic);
  -webkit-mask: radial-gradient(closest-side, transparent 70.5%, #000 71.6%, #000 99.2%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 70.5%, #000 71.6%, #000 99.2%, transparent 100%);
}
.o-face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.o-needle-idle { transform-box: view-box; transform-origin: 47px 57px; animation: needle-idle 3.6s ease-in-out infinite alternate; }
.o-needle { transform-box: view-box; transform-origin: 47px 57px; }
.hero__o.is-twitch .o-needle { animation: needle-twitch .8s cubic-bezier(.3, .7, .4, 1); }
@keyframes needle-idle { from { transform: rotate(-3deg); } to { transform: rotate(2.5deg); } }
@keyframes needle-twitch {
  0% { transform: rotate(0); }
  14% { transform: rotate(-36deg); }
  32% { transform: rotate(17deg); }
  50% { transform: rotate(-8deg); }
  68% { transform: rotate(4deg); }
  84% { transform: rotate(-1.5deg); }
  100% { transform: rotate(0); }
}
.o-bezel {
  z-index: 6;
  background: var(--logo-conic);
  -webkit-mask: radial-gradient(closest-side, transparent 91.2%, #000 92.4%, #000 99.2%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 91.2%, #000 92.4%, #000 99.2%, transparent 100%);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .4s ease, transform .6s var(--ease-out);
}
.o-ping {
  z-index: 2;
  border: 2px solid var(--sky-400);
  opacity: 0;
}
.hero__o.is-seated .o-base { opacity: 0; transform: scale(.9); }
.hero__o.is-seated .o-bezel { opacity: 1; transform: none; }
.hero__o.is-landed .o-ping { animation: ping 1s var(--ease-out); }
@keyframes ping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.55); } }

.orbit-line {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease .3s;
}
.hero.is-ready .orbit-line { opacity: 1; }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: var(--orb); height: var(--orb);
  transform-origin: 0 0;
  opacity: 0;
  will-change: transform, opacity;
  contain: layout style;
}
.orb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  -webkit-user-select: none; user-select: none;
  -webkit-user-drag: none;
}
.orb__full { z-index: 1; filter: drop-shadow(0 14px 16px rgba(11, 31, 77, .14)); }
.orb__disc { z-index: 0; opacity: 0; }

/* Без JS / до инициализации — статичная композиция */
.no-js .orb { opacity: 1; }
.no-js .orb:nth-child(1) { transform: translate(6vw, 4%) scale(.9); }
.no-js .orb:nth-child(2) { transform: translate(calc(94vw - var(--orb)), 8%) scale(.8); }
.no-js .orb:nth-child(3) { transform: translate(12vw, 62%) scale(.8); }
.no-js .orb:nth-child(4) { transform: translate(calc(84vw - var(--orb)), 60%) scale(.9); }
.no-js .orb:nth-child(5) { transform: translate(calc(50vw - var(--orb) / 2), 0) scale(.6); }

.hero__sub {
  position: relative; z-index: 5;
  max-width: 36rem;
  padding-inline: var(--gutter);
  font-size: clamp(1.0625rem, .95rem + .55vw, 1.4rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink-2);
  text-wrap: balance;
}
.hero__cta {
  position: relative; z-index: 5;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: clamp(24px, 3.4vh, 36px);
  padding-inline: var(--gutter);
}
/* появление при загрузке */
.js .hero__title, .js .hero__sub, .js .hero__cta { opacity: 0; transform: translateY(18px); }
.js .hero.is-ready .hero__title,
.js .hero.is-ready .hero__sub,
.js .hero.is-ready .hero__cta {
  opacity: 1; transform: none;
  transition: opacity 1s ease, transform 1.2s var(--ease-out);
}
.js .hero.is-ready .hero__sub { transition-delay: .25s; }
.js .hero.is-ready .hero__cta { transition-delay: .4s; }
/* после появления убираем transform, чтобы заголовок не создавал свой контекст наложения */
.js .hero.is-settled .hero__title { transform: none; transition: none; }

@media (max-width: 599px) {
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; }
  .hero__cta .btn { width: 100%; }
}

/* ==========================================================================
   Сцены
   ========================================================================== */
.scene { position: relative; padding-block: var(--scene-pad); overflow-x: clip; }
.scene--sky { background: var(--sky-50); }
.scene__head { max-width: 72rem; margin-bottom: clamp(48px, 6vw, 96px); }
.scene__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
@media (max-width: 899px) {
  .scene__head--split { grid-template-columns: minmax(0, 1fr); }
}

/* Появление при скролле */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s ease, transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   1. Маркетплейсы
   ========================================================================== */
.market {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.mcard {
  position: relative;
  container-type: inline-size;
  display: flex; flex-direction: column;
  min-height: clamp(440px, 46vw, 620px);
  padding: clamp(26px, 3.4vw, 48px);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.mcard:focus-visible { outline-offset: 5px; border-radius: var(--r-lg); }
.mcard--ozon {
  color: var(--navy-900);
  background:
    radial-gradient(90% 70% at 100% 100%, rgba(91, 190, 245, .45) 0%, rgba(91, 190, 245, 0) 60%),
    linear-gradient(160deg, #ffffff 0%, var(--sky-50) 55%, var(--sky-100) 100%);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
}
.mcard--wb {
  color: #fff;
  background:
    radial-gradient(90% 70% at 100% 100%, rgba(26, 143, 227, .55) 0%, rgba(26, 143, 227, 0) 62%),
    linear-gradient(160deg, #13306f 0%, var(--navy-900) 60%);
  box-shadow: var(--shadow-2);
}
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.mcard__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mcard__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .875rem; font-weight: 600;
  background: rgba(255,255,255,.75);
  box-shadow: inset 0 0 0 1px var(--line);
}
.mcard--wb .mcard__tag { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.mcard__arrow {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy-900); color: #fff;
  transition: transform .6s var(--ease-out), background-color .3s;
}
.mcard--wb .mcard__arrow { background: #fff; color: var(--navy-900); }
.mcard__arrow svg { width: 22px; height: 22px; }
.mcard:hover .mcard__arrow { transform: rotate(45deg) scale(1.06); background: var(--blue-500); color: #fff; }
.mcard__name {
  display: block;
  margin-top: clamp(28px, 5cqi, 56px);
  font-family: var(--font-display);
  font-weight: 760;
  line-height: .92;
  letter-spacing: -.05em;
}
.mcard--ozon .mcard__name { font-size: 25cqi; }
.mcard--wb .mcard__name { font-size: 11.6cqi; letter-spacing: -.045em; }
.mcard__body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  margin-top: auto; max-width: 46%;
}
.mcard__text { display: block; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.mcard--wb .mcard__text { color: #c9dcf2; }
.mcard__cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px;
  font-weight: 700; font-size: 1.0625rem;
}
.mcard__cta svg { width: 20px; height: 20px; transition: transform .5s var(--ease-out); }
.mcard:hover .mcard__cta svg { transform: translateX(4px); }
.mcard__visual {
  position: absolute; z-index: 1;
  right: -4%; bottom: -8%;
  width: 54%;
  pointer-events: none;
}
.mcard__visual img {
  width: 100%;
  transition: transform 1s var(--ease-out);
  filter: drop-shadow(0 30px 40px rgba(11, 31, 77, .22));
}
.mcard--wb .mcard__visual { right: -9%; bottom: -4%; width: 60%; }
.mcard--wb .mcard__visual img { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .4)); }
.mcard:hover .mcard__visual img { transform: scale(1.05) rotate(-3deg); }

.cats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  margin-top: clamp(28px, 3vw, 40px);
  padding: 0; list-style: none;
}
.cats__label { font-weight: 600; color: var(--ink-3); margin-right: 6px; }
.cats li:not(.cats__label) {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--sky-50);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500; font-size: .9375rem;
}
@media (max-width: 1100px) and (min-width: 768px) {
  .mcard__body { max-width: 100%; padding-bottom: 46%; }
  .mcard__visual { width: 50%; }
}
@media (max-width: 767px) {
  .market { grid-template-columns: minmax(0, 1fr); }
  .mcard { min-height: 0; padding-bottom: 0; }
  .mcard__body { max-width: 100%; margin-top: 20px; }
  .mcard__visual, .mcard--wb .mcard__visual {
    position: relative; right: auto; bottom: auto;
    align-self: flex-end;
    width: 62%; margin: 8px -6% -14% 0;
  }
  .mcard--wb .mcard__visual { width: 72%; margin-bottom: -6%; }
}

/* ==========================================================================
   2. Паспорта
   ========================================================================== */
.doc {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
  aspect-ratio: 4 / 4.6;
}
@media (max-width: 899px) { .doc { width: min(84%, 360px); margin-top: 12px; } }
.doc__paper {
  position: absolute; inset: 0;
  padding: 9% 9% 8%;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line);
  transform: rotate(3deg);
  overflow: hidden;
}
.doc__paper--back {
  transform: rotate(-4deg) translate(-4%, 2%);
  background: linear-gradient(180deg, #fff, var(--sky-50));
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
}
.doc__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.doc__head img { width: 34%; height: auto; }
.doc__kicker {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(.75rem, 2.6cqi, .875rem);
  letter-spacing: .2em; color: var(--blue-700);
}
.doc { container-type: inline-size; }
.doc__title {
  margin-top: 7%;
  font-family: var(--font-display); font-weight: 600;
  font-size: 5.2cqi; line-height: 1.2; letter-spacing: -.02em;
}
.doc__title span { white-space: nowrap; }
.doc__img { position: absolute; right: 3%; top: 36%; width: 44%; filter: drop-shadow(0 18px 20px rgba(11,31,77,.18)); }
.doc__rows { margin-top: 8%; width: 56%; display: grid; gap: 3.2cqi; font-size: 3.2cqi; }
.doc__rows div { display: grid; gap: .3em; }
.doc__rows dt { color: var(--ink-3); }
.doc__rows dd { font-weight: 600; border-bottom: 1px dashed var(--sky-200); padding-bottom: .3em; }
.doc__stamp {
  position: absolute; left: 9%; bottom: 8%;
  padding: .45em .9em;
  border: 3px solid var(--blue-500);
  border-radius: 10px;
  color: var(--blue-500);
  font-family: var(--font-display); font-weight: 700; letter-spacing: .14em;
  font-size: 4.4cqi;
  transform: rotate(-9deg);
  opacity: .9;
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px rgba(26,143,227,.5);
}

.passport {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.passport__info { display: grid; gap: clamp(40px, 5vw, 64px); }
.need {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
}
.need__list { display: grid; gap: 18px; margin-top: 22px; padding: 0; list-style: none; }
.need__list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; color: var(--ink-2); }
.need__list strong { display: block; color: var(--navy-900); font-weight: 600; }
.need__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--sky-50); color: var(--blue-700);
  box-shadow: inset 0 0 0 1px var(--sky-100);
}
.need__icon svg { width: 22px; height: 22px; }

.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding-bottom: 36px;
}
.step:last-child { padding-bottom: 0; }
.step::before {          /* соединительная линия */
  content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, var(--sky-400), rgba(91,190,245,.15));
  border-radius: 2px;
}
.step:last-child::before { display: none; }
.step__num {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff;
  color: var(--blue-700);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  box-shadow: inset 0 0 0 1.5px var(--sky-200), var(--shadow-2);
}
.step__title { margin-top: 12px; }
.step__text { margin-top: 8px; color: var(--ink-2); max-width: 34rem; }
.step__text b { color: var(--navy-900); font-weight: 600; }

@media (max-width: 999px) {
  .passport { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Формы
   ========================================================================== */
.form-card {
  position: relative;
  padding: clamp(22px, 3.6vw, 52px);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line);
}
.form-card--sticky { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 999px) { .form-card--sticky { position: relative; top: auto; } }
.form-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1.1; letter-spacing: -.03em;
}
.form-card__note { margin-top: 10px; color: var(--ink-3); font-size: .9375rem; }
.form-card.is-done .form-card__note { display: none; }

.form { display: grid; gap: 20px; margin-top: 28px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; align-items: start; }
.form__grid > .field--full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }

.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label {
  padding: 0;
  font-size: .9375rem; font-weight: 600; line-height: 1.3;
  color: var(--navy-900);
}
.field__label .req { color: var(--blue-700); margin-left: 2px; }
.field__opt { font-weight: 400; color: var(--ink-3); }
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--field-line);
  border-radius: var(--r-sm);
  background: #fbfdff;
  color: var(--navy-900);
  font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .25s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field__input::placeholder { color: #66738f; opacity: 1; }
.field__input:hover { border-color: var(--navy-900); }
.field__input:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 1px var(--blue-500), 0 0 0 5px rgba(26, 143, 227, .18); }
.field__input:focus-visible { outline: none; }
textarea.field__input { min-height: 132px; resize: vertical; }
.field__hint { font-size: .875rem; color: var(--ink-3); line-height: 1.4; }
.field__error {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: .875rem; line-height: 1.4; font-weight: 500;
  color: var(--danger);
}
.field__error:empty { display: none; }
.field__error::before {
  content: "!"; flex: none;
  display: grid; place-items: center;
  width: 17px; height: 17px; margin-top: 1px; border-radius: 50%;
  background: var(--danger); color: #fff;
  font-size: .7rem; font-weight: 800;
}
.field.is-invalid .field__input { border-color: var(--danger); background: var(--danger-bg); }
.field.is-invalid .field__input:focus { box-shadow: 0 0 0 1px var(--danger), 0 0 0 5px rgba(200, 40, 60, .14); }

/* сегментированный выбор */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__opt { position: relative; flex: 1 1 0; min-width: max-content; }
.seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__opt span {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px;
  border: 1px solid var(--field-line);
  border-radius: 999px;
  background: #fbfdff;
  font-weight: 600; font-size: .9375rem;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--ease-out);
  pointer-events: none;
}
.seg__opt:hover span { border-color: var(--navy-900); }
.seg__opt input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.seg__opt input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.seg__opt input:active + span { transform: scale(.97); }
.field.is-invalid .seg__opt span { border-color: var(--danger); }
.seg--wrap .seg__opt { flex: 0 1 auto; }
@media (max-width: 599px) { .seg__opt span { padding: 0 12px; font-size: .9rem; } .seg { gap: 6px; } }
.field__pair-hint { grid-column: 1 / -1; margin-top: -10px; }

/* чекбокс согласия */
.check { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.check input { position: absolute; left: 0; top: 0; z-index: 1; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.check__box {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border: 1.5px solid var(--field-line);
  border-radius: 7px;
  background: #fff;
  transition: background-color .2s, border-color .2s, transform .3s var(--ease-out);
}
.check__box svg { width: 15px; height: 15px; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .35s var(--ease-out); }
.check input:checked + .check__box { background: var(--blue-500); border-color: var(--blue-500); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.check:hover .check__box { border-color: var(--navy-900); }
.check__text { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.check__hint { padding-left: 36px; }
.field.is-invalid .check__box { border-color: var(--danger); background: var(--danger-bg); }

/* загрузка фото */
.drop {
  position: relative;
  display: grid; justify-items: center; gap: 6px;
  padding: 26px 20px;
  border: 1.5px dashed var(--field-line);
  border-radius: var(--r-md);
  background: var(--sky-50);
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .4s var(--ease-out);
}
.drop:hover, .drop.is-drag { border-color: var(--blue-500); background: #e6f3fd; }
.drop.is-drag { transform: scale(1.01); }
.drop:focus-within { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.drop__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: #fff; color: var(--blue-700); box-shadow: var(--shadow-2);
}
.drop__icon svg { width: 24px; height: 24px; }
.drop__title { margin-top: 6px; font-weight: 600; }
.drop__title u { color: var(--blue-700); text-underline-offset: .18em; }
.drop__hint { font-size: .875rem; color: var(--ink-3); }
.field.is-invalid .drop { border-color: var(--danger); background: var(--danger-bg); }
.files { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.files:empty { display: none; }
.file {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
  padding: 8px 8px 8px 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  animation: file-in .45s var(--ease-out);
}
@keyframes file-in { from { opacity: 0; transform: translateY(6px); } }
.file img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--sky-50); }
.file__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; font-size: .9375rem; }
.file__size { display: block; font-size: .8125rem; color: var(--ink-3); font-weight: 400; }
.file__remove {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink-3);
  transition: background-color .2s, color .2s;
}
.file__remove:hover { background: var(--danger-bg); color: var(--danger); }
.file__remove svg { width: 18px; height: 18px; }

/* приманка для ботов */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: grid; gap: 16px; }
.form__submit { justify-self: start; }
@media (max-width: 599px) { .form__submit { justify-self: stretch; } }
.form__status {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: .9375rem; line-height: 1.5;
}
.form__status:empty { display: none; }
.form__status.is-error { background: var(--danger-bg); color: #8e1526; box-shadow: inset 0 0 0 1px rgba(200,40,60,.25); }
.form__status a { color: inherit; font-weight: 600; }

/* успех */
.success {
  display: grid; justify-items: start; align-content: start; gap: 14px;
  padding: clamp(8px, 2vw, 24px) 0;
  outline: none;
}
.success__icon { width: 76px; height: 76px; }
.success__icon circle { fill: var(--sky-50); stroke: var(--blue-500); stroke-width: 2.5; transform-origin: 50% 50%; animation: success-pop .7s var(--ease-out) both; }
.success__icon path { fill: none; stroke: var(--blue-500); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: success-draw .6s .25s var(--ease-out) forwards; }
@keyframes success-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes success-draw { to { stroke-dashoffset: 0; } }
.success__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; }
.success__text { color: var(--ink-2); max-width: 32rem; }
.success__text b { color: var(--navy-900); }

/* ==========================================================================
   3. Гарантия
   ========================================================================== */
.badge-visual { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
@media (max-width: 899px) { .badge-visual { width: min(80%, 340px); } }
.badge-visual__img { position: absolute; left: 15%; top: 15%; width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 24px 26px rgba(11, 31, 77, .2)); }
.badge-visual__ring {
  position: absolute; inset: 0;
  color: var(--blue-700);
  animation: rotate 40s linear infinite;
}
.badge-visual__ring text { font-family: var(--font-display); font-weight: 600; font-size: 5.6px; letter-spacing: .2em; fill: currentColor; }
@keyframes rotate { to { transform: rotate(360deg); } }

.warranty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.facts {
  position: sticky; top: calc(var(--header-h) + 20px);
  display: grid; gap: 0;
  margin: 0;
  border-radius: var(--r-md);
  background: var(--sky-50);
  box-shadow: inset 0 0 0 1px var(--sky-100);
  overflow: hidden;
}
.facts div { padding: 22px 24px; border-bottom: 1px solid var(--sky-100); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .875rem; color: var(--ink-3); font-weight: 500; }
.facts dd { margin-top: 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.3; letter-spacing: -.015em; }
.facts dd .todo { font-size: .8rem; }

.acc { display: grid; gap: 12px; }
.acc__item {
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .35s ease, background-color .35s ease;
}
.acc__item.is-open { box-shadow: inset 0 0 0 1.5px var(--sky-200), var(--shadow-2); }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%;
  padding: 22px 24px;
  border: 0; background: transparent; text-align: left;
  border-radius: var(--r-md);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.0625rem, .95rem + .5vw, 1.3rem); letter-spacing: -.015em; line-height: 1.3;
  color: var(--navy-900);
}
.acc__btn:hover { color: var(--blue-700); }
.acc__sign {
  position: relative; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sky-50);
  box-shadow: inset 0 0 0 1px var(--sky-100);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px;
  background: currentColor;
  transition: transform .5s var(--ease-out);
}
.acc__sign::after { transform: rotate(90deg); }
.acc__item.is-open .acc__sign { transform: rotate(180deg); background: var(--blue-500); color: #fff; }
.acc__item.is-open .acc__sign::after { transform: rotate(0deg); }
.acc__panel { padding: 0 24px 24px; color: var(--ink-2); }
.js .acc__panel { animation: acc-in .55s var(--ease-out); }
@keyframes acc-in { from { opacity: 0; transform: translateY(-6px); } }
.acc__panel p + p, .acc__panel p + ul, .acc__panel ul + p, .acc__panel p + ol, .acc__panel ol + p { margin-top: 12px; }
.acc__panel ul, .acc__panel ol { display: grid; gap: 8px; margin: 0; padding-left: 1.25em; }
.acc__panel li::marker { color: var(--blue-500); }
.acc__panel b { color: var(--navy-900); font-weight: 600; }

.warranty-form { margin-top: clamp(48px, 6vw, 88px); }
.warranty-form .form-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 72px); }
.warranty-form .form { margin-top: 0; }
.warranty-form__intro p { margin-top: 14px; color: var(--ink-2); }
@media (max-width: 999px) {
  .warranty { grid-template-columns: minmax(0, 1fr); }
  .facts { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts div { border-bottom: 0; border-right: 1px solid var(--sky-100); }
  .facts div:last-child { border-right: 0; }
  .warranty-form .form-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div { border-right: 0; border-bottom: 1px solid var(--sky-100); }
}

/* ==========================================================================
   4. Контакты
   ========================================================================== */
.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.addr__label { font-size: .875rem; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.addr__value {
  margin-top: 8px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.25; letter-spacing: -.02em;
  font-style: normal;
}
.addr__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.addr__meta dd { margin-top: 6px; font-weight: 600; font-size: 1.0625rem; }
.route { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.route li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.route__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--navy-900); color: #fff;
}
.route__icon svg { width: 22px; height: 22px; }
.route b { display: block; font-weight: 600; color: var(--navy-900); }
.route span { color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.addr__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.map-card {
  position: relative;
  display: block; width: 100%;
  padding: 0; border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line);
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.map-card:focus-visible { outline-offset: 5px; border-radius: var(--r-lg); }
.map-card picture, .map-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.map-card img { transition: transform 1.1s var(--ease-out); }
.map-card:hover img { transform: scale(1.03); }
.map-card__hint {
  position: absolute; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(11, 31, 77, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-weight: 600; font-size: .9375rem;
  transition: transform .5s var(--ease-out), background-color .3s;
}
.map-card__hint svg { width: 18px; height: 18px; }
.map-card:hover .map-card__hint { transform: translateY(-2px); background: var(--blue-700); }
@media (max-width: 599px) { .map-card__hint { right: 10px; bottom: 10px; padding: 7px 12px; font-size: .8125rem; } .map-card__hint svg { width: 15px; height: 15px; } }
.map-caption { margin-top: 14px; color: var(--ink-3); font-size: .9375rem; }

.depts-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(64px, 8vw, 128px);
  align-items: start;
}
.depts { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.dept {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center;
  padding: 18px 20px 18px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  transition: transform .5s var(--ease-out), box-shadow .4s ease, background-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.dept:focus-visible { border-radius: 20px; outline-offset: 3px; }
.dept:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1.5px var(--sky-200), var(--shadow-2); }
.dept__name { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -.015em; line-height: 1.25; }
.dept__desc { grid-column: 1; font-size: .9rem; color: var(--ink-3); line-height: 1.4; }
.dept__mail {
  grid-column: 1; margin-top: 6px;
  color: var(--blue-700); font-weight: 600; font-size: 1rem;
  overflow-wrap: anywhere;
}
.dept__go {
  grid-column: 2; grid-row: 1 / span 3;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sky-50); color: var(--navy-900);
  transition: background-color .3s, color .3s, transform .5s var(--ease-out);
}
.dept__go svg { width: 20px; height: 20px; }
.dept:hover .dept__go { background: var(--blue-500); color: #fff; transform: rotate(-45deg); }
@media (max-width: 999px) {
  .contacts, .depts-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) {
  .addr__meta { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Лайтбокс схемы
   ========================================================================== */
.lightbox {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(6, 18, 46, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s ease; }
.lightbox.is-open::backdrop { opacity: 1; }
.lightbox__stage {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 72px 16px 96px;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
  opacity: 0; transform: scale(.97);
  transition: opacity .35s ease, transform .5s var(--ease-out);
}
.lightbox.is-open .lightbox__stage { opacity: 1; transform: none; }
.lightbox.is-zoomed .lightbox__stage { cursor: grab; }
.lightbox.is-dragging .lightbox__stage { cursor: grabbing; }
.lightbox__img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transform-origin: 0 0;
  will-change: transform;
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
}
.lightbox__top {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px 28px 24px;
  background: linear-gradient(180deg, rgba(6, 18, 46, .82), rgba(6, 18, 46, 0));
  pointer-events: none;
}
.lightbox__top > * { pointer-events: auto; }
.lightbox__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.lightbox__bar {
  position: absolute; left: 50%; bottom: 24px;
  display: flex; align-items: center; gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(11, 31, 77, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 10px 30px rgba(0,0,0,.3);
  transform: translateX(-50%);
}
.lb-btn {
  display: grid; place-items: center;
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 0; border-radius: 999px;
  background: transparent; color: #fff;
  font-weight: 600;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.14); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-btn:focus-visible, .lightbox :focus-visible { outline-color: var(--sky-400); }
.lb-level { min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .9375rem; }
.lb-close { background: rgba(11, 31, 77, .82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }

/* ==========================================================================
   Подвал
   ========================================================================== */
.footer {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0 32px;
  background: var(--navy-900);
  color: #c9d7ee;
  font-size: .9375rem;
  overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; right: -10%; top: -40%;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,143,227,.28), rgba(26,143,227,0) 65%);
  pointer-events: none;
}
.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}
.footer__logo img { width: 168px; height: auto; }
.footer__about { margin-top: 18px; max-width: 22rem; line-height: 1.55; }
.footer__addr { margin-top: 18px; font-style: normal; line-height: 1.55; }
.footer h2 {
  font-family: var(--font-display); font-weight: 600; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase;
  color: #fff;
}
.footer ul { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.footer a { color: #e3ecfa; text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.footer :focus-visible { outline-color: var(--sky-400); }
.footer__muted { display: block; color: #9fb2d3; font-size: .8125rem; }
.footer__bottom {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #9fb2d3; font-size: .875rem;
}
@media (max-width: 1199px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 799px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Юридические страницы
   ========================================================================== */
.legal-head { padding: clamp(40px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); background: linear-gradient(180deg, var(--sky-50), #fff); }
.legal-head .h2 { font-size: clamp(1.9rem, 1rem + 3.2vw, 3.75rem); }
.legal-head .lead { font-size: 1.0625rem; }
.legal-head .eyebrow { display: flex; width: max-content; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  color: var(--blue-700); font-weight: 600; text-decoration: none;
}
.back-link svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.back-link:hover svg { transform: translateX(-3px); }
.legal { padding-bottom: clamp(64px, 8vw, 128px); }
.legal__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9375rem; }
.legal__toc p { font-weight: 600; margin-bottom: 10px; }
.legal__toc ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--ink-3); }
.legal__toc a { color: var(--ink-2); text-decoration: none; }
.legal__toc a:hover { color: var(--blue-700); text-decoration: underline; }
.prose { max-width: 46rem; color: var(--ink-2); }
.prose h2 {
  margin: 2.2em 0 .6em;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem);
  line-height: 1.25; letter-spacing: -.02em; color: var(--navy-900);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--blue-500); }
.prose b, .prose strong { color: var(--navy-900); font-weight: 600; }
.prose a { color: var(--blue-700); }
.req-table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .9375rem; }
.req-table th, .req-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.req-table th { width: 38%; font-weight: 500; color: var(--ink-3); }
.req-table td { color: var(--navy-900); font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .legal__layout { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; padding: 18px 20px; border-radius: var(--r-md); background: var(--sky-50); }
}
.header--legal::before { opacity: 1; }

/* ==========================================================================
   Меньше движения
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .2s !important;
    transition-delay: 0s !important;
  }
  .cloud, .o-needle-idle, .badge-visual__ring, .notice__dot { animation: none !important; }
  .js [data-reveal] { transform: none; transition: opacity .4s ease !important; }
  .js .hero__title, .js .hero__sub, .js .hero__cta { transform: none; }
  .btn:hover, .mcard:hover, .dept:hover, .cloud:hover { transform: none; }
  .mcard:hover .mcard__visual img, .map-card:hover img { transform: none; }
  .success__icon path { stroke-dashoffset: 0; }
}

/* ---------- Печать ---------- */
@media print {
  .notice, .header, .hero .orbit, .orbit-line, .lightbox, .form-card, .nav-toggle { display: none !important; }
  .scene { padding-block: 24px; }
  .footer { background: none; color: #000; }
}

/* ==========================================================================
   Гарантия: компоненты внутренних страниц
   ========================================================================== */
.legal-head__eyebrow { margin-top: 18px; }
.prose { max-width: none; }
.prose > :where(p, ul:not(.doc-links), ol, h2, .callout, .cta-row) { max-width: 46rem; }
.file-meta { color: var(--ink-3); font-size: .875em; white-space: nowrap; }

/* переключатель «Физическим лицам / Юридическим лицам / Документы» */
.page-switch { margin-top: 28px; }
.page-switch ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.page-switch__item {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px;
  background: #fff; color: var(--navy-900);
  box-shadow: inset 0 0 0 1px var(--sky-200);
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.page-switch__item:hover { box-shadow: inset 0 0 0 1.5px var(--blue-500); }
.page-switch__item[aria-current="page"] { background: var(--navy-900); color: #fff; box-shadow: none; }
.page-switch__item:focus-visible { border-radius: 999px; }

/* выноски */
.callout {
  margin: 0 0 1.2em;
  padding: 16px 18px 16px 20px;
  border-radius: 16px;
  background: var(--sky-50);
  box-shadow: inset 3px 0 0 var(--blue-500);
  color: var(--ink-2);
}
.callout--warn { background: #fff6e8; box-shadow: inset 3px 0 0 #e08a00; color: #5c3a00; }
.callout--warn b { color: #5c3a00; }
.callout a { color: inherit; font-weight: 600; }
.callout > :last-child { margin-bottom: 0; }

/* таблицы: на широком экране — таблица, на телефоне — карточки */
.table-wrap { margin: 0 0 1.4em; }
.data-table, .price-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  font-size: .9375rem; line-height: 1.5;
}
.data-table th, .data-table td, .price-table th, .price-table td {
  padding: 12px 16px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.data-table thead th, .price-table thead th {
  background: var(--navy-900); color: #fff; font-weight: 600; font-size: .875rem; border-bottom: 0;
}
.data-table tbody tr:last-child td, .price-table tbody tr:last-child > * { border-bottom: 0; }
.data-table td:first-child { color: var(--navy-900); font-weight: 600; }
.data-table td { color: var(--ink-2); }
.data-table b { color: var(--navy-900); }
.data-table a { color: var(--blue-700); }
.pair-list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.data-table--wide td:first-child { width: 22%; }
@media (max-width: 760px) {
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table tr {
    margin-bottom: 10px; padding: 6px 0;
    border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  }
  .data-table td { border-bottom: 0; padding: 8px 16px; }
  .data-table td::before {
    content: attr(data-label);
    display: block; margin-bottom: 2px;
    font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3);
  }
  .data-table td:first-child { width: auto; font-size: 1rem; }
  .data-table td:first-child::before { display: none; }
}
.price-table { max-width: 40rem; }
.price-table tbody th { font-weight: 500; color: var(--navy-900); }
.price-table td { font-weight: 700; color: var(--navy-900); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table__group th {
  background: var(--sky-50); color: var(--blue-800) !important;
  font-family: var(--font-display); font-weight: 600 !important; font-size: .9375rem;
}

/* шаги */
.steps-list { list-style: none; counter-reset: s; padding: 0 !important; display: grid; gap: 14px !important; }
.steps-list > li { position: relative; counter-increment: s; padding-left: 48px; min-height: 34px; }
.steps-list > li::before {
  content: counter(s);
  position: absolute; left: 0; top: -2px;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--blue-700);
  box-shadow: inset 0 0 0 1.5px var(--sky-200);
  font-family: var(--font-display); font-weight: 700; font-size: .875rem;
}
.steps-list > li::marker { content: ""; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 1.4em; }
.cta-row .btn { min-height: 52px; }
@media (max-width: 599px) { .cta-row .btn { width: 100%; } }

/* скачивание бланков */
.dl-list { display: grid; gap: 12px; margin: 0 0 1.4em; }
.dl-card {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 48px; gap: 16px; align-items: center;
  padding: 16px 16px 16px 18px;
  border-radius: 20px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--navy-900); text-decoration: none;
  transition: box-shadow .35s ease, transform .5s var(--ease-out);
}
.dl-card:hover { box-shadow: inset 0 0 0 1.5px var(--sky-200), var(--shadow-2); transform: translateY(-2px); }
.dl-card:focus-visible { border-radius: 20px; }
.dl-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--sky-50); color: var(--blue-700); }
.dl-card__icon svg { width: 26px; height: 26px; }
.dl-card__body { display: grid; gap: 4px; min-width: 0; }
.dl-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -.015em; line-height: 1.25; }
.dl-card__desc { font-size: .9rem; color: var(--ink-3); line-height: 1.45; }
.dl-card__meta { font-size: .8125rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.dl-card__go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-500); color: #fff; transition: background-color .25s, transform .4s var(--ease-out); }
.dl-card__go svg { width: 22px; height: 22px; }
.dl-card:hover .dl-card__go { background: var(--blue-700); transform: translateY(2px); }
@media (max-width: 599px) {
  .dl-card { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .dl-card__icon { width: 44px; height: 44px; }
  .dl-card__meta { grid-column: 2; grid-row: 2; }
  .dl-card__go { grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; }
}

/* ссылки на документы */
.doc-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 1.4em; padding: 0 !important; list-style: none; }
.doc-links li { display: flex; }
.doc-link {
  position: relative; display: grid; gap: 6px; align-content: start; width: 100%;
  padding: 20px 64px 20px 20px; border-radius: 20px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  color: var(--navy-900); text-decoration: none;
  transition: box-shadow .35s ease, transform .5s var(--ease-out);
}
.doc-link:hover { box-shadow: inset 0 0 0 1.5px var(--sky-200), var(--shadow-2); transform: translateY(-2px); }
.doc-link:focus-visible { border-radius: 20px; }
.doc-link__title { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.25; letter-spacing: -.015em; }
.doc-link__desc { font-size: .9rem; color: var(--ink-3); line-height: 1.45; }
.doc-link__go { position: absolute; right: 16px; top: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sky-50); transition: background-color .25s, color .25s, transform .4s var(--ease-out); }
.doc-link__go svg { width: 18px; height: 18px; }
.doc-link:hover .doc-link__go { background: var(--blue-500); color: #fff; transform: translateX(2px); }
@media (max-width: 760px) { .doc-links { grid-template-columns: minmax(0, 1fr); } }

.link-list { display: grid; gap: 10px; }
.ship-list li b, .link-list a { color: var(--navy-900); }
.link-list a { color: var(--blue-700); font-weight: 600; }
.req-list { display: grid; gap: 12px !important; }
.req-list ul { margin-top: 8px !important; }

/* ==========================================================================
   Гарантия на главной: три кнопки, сроки, доставка, проверка
   ========================================================================== */
.choice { margin-bottom: clamp(40px, 5vw, 72px); }
.choice__label { margin-bottom: 16px; font-weight: 600; color: var(--ink-2); }
.choice__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
.choice__list li { display: flex; }
.choice__item {
  position: relative;
  display: grid; align-content: start; gap: 10px;
  width: 100%; min-height: 230px;
  padding: clamp(22px, 2.4vw, 32px);
  padding-bottom: 76px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
  color: var(--navy-900); text-decoration: none;
  overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.choice__item::after {
  content: ""; position: absolute; z-index: -1; right: -30%; bottom: -55%;
  width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,190,245,.22), rgba(91,190,245,0) 65%);
  transition: transform .8s var(--ease-out);
}
.choice__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); }
.choice__item:hover::after { transform: scale(1.25); }
.choice__item:focus-visible { border-radius: var(--r-lg); outline-offset: 4px; }
.choice__item--navy { background: linear-gradient(160deg, #13306f, var(--navy-900) 65%); color: #fff; box-shadow: var(--shadow-2); }
.choice__item--navy::after { background: radial-gradient(circle, rgba(26,143,227,.5), rgba(26,143,227,0) 65%); }
.choice__item--sky { background: linear-gradient(160deg, #fff, var(--sky-50) 50%, var(--sky-100)); }
.choice__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--sky-50); color: var(--blue-700);
  box-shadow: inset 0 0 0 1px var(--sky-100);
}
.choice__icon svg { width: 26px; height: 26px; }
.choice__item--navy .choice__icon { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.choice__item--sky .choice__icon { background: #fff; }
.choice__title { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + .9vw, 1.65rem); line-height: 1.12; letter-spacing: -.025em; }
.choice__desc { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.choice__item--navy .choice__desc { color: #c9dcf2; }
.choice__go {
  position: absolute; left: clamp(22px, 2.4vw, 32px); bottom: clamp(20px, 2.2vw, 28px);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-900); color: #fff;
  transition: transform .5s var(--ease-out), background-color .3s;
}
.choice__go svg { width: 20px; height: 20px; }
.choice__item--navy .choice__go { background: #fff; color: var(--navy-900); }
.choice__item:hover .choice__go { transform: translateX(6px); background: var(--blue-500); color: #fff; }
@media (max-width: 899px) {
  .choice__list { grid-template-columns: minmax(0, 1fr); }
  .choice__item { min-height: 0; padding-right: 76px; padding-bottom: clamp(22px, 2.4vw, 32px); }
  .choice__go { left: auto; right: 20px; bottom: auto; top: 50%; margin-top: -22px; }
}

.warranty { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.terms-card, .ship {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg);
}
.terms-card { background: var(--sky-50); box-shadow: inset 0 0 0 1px var(--sky-100); }
.terms { display: grid; margin: 20px 0 0; }
.terms div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--sky-200); }
.terms div:first-child { padding-top: 0; }
.terms dt { font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.terms dd { margin: 0; font-size: .9375rem; color: var(--ink-3); line-height: 1.45; }
.terms dd b { margin-right: 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy-900); letter-spacing: -.02em; }
.terms-card__link { display: inline-block; margin-top: 18px; font-weight: 600; }
.ship { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
.ship__lead { margin-top: 12px; color: var(--ink-2); }
.ship__list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.ship__item {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: 18px; background: var(--sky-50);
}
.ship__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--navy-900); color: #fff; }
.ship__icon svg { width: 22px; height: 22px; }
.ship__carrier { display: block; font-weight: 700; color: var(--navy-900); }
.ship__addr { display: block; color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.ship__recipient { margin-top: 18px; color: var(--ink-2); font-size: .9375rem; }
.ship__recipient b { color: var(--navy-900); }
.ship__recipient a { color: var(--blue-700); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ship__warn {
  margin-top: 16px; padding: 14px 16px; border-radius: 16px;
  background: #fff6e8; box-shadow: inset 3px 0 0 #e08a00;
  color: #5c3a00; font-size: .9375rem; line-height: 1.5;
}
.ship__warn a { color: #5c3a00; font-weight: 700; white-space: nowrap; }
.warranty .terms-card { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 999px) {
  .warranty { grid-template-columns: minmax(0, 1fr); }
  .warranty .terms-card { position: static; }
}

.checkup {
  margin-top: clamp(40px, 5vw, 72px);
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #13306f, var(--navy-900) 60%);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.checkup__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; }
.checkup .h3 { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); }
.checkup__times { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 0; }
.checkup__times p { display: grid; gap: 2px; max-width: 15rem; }
.checkup__times b { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; color: var(--sky-400); }
.checkup__times span { font-size: .9375rem; line-height: 1.4; color: #c9dcf2; }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; list-style: none; }
.outcome {
  position: relative; display: grid; gap: 6px; align-content: start;
  padding: 20px 20px 20px 22px; border-radius: 20px;
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 3px 0 0 #9fb2d3;
}
.outcome--ok { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 3px 0 0 var(--sky-400); }
.outcome--warn { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 3px 0 0 #f0a73a; }
.outcome b { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.25; letter-spacing: -.015em; }
.outcome span { font-size: .9375rem; line-height: 1.5; color: #c9dcf2; }
.checkup__note { margin-top: 20px; max-width: 52rem; font-size: .9375rem; color: #c9dcf2; }
.checkup .text-link { color: #a9dcfb; text-decoration-color: rgba(169,220,251,.5); }
.checkup .text-link:hover { color: #fff; }
.checkup :focus-visible { outline-color: var(--sky-400); }
@media (max-width: 899px) {
  .checkup__head { grid-template-columns: minmax(0, 1fr); }
  .outcomes { grid-template-columns: minmax(0, 1fr); }
}

.intro-dl { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.intro-dl li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding-left: 26px; position: relative; }
.intro-dl li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px;
  background: currentColor; color: var(--blue-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12M7 11l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12M7 11l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.intro-dl a { color: var(--blue-700); font-weight: 600; text-underline-offset: .18em; }
.warranty-form__intro .intro-dl + .form-card__note { margin-top: 16px; }
.form__sub { margin: 0; }
.addr__phone { color: var(--navy-900); text-decoration: none; white-space: nowrap; }
.addr__phone:hover { color: var(--blue-700); }
.file__type {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  background: var(--sky-50); color: var(--blue-700);
  font-size: .6875rem; font-weight: 800; letter-spacing: .04em;
}
/* кнопки и карточки внутри текстовых страниц не наследуют цвет ссылок */
.prose a.btn { color: var(--btn-fg); text-decoration: none; }
.prose a.dl-card, .prose a.doc-link { color: var(--navy-900); text-decoration: none; }
.nw { white-space: nowrap; }
/* подзаголовки и метаданные в юридических текстах */
.prose h3 {
  margin: 1.8em 0 .5em;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  line-height: 1.3; letter-spacing: -.01em; color: var(--navy-900);
  max-width: 46rem;
}
.prose h2 + h3 { margin-top: .6em; }
.doc-meta { color: var(--ink-3); font-weight: 500; }
/* длинные слова в заголовках внутренних страниц («конфиденциальности») переносятся */
.legal-head h1 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 480px) { .legal-head .h2 { font-size: 1.75rem; } }
/* отдельные окошки загрузки в форме гарантии */
.uploads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.uploads__note { grid-column: 1 / -1; margin-top: -6px; }
.drop--compact { padding: 18px 14px; gap: 4px; }
.drop--compact .drop__icon { width: 38px; height: 38px; border-radius: 12px; }
.drop--compact .drop__icon svg { width: 20px; height: 20px; }
.drop--compact .drop__title { margin-top: 2px; font-size: .9375rem; }
.drop--compact .drop__hint { font-size: .8125rem; }
@media (max-width: 599px) { .uploads { grid-template-columns: minmax(0, 1fr); } }
