/* ТОО «ПРОМРЕШЕНИЯ» — сайт, версия 5.
   Главное правило — никаких острых углов: шапка и тёмные блоки — плавающие скруглённые панели,
   кнопки — таблетки, вместо квадратов — круги.
   Фон смешанный: белые разделы и чёрные панели. Главный цвет — красный (Old Spice), детали — зеркальное серебро.
   Шрифты свои, из папки fonts: Inter Tight — заголовки, Inter — текст. */

@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-cyrillic-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-cyrillic-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-cyrillic-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-cyrillic-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --red: #B5121B;
  --red-2: #D0161F;
  --black: #0B0B0C;
  --chrome: linear-gradient(100deg, #8C939B 0%, #F4F6F8 18%, #A3A9B0 36%, #FFFFFF 50%, #7B828A 66%, #DDE1E5 82%, #8C939B 100%);
  --steel: linear-gradient(100deg, #1E2226 0%, #6E767E 20%, #2A2F34 38%, #8D949B 52%, #30353A 70%, #5F666D 86%, #1E2226 100%);
  --silver: linear-gradient(115deg, #BFC4C9 0%, #EEF0F2 20%, #A9AEB4 38%, #FAFBFC 52%, #959BA2 70%, #DFE2E5 86%, #B3B8BE 100%);
  --silver-soft: linear-gradient(145deg, #F1F2F4 0%, #DCDFE3 40%, #EBEDF0 58%, #D1D5D9 100%);
  --head: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 28px;
  --r-lg: 40px;
  --gap: 12px;
  --gut: clamp(20px, 4vw, 56px);
  /* основной фон — серый (белого на сайте нет) */
  --gray: #E2E4E7;
  --bg: var(--gray);
  --ink: #0B0B0C;
  --ink-2: #43464B;
  --ink-3: #6F7277;
  --line: #CDD0D4;
  --line-2: #B5B9BE;
  --card: #EDEEF0;
  --metal: var(--steel);
  /* рамка карточек — светлое зеркальное серебро */
  --rim: linear-gradient(135deg, #D3D7DB 0%, #8E949B 28%, #F4F6F8 50%, #9EA4AB 72%, #DADDE1 100%);
  --edge: .9;
}

/* Тёмные панели (чёрные и тёмно-серые): те же токены, светлые значения */
.dark, .graphite {
  --bg: #0B0B0C;
  --ink: #F5F5F7;
  --ink-2: rgba(255, 255, 255, .72);
  --ink-3: rgba(255, 255, 255, .5);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .24);
  --card: #141416;
  --metal: var(--chrome);
  --rim: var(--chrome);
  --silver-soft: linear-gradient(145deg, #1C1D20 0%, #131315 50%, #1E1F22 100%);
  --edge: .5;
}
/* Тёмно-серые панели */
.graphite { --bg: #25272B; --card: #2F3135; --silver-soft: linear-gradient(145deg, #35373C 0%, #2B2D31 50%, #383A3F 100%); }
.dark, .graphite { background: var(--bg); color: var(--ink); }

* { box-sizing: border-box; }
html { background: var(--gray); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--gray); font: 400 16px/1.6 var(--sans); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 999px; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 600; letter-spacing: -.025em; }
em { font-style: normal; color: var(--red); }
.dark em, .graphite em { color: var(--red-2); }
.shell { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }

/* Скруглённые панели вместо полос во всю ширину */
.panel { position: relative; margin: 0 var(--gap); border-radius: var(--r-lg); overflow: hidden; }
.panel + .panel { margin-top: var(--gap); }

/* Серебряный текст: целиком (.mt) или по словам; по металлу медленно бежит блик */
.mt:not(.split), .mt.split .w > span { background: var(--metal); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt.split em .w > span, .mt em { background: none; color: var(--red); -webkit-text-fill-color: currentColor; }
.dark .mt.split em .w > span, .dark .mt em, .graphite .mt.split em .w > span, .graphite .mt em { color: var(--red-2); }
b.mt { font-weight: 650; }
@keyframes sheen { to { background-position: 250% 0; } }

/* Мелкие красные точки за всем сайтом */
.dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
/* Крупные красные шарики на первом экране и в заявке */
.balls { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease); -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, .5) 0%, #000 55%); mask-image: linear-gradient(100deg, rgba(0, 0, 0, .5) 0%, #000 55%); }
.balls.is-on { opacity: 1; }
.balls--soft { -webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .35) 60%); mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .35) 60%); }

