/* ==========================================================
   HDY Digital: лендинг-каталог. Стиль p2:
   светло-серый #EFEFEF, белый, чёрный #0A0A0A, жёлтый #FFE14D (переменные --sand/--navy/--pink оставлены по именам).
   Заголовки Oswald капсом, текст Inter. Прямоугольные кнопки, рамки, тени-сдвиги.
   ========================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20B8; }

@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("../assets/fonts/oswald-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("../assets/fonts/oswald-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("../assets/fonts/oswald-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --sand: #efefef;
  --sand-2: #e2e2e2;
  --cream: #ffffff;
  --navy: #0a0a0a;
  --navy-2: #262626;
  --pink: #ffe14d;
  --pink-2: #f5cf1f;

  --bg: var(--sand);
  --text: var(--navy);
  --muted: #3d3d3d;
  --dim: #555555;
  --line: var(--navy);
  --accent: var(--pink);

  --bw: 3px;              /* рамка карточек */
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 160ms;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --disp: "Oswald", Impact, "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--pink); color: var(--navy); }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 7px rgba(255, 225, 77, .8); }
.dark :focus-visible { outline-color: var(--cream); }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--pink); color: var(--navy); border: 2px solid var(--navy);
  padding: 12px 16px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 900px; }

/* тёмные зоны: шапка, первый экран, финал, подвал */
.dark { background: var(--navy); color: var(--cream); --text: var(--cream); --muted: #cfcfcf; --dim: #b5b5b5; --line: var(--sand); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border: 2px solid var(--navy); border-radius: 0;
  font-weight: 800; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.15;
  cursor: pointer; text-align: center;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t), color var(--t);
}
.btn:active { transform: translate(2px, 2px); }
/* главная кнопка WhatsApp: розовая, синяя рамка, тень-сдвиг */
.btn--wa { background: var(--pink); color: var(--navy); border-color: var(--navy); box-shadow: 5px 5px 0 var(--navy); }
.btn--wa:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--navy); }
.btn--wa:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--navy); }
.dark .btn--wa { box-shadow: 5px 5px 0 var(--cream); }
.dark .btn--wa:hover { box-shadow: 8px 8px 0 var(--cream); }
.dark .btn--wa:active { box-shadow: 2px 2px 0 var(--cream); }
/* второстепенные */
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--navy); }
.btn--outline { background: var(--cream); color: var(--navy); }
.btn--outline:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--navy); }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 40; border-bottom: 3px solid var(--pink); }
.top__in { display: flex; align-items: center; gap: 12px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0;
  font-family: var(--disp); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .01em; color: var(--sand); }
.logo__mark { width: 20px; height: 20px; flex: none; background: var(--pink); }
.logo__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }
.top__nav { display: none; gap: 2px; margin-left: 20px; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--sand);
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.top__nav a:hover { color: var(--pink); }
.top__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.top__cta-text { display: none; }
.top .btn--wa { width: 46px; min-height: 46px; padding: 0; box-shadow: 3px 3px 0 var(--cream); }
.top .btn--wa:hover { box-shadow: 5px 5px 0 var(--cream); }

.lang { display: inline-flex; border: 2px solid var(--sand); }
.lang__btn {
  min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; border-radius: 0;
  background: transparent; color: var(--sand); font-size: 14px; font-weight: 800; letter-spacing: .04em; cursor: pointer;
}
.lang__btn[aria-pressed="true"] { background: var(--pink); color: var(--navy); }
.lang__btn:not([aria-pressed="true"]):hover { background: rgba(255, 255, 255, .12); }

@media (min-width: 900px) {
  .top__nav { display: flex; }
  .top__cta-text { display: inline; }
  .top .btn--wa { width: auto; padding: 0 16px; }
  .logo__name { max-width: 280px; }
}

