/* Шрифт Onest отдаётся со своего сервера: при загрузке с Google IP каждого
   посетителя уходил за рубеж — это трансграничная передача персональных данных. */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/onest-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/onest-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/onest-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/onest-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/onest-cyrillic-800-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/onest-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/onest-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/onest-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/onest-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/onest-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/onest-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/onest-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/onest-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/onest-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/onest-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* === Uz1psDev — brand style (violet gradient, glass cards) === */

:root {
  --bg:        #08060f;
  --bg-2:      #0d0a1a;
  --fg:        #f4f2fb;
  --muted:     #a49dc4;
  --line:      rgba(255,255,255,.10);
  --line-2:    rgba(255,255,255,.20);
  --violet:    #4e1f82;   /* brand */
  --violet-2:  #6b2cb0;   /* brand, lighter step */
  --violet-lt: #9d5ce6;   /* accents / text */
  --magenta:   #6b2cb0;   /* legacy alias -> kept on-brand */
  --pink:      #9d5ce6;   /* legacy alias -> kept on-brand */
  --glass:     rgba(255,255,255,.035);
  --radius:    22px;
  --wrap:      1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient page glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 12% -8%,  rgba(124,58,237,.28), transparent 62%),
    radial-gradient(760px 540px at 92% 6%,   rgba(217,70,239,.20), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(124,58,237,.16), transparent 62%);
}

.wrap { width: min(var(--wrap), 92%); margin: 0 auto; position: relative; z-index: 1; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.12; word-break: normal; overflow-wrap: break-word; }
p { margin: 0; }
a { color: inherit; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: #fff;
  box-shadow: 0 12px 40px rgba(124,58,237,.45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 55px rgba(217,70,239,.55); }
.btn--ghost { border: 1px solid var(--line-2); background: var(--glass); color: var(--fg); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.07); }
.btn--big { padding: 19px 40px; font-size: 17px; }

/* ============ HEADER — floating island ============ */
.hdr {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center;
  padding: 0 16px;
  pointer-events: none;
  transition: top .35s cubic-bezier(.22,1,.36,1);
}
.hdr__island {
  pointer-events: auto;
  display: flex; align-items: center; gap: 14px;
  width: min(var(--wrap), 100%);
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(14,10,26,.55);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  transition: padding .35s cubic-bezier(.22,1,.36,1),
              background .35s ease, border-color .35s ease,
              box-shadow .35s ease, width .35s cubic-bezier(.22,1,.36,1);
  position: relative;
}
/* gradient hairline glow around the island */
.hdr__island::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, rgba(157,92,230,.60), rgba(107,44,176,.40) 48%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55; pointer-events: none; transition: opacity .35s ease;
}
/* Сжатое состояние. Ширина рассчитана под шесть пунктов меню:
   логотип ~150 + меню ~600 + мессенджеры ~136 + отступы. При 920px
   содержимое не влезало и мессенджеры выезжали за край острова. */
.hdr.is-scrolled .hdr__island {
  width: min(1040px, 100%);
  background: rgba(10,7,19,.82);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 14px 46px rgba(0,0,0,.5);
}
.hdr.is-scrolled .hdr__island::before { opacity: .9; }

/* В сжатом виде жертвуем декоративными чипами: мессенджеры и меню важнее,
   а «Свободен» и рейтинг уже видны в развёрнутой шапке и в блоке контактов. */
.hdr.is-scrolled .hdr__status,
.hdr.is-scrolled .hdr__rating { display: none; }
.hdr.is-scrolled .hdr__nav a { padding: 9px 13px; }
.hdr.is-scrolled .hdr__slogan { display: none; }
.hdr.is-scrolled .hdr__island { gap: 10px; }


/* logo — pure typography, no badge */
.hdr__logo {
  display: flex; flex-direction: column; gap: 1px;
  text-decoration: none; flex-shrink: 0; padding-right: 4px;
}
.hdr__word {
  font-size: 18px; font-weight: 800; letter-spacing: -.03em;
  color: var(--fg); white-space: nowrap; line-height: 1.1;
}
.hdr__word b { font-weight: 800; color: var(--violet-lt); }
.hdr__slogan {
  font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.42); white-space: nowrap;
}

/* status + rating chips */
.hdr__status,
.hdr__rating {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.82);
  white-space: nowrap; text-decoration: none;
  transition: border-color .25s ease, background .25s ease;
}
.hdr__rating:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.hdr__status-dot {
  width: 7px; height: 7px; border-radius: 999px; background: #5af090;
  box-shadow: 0 0 9px rgba(90,240,144,.85);
  animation: pulse 2.4s ease-in-out infinite;
}
.hdr__star { color: #ffc94d; font-size: 13px; }

/* nav with sliding pill */
.hdr__nav { position: relative; display: flex; gap: 2px; margin: 0 auto; }
.hdr__nav a {
  position: relative; z-index: 1;
  padding: 9px 16px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-size: 14.5px; font-weight: 500;
  white-space: nowrap; transition: color .25s ease;
}
.hdr__nav a:hover { color: var(--fg); }
.hdr__nav a.is-active { color: #fff; }
.hdr__pill {
  position: absolute; top: 0; left: 0; height: 100%;
  border-radius: 999px; opacity: 0;
  background: linear-gradient(135deg, rgba(78,31,130,.85), rgba(107,44,176,.70));
  border: 1px solid rgba(157,92,230,.40);
  box-shadow: 0 6px 20px rgba(78,31,130,.45);
  transition: transform .42s cubic-bezier(.22,1,.36,1), width .42s cubic-bezier(.22,1,.36,1), opacity .3s ease;
  pointer-events: none;
}

.hdr__right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
/* messengers — "кому куда удобнее" */
.hdr__msg { display: inline-flex; align-items: center; gap: 8px; }
.hdr__msg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; text-decoration: none;
  color: #fff; flex: none;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  border: 1px solid rgba(157,92,230,.45);
  box-shadow: 0 8px 24px rgba(78,31,130,.45);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, background .25s ease;
}
.hdr__msg-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--violet-2), #8039cf);
  box-shadow: 0 12px 30px rgba(107,44,176,.6);
}
.hdr__msg-btn svg { opacity: .95; }
.hdr__msg-word { font-size: 11.5px; font-weight: 800; letter-spacing: .03em; }