/* Кнопки — таблетки, как переключатели в настройках iPhone */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--sans); white-space: nowrap; }
.btn--lg { height: 58px; padding: 0 34px; font-size: 16px; }
.btn--red { background: var(--red); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 28px -12px rgba(181, 18, 27, .85); }
.btn--red:hover { background: var(--red-2); }
.btn--silver { background: var(--chrome); background-size: 250% 100%; color: var(--black); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 12px 28px -14px rgba(0, 0, 0, .7); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--black); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn--dark:hover { background: #222326; }
.btn:disabled { opacity: .5; pointer-events: none; }
.arr { font-style: normal; }
.ibtn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); flex: none; }
.ibtn:hover { border-color: var(--ink); background: rgba(255, 255, 255, .06); }
.ibtn svg { width: 18px; height: 18px; }
.ibtn--menu { gap: 4px; align-content: center; }
.ibtn--menu i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }

/* Полоса прокрутки — тонкая таблетка под шапкой */
.progress { position: fixed; left: 50%; top: 6px; z-index: 120; width: min(240px, 40vw); height: 4px; margin-left: min(-120px, -20vw); border-radius: 999px; background: rgba(0, 0, 0, .08); overflow: hidden; pointer-events: none; }
.progress i { position: absolute; inset: 0; border-radius: 999px; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* Знак (svg из app.js) */
[data-mark] svg, [data-mark-steel] svg { width: 100%; height: auto; }

/* Шапка — плавающая тёмная таблетка */
.hdr { --ink: #F5F5F7; --line-2: rgba(255, 255, 255, .22); --metal: var(--chrome); position: fixed; top: 22px; left: 0; right: 0; z-index: 60; pointer-events: none; transform: translateZ(0); }
.hdr__in { pointer-events: auto; display: flex; align-items: center; gap: 10px; height: 70px; padding: 0 12px 0 18px; border-radius: 999px; background: rgba(17, 17, 19, .78); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 44px -26px rgba(0, 0, 0, .7); color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 46px; flex: none; }
.logo__word { font: 700 18px/1 var(--head); letter-spacing: .02em; background: var(--metal); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hdr__nav { margin-left: auto; margin-right: 10px; }
.hdr__nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hdr__nav a { display: block; padding: 10px 16px; white-space: nowrap; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .72); transition: color .2s, background .25s; }
.hdr__nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.hdr__nav a.is-active { color: var(--black); background: var(--chrome); }
.hdr__cta { height: 46px; margin-right: 2px; }

/* Меню справа */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .35s; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer { --ink: #F5F5F7; --ink-3: rgba(255, 255, 255, .5); --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .22); --metal: var(--chrome); position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 100; display: flex; flex-direction: column; gap: 24px; width: min(440px, calc(100% - 24px)); padding: 16px 28px 30px; border-radius: 32px; background: #131315; color: var(--ink); border: 1px solid var(--line); overflow-y: auto; transform: translateX(calc(100% + 24px)); transition: transform .5s var(--ease); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.search { position: relative; }
.search input { width: 100%; height: 52px; padding: 0 60px 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 15px; outline: 0; transition: border-color .2s; }
.search input:focus { border-color: var(--red-2); }
.search input::placeholder { color: var(--ink-3); }
.search__go { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; }
.search__res { margin: -12px 0 0; padding: 0; list-style: none; }
.search__res a { display: block; padding: 12px 16px; border-radius: 20px; transition: background .2s; }
.search__res a:hover { background: rgba(255, 255, 255, .06); }
.search__res b { display: block; font-weight: 600; font-size: 15px; }
.search__res span { display: block; font-size: 13px; color: var(--ink-3); }
.search__res .none { padding: 10px 16px; color: var(--ink-3); font-size: 14px; }
.search__res .none a { display: inline; padding: 0; color: var(--red-2); }
.drawer__nav a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin: 0 -18px; border-radius: 999px; font: 600 22px/1.2 var(--head); letter-spacing: -.01em; transition: background .25s; }
.drawer__nav a::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--chrome); flex: none; transition: background .25s; }
.drawer__nav a:hover { background: rgba(255, 255, 255, .06); }
.drawer__nav a:hover::before { background: var(--red-2); }
.drawer__contacts { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 16px; color: rgba(255, 255, 255, .75); }
.drawer__contacts .btn { margin-top: 12px; }

