/* ==========================================================================
   RUNUM — студия создания сайтов
   Фирменный цвет: Runum Berry (малиново-бордовый) #A8133F
   Брейкпоинты: ≤700 телефон · 701–999 планшет · ≥1000 десктоп
   ========================================================================== */

:root {
  /* Brand */
  --brand: #a8133f;          /* Runum Berry — основной */
  --brand-hover: #8c0f34;
  --brand-deep: #5c0a23;     /* винный — тёмные секции */
  --brand-ink: #2b0711;      /* самый тёмный */
  --brand-bright: #e2265f;   /* яркий малиновый — акценты на тёмном */
  --cursor: #ffb3c7;         /* розовый курсор логотипа */
  --blush: #fcecf0;
  --blush-2: #f6d6de;

  /* Neutrals (тёплые) */
  --bg: #fff9f6;
  --surface: #ffffff;
  --ink: #1f0d13;
  --ink-2: #4a3a3f;
  --muted: #7c6a70;
  --line: #efe0e3;
  --line-2: #e3cdd2;
  --green: #15a36b;

  --f-display: "Unbounded", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(43, 7, 17, 0.04), 0 8px 24px -8px rgba(43, 7, 17, 0.1);
  --shadow-lg: 0 2px 4px rgba(43, 7, 17, 0.04), 0 24px 60px -16px rgba(43, 7, 17, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section: clamp(64px, 9vw, 130px);
  --header-h: 76px;
  --mbar-h: 0px;
}
@media (max-width: 700px) { :root { --header-h: 64px; } }
@media (max-width: 900px) { :root { --mbar-h: 84px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--blush { background: var(--blush); }
.section--dark { background: var(--brand-ink); color: #fff; }
.section--wine { background: var(--brand-deep); color: #fff; overflow: hidden; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typography ---------- */
.h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 2.2vw + 20px, 54px); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.hl { --hl: var(--blush-2); color: var(--brand); background-image: linear-gradient(var(--hl), var(--hl)); background-repeat: no-repeat; background-position: 0 86%; background-size: 100% 0.28em; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: 0.04em; transition: background-size 1s 0.3s var(--ease); }
.section--blush .hl { --hl: #f1c4cf; }
.hl--light { --hl: rgba(226, 38, 95, 0.4); color: #ffb3c7; }
.js .reveal:not(.is-in) .hl { background-size: 0% 0.28em; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #ff9ab5; }

.head { margin-bottom: clamp(28px, 4vw, 60px); max-width: 720px; }
.head__sub { color: var(--ink-2); font-size: clamp(16px, 0.3vw + 15px, 17px); margin-top: 14px; }
.head__sub a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; }
.head--row .head__sub { max-width: 360px; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap; user-select: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s var(--ease), box-shadow 0.25s;
}
.btn .ico { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(168, 19, 63, 0.6); }
.btn--ghost { border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); }
.btn--light { background: #fff; color: var(--brand); }
@media (hover: hover) {
  .btn:hover .ico:last-child { transform: translateX(3px); }
  .btn--primary:hover { background: var(--brand-hover); box-shadow: 0 12px 28px -8px rgba(168, 19, 63, 0.7); }
  .btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
  .btn--light:hover { background: var(--blush); }
}

.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: var(--ink); transition: 0.25s; }
@media (hover: hover) { .icon-btn:hover { border-color: var(--brand); color: var(--brand); } }

/* ---------- Logo: знак «Ритм» — волна ∩∪ (n и u зеркальны) ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: -0.04em; color: var(--ink); }
.mark { width: 30px; height: 30px; flex: none; }
.mark__bg { fill: var(--brand); }
.mark__wave { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
@keyframes cursor-blink { 50% { opacity: 0; } }
.type-cursor { display: inline-block; width: 0.42em; height: 0.09em; margin-left: 0.08em; background: var(--brand-bright); border-radius: 0.05em; vertical-align: baseline; animation: cursor-blink 1.2s steps(1) infinite; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top); background: rgba(255, 249, 246, 0.86); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); border-bottom: 1px solid var(--line-2); transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; }
.header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(43, 7, 17, 0.15); }
.header.is-menu { background: var(--bg); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav { display: none; gap: 30px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); border-radius: 2px; transform: scaleX(0); transition: transform 0.3s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--brand); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { display: none; }
.burger { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); display: grid; place-content: center; gap: 5px; transition: background 0.3s; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.35s var(--ease); }
.burger[aria-expanded="true"] { background: var(--brand); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}
@media (max-width: 700px) { .logo { font-size: 20px; } .mark { width: 28px; height: 28px; } }

/* Mobile menu */
.mobile-menu { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 0; z-index: 49; background: var(--bg); padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 6.5vw, 30px); letter-spacing: -0.03em; padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.mobile-menu.is-open .mobile-menu__nav a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 60ms); }
.mobile-menu__nav a:nth-child(2) { --i: 1; } .mobile-menu__nav a:nth-child(3) { --i: 2; } .mobile-menu__nav a:nth-child(4) { --i: 3; } .mobile-menu__nav a:nth-child(5) { --i: 4; } .mobile-menu__nav a:nth-child(6) { --i: 5; }
.mobile-menu__nav i { font-style: normal; font-family: var(--f-body); font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: 0.04em; min-width: 20px; }
.mobile-menu__nav .ico { margin-left: auto; width: 20px; color: var(--muted); }
.mobile-menu__nav a:active { color: var(--brand); }
.mobile-menu__foot { display: grid; gap: 14px; opacity: 0; transform: translateY(14px); transition: opacity 0.4s 0.35s, transform 0.5s 0.35s var(--ease); }
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; transform: none; }
.mobile-menu__social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mobile-menu__social a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.mobile-menu__social a:nth-child(1) .ico { color: #229ed9; }
.mobile-menu__social a:nth-child(2) .ico { color: #25d366; }
.mobile-menu__social a:nth-child(3) .ico { color: var(--brand); }
.mobile-menu__foot p { text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: clamp(24px, 5vw, 72px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -400px; background: radial-gradient(circle, rgba(226, 38, 95, 0.12), transparent 65%); pointer-events: none; }
.hero__grid { display: grid; gap: 48px; align-items: center; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); width: fit-content; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(21, 163, 107, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(21, 163, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(21, 163, 107, 0); } }
.hero__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 3.6vw + 22px, 70px); line-height: 1.05; letter-spacing: -0.045em; margin-top: 22px; text-wrap: balance; }
.hero__lead { font-size: clamp(16px, 0.4vw + 15px, 19px); color: var(--ink-2); margin-top: 20px; max-width: 540px; }
.hero__checks { display: grid; gap: 10px; margin-top: 22px; }
.hero__checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.hero__checks .ico { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--blush); color: var(--brand); stroke-width: 3; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.hero__visual { position: relative; padding: 28px 8px 40px; }
.blob { position: absolute; inset: -2% -5% 4% 16%; background: var(--brand); border-radius: 46% 54% 40% 60% / 52% 38% 62% 48%; animation: morph 14s ease-in-out infinite; }
.blob::after { content: ""; position: absolute; inset: 14%; border-radius: inherit; background: var(--brand-bright); opacity: 0.45; filter: blur(30px); }
@keyframes morph { 50% { border-radius: 58% 42% 55% 45% / 40% 60% 40% 60%; transform: rotate(6deg) scale(1.03); } }
.browser { position: relative; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(-2deg); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.browser__bar > span { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.browser__bar > span:nth-child(1) { background: #ff6159; }
.browser__bar > span:nth-child(2) { background: #ffbd2e; }
.browser__bar > span:nth-child(3) { background: #28c941; }
.browser__url { margin-left: 10px; flex: 1; min-width: 0; font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 4px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser__screen { position: relative; aspect-ratio: 4 / 3; background: var(--blush); }
.browser__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.8s, transform 3s var(--ease); }
.browser__screen img.is-active { opacity: 1; transform: scale(1); }
.browser__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.4); }
.browser__progress span { display: block; height: 100%; background: var(--brand-bright); transform-origin: 0 50%; animation: progress 3.2s linear infinite; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.3; animation: floaty 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--muted); }
.float-card__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blush); color: var(--brand); flex: none; }
.float-card__icon--green { background: #e3f6ee; color: var(--green); }
.float-card__icon .ico { width: 18px; height: 18px; }
.float-card--lead { top: -6px; right: -10px; }
.float-card--speed { bottom: 8px; right: -4px; animation-delay: -2s; }
.float-card--launch { flex-direction: column; align-items: flex-start; gap: 0; bottom: 22%; left: -12px; background: var(--brand-ink); color: #fff; animation-delay: -4s; }
.float-card--launch b { font-family: var(--f-display); font-size: 20px; letter-spacing: -0.03em; color: #ffb3c7; }
.float-card--launch small { color: rgba(255, 255, 255, 0.7); }
@keyframes floaty { 50% { transform: translateY(-8px); } }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}
/* Телефон и планшет: картинка сразу под заголовком */
@media (max-width: 959px) {
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__text { display: contents; }
  .hero__text .pill { order: 1; }
  .hero__title { order: 2; }
  .hero__visual { order: 3; }
  .hero__lead { order: 4; }
  .hero__checks { order: 5; }
  .hero__actions { order: 6; }
  .hero__note { order: 7; }
  .hero__visual { margin: 18px auto 0; width: 100%; max-width: 560px; }
}
@media (max-width: 700px) {
  .hero::before { width: 520px; height: 520px; right: -260px; top: -180px; }
  .hero__title { margin-top: 18px; }
  .hero__visual { padding: 22px 4px 30px; margin-inline: -4px; width: calc(100% + 8px); }
  .blob { inset: 4% -10% 6% 20%; }
  .browser { border-radius: 14px; transform: rotate(-1.5deg); }
  .browser__bar { padding: 8px 12px; }
  .browser__bar > span { width: 8px; height: 8px; }
  .float-card { font-size: 11px; padding: 8px 10px; gap: 8px; border-radius: 12px; }
  .float-card b { font-size: 12.5px; }
  .float-card__icon { width: 28px; height: 28px; border-radius: 8px; }
  .float-card__icon .ico { width: 15px; height: 15px; }
  .float-card--lead { top: 0; left: 6px; right: auto; }
  .float-card--speed { bottom: 2px; right: 6px; }
  .float-card--launch { display: none; }
  .hero__lead { margin-top: 18px; }
  .hero__checks { margin-top: 18px; gap: 8px; }
  .hero__actions { margin-top: 24px; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__note { text-align: center; }
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: clamp(36px, 6vw, 80px); }
.stat { background: var(--surface); padding: 18px 16px; }
.stat b { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.04em; color: var(--brand); line-height: 1.1; }
.stat > span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: 28px; } .stat > span { font-size: 14px; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--brand); color: #fff; padding: 16px 0; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker span { font-family: var(--f-display); font-weight: 500; font-size: clamp(15px, 1.8vw, 22px); letter-spacing: -0.02em; padding-inline: clamp(14px, 2vw, 22px); white-space: nowrap; }
.ticker i { width: 7px; height: 7px; border-radius: 50%; background: #ffb3c7; flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Carousel (телефон) ---------- */
.swipe-hint { display: none; }
.dots { display: none; }
@media (max-width: 700px) {
  [data-carousel] { display: flex !important; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 16px var(--gutter) 6px; scrollbar-width: none; }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * { flex: 0 0 84%; scroll-snap-align: start; }
  [data-carousel] > *:last-child { margin-right: 4px; }
  .dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; background: var(--line-2); transition: width 0.3s var(--ease), background 0.3s; }
  .dots button.is-active { width: 24px; background: var(--brand); }
  .swipe-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin: -12px 0 0; }
  .swipe-hint .ico { width: 18px; height: 18px; color: var(--brand); animation: nudge 1.8s ease-in-out infinite; }
}
@keyframes nudge { 50% { transform: translateX(4px); } }

/* ---------- Services ---------- */
.services { display: grid; gap: 20px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.service { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.service__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blush); color: var(--brand); transition: background 0.3s, color 0.3s; }
.service__icon .ico { width: 26px; height: 26px; stroke-width: 1.8; }
.service h3 { font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: -0.03em; margin-top: 18px; }
.service > p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.service ul { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 14px; flex: 1; align-content: start; }
.service li { position: relative; padding-left: 20px; }
.service li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.service__foot { display: flex; margin-top: 22px; }
.service__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--brand); padding: 11px 16px; border-radius: 999px; background: var(--blush); transition: background 0.25s, color 0.25s; white-space: nowrap; }
.service__link .ico { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.service__link:active { background: var(--brand); color: #fff; }
.service--hot { border: 2px solid var(--brand); }
.service__badge { position: absolute; top: -13px; left: 22px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
@media (hover: hover) {
  .service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blush-2); }
  .service:hover .service__icon { background: var(--brand); color: #fff; }
  .service__link:hover { background: var(--brand); color: #fff; }
  .service__link:hover .ico { transform: translateX(3px); }
}
@media (max-width: 700px) { .service { padding: 22px; box-shadow: var(--shadow); } }

/* ---------- Works ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: 0.2s; }
.filter span { font-size: 12px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--blush); color: var(--brand); display: grid; place-items: center; }
.filter[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter[aria-pressed="true"] span { background: rgba(255, 255, 255, 0.22); color: #fff; }
@media (hover: hover) { .filter:hover { border-color: var(--brand); color: var(--brand); } .filter[aria-pressed="true"]:hover { color: #fff; } }
@media (max-width: 700px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: -4px calc(var(--gutter) * -1) 4px; padding: 4px var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
}

.works { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.work { display: block; color: inherit; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.work:active { transform: scale(0.985); }
.work__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush); position: relative; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work__img::after { content: "Открыть демо ↗"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.85); padding: 10px 20px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; opacity: 0; transition: 0.35s var(--ease); white-space: nowrap; }
.work__body { padding: 18px 20px 20px; }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work__tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.work h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.03em; margin-top: 12px; }
.work__result { margin-top: 6px; color: var(--ink-2); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.work__result b { color: var(--brand); }
.works__more { display: flex; justify-content: center; margin-top: 28px; }
.works__more .btn[hidden] { display: none; }
@media (hover: hover) {
  .work:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .work:hover .work__img img { transform: scale(1.05); }
  .work:hover .work__img::after, .work:focus-visible .work__img::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (hover: none) {
  .work__body { position: relative; }
  .work__body::after { content: ""; position: absolute; right: 18px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8133F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 16px no-repeat; }
  .work__tags { padding-right: 44px; }
}
@media (max-width: 700px) { .work { box-shadow: var(--shadow); } }

/* ---------- Why ---------- */
.section--dark .h2 { color: #fff; }
.why { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.why__item { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--r); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.3s, border-color 0.3s; }
.why__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.why__icon .ico { width: 24px; height: 24px; }
.why__item h3 { font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.why__item p { color: rgba(255, 255, 255, 0.72); margin-top: 6px; font-size: 15px; }
@media (hover: hover) { .why__item:hover { background: rgba(226, 38, 95, 0.12); border-color: rgba(226, 38, 95, 0.5); } }
@media (max-width: 700px) {
  .why { gap: 10px; }
  .why__item { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px; }
  .why__icon { width: 42px; height: 42px; border-radius: 12px; }
  .why__icon .ico { width: 21px; height: 21px; }
  .why__item h3 { font-size: 16px; }
  .why__item p { font-size: 14px; margin-top: 4px; }
}

/* ---------- Process ---------- */
.steps { display: grid; gap: 16px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; }
.step__num { font-family: var(--f-display); font-weight: 600; font-size: 15px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 0 0 6px var(--blush); flex: none; position: relative; z-index: 1; }
.step__body { display: flex; flex-direction: column; flex: 1; }
.step h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; margin-top: 20px; }
.step p { color: var(--ink-2); font-size: 15px; margin-top: 8px; flex: 1; }
.step__time { align-self: flex-start; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--blush); padding: 5px 12px; border-radius: 999px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 50px; left: calc(26px + 48px + 14px); right: -14px; height: 2px; background: repeating-linear-gradient(90deg, var(--blush-2) 0 8px, transparent 8px 14px); }
}
/* Телефон: вертикальная лента */
@media (max-width: 899px) {
  .steps { gap: 0; position: relative; }
  .steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 40px; width: 2px; background: repeating-linear-gradient(180deg, var(--blush-2) 0 8px, transparent 8px 14px); }
  .step { flex-direction: row; gap: 16px; padding: 0 0 18px; background: none; border: 0; }
  .step:last-child { padding-bottom: 0; }
  .step__body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
  .step h3 { margin-top: 0; font-size: 17px; }
  .step p { font-size: 14.5px; }
  .step__time { margin-top: 12px; }
}


/* ---------- Contact ---------- */
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(92, 10, 35, 0.9) 0%, rgba(92, 10, 35, 0.55) 100%); }
.contact { position: relative; display: grid; gap: 32px; align-items: start; }
.section--wine .h2 { color: #fff; }
.contact__lead { color: rgba(255, 255, 255, 0.82); font-size: 17px; margin-top: 16px; max-width: 460px; }
.contact__direct { display: grid; gap: 12px; }
.contact__note { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.contact__note .ico { width: 18px; height: 18px; }
.direct { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); transition: background 0.25s, transform 0.3s var(--ease); }
.direct:active { background: rgba(255, 255, 255, 0.16); }
.direct > span { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--brand); display: grid; place-items: center; flex: none; }
.direct--tg > span { color: #229ed9; }
.direct--wa > span { color: #1fb15a; }
.direct b { display: block; font-size: 16px; }
.direct small { color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.direct__arrow { margin-left: auto; opacity: 0.6; }
@media (hover: hover) { .direct:hover { background: rgba(255, 255, 255, 0.16); transform: translateX(4px); } }

@media (max-width: 700px) { .contact__lead { font-size: 16px; } }
.field { display: grid; gap: 8px; }
.field label, .field__label { font-size: 14px; font-weight: 700; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); padding: 14px 16px; font-size: 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #b3a2a7; }
.field input:focus, .field textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(168, 19, 63, 0.12); }
.field__err { display: none; font-size: 13px; color: #c62828; font-weight: 600; }
.field.is-error input { border-color: #c62828; }
.field.is-error .field__err { display: block; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Footer ---------- */
.footer { background: var(--brand-ink); color: rgba(255, 255, 255, 0.75); padding-top: clamp(44px, 6vw, 64px); }
.footer .logo { color: #fff; }
.footer__grid { display: grid; gap: 28px 24px; padding-bottom: 40px; grid-template-columns: 1fr 1fr; }
.footer__grid > div:first-child { grid-column: 1 / -1; }
.footer__claim { margin-top: 12px; max-width: 320px; }
.footer nav { display: flex; flex-direction: column; gap: 8px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.footer nav a { width: fit-content; transition: color 0.2s; padding-block: 2px; }
.footer nav a:hover { color: #ff9ab5; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: calc(22px + var(--mbar-h) + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }
.footer__bottom a:hover { color: #fff; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } .footer__grid > div:first-child { grid-column: auto; } }

/* ---------- Mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 900px) {
  .mbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: flex; gap: 8px; padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); border: 1px solid var(--line); box-shadow: 0 16px 40px -12px rgba(43, 7, 17, 0.35); transform: translateY(calc(100% + 30px)); transition: transform 0.45s var(--ease); max-width: 560px; margin-inline: auto; }
  .mbar.is-visible { transform: none; }
  .mbar__icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; flex: none; transition: transform 0.2s; }
  .mbar__icon:active, .mbar__main:active { transform: scale(0.95); }
  .mbar__icon .ico { width: 22px; height: 22px; }
  .mbar__icon--tg { background: #e7f5fc; color: #229ed9; }
  .mbar__icon--wa { background: #e6f9ee; color: #1fb15a; }
  .mbar__main { flex: 1; min-width: 0; height: 50px; border-radius: 16px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform 0.2s, background 0.3s; }
  .mbar__default { overflow: hidden; text-overflow: ellipsis; }
  .mbar__main > .ico { width: 18px; height: 18px; flex: none; }
  .fab { display: none !important; }
}
@media (max-width: 380px) {
  .mbar__icon { width: 46px; }
}

/* ---------- FAB (десктоп) ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__btn { width: 60px; height: 60px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(168, 19, 63, 0.7); transition: transform 0.3s var(--ease), background 0.2s; position: relative; }
.fab__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.6); opacity: 0; } }
.fab__btn:hover { transform: scale(1.06); background: var(--brand-hover); }
.fab__btn .ico { width: 26px; height: 26px; grid-area: 1 / 1; transition: transform 0.3s var(--ease), opacity 0.2s; }
.fab__close { opacity: 0; transform: rotate(-90deg); }
.fab[data-open="true"] .fab__chat { opacity: 0; transform: rotate(90deg); }
.fab[data-open="true"] .fab__close { opacity: 1; transform: none; }
.fab[data-open="true"] .fab__btn::before { animation: none; opacity: 0; }
.fab__menu { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fab__item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.95); transition: 0.3s var(--ease); }
.fab__item:hover { color: var(--brand); }
.fab__item .ico { color: var(--brand); }
.fab__item--tg .ico { color: #229ed9; }
.fab__item--wa .ico { color: #25d366; }
.fab[data-open="true"] .fab__item { opacity: 1; visibility: visible; transform: none; }
.fab[data-open="true"] .fab__item:nth-child(2) { transition-delay: 0.04s; }
.fab[data-open="true"] .fab__item:nth-child(1) { transition-delay: 0.08s; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 700px) { .js .reveal { transform: translateY(14px); transition-duration: 0.6s; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}


/* ---------- Phones ---------- */
.opt__short { display: none; }
@media (max-width: 700px) {
  :root { --section: 56px; --gutter: 18px; }
  body { font-size: 15.5px; }
  .head { margin-bottom: 22px; }
  .h2 { font-size: clamp(26px, 7.4vw, 30px); }
  .eyebrow { font-size: 12px; margin-bottom: 10px; }

  /* Цветные секции — «карточки» со скруглённым верхом, как в приложениях */
  .section--blush, .section--dark, .section--wine { border-radius: 28px 28px 0 0; margin-top: -28px; z-index: 1; }
  .section--blush + .section:not(.section--blush):not(.section--dark):not(.section--wine),
  .section--dark + .section:not(.section--blush):not(.section--dark):not(.section--wine) { border-radius: 28px 28px 0 0; margin-top: -28px; z-index: 2; background: var(--bg); }
  .footer { border-radius: 28px 28px 0 0; margin-top: -28px; position: relative; z-index: 3; }

  /* Hero */
  .hero { padding-top: 14px; }
  .hero::before { opacity: 0.8; }
  .pill { font-size: 13px; padding: 6px 12px; }
  .hero__title { font-size: clamp(31px, 9.2vw, 38px); margin-top: 14px; }
  .blob { inset: 12% 4% 0 4%; border-radius: 32px; animation: none; transform: rotate(2.5deg); background: linear-gradient(160deg, var(--brand-bright), var(--brand) 55%, var(--brand-deep)); }
  .blob::after { inset: 20%; }
  .hero__visual { padding: 14px 8px 22px; margin-top: 14px; }
  .float-card--lead { top: auto; bottom: -4px; left: 4px; right: auto; }
  .float-card--speed { top: 44px; bottom: auto; right: 2px; }
  .float-card--speed .float-card__icon { display: none; }
  .hero__lead { font-size: 15.5px; margin-top: 14px; }
  .hero__checks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
  .hero__checks li { font-size: 12.5px; font-weight: 700; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
  .hero__checks .ico { width: 18px; height: 18px; padding: 3px; }
  .hero__actions { flex-direction: row; gap: 10px; margin-top: 18px; }
  .hero__actions .btn { width: auto; height: 56px; }
  .hero__actions .btn--primary { flex: 1; padding: 0 18px; }
  .hero__tg { width: 56px !important; padding: 0 !important; flex: none; }
  .hero__tg span { display: none; }
  .hero__tg .ico { width: 22px; height: 22px; color: #229ed9; }
  .hero__note { display: none; }
  .stats { margin-top: 28px; }
  .stat { padding: 14px; }
  .stat b { font-size: 24px; }
  .stat > span { font-size: 12.5px; }
  .ticker { padding: 12px 0; }
  .ticker span { font-size: 14px; padding-inline: 12px; }

  /* Карусели */
  [data-carousel] > * { flex-basis: 86%; }
  .service { padding: 20px; }
  .service h3 { font-size: 19px; margin-top: 14px; }
  .service > p { font-size: 14.5px; }
  .service ul { margin-top: 12px; padding-top: 12px; font-size: 13.5px; gap: 6px; }
  .service__foot { margin-top: 16px; }
  .service__icon { width: 44px; height: 44px; border-radius: 12px; }
  .service__icon .ico { width: 22px; height: 22px; }

  /* Калькулятор: компактные чипы */
  .type > span { padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
  .type > span .ico { grid-row: span 2; margin: 0; width: 20px; height: 20px; }
  .type b { font-size: 14px; }
  .type small { font-size: 12px; }
  .type--sm > span { display: flex; }
  .opt > span { min-height: 40px; padding: 7px 12px 7px 8px; gap: 7px; border-radius: 99px; font-size: 13.5px; font-weight: 700; }
  .opt i { width: 18px; height: 18px; border-radius: 50%; }
  .opt i .ico { width: 11px; height: 11px; }
  .opt em { font-size: 12.5px; margin-left: 2px; }
  .opt__full { display: none; }
  .opt__short { display: inline; }

  /* Работы */
  .work__body { padding: 16px 16px 18px; }
  .work h3 { font-size: 18px; margin-top: 10px; }
  .work__result { font-size: 14px; }

  /* Почему мы — плотная сетка 2×3 */
  .why { grid-template-columns: 1fr 1fr; gap: 8px; }
  .why__item { flex-direction: column; gap: 10px; padding: 14px; }
  .why__icon { width: 36px; height: 36px; border-radius: 10px; }
  .why__icon .ico { width: 18px; height: 18px; }
  .why__item h3 { font-family: var(--f-body); font-weight: 800; font-size: 15px; line-height: 1.25; letter-spacing: -0.01em; }
  .why__item p { font-size: 12.5px; line-height: 1.45; }

  /* Процесс */
  .step__body { padding: 14px 16px; }
  .step h3 { font-size: 16px; }
  .step p { font-size: 14px; margin-top: 4px; }
  .step__time { margin-top: 10px; font-size: 12px; }

  /* FAQ, контакты */
  .contact__lead { font-size: 15px; }
  .field input, .field textarea { padding: 13px 14px; }
}
@media (max-width: 370px) {
  .hero__title { font-size: 29px; }
  .hero__checks li:nth-child(3) { display: none; }
  .why { grid-template-columns: 1fr; }
}


/* ---------- Narrow screens: type scale ---------- */
@media (max-width: 999px) {
  .hero__title { font-size: clamp(30px, 4.2vw + 14px, 46px); }
  .h2 { font-size: clamp(25px, 2.6vw + 16px, 38px); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .eyebrow { font-size: 12px; }
  .hero__title { font-size: clamp(29px, 7.6vw, 36px); line-height: 1.08; }
  .h2 { font-size: clamp(25px, 6.6vw, 30px); line-height: 1.12; }
  .head__sub, .hero__lead { font-size: 15.5px; }

  /* Карусели: карточка не шире 360px, даже если окно широкое */
  [data-carousel] > * { flex: 0 0 min(86%, 360px); }

  /* Плавающие карточки в hero — читаемые */
  .float-card { font-size: 12px; }
  .float-card b { font-size: 13px; }
  .float-card small { font-size: 11.5px; }

  .hero__checks li { font-size: 13px; }
  .stat b { font-size: 26px; }
  .stat > span { font-size: 13px; }

  .service h3 { font-size: 18px; }
  .service > p { font-size: 15px; }
  .service ul { font-size: 14px; }

  .type b { font-size: 14.5px; }
  .type small { font-size: 13px; }
  .opt > span { font-size: 14px; min-height: 42px; }
  .opt em { font-size: 13px; }

  .filter { font-size: 14px; height: 40px; }
  .work__tags span { font-size: 12.5px; }
  .work h3 { font-size: 18px; }
  .work__result { font-size: 14.5px; }

  /* «Почему мы» — читаемый список вместо тесной сетки */
  .why { grid-template-columns: 1fr; gap: 10px; }
  .why__item { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px; }
  .why__icon { width: 40px; height: 40px; }
  .why__icon .ico { width: 20px; height: 20px; }
  .why__item h3 { font-size: 16px; }
  .why__item p { font-size: 14px; margin-top: 4px; }


  .step h3 { font-size: 17px; }
  .step p { font-size: 14.5px; }
  .step__time { font-size: 13px; }

  .contact__lead { font-size: 15.5px; }
  .footer, .footer__bottom { font-size: 15px; }
  .footer h4 { font-size: 13px; }
}
/* 560–700px */
@media (min-width: 560px) and (max-width: 700px) {
  .hero__visual { max-width: 520px; }
  .why { grid-template-columns: 1fr 1fr; }
  .why__item { flex-direction: column; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat b { font-size: 22px; }
}
@media (max-width: 370px) {
  .hero__title { font-size: 28px; }
  .h2 { font-size: 24px; }
}
/* 701–959px */
@media (min-width: 701px) and (max-width: 959px) {
  .float-card--lead { top: auto; bottom: 6px; left: 0; right: auto; }
  .float-card--speed { top: 64px; bottom: auto; right: 0; }
  .float-card--launch { bottom: auto; top: 40%; left: -8px; }
}


/* ---------- Надпись runum: нарисована линией, буквы «u» ходят вверх-вниз, остальные в обратную сторону ---------- */
.wm { height: 1.05em; width: auto; flex: none; overflow: visible; }
.wm path { fill: none; stroke: currentColor; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; transform-box: fill-box; transform-origin: 50% 70%; animation: wm-down 3.6s linear infinite; }
.wm .u { animation-name: wm-up; }
@keyframes wm-up { 0% { transform: translateY(1px) rotate(-0deg); } 12.5% { transform: translateY(-3.95px) rotate(-2.83deg); } 25% { transform: translateY(-6px) rotate(-4deg); } 37.5% { transform: translateY(-3.95px) rotate(-2.83deg); } 50% { transform: translateY(1px) rotate(-0deg); } 62.5% { transform: translateY(5.95px) rotate(2.83deg); } 75% { transform: translateY(8px) rotate(4deg); } 87.5% { transform: translateY(5.95px) rotate(2.83deg); } 100% { transform: translateY(1px) rotate(0deg); } }
@keyframes wm-down { 0% { transform: translateY(0px) rotate(0deg); } 12.5% { transform: translateY(2.83px) rotate(2.83deg); } 25% { transform: translateY(4px) rotate(4deg); } 37.5% { transform: translateY(2.83px) rotate(2.83deg); } 50% { transform: translateY(0px) rotate(0deg); } 62.5% { transform: translateY(-2.83px) rotate(-2.83deg); } 75% { transform: translateY(-4px) rotate(-4deg); } 87.5% { transform: translateY(-2.83px) rotate(-2.83deg); } 100% { transform: translateY(-0px) rotate(-0deg); } }
@media (prefers-reduced-motion: reduce) { .wm path { animation: none; } }

.header .icon-btn[data-contact="tg"] { color: #229ed9; }
@media (hover: hover) { .header .icon-btn[data-contact="tg"]:hover { border-color: #229ed9; color: #229ed9; } }
.icon-btn--wa { color: #1fb15a; }
@media (hover: hover) { .icon-btn--wa:hover { border-color: #1fb15a; color: #1fb15a; } }
@media (max-width: 420px) { .header .icon-btn { display: grid; width: 40px; height: 40px; } .header__actions { gap: 6px; } }

/* ---------- Reviews ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.stars { --size: 18px; position: relative; display: inline-block; width: calc(var(--size) * 5); height: var(--size); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.7 6.3.9-4.6 4.4 1.1 6.3L12 17.1l-5.6 3 1.1-6.3L2.9 9.4l6.3-.9z' fill='%23EBDDE0'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x; vertical-align: middle; }
.stars__fill { position: absolute; inset: 0 auto 0 0; width: var(--value, 100%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.7 6.3.9-4.6 4.4 1.1 6.3L12 17.1l-5.6 3 1.1-6.3L2.9 9.4l6.3-.9z' fill='%23F2A900'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x; }
.stars--lg { --size: 24px; }
.rv { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .rv { grid-template-columns: 340px 1fr; gap: 28px; } .rv__side { position: sticky; top: calc(var(--header-h) + 24px); } }
.rv__side { display: grid; gap: 16px; }
.rv__main { min-width: 0; }

.rating { padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rating[hidden] { display: none; }
.rating__top { display: flex; align-items: center; gap: 16px; }
.rating__avg { font-family: var(--f-display); font-weight: 600; font-size: 52px; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.rating small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.rating__bars { display: grid; gap: 8px; margin-top: 18px; }
.rating__row { display: grid; grid-template-columns: 12px 1fr 24px; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.rating__bar { height: 8px; border-radius: 99px; background: var(--blush); overflow: hidden; }
.rating__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-bright)); }
.rating__c { text-align: right; color: var(--muted); font-weight: 600; }

.rv__ask { padding: 24px; border-radius: var(--r); background: var(--brand-ink); color: #fff; position: relative; overflow: hidden; }
.rv__ask::before { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: var(--brand-bright); opacity: 0.4; filter: blur(36px); }
.rv__ask > * { position: relative; }
.rv__ask-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: #ffd36b; margin-bottom: 14px; }
.rv__ask-icon .ico { fill: currentColor; stroke: none; }
.rv__ask h3 { font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: -0.03em; }
.rv__ask p { color: rgba(255, 255, 255, 0.78); margin: 8px 0 18px; font-size: 15px; }

.reviews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); align-items: start; }
.reviews:empty { display: none !important; }
.reviews:empty + .dots { display: none; }
.review { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.review::after { content: "\201D"; position: absolute; right: 20px; bottom: 58px; font-family: var(--f-display); font-size: 84px; line-height: 1; color: var(--blush); pointer-events: none; }
@media (hover: hover) { .review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__date { font-size: 12.5px; color: var(--muted); text-transform: capitalize; }
.review__text { position: relative; z-index: 1; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; white-space: pre-line; }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; margin-top: -6px; padding: 4px 0; font-weight: 700; font-size: 14px; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.review__reply { position: relative; z-index: 1; padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg); border-left: 3px solid var(--brand); font-size: 14px; color: var(--ink-2); }
.review__reply b { display: block; color: var(--brand); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.review__who b { display: block; font-size: 15px; line-height: 1.3; }
.review__who small { display: block; color: var(--muted); font-size: 13px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--brand); color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.review__avatar[data-tone="1"] { background: #2b0711; }
.review__avatar[data-tone="2"] { background: #e2265f; }
.review__avatar[data-tone="3"] { background: #8c0f34; }

.reviews__empty { display: grid; justify-items: start; gap: 10px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--surface); border: 1.5px dashed var(--line-2); }
.reviews__empty[hidden] { display: none; }
.reviews__empty h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 1vw + 16px, 26px); letter-spacing: -0.03em; }
.reviews__empty p { color: var(--ink-2); max-width: 520px; }
.reviews__empty-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blush); color: var(--brand); }

.review-form { margin-top: 24px; max-width: 760px; display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.review-form { margin-inline: auto; }
.review-form__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-form h3 { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; }
.review-form__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--brand); flex: none; transition: background 0.2s, color 0.2s; }
.review-form__close:hover { background: var(--brand); color: #fff; }
.review-form__close .ico { width: 18px; height: 18px; }
.field__count { justify-self: end; font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.star-input__hint { display: inline-block; margin-left: 12px; vertical-align: middle; font-weight: 700; font-size: 15px; color: var(--brand); }
.review-form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .review-form__row { grid-template-columns: 1fr 1fr; } }
.review-form__status { min-height: 20px; font-size: 14px; font-weight: 600; }
.review-form__status.is-ok { color: var(--green); }
.review-form__status.is-err { color: #c62828; }
.field.is-error textarea { border-color: #c62828; }
.field.is-error .field__err { display: block; }

.star-input { border: 0; }
.star-input legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.star-input__row { display: inline-flex; vertical-align: middle; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; color: #ebdde0; transition: color 0.15s, transform 0.15s; }
.star-input label .ico { width: 36px; height: 36px; fill: currentColor; stroke: none; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f2a900; }
.star-input label:active { transform: scale(0.9); }
.star-input input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

@media (max-width: 700px) {
  .rating { padding: 18px; }
  .rating__avg { font-size: 44px; }
  .rv__ask { padding: 20px; }
  .review { padding: 20px; gap: 12px; }
  .review::after { bottom: 52px; font-size: 70px; }
  .review__text { font-size: 15px; }
  .reviews__empty { padding: 20px; }
  .review-form { padding: 18px; border-radius: 22px; }
}


/* ==========================================================================
   Улучшения v2: тот же сайт, аккуратнее и живее
   ========================================================================== */
:root {
  --shadow: 0 1px 2px rgba(43, 7, 17, 0.04), 0 10px 30px -12px rgba(43, 7, 17, 0.14);
  --shadow-lg: 0 2px 6px rgba(43, 7, 17, 0.05), 0 30px 70px -24px rgba(43, 7, 17, 0.32);
  --grad: linear-gradient(135deg, var(--brand-bright), var(--brand) 55%, var(--brand-deep));
}

/* Шапка сжимается при прокрутке */
.header__inner { transition: height 0.35s var(--ease); }
.header.is-scrolled .header__inner { height: calc(var(--header-h) - 12px); }
/* Шапка становится ниже, но место под ней в странице остаётся тем же: содержимое не прыгает и прокрутка не сбивается */
.header { --shrink: 12px; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, margin-bottom 0.35s var(--ease); }
.header.is-scrolled { margin-bottom: var(--shrink); }
@media (min-width: 1000px) {
  .nav { gap: 6px; }
  .nav a { padding: 8px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
  .nav a::after { left: 50%; right: auto; width: 5px; height: 5px; margin-left: -2.5px; bottom: 1px; border-radius: 50%; }
  .nav a:hover { background: var(--blush); }
}

/* ---------- Первый экран ---------- */
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(168, 19, 63, 0.14) 1px, transparent 1.6px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 60% at 72% 40%, #000 10%, transparent 70%); }
.hero > .container { position: relative; z-index: 1; }
@media (min-width: 1000px) {
  .hero__title { font-size: clamp(48px, 3.6vw + 18px, 78px); line-height: 1.02; }
  .hero__lead { font-size: 19px; }
}
.hero__title .hl { --hl: #f8c9d6; }
.blob { background: var(--grad); }
.browser { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 40px 80px -30px rgba(43, 7, 17, 0.55), 0 12px 24px -12px rgba(43, 7, 17, 0.25); }
@media (min-width: 960px) {
  .browser { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-2deg); transition: transform 0.6s var(--ease); will-change: transform; }
  .float-card { transition: translate 0.6s var(--ease); translate: var(--fx, 0) var(--fy, 0); }
}
.float-card { box-shadow: 0 0 0 1px rgba(43, 7, 17, 0.04), 0 20px 40px -16px rgba(43, 7, 17, 0.35); }

/* Цифры: полоска сверху проявляется, когда блок на экране */
.stat { position: relative; transition: background 0.3s; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-bright)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease); }
.stats.is-in .stat::before { transform: scaleX(1); }
.stats.is-in .stat:nth-child(2)::before { transition-delay: 0.12s; }
.stats.is-in .stat:nth-child(3)::before { transition-delay: 0.24s; }
.stats.is-in .stat:nth-child(4)::before { transition-delay: 0.36s; }
@media (hover: hover) { .stat:hover { background: #fffafb; } }

/* Бегущая лента — наклонная полоса */
.ticker { position: relative; z-index: 2; transform: rotate(-1.6deg); width: 104%; margin: 18px 0 18px -2%; box-shadow: 0 16px 36px -18px rgba(168, 19, 63, 0.7); background: var(--grad); }
.ticker span { font-weight: 600; }

/* ---------- Подсветка под курсором (услуги, преимущества, этапы) ---------- */
.service, .why__item, .step { isolation: isolate; }
.service::before, .why__item::before, .step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity 0.35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(226, 38, 95, 0.11), transparent 50%); }
.why__item { position: relative; }
.why__item::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 140, 175, 0.16), transparent 50%); }
@media (hover: hover) { .service:hover::before, .why__item:hover::before, .step:hover::before { opacity: 1; } }

/* ---------- Услуги ---------- */
.services { counter-reset: svc; gap: 22px 18px; }
.service { counter-increment: svc; border-radius: 24px; padding: 28px; }
.service::after { content: counter(svc, decimal-leading-zero); position: absolute; top: 26px; right: 26px; font: 600 14px/1 var(--f-display); letter-spacing: -0.02em; color: var(--line-2); transition: color 0.3s; }
.service__icon { border-radius: 16px; transition: background 0.35s, color 0.35s, transform 0.5s var(--ease); }
@media (hover: hover) {
  .service:hover { transform: translateY(-6px); border-color: #f3c9d4; }
  .service:hover .service__icon { background: var(--grad); transform: rotate(-6deg) scale(1.05); }
  .service:hover::after { color: var(--brand); }
}
/* Самая популярная услуга — тёмная карточка */
.service--hot { background: radial-gradient(120% 90% at 100% 0%, #7a0f30 0%, var(--brand-ink) 60%); color: #fff; border: 1px solid #5c0a23; box-shadow: 0 30px 60px -30px rgba(92, 10, 35, 0.9); }
.service--hot > p { color: rgba(255, 255, 255, 0.78); }
.service--hot ul { border-top-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.9); }
.service--hot li::before { background: var(--cursor); }
.service--hot .service__icon { background: rgba(255, 255, 255, 0.1); color: var(--cursor); }
.service--hot .service__link { background: #fff; color: var(--brand); }
.service--hot::after { color: rgba(255, 255, 255, 0.28); }
.service--hot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 140, 175, 0.18), transparent 50%); }
.service__badge { background: var(--cursor); color: var(--brand-ink); box-shadow: 0 8px 18px -8px rgba(226, 38, 95, 0.7); }
@media (hover: hover) {
  .service--hot:hover { border-color: #8c0f34; }
  .service--hot:hover .service__icon { background: var(--grad); color: #fff; }
  .service--hot:hover::after { color: var(--cursor); }
  .service--hot .service__link:hover { background: var(--cursor); color: var(--brand-ink); }
}

/* ---------- Работы: карточка как окно браузера, сайт прокручивается при наведении ---------- */
.works { gap: 26px 22px; }
.work { border-radius: 22px; }
.work__bar { display: flex; align-items: center; gap: 5px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.work__bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff6159; flex: none; }
.work__bar i:nth-child(2) { background: #ffbd2e; }
.work__bar i:nth-child(3) { background: #28c941; }
.work__bar em { margin-left: 8px; flex: 1; min-width: 0; font-style: normal; font-size: 11.5px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 3px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work__img img { object-position: top; }
.work__full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; opacity: 0; transition: opacity 0.4s, object-position 7s cubic-bezier(0.45, 0.05, 0.4, 1); }
.work__img::after { content: "Открыть сайт \2197"; left: auto; top: auto; right: 14px; bottom: 14px; transform: translateY(8px); padding: 9px 16px; font-size: 13.5px; z-index: 2; box-shadow: 0 10px 24px -10px rgba(43, 7, 17, 0.6); }
.work h3 { font-size: 20px; }
@media (hover: hover) {
  .work:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #f3c9d4; }
  .work:hover .work__img img:not(.work__full) { transform: none; }
  .work:hover .work__full.is-ready { opacity: 1; object-position: 50% 100%; }
  .work:hover .work__img::after, .work:focus-visible .work__img::after { transform: none; }
}
@media (max-width: 700px) { .work__bar { padding: 8px 12px; } .work__bar i { width: 7px; height: 7px; } }

/* ---------- Почему Runum ---------- */
.section--dark { overflow: hidden; }
.section--dark::before { content: ""; position: absolute; width: 900px; height: 900px; left: -380px; top: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 38, 95, 0.28), transparent 62%); pointer-events: none; }
.section--dark::after { content: ""; position: absolute; width: 700px; height: 700px; right: -300px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 19, 63, 0.35), transparent 62%); pointer-events: none; }
.section--dark > .container { position: relative; z-index: 1; }
.why__item { border-radius: 22px; transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.why__icon { background: var(--grad); box-shadow: 0 10px 22px -10px rgba(226, 38, 95, 0.8); }
@media (hover: hover) { .why__item:hover { transform: translateY(-4px); } }

/* ---------- Этапы: линия между шагами заполняется ---------- */
.step { border-radius: 22px; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.step__num { background: var(--grad); }
@media (hover: hover) { .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #f3c9d4; } }
@media (min-width: 900px) {
  .step:not(:last-child)::after { background: linear-gradient(90deg, var(--brand), var(--brand-bright)) 0 0 / 0% 100% no-repeat, repeating-linear-gradient(90deg, var(--blush-2) 0 8px, transparent 8px 14px); transition: background-size 0.9s var(--ease); }
  .steps.is-on .step:not(:last-child)::after { background-size: 100% 100%, auto; }
  .steps.is-on .step:nth-child(2)::after { transition-delay: 0.5s; }
  .steps.is-on .step:nth-child(3)::after { transition-delay: 1s; }
}

/* ---------- Отзывы ---------- */
.reviews__empty { background: linear-gradient(180deg, #fff, #fff8fa); }
.rv__ask { background: radial-gradient(120% 100% at 100% 0%, #7a0f30, var(--brand-ink) 65%); }

/* ---------- Контакты ---------- */
.direct { border-radius: 18px; padding: 18px 20px; }
/* Все четыре карточки одинаковые. Значок - цветной силуэт в цветах приложения, без плитки */
.direct > span, .direct--tg > span, .direct--wa > span { background: none; box-shadow: none; color: inherit; }
.direct .ico--brand { width: 34px; height: 34px; stroke: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.28)); }

/* ---------- Подвал: большая живая надпись ---------- */
.footer__big { padding-bottom: clamp(20px, 3vw, 36px); color: rgba(255, 255, 255, 0.07); }
.wm--big { width: 100%; height: auto; }
.wm--big path { animation-duration: 6s; }

@media (prefers-reduced-motion: reduce) {
  .browser { transform: rotate(-2deg) !important; }
  .work__full { display: none; }
}

/* Наклонная лента не должна давать горизонтальную прокрутку */
html, body { overflow-x: clip; }

/* ==========================================================================
   Кнопка меню и компактная мобильная версия
   ========================================================================== */
/* Кнопка меню в стиле остальных круглых кнопок: светлая, с бордовыми линиями */
/* Линии стоят абсолютно от центра с целыми отступами: при любом размере кнопки они ровно посередине и одинаковой толщины */
.burger { position: relative; display: block; padding: 0; border: 0; background: var(--blush); box-shadow: inset 0 0 0 1.5px #f3c9d4; transition: background 0.3s, box-shadow 0.3s; }
.burger span { position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin-left: -8px; background: var(--brand); }
/* Между линиями ровно 8px: при масштабе экрана 125%, 150%, 175% обе линии попадают на пиксели одинаково и выглядят одной толщины */
.burger span:first-child { margin-top: -5px; }
.burger span:last-child { margin-top: 3px; }
.burger[aria-expanded="true"] { background: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.burger[aria-expanded="true"] span { background: #fff; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (hover: hover) { .burger:hover { box-shadow: inset 0 0 0 1.5px var(--brand); } }
@media (min-width: 1000px) { .burger { display: none; } }

/* WhatsApp рядом с Telegram — только на телефоне */
.hero__wa { display: none; }

/* Цветные значки контактов на телефоне */
@media (max-width: 700px) {
  .direct > span .ico--brand { width: 30px; height: 30px; }
}

/* Кнопка «Свернуть» */
.works__more { gap: 10px; flex-wrap: wrap; }
.works__more .ico--up { transform: rotate(-90deg); }

/* Переключатель языка в подвале: мелко и приглушённо */
.footer .langs { display: flex; flex-direction: row; align-items: center; gap: 2px; margin-inline: auto; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.footer .langs a { padding: 3px 7px; border-radius: 6px; color: rgba(255, 255, 255, 0.38); transition: color 0.2s, background 0.2s; }
.langs a[aria-current] { color: rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.08); }
@media (hover: hover) { .footer .langs a:hover { color: #fff; } }
@media (max-width: 700px) {
  .footer .langs { order: 3; width: 100%; margin-inline: 0; gap: 2px; font-size: 11.5px; }
  .langs a:first-child { margin-left: -7px; }
}

/* «Работы» - белый лист со скруглённым верхом: граница с «Услугами» видна сразу */
#works { background: #fff; border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0; box-shadow: 0 -1px 0 var(--line), 0 -24px 50px -34px rgba(168, 19, 63, 0.28); }

/* Открытое меню: шапка закреплена сверху, крестик всегда виден, даже если страницу прокрутили */
body.is-locked .header { position: fixed; top: 0; left: 0; right: 0; }
.header.is-menu .header__inner { height: var(--header-h) !important; }
.header.is-menu { margin-bottom: 0 !important; }

/* ==========================================================================
   МОБИЛЬНАЯ ВЕРСИЯ (до 700px) - единый слой.
   Принципы: широкие поля, ровный ритм отступов 8/16/24/32, крупный текст,
   первый экран - только заголовок, текст и кнопки; картинка ниже.
   ========================================================================== */
@media (max-width: 700px) {
  :root { --section: 76px; --gutter: 20px; --header-h: 64px; --r: 20px; --r-lg: 24px; --mbar-h: 72px; }
  body { font-size: 15.5px; line-height: 1.6; }

  /* --- Шапка --- */
  .header.is-scrolled .header__inner { height: calc(var(--header-h) - 8px); }
  .header { --shrink: 8px; }
  .logo { font-size: 19px; gap: 8px; }
  .mark { width: 28px; height: 28px; }
  .header__actions { gap: 8px; }
  .header .icon-btn, .burger { width: 40px; height: 40px; }
  .header .icon-btn .ico { width: 19px; height: 19px; }

  /* --- Меню --- */
  .mobile-menu { padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
  .mobile-menu__nav a { font-size: 24px; padding: 16px 0; }
  .mobile-menu__social a { padding: 14px 8px; font-size: 13px; }

  /* --- Заголовки разделов --- */
  .head { margin-bottom: 28px; }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }
  .h2 { font-size: clamp(26px, 7.6vw, 31px); line-height: 1.12; }
  .head__sub { font-size: 15.5px; line-height: 1.6; margin-top: 14px; }

  /* --- Кнопки --- */
  .btn { height: 52px; padding: 0 22px; font-size: 15px; }
  .btn--lg { height: 56px; padding: 0 24px; font-size: 16px; }

  /* --- Первый экран: заголовок, текст, кнопки; картинка ниже --- */
  .hero { padding: 24px 0 56px; }
  .hero__text .pill { order: 1; }
  .hero__title { order: 2; }
  .hero__lead { order: 3; }
  .hero__actions { order: 4; }
  .hero__note { order: 5; }
  .hero__visual { order: 6; }
  .hero__checks { order: 7; }
  .pill { align-self: flex-start; font-size: 13px; padding: 7px 14px; }
  .pill__dot { width: 8px; height: 8px; }
  .hero__title { font-size: clamp(32px, 9.3vw, 40px); line-height: 1.06; letter-spacing: -0.035em; margin-top: 18px; }
  .hero__lead { font-size: 16px; line-height: 1.6; margin-top: 18px; color: var(--muted); }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .hero__actions .btn { width: 100%; height: 54px; }
  .hero__actions .btn--primary { grid-column: 1 / -1; height: 58px; font-size: 16px; }
  .hero__tg, .hero__wa { display: inline-flex !important; width: 100% !important; padding: 0 14px !important; gap: 8px; font-size: 15px; font-weight: 700; }
  .hero__tg span { display: none; }
  .hero__tg::after { content: "Telegram"; }
  .hero__wa::after { content: "WhatsApp"; }
  .hero__tg .ico { width: 20px; height: 20px; color: #229ed9; }
  .hero__wa .ico { width: 20px; height: 20px; color: #1fb15a; }
  .hero__note { display: block; margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }

  .hero__visual { width: 100%; max-width: 440px; margin: 40px auto 0; padding: 16px 6px 26px; }
  .blob { inset: 10% -4% 4% 10%; border-radius: 30px; }
  .browser { border-radius: 14px; transform: rotate(-1.5deg); }
  .browser__bar { padding: 8px 12px; gap: 5px; }
  .browser__bar > span { width: 8px; height: 8px; }
  .browser__url { font-size: 10.5px; padding: 3px 10px; margin-left: 8px; }
  .float-card { padding: 8px 11px; gap: 8px; border-radius: 12px; }
  .float-card b { font-size: 12.5px; }
  .float-card small { font-size: 11px; }
  .float-card__icon { width: 28px; height: 28px; border-radius: 8px; }
  .float-card__icon .ico { width: 15px; height: 15px; }
  .float-card--lead { left: -2px; right: auto; top: auto; bottom: 2px; }
  .float-card--speed { right: -4px; top: 2px; bottom: auto; }
  .float-card--launch { display: none; }

  .hero__checks { display: grid; gap: 12px; margin-top: 32px; }
  .hero__checks li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; padding: 0; background: none; border: 0; border-radius: 0; }
  .hero__checks .ico { width: 26px; height: 26px; padding: 6px; flex: none; }

  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
  .stat { padding: 18px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -20px rgba(43, 7, 17, 0.4); }
  .stat::before { display: none; }
  .stat b { font-size: 28px; }
  .stat > span { font-size: 13px; line-height: 1.45; margin-top: 6px; }


  /* --- Карусели --- */
  [data-carousel] { gap: 14px; padding-top: 18px; padding-bottom: 8px; }
  [data-carousel] > * { flex: 0 0 84%; }
  .swipe-hint { font-size: 13px; }
  .dots { margin-top: 16px; }

  /* --- Услуги --- */
  .service { padding: 26px 22px; border-radius: 22px; }
  .service::after { top: 24px; right: 22px; font-size: 13px; }
  .service__icon { width: 48px; height: 48px; border-radius: 14px; }
  .service__icon .ico { width: 23px; height: 23px; }
  .service h3 { font-size: 20px; margin-top: 18px; }
  .service > p { font-size: 15px; line-height: 1.6; margin-top: 10px; }
  .service ul { font-size: 14.5px; gap: 10px; margin-top: 18px; padding-top: 18px; }
  .service li { padding-left: 18px; }
  .service li::before { width: 6px; height: 6px; top: 9px; }

  /* --- Работы --- */
  .filters { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; height: 42px; padding: 0 16px; font-size: 14px; }
  .work { border-radius: 22px; }
  .work__bar { padding: 8px 12px; }
  .work__body { padding: 18px 20px 22px; }
  .work__tags span { font-size: 12px; padding: 4px 10px; }
  .work h3 { font-size: 19px; margin-top: 12px; }
  .works__more { margin-top: 28px; }

  /* --- Почему runum --- */
  .why { gap: 12px; }
  .why__item { padding: 22px 20px; gap: 16px; border-radius: 20px; }
  .why__icon { width: 44px; height: 44px; border-radius: 13px; }
  .why__icon .ico { width: 21px; height: 21px; }
  .why__item h3 { font-size: 17px; }
  .why__item p { font-size: 14.5px; line-height: 1.55; margin-top: 6px; }

  /* --- Этапы --- */
  .steps::before { left: 22px; }
  .step { gap: 16px; padding-bottom: 20px; }
  .step__num { width: 46px; height: 46px; font-size: 14px; }
  .step__body { padding: 20px; border-radius: 20px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 14.5px; line-height: 1.55; margin-top: 6px; }
  .step__time { font-size: 12.5px; margin-top: 12px; padding: 4px 12px; }

  /* --- Отзывы --- */
  .rv { gap: 16px; }
  .rv__ask, .reviews__empty, .review, .review-form { padding: 26px 22px; border-radius: 22px; }
  .rv__ask h3, .reviews__empty h3 { font-size: 20px; }
  .rv__ask p, .reviews__empty p { font-size: 15px; line-height: 1.6; }
  .rv__ask p { margin: 10px 0 22px; }

  /* --- Контакты --- */
  .contact { gap: 36px; }
  .contact__lead { font-size: 16px; line-height: 1.6; margin-top: 18px; }
  .contact__note { font-size: 14px; margin-top: 20px; }
  .contact__direct { gap: 12px; }
  .direct { padding: 16px 18px; gap: 16px; border-radius: 18px; }
  .direct > span { width: 40px; height: 40px; }
  .direct > span .ico--brand { width: 32px; height: 32px; }
  .direct b { font-size: 16px; }
  .direct small { font-size: 14px; }

  /* --- Подвал --- */
  .footer { padding-top: 52px; }
  .footer__grid { gap: 32px; padding-bottom: 32px; }
  .footer, .footer__bottom { font-size: 15px; }
  .footer nav { gap: 10px; }
  .footer__bottom { padding-top: 22px; gap: 16px; }

  /* --- Нижняя панель: аккуратнее и ниже по высоте --- */
  .mbar { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 7px; gap: 7px; border-radius: 20px; }
  .mbar__icon { width: 48px; height: 48px; border-radius: 14px; }
  .mbar__icon .ico { width: 21px; height: 21px; }
  .mbar__main { height: 48px; border-radius: 14px; font-size: 15px; }
}
/* Узкие телефоны: всё помещается, WhatsApp не прячем */
@media (max-width: 370px) {
  :root { --gutter: 16px; }
  .logo { font-size: 17px; gap: 6px; }
  .mark { width: 25px; height: 25px; }
  .header__actions { gap: 6px; }
  .header .icon-btn, .burger { width: 36px; height: 36px; }
  .header .icon-btn .ico { width: 17px; height: 17px; }
  .hero__title { font-size: 32px; }
  .hero__tg, .hero__wa { font-size: 14px; padding: 0 10px !important; }
  .stat b { font-size: 24px; }
}

/* ==========================================================================
   Первый экран на телефоне и планшете: окно с примером сайта сразу под заголовком
   ========================================================================== */
@media (max-width: 959px) {
  .hero__text .pill { order: 1; }
  .hero__title { order: 2; }
  .hero__visual { order: 3; }
  .hero__actions { order: 4; }
  .hero__note { order: 5; }
  .hero__lead { order: 6; }
  .hero__checks { order: 7; }
}
@media (max-width: 700px) {
  /* Окно сайта меньше и справа, с отступом от края экрана; слева больше места - там плашки с цифрами */
  .hero__visual { width: 100%; max-width: 480px; margin: 28px auto 0; padding: 14px 0 46px; }
  .blob { display: none; }
  .browser { width: 76%; margin-left: auto; transform: none; border-radius: 14px; box-shadow: 0 0 0 1px rgba(43, 7, 17, 0.06), 0 30px 60px -28px rgba(43, 7, 17, 0.45), 0 10px 20px -12px rgba(43, 7, 17, 0.2); }
  .browser__bar { padding: 7px 10px; gap: 5px; }
  .browser__bar > span { width: 7px; height: 7px; }
  .browser__url { margin-left: 6px; font-size: 9.5px; padding: 2px 8px; }
  .browser__screen { aspect-ratio: 4 / 3; }
  .browser__screen img { object-position: top center; }

  .float-card { padding: 7px 10px; gap: 7px; border-radius: 12px; }
  .float-card b { font-size: 12px; }
  .float-card small { font-size: 10.5px; }
  .float-card__icon { width: 26px; height: 26px; border-radius: 8px; }
  .float-card__icon .ico { width: 14px; height: 14px; }
  /* слева сверху: срок запуска */
  .float-card--launch { display: flex; top: 30%; left: 0; bottom: auto; right: auto; max-width: 104px; padding: 9px 11px; }
  .float-card--launch b { font-size: 17px; }
  .float-card--launch small { line-height: 1.3; }
  /* слева снизу: новая заявка */
  .float-card--lead { bottom: 6px; left: 0; top: auto; right: auto; }
  /* справа снизу: скорость, не выходит за край контента */
  .float-card--speed { bottom: 44px; right: 8px; top: auto; left: auto; }
  .float-card--speed .float-card__icon { display: none; }
  .hero__actions { margin-top: 14px; }
  .hero__lead { margin-top: 30px; }
}

/* Телефон: на первом экране без кнопок - контакты в нижней панели, она появляется при прокрутке */
@media (max-width: 700px) {
  .hero__actions, .hero__note { display: none !important; }
  .hero__lead { margin-top: 34px; }
}

/* ==========================================================================
   Для кого: карточки-наклейки, каждая - маленький экран сайта для своей сферы
   ========================================================================== */
.inds { padding-top: calc(var(--section) * 0.55); padding-bottom: 0; }
.inds__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 24px; padding: 6px 0 10px; }
.ind { --c1: #ff4f86; --c2: #a8133f; --tint: #ffe8ef; --rot: 0deg; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(43, 7, 17, 0.03), 0 22px 44px -28px rgba(43, 7, 17, 0.4); transform: rotate(var(--rot)); transition: transform 0.55s var(--ease), box-shadow 0.4s, opacity 0.5s; }
.ind:nth-child(1) { --rot: -2.6deg; } .ind:nth-child(2) { --rot: 1.8deg; } .ind:nth-child(3) { --rot: -1.2deg; } .ind:nth-child(4) { --rot: 2.6deg; }
.ind:nth-child(5) { --rot: 1.6deg; } .ind:nth-child(6) { --rot: -2.2deg; } .ind:nth-child(7) { --rot: 2.2deg; } .ind:nth-child(8) { --rot: -1.6deg; }
@media (hover: hover) { .ind:hover { transform: rotate(0) translateY(-8px) scale(1.03); z-index: 2; box-shadow: 0 1px 0 rgba(43, 7, 17, 0.03), 0 34px 60px -30px rgba(43, 7, 17, 0.5); } }
/* при появлении карточки раскладываются веером по очереди */
.js .inds__row.reveal { transform: none; }
.js .inds__row:not(.is-in) .ind { opacity: 0; transform: rotate(0) translateY(26px) scale(0.96); }
.inds__row .ind:nth-child(2) { transition-delay: 60ms; } .inds__row .ind:nth-child(3) { transition-delay: 120ms; } .inds__row .ind:nth-child(4) { transition-delay: 180ms; }
.inds__row .ind:nth-child(5) { transition-delay: 240ms; } .inds__row .ind:nth-child(6) { transition-delay: 300ms; } .inds__row .ind:nth-child(7) { transition-delay: 360ms; } .inds__row .ind:nth-child(8) { transition-delay: 420ms; }
@media (hover: hover) { .inds__row.is-in .ind:hover { transition-delay: 0s; } }

.ind__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin: 0 0 4px; padding: 4px 11px 4px 4px; border-radius: 999px; background: var(--tint); color: var(--c2); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.ind__tag svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ui-title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 15.5px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.ui-sub { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.ui-btn { display: block; margin-top: auto; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-size: 13px; font-weight: 800; text-align: center; box-shadow: 0 10px 18px -12px var(--c2); }
.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ui-chips span { padding: 6px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); font-size: 12px; font-weight: 700; color: var(--ink); }
.ui-chips .is-on { border-color: transparent; background: var(--c2); color: #fff; }
.ui-photo { display: grid; place-items: center; height: 76px; border-radius: 14px; background: linear-gradient(135deg, var(--tint), #fff 140%); color: var(--c2); }
.ui-photo svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.ui-menu, .ui-steps { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ui-menu li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.ui-menu li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c1); flex: none; }
.ui-menu em { margin-left: auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--tint); color: var(--c2); font-style: normal; font-weight: 800; font-size: 14px; flex: none; }
.ui-bar { display: block; height: 8px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.ui-bar i { display: block; width: 64%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.ui-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.ui-steps .ui-ok { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--c2); color: #fff; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ui-steps .ui-bar { width: 18px; height: 18px; flex: none; border-radius: 50%; background: conic-gradient(var(--c2) 0 40%, var(--tint) 40% 100%); }
.ui-steps .ui-bar i { display: none; }
.ui-person { display: flex; align-items: center; gap: 10px; margin: 0; }
.ui-person b { display: block; font-size: 14px; color: var(--ink); }
.ui-person small { display: block; font-size: 12px; color: var(--muted); }
.ui-ava { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; font-family: var(--f-display); font-weight: 700; }
.ui-input { display: block; padding: 9px 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg); font-size: 12.5px; color: #b49aa2; }

.ind--cafe { --c1: #f0a050; --c2: #b8561e; --tint: #fff0e2; }
.ind--clinic { --c1: #2fd0bf; --c2: #0d8b82; --tint: #e0f7f4; }
.ind--estate { --c1: #e2b960; --c2: #9e7020; --tint: #fbf2dd; }
.ind--school { --c1: #9384ff; --c2: #5442d4; --tint: #eeecff; }
.ind--shop { --c1: #ff4f86; --c2: #a8133f; --tint: #ffe7ee; }
.ind--beauty { --c1: #ff8ab4; --c2: #cf3a74; --tint: #ffe9f1; }
.ind--build { --c1: #ffc928; --c2: #d98100; --tint: #fff5d4; }
.ind--startup { --c1: #5b9bff; --c2: #2a52d6; --tint: #e7efff; }

@media (min-width: 701px) and (max-width: 999px) {
  .inds__row { grid-template-columns: repeat(2, 1fr); }
}
/* Телефон: карточки листаются пальцем */
@media (max-width: 700px) {
  .inds .swipe-hint { display: flex; }
  .inds__row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 22px var(--gutter) 30px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .inds__row::-webkit-scrollbar { display: none; }
  .ind { flex: 0 0 68%; scroll-snap-align: start; }
  .ind:nth-child(odd) { --rot: -1.6deg; } .ind:nth-child(even) { --rot: 1.6deg; }
}
@media (prefers-reduced-motion: reduce) {
  .js .inds__row:not(.is-in) .ind { opacity: 1; transform: rotate(var(--rot)); }
}

/* ==========================================================================
   Телефон: каждый раздел - отдельный лист со скруглённым верхом, тенью
   и «ручкой», как у шторки. Светлые листы чередуются: белый и кремовый.
   ========================================================================== */
@media (max-width: 700px) {
  .inds, #services, #works, #process, #reviews, #contact { position: relative; border-radius: 30px 30px 0 0; margin-top: -30px; box-shadow: 0 -1px 0 var(--line), 0 -22px 40px -30px rgba(168, 19, 63, 0.45); }
  .inds { background: #fff; }
  #services { background: var(--bg); }
  #works { background: #fff; }
  #process { background: var(--bg); }
  #contact { box-shadow: 0 -22px 40px -30px rgba(43, 7, 17, 0.6); }
  .inds::before, #services::before, #works::before, #process::before, #reviews::before, #contact::before { content: ""; position: absolute; top: 12px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 999px; background: #ecd4da; }
  #contact::before { background: rgba(255, 255, 255, 0.22); z-index: 2; }
  .inds { padding-top: 60px; padding-bottom: 46px; }
}

/* Телефон: вместо описания под картинкой начинается такой же лист, как у остальных разделов:
   скруглённый верх, тень и ручка; на нём преимущества и цифры */
@media (max-width: 700px) {
  .hero__lead { display: none; }
  .hero { padding-bottom: 0; z-index: 0; }
  .hero__checks { position: relative; margin: 30px calc(var(--gutter) * -1) 0; padding: 50px var(--gutter) 0; border-radius: 30px 30px 0 0; background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -22px 40px -30px rgba(168, 19, 63, 0.45); }
  .hero__checks::before { content: ""; position: absolute; top: 12px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 999px; background: #ecd4da; }
  .hero > .container:not(.hero__grid) { background: #fff; padding-top: 32px; padding-bottom: 66px; }
  .hero .stats { margin-top: 0; }
  .hero .stat { background: var(--bg); box-shadow: none; }
  /* дальше листы чередуются: кремовый, белый, кремовый */
  .inds { background: var(--bg); }
  #services { background: #fff; }
  #works { background: var(--bg); }
  #process { background: #fff; }
}

/* Телефон: у каждого листа свой значок сверху - одно семейство, но не одинаковые */
@media (max-width: 700px) {
  /* «Для кого»: три точки в цветах сфер */
  .inds::before { width: 36px; height: 8px; margin-left: -18px; border-radius: 0; background: radial-gradient(circle at 4px 4px, #f0a050 3.6px, transparent 4.2px), radial-gradient(circle at 18px 4px, #2fd0bf 3.6px, transparent 4.2px), radial-gradient(circle at 32px 4px, #9384ff 3.6px, transparent 4.2px); }
  /* «Услуги»: волна из логотипа */
  #services::before { top: 10px; width: 46px; height: 14px; margin-left: -23px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='14' viewBox='0 0 46 14'%3E%3Cpath d='M2 7q5.5-6 11 0t11 0 11 0 9 0' fill='none' stroke='%23d98aa0' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 46px 14px no-repeat; }
  /* «Работы»: точки окна браузера, как на карточках работ */
  #works::before { width: 36px; height: 8px; margin-left: -18px; border-radius: 0; background: radial-gradient(circle at 4px 4px, #ff6159 3.6px, transparent 4.2px), radial-gradient(circle at 18px 4px, #ffbd2e 3.6px, transparent 4.2px), radial-gradient(circle at 32px 4px, #28c941 3.6px, transparent 4.2px); }
  /* «Как мы работаем»: полоска прогресса */
  #process::before { width: 48px; height: 6px; margin-left: -24px; background: linear-gradient(90deg, var(--brand-bright), var(--brand) 50%, #ecd4da 50%); }
  /* «Отзывы»: пять звёзд */
  #reviews::before { content: "★★★★★"; top: 8px; width: auto; height: auto; margin-left: 0; transform: translateX(-50%); background: none; color: #e7a2b6; font-size: 12px; letter-spacing: 3px; line-height: 1; }
}
/* Слои листов по порядку: каждый следующий лежит поверх предыдущего */
@media (max-width: 700px) {
  #reviews { z-index: 3; }
  #contact { z-index: 4; }
  .footer { z-index: 5; }
}

/* ==========================================================================
   Компьютер и планшет: те же листы, что на телефоне - скруглённый верх, тень,
   свой значок сверху у каждого раздела; каждый следующий лежит поверх предыдущего
   ========================================================================== */
@media (min-width: 701px) {
  .hero { z-index: 0; }
  .inds, #services, #works, #why, #process, #reviews, #contact, .footer { position: relative; border-radius: 48px 48px 0 0; margin-top: -48px; box-shadow: 0 -1px 0 var(--line), 0 -30px 60px -44px rgba(168, 19, 63, 0.5); }
  .inds { z-index: 1; background: #fff; padding-top: calc(var(--section) * 0.85); }
  #services { z-index: 2; background: var(--bg); }
  #works { z-index: 3; background: #fff; }
  #why { z-index: 4; box-shadow: 0 -30px 60px -44px rgba(43, 7, 17, 0.7); }
  #process { z-index: 5; background: var(--bg); }
  #reviews { z-index: 6; }
  #contact { z-index: 7; box-shadow: 0 -30px 60px -44px rgba(43, 7, 17, 0.7); }
  .footer { z-index: 8; box-shadow: 0 -30px 60px -44px rgba(43, 7, 17, 0.8); }
  .inds { padding-bottom: calc(var(--section) * 0.4 + 48px); }

  .inds::before, #services::before, #works::before, #process::before, #reviews::before, #contact::before { content: ""; position: absolute; top: 18px; left: 50%; z-index: 2; }
  /* «Для кого»: точки в цветах сфер */
  .inds::before { width: 44px; height: 10px; margin-left: -22px; background: radial-gradient(circle at 5px 5px, #f0a050 4.4px, transparent 5px), radial-gradient(circle at 22px 5px, #2fd0bf 4.4px, transparent 5px), radial-gradient(circle at 39px 5px, #9384ff 4.4px, transparent 5px); }
  /* «Услуги»: волна из логотипа */
  #services::before { top: 16px; width: 58px; height: 18px; margin-left: -29px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='14' viewBox='0 0 46 14'%3E%3Cpath d='M2 7q5.5-6 11 0t11 0 11 0 9 0' fill='none' stroke='%23d98aa0' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 58px 18px no-repeat; }
  /* «Работы»: точки окна браузера */
  #works::before { width: 44px; height: 10px; margin-left: -22px; background: radial-gradient(circle at 5px 5px, #ff6159 4.4px, transparent 5px), radial-gradient(circle at 22px 5px, #ffbd2e 4.4px, transparent 5px), radial-gradient(circle at 39px 5px, #28c941 4.4px, transparent 5px); }
  /* «Как мы работаем»: полоска прогресса */
  #process::before { width: 60px; height: 7px; margin-left: -30px; border-radius: 999px; background: linear-gradient(90deg, var(--brand-bright), var(--brand) 50%, #ecd4da 50%); }
  /* «Отзывы»: пять звёзд */
  #reviews::before { content: "★★★★★"; top: 14px; transform: translateX(-50%); color: #e7a2b6; font-size: 14px; letter-spacing: 4px; line-height: 1; }
  /* «Контакты»: светлая полоска */
  #contact::before { width: 52px; height: 6px; margin-left: -26px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); }
}

/* Волну над «Услугами» убрали */
#services::before { display: none !important; }

/* ==========================================================================
   Компьютер: первый экран целиком помещается в окно вместе с кнопками.
   Размеры зависят и от высоты окна, поэтому на невысоких ноутбуках всё мельче.
   ========================================================================== */
@media (min-width: 960px) {
  .hero { padding-top: clamp(18px, 4.2vh, 64px); }
  .hero__title { font-size: clamp(42px, min(3.6vw + 18px, 7.8vh), 78px); margin-top: clamp(12px, 2vh, 22px); }
  .hero__lead { margin-top: clamp(12px, 2vh, 20px); font-size: clamp(15.5px, 2.1vh, 19px); }
  .hero__checks { margin-top: clamp(12px, 2.2vh, 22px); gap: clamp(6px, 1.1vh, 10px); }
  .hero__actions { margin-top: clamp(16px, 3vh, 30px); }
  .hero__note { margin-top: clamp(8px, 1.4vh, 14px); }
  .hero__visual { padding-top: clamp(12px, 2.4vh, 28px); padding-bottom: clamp(18px, 3.4vh, 40px); }

  /* Telegram и WhatsApp рядом с главной кнопкой, короткие подписи с иконками */
  .hero__tg, .hero__wa { display: inline-flex; gap: 10px; padding: 0 24px; }
  .hero__tg span { display: none; }
  .hero__tg::after { content: "Telegram"; }
  .hero__wa::after { content: "WhatsApp"; }
  .hero__tg .ico { color: #229ed9; }
  .hero__wa .ico { color: #1fb15a; }
}
/* Компьютер: три кнопки первого экрана в один ряд на всех языках */
@media (min-width: 960px) {
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding: 0 22px; }
  .hero__actions .hero__tg, .hero__actions .hero__wa { padding: 0 18px; gap: 8px; }
}

/* ==========================================================================
   Подсказка «листайте»: рука проводит пальцем влево, за ней тянется след из точек.
   Когда человек начал листать сам, подсказка тает.
   ========================================================================== */
.swipe-hint { align-items: center; gap: 10px; width: fit-content; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--blush); border: 1px solid #f3d2da; color: var(--brand); font-size: 13px; font-weight: 700; transition: opacity 0.5s, transform 0.5s var(--ease); }
.swipe-hint.is-done { opacity: 0; transform: translateY(-4px); pointer-events: none; }
.swipe-hint__anim { position: relative; width: 52px; height: 28px; flex: none; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #f3d2da; overflow: hidden; }
.swipe-hint__anim i { position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -4px; border-radius: 50%; background: var(--brand-bright); opacity: 0; animation: swipe-dot 1.9s ease-in-out infinite; }
.swipe-hint__anim i:nth-child(1) { left: 30px; animation-delay: 0.32s; }
.swipe-hint__anim i:nth-child(2) { left: 22px; animation-delay: 0.42s; }
.swipe-hint__anim i:nth-child(3) { left: 14px; animation-delay: 0.52s; }
.swipe-hint__hand { position: absolute; top: 3px; left: 26px; width: 20px; height: 20px; fill: #fff; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; animation: swipe-hand 1.9s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes swipe-hand {
  0%, 12% { transform: translateX(4px) rotate(8deg); }
  55% { transform: translateX(-18px) rotate(-10deg); }
  70%, 100% { transform: translateX(4px) rotate(8deg); opacity: 1; }
}
@keyframes swipe-dot {
  0% { opacity: 0; transform: scale(0.4); }
  25% { opacity: 0.9; transform: scale(1); }
  55%, 100% { opacity: 0; transform: scale(0.4); }
}
@media (prefers-reduced-motion: reduce) {
  .swipe-hint__hand, .swipe-hint__anim i { animation: none; }
}

/* Компьютер: подсказка «листайте» - тонкий кружок со стрелкой и подпись, сколько ещё разделов ниже.
   Появляется через 5 секунд после загрузки, если человек ещё не листал; после прокрутки больше не показывается. */
.scroll-hint { display: none; }
@media (min-width: 960px) {
  .scroll-hint { position: fixed; left: 50%; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 12px; pointer-events: none; opacity: 0; transform: translate(-50%, 8px); transition: opacity 0.7s, transform 0.7s var(--ease); }
  .scroll-hint.is-shown { opacity: 1; transform: translate(-50%, 0); }
  .scroll-hint__circle { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); color: var(--brand); }
  .scroll-hint__circle .ico { width: 16px; height: 16px; transform: rotate(90deg); animation: scroll-bob 1.8s ease-in-out infinite; }
  .scroll-hint__txt { display: grid; line-height: 1.25; }
  .scroll-hint__txt b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
  .scroll-hint__txt small { font-size: 12px; color: var(--muted); }
}
@keyframes scroll-bob { 0%, 100% { translate: 0 -2px; } 50% { translate: 0 3px; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint__circle .ico { animation: none; } }

/* Полоски сверху у карточек с цифрами видны сразу, вместе с блоком */
.stats .stat::before { transform: scaleX(1); transition: none; }

/* Компьютер: между первым экраном и цифрами - тонкая полупрозрачная линия,
   к краям растворяется, в центре чуть ярче и мягко светится */
@media (min-width: 960px) {
  .hero > .container:not(.hero__grid) { margin-top: clamp(26px, 4.6vh, 56px); }
  .hero > .container:not(.hero__grid)::before { content: ""; display: block; height: 1px; margin-bottom: clamp(26px, 4.6vh, 56px); background: linear-gradient(90deg, transparent, rgba(168, 19, 63, 0.18) 18%, rgba(226, 38, 95, 0.42) 50%, rgba(168, 19, 63, 0.18) 82%, transparent); box-shadow: 0 0 16px 1px rgba(226, 38, 95, 0.16); }
  .hero .stats { margin-top: 0; }
}
