/* Aspiring — стили сайта, редакция 2.
   Токены — из дизайн-системы Aspiring (22.10.2026). Шрифты: Unbounded (H1, H2, крупные цифры, номера этапов) + Manrope (всё остальное).
   Оранжевый — не больше трёх элементов на экран. Градиент один — «Рассвет» на первом экране. Теней нет. */

:root {
  --orange: #ff4f02;
  --black: #0b0b0c;
  --graphite: #1c1c1f;
  --white: #ffffff;
  --stone: #f3f1ee;
  --gray: #b8b8be; /* серый для текста на тёмном (контраст ~9:1); фирменный #8A8A90 — для линий и форм */
  --gray-brand: #8a8a90;
  --bg: #ffffff;
  --bg-alt: #f3f1ee;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --ink-muted: #4a4a50;
  --line: #e2dfda;
  --line-strong: #d3cfc8;
  --control: #8a8a90;
  --on-accent: #ffffff;

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

  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-6: 48px; --space-8: 64px; --space-12: 96px; --space-16: 128px;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-pill: 999px;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
}
[data-tone="dark"] {
  --bg: #0b0b0c; --bg-alt: #1c1c1f; --surface: #1c1c1f;
  --ink: #ffffff; --ink-muted: #b8b8be; --line: #2a2a2f; --line-strong: #3a3a40; --control: #8a8a90;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 26px; color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0 0 var(--space-2); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--white); color: var(--black); padding: 8px 16px; border-radius: var(--radius-pill); }
.skip-link:focus { top: 12px; }
.icon { flex: 0 0 auto; }

/* ---------- Типографика ---------- */
.h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; letter-spacing: -0.01em; }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.625rem, 3vw, 2rem); line-height: 1.15; }
.h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1875rem; line-height: 1.35; }
.h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.lead { font-size: 1.1875rem; line-height: 1.55; font-weight: 500; color: var(--ink-muted); max-width: 60ch; }
.eyebrow { font-size: 0.8125rem; line-height: 1.4; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-2); }
.meta { font-size: 0.875rem; color: var(--ink-muted); margin: 0; }
.muted { color: var(--ink-muted); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); min-height: 56px; padding: 14px 30px; border-radius: var(--radius-pill); border: 1px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: 1.1875rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: opacity .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { opacity: .88; text-decoration: none; }
.btn:active { opacity: .8; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn--primary { background: var(--orange); border-color: var(--orange); color: var(--on-accent); }
.btn--dark { background: var(--black); border-color: var(--black); color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--black); }
.btn--ghost { border-color: currentColor; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 1rem; }
.btn--primary.btn--sm { font-size: 1.1875rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; font-size: inherit; }

/* ---------- Служебные полосы ---------- */
.env-bar { background: var(--stone); color: var(--black); font-size: .8125rem; text-align: center; padding: 6px 16px; }
.preview-bar { position: sticky; top: 0; z-index: 60; background: var(--orange); color: var(--black); font-weight: 600; text-align: center; padding: 10px 16px; }
.preview-bar a { color: var(--black); }

/* ---------- Шапка ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--black); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--black); color: var(--white); border-bottom: 1px solid #2a2a2f; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: var(--header-h); }
.header-logo { display: block; flex: 0 0 auto; }
.header-logo img { width: 180px; height: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-4); }
.site-nav ul { display: flex; gap: var(--space-3); list-style: none; }
.site-nav a:not(.btn) { position: relative; color: var(--white); text-decoration: none; font-weight: 500; font-size: .9375rem; opacity: .78; padding: 10px 0; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { opacity: 1; }
.site-nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--white); }
.header-actions { display: none; align-items: center; gap: var(--space-1); }
.header-cta { min-height: 44px; padding: 8px 16px; font-size: 1rem; color: var(--white); border-color: #3a3a40; }
.nav-toggle { width: 44px; height: 44px; border: 1px solid #3a3a40; border-radius: var(--radius-pill); background: transparent; color: var(--white); cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 50%; width: 18px; height: 2px; background: currentColor; transform: translateX(-50%); transition: transform .2s ease, top .2s ease; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; transform: none; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); background: var(--white); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); background: var(--white); }

/* Липкая кнопка заявки на телефоне */
.sticky-cta { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--black); border-top: 1px solid #2a2a2f; transform: translateY(110%); transition: transform .2s ease; display: none; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; min-height: 50px; }

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(42% 60% at 74% 62%, rgba(255, 79, 2, .32) 0%, rgba(255, 79, 2, 0) 70%), var(--black); color: var(--white); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: center; padding-block: var(--space-12) var(--space-12); }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: var(--gray); }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -0.01em; max-width: 19ch; }
.hero-lead { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.55; font-weight: 500; color: rgba(255, 255, 255, .88); max-width: 52ch; margin: var(--space-4) 0 var(--space-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hero-actions .btn--ghost { color: var(--white); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin-top: var(--space-6); color: var(--gray); font-size: .9375rem; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gray); flex: 0 0 auto; }
.hero-art { position: relative; aspect-ratio: 520 / 440; max-width: 100%; }
.geo-art { width: 100%; height: 100%; }

@keyframes pin-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
.geo-pin { animation: pin-in .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); transform-box: fill-box; }
.geo-chip, .geo-route { animation: fade-in .5s ease both; animation-delay: var(--d, .8s); }
.geo-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 1.6s ease-out 1.2s 2 both; opacity: 0; }

/* ---------- Секции ---------- */
.section { padding-block: var(--space-12); background: var(--bg); color: var(--ink); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark .lead { color: rgba(255, 255, 255, .82); }
.section--dark .eyebrow { color: var(--gray); }
.section-head { max-width: 760px; margin-bottom: var(--space-6); }
.section-head .lead { margin-top: var(--space-3); margin-bottom: 0; }
.section-note { color: var(--ink-muted); margin-top: var(--space-4); max-width: 70ch; }

/* Списки */
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 22px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; }
.tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); color: var(--ink-muted); margin: 0; }
.tag--accent { border-color: var(--orange); color: var(--ink); }
.tag--accent::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--orange); }

/* ---------- Услуги ---------- */
.services-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.svc-featured { background: var(--black); color: var(--white); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); --ink: #fff; --ink-muted: #8a8a90; --line: #2a2a2f; }
.svc-featured .svc-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.svc-featured .svc-summary { color: rgba(255, 255, 255, .86); font-size: 1.0625rem; margin: 0; }
.svc-featured .check-list { color: var(--white); }
.svc-note { font-size: .9375rem; color: var(--ink-muted); margin: 0; }
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; margin: var(--space-1) 0 0; padding-top: var(--space-3); border-top: 1px solid #2a2a2f; }
.path li { position: relative; display: grid; gap: 10px; justify-items: start; font-weight: 600; font-size: .9375rem; color: rgba(255, 255, 255, .9); }
.path li::before { content: ""; width: 12px; height: 12px; transform: rotate(45deg); background: var(--gray); position: relative; z-index: 1; }
.path li:last-child::before { background: var(--orange); }
.path li::after { content: ""; position: absolute; left: 6px; right: 0; top: 5px; height: 1px; background: #3a3a40; }
.path li:last-child::after { display: none; }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-1); }
.svc-actions .link-arrow { color: var(--white); }
.svc-actions .btn--ghost { color: var(--white); border-color: #3a3a40; }
.svc-list { display: grid; }
.svc-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-2) var(--space-3); padding-block: var(--space-4); border-top: 1px solid var(--ink); }
.svc-item + .svc-item { border-top-color: var(--line); }
.svc-item:first-child { padding-top: var(--space-3); }
.svc-icon { width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; }
.svc-body { display: grid; gap: var(--space-2); min-width: 0; }
.svc-body .h3 { font-size: 1.375rem; }
.svc-body p { margin: 0; color: var(--ink-muted); }

/* ---------- Для кого ---------- */
.audience-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.audience-list { list-style: none; border-top: 1px solid var(--ink); }
.audience-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--space-1) var(--space-3); padding-block: 18px; border-bottom: 1px solid var(--line-strong); align-items: baseline; }
.audience-name { font-weight: 600; font-size: 1.25rem; line-height: 1.3; }
.audience-ex { color: var(--ink-muted); font-size: .9375rem; line-height: 1.5; }
.fit-box { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-4); display: grid; gap: var(--space-3); }
.fit-box .check-list { gap: 14px; }