/* Первый экран */
.hero { margin-top: var(--gap); display: flex; flex-direction: column; min-height: calc(100svh - 2 * var(--gap)); }
.hero__in { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 140px; padding-bottom: 90px; }
.hero__title { max-width: 13ch; font-size: clamp(46px, 6.4vw, 98px); line-height: 1; letter-spacing: -.04em; }
.hero__lead { margin: 30px 0 0; max-width: 40ch; font-size: clamp(17px, 1.45vw, 22px); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Серебряная лента */
.ticker { position: relative; margin: var(--gap) var(--gap) 0; padding: 22px 0; border-radius: 999px; background: var(--silver); overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(0, 0, 0, .14), 0 20px 40px -30px rgba(0, 0, 0, .45); }
.ticker::after { content: ''; position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); pointer-events: none; z-index: 3; }
.ticker__row { position: relative; z-index: 2; display: flex; width: max-content; will-change: transform; }
.ticker__row span { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font: 600 18px/1 var(--head); letter-spacing: -.01em; white-space: nowrap; color: #24282C; }
.ticker__row span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 2px 6px rgba(181, 18, 27, .5); }

/* Разделы */
.sec { position: relative; padding: clamp(90px, 11vw, 160px) 0; }
.head { margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { font-size: clamp(38px, 4.4vw, 66px); line-height: 1.03; letter-spacing: -.035em; max-width: 18ch; }
.head__lead { margin: 22px 0 0; max-width: 32ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); }

/* Ячейка: серебряная рамка всегда, при наведении ярче */
.cell { position: relative; border-radius: var(--r); background: var(--silver-soft); transition: box-shadow .35s, transform .4s var(--ease); }
.cell::before, .form::before, .prom::before, .geo__map::before, .faq__item::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--rim); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: var(--edge); transition: opacity .3s; pointer-events: none; }
.cell:hover::before, .cell:focus-visible::before { opacity: 1; }
.cell:hover { box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .45); transform: translateY(-3px); }
.num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--silver); color: var(--black); font: 700 16px/1 var(--head); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(0, 0, 0, .16), 0 6px 14px -8px rgba(0, 0, 0, .5); transition: background .3s, color .3s; flex: none; }

