/* Oplatym — базовые стили-заглушки по токенам макета Figma.
   Верстальщик заменяет этот файл финальной вёрсткой; имена классов — BEM, блоки: .b-<тип> и .b-<тип>--<вариант>.
   Шрифт макета — Manrope (вариативный 200–800, сверено по PNG макета), лежит в static/fonts. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #eef2f8; --surface: #fff; --surface-2: #f5f7fb; --text: #111111; --muted: #434d60; --line: #e3e8f0;
  --dark: #26262b; --lime: #d4ff2a; --lime-soft: #efffb8; --blue: #cfe0ff; --blue-strong: #2f6bff; --green: #2fbf5b;
  --radius: 24px; --radius-sm: 14px; --gap: 16px; --container: 1320px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
.b[id] { scroll-margin-top: 130px; } /* якоря меню не уходят под липкую шапку (26.11) */
@media (max-width: 900px) { .b[id] { scroll-margin-top: 96px; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
main :is(p, li, dd, td) a { overflow-wrap: anywhere; }  /* длинные URL в текстах не дают горизонтальный скролл */
h1, h2, h3 { line-height: 1.15; font-weight: 500; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 5vw, 64px); }
h2 { font-size: clamp(26px, 3.4vw, 44px); }
h3 { font-size: 20px; }
ul, ol { padding: 0; margin: 0; list-style: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; } .skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 860px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.b { padding: 64px 0; }
.page--home .b + .b { padding-top: 72px; }
/* Блок без своего заголовка сразу после другого — его продолжение: зазор 64 вместо 128 (владелец 23.11: «огромные гэпы между блоками», /alipay) */
.b + .b--cont { padding-top: 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2, .section-head__title { font-size: clamp(30px, 4vw, 48px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.section-head__subtitle { color: var(--muted); max-width: 760px; margin: 0 auto; }
.eyebrow { color: var(--green); font-size: 14px; margin: 0 0 4px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 32px; border-radius: 14px; border: 0; font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: transform .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--light { background: var(--surface-2); color: var(--text); }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.chip { display: inline-block; padding: 8px 14px; background: var(--surface); border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font: inherit; cursor: pointer; }

/* Шапка (Figma 39:73), мега-меню (39:3874 «Оплата сервисов», 39:4039 «ИИ-сервисы», 39:4134 «Меню»), поиск (39:4185) */
.site-header { position: sticky; top: 0; z-index: 50; padding: 24px 0 0; }
.site-header__bar { position: relative; display: flex; align-items: center; gap: 24px; background: var(--surface); border-radius: 20px; padding: 13px 12px 13px 20px; box-shadow: 0 8px 32px rgba(30, 50, 90, .06); }
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo img { width: 120px; height: 32px; }
.site-header__burger, .site-header__search-toggle { display: none; place-items: center; width: 40px; height: 40px; padding: 0; background: none; border: 0; border-radius: 10px; color: var(--text); cursor: pointer; }
.site-header__burger .icon { width: 24px; height: 24px; } .site-header__burger-close, .site-header__contact { display: none; }
.site-nav__list { display: flex; gap: 4px; align-items: center; }
.site-nav__item { position: relative; }
.site-nav__item--wide { position: static; }
.site-nav__toggle, .site-nav__link { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 500; color: var(--text); cursor: pointer; text-decoration: none; padding: 9px 10px; white-space: nowrap; }
.site-nav__toggle:hover, .site-nav__link:hover { color: var(--blue-strong); }
.site-nav__toggle[aria-expanded="true"] { background: #e6efff; color: var(--blue-strong); }
.site-nav__chevron { width: 16px; height: 16px; color: var(--muted); transition: transform .15s; }
.site-nav__toggle[aria-expanded="true"] .site-nav__chevron { transform: rotate(180deg); color: currentColor; }
.mega { position: absolute; top: calc(100% + 12px); left: 0; z-index: 2; background: var(--surface); border-radius: var(--radius); padding: 28px 36px; box-shadow: 0 24px 60px rgba(30, 50, 90, .12); min-width: 260px; }
.mega[hidden] { display: none; }
/* Низкий экран (ноутбук, окно не на весь экран): меню не обрезается — прокрутка внутри панели (владелец 23.11) */
.mega { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; }
.mega--services { left: 0; right: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 36px 24px; }
.mega__title { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.mega__count { color: #a3a8b4; margin-left: 4px; }
.mega__links li { margin: 0; }
.mega__links a { display: inline-block; padding: 4px 8px; margin: 0 -8px; border-radius: 8px; text-decoration: none; font-size: 15px; line-height: 22px; }
.mega__links a:hover { background: var(--surface-2); }
.mega--ai, .mega--menu { top: calc(100% + 25px); }
.mega--ai { left: 50%; transform: translateX(-35%); width: 660px; }
.mega__links--cols { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(7, auto); grid-auto-flow: column; gap: 4px 24px; }
.mega__note { display: block; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--blue-strong); text-decoration: none; font-size: 14px; }
.mega__note:hover { text-decoration: underline; }
.mega--menu { padding: 12px; min-width: 240px; left: -8px; }
.mega--menu .mega__links a { display: block; margin: 0; padding: 10px 14px; }
.site-search { position: relative; flex: 0 1 266px; min-width: 0; margin-left: auto; }
.site-search__input { width: 100%; height: 44px; padding: 0 64px 0 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; background: var(--surface); color: var(--text); outline: none; }
.site-search__input::-webkit-search-cancel-button { display: none; }
.site-search__input:focus { border-color: var(--blue-strong); box-shadow: 0 0 0 1px var(--blue-strong); }
.site-search__btn, .site-search__clear { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--text); }
.site-search__btn { right: 8px; } .site-search__clear { right: 36px; color: var(--muted); } .site-search__clear[hidden] { display: none; }
.site-search__clear .icon { width: 14px; height: 14px; }
.search-drop { position: absolute; top: calc(100% + 25px); left: 0; width: 460px; max-width: calc(100vw - 32px); background: var(--surface); border-radius: 20px; padding: 16px; box-shadow: 0 24px 60px rgba(30, 50, 90, .12); }
.search-drop[hidden], .search-drop [hidden] { display: none !important; }
.search-drop__title { color: var(--muted); font-size: 12px; margin: 4px 4px 8px; }
.search-drop__list + .search-drop__title, .search-drop__recent + .search-drop__title, [data-recent-box] + .search-drop__title { margin-top: 12px; }
.search-drop__recent li { display: flex; align-items: center; }
.search-drop__recent a { flex: 1; display: flex; align-items: center; gap: 10px; padding: 8px 4px; text-decoration: none; font-size: 15px; }
.search-drop__recent .icon { width: 16px; height: 16px; color: var(--muted); }
.search-drop__remove { display: grid; place-items: center; width: 28px; height: 28px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 8px; }
.search-drop__remove:hover { background: var(--surface-2); } .search-drop__remove .icon { width: 12px; height: 12px; }
.search-drop__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px 4px; }
.search-drop .chip, .search-page .chip { padding: 7px 12px; background: var(--surface-2); border: 0; border-radius: 10px; font-size: 14px; }
.search-page .chip { background: var(--surface); }
.search-drop .chip:hover, .search-page .chip:hover { background: #e6efff; }
.search-drop__list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; text-decoration: none; }
.search-drop__list a:hover { background: var(--surface-2); }
.search-drop__list a.search-drop__service { flex-direction: column; align-items: flex-start; gap: 0; }
.search-drop__service small { color: var(--muted); font-size: 12px; }
.search-drop__category .icon { width: 16px; height: 16px; color: var(--muted); }
.search-drop__category small { margin-left: auto; color: var(--muted); font-size: 12px; }
.search-drop__all { display: block; margin-top: 8px; padding: 12px 10px 4px; border-top: 1px solid var(--line); color: var(--blue-strong); text-decoration: none; font-size: 14px; }
.search-drop__empty { padding: 4px; }
.search-drop__empty-title { font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.search-drop__empty-text { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.site-header__social { display: flex; align-items: center; gap: 4px; }
.site-header__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--text); }
.site-header__social a:hover { background: var(--surface-2); }
.site-header__soc-icon { width: 40px; height: 40px; color: #2a2a34; }
.site-header__login { flex: none; height: 48px; padding: 0 22px; border-radius: 12px; font-size: 14px; font-weight: 400; }

/* Крошки */
.crumbs__list { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs__item + .crumbs__item::before { content: "/"; margin-right: 6px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--text); }
.page-head { padding-top: 48px; }

/* Первый экран */
.b-hero { padding-top: 64px; background: linear-gradient(180deg, var(--blue) 0%, var(--bg) 100%); }
.hero__lead { color: #3b3f4a; font-size: 18px; margin-bottom: 24px; }
.hero__bullets { margin-bottom: 28px; display: grid; gap: 10px; font-size: 15px; }
.hero__bullets li { display: flex; gap: 10px; align-items: baseline; }
.hero__bullets li::before { content: "\2731"; color: var(--green); font-size: 15px; flex: none; }
/* hero service — по макету «hero экраны» (Figma 59:72): шапка поверх градиента, текст слева, иллюстрация 580×580 справа, плашки снизу */
.b-hero--service { margin-top: -96px; padding: 120px 0 40px; background: linear-gradient(180deg, #d3e8ff 0%, #e1efff 50%, var(--bg) 100%); }  /* низ = фон страницы, без ступеньки на стыке */
.b-hero--service .hero__inner { display: grid; grid-template-columns: minmax(0, 692fr) minmax(0, 580fr); gap: 24px 48px; align-items: center; }
.b-hero--service .hero__text { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 32px; } /* длинный лид (Discord и др.): кнопка не прилипает к плашкам */
.b-hero--service .crumbs__list { align-items: center; gap: 8px; margin: 0 0 36px; font-size: 14px; line-height: 1.5; font-weight: 500; color: #434d60; }
.b-hero--service .crumbs__list::before { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235b616b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 4.5 6 8l3.5 3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.b-hero--service .crumbs__item + .crumbs__item::before { content: "-"; margin-right: 8px; }
.b-hero--service .crumbs [aria-current] { font-weight: 600; }
.b-hero--service .hero__title { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.05; font-weight: 500; letter-spacing: -.02em; color: #111; margin: 0 0 24px; max-width: 640px; } /* макет «интерактив»: «Как оплатить / Higgsfield AI из России / в 2026 году» */
.b-hero--service .hero__lead { max-width: 591px; font-size: 18px; line-height: 1.5; color: #434d60; margin: 0 0 24px; }
.b-hero--service .hero__lead p { margin: 0; } .b-hero--service .hero__lead p + p { margin-top: 12px; }
.b-hero--service .hero__text .btn { min-height: 56px; padding: 16px 24px; border-radius: 12px; background: #2a2a34; color: #fff; font-size: 16px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.b-hero--service .hero__media { width: 100%; max-width: 580px; aspect-ratio: 1; justify-self: end; }
.b-hero--service .hero__media:empty { display: none; }
.b-hero--service .hero__media img { width: 100%; height: 100%; object-fit: contain; }
.hero__chips { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.chip-card { display: flex; gap: 24px; align-items: center; min-height: 74px; background: var(--surface); border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px 24px; font-size: 18px; line-height: 1.45; font-weight: 600; color: #111; }
.chip-card__icon { flex: none; color: #4ad07b; background: #ebfbf5; border-radius: 12px; padding: 11px; width: 40px; height: 40px; }
/* Первый экран главной (Figma 39:73): плашка отзывов, H1, лид, карта с подписью, кнопка, 6 иконок по бокам */
.b-hero--home, .b-hero--home-bottom { margin-top: -96px; padding: 152px 0 96px; background: linear-gradient(180deg, #d5e5ff 0%, #e7effc 45%, var(--bg) 100%); }
.hero__center { text-align: center; max-width: 840px; margin: 0 auto; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero__rating { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--muted); margin: 0 0 28px; }
.hero__avatars { display: flex; } .hero__avatars img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.hero__avatars img + img { margin-left: -9px; }
.b-hero--home .hero__title, .b-hero--home-bottom .hero__title { font-size: clamp(36px, 4.6vw, 59px); line-height: 1.06; font-weight: 500; letter-spacing: -.01em; margin: 0 0 24px; max-width: 620px; }
.b-hero--home .hero__lead, .b-hero--home-bottom .hero__lead { max-width: 520px; font-size: 18px; line-height: 1.5; color: var(--muted); margin: 0 0 28px; }
.b-hero--home .hero__lead p, .b-hero--home-bottom .hero__lead p { margin: 0; }
.hero__card-note { display: inline-flex; gap: 14px; align-items: center; font-size: 14px; line-height: 1.4; text-align: left; max-width: 380px; margin: 0 0 24px; }
.hero__mini-card { flex: none; display: flex; flex-direction: column; justify-content: space-between; width: 76px; height: 52px; padding: 6px 7px; border-radius: 6px; background: linear-gradient(135deg, #e8ff7a 0%, #c9f56b 100%); box-shadow: 0 6px 16px rgba(120, 160, 40, .25); font-size: 6px; line-height: 1; }
.hero__mini-card b { font-weight: 600; font-size: 7px; } .hero__mini-card i { font-style: normal; }
.hero__card-note--mobile { display: none; }
.b-hero--home .hero__center .btn, .b-hero--home-bottom .hero__center .btn { padding: 16px 32px; font-size: 16px; border-radius: 14px; }
.b-hero--home .hero__inner, .b-hero--home-bottom .hero__inner { position: relative; }
/* home_bottom (39:4483): ряд иконок 1084px шириной прижат к низу экрана, карточка с картой повёрнута на 4° и лежит под иконками */
.b-hero--home-bottom { margin-top: -98px; padding-bottom: 0; overflow: hidden; display: flex; flex-direction: column; min-height: min(100vh, 900px); min-height: min(100svh, 900px); }  /* -98 = высота шапки; на высоких экранах (2K/4K) не выше 900 — иначе пустота между текстом и картинкой */
.b-hero--home-bottom .hero__inner { flex: 1; display: flex; flex-direction: column; }
.b-hero--home-bottom .hero__center { max-width: 900px; margin-bottom: 40px; }
.b-hero--home-bottom .hero__title { text-wrap: balance; }
.b-hero--home-bottom .hero__center .btn { margin-bottom: 0; }
/* Ряд прижат к низу экрана (margin-top: auto) и ужимается по высоте экрана: 4.46 — пропорция картинки 1084×243, 600px — шапка и текст над рядом */
.hero__stage { position: relative; width: min(1084px, 100%); width: min(1084px, 100%, max(400px, (min(100svh, 900px) - var(--hero-above, 600px)) * 4.46)); margin: auto auto 0; container-type: inline-size; }
.hero__stage .hero__media { position: relative; z-index: 1; }
.hero__stage .hero__media img { display: block; width: 100%; height: auto; }
/* карточка масштабируется вместе с рядом (единицы cqw — от ширины ряда) */
.hero__stage .hero__card-note { position: absolute; z-index: 0; left: 44.5%; top: -1.3cqw; width: 41%; max-width: none; margin: 0; gap: 1.3cqw; padding: 1.66cqw 2cqw 13cqw; background: #fff; border-radius: 2.2cqw; box-shadow: 0 10px 30px rgba(30, 60, 120, .08); transform: rotate(4deg); transform-origin: left top; font-size: max(11px, 1.48cqw); }
.hero__stage .hero__mini-card { width: 7.66cqw; height: 5.44cqw; }
@media (min-width: 769px) and (max-height: 780px) {  /* ноутбуки с низким экраном: текст плотнее, чтобы ряд иконок остался в первом экране */
  .b-hero--home-bottom { --hero-above: 470px; padding-top: 120px; }
  .b-hero--home-bottom .hero__rating { margin-bottom: 16px; } .b-hero--home-bottom .hero__title { font-size: clamp(36px, 7.4vh, 60px); font-size: clamp(36px, 7.4svh, 60px); margin-bottom: 18px; }
  .b-hero--home-bottom .hero__lead { margin-bottom: 20px; } .b-hero--home-bottom .hero__center { margin-bottom: 28px; }
}
/* Иконки из Figma (docs/figma/home/*.svg): поворот и тень уже в картинке. Позиции — по макету 1440 (контейнер 1320, отступ сверху 152) */
.hero__floating li { position: absolute; z-index: 0; transition: transform .3s; }
.hero__floating li:hover { transform: translateY(-4px); }
.hero__floating img { width: 100%; height: auto; }
.hero__float--1 { left: 12.27%; top: 5px; width: min(143px, 9.93vw); }
.hero__float--2 { left: 2.5%; top: 136px; width: min(202px, 14.03vw); }
.hero__float--3 { left: 16.44%; top: 332px; width: min(148px, 10.28vw); }
.hero__float--4 { right: 9.7%; top: 1px; width: min(168px, 11.67vw); }
.hero__float--5 { right: 4.39%; top: 145px; width: min(193px, 13.4vw); }
.hero__float--6 { right: 13.94%; top: 322px; width: min(181px, 12.57vw); }
/* Главная, «30.png» (версия 6): шесть иконок вокруг заголовка (content/home/float-*.webp, тень в картинке), карточка с картой над кнопкой,
   ряда иконок внизу нет. Позиции по макету 1440: от верха строки рейтинга, % — от контейнера 1320 */
@media (min-width: 769px) {
  .b-hero--home-bottom:has(.hero__floating) { min-height: 0; padding-bottom: 104px; }
  .b-hero--home-bottom:has(.hero__floating) .hero__stage { display: none; }
  .b-hero--home-bottom:has(.hero__floating) .hero__center { margin-bottom: 0; }
  .b-hero--home-bottom:has(.hero__floating) .hero__card-note--mobile { display: inline-flex; font-size: 15px; gap: 18px; }
  .b-hero--home-bottom .hero__float--1 { left: 14%; top: 18px; width: min(96px, 6.63vw); }
  .b-hero--home-bottom .hero__float--2 { left: 5.45%; top: 160px; width: min(124px, 8.61vw); }
  .b-hero--home-bottom .hero__float--3 { left: 18.56%; top: 348px; width: min(103px, 7.15vw); }
  .b-hero--home-bottom .hero__float--4 { right: 11.36%; top: 15px; width: min(128px, 8.89vw); }
  .b-hero--home-bottom .hero__float--5 { right: 6.1%; top: 165px; width: min(135px, 9.34vw); }
  .b-hero--home-bottom .hero__float--6 { right: 17.08%; top: 354px; width: min(114px, 7.92vw); }
}
/* Плашка «У нас изменился дизайн сайта» (base.html, site.js) */
/* «30 (1).png»: карточка 360px — строка с иконкой и крестиком, под ней снимок старого сайта (img/redesign-old-site.webp, вырезан из макета) */
.redesign-toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; box-sizing: border-box; width: 360px; padding: 8px 10px 20px; background: #fff; border-radius: 18px; box-shadow: 0 12px 32px rgba(30, 60, 120, .12); font-size: 16px; font-weight: 500; line-height: 1.2; color: #24252c; }
.redesign-toast[hidden] { display: none; }
.redesign-toast__head { display: flex; align-items: center; gap: 12px; }
.redesign-toast__text { flex: 1; }
.redesign-toast__shot { display: block; width: 100%; height: auto; margin-top: 10px; }
.redesign-toast__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); }
.redesign-toast__icon .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.redesign-toast__close { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: #8a8f99; cursor: pointer; }
.redesign-toast__close:hover { color: #24252c; }
.hero__card { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: var(--surface); border-radius: 48px; padding: 56px 48px; }
.b-hero--referral { margin-top: -96px; padding-top: 144px; background: linear-gradient(180deg, #d3e8ff 0%, #e1efff 50%, var(--bg) 100%); }  /* низ = фон страницы, без ступеньки на стыке */
.b-hero--referral .hero__text { max-width: 600px; }
.b-hero--referral .hero__title { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 8px 0 16px; }
.b-hero--referral .hero__lead { font-size: 17px; }
/* «Stat card» 1 в 1 (Downloads/Stat card.png, 298×238): фон — из макета без надписей (img/referral-stat-bg.webp), текст живой */
.hero__percent { flex: none; display: flex; flex-direction: column; box-sizing: border-box; width: 300px; min-height: 240px; margin-right: 64px;
  background: #eef6e6 url("../img/referral-stat-bg.webp") center / cover no-repeat;
  border: 1px solid #fff; border-radius: 22px; padding: 38px 30px 32px 32px; box-shadow: 0 10px 30px rgba(30, 50, 90, .08); }
.hero__percent strong { display: block; font-size: 80px; line-height: .86; font-weight: 500; color: #24252c; letter-spacing: -.035em; margin: 0 0 12px -2px; }
.hero__percent-note { font-size: 16px; line-height: 1.2; font-weight: 600; color: #111; }
.hero__percent-foot { margin-top: auto; padding-top: 24px; font-size: 12.2px; line-height: 1.2; color: #555a66; white-space: nowrap; }
.hero__percent-foot b { color: #e5484d; font-weight: inherit; }
.b-hero--referral .eyebrow--gradient { font-size: 16px; font-weight: 500; margin: 0 0 4px; }
.hero__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.hero__steps li { display: flex; align-items: center; background: var(--surface); border-radius: 32px; padding: 28px 30px; font-size: 27px; line-height: 1.2; letter-spacing: -.01em; }
.b-hero--referral .hero__step-num { margin-right: 28px; background: linear-gradient(90deg, #6fd29a, #4fb3c4); -webkit-background-clip: text; background-clip: text; font-size: 28px; }
.hero__step-num { margin-right: 24px; background: linear-gradient(90deg, #7ed957, #2fa8e0); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Шаги (Figma 39:147): 3 + 2 карточки, последняя — лаймовая; номер сверху, заголовок и пояснение внизу */
.steps--cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.steps--cards .step { grid-column: span 2; background: var(--surface); border-radius: 28px; padding: 28px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.steps--cards .step:nth-child(4), .steps--cards .step:nth-child(5) { grid-column: span 3; }
.step--accent { background: linear-gradient(120deg, var(--lime) 0%, var(--lime) 55%, #f1ffbf 100%) !important; }
.step__num { font-size: 24px; font-weight: 500; line-height: 1; position: relative; z-index: 1; }
.step__body { position: relative; z-index: 1; }
.step__title { font-size: 20px; font-weight: 500; margin: 0 0 10px; letter-spacing: -.01em; }
.step__text { color: var(--muted); font-size: 16px; line-height: 1.45; } .step__text p { margin: 0; }
.steps--cards .step__body { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 0; }
.steps--cards .step__text { margin-right: -12px; } /* в макете текст идёт почти до края карточки: 2 строки, а не 3 */
.steps--cards .step__body > .step__title, .steps--cards .step__body > .step__text { grid-column: 1; }
.steps--cards .step__body > .btn { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-left: 16px; padding: 12px 22px; font-size: 14px; font-weight: 400; }
/* Картинки шагов из Figma (docs/figma/home/step-*.svg): 28px от верха и правого края; 4-я крупнее, рука на лаймовой — выше */
.step__media { position: absolute; right: 28px; top: 28px; width: 129px; }
.steps--cards .step:nth-child(4) .step__media { width: 160px; }
.steps--cards .step--accent .step__media { width: 162px; top: 10px; }
.step__media img { width: 100%; height: auto; }
.steps--cards .step:has(.step__media) .step__num { min-height: 150px; } /* длинный текст шага не заезжает под иконку (страницы стран, 24.11); короткий так и стоит внизу */
/* другое число карточек: 4 = 2 + 2, 3 и 6 — по три в ряд, 2 — в ряд */
.steps--n4 .step:nth-child(n), .steps--n2 .step:nth-child(n) { grid-column: span 3; }
.steps--n3 .step:nth-child(n), .steps--n6 .step:nth-child(n) { grid-column: span 2; }
.steps--n4 .step:nth-child(4) .step__media { width: 129px; }
/* шаги вкладок «Варианты оплаты» карточками (steps_cards): белые с рамкой — белая подложка иконок сливается с карточкой */
.steps--in-sheet { margin: 0 32px 24px; }
.steps--in-sheet .step { background: var(--surface); border: 1px solid var(--line); min-height: 260px; }
.steps--in-sheet .step--accent { border-color: transparent; }
.steps--in-sheet .step__title { font-size: 20px; margin: 0 0 8px; }
.steps--in-sheet .step__text { font-size: 15px; }
.steps--in-sheet .step__media { width: 112px; }
.steps--in-sheet .step--accent .step__media { width: 128px; top: 18px; }
/* list / tabs / request (39:2182, 39:2398, 39:2582): одна карточка — вкладки, шапка по центру, строки шагов на всю ширину, плашка вопросов внутри */
.sheet { background: var(--surface); border-radius: 28px; padding: 0 0 8px; overflow: hidden; scroll-margin-top: 120px; }
.sheet > .tabs__list { margin: 20px 32px 20px; } /* 39:2182/39:2398: под вкладками ~20px воздуха до шапки или шага 1 */
.sheet__head { text-align: center; padding: 48px 32px 36px; }
.sheet__title { font-size: clamp(24px, 2.6vw, 36px); font-weight: 400; letter-spacing: -.02em; margin: 0; }
.sheet__text { color: var(--muted); max-width: none; margin: 12px 0 0; text-align: center; } .sheet__text p { margin: 0; }
.sheet__media { padding: 24px 32px; } .sheet__media img { border-radius: 18px; margin: 0 auto; }
.eyebrow--gradient { display: inline-block; background: linear-gradient(90deg, #a2e060, #3fa9f2); /* по скрину: градиент по ширине текста, а не всей карточки */ -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.steps--rows .step { display: grid; grid-template-columns: 40px 1fr; gap: 0 30px; padding: 36px 32px; border-bottom: 1px solid var(--line); align-items: start; }
.steps--rows .step--media { grid-template-columns: 40px 1fr minmax(260px, 430px); }
.steps--rows .step:last-child { border-bottom: 0; }
.steps--rows .step__num { font-size: 22px; line-height: 1.3; padding-top: 3px; }
.steps--rows .step__title { font-size: clamp(19px, 1.8vw, 26px); font-weight: 500; line-height: 1.3; margin: 0; }
.steps--rows .step__text { margin-top: 10px; font-size: 16px; } .steps--rows .step__text:first-child { margin-top: 6px; } .steps--rows .step__text strong, .steps--rows .step__text b { color: var(--text); font-weight: 600; }
.steps--rows .step__body > .btn { margin-top: 16px; }
.steps--rows .step__shot img { width: 100%; max-height: 280px; object-fit: contain; border-radius: 18px; background: var(--surface-2); } /* 39:2182: картинка шага ~430×278, квадратные логотипы не растягивают строку */
.step__text a, .step__title a { color: var(--blue-strong); }
.tabs__list { display: flex; background: var(--surface-2); border-radius: 14px; padding: 4px; }
.tabs__tab { flex: 1; border: 0; background: none; padding: 12px; border-radius: 11px; font: inherit; font-size: 16px; color: #4a4f5c; cursor: pointer; }
.tabs__tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.request-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 18px 0 14px; }
.request-option { border: 0; border-radius: 10px; background: #eef1f6; padding: 11px 12px; font: inherit; font-size: 16px; line-height: 22px; cursor: pointer; }
.request-option:hover { background: #e3e8f0; }
.request-example { display: grid; grid-template-columns: auto auto; gap: 12px 32px; width: fit-content; max-width: 100%; margin: 16px 0 0; padding: 16px; background: var(--surface-2); border-radius: 12px; font-size: 14px; line-height: 1.4; }
.request-example dt { color: #8a8f9b; } .request-example dd { margin: 0; text-align: right; } .request-example > div { display: contents; }
.sheet .questions-banner { margin: 0 8px; box-shadow: none; }
.questions-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 38px; padding: 30px 32px; border-radius: 28px; background: #cfe0ff; box-shadow: 0 0 0 8px #fff; }
.questions-banner__title { font-size: 26px; font-weight: 600; margin: 0; }

/* Тарифы (39:200): карточка с плитками 3×2, вторая — акцентная, «Смотреть ещё» во всю ширину */
.tariffs.card { padding: 28px; border-radius: 28px; }
.tariffs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tariff { background: linear-gradient(180deg, #f3f5f9 0%, #fafbfd 100%); border-radius: 20px; padding: 18px 28px; display: grid; gap: 5px; justify-items: start; }
/* Акцентный тариф: фон из Figma (docs/figma/home → Tariff/Featured.png без текста) — лаймовый градиент и лучи справа */
.tariff--accent { background: #f4fdea url("../img/tariff-featured.webp") right center / cover no-repeat; }
.tariff__label { font-size: 16px; font-weight: 500; color: var(--muted); } .tariff__amount { font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.tariff__commission { font-size: 16px; color: var(--muted); background: rgba(255, 255, 255, .7); border-left: 2px solid var(--green); padding: 4px 10px; }
.tariff__commission b { color: #5ccb57; font-weight: 500; margin-left: 4px; }
.tariffs__more { margin-top: 24px; } .tariffs__more summary { list-style: none; } .tariffs__more summary::-webkit-details-marker { display: none; }
.tariffs__more summary.btn { background: #eef1f6; padding: 18px; font-size: 16px; }
.tariffs__more summary.btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 6px; }
.tariffs__more[open] summary { display: none; } .tariffs__more .tariffs__grid { margin-top: 0; }

/* Отзывы (39:279): три площадки — логотип сверху, подпись и стрелка снизу */
/* Лента картинок m.shots (отзывы-скриншоты, галереи от 3 картинок): Swiper, движение и лайтбокс — site.js.
   До запуска скрипта (и без JS) — тот же ряд с горизонтальной прокруткой, поэтому при старте ничего не прыгает. */
.shots { overflow-x: auto; scrollbar-width: none; } .shots::-webkit-scrollbar { display: none; }
.shots.swiper-initialized { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.shots:not(.swiper-initialized) .shots__track { gap: 16px; }
.shots__track { display: flex; align-items: flex-start; }
.shots .shots__slide { flex: none; width: auto; height: auto; }
.shots__item { display: block; border-radius: 16px; overflow: hidden; cursor: zoom-in; -webkit-user-drag: none; }
.shots__item img { display: block; height: 420px; width: auto; max-width: none; border-radius: 16px; background: var(--surface-2); pointer-events: none; }
.shots__item:focus-visible { outline: 3px solid var(--blue-strong); outline-offset: -3px; }
.reviews__platforms.card { padding: 28px 28px 28px; border-radius: 28px; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.platform { display: flex; flex-direction: column; gap: 18px; }
/* Логотипы площадок из Figma — рамка 384×96 с полями, ставим слева в натуральную величину */
.platform__logo { height: 96px; display: grid; place-items: center start; font-size: 24px; }
.platform__logo img { height: 96px; max-width: 100%; width: auto; object-fit: contain; object-position: left center; }
.platform__link { display: grid; grid-template-columns: 1fr auto; text-decoration: none; row-gap: 2px; }
.platform__link small { grid-column: 1; color: var(--muted); font-size: 14px; font-weight: 600; } .platform__link span:not(.platform__arrow) { grid-column: 1; font-size: 23px; font-weight: 600; }
.platform__arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; display: grid; place-items: center; width: 40px; height: 40px; background: var(--surface-2); border-radius: 10px; }
.platform__link:hover .platform__arrow { background: #e6efff; }
.reviews__platforms { margin-top: 16px; }

/* Сетка услуг (39:414): 5 колонок плиток со значком и названием */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: transparent; }
.service-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 33px; min-height: 172px; padding: 24px 12px; background: var(--surface); border-radius: 28px; text-decoration: none; text-align: center; height: 100%; transition: box-shadow .2s ease, transform .2s ease; }
/* Подсветка плиток при наведении (владелец 23.11): плитка приподнимается, голубая обводка, иконка чуть растёт, название синее */
.service-tile:hover, .service-tile:focus-visible { box-shadow: 0 0 0 2px #cfe0ff, 0 16px 36px rgba(30, 50, 90, .12); position: relative; z-index: 1; }
.service-tile__icon, .service-tile__name { transition: transform .2s ease, filter .2s ease, color .2s ease; }
@media (hover: hover) {
  .service-tile:hover { transform: translateY(-4px); }
  .service-tile:hover .service-tile__icon { transform: scale(1.1); }
  .service-tile:hover .service-tile__name { color: var(--blue-strong); }
}
.service-tile__name { font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.service-tile__icon { width: 56px; height: 56px; color: #a3a8b4; display: grid; place-items: center; font-size: 22px; letter-spacing: 2px; }
.service-tile__icon img { width: 56px; height: 56px; object-fit: contain; } /* иконки из Figma (docs/figma/home/services): рамка 56, уже серые */
.service-tile__mono { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #a3a8b4; color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 0; }  /* как серые логотипы макета */
.services--list { grid-template-columns: repeat(4, 1fr); gap: 8px; } .services--list .service-tile { padding: 12px 16px; align-items: flex-start; min-height: 0; gap: 8px; } .services--list .service-tile__name { font-size: 16px; }

/* Баннеры: «Остались вопросы?» (голубой), «Не нашли нужный сервис?» (лайм), «Санкции больше не страшны» (39:797) */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 40px; border-radius: 28px; margin-top: 24px; position: relative; overflow: hidden; }
.cta--not-found { background: linear-gradient(90deg, #cfff1a 0%, #d8ff3a 100%); box-shadow: 0 0 0 8px #fff; margin-top: 42px; }
.cta--questions { background: #cfe0ff; box-shadow: 0 0 0 8px #fff; }
.cta--image { background: linear-gradient(100deg, #e4eeff 0%, #dbe8ff 55%, #b9d2ff 100%); min-height: 250px; padding: 56px 40px; margin-top: 0; }
.cta__title { font-size: clamp(28px, 3.6vw, 48px); font-weight: 500; letter-spacing: -.02em; margin: 0 0 28px; } .cta__text { margin: 0; font-weight: 500; }
.cta--not-found .cta__title { font-size: 22px; font-weight: 600; letter-spacing: 0; margin: 0 0 4px; }
.cta--questions .cta__title { font-size: 26px; font-weight: 600; letter-spacing: 0; margin: 0; } .cta--questions .cta__text, .cta--not-found .cta__text { font-size: 15px; margin-top: 4px; }
.cta--image .cta__body { position: relative; z-index: 1; } .cta--image .cta__title { margin-bottom: 20px; }
.cta--image .btn .icon { width: 16px; height: 14px; fill: currentColor; stroke: none; }
/* Ладошки (39:800): 532×249 в макете, прижаты к правому нижнему краю */
.cta__media { position: absolute; right: 0; top: 0; bottom: 0; display: flex; align-items: flex-end; }
.cta__media img { height: 100%; width: auto; object-fit: contain; }

/* Легально (39:699): текст слева, переписка с поддержкой справа */
.legal { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.legal .section-head__title { font-size: clamp(32px, 4vw, 48px); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; margin: 0 0 32px; }
.legal__body { color: #8a8f99; font-size: 18px; line-height: 1.6; max-width: 580px; margin-bottom: 32px; } .legal__body p { margin: 0; }
.legal__chat { position: relative; min-height: 360px; }
/* Иллюстрация из макета (legal.png, 585×463 при 1440): прижата вправо */
.legal__art { justify-self: end; width: 100%; max-width: 585px; } .legal__art img { display: block; width: 100%; height: auto; }
.legal__chat::before { content: ""; position: absolute; right: 8%; top: -24px; width: 200px; height: 170px; border-radius: 50% 50% 40% 60%; background: radial-gradient(circle at 40% 40%, #dbe7fb, #e6effc 70%); z-index: 0; }
.chat-bubble { position: relative; z-index: 1; background: var(--surface); border-radius: 22px; padding: 20px 24px; box-shadow: 0 16px 40px rgba(30, 50, 90, .10); max-width: 380px; font-size: 16px; }
.chat-bubble p { margin: 10px 0 0; color: #6b6f7b; }
.chat-bubble time { color: #a3a8b4; font-size: 13px; margin-left: 6px; }
.chat-bubble--client { transform: rotate(-3deg); margin-left: 4%; }
.chat-bubble--support { transform: rotate(4deg); margin: -16px 2% 0 auto; padding: 28px 28px 24px; }
.chat-bubble--support::before { content: "“"; display: block; color: #33c46b; font-size: 40px; line-height: .6; font-family: Georgia, serif; }
.chat-bubble--support p { color: var(--text); font-size: 18px; } .chat-bubble small { display: block; margin-top: 12px; color: var(--muted); }

/* Видео (39:723) */
.video { position: relative; aspect-ratio: 16 / 9; background: #26262b; border-radius: 28px; overflow: hidden; max-width: 1120px; margin: 0 auto; }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__title { position: absolute; left: 28px; top: 24px; color: #fff; margin: 0; font-size: 16px; }
.video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.video__time { position: absolute; left: 28px; bottom: 20px; color: #fff; font-size: 13px; }
.video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Вопросы (39:761): слева голубая панель с заголовком и кнопкой, справа аккордеон */
.faq--side { display: grid; grid-template-columns: 1fr 2fr; gap: 0; padding: 0; overflow: hidden; border-radius: 28px; border: 1px solid #e6eaf0; box-shadow: 0 4px 24px rgba(15, 23, 42, .04); }
.faq--side .faq__aside { background: linear-gradient(160deg, #d6e6ff 0%, #eef4ff 100%); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; min-height: 400px; }
.faq--side .section-head__title { font-size: clamp(32px, 4vw, 48px); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; margin: 0; max-width: 280px; }
.faq--side .faq__aside { position: relative; overflow: hidden; }
.faq--side .faq__aside .btn { align-self: flex-start; position: relative; z-index: 1; }
/* Глянцевый «?» (39:765): 307×340 в макете, под заголовком справа, подрезан нижним краем, кнопка поверх */
.faq--side .faq__aside .section-head__title { position: relative; z-index: 1; }
.faq__art { position: absolute; right: 8px; bottom: 0; width: min(60%, 225px); pointer-events: none; } /* 39:761: «?» у правого края, срез картинки ровно по низу карточки — одинаково при любом заголовке и числе вопросов (24.11) */
.faq__art img { display: block; width: 100%; height: auto; }
.faq--side .faq__list { padding: 10px 26px 10px 24px; } .faq--side .faq__title--long { font-size: clamp(28px, 2.8vw, 36px); max-width: 340px; }
.faq__item { border-bottom: 0; }
.faq__q { list-style: none; cursor: pointer; padding: 19px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.faq__q::-webkit-details-marker { display: none; }
/* «+» из двух чёрточек: вертикальная поворачивается и ложится на горизонтальную — получается «−».
   С JS состояние — класс is-open (ставится в начале анимации, site.js), без JS — атрибут open. */
.faq__sign { position: relative; flex: none; width: 14px; font-size: 26px; height: 1.5em; }  /* высота строки как у прежнего глифа «+» 26px — ряды той же высоты */
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; border-radius: 1px; background: currentColor; transition: transform .3s ease; }
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open]:not([data-acc]) .faq__sign::after, .faq__item.is-open .faq__sign::after { transform: rotate(0deg); }
/* ответ поджат к вопросу отрицательным отступом, а не сменой padding у summary — иначе вопрос дёргается при раскрытии */
.faq__a { color: #5a6373; font-size: 16px; line-height: 1.5; padding: 0 48px 10px 0; margin-top: -13px; } .faq__a p { margin: 0 0 8px; }

/* Реквизиты (39:809): ячейки 4 в ряд, значок копирования справа от подписи */
.requisites { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line); padding: 0; margin: 0; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(30, 50, 90, .05); }
.requisites__cell { position: relative; padding: 34px 24px; background: var(--surface); }
.requisites dt { color: var(--muted); font-size: 16px; font-weight: 500; margin-bottom: 24px; padding-right: 32px; }
.requisites dd { margin: 0; font-size: 22px; font-weight: 500; word-break: break-word; }
.requisites__copy { position: absolute; top: 30px; right: 18px; display: flex; padding: 8px; background: none; border: 0; cursor: pointer; color: #b4b8c0; }
.requisites__copy .icon { width: 16px; height: 16px; }
.requisites__copy:hover { color: var(--text); } .requisites__copy.is-copied { color: var(--green); }

/* Преимущества, о сервисе, способы оплаты, уведомления, активация */
/* «Что даёт …» по макету Higgsfield: карточки 3 в ряд, неполный ряд по центру; короткий заголовок + продолжение серым (split_advantage) */
.advantages { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.advantage { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; padding: 40px 36px; border-radius: 20px; box-shadow: inset 0 0 0 1px #e6eaf0; }
.advantage__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #ebfbf5; color: #4ad07b; margin-bottom: 26px; } .advantage__icon .icon { width: 24px; height: 24px; }
.advantage__title { font-size: 24px; font-weight: 400; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 12px; }
.advantage__icon img { width: 28px; height: 28px; object-fit: contain; }
/* 4 карточки — 2 + 2, а не 3 + 1; 4 тарифа — в один ряд (только на широком экране, телефон — колонкой) */
@media (min-width: 769px) {
  .advantages:has(> :nth-child(4):last-child) > .advantage { flex-basis: calc((100% - 24px) / 2); }
  .tariffs__grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
}
.advantage__text { color: var(--muted); font-size: 16px; line-height: 1.45; } .advantage__text p { margin: 0; }
.about { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; border-radius: 28px; }
.about__main { padding: 40px 40px 32px; display: flex; flex-direction: column; gap: 16px; }
.about__title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; letter-spacing: -.02em; margin: 0; }
.about__lead { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.2; letter-spacing: -.01em; margin: 0; } .about__lead-muted { color: #a3a8b3; }
.about__text { color: #3b3f4a; font-size: 16px; line-height: 1.5; } .about__text p { margin: 0 0 .6em; } .about__text p:last-child { margin: 0; }
.about__text--after { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 14px; }
.about__media { padding: 32px 32px 32px 0; } .about__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; background: var(--surface-2); }
.about__features { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 28px 24px 32px; border-left: 1px solid var(--line); }
.feature:first-child { border-left: 0; }
.feature__icon { box-sizing: content-box; width: 16px; height: 16px; padding: 6px; border-radius: 8px; background: #e7f9ee; color: var(--green); }
.feature__title { font-size: 17px; margin: 28px 0 8px; } .feature__text { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 0; }
/* «Что такое X»: список справа (строки) / сетка 2×2 снизу */
.b-about--text-features .about, .b-about--what-is-grid .about { grid-template-columns: 1fr; }
.b-about--what-is-list .about__features { grid-column: 2; grid-row: 1; grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); }
.b-about--what-is-list .feature { border-left: 0; border-top: 1px solid var(--line); padding: 24px 32px; }
.b-about--what-is-list .feature:first-child { border-top: 0; }
.b-about--what-is-list .feature__title { margin-top: 20px; }
.b-about--what-is-grid .about__features { grid-template-columns: 1fr 1fr; }
.b-about--what-is-grid .feature:nth-child(odd) { border-left: 0; }
.b-about--what-is-grid .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
.b-about--text-image-features .about__main { padding-bottom: 40px; }
.b-about--text-image-features .about__title { font-size: clamp(26px, 2.6vw, 40px); }
.pay-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 48px; }
.pay-methods.card { padding: 24px 28px; border-radius: 28px; }
.pay-method { display: flex; gap: 20px; align-items: flex-start; }
.pay-method__icon { flex: none; box-sizing: content-box; width: 20px; height: 20px; padding: 12px; border-radius: 12px; background: #eef5ff; color: var(--blue-strong); }
.pay-method__title { font-size: 26px; font-weight: 400; letter-spacing: -.01em; line-height: 1.2; margin: 0; } .pay-method__text { color: #4a4f5c; font-size: 15px; margin: 6px 0 0; }
.b-payment-methods .section-head__subtitle { max-width: 640px; }
.b-payment-methods .section-head__subtitle p::first-letter { color: #e5484d; }
.pay-methods__card { padding: 40px 28px 32px; border-radius: 28px; }
.pay-methods__card .section-head { text-align: left; margin-bottom: 32px; }
.pay-methods__card .section-head__title { font-size: clamp(28px, 3vw, 44px); }
.pay-methods__card .section-head__subtitle { margin: 0; }
/* «Уведомления компановки» (39:3850): карточка 850px с тонкой рамкой, объёмный жёлтый знак в кремовом квадрате 56px */
.b-notice { padding: 48px 0; }
.notice { display: flex; gap: 20px; max-width: 850px; margin: 0 auto; padding: 28px; border-radius: 28px; box-shadow: inset 0 0 0 1px #e8ebf0; }
.b-notice--centered .notice { flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.notice__icon { flex: none; width: 56px; height: 56px; border-radius: 12px; background: #fbf7ec; display: grid; place-items: center; color: #e0a400; }
.notice__icon img { width: 34px; height: 30px; }
.notice__title { font-size: 20px; line-height: 28px; font-weight: 500; margin: 0 0 6px; color: var(--text); }
.notice__text { font-size: 16px; line-height: 24px; color: #4a5466; }
.notice__text p { margin: 0; } .notice__text p + p { margin-top: 8px; } .notice__text strong { font-weight: 600; }
.code-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.code-steps { display: grid; grid-template-columns: 1fr 1fr 2fr 1fr; gap: 8px; }
.b-code-activation--even .code-steps { grid-template-columns: repeat(4, 1fr); }
.code-step { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.code-step .step__num { align-self: flex-start; margin: -8px 0 auto -4px; padding-bottom: 24px; } /* номер в потоке: длинный текст шага не наезжает на «02» (/apple, 24.11) */
.code-step--accent { background: linear-gradient(135deg, var(--lime), #f3ffb0); }
.code-step { padding: 28px; border-radius: 22px; }
.code-step__title { font-size: 20px; font-weight: 400; margin: 0 0 12px; }
.code-step__text { color: var(--muted); font-size: 15px; } .code-step__text p { margin: 0; }
.code-head { padding: 32px 28px; border-radius: 22px; } .code-head .section-head__title { margin: 0; }
/* Подарочные карты (39:1054): карта с градиентом слева, «Валюта» / «Номинал» справа, выбранная плашка лаймовая */
.gift { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 40px; padding: 40px 32px 32px; border-radius: 28px; }
.gift__title { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 44px; font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
.gift__card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 28px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(85% 75% at 0% 100%, #d6ff4a 0%, rgba(214, 255, 74, 0) 70%), radial-gradient(80% 95% at 100% 10%, #8cbcf7 0%, rgba(140, 188, 247, 0) 70%), #e9f2fd; }
.gift__label, .gift__store { margin: 0; font-size: 16px; color: #2b2f38; }
.gift__img { position: absolute; top: 20px; right: 24px; width: 150px; height: auto; }
.gift__value { margin: 4px 0 0; font-size: 72px; line-height: 1; letter-spacing: -.02em; color: #24272e; }
.gift__body { display: flex; flex-direction: column; }
.gift__caption { margin: 0 0 10px; font-size: 16px; color: #2b2f38; }
.gift__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.gift__opts--denoms { grid-template-columns: repeat(4, 1fr); } .gift__opts[hidden] { display: none; }
.gift__opt { min-height: 38px; padding: 8px 10px; border: 0; border-radius: 8px; background: #eef1f6; font: inherit; font-size: 15px; line-height: 1.2; color: #2b2f38; cursor: pointer; transition: background .15s; }
.gift__opt:hover { background: #e3e8f0; }
.gift__opt[aria-selected="true"], .gift__opt[aria-pressed="true"] { background: var(--lime); }
.gift__opt small { display: block; font-size: 12px; color: var(--muted); }
.gift__cta { margin-top: auto; width: 100%; justify-content: center; min-height: 48px; }

/* Текст и галерея */
.prose { font-size: 16px; } .prose ul { list-style: disc; padding-left: 20px; } .prose ol { list-style: decimal; padding-left: 20px; }
.prose a { color: var(--blue-strong); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, calc(50% - 6px)), 1fr)); gap: 12px; } .gallery img { max-height: 320px; width: auto; margin-inline: auto; object-fit: contain; } .gallery img { border-radius: 14px; } .gallery figure { margin: 0; }

/* Поиск (Figma 39:4395), 404 */
.search-page, .error-page { padding: 32px 0 80px; }
.search-page__title { font-size: clamp(32px, 4vw, 48px); font-weight: 500; letter-spacing: -.02em; margin: 0 0 8px; }
.search-page__count { color: var(--muted); margin: 0 0 32px; }
.search-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.search-result { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 108px; padding: 24px 64px 24px 24px; background: var(--surface); border-radius: 20px; text-decoration: none; transition: box-shadow .15s; }
.search-result:hover { box-shadow: 0 12px 32px rgba(30, 50, 90, .08); }
.search-result__name { font-size: 20px; font-weight: 500; }
.search-result__meta { color: var(--muted); font-size: 14px; }
.search-result__arrow { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--surface-2); }
.search-result__arrow .icon { width: 16px; height: 16px; }
.search-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding: 24px 24px 24px 28px; border-radius: 24px; background: var(--lime); }
.search-banner__title { font-size: 22px; font-weight: 500; margin: 0 0 4px; }
.search-banner__text { margin: 0; font-size: 15px; }
.error-page__code { font-size: 96px; margin: 0; color: var(--blue-strong); }

/* Подвал (39:870): белая карточка — логотип и слоган, колонки ссылок, режим работы; снизу документы */
.site-footer { padding: 56px 0 32px; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 28px; background: var(--surface); border-radius: 28px 28px 0 0; padding: 40px 36px 32px; }
.site-footer__brand p { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 300px; margin: 20px 0 0; }
.site-footer__title { font-size: 14px; font-weight: 600; color: var(--muted); margin: 13px 0 11px; }
.site-footer__col li { margin: 0 0 10px; font-size: 16px; font-weight: 600; } .site-footer__col a { text-decoration: none; } .site-footer__col a:hover { color: var(--blue-strong); }
.site-footer__hours { margin: 0; font-size: 16px; } .site-footer__hours dt { font-weight: 400; } .site-footer__hours dd { margin: 6px 0 4px; color: var(--muted); font-size: 14px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; background: var(--surface); border-radius: 0 0 28px 28px; padding: 24px 36px 32px; font-size: 14px; color: var(--muted); }
.site-footer__bottom span { color: var(--text); font-weight: 500; }
.site-footer__toggle { all: unset; display: flex; align-items: center; justify-content: space-between; width: 100%; cursor: default; } .site-footer__chevron { display: none; }
.site-footer__bottom a { text-decoration: none; } .site-footer__bottom a:hover { color: var(--text); }
/* Реквизиты юрлица: строка между колонками и документами, через точку-разделитель; на телефоне — столбиком */
.site-footer__legal { background: var(--surface); padding: 20px 36px 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.site-footer__legal p { margin: 0; border-top: 1px solid var(--line); padding-top: 20px; }
.site-footer__req:not(:last-child)::after { content: " · "; }

/* Авторизация (макеты docs/figma/auth): панель 640px слева, форма 380px справа; на телефоне — только форма */
.auth-screen { display: grid; grid-template-columns: 640px 1fr; min-height: 100vh; min-height: 100svh; padding: 16px; gap: 16px; background: #fff; }
.auth-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 640px; padding: 24px;
  border-radius: var(--radius); background: linear-gradient(180deg, #cfe3fd 0%, #e9f2fe 55%, #fafcff 100%); }
.auth-visual__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.auth-visual__logo, .auth-visual__bottom { position: relative; }
.auth-visual__logo { align-self: flex-start; display: block; line-height: 0; }
.auth-visual__title { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 14px; color: var(--text); }
.auth-visual__text { font-size: 18px; line-height: 1.45; color: var(--muted); margin: 0; }
.auth-rating { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.auth-rating__avatars { display: flex; flex: none; } .auth-rating__avatars img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.auth-rating__avatars img + img { margin-left: -8px; }
.auth-rating--panel { margin-bottom: 24px; } .auth-rating--mobile, .auth-form__logo { display: none; }
.auth-form { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 24px 0; }
.auth-form__body { width: 100%; max-width: 380px; }
.auth-form__title { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; text-align: center; margin: 0 0 12px; }
.auth-form__text { font-size: 16px; line-height: 1.45; color: var(--muted); text-align: center; margin: 0 0 32px; overflow-wrap: anywhere; }
.auth-form .form { gap: 14px; } /* 39:6450/39:6498: шаг полей 95px (подпись + 8 + поле 52 + 14) */
.auth-form .field { gap: 8px; } .auth-form .field__label { font-size: 15px; font-weight: 500; color: var(--text); }
.field__req { color: #df4b4b; }
.auth-form .field__input { height: 52px; padding: 0 16px; border-color: #e2e8f0; font-size: 16px; color: var(--text); transition: border-color .15s, background-color .15s; }
.auth-form .field__input::placeholder { color: #a7adb8; }
.auth-form .field__input:focus, .code-input__cell:focus { outline: none; border-color: #3aa4f1; background: #f6fbfe; }
.auth-form .field__password .field__input { padding-right: 52px; }
.auth-form .field__password .field__input[type=password]::placeholder { letter-spacing: .08em; }
.auth-form .btn { height: 56px; padding: 0 24px; border-radius: 12px; background: #2a2a34; }
.auth-form .btn .icon { width: 16px; height: 16px; }
.auth-form a:not(.btn) { color: #3aa4f1; text-decoration: none; } .auth-form a:not(.btn):hover { text-decoration: underline; }
.form { display: grid; gap: 14px; } .form.card { margin-bottom: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; position: relative; } .field__label { font-size: 13px; color: var(--muted); }
.field__input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.field__password { position: relative; display: block; }
.field__eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: none; color: #a7adb8; cursor: pointer; }
.field__eye:hover, .field__eye.is-visible { color: var(--muted); }
.field__eye .icon { width: 20px; height: 20px; stroke-width: 1.5; } .field__eye-on, .field__eye.is-visible .field__eye-off { display: none; } .field__eye.is-visible .field__eye-on { display: block; }
.field__badge { position: absolute; right: 12px; bottom: 12px; font-size: 12px; color: var(--green); }
.form__link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--blue-strong); cursor: pointer; text-align: left; text-decoration: none; }
.form__link--right { justify-self: end; font-size: 15px; }
.form__link:disabled { color: var(--muted); cursor: default; }
.form__error { color: #d62c2c; font-size: 14px; margin: 0; } .form__ok { color: var(--green); font-size: 14px; margin: 0; }
.form__note, .form__alt { font-size: 13px; color: var(--muted); margin: 0; }
.auth-form .form__alt { font-size: 16px; text-align: center; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--muted); cursor: pointer; }
.check__box { flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid #e2e8f0; border-radius: 6px; appearance: none; -webkit-appearance: none; background: #fff center / 12px no-repeat; cursor: pointer; }
.check__box:checked { background-color: #2a2a34; border-color: #2a2a34; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.check__box:focus-visible { outline: 2px solid #3aa4f1; outline-offset: 2px; }
.code-input { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.code-input__cell { width: 100%; height: 63px; padding: 0; text-align: center; font: inherit; font-size: 28px; font-weight: 500; color: var(--text); border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; caret-color: var(--text); }
.code-input__cell:focus { border-width: 2px; }
.form__resend { justify-self: center; background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: #3aa4f1; cursor: pointer; }
.form__resend:disabled { color: #8a8f99; cursor: default; }
.auth-success { text-align: center; } .auth-success .auth-form__text { margin-bottom: 32px; }
.switch { display: flex; gap: 12px; align-items: flex-start; }

/* Кабинет */
.account-screen { padding: 32px 0 64px; }
.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.account-side__name { font-weight: 600; margin: 0; } .account-side__email { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.account-menu a, .account-menu__logout { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; width: 100%; text-align: left; }
.account-menu a[aria-current] { background: var(--surface-2); }
.badge { background: var(--blue-strong); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 12px; }
.manager-note { background: var(--lime-soft); margin-bottom: 16px; font-size: 14px; }
.order-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.order-filters a { padding: 8px 14px; border-radius: 999px; background: var(--surface); text-decoration: none; font-size: 14px; }
.order-filters a[aria-current] { background: var(--dark); color: #fff; } .order-filters span { opacity: .6; margin-left: 4px; }
.orders-table { width: 100%; border-collapse: collapse; padding: 0; } .orders-table th, .orders-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.orders-table th { font-size: 13px; color: var(--muted); font-weight: 400; } .orders-table small { color: var(--muted); }
.status { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); white-space: nowrap; }
.status--paid { background: #e7f9ee; color: #1f8a43; } .status--awaiting_payment { background: #fff6d6; color: #a07400; } .status--cancelled { background: #fde8e8; color: #b02a2a; } .status--in_progress { background: #e5eeff; color: #2753c9; } .status--refunded { background: #efe9ff; color: #6a3fc4; }
.tg-link__state { margin: 0; font-size: 16px; } .tg-link__widget { min-height: 40px; } .tg-link .btn { justify-self: start; }
.pager { display: flex; gap: 6px; } .pager a { padding: 6px 12px; border-radius: 8px; background: var(--surface); text-decoration: none; } .pager a[aria-current] { background: var(--dark); color: #fff; }
.orders-pager { color: var(--muted); font-size: 14px; }
.notif-group__title { font-size: 14px; color: var(--muted); margin: 16px 0 8px; font-weight: 400; }
.notif { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; }
.notif__title { margin: 0; } .notif__text { margin: 0; color: var(--muted); font-size: 14px; grid-column: 1; } .notif__time { grid-column: 2; grid-row: 1; color: var(--muted); font-size: 13px; }
.notif.is-unread .notif__title::before { content: "● "; color: var(--blue-strong); }
.referral__link { display: flex; gap: 8px; margin: 16px 0; }
.dialog { border: 0; border-radius: var(--radius); padding: 28px; max-width: 380px; } .dialog::backdrop { background: rgba(20, 24, 40, .45); }
.dialog__title { font-size: 20px; margin: 0 0 8px; } .dialog__actions { display: flex; gap: 8px; margin-top: 20px; } .dialog__actions .btn { flex: 1; }
/* Лайтбокс (site.js, openLightbox): картинка целиком по размеру экрана, листание Swiper, закрытие ✕ / Esc / фон / свайп вниз */
html.lbox-open { overflow: hidden; }
.lbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: #fff;
  background: rgba(8, 10, 16, calc(.92 * var(--lbox-fade, 1))); overflow: hidden; overscroll-behavior: contain; }
.lbox::backdrop { background: transparent; }
.lbox[open] { display: block; animation: lbox-in .2s ease; }
@keyframes lbox-in { from { opacity: 0; } }
.lbox__swiper { width: 100%; height: 100%; }
.lbox__slide { display: flex; align-items: center; justify-content: center; height: 100%; padding: 68px 80px 28px; }
.lbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; transition: transform .2s ease; }
.lbox__fig img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); object-fit: contain; border-radius: 12px; }
.lbox__fig figcaption { margin-top: 8px; font-size: 15px; text-align: center; color: rgba(255, 255, 255, .85); }
.lbox__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; pointer-events: none; }
.lbox__bar > * { pointer-events: auto; }
.lbox__count { padding-left: 8px; font-size: 15px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); }
.lbox__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.lbox__btn:hover { background: rgba(255, 255, 255, .26); } .lbox__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lbox__prev, .lbox__next { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); }
.lbox__prev { left: 20px; } .lbox__prev svg { transform: scaleX(-1); } .lbox__next { right: 20px; }
.lbox--plain .lbox__slide[hidden] { display: none; }
@media (max-width: 768px), (pointer: coarse) { .lbox__prev, .lbox__next { display: none; } .lbox__slide { padding: 60px 8px 16px; } }
.preview-bar { background: #fff6d6; text-align: center; padding: 8px; font-size: 14px; }
.empty { color: var(--muted); }

/* Адаптив */
@media (max-width: 1100px) {
  .advantage { flex-basis: calc((100% - 24px) / 2); }
  .site-nav { display: none; } .site-header__burger { display: grid; order: -1; margin-right: -8px; }
  /* Мобильное меню и поиск (макеты «меню», «поиск» 390): на весь экран — верхняя карточка (✕, логотип, «Войти»),
     под ней белая карточка с полем поиска и пунктами-аккордеонами, внизу «Мы на связи …» */
  .nav-open, .search-open { overflow: hidden; }
  .nav-open .site-header, .search-open .site-header { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); padding-bottom: 24px; }
  .nav-open .site-header__bar, .search-open .site-header__bar { flex-wrap: wrap; align-items: center; gap: 0 8px; background: none; box-shadow: none; padding: 0; }
  .nav-open .site-header__bar::before, .search-open .site-header__bar::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 58px; background: var(--surface); border-radius: 16px; box-shadow: 0 8px 32px rgba(30, 50, 90, .06); }
  .nav-open .site-header__burger, .search-open .site-header__burger { margin: 9px -8px 9px 14px; }
  .nav-open .site-header__burger-open, .search-open .site-header__burger-open { display: none; }
  .nav-open .site-header__burger-close, .search-open .site-header__burger-close { display: block; }
  .nav-open .site-header__login, .search-open .site-header__login { margin: 9px 9px 9px auto; }
  .nav-open .site-header__search-toggle, .search-open .site-header__search-toggle, .nav-open .site-header__social, .search-open .site-header__social { display: none; }
  .nav-open .site-search, .search-open .site-search { order: 5; flex: 0 0 100%; max-width: none; margin: 12px 0 0; padding: 12px 16px 12px; background: var(--surface); border-radius: 20px 20px 0 0; }
  .search-open .site-search { border-radius: 20px; padding-bottom: 20px; }
  .nav-open .site-search__input, .search-open .site-search__input { height: 45px; padding-left: 16px; font-size: 16px; }
  .nav-open .site-search__btn .icon, .search-open .site-search__btn .icon { width: 22px; height: 22px; }
  .nav-open .site-search__btn, .search-open .site-search__btn { top: 34.5px; right: 28px; } .nav-open .site-search__clear, .search-open .site-search__clear { top: 34.5px; right: 60px; }
  .search-open .site-search__input:focus { border-color: var(--line); box-shadow: none; }
  .search-open .search-drop { position: static; width: auto; max-width: none; max-height: none; padding: 16px 0 0; box-shadow: none; border-radius: 0; }
  .search-open .search-drop__title { font-size: 13px; margin: 0 0 8px; } .search-open .search-drop__recent a { font-size: 16px; padding: 10px 0; }
  .search-open .search-drop .chip { padding: 8px 12px; font-size: 15px; }
  .nav-open .site-nav { display: block; order: 6; flex: 0 0 100%; margin: 0; padding: 0 16px 4px; background: var(--surface); border-radius: 0 0 20px 20px; }
  .nav-open .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-open .site-nav__item { border-top: 1px solid var(--line); }
  .nav-open .site-nav__toggle, .nav-open .site-nav__link { display: flex; width: 100%; justify-content: space-between; padding: 13px 0; border-radius: 0; font-size: 16px; font-weight: 500; }
  .nav-open .site-nav__toggle[aria-expanded="true"] { background: none; color: var(--blue-strong); }
  .nav-open .site-nav__chevron { width: 22px; height: 22px; color: var(--text); transition: transform .3s ease; }
  .nav-open .mega.is-closing[hidden] { display: block; }  /* раздел мобильного меню сворачивается (site.js) */
  .nav-open .mega, .nav-open .mega--ai, .nav-open .mega--menu, .nav-open .mega--services { position: static; transform: none; width: auto; min-width: 0; box-shadow: none; border-radius: 0; padding: 0 0 16px; max-height: none; overflow: visible; }
  .mega--services { grid-template-columns: 1fr 1fr; } .nav-open .mega--services { display: block; } .nav-open .mega--services[hidden] { display: none; }
  .nav-open .mega__group + .mega__group { margin-top: 12px; }
  .nav-open .mega__title { font-size: 13px; margin: 0 0 4px; }
  .nav-open .mega__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .mega__links--cols { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .nav-open .mega__links a { display: block; margin: 0; padding: 2px 0; font-size: 15px; line-height: 22px; }
  .nav-open .mega--menu .mega__links { grid-template-columns: 1fr; } .nav-open .mega--menu .mega__links a { padding: 3px 8px; }
  .nav-open .mega__note { margin-top: 12px; padding-top: 0; border: 0; font-size: 15px; font-weight: 500; }
  .nav-open .site-header__contact, .search-open .site-header__contact { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 14px; }
  .site-header__contact span { margin-right: 8px; } .site-header__contact a { display: grid; place-items: center; width: 40px; height: 40px; color: #2a2a34; }
  .site-search { flex: 1; } .hero__float--1, .hero__float--4 { display: none; }
  .site-header__social { display: none; }
}
@media (max-width: 768px) {
  .b { padding: 36px 0; }
  .b-hero--service .hero__inner, .legal, .about, .gift, .faq--side { grid-template-columns: 1fr; }
  .hero__chips, .advantages, .tariffs__grid, .platforms, .pay-methods, .hero__steps { grid-template-columns: 1fr; }
  .steps--cards { grid-template-columns: 1fr; } .steps--cards .step, .steps--cards .step:nth-child(n) { grid-column: auto; min-height: 0; }
  .services { grid-template-columns: repeat(2, 1fr); } .services--list { grid-template-columns: repeat(2, 1fr); } .services--list .service-tile { padding: 10px 12px; } .services--list .service-tile__name { font-size: 14px; }
  .requisites { grid-template-columns: 1fr; } .code-steps, .b-code-activation--even .code-steps { grid-template-columns: 1fr; }
  .cta, .questions-banner, .code-head, .hero__card { flex-direction: column; align-items: flex-start; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; } .site-search { max-width: none; }
  /* шапка 390 (главная — mobile): ☰ · логотип · лупа · «Войти»; поле поиска открывается лупой */
  .site-header { padding-top: 14px; }
  .site-header__bar { gap: 8px; padding: 9px 9px 9px 14px; border-radius: 16px; } .site-header__logo { margin-left: 8px; } .site-header__logo img { width: 104px; }
  .site-search { display: none; } .nav-open .site-search, .search-open .site-search { display: block; }
  .site-header__search-toggle { display: grid; margin-left: auto; } .site-header__search-toggle .icon { width: 22px; height: 22px; }
  .site-header__login { height: 40px; padding: 0 14px; gap: 6px; border-radius: 10px; font-size: 14px; font-weight: 500; } .site-header__login .icon { width: 16px; height: 16px; }
  .nav-open .site-header, .search-open .site-header { padding-top: 13px; }
  .hero__title, h1 { overflow-wrap: anywhere; } .tabs__panel { text-align: left; }
  .search-drop { position: fixed; top: 84px; left: 16px; right: 16px; width: auto; max-height: 70vh; overflow: auto; }
  .auth-screen { grid-template-columns: 1fr; padding: 0; } .auth-visual { display: none; }
  .auth-form { justify-content: space-between; min-height: 100vh; min-height: 100svh; padding: 16px 16px 24px; }
  .auth-form__logo { display: block; align-self: flex-start; line-height: 0; } .auth-rating--mobile { display: flex; align-self: flex-start; }
  .auth-form__body { margin: 40px 0; } .auth-form__title { font-size: 28px; }
  .account-grid, .form__row { grid-template-columns: 1fr; }
  .account-side { padding: 16px; } .account-side__email { margin-bottom: 10px; }
  .account-menu { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; } .account-menu li { flex: none; }
  .account-menu a, .account-menu__logout { white-space: nowrap; padding: 8px 12px; background: var(--surface-2); font-size: 14px; }
  .account-menu a[aria-current] { background: var(--dark); color: #fff; }
  .orders-table thead { display: none; } .orders-table tr { display: grid; border-bottom: 1px solid var(--line); } .orders-table td { border: 0; padding: 6px 16px; }
  .faq--side .faq__list { padding: 0 20px 16px; } .hero__floating { display: none; }
  .faq--side .faq__aside { min-height: 0; gap: 24px; padding: 28px; } .faq__art { display: none; } .faq__q { font-size: 18px; }
  .legal__art { justify-self: center; }  .legal__chat { min-height: 0; } .chat-bubble--support { margin-top: 16px; } .cta__media { position: static; height: 180px; margin: 0 -40px -56px auto; }
  .site-footer__inner { padding: 28px 20px; } .site-footer__bottom { padding: 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .requisites dd { font-size: 18px; }
  .service-tile { min-height: 120px; gap: 8px; } .service-tile__icon, .service-tile__icon img { width: 44px; height: 44px; } .service-tile__name { font-size: 17px; }
  .steps--cards .step:nth-child(n) { min-height: 210px; padding: 24px; } .step__media, .steps--cards .step:nth-child(n) .step__media { width: 84px; right: 20px; top: 18px; } .steps--cards .step:has(.step__media) .step__num { min-height: 96px; } .steps--cards .step--accent .step__media { width: 96px; top: 8px; } .step__title { font-size: 20px; }
  .cta .btn, .questions-banner .btn { white-space: normal; text-align: center; max-width: 100%; padding: 14px 22px; font-size: 16px; } .questions-banner { padding: 24px 20px; } .questions-banner__title { font-size: 22px; }
  .steps--rows .step, .steps--rows .step--media { grid-template-columns: 32px 1fr; gap: 0 12px; padding: 24px 20px; }
  .steps--rows .step__shot { grid-column: 1 / -1; margin-top: 16px; } .sheet__head { padding: 32px 20px 24px; } .sheet > .tabs__list { margin: 12px 12px 0; }
  .tabs__tab { font-size: 13px; padding: 10px 6px; } .request-options { grid-template-columns: 1fr; }
  .about__main { padding: 28px 20px; } .about__features, .b-about--what-is-grid .about__features { grid-template-columns: 1fr; } .feature, .feature:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); padding: 20px; }
  .b-about--what-is-list .about__features { grid-column: 1; grid-row: auto; border-left: 0; border-top: 1px solid var(--line); } .about__media { padding: 0 20px 20px; }
  .hero__card { padding: 32px 20px 20px; border-radius: 32px; gap: 24px; } .hero__percent { width: 100%; max-width: 380px; margin: 0; min-height: 0; aspect-ratio: 5 / 4; padding: 32px 26px 26px 28px; } .hero__percent strong { font-size: 68px; } /* телефон: та же карточка «Stat card», пропорции 300×240 */
  /* «4 — mobile 390»: кнопка на всю ширину, стрелка у правого края; шаги плотной колонкой */
  .b-hero--referral .hero__text { width: 100%; } .b-hero--referral .hero__text .btn { width: 100%; justify-content: space-between; min-height: 56px; }
  .hero__steps { gap: 8px; margin-top: 10px; } .hero__steps li { font-size: 18px; padding: 18px 22px; border-radius: 28px; } .b-hero--referral .hero__step-num { font-size: 18px; margin-right: 22px; }
  .hero__percent-foot { white-space: normal; }
  .pay-method__title { font-size: 21px; } .advantage__title { font-size: 21px; } .advantage { flex-basis: 100%; padding: 28px 24px; }
  .search-results { grid-template-columns: 1fr; } .search-banner { flex-direction: column; align-items: flex-start; }
  .b-hero--home, .b-hero--home-bottom { padding: 128px 0 56px; }
  .b-hero--home-bottom { padding-bottom: 0; }
  /* главная — mobile 390: рейтинг, заголовок 34px, лид, карточка над кнопкой, кнопка на всю ширину, ниже ряд иконок; без растяжки на весь экран */
  .b-hero--home-bottom { min-height: 0; margin-top: -72px; padding-top: 140px; }
  .b-hero--home-bottom .hero__rating { margin-bottom: 20px; font-size: 14px; }
  .b-hero--home-bottom .hero__title { font-size: 34px; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 16px; }
  .b-hero--home-bottom .hero__lead { font-size: 16px; line-height: 1.55; margin-bottom: 24px; }
  .b-hero--home-bottom .hero__center { width: 100%; margin-bottom: 20px; } .b-hero--home-bottom .hero__center .btn { width: 100%; justify-content: center; min-height: 55px; }
  .hero__card-note--mobile { display: inline-flex; align-self: stretch; max-width: none; gap: 12px; margin: 0 0 20px; font-size: 14px; }
  .hero__card-note--mobile .hero__mini-card { width: 80px; height: 52px; }
  .hero__stage { width: 100%; } .hero__stage .hero__card-note { display: none; }
  /* «Главный экран — версия 6»: под кнопкой ряд из тех же шести иконок, обрезан низом блока */
  .b-hero--home-bottom:has(.hero__floating) .hero__stage { display: none; }
  .b-hero--home-bottom .hero__floating { display: flex; justify-content: center; align-items: flex-start; height: 92px; margin: 8px -16px 0; overflow: hidden; }
  .b-hero--home-bottom .hero__floating li, .b-hero--home-bottom .hero__float--1, .b-hero--home-bottom .hero__float--4 { display: block; position: static; flex: none; width: 66px; margin: 0 -4px; }
  .b-hero--home-bottom .hero__float--2 { order: 1; width: 84px; margin-top: -6px; } .b-hero--home-bottom .hero__float--3 { order: 2; }
  .b-hero--home-bottom .hero__float--1 { order: 3; } .b-hero--home-bottom .hero__float--4 { order: 4; } .b-hero--home-bottom .hero__float--6 { order: 5; } .b-hero--home-bottom .hero__float--5 { order: 6; }
  .redesign-toast { right: 16px; bottom: 16px; width: auto; max-width: calc(100% - 32px); padding: 10px 12px 10px 10px; font-size: 15px; }
  .redesign-toast__shot { display: none; }  /* телефон («Главный экран — версия 6»): только строка с крестиком */
  .b-hero--service { padding: 112px 0 32px; } .b-hero--service .hero__media { width: min(100%, 300px); justify-self: center; margin: -8px 0; }
  .b-hero--referral { padding-top: 112px; }
  .steps--cards .step--accent .step__media { width: 64px; top: 14px; } .steps--cards .step:has(.step__media):not(:has(.btn)) .step__title { padding-right: 92px; } .steps--cards .step .btn { flex: none; white-space: nowrap; }
  .b-hero--service .crumbs__list { margin-bottom: 20px; } .b-hero--service .hero__text .btn { width: 100%; }
  .chip-card { gap: 12px; min-height: 54px; padding: 11px 12px; border-radius: 12px; font-size: 14px; font-weight: 500; } .chip-card__icon { width: 32px; height: 32px; padding: 8px; border-radius: 8px; }
  .hero__chips { gap: 10px; }
  /* по макету 390 (нов 2/3, «4»): плашки 2 + 1 на всю ширину; в крошках — «‹ Главная - сервис» (средние уровни остаются в разметке BreadcrumbList) */
  .b-hero--service .hero__chips { grid-template-columns: 1fr 1fr; } .b-hero--service .hero__chips > :nth-child(3):last-child { grid-column: 1 / -1; }
  .b-hero--service .crumbs__item:not(:first-child):not(:last-child) { display: none; }
  .gift { grid-template-columns: 1fr; row-gap: 20px; padding: 28px 16px 16px; border-radius: 22px; } .gift__title { font-size: 30px; }
  .gift__card { min-height: 0; aspect-ratio: 326 / 200; padding: 20px; } .gift__img { width: 104px; top: 14px; right: 16px; } .gift__value { font-size: 52px; }
  .code-step { min-height: 0; justify-content: flex-start; padding: 20px; } .code-step .step__num { position: static; margin: 0 0 20px; padding-bottom: 0; }
  .gift__opts { gap: 8px; margin-bottom: 18px; } .gift__opt { min-height: 44px; font-size: 14px; } .gift__cta { margin-top: 4px; min-height: 55px; }
  /* страница сервиса 390 («интерактив»): заголовок 32, лид 15, картинка сразу под кнопкой */
  .b-hero--service .hero__inner { row-gap: 16px; } .b-hero--service .hero__text { padding-bottom: 0; }
  .b-hero--service .hero__title { font-size: 32px; line-height: 1.07; margin-bottom: 16px; }
  .b-hero--service .hero__lead { font-size: 15px; line-height: 1.55; margin-bottom: 24px; }
  .b-hero--service .hero__media { margin: -4px 0 -8px; }
  .hero__rating { flex-wrap: wrap; justify-content: center; font-size: 14px; }
}
/* Телефон по макетам 390 (главная — mobile, «… компановки», «18 · Футер — аккордеон раскрыт») */
@media (max-width: 768px) {
  .section-head h2, .section-head__title, .legal .section-head__title, .faq--side .section-head__title, .faq--side .faq__title--long { font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
  .section-head { margin-bottom: 24px; }
  .steps--in-sheet { margin: 0 8px 12px; } .steps--in-sheet .step:nth-child(n) { min-height: 180px; }
  /* шаги 01–05: картинка справа сверху, заголовок и текст внизу, кнопка под текстом */
  .steps--cards .step:nth-child(n) { min-height: 218px; padding: 20px; border-radius: 20px; }
  .steps--cards .step__num { font-size: 22px; }
  .steps--cards .step:has(.step__media):not(:has(.btn)) .step__title { padding-right: 0; }
  .steps--cards .step__body { display: block; } .steps--cards .step__text { margin-right: 0; font-size: 16px; line-height: 1.55; }
  .steps--cards .step__body > .btn { margin: 16px 0 0; padding: 12px 16px; font-size: 14px; }
  .step__media, .steps--cards .step:nth-child(n) .step__media { width: 64px; right: 20px; top: 18px; } .steps--cards .step:has(.step__media) .step__num { min-height: 72px; }
  /* «Остались вопросы?» — по центру, кнопка на всю ширину; «Не нашли нужный сервис?» — слева, кнопка на всю ширину */
  .questions-banner, .cta--questions { align-items: stretch; text-align: center; gap: 16px; padding: 24px 20px 20px; border-radius: 20px; }
  .questions-banner__title, .cta--questions .cta__title { font-size: 21px; font-weight: 500; }
  .cta--not-found { align-items: stretch; gap: 20px; padding: 24px 20px 20px; border-radius: 20px; } .cta--not-found .cta__title { font-size: 20px; }
  .cta .btn, .questions-banner .btn { width: 100%; justify-content: center; min-height: 55px; white-space: nowrap; }
  /* тарифы: белая подложка с отступом 12, карточки 20 */
  .tariffs.card { padding: 12px; border-radius: 20px; } .tariffs__grid { gap: 10px; } .tariffs__more { margin-top: 10px; }
  .tariff { padding: 18px 20px; border-radius: 16px; } .tariff__label { font-size: 15px; } .tariff__amount { font-size: 26px; }
  .tariff__commission { font-size: 15px; } .tariffs__more summary.btn { padding: 16px; }
  /* отзывы: одна карточка, площадки через разделители */
  .reviews__platforms.card { padding: 0; border-radius: 20px; } .platforms { gap: 0; }
  .platform { gap: 20px; padding: 24px 20px 20px; } .platform + .platform { border-top: 1px solid var(--line); }
  .platform__logo { height: 72px; place-items: center; } .platform__logo img { height: 72px; object-position: center; }
  .platform__link small { font-size: 13px; } .platform__link span:not(.platform__arrow) { font-size: 22px; font-weight: 500; }
  /* «Услуги»: 3 колонки, «Другие» добирает последний ряд */
  .services { grid-template-columns: repeat(3, 1fr); gap: 2px; } .services--list { grid-template-columns: repeat(2, 1fr); gap: 8px; } /* список стран: «Великобритания» не рвётся посреди слова */
  .service-tile { min-height: 116px; gap: 14px; padding: 18px 6px 14px; border-radius: 16px; }
  .service-tile { gap: 8px; } .service-tile__icon, .service-tile__icon img { width: 52px; height: 52px; } .service-tile__name { font-size: 14px; line-height: 1.15; }
  .services > li:last-child:nth-child(3n+2) { grid-column: span 2; } .services > li:last-child:nth-child(3n+1) { grid-column: span 3; }
  /* «Легально ли…»: картинка сверху, текст по центру, кнопка на всю ширину */
  .legal { gap: 24px; text-align: center; } .legal__art, .legal__chat { order: -1; }
  .legal .section-head__title { margin-bottom: 16px; } .legal__body { font-size: 18px; line-height: 1.6; margin: 0 auto 24px; }
  .legal__text .btn { width: 100%; justify-content: center; min-height: 55px; }
  /* «Частые вопросы» */
  .shots:not(.swiper-initialized) .shots__track { gap: 12px; } .shots__item, .shots__item img { border-radius: 14px; } .shots__item img { height: 340px; }
  .faq--side { border-radius: 20px; } .faq--side .faq__aside { padding: 24px 20px 24px; gap: 20px; }
  .faq--side .faq__aside .btn { align-self: stretch; justify-content: center; min-height: 55px; }
  .faq__q { font-size: 15px; line-height: 1.35; padding: 16px 0; } .faq__a { font-size: 15px; padding-right: 32px; margin-top: -10px; } .faq__sign { height: 1.35em; } .faq--side .faq__list { padding: 4px 20px 8px; }
  /* «Санкции больше не страшны»: по центру, картинка под кнопкой */
  .cta--image { flex-direction: column; align-items: center; text-align: center; padding: 40px 20px 0; min-height: 0; border-radius: 20px; }
  .cta--image .cta__title { font-size: 26px; line-height: 1.15; margin-bottom: 20px; } .cta--image .btn { width: auto; padding: 14px 24px; }
  .cta--image .cta__media { position: static; height: auto; margin: 16px 0 0; justify-content: center; } .cta--image .cta__media img { width: 100%; max-width: 300px; height: auto; }
  /* «Почему выбирают нас» 390: иконка слева, справа заголовок и текст */
  .advantages { gap: 14px; }
  .advantage { flex-basis: 100%; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-content: start; padding: 20px; }
  .advantage__icon { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 10px; margin: 0; } .advantage__icon img, .advantage__icon .icon { width: 20px; height: 20px; }
  .advantage__title { font-size: 17px; font-weight: 500; line-height: 1.3; margin: 8px 0 4px; } .advantage__text { font-size: 14px; line-height: 1.5; }
  /* «Что нужно для оплаты» 390: вкладки в 2 строки, кнопки вариантов столбиком, в примере заявки значение справа или строкой ниже */
  .steps--rows .step, .steps--rows .step--media { padding: 20px 16px; gap: 0 16px; } .steps--rows .step__num { font-size: 17px; padding-top: 0; } .steps--rows .step__title { font-size: 17px; line-height: 1.4; } .request-option { font-size: 15px; padding: 9px 12px; } .request-options { gap: 8px; margin: 14px 0 12px; }
  .request-example { display: flex; flex-direction: column; gap: 10px; width: 100%; font-size: 14px; }
  .request-example > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 12px; } /* длинное значение — строкой ниже, как в макете */
  /* «Обратите внимание» 390: иконка 40, заголовок 17, текст 14; длинный — иконка сверху по центру */
  .notice { gap: 14px; padding: 20px; border-radius: 20px; } .b-notice { padding: 32px 0; }
  .notice__icon { width: 40px; height: 40px; border-radius: 10px; } .notice__icon img { width: 26px; height: 23px; }
  .notice__title { font-size: 17px; line-height: 24px; margin-bottom: 4px; } .notice__text { font-size: 14px; line-height: 21px; }
  .b-notice--long .notice { flex-direction: column; gap: 16px; } .b-notice--long .notice__icon { align-self: center; }
  /* «Частые вопросы» 390: знак вопроса справа сверху */
  .faq--side .faq__art { display: block; right: 4px; top: 4px; bottom: auto; width: 92px; } .faq--side .faq__title--long ~ .faq__art { top: 4px; }
  .faq--side .faq__aside .section-head__title { max-width: calc(100% - 80px); }
  .pay-method__title { font-size: 18px; font-weight: 500; } .pay-method__text { font-size: 14px; }
  /* реквизиты: строки 89px */
  .requisites { border-radius: 20px; } .requisites__cell { padding: 18px 20px; } .requisites dt { font-size: 15px; margin-bottom: 6px; } .requisites dd { font-size: 17px; } .requisites__copy { top: 14px; right: 12px; }
  /* подвал: логотип и текст, разделы-аккордеоны, режим работы в две колонки, внизу © и документы */
  .site-footer { padding-top: 40px; }
  .site-footer__inner { display: flex; flex-direction: column; gap: 0; border-radius: 20px 20px 0 0; padding: 24px 20px 0; }
  .site-footer__brand p { margin: 16px 0 20px; }
  .site-footer__col--links { border-top: 1px solid var(--line); } .site-footer__col--main { order: -1; } .site-footer__brand { order: -2; }
  .site-footer__col--links .site-footer__title { margin: 0; color: var(--text); font-size: 16px; }
  .site-footer__toggle { padding: 16px 0; cursor: pointer; } .site-footer__chevron { display: block; width: 22px; height: 22px; transition: transform .3s ease; }
  .site-footer__toggle[aria-expanded="true"] .site-footer__chevron { transform: rotate(180deg); }
  .site-footer__col--links ul { display: none; grid-template-columns: 1fr 1fr; gap: 0 16px; padding-bottom: 12px; }
  .site-footer__col--links.is-open ul, .site-footer__col--links.is-closing ul { display: grid; } .site-footer__col--links li { margin: 0 0 12px; font-weight: 500; }
  .site-footer__col--hours { border-top: 1px solid var(--line); padding: 16px 0 24px; } .site-footer__col--hours .site-footer__title { margin: 0 0 12px; }
  .site-footer__hours { display: grid; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: 1fr; column-gap: 16px; }
  .site-footer__bottom { border-radius: 0 0 20px 20px; padding: 8px 20px 24px; gap: 8px; }
  .site-footer__legal { padding: 4px 20px 8px; } .site-footer__legal p { padding-top: 16px; }
  .site-footer__req { display: block; } .site-footer__req:not(:last-child)::after { content: none; }
}
/* Широкие экраны (2K/4K без масштабирования системы): вся страница крупнее пропорционально, как 1920 — контент, шрифты и отступы
   растут вместе, фоны секций остаются на всю ширину. Ниже 2400 px ничего не меняется. */
/* ---------- Попап «Виртуальные карты теперь в Oplatym» (Figma 281:148 десктоп / 281:262 телефон) ----------
   Плавает в правом нижнем углу, без затемнения; показывает site.js ([data-cards-popup]). Карта Oplatym — .ocard,
   все размеры в em: размер карты задаётся одним font-size (= кегль «Oplatym»; 20px → карта 200×135). */
.ocard { position: relative; display: block; width: 10em; height: 6.75em; border: .125em solid rgba(255, 255, 255, .24); border-radius: .75em; color: #212121; line-height: 1.5;
  background: radial-gradient(77% 77% at 50% 0, #edffc0, rgba(237, 255, 192, 0)), radial-gradient(98% 145% at 0 127%, #e1fd7b, rgba(180, 224, 180, .5) 50%, rgba(135, 195, 237, 0)), #d5ff4d; }
.ocard__brand { position: absolute; left: .75em; top: .5625em; font-size: 1em; font-weight: 700; text-shadow: 0 .125em 0 rgba(0, 0, 0, .04); }
.ocard__row { position: absolute; left: .75em; right: .75em; bottom: .5625em; display: flex; justify-content: space-between; align-items: flex-end; }
.ocard__num { font-style: normal; font-weight: 500; font-size: .75em; white-space: nowrap; }
.ocard .ocard__logo { width: 2em; height: 1.25em; }
.cards-popup { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 16px; width: 450px; max-width: calc(100% - 26px); padding: 12px;
  background: #fff; border: 1px solid #eceef1; border-radius: 20px; box-shadow: 0 12px 32px -4px rgba(18, 23, 38, .12);
  opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; }
.cards-popup[hidden] { display: none; }
.cards-popup.is-in { opacity: 1; transform: none; }
.cards-popup__media { position: relative; height: 210px; overflow: hidden; border-radius: 14px; background: linear-gradient(180deg, #cfe3ff, #f3f8ff); }
.cards-popup__media::before, .cards-popup__media::after { content: ""; position: absolute; border-radius: 50%; background: #fff; }
.cards-popup__media::before { left: 230px; top: -30px; width: 260px; height: 260px; opacity: .55; }
.cards-popup__media::after { left: -30px; top: 130px; width: 120px; height: 120px; opacity: .45; }
.cards-popup__media .ocard { position: absolute; }
.ocard--back { font-size: 17.6px; left: 179px; top: 41.8px; transform: rotate(-10deg); opacity: .5; }
.ocard--front { font-size: 20px; left: 99.6px; top: 43.3px; transform: rotate(8deg); filter: drop-shadow(0 10px 12px rgba(26, 51, 115, .18)); }
.ocard--mini { display: none; }
.cards-popup__body { display: flex; flex-direction: column; gap: 8px; padding: 0 8px; }
.cards-popup__head { display: flex; align-items: center; gap: 12px; }
.cards-popup__title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: #111; }
.cards-popup__text { margin: 0; font-size: 15px; line-height: 1.5; color: #434d60; }
.cards-popup__meta { margin: 0; font-size: 13px; line-height: 1.4; font-weight: 500; color: #8a93a3; }
.cards-popup__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 16px 24px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px;
  background: #2a2a34; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: opacity .15s; }
.cards-popup__btn:hover { opacity: .9; }
.cards-popup__btn .icon { width: 16px; height: 16px; stroke-width: 1.5; }
.cards-popup__close { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 0; background: none; color: #8a8f99; cursor: pointer; }
.cards-popup__close::before { content: ""; position: absolute; inset: -10px; }  /* зона нажатия 36×36 */
.cards-popup__close:hover { color: #24252c; }
.cards-popup__close .icon { width: 16px; height: 16px; stroke-width: 1.6; }
@media (max-width: 768px) {
  .cards-popup { right: 13px; bottom: calc(13px + env(safe-area-inset-bottom, 0px)); width: 364px; }
  .cards-popup__media { display: none; }
  .ocard--mini { display: block; flex: none; font-size: 5.8px; filter: drop-shadow(0 2.9px 3.48px rgba(26, 51, 115, .18)); }
  .cards-popup__head { padding-right: 12px; }
  .cards-popup__title { font-size: 18px; }
  .cards-popup__text { font-size: 14px; }
  .cards-popup__meta { font-size: 12px; }
  .cards-popup__close { top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .cards-popup { transition: none; transform: none; } }
@media (min-width: 2400px) { html { zoom: 1.25; } }
@media (min-width: 3200px) { html { zoom: 1.75; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; }
  .faq__sign::before, .faq__sign::after, .site-footer__chevron, .site-nav__chevron, .lbox__fig { transition: none !important; } .lbox[open] { animation: none; } .service-tile, .service-tile__icon { transform: none !important; } }

/* Шаг с картинкой на всю ширину под текстом (/alipay, макет 29: 4 скриншота телефона в строке шага 1) */
.steps--rows .step--wide .step__shot { grid-column: 2 / -1; margin-top: 28px; }
.steps--rows .step--wide .step__shot img { max-height: none; background: none; border-radius: 0; }
.steps--rows .step--media .step__shot img[src*="alipay-"] { max-height: 480px; background: none; border-radius: 0; }
/* Преимущества-логотипы (макет 28): три белые карточки на светлой подложке, логотип по центру, подпись под ним */
.advantages--logos { flex-wrap: nowrap; gap: 12px; padding: 14px; background: #dde6f4; border-radius: 48px; box-shadow: none; } /* 24.11: подложка темнее, карточки с тенью — не сливаются с фоном */
.advantage--logo { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; min-height: 430px; padding: 40px 32px; background: var(--surface); border-radius: 36px; box-shadow: 0 10px 30px rgba(23, 45, 90, .10), 0 0 0 1px rgba(23, 45, 90, .05); text-align: center; }
.advantage__logo img { width: auto; max-width: 280px; height: 130px; object-fit: contain; }
.advantage--logo .advantage__title { max-width: 280px; margin: 0; }
@media (max-width: 768px) {
  .advantages--logos { flex-direction: column; gap: 10px; padding: 10px; border-radius: 28px; }
  .advantage--logo { display: flex; flex-basis: auto; min-height: 0; gap: 20px; padding: 32px 20px; border-radius: 22px; }
  .advantage__logo img { height: 80px; }
  .steps--rows .step--wide .step__shot { grid-column: 1 / -1; margin-top: 16px; overflow-x: auto; }
  .steps--rows .step--wide .step__shot img { min-width: 640px; }
}

/* Иконки пунктов меню (макет «меню», 23.11): серые 16 px слева от названия */
.mega__links a:has(.mega__icon) { display: inline-flex; align-items: center; gap: 8px; }
.mega__icon { width: 16px; height: 16px; flex: none; object-fit: contain; }
@media (max-width: 1100px) {
  .nav-open .mega__links a:has(.mega__icon) { display: flex; gap: 6px; }
  .nav-open .mega__icon { width: 14px; height: 14px; }
}
.steps--rows .step__text ul { list-style: disc; margin: 10px 0 0; padding-left: 20px; } .steps--rows .step__text li + li { margin-top: 4px; }
@media (max-width: 768px) { .steps--rows .step--media .step__shot img[src*="alipay-"] { max-width: 260px; margin: 0 auto; } }