/* ---------- Как работаем: таймлайн ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: var(--space-3); position: relative; padding-top: 4px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 1px; background: var(--ink); }
.tl-step { position: relative; display: grid; grid-template-rows: auto 22px auto auto; gap: var(--space-1); align-content: start; }
.tl-num { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1; height: 28px; display: flex; align-items: end; gap: 10px; }
.tl-tag { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 2px 8px; line-height: 1.4; }
.tl-node { width: 14px; height: 14px; margin-top: 5px; transform: rotate(45deg); background: var(--bg); border: 1.5px solid var(--ink); position: relative; z-index: 1; }
.tl-step .h3 { margin-top: var(--space-1); }
.tl-step p { color: var(--ink-muted); margin: 0; font-size: .9375rem; line-height: 1.5; }
.principles { margin-top: var(--space-12); }
.principles-title { font-family: var(--font-body); font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-3); }
.cols-3 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.cols-3 li { border-top: 1px solid var(--line-strong); padding-top: var(--space-3); display: grid; gap: var(--space-1); align-content: start; }
.cols-3 p { margin: 0; color: var(--ink-muted); }
.section--dark .cols-3 li { border-top-color: #2a2a2f; }
.section--dark .cols-3 p { color: var(--gray); }

/* ---------- Кейсы ---------- */
.cases-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-3); }
.case-card { background: var(--graphite); border-radius: var(--radius-md); padding: var(--space-4); display: grid; gap: var(--space-2); align-content: start; }
.case-card .tag { color: var(--gray); border-color: #3a3a40; }
.case-card p { margin: 0; color: rgba(255, 255, 255, .82); }
.case-label { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); margin: var(--space-1) 0 0; }
.case-result { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.15; color: var(--orange); margin: 0; }
.case-img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Об агентстве ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; }
.metric-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 13vw, 10rem); line-height: .9; letter-spacing: -0.03em; color: var(--orange); margin: 0 0 var(--space-3); }
.metric-label { font-size: 1.125rem; line-height: 1.5; color: var(--white); max-width: 22ch; margin: 0; }
.about-text .section-head { margin-bottom: var(--space-3); }
.prose--dark { color: rgba(255, 255, 255, .82); }
.about-values { margin-top: var(--space-12); }
.team-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-3); margin-top: var(--space-6); }
.team-card { display: grid; gap: 6px; }
.team-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); filter: grayscale(1); }
.team-initials { width: 100%; aspect-ratio: 1; border-radius: var(--radius-md); background: var(--graphite); display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; color: var(--gray); }
.team-role { color: var(--gray); margin: 0; font-size: .9375rem; }

/* ---------- Вопросы ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--space-8); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-side .section-head { margin-bottom: var(--space-3); }
.faq-groups { display: grid; gap: var(--space-6); }
.faq-group-title { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-1); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: 20px 0; font-weight: 600; font-size: 1.125rem; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: 0 0 auto; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 var(--space-3); color: var(--ink-muted); max-width: 68ch; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Финал с формой ---------- */
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-8); align-items: start; }
.final-intro .section-head { margin-bottom: var(--space-4); }
.get-list { list-style: none; display: grid; gap: 0; border-top: 1px solid #2a2a2f; }
.get-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-2); padding-block: 16px; border-bottom: 1px solid #2a2a2f; }
.get-list li::before { content: ""; width: 9px; height: 9px; margin-top: 9px; transform: rotate(45deg); border: 1.5px solid var(--white); }
.get-list b { display: block; font-weight: 600; font-size: 1.0625rem; color: var(--white); }
.get-list span { color: var(--gray); font-size: .9375rem; line-height: 1.5; }
.get-inline { display: none; color: var(--gray); margin: 0 0 var(--space-3); }
.final-note { color: var(--gray); font-size: .9375rem; margin-top: var(--space-3); }
.final-contacts { margin-top: var(--space-3); color: var(--gray); font-size: .9375rem; }
.final-contacts a { color: var(--white); }

/* Карточка формы */
.form-card { background: var(--white); color: var(--black); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); --ink: #0b0b0c; --ink-muted: #5e5e64; --line: #e2dfda; }
.form-steps { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); font-size: .875rem; color: var(--ink-muted); }
.form-steps b { color: var(--black); font-weight: 600; }
.form-progress { flex: 1; height: 2px; background: var(--line); position: relative; }
.form-progress::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 50%); background: var(--black); transition: width .2s ease; }
.lead-form { display: grid; gap: var(--space-3); }
.form-step { display: grid; gap: var(--space-3); min-width: 0; }
.step-title { font-family: var(--font-body); font-size: 1.25rem; font-weight: 600; margin: 0; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend, .field-label { font-weight: 600; font-size: .9375rem; padding: 0; }
.legend-hint { font-weight: 400; color: var(--ink-muted); margin-left: 4px; }
.req { color: var(--ink-muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--control); border-radius: var(--radius-sm); background: var(--white); color: var(--black); font: inherit; font-size: 1rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%), linear-gradient(135deg, var(--black) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--black); }
.field [aria-invalid="true"], .chips[aria-invalid="true"] { border-color: var(--orange); }
.field input[aria-invalid="true"] { border: 2px solid var(--orange); }
.field-error { margin: 0; font-size: .875rem; color: var(--black); font-weight: 500; }
.field-error:empty { display: none; }
.field-error:not(:empty)::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; transform: rotate(45deg) translateY(-2px); background: var(--orange); }
.field-hint { margin: 0; font-size: .875rem; color: var(--ink-muted); }
.tz-line { margin: 0; font-size: .875rem; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.tz-line .link-btn { font-size: .875rem; min-height: 32px; }

/* Кнопки-чипы: день, время, сфера, точки, цели */
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span, .chip-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--white); color: var(--black); font-weight: 500; font-size: .9375rem; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: background-color .12s ease, border-color .12s ease; }
.chip span small { display: block; font-size: .75rem; color: var(--ink-muted); margin-left: 6px; }
.chip input:hover + span, .chip-btn:hover { border-color: var(--black); }
.chip input:checked + span, .chip-btn[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.chip input:checked + span small { color: var(--gray); }
.chip input:focus-visible + span, .chip-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; cursor: not-allowed; }
.chips--segmented { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); }
.chips--segmented .chip span { width: 100%; }
.slot-groups { display: grid; gap: var(--space-2); }
.slot-group { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-2); align-items: start; }
.slot-group-name { font-size: .875rem; color: var(--ink-muted); padding-top: 12px; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { min-height: 44px; min-width: 70px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); font-weight: 500; font-size: .9375rem; cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--black); }
.slot.is-in-range { background: var(--stone); border-color: var(--stone); }
.slot[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.slot:disabled { opacity: .35; cursor: not-allowed; }
.slot:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.call-summary { margin: 0; padding: 12px 14px; background: var(--stone); border-radius: var(--radius-sm); font-weight: 600; font-size: .9375rem; }
.call-summary:empty { display: none; }
.other-date { display: grid; grid-template-columns: minmax(0, 220px); }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 500 !important; cursor: pointer; min-height: 44px; padding-top: 10px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--black); flex: 0 0 auto; }
.check--consent span { font-size: .9375rem; line-height: 1.5; }
.demo-line { margin: 0; font-size: .875rem; color: var(--ink-muted); display: flex; gap: 8px; align-items: baseline; }
.demo-line::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; transform: rotate(45deg) translateY(-1px); background: var(--orange); }
.form-nav { display: flex; align-items: center; gap: var(--space-2); }
.form-nav .btn { flex: 1; }
.form-nav .link-btn { flex: 0 0 auto; min-height: 44px; padding-inline: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border: 1px solid var(--black); border-radius: var(--radius-md); padding: var(--space-2); font-weight: 500; }
.form-status p { margin: 0 0 8px; }
.form-status .btn { margin-top: 4px; }
.form-success { display: grid; gap: var(--space-2); }
.form-success:focus { outline: none; }
.success-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--black); color: var(--white); }
.success-when { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; margin: 0; }
.success-tz { color: var(--ink-muted); margin: 0; }
.success-actions { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-1); }

/* ---------- Страницы: шапка ---------- */
.page-hero { background: var(--black); color: var(--white); overflow: hidden; }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: center; padding-block: var(--space-8) var(--space-8); }
.page-hero .h1 { max-width: 20ch; }
.page-hero .lead { color: rgba(255, 255, 255, .86); margin: var(--space-3) 0 var(--space-4); }
.page-hero .scheme { width: 100%; height: auto; max-width: 460px; justify-self: end; }
.page-hero--light { background: var(--white); color: var(--black); border-bottom: 1px solid var(--line); }
.page-hero--light .page-hero-inner { grid-template-columns: minmax(0, 1fr); padding-block: var(--space-8) var(--space-6); }
.page-hero--light .lead { color: var(--ink-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--gray); margin-bottom: var(--space-3); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; }
.breadcrumbs a { color: inherit; }
.page-hero--light .breadcrumbs ol { color: var(--ink-muted); }

/* Страница услуги */
.svc-why { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-6); }
.svc-why .prose { font-size: 1.1875rem; line-height: 1.6; }
.includes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-6); }
.includes li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-2); align-items: start; }
.includes p { margin: 4px 0 0; color: var(--ink-muted); }
.extra-cols { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--space-4); }
.extra-cols li { border-top: 1px solid var(--ink); padding-top: var(--space-3); display: grid; gap: var(--space-1); align-content: start; }
.extra-cols p { margin: 0; color: var(--ink-muted); }
.extra-note { margin-top: var(--space-4); color: var(--ink-muted); max-width: 70ch; }
.extra-note p { margin: 0; }
.callout, .svc-callout { background: var(--stone); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); margin: var(--space-3) 0; }
.svc-callout { margin: var(--space-6) 0 0; max-width: 880px; }
.callout p:last-child, .svc-callout p:last-child { margin: 0; }
.not-do { background: var(--black); color: var(--white); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-4); }
.not-do ul { list-style: none; display: grid; gap: 14px; }
.not-do li { position: relative; padding-left: 30px; font-size: 1.0625rem; }
.not-do li::before, .not-do li::after { content: ""; position: absolute; left: 3px; top: 12px; width: 14px; height: 1.5px; background: var(--gray); transform: rotate(45deg); }
.not-do li::after { transform: rotate(-45deg); }
.more-links { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-2); }
.more-links a { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: var(--space-3) 0; border-top: 1px solid var(--ink); text-decoration: none; font-weight: 600; font-size: 1.125rem; }
.more-links a:hover { text-decoration: underline; }