/* Боль — большие серебристые ячейки; нажали — проблема меняется на решение */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pain { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 320px; padding: 30px 32px 36px; text-align: left; }
.pain__top { display: flex; justify-content: space-between; align-items: center; }
.pain__ic { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background .35s, border-color .35s, transform .5s var(--ease); flex: none; }
.pain__ic::before, .pain__ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: var(--ink); transition: background .3s; }
.pain__ic::after { transform: rotate(90deg); }
.pain:hover .pain__ic { border-color: var(--red); transform: rotate(90deg); }
.pain__body { display: grid; align-items: end; }
.pain__body > * { grid-area: 1 / 1; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.pain__t, .pain__fix { font: 600 clamp(24px, 2.1vw, 32px)/1.15 var(--head); letter-spacing: -.025em; max-width: 14ch; }
.pain__t { background: var(--steel); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.pain__fix { color: var(--red); opacity: 0; transform: translateY(12px); }
.pain.is-solved { box-shadow: inset 0 0 0 2px var(--red); }
.pain.is-solved .pain__t { opacity: 0; transform: translateY(-12px); }
.pain.is-solved .pain__fix { opacity: 1; transform: none; }
.pain.is-solved .pain__ic { background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; border-color: var(--red); transform: none; }
.pain.is-solved .pain__ic::before, .pain.is-solved .pain__ic::after { opacity: 0; }
.pain.is-solved .num { background: var(--red); color: #fff; box-shadow: none; }

/* Что делаем — направления. Первая карточка крупная с красным свечением, последняя — широкая серебряная */
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dir { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 300px; padding: 30px 32px 34px; }
.dir__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--chrome); color: var(--black); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 10px 22px -12px rgba(0, 0, 0, .8); flex: none; }
.dir__ic svg { width: 28px; height: 28px; }
.dir h3 { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.12; letter-spacing: -.03em; max-width: 16ch; background: var(--metal); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.dir p { margin: 12px 0 0; max-width: 32ch; font-size: 17px; color: var(--ink-2); }
.dir--main { grid-column: span 2; background: radial-gradient(ellipse 70% 90% at 90% 0%, rgba(208, 22, 31, .42), transparent 62%), var(--silver-soft); }
.dir--main .dir__ic { background: var(--red); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 24px -10px rgba(208, 22, 31, .9); }
.dir--main h3 { font-size: clamp(32px, 3.4vw, 52px); max-width: 14ch; }
.dir--main p { font-size: 19px; }
.dir--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 24px; min-height: 0; padding: 26px 34px; border-radius: 999px; background: var(--silver); color: var(--black); }
.dir--wide .dir__ic { background: var(--black); color: #fff; box-shadow: none; }
.dir--wide .dir__txt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 28px; }
.dir--wide h3 { max-width: none; background: var(--steel); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; }
.dir--wide p { margin: 0; max-width: none; color: #33373C; }

/* Как работаем — линия-таблетка, по ней катится красный шар на тросе */
.how__track { position: relative; }
.how__line { position: relative; height: 6px; margin: 30px 0 34px; border-radius: 999px; background: var(--line); }
.how__line i { position: absolute; inset: 0; border-radius: 999px; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
.how__load { position: absolute; left: 0; top: -11px; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F25A61 0%, var(--red) 45%, #6E0A10 100%); box-shadow: 0 8px 16px -4px rgba(181, 18, 27, .7); will-change: transform; }
.how__load::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 3px; height: 22px; margin-left: -1.5px; border-radius: 3px; background: var(--metal); }
.how__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.how__steps li { display: flex; flex-direction: column; min-height: 290px; padding: 28px 28px 34px; background: var(--card); }
.how__steps h3 { margin-top: auto; font-size: clamp(26px, 2.2vw, 32px); letter-spacing: -.03em; background: var(--metal); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .45; transition: opacity .4s; }
.how__steps p { margin: 10px 0 0; max-width: 22ch; color: var(--ink-3); font-size: 16px; transition: color .4s; }
.how__steps li.is-on h3 { opacity: 1; }
.how__steps li.is-on p { color: var(--ink-2); }
.how__steps li.is-on .num { background: var(--red); color: #fff; box-shadow: none; }
.how__steps li.is-on::before { opacity: 1; }

/* Кто мы — большой серебряный блок */
.about__panel { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); grid-template-areas: 'text art' 'facts facts'; gap: 52px 40px; padding: clamp(34px, 5.5vw, 80px); border-radius: var(--r-lg); background: var(--silver); color: var(--black); overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 50px 90px -50px rgba(0, 0, 0, .5); }
.about__panel::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 3px), radial-gradient(ellipse 60% 80% at 85% 20%, rgba(255, 255, 255, .6), transparent 60%); mix-blend-mode: soft-light; }
.about__text { grid-area: text; position: relative; z-index: 1; }
.about__panel h2 { font-size: clamp(38px, 4.8vw, 72px); line-height: 1.02; letter-spacing: -.04em; max-width: 15ch; }
.about__panel h2 .w > span:not(em *) { background: var(--steel); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__panel h2 em { color: var(--red); }
.about__lead { margin: 26px 0 0; max-width: 34ch; font-size: clamp(18px, 1.5vw, 22px); color: #2B2F34; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.about__art { grid-area: art; position: relative; z-index: 1; align-self: center; justify-self: end; width: min(300px, 100%); filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .22)); }
.about__facts { grid-area: facts; position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.about__facts li { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 28px 0 22px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .4); font: 600 18px/1 var(--head); letter-spacing: -.01em; }
.about__facts li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 2px 6px rgba(181, 18, 27, .45); flex: none; }

/* Обещания — цифры хромом на чёрном */
.promises__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.prom { position: relative; padding: 32px 32px 34px; border-radius: var(--r); background: linear-gradient(160deg, #1A1B1E, #0F0F11); }
.prom b { display: block; font: 700 clamp(52px, 5.4vw, 86px)/1 var(--head); letter-spacing: -.045em; background: var(--chrome); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.prom span { display: block; margin-top: 14px; font-size: 17px; color: var(--ink-2); }

/* География */
.geo { display: grid; grid-template-columns: minmax(260px, 1fr) 2.2fr; gap: 56px; align-items: center; }
.geo__map { position: relative; min-width: 0; padding: clamp(16px, 2.5vw, 36px); border-radius: var(--r-lg); background: var(--silver-soft); box-shadow: 0 30px 70px -45px rgba(0, 0, 0, .4); }
.geo__svg { width: 100%; height: auto; overflow: visible; }
.geo__svg .gd { fill: var(--ink); opacity: .16; }
.geo__svg .route-b { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.geo__svg .route { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 10; animation: flow 2.4s linear infinite; }
.geo__svg .c .dot { fill: url(#stl); }
.graphite .geo__svg .c .dot { fill: url(#chr); }
.geo__svg .hub .dot { fill: var(--red); }
.geo__svg .p { fill: none; }
.geo__svg .hub .p { stroke: var(--red); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
.geo__svg text { font: 600 17px var(--sans); fill: var(--ink-2); }
.geo__svg .hub text { font-weight: 700; fill: var(--ink); }
@keyframes flow { to { stroke-dashoffset: -20.2; } }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(3); opacity: 0; } }

/* Вопросы — серебристые скруглённые карточки */
.faq { display: grid; grid-template-columns: minmax(260px, 1fr) 2.2fr; gap: 56px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { position: relative; padding: 0 30px; border-radius: var(--r); background: var(--silver-soft); }
.faq__item::before { opacity: .45; }
.faq__item.is-open::before, .faq__item:hover::before { opacity: 1; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 26px 0; font: 600 21px/1.3 var(--head); letter-spacing: -.015em; text-align: left; transition: color .2s; }
.faq__q:hover { color: var(--red); }
.faq__q i { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--silver); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 4px 10px -6px rgba(0, 0, 0, .5); flex: none; transition: background .3s; }
.faq__q i::before, .faq__q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--black); transition: transform .35s var(--ease), background .3s; }
.faq__q i::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q i { background: var(--red); }
.faq__item.is-open .faq__q i::before, .faq__item.is-open .faq__q i::after { background: #fff; }
.faq__item.is-open .faq__q i::after { transform: none; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 0 28px; max-width: 56ch; font-size: 17px; color: var(--ink-2); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* Заявка */
.request__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.request__phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; height: 60px; padding: 0 28px; border-radius: 999px; background: var(--chrome); background-size: 250% 100%; color: var(--black); font: 700 21px var(--head); letter-spacing: -.01em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 14px 30px -16px rgba(0, 0, 0, .9); }
.request__phone::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.form { position: relative; padding: 38px 40px 34px; border-radius: 34px; background: rgba(20, 20, 22, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.form::before { opacity: .7; }
.form__bar { position: relative; height: 6px; margin-bottom: 30px; border-radius: 999px; background: var(--line); overflow: hidden; }
.form__bar i { position: absolute; inset: 0; border-radius: 999px; background: var(--red); transform-origin: 0 50%; transform: scaleX(.33); transition: transform .5s var(--ease); }
.form__step, .form__done { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.form__step.is-active, .form__done.is-active { display: block; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }
.form legend { display: block; margin-bottom: 24px; padding: 0; font: 600 30px/1.15 var(--head); letter-spacing: -.025em; background: var(--chrome); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 500; color: var(--ink-2); }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.field { display: block; margin-bottom: 14px; }
.field input, .field textarea, .field select { display: block; width: 100%; padding: 15px 22px; border: 1px solid var(--line-2); border-radius: 24px; background: rgba(255, 255, 255, .04); font-size: 16px; outline: 0; resize: vertical; transition: border-color .2s; }
.field input, .field select { height: 54px; border-radius: 999px; }
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 48px; background: rgba(255, 255, 255, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 22px center / 10px no-repeat; }
.field select option { background: #131315; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red-2); }
.field ::placeholder { color: var(--ink-3); }
.field.is-error input, .field.is-error textarea { border-color: var(--red-2); }
.drop { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 12px; border: 1px dashed var(--line-2); border-radius: 999px; cursor: pointer; transition: border-color .2s; }
.drop:hover, .drop.is-over { border-color: var(--red-2); }
.drop__sq { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--chrome); color: var(--black); font-weight: 700; font-size: 18px; flex: none; }
.drop__t { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.drop__img { width: 44px; height: 44px; margin-left: auto; border-radius: 50%; object-fit: cover; }
.form__ok { display: block; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat; }
.form__done h3 { font-size: 34px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.form__done p { margin: 10px 0 26px; max-width: 40ch; color: var(--ink-2); }
.form__done-act { display: flex; flex-wrap: wrap; gap: 10px; }
.form__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; }
.form[data-at="1"] [data-prev] { visibility: hidden; }
.form[data-at="done"] .form__nav { display: none; }

/* Подвал — чёрная панель, название серебром во всю ширину */
.ftr { margin-bottom: var(--gap); padding: 64px 0 30px; }
.ftr__top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 56px; }
.ftr__col { display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow-wrap: anywhere; font-size: 16px; color: var(--ink-2); }
.ftr__col a:hover, .ftr__nav a:hover { color: var(--ink); }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: 420px; font-size: 16px; color: var(--ink-2); }
.ftr__req { margin-left: auto; }
/* Размер шрифта подгоняет app.js, чтобы слово целиком влезало в ширину */
.ftr__word { display: block; width: fit-content; max-width: 100%; margin: clamp(48px, 7vw, 96px) 0 0; padding-right: .04em; font: 700 clamp(36px, 9vw, 150px)/1 var(--head); letter-spacing: -.04em; white-space: nowrap; background: var(--chrome); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.ftr__bottom { margin-top: 26px; font-size: 14px; color: var(--ink-3); }

/* Реквизиты */
.req { --ink: #F5F5F7; --ink-2: rgba(255, 255, 255, .75); --ink-3: rgba(255, 255, 255, .5); --line-2: rgba(255, 255, 255, .22); width: min(600px, 92vw); padding: 28px 32px 32px; border: 1px solid var(--line-2); border-radius: 34px; background: #131315; color: var(--ink); }
.req::backdrop { background: rgba(0, 0, 0, .65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.req__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.req__head b { font: 600 24px var(--head); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.req__list { display: grid; grid-template-columns: 170px 1fr; gap: 12px 20px; margin: 0 0 26px; }
.req__list dt { font-size: 13px; color: var(--ink-3); }
.req__list dd { margin: 0; font-size: 14px; color: var(--ink-2); }

/* Сообщение */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; max-width: calc(100% - 40px); padding: 15px 24px; border-radius: 999px; background: var(--chrome); color: var(--black); font-size: 15px; font-weight: 600; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── Анимации ── */

/* Блик бежит по всему серебру: заголовки, кнопки, цифры, название в подвале */
.motion .mt:not(.split), .motion .mt.split .w > span, .motion .logo__word, .motion .prom b, .motion .ftr__word, .motion .pain__t, .motion .dir h3, .motion .how__steps h3, .motion .about__panel h2 .w > span, .motion .form legend { animation: sheen 7s linear infinite; }
.motion .mt.split .w > span, .motion .about__panel h2 .w > span { animation-delay: calc(var(--i) * -.35s); }
.motion .ticker::after { animation: glint 5s var(--ease) infinite; }
@keyframes glint { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(480%); } }

/* Шапка выезжает сверху при загрузке */
.motion .hdr__in { animation: hdrIn 1s var(--ease) both .15s; }
@keyframes hdrIn { from { opacity: 0; transform: translateY(-24px) scale(.97); } }

/* Каждый текст проявляется при прокрутке, заголовки — по словам */
.motion [data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.motion [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; }
.motion .split .w > span { transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms + 80ms); }
.motion .split.is-in .w > span { transform: none; }
.motion .pains .pain, .motion .work__grid .dir, .motion .how__steps li, .motion .about__facts li, .motion .promises__grid .prom { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .8s var(--ease) calc(var(--i) * 80ms), transform .8s var(--ease) calc(var(--i) * 80ms), box-shadow .35s; }
.motion .pains.is-in .pain, .motion .work__grid.is-in .dir, .motion .how__steps.is-in li, .motion .about__facts.is-in li, .motion .promises__grid.is-in .prom { opacity: 1; transform: none; }
.motion .pains.is-in .pain:hover { transform: translateY(-3px); transition-delay: 0s; }
.is-paused, .is-paused * { animation-play-state: paused !important; }
html:not(.motion) *, html:not(.motion) *::before, html:not(.motion) *::after { animation: none !important; }
html:not(.motion) { scroll-behavior: auto; }

/* Планшет */
/* Пять разделов в шапке помещаются от 1240 px; уже — они в меню */
@media (max-width: 1240px) {
  .hdr__nav { display: none; }
  .hdr__cta { margin-left: auto; }
}

@media (max-width: 1080px) {
  .pains, .how__steps, .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo, .faq, .request__in { grid-template-columns: 1fr; }
  .promises__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__req { margin-left: 0; }
}

/* Телефон */
@media (max-width: 720px) {
  :root { --gap: 8px; --r: 24px; --r-lg: 30px; }
  .hdr { top: 14px; }
  .hdr .shell { padding: 0 14px; }
  .hdr__in { height: 62px; padding: 0 8px 0 14px; }
  .hdr__cta { display: none; }
  .ibtn[data-open-search] { margin-left: auto; }
  .ibtn { width: 44px; height: 44px; }
  .logo__mark { width: 38px; }
  .logo__word { font-size: 15px; }
  .hero__in { padding-top: 120px; padding-bottom: 56px; }
  .hero__title { font-size: clamp(42px, 12vw, 58px); }
  .hero__actions .btn { flex: 1 1 auto; }
  .ticker { padding: 18px 0; }
  .ticker__row span { font-size: 16px; }
  .pains, .how__steps, .work__grid { grid-template-columns: 1fr; gap: 12px; }
  .dir { min-height: 0; gap: 28px; padding: 24px 24px 28px; }
  .dir--main { grid-column: auto; }
  .dir--wide { flex-direction: column; align-items: flex-start; border-radius: var(--r); padding: 24px; }
  .dir--wide .dir__txt { display: block; }
  .dir--wide p { margin-top: 10px; }
  .pain { min-height: 220px; padding: 24px 24px 28px; }
  .how__line { display: none; }
  .how__steps li { min-height: 210px; padding: 24px; }
  .about__panel { grid-template-columns: 1fr; grid-template-areas: 'art' 'text' 'facts'; gap: 28px; padding: 30px 22px; }
  .about__art { justify-self: start; width: 140px; }
  .about__actions .btn { flex: 1 1 auto; }
  .about__facts li { height: 52px; font-size: 16px; padding: 0 22px 0 18px; }
  .promises__grid { gap: 10px; }
  .prom { padding: 24px 20px 26px; }
  .prom b { font-size: clamp(38px, 11vw, 52px); }
  .prom span { font-size: 15px; }
  .geo__svg text { font-size: 26px; }
  .faq__item { padding: 0 22px; }
  .faq__q { font-size: 18px; }
  .form { padding: 28px 20px 24px; border-radius: 28px; }
  .form legend { font-size: 26px; }
  .request__phone { font-size: 19px; height: 56px; padding: 0 22px; }
  .req__list { grid-template-columns: 1fr; gap: 2px; }
  .req__list dd { margin-bottom: 12px; }
  .ftr__top { flex-direction: column; gap: 22px; }
  .drawer { top: 8px; right: 8px; bottom: 8px; width: calc(100% - 16px); border-radius: 28px; }
}
