/* Главная AvitoЛОГ360 — испытание целой страницы 11.10.2026, доработка по замечаниям владельца.
   Только body.page-home. Общий styles.css не меняется; этот файл заменяет прежний home.css. */

/* ---------- 1. Токены ---------- */
body.page-home {
  --ink: #101724;        /* фирменный тёмный фон */
  --ink-2: #18212f;      /* поверхность на тёмном */
  --ink-3: #243043;      /* заглушки, тонкие плашки */
  --paper: #f3f4f6;      /* светлый фон секций */
  --card: #ffffff;
  --on-dark: #f7f7f8;
  --on-dark-dim: #c3c9d3;
  --on-light: #141922;
  --on-light-dim: #566070;
  --signal: #ff4f2d;     /* единственный акцент: действие и выбор */
  --signal-hover: #ff6a4d;
  --signal-hl: #ee4120;  /* оранжевая часть заголовка на светлом фоне, 3.5:1 для крупного текста */
  --signal-text: #c2371a;/* акцентный текст на светлом, 5.2:1 */
  --line-dark: rgba(255,255,255,.14);
  --line-light: #dcdfe5;
  --r-card: 12px;
  --r-ctl: 8px;
  --gap: 20px;
  --sec: clamp(56px, 6vw, 84px);
  --t-fast: .15s;
  background: var(--ink);
  color: var(--on-dark);
  font-family: Montserrat, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
body.page-home [id] { scroll-margin-top: 84px; }
body.page-home img { max-width: 100%; height: auto; }
body.page-home h2, body.page-home h3, body.page-home p { overflow-wrap: break-word; }

/* ---------- 2. Фокус, ссылки, кнопки ---------- */
body.page-home :focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
body.page-home .sec-light :focus-visible,
body.page-home .form-card :focus-visible { outline-color: var(--on-light); }
body.page-home .skip-link { position: absolute; left: 16px; top: -60px; z-index: 30; padding: 10px 16px; border-radius: var(--r-ctl); background: var(--card); color: var(--on-light); font-weight: 700; }
body.page-home .skip-link:focus { top: 12px; }

body.page-home .link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color var(--t-fast); }
body.page-home .sec-dark .link:hover { color: var(--signal-hover); }
body.page-home .sec-light .link:hover { color: var(--signal-text); }
body.page-home .sec p a, body.page-home .footnote a { text-decoration: underline; text-underline-offset: 3px; }