/* ---------- Статьи ---------- */
.articles-filter { margin-bottom: var(--space-4); }
.articles-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6) var(--space-3); }
.article-card { display: grid; gap: var(--space-2); align-content: start; }
.article-card--featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--space-4); align-items: center; }
.article-card h2, .article-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.25rem; line-height: 1.35; }
.article-card--featured h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
.article-card a { text-decoration: none; }
.article-card a:hover { text-decoration: underline; }
.article-card p { margin: 0; color: var(--ink-muted); }
.cover { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; background: var(--black); color: var(--white); display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-3); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover--stone { background: var(--stone); color: var(--black); }
.cover-label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.cover-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.2; max-width: 18ch; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.article-card--featured .cover-title { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.cover-mark { position: absolute; right: var(--space-3); bottom: var(--space-3); width: 18px; height: 18px; transform: rotate(45deg); background: var(--gray); }
.cover--stone .cover-mark { background: var(--black); }

.article-layout { display: grid; grid-template-columns: 220px minmax(0, 68ch); gap: var(--space-8); justify-content: start; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: var(--space-3); color: var(--ink-muted); font-size: .9375rem; }
.article-meta a { color: inherit; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; font-size: .9375rem; }
.toc-title { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-2); }
.toc ol { list-style: none; display: grid; gap: 10px; border-left: 1px solid var(--line-strong); padding-left: var(--space-2); }
.toc a { text-decoration: none; color: var(--ink-muted); }
.toc a:hover, .toc a[aria-current] { color: var(--ink); text-decoration: underline; }
.toc-mobile { display: none; border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 0 var(--space-2); margin-bottom: var(--space-4); }
.toc-mobile summary { cursor: pointer; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
.toc-mobile ol { padding: 0 0 var(--space-2) 1.2em; display: grid; gap: 8px; }
.related-card { background: var(--black); color: var(--white); border-radius: var(--radius-lg); padding: var(--space-4); display: grid; gap: var(--space-2); margin-top: var(--space-8); }
.related-card p { margin: 0; color: rgba(255, 255, 255, .82); }
.related-card .eyebrow { color: var(--gray); margin: 0; }
.related-card .svc-actions { margin-top: var(--space-1); }

/* ---------- Текст статей и страниц ---------- */
.prose { max-width: 68ch; font-size: 1.0625rem; line-height: 1.7; }
.prose--article { font-size: 1.125rem; line-height: 1.7; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.25; margin: var(--space-6) 0 var(--space-2); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 600; font-size: 1.25rem; margin: var(--space-4) 0 var(--space-1); }
.prose h4 { font-weight: 600; font-size: 1.0625rem; margin: var(--space-3) 0 var(--space-1); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 var(--space-2); }
.prose li { margin-bottom: 8px; }
.prose ul { list-style: none; padding-left: 22px; }
.prose ul li { position: relative; }
.prose ul li::before { content: ""; position: absolute; left: -20px; top: 12px; width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; }
.prose img { border-radius: var(--radius-md); margin: var(--space-3) 0; }
.prose blockquote { margin: var(--space-3) 0; padding: var(--space-1) 0 var(--space-1) var(--space-3); border-left: 2px solid var(--ink); font-size: 1.1875rem; }
.prose table { width: 100%; border-collapse: collapse; margin: var(--space-3) 0; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { border-bottom-color: var(--ink); }
.prose .lead { margin-bottom: var(--space-4); }
.prose a { text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: currentColor; }

/* ---------- Документы ---------- */
.legal-page { background: var(--stone); padding-block: var(--space-8) var(--space-12); }
.legal-sheet { background: var(--white); max-width: 840px; margin: 0 auto; border-radius: var(--radius-lg); padding: var(--space-8) clamp(20px, 6vw, 72px); }
.legal-head { border-bottom: 1px solid var(--line); padding-bottom: var(--space-4); margin-bottom: var(--space-4); }
.legal-head .h1 { font-size: clamp(1.625rem, 3.4vw, 2.25rem); margin-top: var(--space-1); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-muted); font-size: .9375rem; margin-top: var(--space-2); }
.legal-toc { background: var(--stone); border-radius: var(--radius-md); padding: var(--space-3); margin-bottom: var(--space-4); }
.legal-toc ol { list-style: none; columns: 2; column-gap: var(--space-4); }
.legal-toc li { break-inside: avoid; margin-bottom: 6px; font-size: .9375rem; }
.legal-toc a { color: var(--ink-muted); }
.prose--legal { font-size: 1rem; max-width: none; }
.prose--legal h2 { font-family: var(--font-body); font-weight: 600; font-size: 1.25rem; }
.missing { display: inline-block; padding: 0 8px; border-radius: var(--radius-pill); background: var(--stone); border: 1px dashed var(--control); color: var(--ink-muted); font-size: .875em; line-height: 1.6; }

/* ---------- Ошибки ---------- */
.error-page { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.error-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; padding-block: var(--space-12); min-height: 60vh; }
.error-code { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .08em; color: var(--gray); margin-bottom: var(--space-2); }
.error-page .lead { color: rgba(255, 255, 255, .82); margin: var(--space-3) 0 var(--space-4); }
.error-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.error-actions .btn--ghost { color: var(--white); }
.error-art { aspect-ratio: 520 / 300; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--black); color: var(--white); padding-block: var(--space-12) var(--space-4); border-top: 1px solid #2a2a2f; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-6); }
.footer-brand img { width: 200px; }
.footer-about { color: var(--gray); font-size: .9375rem; margin-top: var(--space-3); max-width: 40ch; }
.footer-title { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); margin-bottom: var(--space-2); }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; opacity: .9; }
.footer-col a:hover { text-decoration: underline; opacity: 1; }
.footer-col p { color: var(--gray); font-size: .9375rem; }
.footer-col .btn { color: var(--white); border-color: #3a3a40; }
.footer-note { color: var(--gray); font-size: .875rem; margin-top: var(--space-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-8); padding-top: var(--space-3); border-top: 1px solid #2a2a2f; color: var(--gray); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.footer-legal a { color: var(--gray); }

/* ---------- Cookie ---------- */
.cookie-banner { position: fixed; z-index: 70; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 420px; margin-right: 16px; background: var(--graphite); color: var(--white); border-radius: var(--radius-lg); padding: var(--space-3); display: grid; gap: var(--space-2); border: 1px solid #2a2a2f; }
.cookie-banner p { margin: 0; font-size: .9375rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.cookie-banner .btn--ghost { color: var(--white); }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .toc-mobile { display: block; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .header-logo img { width: 150px; }
  .header-actions { display: flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 1px solid #2a2a2f; padding: var(--space-2) var(--gutter) var(--space-4); flex-direction: column; align-items: stretch; gap: var(--space-2); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0 !important; border-bottom: 1px solid #2a2a2f; font-size: 1.0625rem !important; }
  .site-nav a[aria-current]::after { display: none; }
  .site-nav > .btn { display: none; }
  .sticky-cta { display: block; }
  .hero-inner, .page-hero-inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .hero-art { aspect-ratio: auto; height: 200px; margin-inline: calc(-1 * var(--gutter)); }
  .page-hero .scheme { justify-self: start; max-width: 420px; }
  .services-grid, .audience-grid, .about-grid, .faq-wrap, .final-grid, .svc-why, .not-do, .error-inner { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 34px; padding-top: 0; }
  .timeline::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .tl-step { grid-template-rows: none; padding-bottom: var(--space-4); }
  .tl-node { position: absolute; left: -34px; top: 2px; margin: 0; }
  .tl-num { font-size: 1.125rem; height: auto; align-items: center; }
  .cols-3, .extra-cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .about-grid { gap: var(--space-4); }
  .error-art { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding-block: var(--space-8); }
  .hero-inner { padding-block: var(--space-6) var(--space-4); }
  .hero-actions .btn { width: 100%; }
  .hero-facts { flex-direction: column; margin-top: var(--space-3); }
  .hero-art { height: 170px; }
  .svc-featured { padding: var(--space-4) var(--space-3); }
  .path li { font-size: .875rem; }
  .svc-item { grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-2); }
  .svc-icon { width: 40px; height: 40px; }
  .audience-list li { grid-template-columns: minmax(0, 1fr); padding-block: 14px; }
  .audience-name { font-size: 1.125rem; }
  .fit-box { padding: var(--space-3); }
  .principles, .about-values { margin-top: var(--space-8); }
  .faq-groups { gap: var(--space-4); }
  .faq-item summary { padding: 16px 0; font-size: 1.0625rem; }
  .get-list { display: none; }
  .get-inline { display: block; }
  .final-intro .section-head { margin-bottom: var(--space-2); }
  .form-card { padding: var(--space-3) var(--space-2); border-radius: var(--radius-md); margin-inline: calc(-1 * var(--space-1)); }
  .slot-group { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .slot-group-name { padding-top: 0; }
  .slot { flex: 1 0 calc(25% - 6px); min-width: 0; }
  .includes { grid-template-columns: minmax(0, 1fr); }
  .not-do { padding: var(--space-4) var(--space-3); }
  .articles-grid { grid-template-columns: minmax(0, 1fr); }
  .article-card--featured { grid-template-columns: minmax(0, 1fr); }
  .legal-page { padding-block: 0; }
  .legal-sheet { border-radius: 0; padding-block: var(--space-6); }
  .legal-toc ol { columns: 1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .site-footer { padding-bottom: calc(var(--space-4) + 70px); }
  .cookie-banner { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .geo-pulse { opacity: 0; }
}
@media print {
  .site-header, .site-footer, .cookie-banner, .env-bar, .sticky-cta, .preview-bar, .hero-actions, #zayavka, .legal-toc { display: none !important; }
  .hero, .section--dark, .page-hero, .legal-page { background: #fff !important; color: #000 !important; }
  .legal-sheet { padding: 0; }
}
.chip-btn small { margin-left: 6px; font-size: .75rem; color: var(--ink-muted); }
.chip-btn[aria-pressed="true"] small { color: var(--gray); }

/* ---------- Доводка после визуальной проверки ---------- */
.lead-form fieldset, .form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.link-arrow { min-height: 44px; }
.tz-line .link-btn { min-height: 44px; }
.footer-col ul { gap: 0; }
.footer-col li a, .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal { gap: 0 var(--space-3); }
@media (max-width: 640px) {
  .form-card { margin-inline: 0; padding: var(--space-3) var(--space-2) var(--space-4); }
  .section { padding-block: 56px; }
  .footer-grid { gap: var(--space-4); }
  .site-footer { padding-block: var(--space-8) var(--space-3); }
}
.legal-sheet .breadcrumbs ol, .section .breadcrumbs ol { color: var(--ink-muted); }
.breadcrumbs ol { align-items: center; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.legal-toc li { margin-bottom: 0; }
.legal-toc a, .toc-mobile a { display: inline-flex; align-items: center; min-height: 36px; }
@media (max-width: 960px) {
  .page-hero .hero-art { height: auto; aspect-ratio: auto; margin-inline: 0; }
  .page-hero .hero-art svg { width: 100%; height: auto; max-height: 260px; display: block; }
}
.sticky-cta { visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; }
.sticky-cta.is-visible { visibility: visible; transition: transform .2s ease; }

/* =====================================================================
   Редакция 3: модульная главная и анимации прокрутки (GSAP + ScrollTrigger).
   Без скриптов и при «уменьшить движение» всё показывается статично.
   ===================================================================== */
:root { --ease-out: cubic-bezier(.2, .8, .2, 1); --radius-xl: 28px; }

/* Слова заголовков в масках */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .12em; margin-block: -.12em; }
.wi { display: inline-block; will-change: transform; }

/* До запуска анимаций прячем только то, что на первом экране — без «мигания» */
.motion:not(.motion-ready) [data-a="hero-item"],
.motion:not(.motion-ready) [data-a="hero"] [data-a="words"] .wi,
.motion:not(.motion-ready) [data-a="hero-art"] { opacity: 0; }
.motion:not(.motion-ready) [data-a="stage"] { opacity: 0; }

/* Шапка: прячется при прокрутке вниз, возвращается при прокрутке вверх */
.site-header { transition: transform .4s var(--ease-out); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-hidden:focus-within { transform: none; }

/* ---------- Первый экран ---------- */
.hero { background: radial-gradient(46% 42% at 72% 78%, rgba(255, 79, 2, .30) 0%, rgba(255, 79, 2, 0) 72%), var(--black); padding-bottom: var(--space-12); }
.hero-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: end; padding-block: var(--space-12) var(--space-8); }
.hero-title { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.04; max-width: 15ch; }
.hero-side .hero-lead { margin: 0 0 var(--space-4); }
.hero-side .hero-facts { margin-top: var(--space-4); }
.hero-stage { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 1200 / 560; background: #0e0e10; border: 1px solid #2a2a2f; transform-origin: 50% 0; will-change: transform; }
.jm-art { width: 100%; height: 100%; }
.jm-pulse { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .jm-pulse { animation: pulse 2.4s ease-out infinite; } }

/* ---------- Утверждение и маршрут ---------- */
.journey { padding-bottom: 0; }
.statement-wrap { padding-bottom: var(--space-12); }
.statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 3.6vw, 3.25rem); line-height: 1.18; letter-spacing: -0.01em; max-width: 24ch; margin: 0; }
.journey-pin { padding-block: var(--space-12); border-top: 1px solid var(--line); background: var(--bg); }
.journey-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; }
.journey-head .lead { margin-top: var(--space-3); }
.journey-nav { list-style: none; margin-top: var(--space-6); border-top: 1px solid var(--ink); }
.journey-nav li { display: grid; grid-template-columns: 14px 34px minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); color: var(--ink-muted); font-weight: 600; transition: color .3s ease; }
.jn-node { width: 10px; height: 10px; transform: rotate(45deg); border: 1.5px solid currentColor; transition: background-color .3s ease, border-color .3s ease; }
.jn-num { font-family: var(--font-display); font-size: .8125rem; }
.journey-nav li.is-active { color: var(--ink); }
.journey-nav li.is-active .jn-node { background: var(--orange); border-color: var(--orange); }
.journey-steps { list-style: none; display: grid; gap: var(--space-3); }
.journey-step { background: var(--stone); border-radius: var(--radius-xl); padding: var(--space-6) var(--space-6) var(--space-4); display: grid; gap: var(--space-2); align-content: start; }
.js-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 7vw, 6.5rem); line-height: .9; letter-spacing: -0.03em; color: var(--line-strong); }
.js-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; }
.js-text { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-muted); max-width: 44ch; margin: 0; }
.js-link { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 44px; padding: 10px 20px; margin-top: var(--space-1); border: 1px solid var(--ink); border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.js-link:hover { background: var(--ink); color: var(--bg); }
.journey-step:last-child { background: var(--black); color: var(--white); --ink: #fff; --ink-muted: #b8b8be; --bg: #0b0b0c; }
.journey-step:last-child .js-num { color: var(--orange); }
/* Режим закрепления (включает скрипт на широких экранах) */
.jp-on .journey-pin { min-height: 100vh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 24px) var(--space-6); }
.jp-on .journey-grid { width: 100%; align-items: center; }
.jp-on .journey-steps { position: relative; display: block; height: min(64vh, 520px); }
.jp-on .journey-step { position: absolute; inset: 0; align-content: center; }

/* ---------- Услуги: карточки, складывающиеся в стопку ---------- */
.services .section-head { margin-bottom: var(--space-8); }
.svc-stack { display: grid; gap: var(--space-3); }
.svc-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-6); background: var(--stone); border-radius: var(--radius-xl); padding: var(--space-6); min-height: 540px; transform-origin: 50% 0; }
.svc-card--dark { background: var(--black); color: var(--white); --ink: #fff; --ink-muted: #b8b8be; --line: #2a2a2f; --line-strong: #3a3a40; }
.svc-card-main { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.svc-card-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }
.svc-num { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.svc-of { color: var(--ink-muted); }
.svc-card-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.625rem, 2.8vw, 2.375rem); line-height: 1.12; }
.svc-card .svc-summary { font-size: 1.0625rem; color: var(--ink-muted); margin: 0; }
.svc-card .check-list { margin-top: var(--space-1); }
.svc-card .svc-actions { margin-top: auto; padding-top: var(--space-3); }
.svc-card .svc-actions .link-arrow { color: var(--ink); }
.svc-card .svc-actions .btn--ghost { color: var(--ink); border-color: var(--line-strong); }
.svc-card-art { background: var(--black); border-radius: 20px; display: grid; place-items: center; padding: var(--space-4); overflow: hidden; min-height: 320px; }
.svc-card--dark .svc-card-art { background: #121214; border: 1px solid #2a2a2f; }
.svc-art-inner { width: 100%; max-width: 460px; will-change: transform; }
.svc-art-inner svg { width: 100%; height: auto; }
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .svc-card { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 18px); }
}

