/* adervis.pro — веб-направление ADERVIS. Бренд как у adervis.ru (тёмный фон, золото, Unbounded + Golos Text),
   свой акцент направления — синий. Только тёмная тема. */

@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url("/fonts/unbounded-500-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url("/fonts/unbounded-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url("/fonts/unbounded-700-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url("/fonts/unbounded-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url("/fonts/golostext-400-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url("/fonts/golostext-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap; src: url("/fonts/golostext-500-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap; src: url("/fonts/golostext-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url("/fonts/golostext-600-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url("/fonts/golostext-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
  --bg: #141414; --bg2: #1b1b1b; --bg3: #212121; --line: #2c2c2c; --line2: #3a3a3a;
  --text: #f2f2f2; --muted: #a3a3a3;
  --gold: #f6bd3a; --gold2: #ffd673;
  --web: #3b82f6; --web2: #60a5fa; --webglow: rgba(59, 130, 246, .18);
  --disp: "Unbounded", system-ui, sans-serif; --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Roboto Mono", monospace; --dim: #8b9099; --ui: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px; --r2: 12px; --gap: 24px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--ui); overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--web2); text-underline-offset: 3px; }
a:hover { color: #93c5fd; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--disp); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(30px, 5.4vw, 60px); }
h2 { font-size: clamp(24px, 3.4vw, 40px); }
h3 { font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; }
p { margin: 0 0 1em; text-wrap: pretty; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--gold); color: #141414; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Метка раздела: моноширинная, с синим квадратиком — как подписи в чертеже */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--web2); margin-bottom: 18px; }
.kicker::before { content: ""; width: 7px; height: 7px; background: var(--web); flex: none; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }
.dim { color: var(--dim); }
h2 .dim { display: block; }
/* Зерно поверх страницы: неподвижный шум, не мешает нажатиям */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--ui); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: #141414; }
.btn--gold:hover { background: var(--gold2); color: #141414; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line2); }
.btn--ghost:hover { border-color: var(--web2); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(20, 20, 20, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo img { height: 26px; width: auto; }
.logo__tag { font: 600 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--web2); border: 1px solid rgba(96, 165, 250, .45); border-radius: 999px; padding: 5px 9px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--muted); text-decoration: none; font: 500 15px/1 var(--ui); padding: 12px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav .btn { margin-left: 8px; min-height: 44px; padding: 0 18px; font-size: 15px; color: #141414; }
.menu-btn { display: none; background: none; border: 1px solid var(--line2); color: var(--text); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-btn svg { margin: auto; width: 22px; height: 22px; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; border: 0; min-height: 50px; }
  .logo__tag { display: none; }
}

/* Секции */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }

/* ── Первый экран: сетка-чертёж с крестиками, знак, живое окно ── */
.hero { padding: clamp(36px, 6vw, 88px) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192'%3E%3Cpath d='M0 -6V6M-6 0H6' stroke='%2360a5fa' stroke-opacity='.4' stroke-width='1.2' transform='translate(0 0)'/%3E%3Cpath d='M192 186v12M186 192h12' stroke='%2360a5fa' stroke-opacity='.4' stroke-width='1.2'/%3E%3C/svg%3E"),
    linear-gradient(rgba(96, 165, 250, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, .065) 1px, transparent 1px);
  background-size: 192px 192px, 48px 48px, 48px 48px; background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 30%, transparent 75%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; } }
.hero h1 { margin-bottom: 22px; font-size: clamp(30px, 4.4vw, 52px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.spec { margin: 34px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line2); max-width: 560px; }
@media (min-width: 560px) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
.spec div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 500 12px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--dim); }
.spec dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text); }

.hero__visual { position: relative; padding-top: clamp(180px, 50vw, 215px); }
@media (min-width: 1024px) { .hero__visual { padding-top: 215px; } }
.hero__visual::before { content: ""; position: absolute; z-index: -1; inset: 0 -10% -10%; background: radial-gradient(closest-side at 55% 35%, rgba(59, 130, 246, .22), transparent); }

/* Объёмный знак: слои SVG разнесены по глубине */
.sign3d { position: absolute; top: 0; left: 50%; width: clamp(170px, 46vw, 205px); transform: translateX(-50%); perspective: 900px; z-index: 0; }
.sign3d__body { position: relative; aspect-ratio: 1360 / 1330; transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -20deg)); }
.sign3d img { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(calc(var(--i) * 1.7px)); filter: brightness(calc(.55 + var(--i) * .035)); }
.sign3d .sign3d__face { filter: drop-shadow(0 0 18px rgba(246, 189, 58, .18)); }
@media (prefers-reduced-motion: no-preference) {
  .sign3d:not(.is-live) .sign3d__body { animation: signSway 2.5s ease-in-out 2 alternate both; }
}
@keyframes signSway { from { transform: rotateX(10deg) rotateY(-26deg); } to { transform: rotateX(4deg) rotateY(14deg); } }

/* Живое окно продукта */
.demo { position: relative; z-index: 1; background: #0f1012; border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; box-shadow: 0 44px 100px -34px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.demo__bar { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--line); background: #141518; }
.demo__dots { display: flex; gap: 6px; }
.demo__dots i { width: 10px; height: 10px; border-radius: 50%; background: #34363b; }
.demo__url { flex: 1; text-align: center; font: 400 12px/1 var(--mono); color: var(--dim); }
.demo__pause { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font: 500 13px/1 var(--ui); cursor: pointer; }
.demo__pause svg { width: 14px; height: 14px; }
.demo__pause:hover { color: #fff; border-color: var(--web2); }
.demo__pause[aria-pressed="true"] { color: #fff; border-color: var(--web); background: rgba(59, 130, 246, .16); }
.demo__tabs { position: relative; display: flex; border-bottom: 1px solid var(--line); padding: 0 8px; }
.demo__tab { min-height: 46px; padding: 0 16px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: 600 15px/1 var(--ui); cursor: pointer; }
.demo__tab:hover { color: #fff; }
.demo__tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--web2); }
.demo__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.demo__progress i { display: block; height: 100%; background: var(--web); transform: scaleX(0); transform-origin: left; opacity: .6; }
.demo.is-paused .demo__progress { visibility: hidden; }
.demo__panel { padding: 20px; min-height: 292px; }
.demo__panel:focus-visible { outline-offset: -3px; }
.dp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.dp-head b { font: 500 17px/1.3 var(--disp); }
.dp-head span { font: 400 12px/1 var(--mono); color: var(--dim); }
.dp-sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slots button { min-height: 44px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: 500 15px/1 var(--mono); cursor: pointer; }
.slots button:hover:not(:disabled) { border-color: var(--web2); }
.slots button[aria-pressed="true"] { background: #2563eb; border-color: #2563eb; color: #fff; }
.slots button:disabled { color: #8a8a8a; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.dp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.demo__go { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: #2563eb; color: #fff; font: 600 15px/1 var(--ui); cursor: pointer; }
.demo__go:hover { background: #1d4ed8; }
.dp-status { margin: 0; font-size: 14px; color: var(--muted); flex: 1 1 180px; }
.dp-status.is-ok { color: #86efac; }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.kanban__col { background: #15161a; border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-height: 140px; }
.kanban__t { font: 500 11px/1.3 var(--mono); text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.deal { background: #1c2230; border-left: 3px solid var(--web2); border-radius: 8px; padding: 10px; display: grid; gap: 4px; }
.deal b { font-size: 14px; line-height: 1.3; font-weight: 600; }
.deal span { font: 500 13px/1 var(--mono); color: var(--web2); }
.deal.is-paid { border-left-color: var(--gold); }
.deal.is-paid span { color: var(--gold); }
@media (prefers-reduced-motion: no-preference) { .deal { animation: dealIn .35s ease; } }
@keyframes dealIn { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 480px) { .kanban { grid-template-columns: minmax(0, 1fr); } .kanban__col { min-height: 0; } .kanban__col:empty, .kanban__col:not(:has(.deal)) { padding-bottom: 4px; } }
.kanban__t, .deal span { overflow-wrap: anywhere; }
.stock { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.stock th { text-align: left; font: 500 11px/1 var(--mono); text-transform: uppercase; color: var(--dim); padding: 0 0 10px; }
.stock td { padding: 11px 0; border-top: 1px solid var(--line); }
.stock td + td, .stock th + th { text-align: right; font-family: var(--mono); }
.stock .is-low { color: #fca5a5; }

/* Строка сервисов: едет только вместе с прокруткой (сама не движется) */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; }
.ticker ul { display: flex; gap: 40px; padding: 0 20px; margin: 0; list-style: none; }
.ticker li { font: 500 14px/1 var(--mono); text-transform: uppercase; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.ticker li::after { content: "+"; color: var(--web2); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ticker__track { animation: tick linear both; animation-timeline: view(); }
  }
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-35%); } }

/* Возможности: плитки разного размера */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile--f { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile--a, .tile--b { grid-column: span 3; } .tile--c, .tile--d, .tile--e { grid-column: span 2; } .tile--f { grid-column: 1 / -1; }
  .tile--f { display: grid; grid-template-columns: 60px minmax(0, .8fr) minmax(0, 1.2fr); gap: 0 28px; align-items: start; }
  .tile--f h3, .tile--f > p:not(.tile__n) { grid-column: 2; } .tile--f ul { grid-column: 3; grid-row: 1 / span 3; margin-top: 0; }
}
.tile { position: relative; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; overflow: hidden; transition: border-color .25s; }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(96, 165, 250, .13), transparent 45%); }
@media (hover: hover) and (pointer: fine) { .tile:hover { border-color: rgba(96, 165, 250, .5); } .tile:hover::before { opacity: 1; } }
.tile > * { position: relative; }
.tile .tile__n { font: 500 13px/1 var(--mono); color: var(--web2); margin-bottom: 20px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 16px; margin-bottom: 0; }
.tile ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tile li { font-size: 14px; line-height: 1.2; color: #d4d4d4; border: 1px solid var(--line2); border-radius: 999px; padding: 8px 12px; }

/* Калькулятор */
.calc { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .calc { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; } }
.calc fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.calc legend { font: 500 18px/1.3 var(--disp); margin-bottom: 14px; padding: 0; }
.calc__hint { font: 400 15px/1 var(--ui); color: var(--muted); }
.calc__opts { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .calc__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.opt__body { position: relative; display: grid; gap: 4px; height: 100%; padding: 15px 50px 15px 16px; border: 1px solid var(--line2); border-radius: 14px; background: var(--bg2); transition: border-color .2s, background .2s; }
.opt__body::after { content: ""; position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border: 1.5px solid #8a8a8a; border-radius: 6px; }
.opt input[type=radio] + .opt__body::after { border-radius: 50%; }
.opt b { font-size: 16px; font-weight: 600; line-height: 1.3; }
.opt small { font-size: 14px; color: var(--muted); line-height: 1.35; }
.opt__price { font: 500 14px/1.3 var(--mono); color: var(--web2); margin-top: 2px; }
.opt:hover .opt__body { border-color: #5a5a5a; }
.opt input:checked + .opt__body { border-color: var(--web); background: rgba(59, 130, 246, .1); }
.opt input:checked + .opt__body::after { background: var(--web) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3.5 3.5L15 7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; border-color: var(--web); }
.opt input:focus-visible + .opt__body { outline: 3px solid var(--gold); outline-offset: 2px; }
.calc__side { align-self: start; background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r); padding: 26px; }
@media (min-width: 960px) { .calc__side { position: sticky; top: 96px; } }
.calc__price { font: 700 clamp(26px, 3vw, 36px)/1.15 var(--disp); margin: 0 0 8px; }
.calc__price.is-empty { font-size: 20px; font-weight: 500; color: var(--muted); }
.calc__term { font-size: 17px; color: #d4d4d4; margin: 0; min-height: 1.6em; }
.calc__note { color: var(--muted); font-size: 15px; margin: 18px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc__side .btn { width: 100%; }

/* Как работаем: заголовок закреплён, шаги по линии */
.process { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .process { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; } .process__head { position: sticky; top: 110px; align-self: start; } }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px solid var(--line2); }
.timeline li { position: relative; display: grid; gap: 6px; padding: 0 0 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 4px; width: 9px; height: 9px; background: var(--web); box-shadow: 0 0 0 5px var(--bg2); }
.timeline__when { font: 500 12px/1.3 var(--mono); text-transform: uppercase; color: var(--web2); }
.timeline b { font: 500 19px/1.3 var(--disp); }
.timeline li > span:last-child { color: var(--muted); font-size: 16px; }

/* Гарантии */
.guar { display: grid; gap: 28px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .guar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .guar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.guar__item { border-top: 2px solid var(--web); padding-top: 18px; }
.guar__item b { display: block; font: 500 18px/1.3 var(--disp); margin-bottom: 10px; }
.guar__item span { color: var(--muted); font-size: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.badges li { font: 500 13px/1.2 var(--mono); color: var(--muted); border: 1px solid var(--line2); border-radius: 999px; padding: 9px 14px; }

/* Вопросы: открытым списком в две колонки */
.faq { display: grid; gap: 0 48px; grid-template-columns: minmax(0, 1fr); margin: 0; }
@media (min-width: 860px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.faq > div { border-top: 1px solid var(--line2); padding: 22px 0 26px; }
.faq dt { font: 500 18px/1.35 var(--disp); margin-bottom: 10px; }
.faq dd { margin: 0; color: var(--muted); font-size: 16px; }
.field__opt { color: var(--muted); font-weight: 400; }
.form__calc { margin: 0; padding: 12px 14px; border-radius: var(--r2); background: rgba(59, 130, 246, .12); border: 1px solid rgba(96, 165, 250, .4); font-size: 15px; }
.form__calc:empty { display: none; }

/* Режим высокой контрастности Windows: выбранное видно рамкой системного цвета */
@media (forced-colors: active) {
  .slots button[aria-pressed="true"], .opt input:checked + .opt__body, .choice label:has(input:checked), .demo__tab[aria-selected="true"] { outline: 3px solid Highlight; outline-offset: -3px; }
  .opt input:checked + .opt__body::after { background: Highlight; forced-color-adjust: none; }
}

/* Кейсы */
.cases { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case-card { position: relative; display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .25s, transform .25s; }
.case-card:hover, .case-card:focus-within { border-color: rgba(96, 165, 250, .6); transform: translateY(-3px); }
.case-card__link { color: var(--text); text-decoration: none; }
.case-card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.case-card__link:focus-visible { outline: none; }
.case-card:has(.case-card__link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.case-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: #0b0c10; border-bottom: 1px solid var(--line); }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.case-card:hover .case-card__img img { transform: scale(1.03); }
.case-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card__body h3 { margin: 0; }
.case-card__body p { color: var(--muted); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tags li { font: 500 13px/1 var(--ui); color: var(--web2); background: rgba(59, 130, 246, .1); border: 1px solid rgba(96, 165, 250, .25); border-radius: 999px; padding: 7px 11px; }
.case-card__facts { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .03em; color: var(--dim); margin: 0; }
.case-card__body .case-card__num { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.case-card__num b { font: 500 clamp(26px, 2.6vw, 34px)/1 var(--disp); color: #fff; margin-right: 8px; }
.case-card__more { margin-top: auto; padding-top: 8px; color: var(--gold); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }

/* Форма заявки */
.brief { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .brief { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } }
.brief__contacts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.brief__contacts a { color: var(--text); text-decoration: none; font-weight: 500; }
.brief__contacts a:hover { color: var(--web2); }
.brief__contacts span { display: block; color: var(--muted); font-size: 14px; }
.form { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font: 600 15px/1.3 var(--ui); color: var(--text); }
.field input[type=text], .field input[type=tel], .field textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid #707070; border-radius: var(--r2); padding: 13px 14px; font: 400 16px/1.4 var(--ui); min-height: 48px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--web); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: #f87171; }
.field__err { color: #fca5a5; font-size: 14px; min-height: 0; }
.field__err:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 999px; font: 500 15px/1 var(--ui); cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice input:checked + span { color: #fff; }
.choice label:has(input:checked) { border-color: var(--web); background: rgba(59, 130, 246, .16); }
.choice label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.field label.agree { font-weight: 400; color: var(--muted); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.agree input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--web); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 15px; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #86efac; }
.form__status.is-err { color: #fca5a5; }
.form .btn { justify-self: start; }

/* Подвал */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--muted); font-size: 15px; }
.site-footer .container { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .site-footer .container { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); } }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer p a { text-decoration: underline; }
.site-footer a:hover { color: var(--web2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .logo img { height: 24px; }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; font-size: 14px; }

/* Страница кейса */
.case-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.case-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; color: var(--muted); font-size: 15px; align-items: center; }
.case-cover { margin-top: clamp(28px, 4vw, 48px); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #0b0c10; }
.case-cover img { width: 100%; }
.split { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; } .split--rev > :first-child { order: 2; } }
.shot { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #0b0c10; }
.shot--phone { max-width: 320px; margin: 0 auto; border-radius: 28px; padding: 7px; background: #0b0c10; border-color: var(--line2); }
.shot--phone img { border-radius: 22px; }
.case-block + .case-block { margin-top: clamp(56px, 7vw, 96px); }
.case-block p { color: var(--muted); }
.numbers { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .numbers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .numbers { grid-template-columns: minmax(0, 1fr); } }
.num b { display: block; font: 700 clamp(28px, 3.4vw, 42px)/1.05 var(--disp); color: #fff; margin-bottom: 8px; }
.num span { color: var(--muted); font-size: 15px; }
.next-case { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.prose { max-width: 760px; }
.container.prose { max-width: 1200px; }
.container.prose > * { max-width: 760px; }
.prose h2 { font-size: clamp(20px, 2.2vw, 26px); margin-top: 1.6em; }
.prose p, .prose li { color: #d4d4d4; }

/* Появление при прокрутке — только если человек не просил «уменьшить движение» */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