body.page-home .button {
  min-height: 48px; padding: 0 24px; border-radius: var(--r-ctl);
  background: var(--signal); color: var(--ink);
  font-size: .95rem; font-weight: 700; letter-spacing: 0; text-transform: none; text-align: center;
  touch-action: manipulation;
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
body.page-home .button:hover { background: var(--signal-hover); transform: none; }
body.page-home .button:active { transform: translateY(1px); }
body.page-home .button.small { min-height: 40px; padding: 0 16px; font-size: .88rem; }
body.page-home .button.secondary { background: transparent; color: var(--on-dark); border: 1.5px solid rgba(255,255,255,.55); }
body.page-home .button.secondary:hover { background: rgba(255,255,255,.08); border-color: #fff; }
body.page-home .sec-light .button.secondary { color: var(--on-light); border-color: #8d95a3; }
body.page-home .sec-light .button.secondary:hover { background: var(--on-light); border-color: var(--on-light); color: #fff; }
body.page-home .button[disabled], body.page-home .button[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
body.page-home .actions { align-items: center; gap: 12px 24px; margin-top: 40px; }

/* ---------- 3. Шапка ---------- */
body.page-home .topbar { background: rgba(16,23,36,.96); }
body.page-home .nav-links { gap: 26px; font-size: .9rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--on-dark-dim); }
body.page-home .nav-links a { padding: 10px 0; transition: color var(--t-fast); }
body.page-home .nav-links a:hover { color: #fff; }
body.page-home .menu-button { min-height: 40px; padding: 0 14px; border-color: rgba(255,255,255,.4); border-radius: var(--r-ctl); font-weight: 600; cursor: pointer; }

/* ---------- 4. Секции и заголовки ---------- */
body.page-home .sec { padding: var(--sec) 0; }
body.page-home .sec-dark { background: var(--ink); color: var(--on-dark); }
body.page-home .sec-light { background: var(--paper); color: var(--on-light); }
body.page-home .sec-joined { padding-top: 0; }
body.page-home .head { max-width: 760px; margin-bottom: 36px; }
body.page-home .sec h2 { margin: 0; font-size: clamp(1.75rem, 3.3vw, 2.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
body.page-home .head p { margin: 16px 0 0; max-width: 38em; font-size: 1.08rem; }
body.page-home .sec-dark .head p, body.page-home .sec-dark .intro { color: var(--on-dark-dim); }
body.page-home .sec-light .head p, body.page-home .sec-light .intro { color: var(--on-light-dim); }
body.page-home .sec h3 { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
body.page-home .intro { margin: 0; max-width: 36em; font-size: 1.08rem; }
body.page-home .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

/* ---------- 5. Первый экран: услуга + портрет ---------- */
body.page-home .hero.hero-v2 {
  min-height: 0; padding: 40px 0 0; border-bottom: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 48%, rgba(16,23,36,.5) 100%),
    url("https://cdn-ru.bitrix24.ru/b38193686/landing/70b/70be81fa7ff5023f8c63aa879fd72116/chatgpt_image_1_sent_2026_g_16_17_57_resized_1x.webp") right center / cover no-repeat,
    var(--ink);
}
body.page-home .hero.hero-v2:after { content: none; }
body.page-home .hero-v2 .hero-grid { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 48px; align-items: end; }
body.page-home .hero-text { align-self: center; padding: 24px 0 72px; }
body.page-home .hero-slogan { margin: 0 0 30px; color: #fff; font-size: clamp(2rem, 3.7vw, 3.3rem); font-weight: 300; line-height: 1.06; letter-spacing: -.02em; }
body.page-home .hero-slogan span { color: var(--signal); font-weight: 700; }
body.page-home .hero-v2 h1 { max-width: 16em; margin: 0 0 18px; font-size: clamp(1.7rem, 2.8vw, 2.45rem); font-weight: 800; line-height: 1.14; letter-spacing: -.025em; text-wrap: balance; }
body.page-home .hero-v2 .hero-copy { max-width: 30em; margin: 0; font-size: 1.2rem; line-height: 1.55; color: #dfe3ea; }
body.page-home .hero-v2 .actions { margin-top: 32px; gap: 12px; }
body.page-home .hero-v2 .button { min-height: 54px; padding: 0 28px; font-size: 1rem; }
body.page-home .hero-point { margin: 22px 0 0; color: #dfe3ea; font-size: 1rem; font-weight: 500; }
body.page-home .hero-point:before { content: "✓"; margin-right: 9px; color: var(--signal); font-weight: 900; }

body.page-home .hero-portrait { position: relative; margin: 0; justify-self: end; align-self: end; }
body.page-home .hero-portrait img { display: block; width: auto; height: clamp(440px, calc(100vh - 150px), 660px); max-width: 100%; aspect-ratio: 947 / 1253; object-fit: cover; object-position: top; border-radius: 20px 20px 0 0; background: var(--ink-2); }
body.page-home .hero-portrait figcaption { position: absolute; left: -28px; bottom: 36px; max-width: 250px; padding: 14px 18px; border-left: 4px solid var(--signal); border-radius: var(--r-ctl); background: #fff; color: var(--on-light); line-height: 1.3; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
body.page-home .hero-portrait figcaption b { display: block; font-size: 1.12rem; }
body.page-home .hero-portrait figcaption span { color: var(--on-light-dim); font-size: .92rem; }

/* ---------- 6. Эксперт и онлайн-разбор ---------- */
body.page-home #expert { padding: clamp(48px, 6vw, 72px) 0; }
body.page-home .expert { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 56px; align-items: start; }
body.page-home #expert h2:after { content: none; }
body.page-home .expert-role { margin: 12px 0 16px; font-size: 1.08rem; font-weight: 700; }
body.page-home .expert .actions { margin-top: 26px; }
body.page-home .facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
body.page-home .facts li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
body.page-home .facts strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
body.page-home .facts span { color: var(--on-light-dim); }

body.page-home .razbor { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 28px; align-items: center; margin-top: 48px; padding: 28px 32px; border-radius: 16px; background: var(--signal); color: var(--ink); }
body.page-home .razbor svg { display: block; width: 88px; height: 88px; }
body.page-home .razbor h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
body.page-home .razbor p { margin: 6px 0 0; font-size: 1.05rem; }
body.page-home .razbor .button { min-height: 54px; background: var(--ink); color: #fff; font-size: 1rem; cursor: pointer; }
body.page-home .razbor .button:hover { background: #000; }

body.page-home .dialog { width: min(480px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 16px; background: var(--card); color: var(--on-light); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
body.page-home .dialog::backdrop { background: rgba(16,23,36,.72); }
body.page-home .dialog .form-card { padding: 28px; }
body.page-home .dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 10px; }
body.page-home .dialog h3 { font-size: 1.35rem; }
body.page-home .dialog-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-ctl); background: var(--paper); color: var(--on-light); font-size: 1.6rem; line-height: 1; cursor: pointer; }
body.page-home .dialog-close:hover { background: var(--line-light); }

/* ---------- 7. Этапы продвижения с работами на каждом ---------- */
body.page-home .sprite { position: absolute; }
body.page-home .sec h2 .hl { color: var(--signal); }
body.page-home .sec-light h2 .hl { color: var(--signal-hl); }
body.page-home .group-ico { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; }
body.page-home .group-ico svg { width: 28px; height: 28px; }

body.page-home .stages { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
body.page-home .stage { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--ink-2); }
/* Иллюстрация этапа: исходник небольшой, поэтому резкая картинка стоит по центру, а поля заполняет её размытая копия */
body.page-home .stage-pic { position: relative; height: 216px; overflow: hidden; background: var(--ink-3); }
body.page-home .stage-pic:before { content: ""; position: absolute; inset: -30px; background: var(--pic) center / cover no-repeat; filter: blur(22px) brightness(.6) saturate(1.15); }
body.page-home .stage-pic img { position: relative; display: block; width: 196px; height: 100%; margin: 0 auto; object-fit: cover; box-shadow: 0 0 40px rgba(0,0,0,.45); }
body.page-home .stage-main { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
body.page-home .stage-head { display: flex; align-items: center; gap: 14px; min-height: 3.4rem; margin-bottom: 10px; }
body.page-home .stage-n { flex: none; color: var(--signal); font-size: 2.8rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
body.page-home .stage h3 { font-size: 1.4rem; line-height: 1.18; }

/* Иерархия текста этапа: срок — плашкой, главное в описании — выделением, работы — блоками, условия — выноской */
body.page-home .stage-chip { position: absolute; left: 14px; top: 14px; margin: 0; padding: 5px 13px; box-shadow: 0 6px 16px rgba(0,0,0,.35); border-radius: 999px; background: var(--signal); color: var(--ink); font-size: .95rem; font-weight: 600; line-height: 1.4; }
body.page-home .stage-chip b { font-weight: 800; }
body.page-home .stage-what { min-height: 3em; margin: 0; color: var(--on-dark-dim); font-size: 1.06rem; line-height: 1.5; }
body.page-home .stage-what strong { color: #fff; font-weight: 700; }
body.page-home .stage-works { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
body.page-home .stage-works li { position: relative; padding: 9px 14px 10px 40px; border-radius: 10px; background: var(--ink-3); color: var(--on-dark-dim); font-size: .96rem; line-height: 1.45; }
body.page-home .stage-works li:before { content: "✓"; position: absolute; left: 14px; top: 9px; color: var(--signal); font-weight: 900; }
body.page-home .stage-works b { display: block; color: #fff; font-size: 1.05rem; }
body.page-home .stage-foot { margin-top: auto; padding-top: 16px; }
body.page-home .stage-note { margin: 0; padding: 11px 14px; border-left: 3px solid var(--signal); border-radius: 0 10px 10px 0; background: rgba(255,79,45,.1); color: var(--on-dark); font-size: .98rem; line-height: 1.5; }
body.page-home .stage-note strong { color: #fff; }
body.page-home .stage-small { margin: 10px 0 0; color: var(--on-dark-dim); font-size: .9rem; line-height: 1.45; }
body.page-home .stage-label { margin: 0 0 8px; color: #fff; font-size: .95rem; font-weight: 700; }
body.page-home .stage-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.page-home .stage-tags li { padding: 3px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: var(--on-dark); font-size: .9rem; line-height: 1.4; }

/* Этап 4: сценарий «Авито → обращение → карточка клиента → этапы сделки» */
body.page-home .stage-wide { grid-column: 1 / -1; }
body.page-home .stage-top { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 20px; align-items: center; padding: 22px 22px 0; }
body.page-home .stage-top .stage-head { min-height: 0; }
body.page-home .stage-top .stage-what { min-height: 0; }
body.page-home .stage-top .stage-works { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin: 0; }
body.page-home .stage-wide .stage-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0; padding: 0 22px 22px; }
body.page-home .stage-wide .stage-small { margin: 0; }
body.page-home .crm { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 34px; margin: 18px 22px 16px; padding: 18px 24px 22px; border-radius: 12px; background: var(--ink-3); }
body.page-home .crm-step { position: relative; display: flex; flex-direction: column; gap: 10px; }
body.page-home .crm-step + .crm-step:before { content: ""; position: absolute; left: -29px; top: calc(50% + 12px); width: 22px; border-top: 2px dashed rgba(255,255,255,.7); }
body.page-home .crm-step + .crm-step:after { content: ""; position: absolute; left: -14px; top: calc(50% + 8px); width: 8px; height: 8px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
body.page-home .crm-cap { color: var(--on-dark); font-size: .95rem; font-weight: 700; line-height: 1.2; }
body.page-home .crm-ui { display: flex; flex-direction: column; justify-content: center; gap: 7px; flex: 1; min-height: 116px; padding: 12px 14px; border-radius: 10px; background: #fff; color: var(--on-light); font-size: .85rem; line-height: 1.3; box-shadow: 0 12px 26px rgba(0,0,0,.28); }
body.page-home .crm-chat p { align-self: flex-start; max-width: 92%; margin: 0; padding: 6px 9px; border-radius: 10px 10px 10px 3px; background: var(--paper); overflow-wrap: anywhere; }
body.page-home .crm-chat p.out { align-self: flex-end; border-radius: 10px 10px 3px 10px; background: var(--ink); color: #fff; }
body.page-home .crm-lead { border-left: 4px solid var(--signal); }
body.page-home .crm-lead b { font-size: .95rem; }
body.page-home .crm-lead span { align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: var(--paper); font-weight: 600; }
body.page-home .crm-card { display: grid; grid-template-columns: 34px 1fr; gap: 6px 10px; align-content: center; align-items: center; }
body.page-home .crm-card i { width: 34px; height: 34px; border-radius: 50%; background-color: var(--ink); background-image: radial-gradient(circle at 50% 37%, #fff 0 5.5px, transparent 6px), radial-gradient(ellipse 11px 9px at 50% 100%, #fff 0 96%, transparent 100%); }
body.page-home .crm-card b { font-size: .95rem; }
body.page-home .crm-card span { grid-column: 1 / -1; padding: 4px 8px; border-radius: 6px; background: var(--paper); font-weight: 600; }
body.page-home .crm-pipe span { padding: 5px 9px; border-radius: 6px; background: var(--paper); font-weight: 600; }
body.page-home .crm-pipe span.on { background: var(--signal); color: var(--ink); font-weight: 800; }

/* Этапы 1–3 без вводного абзаца: блоки действий делят высоту карточки поровну, пустого места не остаётся */
body.page-home .stage-main > .stage-works { flex: 1; grid-auto-rows: 1fr; margin-top: 4px; }
body.page-home .stage-works li { display: flex; flex-direction: column; justify-content: center; }
body.page-home .stage-works li:before { top: calc(50% - .72em); }
body.page-home .stage-works li:not(:has(b)) { color: #fff; font-size: 1.04rem; font-weight: 600; }
body.page-home .stage-works li > span { display: block; }
body.page-home .stage-works li a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body.page-home .stage-tags li { padding: 0; }
body.page-home .stage-tags a { display: block; padding: 3px 10px; border-radius: 999px; color: var(--on-dark); transition: background-color var(--t-fast), color var(--t-fast); }
body.page-home .stage-tags a:hover { background: #fff; color: var(--ink); }

/* Схема этапа 4 в фирменных цветах: шаг Авито — палитра Авито, шаги CRM — палитра Битрикс24 */
body.page-home .crm-cap { display: flex; align-items: center; gap: 8px; min-height: 26px; }
body.page-home .crm-cap-avito svg { flex: none; width: 24px; height: 24px; }
body.page-home .crm-cap-b24 i { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 7px; background: #2fc6f6; color: #06324f; font-size: .8rem; font-style: normal; font-weight: 800; }
body.page-home .crm-ui { color: #06324f; }
body.page-home .crm-chat { color: #000; }
body.page-home .crm-chat p { background: #f2f1f0; }
body.page-home .crm-chat p.out { background: #00aaff; color: #000; }
body.page-home .crm-lead { border-left-color: #2fc6f6; }
body.page-home .crm-lead span { background: #e3f6fd; color: #06324f; }
body.page-home .crm-card i { background-color: #0b66c3; }
body.page-home .crm-card span { background: #eef7fb; }
body.page-home .crm-pipe span { position: relative; padding-left: 26px; background: #eef7fb; color: #06324f; }
body.page-home .crm-pipe span:before { content: ""; position: absolute; left: 9px; top: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: #2fc6f6; }
body.page-home .crm-pipe span.on { background: #0b66c3; color: #fff; font-weight: 800; }
body.page-home .crm-pipe span.on:before { background: #fff; }
body.page-home .crm-pipe span.won:before { background: #9dcf00; }

/* ---------- 8. Тарифы ---------- */
body.page-home .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
body.page-home .plan { display: flex; flex-direction: column; padding: 30px 28px 28px; border: 1.5px solid transparent; border-radius: var(--r-card); background: var(--card); box-shadow: 0 1px 2px rgba(16,23,36,.06), 0 12px 28px rgba(16,23,36,.06); transition: border-color var(--t-fast); }
body.page-home .plan:hover, body.page-home .plan:focus-within, body.page-home .plan:target { border-color: var(--signal); }
body.page-home .plan h3, body.page-home .plan h4 { font-size: 1.35rem; }
body.page-home .plan-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px var(--gap); align-items: stretch; }
body.page-home .plan-group { display: flex; flex-direction: column; }
body.page-home .plan-group .plans { flex: 1; grid-template-columns: repeat(2, minmax(0,1fr)); }
body.page-home .plan-group .plan h4 { min-height: 2.7em; }
body.page-home .plan-group .plan-for { min-height: 3.1em; }
body.page-home .plan-group h3.plan-group-title { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 3px solid var(--signal); font-size: 1.5rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
body.page-home .plan-group-title span { display: block; margin-top: 4px; color: var(--on-light-dim); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
body.page-home .plan-price small { margin-right: 2px; color: var(--on-light-dim); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
body.page-home .plan-pending { margin-top: 36px; padding: 20px; border: 2px dashed #99a1ae; border-radius: var(--r-card); }
body.page-home .plan-pending .plans { grid-template-columns: minmax(0, 360px); }
body.page-home .plan-pending .plan ul { margin-bottom: 0; }
body.page-home .stand-note { margin: 0 0 14px; padding: 10px 14px; border-left: 4px solid #99a1ae; background: rgba(16,23,36,.06); color: var(--on-light); font-size: .92rem; }
body.page-home .razbor .stand-note { margin: 10px 0 0; background: rgba(16,23,36,.12); border-left-color: var(--ink); font-size: .9rem; }
body.page-home .contact.is-solo { grid-template-columns: 1fr; gap: 0; }
body.page-home .contact.is-solo .contact-text { max-width: none; }
body.page-home .contact.is-solo .contact-list { grid-template-columns: repeat(4, minmax(0,1fr)); }
body.page-home .plan-for { margin: 6px 0 0; color: var(--on-light-dim); }
body.page-home .plan-price { margin: 22px 0 22px; font-size: 2.35rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
body.page-home .plan ul { flex: 1; margin: 0 0 28px; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line-light); }
body.page-home .plan li { position: relative; margin: 0 0 10px; padding-left: 26px; }
body.page-home .plan li:before { content: "✓"; position: absolute; left: 0; color: var(--signal-text); font-weight: 900; }
body.page-home .plan .button { width: 100%; }
body.page-home .footnote { margin: 28px 0 0; max-width: 60em; color: var(--on-light-dim); font-size: .92rem; }

/* ---------- 9. Бонусы ---------- */
body.page-home .bonus-head { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 36px; }
body.page-home .bonus-head .head { margin-bottom: 0; }
body.page-home .bonus-gift { flex: none; width: 112px; height: 112px; }
body.page-home .bonus-set { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); }
body.page-home .bonus-main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); overflow: hidden; border: 1px solid var(--line-dark); border-radius: 20px; background: var(--ink-2); }
body.page-home .bonus-sum { display: flex; flex-direction: column; justify-content: center; padding: 36px 40px; background: radial-gradient(120% 150% at 0% 100%, rgba(255,79,45,.3), transparent 62%), var(--ink-3); }
body.page-home .bonus-kind { margin: 0 0 14px; color: var(--on-dark); font-size: 1rem; font-weight: 600; }
body.page-home .bonus-sum h3 { font-size: 1rem; line-height: 1; }
body.page-home .bonus-sum h3 b { display: block; color: #fff; font-size: clamp(3.2rem, 7.2vw, 5.8rem); font-weight: 800; line-height: .95; letter-spacing: -.045em; white-space: nowrap; }
body.page-home .bonus-sum h3 span { display: block; margin-top: 12px; color: var(--signal); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.015em; }
body.page-home .bonus-cond { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 32px 36px; }
body.page-home .bonus-cond ul { margin: 0 0 22px; padding: 0; list-style: none; }
body.page-home .bonus-cond li { position: relative; margin-bottom: 12px; padding-left: 28px; font-size: 1.02rem; line-height: 1.5; }
body.page-home .bonus-cond li:before { content: "✓"; position: absolute; left: 0; color: var(--signal); font-weight: 900; }

body.page-home .bonus { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--ink-2); }
body.page-home .bonus-art { display: grid; place-items: center; min-height: 208px; padding: 24px; background: var(--ink-3); }
body.page-home .bonus-text { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
body.page-home .bonus h3 { font-size: 1.3rem; }
body.page-home .bonus-text p { margin: 10px 0 0; color: var(--on-dark); font-size: 1rem; }
body.page-home .bonus-text p:nth-last-child(2) { margin-bottom: 18px; }
body.page-home .bonus-text .bonus-terms { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-dark); color: var(--on-dark-dim); font-size: .95rem; }

/* Главный бонус: светлая карточка в палитре Авито (синий #00aaff, зелёный #04e061, красный #ff4053, фиолетовый #965eeb) */
body.page-home .bonus-main { border: 0; border-radius: 24px; background: #fff; color: #000; box-shadow: 0 18px 44px rgba(0,0,0,.35); }
body.page-home .bonus-sum { position: relative; padding: 36px 40px 40px; background: #fff; }
body.page-home .avito-dots { position: absolute; right: 32px; top: 28px; width: 132px; height: 132px; }
body.page-home .bonus-main .bonus-kind { margin: 0 0 18px; color: #2f2f2f; font-size: 1.05rem; font-weight: 700; }
body.page-home .bonus-sum h3 b { color: #000; font-size: clamp(3rem, 6.4vw, 5.2rem); }
body.page-home .bonus-sum h3 span { align-self: flex-start; display: inline-block; margin-top: 16px; padding: 7px 18px 9px; border-radius: 999px; background: #00aaff; color: #000; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -.01em; }
body.page-home .bonus-cond { padding: 34px 36px; background: #f2f1f0; color: #000; }
body.page-home .bonus-cond li { padding-left: 38px; color: #1a1a1a; font-size: 1.04rem; }
body.page-home .bonus-cond li:before { content: "✓"; left: 0; top: 1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #04e061; color: #000; font-size: .85rem; font-weight: 900; }
body.page-home .bonus-cond .button.secondary { border: 0; background: #000; color: #fff; }
body.page-home .bonus-cond .button.secondary:hover { background: #2f2f2f; color: #fff; }
body.page-home .bonus-main :focus-visible { outline-color: #000; }

/* Схемы бонусов: общий набор — белые «экраны» с подписями */
body.page-home .b-portal { width: 100%; max-width: 280px; overflow: hidden; border-radius: 12px; background: #fff; color: var(--on-light); box-shadow: 0 14px 30px rgba(0,0,0,.3); }
body.page-home .bp-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; background: var(--ink); color: #fff; font-size: .85rem; }
body.page-home .bp-bar b { font-size: .95rem; font-weight: 800; }
body.page-home .bp-bar span { color: var(--on-dark-dim); }
body.page-home .bp-body { display: grid; grid-template-columns: 84px 1fr; }
body.page-home .bp-body ul { margin: 0; padding: 10px 8px; list-style: none; background: var(--paper); font-size: .85rem; font-weight: 600; }
body.page-home .bp-body li { padding: 5px 8px; border-radius: 6px; }
body.page-home .bp-body li.on { background: var(--signal); color: var(--ink); }
body.page-home .bp-main { display: grid; gap: 8px; align-content: start; padding: 14px 12px; }
body.page-home .bp-main i { display: block; height: 9px; border-radius: 5px; background: #dcdfe5; }
body.page-home .bp-main i:first-child { width: 64%; height: 12px; background: var(--on-light); }
body.page-home .bp-main em { justify-self: start; margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-style: normal; font-weight: 700; }

body.page-home .b-link { width: 100%; max-width: 300px; text-align: center; }
body.page-home .bl-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
body.page-home .bl-app { display: grid; place-items: center; min-width: 76px; height: 76px; padding: 0 10px; border-radius: 18px; background: #fff; color: var(--on-light); font-size: .95rem; font-weight: 800; box-shadow: 0 14px 30px rgba(0,0,0,.3); }
body.page-home .bl-b24 { background: var(--ink); color: #fff; border: 2px solid #fff; }
body.page-home .bl-wire { position: relative; display: grid; place-items: center; height: 30px; margin: 0 8px; }
body.page-home .bl-wire:before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(255,255,255,.7); }
body.page-home .bl-wire:after { content: ""; position: absolute; right: -1px; top: calc(50% - 4px); width: 8px; height: 8px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
body.page-home .bl-wire em { position: relative; padding: 3px 9px; border-radius: 999px; background: var(--signal); color: var(--ink); font-size: .82rem; font-style: normal; font-weight: 700; }
body.page-home .b-link p { margin: 14px 0 0; color: var(--on-dark); font-size: .9rem; line-height: 1.35; }

body.page-home .b-course { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; align-items: stretch; width: 100%; max-width: 300px; }
body.page-home .bc-video { position: relative; display: grid; place-items: center; min-height: 118px; padding-bottom: 22px; border-radius: 12px; background: var(--ink); border: 2px solid #fff; }
body.page-home .bc-video i { display: block; width: 0; height: 0; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--signal); }
body.page-home .bc-video span { position: absolute; left: 0; right: 0; bottom: 8px; color: #fff; font-size: .82rem; font-weight: 700; text-align: center; }
body.page-home .b-course ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
body.page-home .b-course li { position: relative; display: flex; align-items: center; padding: 6px 8px 6px 32px; border-radius: 8px; background: #fff; color: var(--on-light); font-size: .82rem; font-weight: 600; line-height: 1.2; }
body.page-home .b-course li:before { content: ""; position: absolute; left: 8px; top: calc(50% - 8px); width: 16px; height: 16px; border: 2px solid #99a1ae; border-radius: 50%; box-sizing: border-box; }
body.page-home .b-course li.done:before { border-color: var(--signal); background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Карточки бонусов в фирменных цветах: Битрикс24 — голубой #2fc6f6, синий #0b66c3, лаймовый #bbed21; Авито — как в главной карточке */
body.page-home .bonus { border: 0; background: #fff; color: #000; box-shadow: 0 14px 34px rgba(0,0,0,.3); }
body.page-home .bonus h3 { color: #000; }
body.page-home .bonus-text p { color: #1a1a1a; }
body.page-home .bonus-text .bonus-terms { border-top-color: #dcdcdc; color: #555; }
body.page-home .bonus :focus-visible { outline-color: #000; }
body.page-home .bonus-b24 .bonus-art { background: linear-gradient(135deg, #2fc6f6, #0b66c3); }
body.page-home .bonus-link .bonus-art { background: #f2f1f0; }
body.page-home .bonus-course .bonus-art { background: linear-gradient(135deg, #bbed21, #2fc6f6); }

body.page-home .b-portal { box-shadow: 0 14px 30px rgba(6,50,79,.35); }
body.page-home .bp-bar { background: #fff; color: #525c69; border-bottom: 1px solid #dfe9ee; }
body.page-home .bp-bar b { color: #0b66c3; }
body.page-home .bp-bar span { color: #525c69; }
body.page-home .bp-body ul { background: #eef7fb; color: #06324f; }
body.page-home .bp-body li.on { background: #2fc6f6; color: #06324f; }
body.page-home .bp-main i { background: #dfe9ee; }
body.page-home .bp-main i:first-child { background: #06324f; }
body.page-home .bp-main em { background: #bbed21; color: #1c2a00; }

body.page-home .bl-app { color: #000; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
body.page-home .bl-avito { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; }
body.page-home .bl-avito svg { width: 26px; height: 26px; }
body.page-home .bl-b24 { border: 0; background: #2fc6f6; color: #06324f; }
body.page-home .bl-wire:before { border-top-color: #777; }
body.page-home .bl-wire:after { border-color: #333; }
body.page-home .bl-wire em { background: #04e061; color: #000; }
body.page-home .b-link p { color: #1a1a1a; }

body.page-home .bc-video { border: 0; background: #0b66c3; box-shadow: 0 10px 24px rgba(6,50,79,.3); }
body.page-home .bc-video i { border-color: transparent transparent transparent #fff; }
body.page-home .b-course li { color: #06324f; box-shadow: 0 6px 14px rgba(6,50,79,.16); }
body.page-home .b-course li:before { border-color: #8aa0ad; }
body.page-home .b-course li.done:before { border-color: #0b66c3; background: #0b66c3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- 10. Доп. услуги, карусели, кейсы, команда ---------- */

body.page-home .car-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
body.page-home .car-head .head { margin-bottom: 0; }
body.page-home .car-nav { display: flex; align-items: center; flex: none; gap: 10px; }
body.page-home .car-count { margin-right: 6px; font-size: .95rem; font-weight: 600; white-space: nowrap; }
body.page-home .sec-dark .car-count { color: var(--on-dark-dim); }
body.page-home .sec-light .car-count { color: var(--on-light-dim); }
body.page-home .car-btn { display: none; place-items: center; width: 48px; height: 48px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast), opacity var(--t-fast); }
body.page-home .carousel.is-ready .car-btn { display: grid; }
body.page-home .car-btn svg { width: 22px; height: 22px; }
body.page-home .sec-dark .car-btn:hover { background: #fff; color: var(--ink); }
body.page-home .sec-light .car-btn:hover { background: var(--on-light); color: #fff; }
body.page-home .car-btn[aria-disabled="true"] { opacity: .35; cursor: default; }
body.page-home .sec-dark .car-btn[aria-disabled="true"]:hover { background: transparent; color: inherit; }
body.page-home .sec-light .car-btn[aria-disabled="true"]:hover { background: transparent; color: inherit; }
body.page-home .car-track { display: flex; gap: 20px; margin: 0; padding: 4px 4px 16px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 4px; overscroll-behavior-x: contain; scrollbar-width: thin; }
body.page-home .sec-dark .car-track { scrollbar-color: rgba(255,255,255,.45) transparent; }
body.page-home .sec-light .car-track { scrollbar-color: #99a1ae transparent; }
body.page-home .car-track > li { flex: 0 0 auto; scroll-snap-align: start; }
body.page-home .carousel.has-more .car-track { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); }
body.page-home .car-cases > li { width: clamp(280px, 37%, 440px); }
body.page-home .car-reviews > li { width: clamp(280px, 28.5%, 360px); }
body.page-home .carousel .actions { margin-top: 28px; }

body.page-home .case { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--ink-2); }
body.page-home .case-img { display: block; overflow: hidden; background: #f3f0ec; }
body.page-home .case-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
body.page-home .case-img:hover img { transform: scale(1.03); }
body.page-home .case-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
body.page-home .case h3 { font-size: 1.25rem; }
body.page-home .case-result { margin: 6px 0 0; color: var(--signal); font-size: 1.35rem; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
body.page-home .case-body p:not(.case-result) { flex: 1; margin: 10px 0 0; color: var(--on-dark); font-size: 1rem; line-height: 1.5; }
body.page-home .case .link { align-self: flex-start; margin-top: 14px; color: var(--on-dark-dim); font-size: .95rem; font-weight: 500; }


/* ---------- 11. Отзывы: оформление исходного сайта в горизонтальной ленте ---------- */
body.page-home .hearts { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--signal-hl); }
body.page-home .hearts svg { display: block; width: 17px; height: 17px; }
body.page-home .hearts svg:nth-child(1), body.page-home .hearts svg:nth-child(5) { width: 12px; height: 12px; }
body.page-home .hearts svg:nth-child(3) { width: 24px; height: 24px; }
body.page-home .car-reviews > li { display: flex; padding-top: 50px; }
body.page-home .review { display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0; padding: 0 22px 26px; border-radius: 6px; background: var(--card); text-align: center; box-shadow: 0 1px 2px rgba(16,23,36,.06), 0 8px 20px rgba(16,23,36,.07); }
body.page-home .review figcaption { display: flex; flex-direction: column; align-items: center; }
body.page-home .review figcaption img { width: 100px; height: 100px; margin-top: -50px; border: 8px solid var(--paper); border-radius: 50%; object-fit: cover; background: var(--paper); }
body.page-home .review figcaption b { margin-top: 12px; color: var(--on-light); font-size: 1.25rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
body.page-home .review figcaption span { margin-top: 5px; color: var(--on-light-dim); font-size: .82rem; font-weight: 700; line-height: 1.35; letter-spacing: .02em; text-transform: uppercase; }
body.page-home .review-q { display: grid; place-items: center; flex: none; width: 42px; height: 42px; margin: 14px 0 12px; border-radius: 50%; background: var(--signal); color: #fff; }
body.page-home .review-q svg { width: 20px; height: 20px; }
body.page-home .review blockquote { margin: 0; color: var(--on-light); font-size: 1rem; line-height: 1.55; }
body.page-home .review .link { margin-top: 14px; font-size: .92rem; }

/* ---------- 11a. Шапка, логотип, цветные услуги, команда ---------- */
body.page-home .logo img { display: block; width: 180px; height: auto; }
body.page-home .nav-links .nav-phone { margin-left: 6px; padding: 8px 14px; border: 1.5px solid rgba(255,255,255,.4); border-radius: var(--r-ctl); color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; transition: border-color var(--t-fast), background-color var(--t-fast); }
body.page-home .nav-links .nav-phone:hover { border-color: var(--signal); background: rgba(255,79,45,.12); color: #fff; }

body.page-home .tiles { gap: 0; overflow: hidden; border-radius: 20px; box-shadow: 0 1px 2px rgba(16,23,36,.08), 0 16px 34px rgba(16,23,36,.12); }
body.page-home .tile { display: flex; flex-direction: column; background: var(--tile); color: var(--ink); }
body.page-home .tile-violet { --tile: #9b6bff; }
body.page-home .tile-green { --tile: #47c97e; }
body.page-home .tile-red { --tile: #f44336; }
body.page-home .tile-blue { --tile: #36b8f2; }
body.page-home .tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #131924; }
body.page-home .tile-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
body.page-home .tile h3 { color: var(--ink); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; }
body.page-home .tile-body p { flex: 1; margin: 10px 0 0; color: var(--ink); font-size: 1rem; line-height: 1.5; }
body.page-home .tile-body .tile-tags { flex: none; min-height: calc(3em + 14px); margin-top: 14px; padding-top: 12px; border-top: 1.5px solid rgba(16,23,36,.32); font-size: .94rem; font-weight: 700; }
body.page-home .tile .link { align-self: flex-start; margin-top: 8px; color: var(--ink); font-size: .98rem; font-weight: 700; text-decoration-thickness: 2px; }
body.page-home .tile .link:hover { color: var(--ink); text-decoration-thickness: 3.5px; }
body.page-home .tile :focus-visible { outline-color: var(--ink); }

body.page-home .member { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-card); background: var(--ink-2); color: var(--on-dark); }
body.page-home .member img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: var(--ink); }
body.page-home .member-body { padding: 16px 14px 20px; text-align: center; }
body.page-home .member-role { margin: 0 0 6px; color: #8f9bff; font-size: 1.02rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
body.page-home .member-role span { color: var(--signal); }
body.page-home .member h3 { color: #fff; font-size: 1.2rem; text-transform: uppercase; }
body.page-home .member-body p:last-child { margin: 8px 0 0; color: var(--on-dark-dim); font-size: .92rem; line-height: 1.45; }

/* ---------- 12. Сертификаты ---------- */
body.page-home .certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); max-width: 900px; }
body.page-home .cert { margin: 0; }
body.page-home .cert a { display: block; overflow: hidden; border-radius: var(--r-ctl); background: #fff; }
body.page-home .cert img { display: block; width: 100%; aspect-ratio: 7 / 10; object-fit: contain; transition: transform .25s; }
body.page-home .cert a:hover img { transform: scale(1.03); }
body.page-home .cert figcaption { margin-top: 14px; color: var(--on-dark-dim); font-size: .9rem; line-height: 1.4; }
body.page-home .cert figcaption b { display: block; margin-bottom: 2px; color: var(--on-dark); font-size: 1rem; }

/* ---------- 13. Направления и FAQ ---------- */
body.page-home .dir-groups { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); align-items: start; }
body.page-home .dir-group { padding: 22px 22px 10px; border-radius: 16px; background: var(--card); box-shadow: 0 1px 2px rgba(16,23,36,.06), 0 8px 20px rgba(16,23,36,.06); }
body.page-home .dir-group h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 1.2rem; }
body.page-home .dir-group ul { margin: 0; padding: 0; list-style: none; }
body.page-home .dir-group li + li { border-top: 1px solid var(--line-light); }
body.page-home .dir-group a { position: relative; display: block; padding: 13px 30px 13px 0; }
body.page-home .dir-group a:after { content: ""; position: absolute; right: 6px; top: calc(50% - 5px); width: 9px; height: 9px; border-top: 2px solid var(--signal-text); border-right: 2px solid var(--signal-text); transform: rotate(45deg); transition: right var(--t-fast); }
body.page-home .dir-group a:hover:after { right: 2px; }
body.page-home .dir-group a b { display: block; font-size: 1.05rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: #99a1ae; transition: text-decoration-color var(--t-fast); }
body.page-home .dir-group a:hover b { text-decoration-color: var(--signal-text); }
body.page-home .dir-group a span { display: block; margin-top: 2px; color: var(--on-light-dim); font-size: .95rem; line-height: 1.4; }

body.page-home .faq-wrap { padding-top: var(--sec); border-top: 1px solid var(--line-light); }
body.page-home .faq { display: block; max-width: 820px; }
body.page-home .faq details { padding: 0; border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0; background: transparent; color: var(--on-light); }
body.page-home .faq details:first-child { border-top: 1px solid var(--line-light); }
body.page-home .faq summary { padding: 20px 44px 20px 0; font-size: 1.08rem; font-weight: 700; }
body.page-home .faq summary:after { top: 16px; color: var(--signal-text); font-size: 1.6rem; font-weight: 400; }
body.page-home .faq details p { max-width: 44em; padding: 0 0 22px; color: var(--on-light-dim); }

/* ---------- 14. Обращение ---------- */
body.page-home .contact { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 56px; align-items: start; }
body.page-home .contact-text .intro { margin-top: 18px; }
body.page-home .contact-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
body.page-home .contact-list li { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 18px 18px 20px; border: 1px solid var(--line-dark); border-radius: 14px; background: var(--ink-2); font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
body.page-home .contact-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 14px; background: var(--signal); color: var(--ink); }
body.page-home .contact-ico svg { width: 30px; height: 30px; }
body.page-home .contact-label { margin-bottom: 3px; color: var(--on-dark-dim); font-size: .88rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
body.page-home .contact-list a, body.page-home .contact-list b { max-width: 100%; color: #fff; overflow-wrap: anywhere; }
body.page-home .contact-list a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; transition: color var(--t-fast), text-decoration-color var(--t-fast); }
body.page-home .contact-list a:hover { color: var(--signal-hover); text-decoration-color: var(--signal-hover); }
body.page-home .form-card { padding: 32px; border-radius: 16px; background: var(--card); color: var(--on-light); }
body.page-home .form-hint { margin: 0 0 22px; color: var(--on-light-dim); font-size: .88rem; }
body.page-home .form-card .form-grid { gap: 16px; }
body.page-home .form-card label:not(.b24-form *) { color: var(--on-light); font-size: .92rem; font-weight: 600; }
body.page-home .form-card input:not(.b24-form *), body.page-home .form-card select:not(.b24-form *), body.page-home .form-card textarea:not(.b24-form *) { min-height: 48px; padding: 12px 14px; border: 1px solid #99a1ae; border-radius: var(--r-ctl); background: #fff; color: var(--on-light); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
body.page-home .form-card input:not(.b24-form *)::placeholder { color: #7a8391; }
body.page-home .form-card input:not(.b24-form *):hover, body.page-home .form-card select:not(.b24-form *):hover, body.page-home .form-card textarea:not(.b24-form *):hover { border-color: var(--on-light); }
body.page-home .form-card input:not(.b24-form *):focus, body.page-home .form-card select:not(.b24-form *):focus, body.page-home .form-card textarea:not(.b24-form *):focus { border-color: var(--on-light); box-shadow: 0 0 0 3px rgba(16,23,36,.18); }
body.page-home .form-card textarea:not(.b24-form *) { min-height: 104px; }
body.page-home .form-card .check { gap: 12px; align-items: flex-start; color: var(--on-light-dim); font-size: .88rem; font-weight: 400; }
body.page-home .form-card .check input { width: 20px; min-height: 20px; height: 20px; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--ink); }
body.page-home .form-card .check a { color: var(--on-light); }
body.page-home .form-card .button { width: 100%; min-height: 52px; font-size: 1rem; cursor: pointer; }
body.page-home .form-card .success { background: #e4f5eb; color: #17613b; font-weight: 600; }

/* ---------- 15. Подвал ---------- */
body.page-home footer { background: #0b111b; color: var(--on-dark-dim); }
body.page-home .footer-grid a { padding: 4px 0; transition: color var(--t-fast); }
body.page-home .footer-grid a:hover { color: #fff; }

/* ---------- 16. Адаптив ---------- */
@media (max-width: 1100px) {
  body.page-home .plan-groups { grid-template-columns: 1fr; }
  body.page-home .nav-links { gap: 18px; font-size: .86rem; }
  body.page-home .crm { gap: 22px; padding: 16px; }
  body.page-home .crm-step + .crm-step:before { left: -20px; width: 14px; }
  body.page-home .crm-step + .crm-step:after { left: -12px; }
  body.page-home .stages { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.page-home .stage-3 { grid-column: 1 / -1; }
  body.page-home .stage-3 .stage-works { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  body.page-home .menu-button { margin-left: auto; }
  body.page-home .nav-links .nav-phone { margin: 8px 0 4px; padding: 12px 14px; font-size: 1.1rem; text-align: center; }
  body.page-home .tiles { grid-template-columns: repeat(2, 1fr); }
  body.page-home .nav { gap: 10px; }
  body.page-home .nav-links { gap: 0; color: var(--on-dark); font-size: 1rem; border-radius: var(--r-card); background: var(--ink-2); }
  body.page-home .nav-links a { padding: 12px 6px; }
  body.page-home .hero.hero-v2 {
    padding: 40px 0 0;
    background:
      linear-gradient(180deg, var(--ink) 0%, var(--ink) 55%, rgba(16,23,36,.45) 100%),
      url("https://cdn-ru.bitrix24.ru/b38193686/landing/70b/70be81fa7ff5023f8c63aa879fd72116/chatgpt_image_1_sent_2026_g_16_17_57_resized_1x.webp") right bottom / cover no-repeat,
      var(--ink);
  }
  body.page-home .hero-v2 .hero-grid, body.page-home .expert, body.page-home .contact { grid-template-columns: 1fr; }
  body.page-home .hero-v2 .hero-grid { gap: 36px; }
  body.page-home .hero-text { padding: 0; }
  body.page-home .hero-portrait { justify-self: center; width: 100%; max-width: 440px; }
  body.page-home .hero-portrait img { width: 100%; height: auto; }
  body.page-home .hero-portrait figcaption { left: 12px; bottom: 16px; }
  body.page-home .expert { gap: 28px; }
  body.page-home .razbor { grid-template-columns: auto minmax(0,1fr); }
  body.page-home .razbor .button { grid-column: 1 / -1; }
  body.page-home .contact { gap: 40px; }
  body.page-home .grid-4 { grid-template-columns: repeat(2, 1fr); }
  body.page-home .plans { grid-template-columns: 1fr; max-width: 560px; }
  body.page-home .plan-group .plans { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: none; }
  body.page-home .contact.is-solo .contact-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.page-home .stages { grid-template-columns: 1fr; max-width: 680px; }
  body.page-home .stage-top { grid-template-columns: 1fr; gap: 14px; }
  body.page-home .stage-head, body.page-home .stage-what { min-height: 0; }
  body.page-home .bonus-set { grid-template-columns: 1fr; max-width: 680px; }
  body.page-home .bonus-main { grid-template-columns: 1fr; }
  body.page-home .bonus { display: grid; grid-template-columns: 300px minmax(0,1fr); }
  body.page-home .dir-groups { grid-template-columns: 1fr; max-width: 680px; }
  body.page-home .car-cases > li { width: clamp(280px, 46%, 440px); }
  body.page-home .car-reviews > li { width: clamp(280px, 46%, 400px); }
}
@media (max-width: 640px) {
  body.page-home .head { margin-bottom: 30px; }
  body.page-home .actions { margin-top: 32px; }
  body.page-home .actions .button { width: 100%; }
  body.page-home .hero.hero-v2 { padding-top: 32px; }
  body.page-home .hero-slogan { margin-bottom: 22px; font-size: clamp(1.8rem, 9vw, 2.4rem); }
  body.page-home .hero-v2 h1 { margin-bottom: 16px; font-size: clamp(1.45rem, 6.6vw, 1.9rem); line-height: 1.16; }
  body.page-home .hero-v2 .hero-copy { font-size: 1.08rem; }
  body.page-home .hero-v2 .actions { margin-top: 26px; }
  body.page-home .hero-v2 .hero-grid { gap: 32px; }
  body.page-home .hero-portrait figcaption { max-width: calc(100% - 24px); padding: 12px 14px; }
  body.page-home .facts li { grid-template-columns: 1fr; gap: 2px; }
  body.page-home .contact-list { gap: 10px; }
  body.page-home .contact-list li { padding: 14px 14px 16px; font-size: 1rem; }
  body.page-home .contact-ico { width: 44px; height: 44px; margin-bottom: 10px; border-radius: 12px; }
  body.page-home .contact-ico svg { width: 26px; height: 26px; }
  body.page-home .razbor { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; padding: 24px 20px; }
  body.page-home .razbor svg { width: 60px; height: 60px; }
  body.page-home .razbor .button { width: 100%; white-space: normal; }
  body.page-home .dialog .form-card { padding: 22px 18px; }
  body.page-home .stages { gap: 16px; }
  body.page-home .stage-main { padding: 18px 18px 20px; }
  body.page-home .stage-top { padding: 18px 18px 0; }
  body.page-home .stage-top .stage-works { grid-template-columns: 1fr; gap: 8px; }
  body.page-home .stage-wide .stage-foot { padding: 0 18px 20px; }
  body.page-home .stage-pic { height: 190px; }
  body.page-home .crm { margin: 14px 12px 16px; }
  body.page-home .stage-n { font-size: 2.4rem; }
  body.page-home .stage h3 { font-size: 1.3rem; }
  body.page-home .crm { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 14px; padding: 16px 14px 18px; }
  body.page-home .crm-step + .crm-step:before, body.page-home .crm-step + .crm-step:after { content: none; }
  body.page-home .crm-ui { min-height: 112px; padding: 10px; }
  body.page-home .bonus-head { align-items: flex-start; gap: 16px; margin-bottom: 30px; }
  body.page-home .bonus-gift { width: 76px; height: 76px; }
  body.page-home .bonus-sum { padding: 26px 22px 28px; }
  body.page-home .avito-dots { right: 18px; top: 18px; width: 76px; height: 76px; }
  body.page-home .bonus-main .bonus-kind { max-width: calc(100% - 90px); }
  body.page-home .bonus-sum h3 b { font-size: clamp(2.7rem, 15vw, 3.6rem); }
  body.page-home .bonus-cond { padding: 24px 22px 26px; }
  body.page-home .bonus-cond .button { width: 100%; }
  body.page-home .bonus { display: flex; flex-direction: column; }
  body.page-home .bonus-art { min-height: 0; padding: 22px 16px; }
  body.page-home .bonus-text { padding: 20px 20px 22px; }
  body.page-home .plan { padding: 26px 22px 24px; }
  body.page-home .plan-group .plans { grid-template-columns: 1fr; }
  body.page-home .plan-group .plan h4, body.page-home .plan-group .plan-for { min-height: 0; }
  body.page-home .plan-group h3.plan-group-title { font-size: 1.3rem; }
  body.page-home .grid-4 { gap: 14px; }
  body.page-home .tile-body { padding: 20px 20px 22px; }
  body.page-home .certs { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  body.page-home .form-card { padding: 24px 20px; }
  body.page-home .car-head { flex-direction: column; align-items: stretch; gap: 18px; margin-bottom: 22px; }
  body.page-home .car-nav { justify-content: flex-end; }
  body.page-home .car-count { margin-right: auto; }
  body.page-home .car-track { gap: 14px; }
  body.page-home .car-cases > li, body.page-home .car-reviews > li { width: 86%; }
  body.page-home .carousel.has-more .car-track { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  body.page-home .review { padding: 0 18px 24px; }
}
@media (max-width: 520px) {
  body.page-home .grid-4, body.page-home .tiles { grid-template-columns: 1fr; }
  body.page-home .tile-body .tile-tags { min-height: 0; }
  body.page-home .tile img { aspect-ratio: 16 / 10; }
  body.page-home #team .grid-4 { grid-template-columns: repeat(2, 1fr); }
  body.page-home .member-body { padding: 14px 14px 18px; }
  body.page-home .member h3 { font-size: 1.02rem; }
}
@media (max-width: 400px) {
  body.page-home .menu-button { padding: 0 10px; }
  body.page-home .logo img { width: 156px; }
  body.page-home .bl-app { min-width: 62px; height: 66px; padding: 0 8px; border-radius: 16px; font-size: .85rem; }
  body.page-home .bl-wire { margin: 0 5px; }
  body.page-home .crm-cap { gap: 6px; font-size: .86rem; }
  body.page-home .crm-cap-b24 i { width: 22px; height: 22px; border-radius: 6px; font-size: .79rem; }
  body.page-home .crm-cap-avito svg { width: 20px; height: 20px; }
}
@media (max-width: 360px) {
  body.page-home .nav { gap: 6px; }
  body.page-home .b-course { grid-template-columns: 1fr; }
  body.page-home .bc-video { min-height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  body.page-home .car-track { scroll-behavior: auto; }
  body.page-home *, body.page-home *:before, body.page-home *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Срок акции на карточке тарифа (как на действующем сайте) */
body.page-home .plan-promo { margin: -10px 0 20px; color: var(--signal-text); font-weight: 700; }
body.page-home .form-card.b24-slot { padding: 0; background: transparent; }
/* Две заказные карточки (товары форм №9 и №19) */
body.page-home .plans.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
@media (max-width: 980px) { body.page-home .plans.plans-2 { grid-template-columns: 1fr; max-width: 560px; } }