/* ---------- Бегущая строка типов бизнеса ---------- */
.marquee { overflow: hidden; padding-block: 0 var(--space-8); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; gap: var(--space-4); padding-right: var(--space-4); flex: 0 0 auto; }
.mq-item { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.75rem); line-height: 1.1; white-space: nowrap; }
.mq-item:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.25px var(--ink); }
.mq-sep { width: 14px; height: 14px; transform: rotate(45deg); background: var(--ink-muted); flex: 0 0 auto; }

/* ---------- Как работаем: линия прогресса ---------- */
.motion-ready .timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 2px; margin-top: -.5px; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.tl-node { transition: background-color .3s ease, border-color .3s ease; }
.tl-step.is-on .tl-node { background: var(--ink); }

/* ---------- Тёмные секции: «раскрытие» из карточки ---------- */
.section--reveal { will-change: clip-path; }

/* ---------- Страница услуги ---------- */
.page-hero-art { justify-self: end; width: 100%; max-width: 460px; }
.page-hero-art .scheme { max-width: 100%; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .hero-top { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); padding-block: var(--space-8) var(--space-6); }
  .hero-stage { aspect-ratio: 16 / 10; border-radius: 20px; }
  .journey-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .journey-nav { display: none; }
  .svc-card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .svc-card-art { min-height: 0; }
  .page-hero-art { justify-self: start; max-width: 420px; }
}
@media (max-width: 640px) {
  .hero { padding-bottom: var(--space-8); }
  .hero-stage { border-radius: 16px; }
  .statement-wrap { padding-bottom: var(--space-8); }
  .journey-pin { padding-block: var(--space-8); }
  .journey-step { padding: var(--space-4) var(--space-3) var(--space-3); border-radius: 20px; }
  .svc-card { padding: var(--space-4) var(--space-3); border-radius: 20px; gap: var(--space-4); }
  .svc-card-art { padding: var(--space-2); border-radius: 14px; }
  .marquee { padding-bottom: var(--space-6); }
}
@media print { .marquee, .hero-stage { display: none; } }
@media (max-width: 640px) {
  .journey-step { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-2); row-gap: var(--space-1); padding: var(--space-3); }
  .js-num { font-size: 2.25rem; grid-row: span 1; align-self: center; }
  .js-title { font-size: 1.5rem; align-self: center; }
  .js-text, .js-link { grid-column: 1 / -1; }
  .js-text { font-size: 1rem; }
  .svc-card-art { display: none; }
  .svc-card .check-list li:nth-child(n+4) { display: none; }
  .hero-stage { aspect-ratio: 16 / 10; }
}