/* ---------- общие секции ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--cream { background: var(--cream); }
.sec-head { max-width: 860px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  padding: 6px 12px; background: var(--pink); color: var(--navy); border: 2px solid var(--navy);
  font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3;
}
.kicker__num { font-family: var(--disp); font-weight: 700; font-size: 16px; }
h2 {
  font-family: var(--disp); font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 1rem + 4.2vw, 76px); line-height: 1.04; letter-spacing: 0;
  overflow-wrap: break-word; hyphens: auto;
}
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }
.sec-head__sub { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1rem + .3vw, 19px); max-width: 620px; }

/* ---------- первый экран ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 520px at 75% 35%, var(--navy-2), var(--navy) 70%);
  padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 5vw, 64px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 48px 100%;
}
.hero__in { display: grid; gap: 28px; align-items: center; }
.hero__text { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px;
  border: 2px solid var(--sand); color: var(--sand);
  font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1.3;
}
.dot { width: 9px; height: 9px; flex: none; background: var(--pink); }
.hero__title {
  margin: 22px 0 20px; color: var(--cream);
  font-family: var(--disp); font-weight: 700; text-transform: uppercase;
  font-size: clamp(38px, 10.6vw, 96px); line-height: 1.12; letter-spacing: -.005em;
  overflow-wrap: break-word;
}
.hero__title mark, .rot__w {
  color: var(--navy); background: linear-gradient(var(--pink), var(--pink)) 0 54% / 100% .94em no-repeat;
  padding: 0 .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.rot { display: inline-grid; vertical-align: bottom; line-height: 1.12; padding-top: .04em; }
.rot__w { grid-area: 1 / 1; justify-self: start; width: max-content; opacity: 0;
  transform: translateY(.4em) rotateX(-60deg); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.rot__w.on { opacity: 1; transform: none; }
.hero__sub { max-width: 34em; color: var(--muted); font-size: clamp(16px, 1rem + .35vw, 19px); line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px 18px; margin-top: 30px; padding-right: 6px; }
.hero__cta .btn { flex: 1 1 100%; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (min-width: 560px) { .hero__cta .btn { flex: 0 0 auto; } }

/* 3D-телефон */
.hero__show { min-width: 0; }
.stage { position: relative; height: 540px; perspective: 1300px; display: grid; place-items: center; }
.ph-wrap { transform-style: preserve-3d; animation: phFloat 7s ease-in-out infinite; }
@keyframes phFloat { 50% { transform: translateY(-12px); } }
.ph { --rx: 8deg; --ry: -24deg; position: relative; width: 250px; height: 510px; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.ph__l { position: absolute; inset: 0; border-radius: 44px; background: #16224a; transform: translateZ(calc(var(--z) * -1px)); }
.ph__l:nth-child(odd) { background: #223060; }
.ph__back { position: absolute; inset: 0; border-radius: 44px; background: var(--navy); transform: translateZ(-13px) rotateY(180deg); }
.ph__front { position: absolute; inset: 0; border-radius: 44px; background: var(--navy); padding: 9px;
  box-shadow: inset 0 0 0 1.5px #34437a, 0 0 0 2px var(--pink); transform: translateZ(1px); }
.ph__scr { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--cream); color: var(--navy); }
.ph__scr::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 76px; height: 22px; border-radius: 12px; background: var(--navy); z-index: 3; }
.ph__glare { position: absolute; inset: 0; border-radius: 36px; pointer-events: none; z-index: 4;
  background: linear-gradient(115deg, rgba(255, 255, 255, .19) 0%, transparent 28%); }
.ph__shadow { position: absolute; bottom: 4px; width: 220px; height: 30px; border-radius: 50%;
  background: radial-gradient(rgba(255, 225, 77, .33), transparent 70%); filter: blur(6px); }

.ps { position: absolute; inset: 0; padding: 42px 14px 14px; display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1);
  font-size: 14px; line-height: 1.3; }
.ps.on { opacity: 1; transform: none; }
.ps__h { font-size: 15px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.ps__cart { display: inline-flex; gap: 4px; align-items: center; padding: 2px 8px; background: var(--pink); font-size: 14px; font-weight: 700; }
.ps__cart .i { width: 15px; height: 15px; }
.ps__banner { height: 88px; display: grid; place-items: end start; padding: 10px; background: var(--pink); border: 2px solid var(--navy); border-radius: 6px;
  font-family: var(--disp); font-weight: 700; font-size: 20px; line-height: 1.1; text-transform: uppercase; }
.ps__prod { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--sand-2); border-radius: 6px; }
.ps__prod i { width: 30px; height: 30px; flex: none; display: grid; place-items: center; background: var(--navy); color: var(--sand); border-radius: 4px; }
.ps__prod i .i { width: 16px; height: 16px; }
.ps__prod b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ps__prod span { margin-left: auto; font-weight: 700; white-space: nowrap; }
.ps__buy { margin-top: auto; padding: 12px 6px; text-align: center; background: var(--navy); color: var(--sand); border-radius: 6px;
  font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.ps__chat { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--navy); }
.ps__chat i { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--pink); border: 2px solid var(--navy); }
.ps__chat i .i { width: 15px; height: 15px; }
.ps__chat small { display: block; font-size: 14px; color: #555b74; }
.ps__bb { max-width: 86%; padding: 8px 11px; border-radius: 8px; background: var(--sand-2); }
.ps__bb--me { align-self: flex-end; background: var(--navy); color: var(--cream); }
.ps__qr { display: flex; flex-wrap: wrap; gap: 6px; }
.ps__qr span { padding: 5px 10px; background: var(--pink); border: 2px solid var(--navy); font-weight: 700; }
.ps__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps__stats div { padding: 10px; background: var(--sand-2); border-radius: 6px; }
.ps__stats small { display: block; font-size: 14px; color: #555b74; }
.ps__stats b { font-size: 22px; }
.ps__deal { display: flex; align-items: center; gap: 8px; padding: 9px 10px; background: var(--sand-2); border-radius: 6px; }
.ps__deal em { margin-left: auto; padding: 2px 8px; font-style: normal; font-size: 14px; font-weight: 700; white-space: nowrap; background: var(--navy); color: var(--sand); }
.ps__deal em.g { background: var(--pink); color: var(--navy); }

.fl { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; white-space: nowrap;
  background: var(--cream); color: var(--navy); border: 2px solid var(--navy); box-shadow: 5px 5px 0 var(--navy);
  font-size: 14px; font-weight: 700; }
.fl .i { width: 18px; height: 18px; }
.fl--a { left: -40px; top: 66%; transform: translateZ(80px); }
.fl--b { right: -30px; top: 82%; transform: translateZ(120px); background: var(--pink); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.tabs button { min-height: 46px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: transparent; color: var(--sand); border: 2px solid var(--sand); border-radius: 0;
  font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.tabs button b { font-family: var(--disp); font-weight: 600; font-size: 15px; color: #9a9a9a; }
.tabs button[aria-pressed="true"] { background: var(--pink); color: var(--navy); border-color: var(--pink); }
.tabs button[aria-pressed="true"] b { color: var(--navy); }

@media (max-width: 340px) {
  .ph { width: 236px; height: 480px; }
  .stage { height: 510px; }
  .ps { padding: 42px 12px 12px; }
  .ps__prod { gap: 7px; padding: 8px; }
  .ps__prod i { width: 26px; height: 26px; }
}
@media (max-width: 560px) { .fl { display: none; } }
@media (min-width: 980px) {
  .hero__in { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stage { height: 720px; margin-top: -40px; }
  .ph { width: 330px; height: 670px; }
  .tabs { justify-content: center; }
}

/* полоса ою-орнамента */
.band { height: 44px; background: var(--navy); color: var(--pink); border-block: 3px solid var(--navy); }
.band svg { display: block; width: 100%; height: 100%; }

/* ---------- каталог ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards > :last-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .card { grid-column: span 2; }
  .card--wide { grid-column: span 3; }
  .cards > :last-child { grid-column: span 2; }
}
.card__link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 24px; background: var(--cream); border: var(--bw) solid var(--navy);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t);
}
.card__link:hover { background: var(--pink); transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--navy); }
.card__ic { width: 56px; height: 56px; display: grid; place-items: center; background: var(--pink); color: var(--navy);
  border: 2px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); }
.card__ic .i { width: 26px; height: 26px; }
.card__link:hover .card__ic { background: var(--cream); }
.card__num { position: absolute; top: 20px; right: 22px; font-family: var(--disp); font-weight: 700; font-size: 20px; }
.card__name { margin-top: 22px; font-family: var(--disp); font-weight: 700; font-size: 26px; line-height: 1.08; text-transform: uppercase; }
.card__text { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.55; flex: 1; }
.card__price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; font-size: 15px; color: var(--muted); }
.card__price b, .svc__price b { display: inline-block; padding: 2px 8px; background: var(--navy); color: var(--sand); font-weight: 700; }
.card__price[hidden], .svc__price[hidden] { display: none; }
.price-pair { white-space: nowrap; }
.price-note { display: block; flex-basis: 100%; margin-top: 2px; font-size: 14px; color: var(--muted); font-weight: 500; }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; min-height: 24px;
  font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.card__more .i { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.card__link:hover .card__more .i { transform: translateX(3px); }

/* ---------- блоки услуг ---------- */
.svc { padding: clamp(56px, 8vw, 104px) 0; border-top: var(--bw) solid var(--navy); background: var(--sand); }
.svc:nth-of-type(odd) { background: var(--cream); }
.svc__in { display: grid; gap: 36px; align-items: center; }
.svc__text { min-width: 0; }
.svc__text h2 { font-size: clamp(32px, 1rem + 3vw, 56px); }
.ticks { margin-top: 26px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 38px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border: 2px solid var(--navy);
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2a55' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.svc__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 32px; }
.svc__price { color: var(--muted); font-size: 15px; }
@media (min-width: 1000px) {
  .svc__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
  .svc--flip .svc__in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .svc--flip .svc__text { order: 2; }
}

/* ---------- рамка демо ---------- */
.demo { min-width: 0; padding: 14px; background: var(--cream); border: var(--bw) solid var(--navy); box-shadow: 8px 8px 0 var(--navy); }
.svc:nth-of-type(odd) .demo { background: var(--sand); }
.demo__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 0 12px; }
.demo__label { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: var(--pink); color: var(--navy);
  border: 2px solid var(--navy); font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.demo__label .i { width: 15px; height: 15px; }
.demo__reset { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; cursor: pointer;
  border: 2px solid var(--navy); border-radius: 0; background: var(--cream); color: var(--navy);
  font-size: 14px; font-weight: 700; transition: background var(--t); }
.demo__reset:hover { background: var(--pink); }
.demo__reset .i { width: 16px; height: 16px; }
.demo__stage { container-type: inline-size; overflow: hidden; border: 2px solid var(--navy); }
.demo__stage--tg { border: 0; }
.demo__stage--tg .chat { border: 2px solid var(--navy); }
.demo__hint { padding: 12px 2px 0; color: var(--muted); font-size: 14px; }

/* ---------- демо: сайт ---------- */
.shop { background: var(--cream); color: var(--navy); padding: 14px; position: relative; }
.shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 2px 14px; }
.shop__name { display: inline-flex; align-items: center; gap: 8px; font-family: var(--disp); font-weight: 700; font-size: 19px; text-transform: uppercase; }
.shop__name .i { width: 18px; height: 18px; }
.shop__cart { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--navy); color: var(--sand); font-size: 14px; }
.shop__cart .i { width: 16px; height: 16px; }
.shop__cart.is-bump { animation: bump 240ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
.shop__grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@container (min-width: 460px) { .shop__grid { grid-template-columns: repeat(3, 1fr); } }
.prod { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto auto; column-gap: 12px;
  background: #fff; border: 2px solid var(--navy); padding: 10px; }
.prod__img { grid-row: 1 / 4; display: grid; place-items: center; aspect-ratio: 1; color: var(--navy); }
.prod__img .i { width: 28px; height: 28px; stroke-width: 1.7; }
.prod__img--a { background: var(--pink); }
.prod__img--b { background: var(--sand-2); }
.prod__img--c { background: #fff3b8; }
.prod__name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.prod__price { font-size: 14px; color: var(--muted); margin-top: 2px; }
.prod__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.prod__add { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; cursor: pointer;
  border: 0; background: var(--navy); color: var(--cream); font-size: 14px; font-weight: 700; transition: background var(--t); }
.prod__add:hover { background: var(--navy-2); }
.prod__add .i { width: 16px; height: 16px; }
.prod__qty { font-size: 14px; font-weight: 700; color: var(--navy); }
@container (min-width: 460px) {
  .prod { grid-template-columns: 1fr; }
  .prod__img { grid-row: auto; aspect-ratio: 4 / 3; margin-bottom: 10px; }
  .prod__add { flex: 1; justify-content: center; padding: 0 8px; }
}
.shop__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 14px 2px 6px; border-top: 2px solid var(--navy); }
.shop__total { font-size: 15px; color: var(--muted); }
.shop__total b { color: var(--navy); font-size: 17px; }
.shop__checkout { box-shadow: 4px 4px 0 var(--navy); }
.shop__checkout .i { width: 16px; height: 16px; }
.shop__notif { display: grid; gap: 8px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 300ms var(--ease), opacity 200ms var(--ease), margin 200ms; }
.shop__notif.is-on { max-height: 460px; opacity: 1; margin-top: 14px; }
/* уведомление WhatsApp остаётся в родных цветах */
.wa-notif { background: #111b21; color: #e9edef; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.wa-notif__app { display: flex; align-items: center; gap: 6px; color: #8696a0; font-size: 14px; margin-bottom: 6px; }
.wa-notif__app .i { width: 15px; height: 15px; color: #25d366; }
.wa-notif__title { display: block; font-size: 15px; margin-bottom: 4px; }
.wa-notif__list li::before { content: "· "; color: #8696a0; }
.wa-notif__total, .wa-notif__meta { margin-top: 6px; }
.wa-notif__meta { color: #aebac1; }
.wa-notif__cap { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--navy); font-weight: 700; }
.wa-notif__cap .i { width: 16px; height: 16px; }

/* ---------- демо: CRM ---------- */
.kb { background: var(--sand); padding: 12px; color: var(--navy); }
.kb__sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 4px 2px 12px; font-size: 14px; color: var(--muted); }
.kb__sum > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.kb__sum .i { width: 16px; height: 16px; color: var(--navy); }
.kb__total { font-family: var(--disp); font-size: 26px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.kb__total.is-bump { animation: bumpText 300ms var(--ease); }
@keyframes bumpText { 40% { transform: translateY(-3px); } }
.kb__deals { margin-left: auto; padding: 2px 8px; background: var(--pink); color: var(--navy); font-weight: 700; }
.kb__cols { display: grid; gap: 10px; grid-template-columns: 1fr; }
@container (min-width: 520px) { .kb__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kb__col { background: var(--cream); border: 2px solid var(--navy); padding: 10px; min-height: 92px; transition: background var(--t); }
.kb__col.is-over { background: var(--pink); border-style: dashed; }
.kb__head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); padding: 2px 2px 10px; }
.kb__dot { width: 10px; height: 10px; border: 2px solid var(--navy); background: var(--cream); }
.kb__col--c2 .kb__dot { background: var(--pink); }
.kb__col--c3 .kb__dot { background: var(--navy); }
.kb__n { margin-left: auto; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.kb__list { display: grid; gap: 8px; }
.kb__card { display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 0; background: #fff; border: 2px solid var(--navy); }
.kb__card.is-new { animation: cardIn 240ms var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.kb__card.is-dragging { opacity: .35; }
.kb__grip { display: grid; place-items: center; width: 28px; min-height: 44px; color: var(--muted); cursor: grab;
  touch-action: none; user-select: none; -webkit-user-select: none; flex: none; }
.kb__grip:active { cursor: grabbing; }
.kb__grip .i { width: 16px; height: 16px; }
.kb__body { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.kb__name { font-size: 14px; color: var(--navy); overflow-wrap: break-word; }
@container (min-width: 520px) {
  .kb__card { display: grid; grid-template-columns: 28px 1fr 44px; grid-template-areas: "name name name" "grip money move"; padding: 10px 2px 0 0; gap: 0; }
  .kb__body { display: contents; }
  .kb__name { grid-area: name; padding: 0 8px 0 10px; }
  .kb__grip { grid-area: grip; }
  .kb__money { grid-area: money; align-self: center; margin: 0; }
  .kb__move { grid-area: move; }
}
.kb__money { font-size: 14px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; margin-top: 2px; }
.kb__move { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 0;
  background: transparent; color: var(--navy); cursor: pointer; transition: background var(--t); }
.kb__move:hover { background: var(--pink); }
.kb__move .i { width: 16px; height: 16px; }
.kb__ghost { position: fixed; z-index: 90; pointer-events: none; margin: 0; list-style: none;
  box-shadow: 6px 6px 0 var(--navy); transform: rotate(2deg); color: var(--navy); font-family: var(--font); }

/* ---------- демо: чаты (родные цвета WhatsApp и Telegram) ---------- */
.chat { display: flex; flex-direction: column; overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.chat__ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.chat__ava .i { width: 18px; height: 18px; }
.chat__who { display: grid; line-height: 1.25; min-width: 0; flex: 1; }
.chat__who b { font-size: 15px; font-weight: 600; }
.chat__who small { font-size: 14px; }
.chat__head-ic { color: #aebac1; }
.chat__head-ic .i { width: 18px; height: 18px; }
.chat__body { height: 340px; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; scroll-behavior: smooth; overscroll-behavior: contain; }
.chat__input { display: flex; align-items: center; justify-content: space-between; margin: 0 10px 10px; padding: 10px 14px; border-radius: 999px; font-size: 14px; }
.chat__input .i { width: 18px; height: 18px; }
.msg { max-width: 84%; padding: 7px 10px 6px; border-radius: 10px; font-size: 15px; line-height: 1.42; position: relative; animation: msgIn 200ms var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.msg p { white-space: pre-line; overflow-wrap: anywhere; }
.msg--in { align-self: flex-start; border-top-left-radius: 4px; }
.msg--out { align-self: flex-end; border-top-right-radius: 4px; }
.msg__time { display: flex; align-items: center; justify-content: flex-end; gap: 3px; font-size: 14px; margin-top: 2px; opacity: .72; }
.msg__ticks { width: 15px; height: 15px; color: #53bdeb; }
.msg--typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; animation: dots 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { opacity: 1; transform: translateY(-3px); } }
.msg-sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; margin: 6px 0; padding: 6px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; animation: msgIn 200ms var(--ease); }
.msg-sys .i { width: 15px; height: 15px; }

.chat--wa { background: #0b141a; color: #e9edef; }
.chat--wa .chat__head { background: #202c33; }
.chat--wa .chat__ava { background: #25d366; color: #062a14; }
.chat--wa .chat__who small { color: #8fd9a8; }
.chat--wa .chat__body { background-color: #0b141a; background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 18px 18px; }
.chat--wa .msg--in { background: #202c33; }
.chat--wa .msg--out { background: #005c4b; }
.chat--wa .msg-sys { background: #182229; color: #8fd9a8; }
.chat--wa .chat__input { background: #202c33; color: #8696a0; }
.chat__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px 10px; min-height: 0; }
.chat--wa .chat__quick { background: #0b141a; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(37, 211, 102, .45); background: rgba(37, 211, 102, .08); color: #7ee2a8;
  font-size: 14px; font-weight: 500; animation: msgIn 200ms var(--ease); transition: background var(--t); }
.chip:hover { background: rgba(37, 211, 102, .18); }

.tgwrap { display: grid; gap: 10px; }
.chat--tg { background: #0e1621; color: #f5f5f5; }
.chat--tg .chat__head { background: #17212b; }
.chat__ava--tg { background: linear-gradient(160deg, #6fb7f0, #2f8fd8); color: #fff; }
.chat--tg .chat__who small { color: #8a98a6; }
.chat--tg .chat__body { background: #0e1621; }
.chat--tg .msg--in { background: #182533; }
.chat--tg .msg--out { background: #2b5278; }
.chat--tg .chat__input { background: #17212b; color: #8a98a6; }
.tg-kb { display: grid; gap: 4px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); max-width: 84%; width: 100%; animation: msgIn 200ms var(--ease); }
.tg-kb__btn { min-height: 44px; padding: 6px 10px; border-radius: 8px; border: 0; cursor: pointer;
  background: rgba(43, 82, 120, .55); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.25; transition: background var(--t); }
.tg-kb__btn small { display: block; color: #a9cbeb; font-size: 14px; font-weight: 400; }
.tg-kb__btn:hover:not([disabled]) { background: rgba(43, 82, 120, .85); }
.tg-kb__btn[disabled] { cursor: default; opacity: .45; }
.tg-kb__btn.is-picked { opacity: 1; outline: 1px solid #5aa9e6; }
.owner { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 300ms var(--ease), opacity 200ms var(--ease); }
.owner.is-on { max-height: 240px; opacity: 1; }
.owner__card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--cream); border: 2px solid var(--navy); }
.owner__ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; background: var(--pink); color: var(--navy); border: 2px solid var(--navy); }
.owner__ic .i { width: 17px; height: 17px; }
.owner__body { display: grid; font-size: 14px; line-height: 1.45; color: var(--muted); }
.owner__body b { color: var(--navy); font-size: 14px; }

/* ---------- демо: Kaspi ---------- */
.ks { position: relative; background: var(--sand); padding: 12px; display: grid; gap: 12px; color: var(--navy); }
.ks__flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: stretch; }
.ks__arrow { display: none; }
@container (min-width: 520px) {
  .ks__flow { grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); align-items: center; }
  .ks__arrow { display: grid; place-items: center; color: var(--navy); }
}
.ks__incoming { min-height: 92px; border: 2px dashed var(--navy); display: grid; background: var(--cream); }
.ks__wait { display: grid; place-items: center; color: var(--muted); }
.ks__order { display: grid; gap: 4px; padding: 12px; background: var(--pink); font-size: 14px; animation: orderIn 240ms var(--ease); }
@keyframes orderIn { from { opacity: 0; transform: translateX(-12px); } }
.ks__badge { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.ks__badge .i { width: 15px; height: 15px; }
.ks__order b { font-weight: 700; }
.ks__order span:last-child { font-variant-numeric: tabular-nums; }
.ks__stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.ks__stats span { display: grid; padding: 10px 12px; background: var(--cream); border: 2px solid var(--navy); }
.ks__stats small { font-size: 14px; color: var(--muted); }
.ks__stats b { font-family: var(--disp); font-size: 21px; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.ks__table { background: var(--cream); border: 2px solid var(--navy); overflow: hidden; }
.ks__tt { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; border-bottom: 2px solid var(--navy); }
.ks__tt .i { width: 16px; height: 16px; }
.ks table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.ks th { text-align: left; font-weight: 700; color: var(--muted); padding: 8px 10px; font-size: 14px; }
.ks td { padding: 9px 10px; border-top: 1px solid rgba(10, 10, 10, .2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ks th:nth-child(1), .ks td:nth-child(1) { width: 18%; }
.ks th:nth-child(3), .ks td:nth-child(3) { width: 26%; }
.ks th:nth-child(4), .ks td:nth-child(4) { width: 25%; }
.ks .num { text-align: right; }
.ks tr.is-new td { animation: rowIn 700ms var(--ease); }
@keyframes rowIn { from { background: var(--pink); } }
.st { display: inline-block; padding: 1px 6px; font-size: 14px; font-weight: 700; }
.st--new { background: var(--pink); color: var(--navy); }
.st--ok { background: var(--navy); color: var(--sand); }
@container (max-width: 440px) {
  /* на узком экране строка таблицы в две строки: товар сверху, сумма и статус снизу */
  .ks thead { display: none; }
  .ks table, .ks tbody { display: block; }
  .ks tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; padding: 8px 12px; border-top: 1px solid rgba(10, 10, 10, .2); }
  .ks td { width: auto !important; padding: 0; border: 0; }
  .ks td:nth-child(1) { display: none; }
  .ks td:nth-child(2) { grid-column: 1 / -1; font-weight: 600; }
  .ks td:nth-child(3) { text-align: left; }
}
.ks__toast { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; min-height: 58px;
  background: var(--cream); border: 2px solid var(--navy); font-size: 14px; line-height: 1.45; color: var(--muted);
  opacity: 0; transform: translateY(6px); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.ks__toast:empty { visibility: hidden; }
.ks__toast.is-on { opacity: 1; transform: none; }
.ks__toast b { display: block; color: var(--navy); }
.ks__toast-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; background: var(--navy); color: var(--cream); }
.ks__toast-ic .i { width: 16px; height: 16px; }
.ks__add { justify-self: start; margin-bottom: 6px; }
.ks__add .i { width: 16px; height: 16px; }

/* ---------- шаги ---------- */
.steps { display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step { position: relative; padding: 24px; background: var(--cream); border: var(--bw) solid var(--navy); }
.step__n { position: absolute; top: 18px; right: 20px; font-family: var(--disp); font-size: 52px; font-weight: 700; line-height: 1;
  color: var(--pink); -webkit-text-stroke: 2px var(--navy); }
.step__ic { width: 28px; height: 28px; color: var(--navy); margin-bottom: 30px; }
.step h3 { margin-bottom: 8px; font-family: var(--disp); font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- почему мы ---------- */
.why { display: grid; gap: 16px; }
@media (min-width: 720px) { .why { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.why__item { background: var(--sand); border: var(--bw) solid var(--navy); padding: clamp(24px, 3vw, 40px); }
.why__item .i { width: 28px; height: 28px; margin-bottom: 20px; padding: 8px; box-sizing: content-box; background: var(--pink); border: 2px solid var(--navy); color: var(--navy); }
.why__item h3 { margin-bottom: 8px; font-family: var(--disp); font-size: 26px; line-height: 1.1; text-transform: uppercase; }
.why__item p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--cream); border: var(--bw) solid var(--navy); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 16px 14px 20px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 700; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { width: 32px; height: 32px; padding: 5px; flex: none; background: var(--pink); border: 2px solid var(--navy); transition: transform var(--t) var(--ease); }
.faq__item[open] summary .i { transform: rotate(45deg); }
.faq__item[open] summary { border-bottom: 2px solid var(--navy); }
.faq__item p { padding: 16px 20px 20px; color: var(--muted); }

/* ---------- финал ---------- */
.final-sec { position: relative; overflow: hidden; border-top: var(--bw) solid var(--navy); }
.final-sec::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 48px 100%; }
.final { position: relative; text-align: center; padding: clamp(8px, 3vw, 32px) 0; }
.final h2 { max-width: 900px; margin: 0 auto; color: var(--cream); }
.final p { max-width: 580px; margin: 18px auto 34px; color: var(--muted); font-size: 18px; }

/* ---------- подвал ---------- */
.foot { border-top: 3px solid var(--pink); padding: 48px 0 calc(100px + env(safe-area-inset-bottom)); }
.foot__in { display: grid; gap: 28px; }
.foot__city { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 15px; }
.foot__city .i { width: 18px; height: 18px; color: var(--pink); }
.foot__h { font-family: var(--font); font-size: 14px; font-weight: 800; color: var(--pink); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; line-height: 1.3; }
.foot__contacts { display: grid; justify-items: start; }
.foot__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--cream); font-weight: 600; }
.foot__link .i { color: var(--pink); }
.foot__link:hover { color: var(--pink); }
.foot__link[hidden] { display: none; }
.foot__copy { color: var(--dim); font-size: 14px; }
@media (min-width: 900px) {
  .foot { padding-bottom: 48px; }
  .foot__in { grid-template-columns: 1fr auto; align-items: start; }
  .foot__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); }
}

/* ---------- плавающая кнопка WhatsApp (телефон) ---------- */
.fab {
  position: fixed; z-index: 50; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
  width: 60px; height: 60px; display: grid; place-items: center;
  background: var(--pink); color: var(--navy); border: 2px solid var(--navy); box-shadow: 4px 4px 0 var(--navy);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.fab .i { width: 28px; height: 28px; }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 900px) { .fab { display: none; } }

/* ---------- появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2), .why .reveal:nth-child(2) { transition-delay: 50ms; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3), .why .reveal:nth-child(3) { transition-delay: 100ms; }
.cards .reveal:nth-child(4), .steps .reveal:nth-child(4), .why .reveal:nth-child(4) { transition-delay: 150ms; }
.cards .reveal:nth-child(5) { transition-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .ph-wrap { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .chat__body { scroll-behavior: auto; }
}

/* узкие телефоны (320–360) */
@media (max-width: 360px) {
  :root { --pad: 16px; }
  .logo__mark { display: none; }
  .logo { font-size: 20px; }
  .logo__name { max-width: none; }
  .top__actions { gap: 10px; }
  .hero__title { font-size: 33px; }
  .demo { padding: 10px; box-shadow: 6px 6px 0 var(--navy); }
  .ks, .kb, .shop { padding: 10px; }
}