/* Telegram — основной канал, остаётся залитым брендовым градиентом.
   WhatsApp и MAX — стеклянные, с фирменным цветом иконки. */
.hdr__msg-btn--wa,
.hdr__msg-btn--max {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}
.hdr__msg-btn--wa  { color: #4ee07a; }
.hdr__msg-btn--max { color: #8f7dff; }
.hdr__msg-btn--wa:hover {
  background: rgba(78,224,122,.14); border-color: rgba(78,224,122,.45);
  box-shadow: 0 10px 26px rgba(78,224,122,.25);
}
.hdr__msg-btn--max:hover {
  background: rgba(143,125,255,.16); border-color: rgba(143,125,255,.5);
  box-shadow: 0 10px 26px rgba(143,125,255,.3);
}

/* burger */
.burger {
  display: none; width: 40px; height: 40px; padding: 0;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05); cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 11px; width: 18px; height: 2px; border-radius: 2px;
  background: var(--fg); transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .2s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ============ MOBILE MENU ============ */
.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px 26px 40px;
  background: rgba(8,6,15,.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1), visibility .3s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu__nav { display: flex; flex-direction: column; gap: 6px; }
.menu__nav a {
  font-size: clamp(28px, 8vw, 42px); font-weight: 800; letter-spacing: -.03em;
  text-decoration: none; color: var(--fg); padding: 8px 0;
  transition: color .2s ease, transform .3s cubic-bezier(.22,1,.36,1);
}
.menu__nav a:hover, .menu__nav a:active {
  transform: translateX(6px);
  background: linear-gradient(135deg, var(--violet-lt), var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.menu__foot { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.menu__foot .btn { width: 100%; }
.menu__link { color: var(--muted); text-decoration: none; font-size: 14px; }

/* ============ HERO ============ */
.hero { position: relative; padding: 150px 0 64px; overflow: hidden; }
.wave {
  position: absolute;
  top: -6%; left: 50%; transform: translateX(-50%);
  width: 118%; height: 122%;
  z-index: 0; pointer-events: none;
  /* light blur only — the filaments must stay thin and crisp */
  filter: blur(1.5px) saturate(1.3) contrast(1.12);
  opacity: 1;
  -webkit-mask-image: radial-gradient(75% 68% at 50% 40%, #000 45%, transparent 88%);
  mask-image: radial-gradient(75% 68% at 50% 40%, #000 45%, transparent 88%);
}

/* dark scrim so headline/text stay readable on top of the wave */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(46% 26% at 50% 33%, rgba(8,6,15,.30), transparent 72%),
    linear-gradient(to bottom, rgba(8,6,15,.42) 0%, transparent 16%, transparent 66%, rgba(8,6,15,.85) 100%);
}
/* CSS fallback if WebGL is unavailable */
.wave--fallback {
  background:
    radial-gradient(46% 40% at 32% 38%, rgba(124,58,237,.85), transparent 70%),
    radial-gradient(42% 36% at 66% 52%, rgba(217,70,239,.75), transparent 70%),
    radial-gradient(38% 34% at 48% 68%, rgba(244,114,182,.6),  transparent 70%);
  animation: floaty 14s ease-in-out infinite alternate;
}
@keyframes floaty { from { transform: scale(1) translateY(0); } to { transform: scale(1.08) translateY(-3%); } }

.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 250px; z-index: 1;
  /* Фиолетовый горизонт у самого шва: без него низ героя обрывался в плоское чёрное */
  background:
    radial-gradient(78% 105% at 50% 100%, rgba(124,58,237,.22), transparent 66%),
    linear-gradient(to bottom, transparent 0%, rgba(8,6,15,.58) 52%, var(--bg) 100%);
  pointer-events: none;
}
.hero__inner { text-align: center; padding-top: 30px; z-index: 2; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 17px; border-radius: 999px;
  border: 1px solid rgba(167,139,250,.35); background: rgba(124,58,237,.12);
  backdrop-filter: blur(10px);
  font-size: 13px; color: #ddd6fe; margin-bottom: 26px;
}
.dot {
  width: 7px; height: 7px; border-radius: 999px; background: #5af090;
  box-shadow: 0 0 10px rgba(90,240,144,.9);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.5); opacity: .5; } }

.hero__title {
  font-size: clamp(34px, 6.6vw, 76px);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.04;
  margin-bottom: 22px;
}
.hero__title span {
  background: linear-gradient(135deg, #c9a6f5, #9d5ce6 55%, #b98ef0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  font-size: clamp(15px, 2vw, 19px); line-height: 1.6; color: #e7e2fa;
  max-width: 620px; margin: 0 auto 30px;
  text-shadow: 0 2px 14px rgba(8,6,15,.95), 0 0 40px rgba(8,6,15,.75);
}
.hero__title { text-shadow: 0 6px 50px rgba(8,6,15,.45); }
.hero__badge { text-shadow: 0 1px 10px rgba(8,6,15,.6); }
/* inline facts row — replaces the old tag cloud + stat boxes */
.hero__facts {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 0;
}
.hero__facts li {
  position: relative;
  padding: 0 22px;
  font-size: 14px; color: rgba(255,255,255,.62);
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(8,6,15,.8);
}
.hero__facts li + li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 1px; height: 14px; margin-top: -7px;
  background: rgba(255,255,255,.18);
}
.hero__facts b { color: #fff; font-weight: 700; }
.hero__cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-bottom: 0; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px; max-width: 640px; margin: 0 auto;
}
.hero__stats div {
  padding: 20px 16px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(10,7,20,.48);
  backdrop-filter: blur(16px);
}
.hero__stats strong {
  display: block; font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px;
  background: linear-gradient(135deg, #fff, var(--violet-lt));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__stats span { font-size: 12.5px; color: #b6afd2; line-height: 1.45; }

/* ============ SECTIONS ============ */
.sec { padding: 88px 0; position: relative; z-index: 1; }

/* Шов «герой → первая секция».
   У самой границы герой затемнён до --bg, а секция ниже прозрачна и показывает
   ambient-свечение body::before — из-за этого перепада была видна полоса.
   Продолжаем ту же заливку на стороне секции и гасим её вниз: перепад исчезает,
   а фиолетовое свечение переходит через шов непрерывно. */
.hero + .sec { padding-top: 58px; }
.hero + .sec::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 270px;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(78% 130% at 50% 0%, rgba(124,58,237,.22), transparent 66%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(8,6,15,.62) 40%, transparent 100%);
}
.kicker {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px;
  border: 1px solid rgba(167,139,250,.3); border-radius: 999px;
  background: rgba(124,58,237,.10);
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #c4b5fd;
}
.sec__title { font-size: clamp(28px, 4.6vw, 50px); font-weight: 800; margin-bottom: 14px; }
.sec__sub { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 640px; margin-bottom: 42px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ DIRECTIONS (bento) ============ */
.dirs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.dir {
  position: relative; overflow: hidden;
  padding: 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--glass);
  backdrop-filter: blur(14px);
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .3s ease, background .3s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.dir::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px 220px at 20% 0%, rgba(167,139,250,.20), transparent 65%);
  opacity: 0; transition: opacity .35s ease;
}
.dir:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.45); background: rgba(255,255,255,.06); }
.dir:hover::after { opacity: 1; }
.dir--lg { grid-row: span 2; }
.dir--wide { grid-column: span 2; }
.dir__name { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
.dir__name b {
  font-weight: 700;
  background: linear-gradient(135deg, var(--violet-lt), var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dir h3 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 700; }
.dir--lg h3 { font-size: clamp(24px, 3vw, 34px); }
.dir p { color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.dir__price {
  align-self: flex-start; margin-top: 6px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(167,139,250,.32); background: rgba(124,58,237,.12);
  font-size: 14px; font-weight: 600; color: #ddd6fe;
}

/* ============ PRICE CARDS ============ */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--glass);
  backdrop-filter: blur(14px);
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .3s ease, background .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.45); background: rgba(255,255,255,.06); }
.card h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.card li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.5; color: #d5cfeb; }
.card li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 999px;
  background: linear-gradient(135deg, var(--violet-lt), var(--magenta));
}
.card__stack { font-size: 12.5px; line-height: 1.55; color: #8c85ad; padding-top: 12px; border-top: 1px solid var(--line); }
.card__price { margin-top: auto; display: flex; align-items: baseline; gap: 9px; padding-top: 8px; }
.card__price b {
  font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(135deg, #fff, var(--violet-lt) 70%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card__price span { font-size: 13px; color: var(--muted); }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.step {
  padding: 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--glass);
  backdrop-filter: blur(14px);
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.step:hover { transform: translateY(-3px); border-color: rgba(167,139,250,.45); }
.step span {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 15px;
  border-radius: 13px; font-weight: 800; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  box-shadow: 0 8px 24px rgba(124,58,237,.4);
}
.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.step--safe { border-color: rgba(90,240,144,.28); background: rgba(90,240,144,.05); }
.step--safe span { background: rgba(90,240,144,.14); box-shadow: none; border: 1px solid rgba(90,240,144,.4); }
.step--safe a { color: #5af090; text-decoration: none; }
.step--safe a:hover { text-decoration: underline; }

/* ============ WORK ============ */
.works { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.work {
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass);
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .3s ease, background .3s ease;
}
.work:hover { transform: translateY(-5px); border-color: rgba(167,139,250,.45); background: rgba(255,255,255,.06); }
.work__media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 800 / 520; background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.work__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top; display: block;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.work:hover .work__media img { transform: scale(1.04); }
/* softens the bottom of the shot into the card */
.work__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 46%;
  background: linear-gradient(to bottom, transparent, rgba(13,10,26,.92));
  pointer-events: none;
}
.work__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.work__tag {
  align-self: flex-start; padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(167,139,250,.28); background: rgba(124,58,237,.10);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #c4b5fd;
}
.work__name {
  display: flex; align-items: center; gap: 8px;
  font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--fg);
}
.work__go { font-style: normal; font-size: 14px; color: var(--violet-lt); opacity: 0; transition: opacity .25s ease, transform .25s ease; }
.work:hover .work__go { opacity: 1; transform: translate(2px,-2px); }
.work__desc { font-size: 14px; line-height: 1.55; color: var(--muted); }
.works__more { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ============ CONTACT ============ */
.contact { padding-bottom: 100px; }
.contact__inner { text-align: center; }
.contact .sec__sub { margin-left: auto; margin-right: auto; margin-bottom: 26px; }

/* 1-2-3, чтобы было видно, что будет после сообщения */
.contact__steps {
  list-style: none; margin: 0 auto 34px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  font-size: 14px; color: var(--muted);
}
.contact__steps b { color: var(--violet-lt); font-weight: 700; margin-right: 4px; }

/* каналы связи — основное действие блока */
.chans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; max-width: 900px; margin: 0 auto; }
.chan {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 18px 20px; border-radius: 18px; text-decoration: none;
  border: 1px solid var(--line); background: var(--glass);
  backdrop-filter: blur(12px);
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .25s ease, background .25s ease;
}
.chan:hover { transform: translateY(-3px); border-color: rgba(167,139,250,.5); background: rgba(255,255,255,.06); }
.chan__ico {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 14px; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.chan__word { font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.chan--tg  .chan__ico { background: linear-gradient(135deg, var(--violet), var(--violet-2)); border-color: rgba(157,92,230,.45); }
.chan--wa  .chan__ico { color: #4ee07a; }
.chan--max .chan__ico { color: #8f7dff; }
.chan__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.chan__txt b { font-size: 16px; font-weight: 700; }
.chan__txt span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.chan__go { margin-left: auto; font-style: normal; color: var(--violet-lt); opacity: .5; transition: opacity .25s ease, transform .25s ease; }
.chan:hover .chan__go { opacity: 1; transform: translateX(3px); }

.contact__note { max-width: 620px; margin: 26px auto 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.trust__item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-size: 13px; color: var(--muted);
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.trust__item b { color: var(--fg); font-weight: 600; }
.trust__item:hover { border-color: rgba(167,139,250,.45); background: rgba(255,255,255,.06); color: var(--fg); }

/* ============ СТРАНИЦА КЕЙСА ============ */
/* Шапка зафиксирована, а героя с волной тут нет — отводим ей место сверху */
.page-case .cs { padding: 128px 0 70px; position: relative; z-index: 1; }

.crumbs { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; transition: color .25s ease; }
.crumbs a:hover { color: #c4b5fd; }
.crumbs span[aria-hidden] { opacity: .4; }
.crumbs [aria-current] { color: rgba(255,255,255,.8); }

.cs__top { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,420px); gap: 42px; align-items: start; }
.cs__cat {
  display: inline-block; margin-bottom: 15px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(167,139,250,.3); background: rgba(124,58,237,.10);
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #c4b5fd;
}
.cs__title { font-size: clamp(30px, 5vw, 52px); font-weight: 800; margin-bottom: 16px; }
.cs__lead { font-size: 17.5px; line-height: 1.6; color: rgba(255,255,255,.86); margin-bottom: 26px; max-width: 62ch; }

.cs__facts { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.cs__facts span {
  display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 165px;
  padding: 15px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px);
}
.cs__facts small { font-size: 11.5px; color: var(--muted); }
.cs__facts b { font-size: 17px; }
.cs__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.cs__shot {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #08060f;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.cs__shot img { width: 100%; height: auto; display: block; }

.cs__body { margin-top: 56px; max-width: 800px; }
.cs__block { margin-bottom: 34px; }
.cs__block h2 {
  margin-bottom: 11px; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--violet-lt);
}
.cs__block p { font-size: 16px; line-height: 1.7; color: var(--muted); }

.cs__note {
  padding: 26px; border-radius: var(--radius);
  border: 1px solid rgba(157,92,230,.28);
  background: linear-gradient(135deg, rgba(78,31,130,.22), rgba(124,58,237,.08));
}
.cs__note b { display: block; font-size: 19px; margin-bottom: 9px; }
.cs__note p { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }

.cs__relh { margin: 60px 0 22px; font-size: 22px; font-weight: 700; }
.rel { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.rel__i {
  display: flex; align-items: center; gap: 13px; padding: 13px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--glass); text-decoration: none;
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.rel__i:hover { transform: translateY(-3px); border-color: rgba(157,92,230,.4); }
.rel__media { width: 56px; height: 70px; flex: none; border-radius: 12px; overflow: hidden; background: #08060f; }
.rel__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.rel__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rel__txt b { font-size: 14.5px; }
.rel__txt small { font-size: 12px; color: #c4b5fd; }

@media (max-width: 900px) {
  .cs__top { grid-template-columns: 1fr; gap: 30px; }
  .cs__shot { max-width: 420px; }
  .rel { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .page-case .cs { padding: 108px 0 50px; }
  .cs__cta { flex-direction: column; }
  .cs__cta .btn { width: 100%; }
  .cs__note { padding: 20px; }
}

/* ---- 404 ---- */
.e404 { text-align: center; }
.e404 .cs__lead { margin: 0 auto 28px; max-width: 52ch; }
.e404 .cs__cta { justify-content: center; }
.e404 .cs__relh { text-align: center; }
.e404__code {
  display: block; margin-bottom: 8px;
  font-size: clamp(72px, 16vw, 150px); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--violet-lt), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .85;
}

/* ---- блок «о мне» на отдельной странице ---- */
.about__who { max-width: 720px; }
.who--page { margin: 0; }
.who--page .who__photo { width: 96px; height: 96px; }

/* ---- страницы услуг ---- */
.svc__top { max-width: 780px; }
.svc__h { margin: 56px 0 8px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.svc__sub { margin-bottom: 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.svc__h + .svc__grid, .svc__h + .bots, .svc__h + .sites, .svc__h + .rel, .svc__h + .svc__other { margin-top: 20px; }

.svc__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.svc__i {
  padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px);
}
.svc__i b { display: block; margin-bottom: 7px; font-size: 15px; }
.svc__i p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

.svc__steps { counter-reset: st; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 820px; }
.svc__steps li {
  counter-increment: st; position: relative; padding: 18px 20px 18px 60px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass);
  font-size: 15px; line-height: 1.6; color: var(--muted);
}
.svc__steps li::before {
  content: counter(st); position: absolute; left: 18px; top: 17px;
  width: 28px; height: 28px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  border: 1px solid rgba(157,92,230,.45);
  font-size: 13px; font-weight: 700; color: #fff;
}
.svc__steps li b { color: var(--fg); font-weight: 600; }

.svc__other { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.svc__o {
  display: flex; flex-direction: column; gap: 6px; padding: 17px 19px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--glass); text-decoration: none;
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.svc__o:hover { transform: translateY(-3px); border-color: rgba(157,92,230,.4); }
.svc__o b { font-size: 15px; line-height: 1.35; }
.svc__o small { font-size: 12.5px; color: #c4b5fd; }
.svc__o p { font-size: 13px; line-height: 1.55; color: var(--muted); }
.svc__other--big { grid-template-columns: repeat(2, minmax(0,1fr)); }
.svc__o--big { padding: 22px; gap: 9px; }
.svc__o--big b { font-size: 18px; }

/* на страницах услуг карточки сайтов не открывают галерею — только живая ссылка */
.page-case .site__media { aspect-ratio: 16 / 11; }

@media (max-width: 1024px) {
  .svc__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .svc__other { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .svc__grid, .svc__other, .svc__other--big { grid-template-columns: 1fr; }
  .svc__steps li { padding: 16px 16px 16px 54px; }
}

/* ============ ПОРТФОЛИО ============ */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-family: inherit; font-size: 13.5px; font-weight: 500;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.chip span {
  padding: 1px 7px; border-radius: 999px;
  background: rgba(255,255,255,.07); font-size: 11.5px; color: rgba(255,255,255,.55);
}
.chip:hover { color: var(--fg); border-color: rgba(157,92,230,.35); }
.chip.is-on {
  color: #fff; border-color: rgba(157,92,230,.5);
  background: linear-gradient(135deg, rgba(78,31,130,.75), rgba(107,44,176,.55));
}
.chip.is-on span { background: rgba(0,0,0,.28); color: #e5d8ff; }

.cases { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.case { min-width: 0; }
.case[hidden] { display: none; }

.case__hit {
  display: flex; flex-direction: column; width: 100%; height: 100%;
  padding: 0; cursor: pointer; text-align: left;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  color: inherit; font-family: inherit;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .3s ease;
}
.case__hit:hover {
  transform: translateY(-4px);
  border-color: rgba(157,92,230,.42);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
.case__hit:focus-visible { outline: 2px solid rgba(157,92,230,.7); outline-offset: 2px; }

.case__media {
  display: block; position: relative;
  aspect-ratio: 4 / 5; overflow: hidden;
  background: linear-gradient(160deg, rgba(78,31,130,.35), rgba(8,6,15,.7));
}
.case__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.case__hit:hover .case__media img { transform: scale(1.045); }

.case__body { display: flex; flex-direction: column; gap: 7px; padding: 16px 17px 17px; flex: 1; }
.case__title { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.case__lead {
  font-size: 13px; line-height: 1.5; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.case__meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line);
  font-size: 11.5px;
}
.case__term  { color: rgba(255,255,255,.55); }
.case__price { margin-left: auto; color: #c4b5fd; font-weight: 600; white-space: nowrap; }

.cases__empty { margin-top: 26px; color: var(--muted); font-size: 15px; }
.cases__more { display: flex; justify-content: center; margin-top: 28px; }
.cases__more .btn[hidden] { display: none; }

/* Живые сайты — отдельный блок: это работающие адреса, а не скриншоты */
.works__sub { margin: 54px 0 20px; font-size: 20px; font-weight: 700; }
.lives { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.live {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--glass); text-decoration: none;
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.live:hover { transform: translateY(-3px); border-color: rgba(157,92,230,.4); }
.live__media { width: 64px; height: 64px; flex: none; border-radius: 14px; overflow: hidden; }
.live__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.live__txt b { font-size: 15px; }
.live__txt span { font-size: 12.5px; color: var(--muted); }
.live__go { margin-left: auto; color: var(--violet-lt); font-style: normal; }

/* ---- модалка кейса ---- */
.cmodal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.cmodal[hidden] { display: none; }
.cmodal__back { position: absolute; inset: 0; background: rgba(4,3,9,.78); backdrop-filter: blur(6px); }
.cmodal__win {
  position: relative; z-index: 1;
  width: min(920px, 100%); max-height: 88vh; overflow: auto;
  border-radius: 24px; border: 1px solid rgba(157,92,230,.28);
  background: #0d0a1a;
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
  animation: cmIn .32s cubic-bezier(.22,1,.36,1);
}
@keyframes cmIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.cmodal__x {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 36px; height: 36px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(10,7,19,.8);
  color: var(--fg); font-size: 22px; line-height: 1;
}
.cmodal__x:hover { border-color: rgba(255,255,255,.4); }
.cmodal__grid { display: grid; grid-template-columns: minmax(0,300px) minmax(0,1fr); gap: 0; }
.cmodal__media { background: #08060f; display: flex; align-items: flex-start; justify-content: center; }
.cmodal__media img { width: 100%; height: auto; display: block; }
.cmodal__txt { padding: 30px 30px 30px 26px; }
.cmodal__cat {
  display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(157,92,230,.3); background: rgba(124,58,237,.12);
  font-size: 11.5px; color: #c4b5fd;
}
.cmodal__title { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.cmodal__lead { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.85); margin-bottom: 22px; }
.cmodal__block { margin-bottom: 20px; }
.cmodal__block h4 {
  margin-bottom: 7px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--violet-lt);
}
.cmodal__block p { font-size: 14.5px; line-height: 1.62; color: var(--muted); }
.cmodal__facts { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.cmodal__facts span {
  display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 150px;
  padding: 13px 16px; border-radius: 15px;
  border: 1px solid var(--line); background: rgba(255,255,255,.035);
}
.cmodal__facts small { font-size: 11.5px; color: var(--muted); }
.cmodal__facts b { font-size: 15.5px; }
.cmodal__acts { display: flex; flex-direction: column; gap: 10px; }
.cmodal__acts .btn { width: 100%; }

body.is-locked { overflow: hidden; }

@media (max-width: 1140px) { .cases { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 860px) {
  .cases { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lives { grid-template-columns: 1fr; }
  .cmodal { padding: 0; }
  .cmodal__win { max-height: 100vh; height: 100%; width: 100%; border-radius: 0; }
  .cmodal__grid { grid-template-columns: 1fr; }
  .cmodal__media { max-height: 44vh; overflow: hidden; }
  .cmodal__txt { padding: 24px 20px 32px; }
  .cmodal__title { font-size: 22px; }
}
@media (max-width: 520px) {
  .cases { grid-template-columns: 1fr 1fr; gap: 12px; }
  .case__body { padding: 12px 13px 14px; gap: 5px; }
  .case__title { font-size: 14px; }
  .case__lead { font-size: 12px; -webkit-line-clamp: 2; }
  .chip { padding: 8px 13px; font-size: 12.5px; }
}

/* ---- вкладки типов работ ---- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 16px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.035);
  color: var(--muted); font-family: inherit; font-size: 15px; font-weight: 600;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.tab span {
  padding: 2px 8px; border-radius: 999px;
  background: rgba(255,255,255,.07); font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,.55);
}
.tab:hover { color: var(--fg); border-color: rgba(157,92,230,.3); }
.tab.is-on {
  color: #fff; border-color: rgba(157,92,230,.5);
  background: linear-gradient(135deg, rgba(78,31,130,.8), rgba(107,44,176,.55));
}
.tab.is-on span { background: rgba(0,0,0,.3); color: #e5d8ff; }
.pane[hidden] { display: none; }
.pane__note {
  margin-bottom: 20px; padding: 13px 18px; border-radius: 14px;
  border: 1px solid rgba(90,240,144,.22); background: rgba(90,240,144,.06);
  font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.78);
}

/* ---- боты: без картинок, зато с живыми ссылками ---- */
.bots { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.bot {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--glass); text-decoration: none;
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease, background .3s ease;
}
.bot:hover { transform: translateY(-3px); border-color: rgba(157,92,230,.4); background: rgba(255,255,255,.055); }
.bot__ico {
  width: 40px; height: 40px; flex: none; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  border: 1px solid rgba(157,92,230,.45);
}
.bot__txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bot__txt b { font-size: 15px; word-break: break-word; }
.bot__txt span { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.bot__go { margin-left: auto; flex: none; color: var(--violet-lt); font-style: normal; font-size: 15px; }

/* ---- сайты: обложка + живой адрес + галерея экранов ---- */
.sites { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.site {
  display: flex; flex-direction: column;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--glass); overflow: hidden;
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.site:hover { transform: translateY(-3px); border-color: rgba(157,92,230,.38); }
.site__hit { display: block; padding: 0; border: 0; background: none; cursor: pointer; width: 100%; }
.site__media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: #08060f; }
.site__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.site:hover .site__media img { transform: scale(1.04); }
.site__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 17px 17px; flex: 1; }
.site__name { font-size: 15.5px; font-weight: 700; word-break: break-word; }
.site__desc { font-size: 13px; line-height: 1.55; color: var(--muted); flex: 1; }
.site__acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.site__live { font-size: 12.5px; color: #c4b5fd; text-decoration: none; font-weight: 600; }
.site__live:hover { text-decoration: underline; }
.site__live--off { color: var(--muted); font-weight: 400; }
.site__shots {
  margin-left: auto; padding: 5px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.62); font-family: inherit; font-size: 11.5px;
  transition: border-color .25s ease, color .25s ease;
}
.site__shots:hover { border-color: rgba(157,92,230,.4); color: #c4b5fd; }

/* ---- галерея экранов сайта ---- */
.gmodal { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gmodal[hidden] { display: none; }
.gmodal__back { position: absolute; inset: 0; background: rgba(4,3,9,.85); backdrop-filter: blur(6px); }
.gmodal__win {
  position: relative; z-index: 1; width: min(1000px, 100%); max-height: 88vh; overflow: auto;
  border-radius: 22px; border: 1px solid rgba(157,92,230,.28); background: #0d0a1a;
  box-shadow: 0 40px 120px rgba(0,0,0,.7); padding: 22px;
}
.gmodal__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.gmodal__head b { font-size: 19px; }
.gmodal__head a { margin-left: auto; font-size: 13px; color: #c4b5fd; text-decoration: none; }
.gmodal__x {
  width: 34px; height: 34px; flex: none; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(10,7,19,.8); color: var(--fg); font-size: 21px; line-height: 1;
}
.gmodal__shots { display: flex; flex-direction: column; gap: 14px; }
.gmodal__shots img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }

@media (max-width: 1024px) { .sites { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 680px) {
  .bots { grid-template-columns: 1fr; }
  .sites { grid-template-columns: 1fr; }
  .tab { padding: 10px 15px; font-size: 14px; }
  .gmodal { padding: 0; }
  .gmodal__win { max-height: 100vh; height: 100%; border-radius: 0; padding: 16px; }
}

/* ============ REVIEWS ============ */
.revs__badge {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 9px;
  margin-bottom: 30px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(157,92,230,.32);
  background: rgba(124,58,237,.10);
  font-size: 13.5px; color: rgba(255,255,255,.80);
}
.revs__badge b { font-size: 15px; color: #fff; }
.revs__stars { color: #ffc94d; letter-spacing: .05em; }
.revs__sep { color: rgba(255,255,255,.28); }
.revs__ver { color: #5af090; }

/* Колоночная раскладка: отзывы разной длины не тянут друг друга по высоте */
.revs { columns: 3; column-gap: 20px; }

.rev {
  break-inside: avoid; margin: 0 0 20px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease, background .3s ease;
}
.rev:hover { transform: translateY(-3px); border-color: rgba(157,92,230,.38); background: rgba(255,255,255,.055); }
/* Шапка карточки: звёзды слева, дата справа — дата важнее аватарки,
   она показывает, что отзывы свежие, а не витрина пятилетней давности. */
.rev__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rev__stars { color: #ffc94d; font-size: 13px; letter-spacing: .1em; }
.rev__date {
  margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap;
}
.rev__date--none { opacity: .65; }

.rev__check {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; padding-top: 13px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 12.5px; color: var(--muted); text-decoration: none;
  transition: color .25s ease;
}
.rev__check i { font-style: normal; transition: transform .25s ease; }
.rev__check:hover { color: #c4b5fd; }
.rev__check:hover i { transform: translateX(3px); }
.rev__text {
  margin: 0 0 18px; font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,.86);
}
.rev__text em { font-style: normal; color: #c9a9ff; }

.rev__who { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.rev__ava {
  width: 36px; height: 36px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  border: 1px solid rgba(157,92,230,.45);
}
.rev__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rev__id b { font-size: 14.5px; font-weight: 600; }
.rev__id small { font-size: 12px; color: var(--muted); }
.rev__tag {
  margin-left: auto; flex: none;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-size: 11px; color: rgba(255,255,255,.62); white-space: nowrap;
}

.revs__more { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

@media (max-width: 1024px) { .revs { columns: 2; } }
@media (max-width: 680px) {
  .revs { columns: 1; }
  .rev { padding: 20px; }
  .rev__tag { margin-left: 0; }
  .revs__more { flex-direction: column; }
  .revs__more .btn { width: 100%; }
}

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq__i {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  transition: border-color .3s ease, background .3s ease;
}
.faq__i[open] { border-color: rgba(157,92,230,.34); background: rgba(255,255,255,.05); }
.faq__i:hover { border-color: rgba(157,92,230,.28); }

.faq__q {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer;
  font-size: 16.5px; font-weight: 600; line-height: 1.4;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 2px solid rgba(157,92,230,.6); outline-offset: -2px; border-radius: var(--radius); }

/* плюс, который на раскрытии превращается в минус */
.faq__ico {
  position: relative; flex: none; margin-left: auto;
  width: 26px; height: 26px; border-radius: 999px;
  border: 1px solid rgba(157,92,230,.35);
  background: rgba(124,58,237,.12);
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s ease;
}
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 1.5px; border-radius: 2px;
  background: #c4b5fd; transform: translate(-50%, -50%);
  transition: opacity .25s ease;
}
.faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__i[open] .faq__ico { transform: rotate(180deg); background: rgba(124,58,237,.22); }
.faq__i[open] .faq__ico::after { opacity: 0; }

.faq__a { padding: 0 24px 22px; }
.faq__a p {
  margin: 0; max-width: 68ch;
  color: var(--muted); font-size: 15px; line-height: 1.65;
}

@media (max-width: 680px) {
  .faq__q { padding: 17px 18px; font-size: 15.5px; gap: 12px; }
  .faq__a { padding: 0 18px 18px; }
}

/* ============ ФОТО В КОНТАКТАХ ============ */
.who {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin: 0 0 30px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  text-align: left;
}
.who__photo {
  width: 84px; height: 84px; flex: none;
  border-radius: 999px; object-fit: cover;
  border: 2px solid rgba(157,92,230,.45);
  box-shadow: 0 10px 30px rgba(78,31,130,.45);
}
.who__txt { min-width: 0; flex: 1; }
.who__name { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.who__role { display: block; font-size: 14px; color: var(--muted); line-height: 1.55; }
.who__badge {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid rgba(90,240,144,.30);
  background: rgba(90,240,144,.08);
  font-size: 12px; color: #5af090;
}
@media (max-width: 560px) {
  .who { gap: 15px; padding: 18px; }
  .who__photo { width: 66px; height: 66px; }
  .who__name { font-size: 16px; }
}

/* ============ LEAD FORM ============ */
.frm__or {
  display: flex; align-items: center; gap: 16px;
  margin: 30px 0 24px; color: var(--muted); font-size: 13.5px;
}
.frm__or::before, .frm__or::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}

.frm {
  display: flex; flex-direction: column; gap: 16px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  text-align: left;
}
.frm__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.frm__f { display: flex; flex-direction: column; gap: 8px; }
.frm__f > span { font-size: 13px; color: rgba(255,255,255,.72); }
.frm__f > span i { color: var(--violet-lt); font-style: normal; }

.frm input, .frm select, .frm textarea {
  width: 100%; padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--fg);
  font-family: inherit; font-size: 15px;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.frm textarea { resize: vertical; min-height: 108px; line-height: 1.55; }
.frm select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 18px center, right 12px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
/* тёмный фон в выпадающем списке — иначе система рисует белый */
.frm select option { background: #140d24; color: var(--fg); }

.frm input::placeholder, .frm textarea::placeholder { color: rgba(255,255,255,.32); }
.frm input:focus, .frm select:focus, .frm textarea:focus {
  outline: none;
  border-color: rgba(157,92,230,.55);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(124,58,237,.18);
}
/* подсветка ошибки появляется только после попытки отправки */
.frm.is-tried input:invalid, .frm.is-tried textarea:invalid {
  border-color: rgba(255,110,110,.55);
}

/* honeypot: вне потока и недоступен с клавиатуры */
.frm__hp {
  position: absolute !important; left: -9999px !important;
  width: 1px !important; height: 1px !important; opacity: 0 !important;
}

.frm__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.frm__submit { flex: none; }
.frm__submit[disabled] { opacity: .6; pointer-events: none; }
.frm__hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; flex: 1; min-width: 220px; }

.frm__msg { font-size: 14px; line-height: 1.55; margin: 0; }
.frm__msg:empty { display: none; }
.frm__msg.is-ok  { color: #5af090; }
.frm__msg.is-err { color: #ff8f8f; }

@media (max-width: 680px) {
  .frm { padding: 20px; }
  .frm__row { grid-template-columns: 1fr; }
  .frm__foot { flex-direction: column; align-items: stretch; }
  .frm__submit { width: 100%; }
}

/* ============ FOOTER ============ */

/* ============ RESPONSIVE ============ */
/* Шапка сдаёт элементы по одному, от наименее важного к самому важному:
   статус -> рейтинг -> меню. Мессенджеры не жертвуем никогда. */
@media (max-width: 1320px) {
  .hdr__status { display: none; }
}

@media (max-width: 1200px) {
  .hdr__rating { display: none; }
  .hdr__nav a { padding: 9px 13px; font-size: 14px; }
}

@media (max-width: 1140px) {
  /* меню уезжает в бургер — иначе кнопки вылезают за край острова */
  .hdr__nav { display: none; }
  .burger { display: block; }
  .hdr__island { width: 100%; padding: 9px 9px 9px 16px; }
  .hdr.is-scrolled .hdr__island { width: 100%; }
  /* без навигации правый блок должен прижиматься к краю, а не липнуть к логотипу */
  .hdr__right { margin-left: auto; }
}

@media (max-width: 1024px) {
  .dirs, .cards, .steps, .works { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dir--lg { grid-row: span 1; }
  .dir--wide { grid-column: span 2; }
  .chans { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 700px) {
  .hero { padding: 116px 0 66px; }
  .sec { padding: 62px 0; }
  .dirs, .cards, .steps, .works { grid-template-columns: 1fr; }
  .dir--wide { grid-column: span 1; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .dir, .card, .step { padding: 22px; }
  .works__more { flex-direction: column; }
  .works__more .btn { width: 100%; }

  /* факты в две колонки — иначе они рвутся посреди фразы */
  .hero__facts {
    display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px 10px; margin-top: 34px; text-align: center;
  }
  .hero__facts li { padding: 0; font-size: 13px; white-space: normal; }
  .hero__facts li + li::before { display: none; }

  .contact__steps { flex-direction: column; align-items: center; gap: 8px; }

  /* на телефоне текст занимает почти всю ширину — притемняем под ним сильнее */
  .hero__scrim {
    background:
      radial-gradient(78% 42% at 50% 42%, rgba(8,6,15,.55), transparent 76%),
      linear-gradient(to bottom, rgba(8,6,15,.55) 0%, transparent 18%, transparent 62%, rgba(8,6,15,.85) 100%);
  }
}

/* Узкий экран: шапка сжимается до логотипа, мессенджеров и бургера.
   Блюр на облаке НЕ увеличиваем — из-за него нити превращались в кашу. */
@media (max-width: 560px) {
  .hdr { top: 10px; padding: 0 10px; }
  .hdr__island { gap: 8px; padding: 8px 8px 8px 14px; }
  .hdr__msg { gap: 6px; }
  .hdr__msg-btn { width: 34px; height: 34px; }
  .hdr__msg-btn svg { width: 15px; height: 15px; }
  .hdr__msg-word { font-size: 10px; }
  .burger { width: 34px; height: 34px; border-radius: 11px; }
  .burger span { left: 8px; width: 16px; }
  .burger span:nth-child(1) { top: 12px; }
  .burger span:nth-child(2) { top: 19px; }
  .hdr__word { font-size: 15.5px; }
  .wave { width: 148%; height: 112%; }
  .btn { padding: 14px 22px; font-size: 14.5px; }
  .work__body { padding: 18px 18px 20px; }
  .chan { padding: 15px 16px; gap: 12px; }
  .chan__ico { width: 42px; height: 42px; border-radius: 12px; }
}

/* Свободное место в шапке телефона занимает слоган — до ширины, где он ещё влезает */
@media (max-width: 470px) {
  .hdr__slogan { font-size: 9.5px; letter-spacing: .05em; }
}

/* Совсем узкие телефоны — слоган убираем, логотип уступает место кнопкам */
@media (max-width: 380px) {
  .hdr__msg-btn { width: 32px; height: 32px; }
  .hdr__island { gap: 6px; padding: 7px 7px 7px 12px; }
  .hdr__word { font-size: 14.5px; }
  .hdr__slogan { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave--fallback { animation: none; }
  .dot { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hdr, .hdr__island, .hdr__pill, .menu { transition: none; }
}

/* ============ ФУТЕР ============ */
.ftr {
  position: relative; z-index: 1; margin-top: 20px; padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(78,31,130,.10));
}
.ftr__grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: 40px; }
.ftr__logo { display: inline-block; font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: var(--fg); text-decoration: none; }
.ftr__logo b { color: var(--violet-lt); font-weight: 800; }
.ftr__about { margin: 12px 0 18px; max-width: 34ch; color: var(--muted); font-size: 14px; line-height: 1.6; }
.ftr__cta { padding: 12px 22px; font-size: 14px; }
.ftr__contacts { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.ftr__col { display: flex; flex-direction: column; gap: 10px; }
.ftr__h { margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-lt); }
.ftr__contacts a, .ftr__col a { width: fit-content; color: var(--muted); font-size: 14px; text-decoration: none; transition: color .2s ease; }
.ftr__contacts a:hover, .ftr__col a:hover { color: var(--fg); }
.ftr__legal { display: flex; flex-direction: column; gap: 8px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.ftr__legal p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.ftr__legal a { margin-right: 18px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ftr__legal a:hover { color: var(--fg); }
.ftr__note { opacity: .75; }
@media (max-width: 960px) {
  .ftr__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ftr { padding-top: 40px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============ СОГЛАСИЕ В ФОРМЕ ============ */
.frm__consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  color: rgba(255,255,255,.8); font-size: 13.5px; line-height: 1.5; }
.frm .frm__consent input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; padding: 0;
  border-radius: 4px; background: none; box-shadow: none; accent-color: var(--violet-2); }
.frm__consent a { color: #c4b5fd; }
.frm__policy { margin: -6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.frm__policy a { color: var(--muted); text-decoration: underline; }
.prices__note { margin-top: 18px; color: var(--muted); font-size: 12px; }

/* ============ COOKIE-УВЕДОМЛЕНИЕ ============ */
.ckb {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  display: flex; align-items: center; gap: 16px; max-width: 580px; margin: 0 auto;
  padding: 14px 16px 14px 20px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(13,10,26,.94);
  backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(0,0,0,.5);
}
.ckb p { margin: 0; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.5; }
.ckb a { color: #c4b5fd; }
.ckb__ok { flex: none; padding: 10px 18px; font-size: 13px; }
@media (max-width: 560px) { .ckb { flex-direction: column; align-items: stretch; } }

/* ============ ЮРИДИЧЕСКИЕ СТРАНИЦЫ ============ */
.hdr--doc .hdr__right { margin-left: auto; }
.doc__home { padding: 10px 18px; font-size: 13px; }
.doc .wrap { max-width: 820px; }
.doc__meta { margin: -4px 0 26px; color: var(--muted); font-size: 13px; }
.doc h2 { margin: 34px 0 10px; font-size: 19px; font-weight: 700; }
.doc p, .doc li { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.7; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc a { color: #c4b5fd; }

/* ============ Калькулятор стоимости (/ceny/#calc) ============ */
.calc__intro { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 720px; }
.calc__intro a { color: #c4b5fd; }
.calc { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 24px; align-items: start; }
.calc__qs { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.calc__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__q legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.calc__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__opt { position: relative; cursor: pointer; }
.calc__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc__opt span { display: block; padding: 10px 15px; border: 1px solid var(--line-2); border-radius: 14px;
  background: var(--glass); color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.35;
  transition: border-color .15s, background .15s, color .15s; }
.calc__opt span small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.calc__opt:hover span { border-color: rgba(157,92,230,.55); }
.calc__opt input:checked + span { border-color: var(--violet-lt); background: rgba(157,92,230,.18); color: var(--fg); }
.calc__opt input:focus-visible + span { outline: 2px solid var(--violet-lt); outline-offset: 2px; }
.calc__res { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; padding: 24px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(107,44,176,.24), rgba(255,255,255,.03)); }
.calc__res > small { color: var(--muted); font-size: 13px; }
.calc__sum { font-size: clamp(24px, 3vw, 31px); font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.calc__term { color: rgba(255,255,255,.85); font-size: 15px; }
.calc__note { margin: 4px 0 6px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.calc .frm { margin: 6px 0 0; padding: 0; border: 0; background: none; box-shadow: none; gap: 12px; }
.calc .frm textarea { min-height: 72px; }
.calc .frm__submit { width: 100%; }
.frm__calc { margin: 0 0 18px; color: var(--muted); font-size: 14px; text-align: center; }
.frm__calc a { color: #c4b5fd; }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc__res { position: static; }
}

/* ============ Карточки без подчёркиваний + страница портфолио ============ */
.case__hit, a.site__hit { text-decoration: none; }
.cases__more { gap: 12px; flex-wrap: wrap; }
.pf__jump { display: flex; flex-wrap: wrap; gap: 9px; margin: 6px 0 4px; }
.pf__jump a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass);
  color: var(--fg); font-size: 14px; text-decoration: none; transition: border-color .2s ease; }
.pf__jump a:hover { border-color: rgba(157,92,230,.55); }
.pf__h { margin: 44px 0 16px; font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; scroll-margin-top: 100px; }
.pf__h span { margin-left: 8px; color: var(--violet-lt); font-weight: 700; }

/* ============ Фото клиента в отзыве (только с согласия) + FAQ решений ============ */
.rev__ava--photo { padding: 0; overflow: hidden; background: #140d24; }
.rev__ava--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; display: block; }
.pf .rel + .sol__bots { margin-top: 16px; }
.sfaq { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.sfaq__i { border: 1px solid var(--line); border-radius: 16px; background: var(--glass); }
.sfaq__i summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 15px; list-style: none; position: relative; padding-right: 48px; }
.sfaq__i summary::-webkit-details-marker { display: none; }
.sfaq__i summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--violet-lt); font-size: 20px; }
.sfaq__i[open] summary::after { content: '−'; }
.sfaq__i p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