/* =====================================================================
   Цвет и контраст (редакция 3.1)
   - --orange-action: оттенок фирменного оранжевого для кнопок с белым текстом (контраст 4,57:1 вместо 3,3:1);
     сам Aspiring Orange #FF4F02 остаётся для акцентов без текста: метки, линии, «5+».
   - --dawn / --ember: светлый и тёмный оттенки «Рассвета» для мягких выделений без яркого акцента.
   - #8A8A90 — только на тёмном фоне; на светлом мелкий текст — #5E5E64.
   ===================================================================== */
:root { --orange-action: #d64000; --orange-action-hover: #c23a00; --dawn: #fff1e8; --dawn-line: #ffd9c4; --ember: rgba(255, 79, 2, .14); --ember-ink: #ffb48f; }
.btn--primary { background: var(--orange-action); border-color: var(--orange-action); }
.btn--primary:hover { background: var(--orange-action-hover); border-color: var(--orange-action-hover); opacity: 1; }

/* Мягкие выделения «Рассвет светлый» на светлых фонах */
.svc-callout, .callout { background: var(--dawn); border: 1px solid var(--dawn-line); }
.tl-tag { background: var(--dawn); border-color: var(--dawn-line); color: #8a2c00; }
[data-tone="dark"] .tl-tag, .section--graphite .tl-tag { background: var(--ember); border-color: transparent; color: var(--ember-ink); }
.journey-nav li { padding-inline: 10px; border-radius: 10px; transition: color .3s ease, background-color .3s ease; }
.journey-nav li.is-active { background: var(--dawn); }
.journey-step:last-child { background: var(--dawn); color: var(--black); --ink: #0b0b0c; --ink-muted: #5e5e64; --bg: #fff1e8; border: 1px solid var(--dawn-line); }
.journey-step:last-child .js-num { color: var(--orange); }
.js-num { color: #9c968b; }

/* Карточки услуг: графитовые панели схем у светлых карточек, чёрный — только у главного направления */
.svc-card:not(.svc-card--dark) .svc-card-art { background: var(--graphite); }

/* «Как работаем» — графитовая секция: разбивает длинный светлый участок */
.section--graphite { background: var(--graphite); color: var(--white); --bg: #1c1c1f; --ink: #ffffff; --ink-muted: #b8b8be; --line: #2f2f35; --line-strong: #3f3f46; }
.section--graphite .lead { color: rgba(255, 255, 255, .82); }
.section--graphite .eyebrow, .section--graphite .principles-title { color: #b8b8be; }
.section--graphite .tl-step p, .section--graphite .cols-3 p { color: #b8b8be; }
.section--graphite .cols-3 li { border-top-color: #3f3f46; }

/* Бегущая строка: контур плотнее, чтобы слова читались */
.mq-item:nth-child(4n+3) { -webkit-text-stroke: 1.75px var(--ink); }
.js-num { color: #8f897e; }
.journey-step:last-child .js-num { color: var(--orange-action); }

/* =====================================================================
   Читаемость (редакция 3.2)
   ===================================================================== */
/* Подписи к схемам — обычным текстом, а не мелким текстом внутри картинки */
.page-hero-art { margin: 0; }
.scheme-caption { margin: var(--space-2) 0 0; font-size: .9375rem; line-height: 1.5; color: #b8b8be; }
.svc-art-inner .scheme-caption { color: #b8b8be; }
/* Легенда маршрута под картой — только на телефоне, где подписи на карте слишком мелкие */
.stage-legend { display: none; list-style: none; flex-wrap: wrap; gap: 8px; margin-top: var(--space-2); }
.stage-legend li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #3a3a40; border-radius: var(--radius-pill); color: var(--white); font-weight: 600; font-size: .9375rem; }
.stage-legend li span { color: #b8b8be; font-size: .8125rem; }
@media (max-width: 640px) {
  .stage-legend { display: flex; }
  .hero-stage .jm-chip { display: none; }
}
/* Утверждение: слова проявляются при прокрутке (прозрачность 14% → 100%) */
.statement .wi { color: inherit; }
/* Бегущая строка: вместо тонкого контура — сплошной серый */
.mq-item:nth-child(4n+3) { color: var(--ink-muted); -webkit-text-stroke: 0; }
/* Маршрут клиента в режиме закрепления: одна карточка, меняется только содержимое */
.jp-on .journey-steps { background: var(--stone); border-radius: var(--radius-xl); overflow: hidden; }
.jp-on .journey-step, .jp-on .journey-step:last-child { background: transparent; border: 0; }

/* =====================================================================
   Пары «поверхность + текст» (редакция 3.3). Сайт всегда в фирменной светлой схеме:
   тёмная тема браузера или окружения не перекрашивает страницу.
   ===================================================================== */
:root { color-scheme: light; }
html { background: #ffffff; color: #0b0b0c; }
.form-card { --ink: #0b0b0c; --ink-muted: #4a4a50; color: #0b0b0c; }
.fit-box { background: #ffffff; color: #0b0b0c; --ink: #0b0b0c; --ink-muted: #4a4a50; }
.svc-card:not(.svc-card--dark), .journey-step { color: var(--ink); }
.svc-card:not(.svc-card--dark) { --ink: #0b0b0c; --ink-muted: #4a4a50; --line: #e2dfda; --line-strong: #d3cfc8; }
.journey-step { --ink: #0b0b0c; --ink-muted: #4a4a50; }
.journey-step:last-child { --ink: #0b0b0c; --ink-muted: #4a4a50; }
.section--graphite { --ink-muted: #b8b8be; }

/* =====================================================================
   Редакция 3.4: карусель шагов, объёмная карта клиента, телефон с карточкой компании
   ===================================================================== */
.scheme-wrap { position: relative; }

/* Объёмная карта клиента (страница Loyalty). Тени — по запросу владельца, только у этой карты. */
.card3d-stage { position: absolute; left: 54.35%; top: 50%; width: 40%; transform: translate(-50%, -50%); perspective: 700px; container-type: inline-size; }
.card3d { position: relative; aspect-ratio: 1.586; transform-style: preserve-3d; transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 8deg)) rotateZ(var(--rz, -3deg)); will-change: transform; }
.card3d-face { position: absolute; inset: 0; border-radius: 7cqw; padding: 9cqw 9cqw 8cqw; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden;
  background: linear-gradient(140deg, #34343b 0%, #1c1c1f 48%, #121214 100%); border: 1px solid #45454d;
  box-shadow: 0 1.2cqw 0 #0b0b0c, 0 9cqw 14cqw rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .14);
  font-family: var(--font-body); font-size: max(11px, 8.6cqw); line-height: 1.2; -webkit-font-smoothing: antialiased; backface-visibility: hidden; }
.card3d-face::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .14) 50%, transparent 60%); transform: translateX(var(--shine, -30%)); pointer-events: none; }
.card3d-top { display: flex; align-items: center; gap: 5cqw; font-weight: 700; }
.card3d-mark { width: 7cqw; height: 7cqw; transform: rotate(45deg); background: var(--orange); flex: 0 0 auto; }
.card3d-label { color: #d6d6db; font-size: .85em; }
.card3d-dots { display: flex; gap: 3cqw; margin-top: -4cqw; }
.card3d-dots i { width: 4cqw; height: 4cqw; border-radius: 50%; background: #d6d6db; }
.card3d-foot { font-size: .8em; color: #b8b8be; letter-spacing: .04em; }
.card3d-shadow { position: absolute; left: 12%; right: 12%; bottom: -16%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(4px); transform: scale(var(--sh, 1)); pointer-events: none; }
@keyframes card-float {
  0% { transform: rotateY(-20deg) rotateX(9deg) rotateZ(-4deg) translateZ(0); --shine: -40%; }
  50% { transform: rotateY(20deg) rotateX(4deg) rotateZ(4deg) translateZ(14px); --shine: 30%; }
  100% { transform: rotateY(-20deg) rotateX(9deg) rotateZ(-4deg) translateZ(0); --shine: -40%; }
}
@keyframes card-shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.82); opacity: .7; } }
@media (prefers-reduced-motion: no-preference) {
  .card3d:not(.is-tilting) { animation: card-float 8s ease-in-out infinite; }
  .card3d-stage:not(.is-tilting) .card3d-shadow { animation: card-shadow 8s ease-in-out infinite; }
  .card3d.is-tilting { transition: transform .12s ease-out; }
}
.card3d-stage { pointer-events: auto; cursor: grab; }

/* Телефон с карточкой компании */
.scheme--phone { max-width: 100%; }

/* Карусель шагов */
.steps-carousel { margin-top: var(--space-2); }
.sc-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.sc-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-tab { min-width: 48px; height: 48px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: .875rem; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.sc-tab:hover { border-color: var(--ink); }
.sc-tab[aria-selected="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.sc-nav { display: flex; gap: 8px; }
.sc-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, color .2s ease, opacity .2s ease; }
.sc-btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.sc-btn[data-dir="-1"] svg { transform: rotate(180deg); }
.sc-btn:disabled { opacity: .3; cursor: default; }
.sc-track { position: relative; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: var(--space-2); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--radius-xl); }
.sc-track::-webkit-scrollbar { display: none; }
.sc-track:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.sc-slide { scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; background: var(--stone); border-radius: var(--radius-xl); padding: var(--space-3); color: #0b0b0c; }
.section--alt .sc-slide { background: #ffffff; }
.sc-art { background: #121214; border-radius: 20px; padding: var(--space-2); display: grid; place-items: center; }
.step-art { width: 100%; height: auto; }
.sc-text { padding-right: var(--space-3); }
.sc-num { display: inline-block; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a2c00; background: var(--dawn); border: 1px solid var(--dawn-line); border-radius: var(--radius-pill); padding: 4px 12px; }
.sc-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 2.4vw, 2rem); line-height: 1.15; margin: var(--space-2) 0 var(--space-2); }
.sc-text p { color: #4a4a50; font-size: 1.0625rem; margin: 0; }
.sc-progress { position: relative; height: 2px; background: var(--line-strong); margin-top: var(--space-3); overflow: hidden; }
.sc-progress span { position: absolute; left: 0; top: 0; height: 100%; width: calc(100% / var(--n)); background: var(--ink); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .35s var(--ease-out); }
@media (max-width: 960px) {
  .sc-slide { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .sc-text { padding: 0 var(--space-1) var(--space-1); }
}
@media (max-width: 640px) {
  .sc-track { grid-auto-columns: 88%; }
  .sc-tabs { display: none; }
  .sc-slide { padding: var(--space-2); border-radius: 20px; }
}

/* Сцена маршрута из пяти шагов (редакция 3.5) */
.hero-stage { aspect-ratio: 1200 / 600; }
@media (max-width: 960px) { .hero-stage { aspect-ratio: 1200 / 600; } }
@media (max-width: 640px) {
  .hero-stage { aspect-ratio: 1200 / 600; }
  .hero-stage .jm-label, .hero-stage .jm-badge { display: none; }
  .stage-legend { display: grid; gap: 8px; }
  .stage-legend li { border-radius: 14px; align-items: flex-start; }
}

/* Loyalty: кольцо этапов с «планетой» и переворачиваемая карта (редакция 3.5) */
.page-hero-art:has(.scheme--orbit) { max-width: 600px; }
.scheme--orbit { width: 100%; height: auto; }
.orbit-diamond { transform-box: fill-box; transform-origin: center; transition: fill .3s ease; }
.orbit-runner { transform-box: view-box; transform-origin: 320px 236px; transform: rotate(-90deg); }
@keyframes orbit-run {
  0%, 12% { transform: rotate(-90deg); }
  25%, 37% { transform: rotate(0deg); }
  50%, 62% { transform: rotate(90deg); }
  75%, 87% { transform: rotate(180deg); }
  100% { transform: rotate(270deg); }
}
@keyframes node-1 { 0%, 14%, 98%, 100% { fill: #ff4f02; transform: scale(1.35); } 20%, 92% { fill: #8a8a90; transform: scale(1); } }
@keyframes node-2 { 0%, 20%, 42%, 100% { fill: #8a8a90; transform: scale(1); } 25%, 37% { fill: #ff4f02; transform: scale(1.35); } }
@keyframes node-3 { 0%, 45%, 67%, 100% { fill: #8a8a90; transform: scale(1); } 50%, 62% { fill: #ff4f02; transform: scale(1.35); } }
@keyframes node-4 { 0%, 70%, 92%, 100% { fill: #8a8a90; transform: scale(1); } 75%, 87% { fill: #ff4f02; transform: scale(1.35); } }
@media (prefers-reduced-motion: no-preference) {
  .orbit-runner { animation: orbit-run 12s cubic-bezier(.65, 0, .35, 1) infinite; }
  .orbit-node-1 .orbit-diamond { animation: node-1 12s linear infinite; }
  .orbit-node-2 .orbit-diamond { animation: node-2 12s linear infinite; }
  .orbit-node-3 .orbit-diamond { animation: node-3 12s linear infinite; }
  .orbit-node-4 .orbit-diamond { animation: node-4 12s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .orbit-node-1 .orbit-diamond { fill: #ff4f02; } }

.card3d-stage { left: 50%; top: 49.2%; width: 40%; border: 0; padding: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.card3d-stage:focus-visible { outline: 2px solid var(--orange); outline-offset: 8px; border-radius: 12px; }
.card3d { display: block; }
.card3d-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.card3d-stage[aria-pressed="true"] .card3d-inner { transform: rotateY(180deg); }
.card3d-back { transform: rotateY(180deg); background: linear-gradient(140deg, #ff6a26 0%, #ff4f02 55%, #e04400 100%); border-color: #ff8a4f; color: #0b0b0c; justify-content: center; gap: 4cqw; }
.card3d-back::after { background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%); }
.card3d-quote { font-family: var(--font-display); font-weight: 700; font-size: max(12px, 6.6cqw); line-height: 1.18; text-align: left; }
.card3d-src { font-size: max(11px, 4.6cqw); font-weight: 600; opacity: .85; }
.card3d-flip { display: inline-grid; place-items: center; width: 9cqw; height: 9cqw; margin-left: 3cqw; border: 1px solid #45454d; border-radius: 50%; font-size: .9em; color: #fff; }
.card3d-foot { display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 640px) { .card3d-stage { width: 48%; } }
.card3d-face { text-align: left; }
.nw { white-space: nowrap; }

/* Карусель Loyalty: цветные кадры-истории (редакция 3.5) */
.sc-art { background: var(--art-bg, #121214); }
.step-art * { transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  .sc-slide.is-active .a-phone { animation: a-approach 4.8s var(--ease-out) infinite; }
  .sc-slide.is-active .step-art--qr .a-laser { animation: a-laser 1.6s ease-in-out infinite; }
  .sc-slide.is-active .a-corners { transform-origin: center; animation: a-pulse 1.6s ease-in-out infinite; }
  .sc-slide.is-active .a-toast { animation: a-toast 4.8s var(--ease-out) infinite; }
  .sc-slide.is-active .step-art--card .a-phone { animation: none; }
  .sc-slide.is-active .a-type1 { animation: a-type1 6s steps(4, end) infinite; }
  .sc-slide.is-active .a-type2 { animation: a-type2 6s steps(16, end) infinite; }
  .sc-slide.is-active .a-check { transform-origin: center; animation: a-check 6s ease infinite; }
  .sc-slide.is-active .a-btn { transform-origin: center; animation: a-press 6s ease infinite; }
  .sc-slide.is-active .a-newcard { animation: a-newcard 6s var(--ease-out) infinite; }
  .sc-slide.is-active .a-receipt { animation: a-print 5s var(--ease-out) infinite; }
  .sc-slide.is-active .a-plus { transform-origin: center; animation: a-pop1 5s var(--ease-out) infinite; }
  .sc-slide.is-active .a-bar { transform-origin: 0 50%; animation: a-fill 5s var(--ease-out) infinite; }
  .sc-slide.is-active .a-n1 { animation: a-note1 6s var(--ease-out) infinite; }
  .sc-slide.is-active .a-n2 { animation: a-note2 6s var(--ease-out) infinite; }
  .sc-slide.is-active .a-n3 { animation: a-note3 6s var(--ease-out) infinite; }
  .sc-slide.is-active .a-route { stroke-dasharray: 1; animation: a-draw 5s ease-in-out infinite; }
  .sc-slide.is-active .a-pin { transform-origin: 50% 100%; animation: a-bounce 5s ease infinite; }
  .sc-slide.is-active .a-spend { transform-origin: center; animation: a-pop2 5s var(--ease-out) infinite; }
  .sc-slide.is-active .a-link { animation: a-send 5s ease-in-out infinite; }
  .sc-slide.is-active .a-gift { transform-origin: center; animation: a-pop3 5s var(--ease-out) infinite; }
  .sc-slide.is-active .a-review { transform-origin: center; animation: a-pop4 5s var(--ease-out) infinite; }
  .sc-slide.is-active .a-heart { transform-origin: center; animation: a-beat 1.2s ease-in-out infinite; }
}
@keyframes a-approach { 0% { transform: translateX(-14px) rotate(-3deg); } 22%, 100% { transform: none; } }
@keyframes a-laser { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(92px); } }
@keyframes a-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.94); } }
@keyframes a-toast { 0%, 60% { opacity: 0; transform: translateY(14px); } 70%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes a-type1 { 0%, 6% { clip-path: inset(0 100% 0 0); } 22%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes a-type2 { 0%, 24% { clip-path: inset(0 100% 0 0); } 48%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes a-check { 0%, 52% { opacity: 0; transform: scale(.4); } 58%, 100% { opacity: 1; transform: none; } }
@keyframes a-press { 0%, 60%, 68%, 100% { transform: none; } 64% { transform: scale(.93); } }
@keyframes a-newcard { 0%, 66% { opacity: 0; transform: translate(-70px, 40px) scale(.7); } 80%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes a-print { 0%, 4% { transform: translateY(-104px); } 32%, 100% { transform: none; } }
@keyframes a-pop1 { 0%, 34% { opacity: 0; transform: scale(.6); } 44%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes a-fill { 0%, 44% { transform: scaleX(0); } 76%, 100% { transform: scaleX(1); } }
@keyframes a-note1 { 0%, 8% { opacity: 0; transform: translateX(40px); } 18%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes a-note2 { 0%, 34% { opacity: 0; transform: translateX(40px); } 44%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes a-note3 { 0%, 60% { opacity: 0; transform: translateX(40px); } 70%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes a-draw { 0% { stroke-dashoffset: 1; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes a-bounce { 0%, 42% { opacity: 0; transform: translateY(-30px); } 50% { opacity: 1; transform: none; } 55% { transform: translateY(-10px); } 60%, 100% { transform: none; } }
@keyframes a-pop2 { 0%, 60% { opacity: 0; transform: scale(.7) translateY(10px); } 70%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes a-send { 0%, 6% { opacity: 0; transform: translateX(-90px); } 14% { opacity: 1; } 44% { opacity: 1; transform: translateX(80px); } 52%, 100% { opacity: 0; transform: translateX(90px); } }
@keyframes a-pop3 { 0%, 48% { opacity: 0; transform: scale(.6); } 58%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes a-pop4 { 0%, 64% { opacity: 0; transform: translateY(16px); } 74%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes a-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.sc-text .sc-num { background: var(--dawn); }

/* Яндекс Карты: скриншот карточки в рамке телефона с подписями (редакция 3.6) */
.phone-shot { position: relative; display: grid; grid-template-columns: 46% minmax(0, 1fr); width: 100%; max-width: 460px; margin-inline: auto; }
.phone-frame { position: relative; border-radius: 13% / 6%; overflow: hidden; background: #000; border: 6px solid #1c1c1f; box-shadow: 0 0 0 1px #3a3a40; }
.phone-frame img { display: block; width: 100%; height: auto; }
.phone-notes { position: relative; list-style: none; margin: 0; padding: 0; }
.phone-notes li { position: absolute; left: 0; right: 0; top: var(--y); transform: translateY(-50%); display: flex; align-items: center; gap: 8px; color: #e4e4e8; font-size: clamp(.75rem, 1.15vw, .9375rem); font-weight: 600; line-height: 1.2; }
.phone-notes li::before { content: ""; flex: 0 0 22px; height: 1px; margin-left: -10px; background: repeating-linear-gradient(90deg, #8a8a90 0 3px, transparent 3px 6px); }
.phone-notes li::after { content: ""; order: -1; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--orange); flex: 0 0 auto; position: relative; left: -2px; }
.page-hero-art:has(.phone-shot) { max-width: 480px; }
@media (max-width: 640px) { .phone-notes li { font-size: .75rem; } .phone-shot { grid-template-columns: 50% minmax(0, 1fr); } }

/* Разработка сайтов: анимация сборки сайта курсорами */
.build-embed { width: 100%; }
.build-embed iframe { display: block; width: 100%; aspect-ratio: 1100 / 850; border: 0; border-radius: 14px; background: transparent; }
.page-hero-art:has(.build-embed) { max-width: 560px; }

/* Первый экран: видео маршрута (редакция 3.7) */
.hero-stage--video, .hero-stage--video { aspect-ratio: 1920 / 912; background: #0b0b0c; }
@media (max-width: 960px) { .hero-stage--video { aspect-ratio: 1920 / 912; } }
@media (max-width: 640px) { .hero-stage--video { aspect-ratio: 1920 / 912; } }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   Контент-план на экране MacBook (виджет владельца, блок «Ведение соцсетей»)
   ===================================================================== */
.acp-widget {
    --acp-ink: #202124;
    --acp-line: #dadce0;
    --acp-green: #13784c;
    --acp-post: #fce4ce;
    --acp-story: #fff1db;
    --acp-carousel: #ddf1e4;
    --acp-approval: #ece6f8;
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    container-type: inline-size;
    max-width: 1200px;
    margin-inline: auto;
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 43%, #313740, #1b1e23 53%, #121316 94%);
    color: var(--acp-ink);
    font: 14px/1.35 Arial, sans-serif;
  }
  .acp-widget *, .acp-widget *::before, .acp-widget *::after { box-sizing: border-box; }
  .acp-widget [hidden] { display: none !important; }
  .acp-stage {
    --acp-deck-angle: 70deg;
    --acp-thickness: 1.45cqw;
    --acp-lid-open: translateY(0) translateZ(0) rotateX(7deg);
    --acp-lid-closed: translateY(-.85cqw) translateZ(.5cqw) rotateX(-110deg);
    position: relative;
    aspect-ratio: 1.27;
    perspective: 450cqw;
    perspective-origin: 50% 70%;
  }
  .acp-shadow {
    position: absolute;
    inset: auto 5% 4.5%;
    height: 12%;
    border-radius: 50%;
    background: radial-gradient(ellipse, #000f 15%, #0009 52%, #0000 75%);
    filter: blur(1.1cqw);
  }
  .acp-machine {
    position: absolute;
    top: 70%;
    left: 10.5%;
    width: 79%;
    height: 0;
    transform: rotateY(-4deg);
    transform-style: preserve-3d;
  }
  .acp-deck, .acp-lid { position: absolute; width: 100%; aspect-ratio: 1.66; }
  .acp-deck {
    top: 0;
    transform: rotateX(var(--acp-deck-angle));
    transform-origin: top center;
    transform-style: preserve-3d;
  }
  .acp-deck-top, .acp-deck-bottom {
    position: absolute;
    inset: 0;
    border-radius: .95cqw .95cqw 1.8cqw 1.8cqw;
  }
  .acp-deck-top {
    border: max(1px, .08cqw) solid #a1a7ad;
    background: linear-gradient(109deg, #858b94 0%, #6c737d 53%, #4c525c 100%);
    box-shadow: inset 0 0 0 .17cqw #ffffff28;
  }
  .acp-deck-bottom {
    transform: translateZ(calc(-1 * var(--acp-thickness)));
    background: #474d56;
    box-shadow: inset 0 0 0 .12cqw #838a94;
  }
  .acp-hinge {
    position: absolute;
    inset: .05cqw 7% auto;
    height: 1.25cqw;
    border-radius: .55cqw;
    background: linear-gradient(180deg, #111316 15%, #30343a 76%, #666e77);
  }
  .acp-speaker {
    position: absolute;
    inset: 8% auto 47% 3%;
    width: 4%;
    background: radial-gradient(circle, #2a3037 34%, transparent 41%) 0 0 / .48cqw .54cqw;
    opacity: .72;
  }
  .acp-speaker + .acp-speaker { left: auto; right: 3%; }
  .acp-keyboard {
    display: grid;
    gap: 3%;
    grid-template-rows: .65fr repeat(5, 1fr);
    position: absolute;
    inset: 8% 9% 47%;
    padding: .6%;
    border-radius: .65cqw;
    background: #3a3e44;
  }
  .acp-keyboard > div { display: flex; gap: .45%; }
  .acp-keyboard i {
    display: grid;
    place-items: center;
    flex: 1;
    border-radius: .28cqw;
    background: linear-gradient(#292c31, #15171a);
    color: #bfc1c5;
    font: normal 500 .73cqw/1 Arial, sans-serif;
  }
  .acp-keyboard .acp-space { flex: 5; }
  .acp-trackpad {
    position: absolute;
    inset: 58% 34% 10%;
    border: max(1px, .09cqw) solid #555c66;
    border-radius: 1cqw;
    background: linear-gradient(140deg, #818792, #6f7680);
    box-shadow: inset 0 .11cqw .18cqw #0002, 0 .09cqw 0 #d2d7dd55;
  }
  .acp-front {
    position: absolute;
    inset: 100% .9cqw auto;
    height: var(--acp-thickness);
    border-radius: .12cqw .12cqw .68cqw .68cqw;
    transform: rotateX(-90deg);
    transform-origin: top center;
    background:
      linear-gradient(180deg, #d1d5d977, #9ea5ae22 24%, #0000 57%, #252a32aa 100%),
      linear-gradient(90deg, #575e69, #969da6 34%, #676f7a 100%);
  }
  .acp-front::after {
    content: "";
    display: block;
    width: 12%;
    height: 54%;
    margin: 0 auto;
    border-radius: 0 0 .5cqw .5cqw;
    background: linear-gradient(#353b44, #565e68);
    box-shadow: 0 .08cqw 0 #b0b7bf55;
  }
  .acp-side {
    position: absolute;
    inset: .72cqw auto 1cqw 0;
    width: var(--acp-thickness);
    transform: rotateY(90deg);
    transform-origin: left center;
    border-radius: .18cqw;
    background: linear-gradient(90deg, #9ca3ac, #676e78 52%, #424750);
  }
  .acp-side + .acp-side { left: 100%; }
  .acp-side i {
    position: absolute;
    left: 32%;
    width: 39%;
    height: 2.3cqw;
    border-radius: .17cqw;
    background: #22262d;
    box-shadow: inset 0 0 0 .1cqw #171a1f;
  }
  .acp-side i:nth-child(1) { top: 8%; }
  .acp-side i:nth-child(2) { top: 15%; }
  .acp-lid {
    bottom: 0;
    transform: var(--acp-lid-open);
    transform-origin: bottom center;
    transform-style: preserve-3d;
  }
  .acp-widget.acp-ready .acp-lid { transition: transform 1750ms cubic-bezier(.28,.68,.23,1); }
  .acp-widget.acp-closed .acp-lid { transform: var(--acp-lid-closed); }
  .acp-widget.acp-reset .acp-lid { transition: none; }
  .acp-display, .acp-cover {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  .acp-cover {
    display: grid;
    place-items: center;
    transform: translateZ(-.4cqw) rotateY(180deg);
    border: 1px solid #92969d;
    border-radius: 2cqw 2cqw .7cqw .7cqw;
    background: linear-gradient(148deg, #9da3ac, #676d77 62%, #535a65);
    box-shadow: inset 0 0 0 .16cqw #bfc5cc77, inset 0 0 .5cqw #959ba4;
  }
  .acp-emblem {
    position: relative;
    width: 4.5cqw;
    height: 3.85cqw;
    border-radius: 46% 45% 43% 43%;
    transform: rotateY(180deg);
    background: #35383d;
  }
  .acp-emblem::before, .acp-emblem::after { content: ""; position: absolute; }
  .acp-emblem::before { width: 36%; height: 32%; top: -29%; left: 52%; border-radius: 90% 15% 90% 15%; background: inherit; transform: rotate(-13deg); }
  .acp-emblem::after { width: 33%; height: 38%; top: 6%; right: -15%; border-radius: 50%; background: #64686f; }
  .acp-display {
    transform: translateZ(.05cqw);
    padding: .95cqw .85cqw 1.2cqw;
    border: max(1px, .13cqw) solid #727984;
    border-radius: 2cqw 2cqw .7cqw .7cqw;
    background: #101113;
    box-shadow: inset 0 0 0 .23cqw #25282c, 0 0 0 1px #24262b;
  }
  .acp-camera {
    position: absolute;
    z-index: 1;
    top: .65cqw;
    left: 50%;
    width: 7cqw;
    height: 1.4cqw;
    transform: translateX(-50%);
    border-radius: 0 0 .55cqw .55cqw;
    background: #101113;
  }
  .acp-camera::after {
    content: "";
    position: absolute;
    top: 35%;
    left: 48%;
    width: .38cqw;
    height: .38cqw;
    border-radius: 50%;
    background: #333d50;
  }
  .acp-screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 1.15cqw 1.15cqw .2cqw .2cqw;
    background: white;
    font-size: 1.18cqw;
  }
  .acp-appbar {
    display: flex;
    align-items: center;
    flex: 0 0 9%;
    gap: 1cqw;
    padding-inline: 1.45cqw;
    background: #f8fafd;
  }
  .acp-appbar strong { font-size: 1.65cqw; font-weight: 600; }
  .acp-icon {
    width: 1.9cqw;
    height: 2.45cqw;
    display: grid;
    place-items: center;
    border-radius: .25cqw;
    background: var(--acp-green);
    color: #fff;
    font-size: 1.35cqw;
    font-weight: bold;
  }
  .acp-toolbar {
    display: flex;
    align-items: center;
    flex: 0 0 6%;
    gap: 1.35cqw;
    margin-inline: 1cqw;
    padding-inline: 1.2cqw;
    border-radius: 2cqw;
    background: #edf2f8;
    color: #48515b;
    font-size: 1.16cqw;
    white-space: nowrap;
  }
  .acp-toolbar span + span { border-left: 1px solid #cdd4dd; padding-left: 1.25cqw; }
  .acp-formula {
    display: flex;
    align-items: center;
    flex: 0 0 5%;
    padding-inline: 1.15cqw;
    color: #58606a;
  }
  .acp-formula i { margin-left: 2.7cqw; padding-left: 1.05cqw; border-left: 1px solid var(--acp-line); font-family: Georgia, serif; }
  .acp-calendar { width: 100%; height: 72%; border-collapse: collapse; table-layout: fixed; font: inherit; }
  .acp-calendar th, .acp-calendar td { padding: 0; border: 1px solid var(--acp-line); }
  .acp-calendar .acp-index { width: 3cqw; }
  .acp-calendar thead tr:first-child { height: 7%; }
  .acp-calendar th { text-align: center; background: #f8f9fa; color: #58606a; font-weight: 400; }
  .acp-calendar th.acp-selected { background: #e7f0ff; color: #174ea6; }
  .acp-calendar .acp-meta { height: 12%; }
  .acp-meta td { padding-inline: 1.1cqw; font-size: 1.28cqw; font-weight: 600; background: #f8fcf9; }
  .acp-meta .acp-status { background: #e1f2e8; color: #176440; text-align: center; }
  .acp-meta .acp-status::before { content: "●"; margin-right: .55cqw; font-size: .85em; }
  .acp-calendar .acp-weekdays { height: 10%; }
  .acp-weekdays th[scope="col"] { background: #e7f2eb; color: #23523b; font-weight: 700; }
  .acp-calendar tbody td {
    position: relative;
    padding: .42cqw .75cqw;
    vertical-align: top;
    box-shadow: inset 0 0 0 0 transparent;
    font-weight: 700;
    font-size: 1.25cqw;
  }
  .acp-calendar tbody td small { display: block; font-size: .99cqw; font-weight: 400; margin-top: .26cqw; }
  .acp-widget .acp-post { background: var(--acp-post); }
  .acp-widget .acp-story { background: var(--acp-story); }
  .acp-widget .acp-carousel { background: var(--acp-carousel); }
  .acp-widget .acp-approval { background: var(--acp-approval); color: #482e78; }
  .acp-approval::after { content: "◆"; position: absolute; top: .41cqw; right: .67cqw; color: #7956a8; }
  .acp-calendar tbody .acp-approval-mark { font-size: .91cqw; }
  .acp-calendar tbody .acp-empty { background: #f8f9fa; }
  .acp-legend {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1.45cqw;
    padding-inline: 3.75cqw 1cqw;
    font-size: 1.04cqw;
    white-space: nowrap;
  }
  .acp-legend span { display: inline-flex; align-items: center; gap: .4cqw; }
  .acp-legend i { width: .9cqw; height: .9cqw; border: 1px solid #0001; border-radius: .15cqw; }
  .acp-legend .acp-diamond { width: .66cqw; height: .66cqw; margin-inline: .12cqw; transform: rotate(45deg); background: #7956a8; }
  .acp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4.25% 3%;
    color: #c3c6ce;
    font-size: clamp(11px, 1.22cqw, 14px);
  }
  .acp-footer p { margin: 0; }
  .acp-replay {
    flex: none;
    padding: .55em .85em;
    border: 1px solid #6b707b;
    border-radius: 999px;
    background: #22262d;
    color: #f4f5f6;
    font: inherit;
    cursor: pointer;
  }
  .acp-replay:hover { background: #333941; }
  .acp-replay:focus-visible { outline: 2px solid #a7ebc9; outline-offset: 3px; }
  .acp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  @container (max-width: 540px) {
    .acp-calendar tbody td small { font-size: 1.27cqw; }
    .acp-calendar tbody td .acp-approval-mark { display: none; }
    .acp-legend { font-size: 1.55cqw; gap: 1.6cqw; }
    .acp-legend i { width: 1.22cqw; height: 1.22cqw; }
    .acp-legend .acp-diamond { width: .88cqw; height: .88cqw; }
    .acp-calendar tbody td { font-size: 1.64cqw; }
    .acp-footer { flex-wrap: wrap; padding-bottom: 4%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .acp-widget.acp-ready .acp-lid { transition: none; transform: var(--acp-lid-open); }
    .acp-widget .acp-replay { display: none; }
  }

/* 3.8 — правки по комментариям: сборка сайта на весь блок, телефон по центру, видео в первом экране */
.svc-card-art:has(.build-embed) { position: relative; padding: 0; background: #1c1c1e; }
.svc-card-art:has(.build-embed) .svc-art-inner, .svc-card-art:has(.build-embed) .scheme-wrap { position: absolute; inset: 0; max-width: none; }
.svc-card-art .build-embed { position: absolute; inset: 0; }
.svc-card-art .build-embed iframe { height: 100%; aspect-ratio: auto; border-radius: 0; }
.phone-shot { display: flex; justify-content: center; align-items: stretch; width: auto; max-width: none; }
.phone-shot .phone-frame { flex: 0 0 auto; width: clamp(150px, 40%, 230px); }
.phone-shot .phone-notes { flex: 0 0 auto; width: 13.5rem; margin-left: 14px; }
.phone-shot .phone-notes li { white-space: nowrap; }
.svc-card-art:has(.phone-shot) .scheme-wrap { width: 100%; display: flex; justify-content: center; }
.svc-card-art:has(.acp-widget) { padding: var(--space-2); }
