/* ============================================================
   moiproekt.site — дизайн-система. Тёмная тема, неоновые акценты.
   ============================================================ */

:root {
  --bg: #060911;
  --bg-soft: #0a0f1c;
  --bg-card: rgba(255, 255, 255, .035);
  --line: rgba(130, 170, 255, .14);
  --line-strong: rgba(130, 170, 255, .28);
  --text: #e8eefb;
  --muted: #95a6c4;
  --accent: #22d3ee;
  --accent-2: #7c5cff;
  --ok: #34d399;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
  --container: 1200px;
  --font: "Inter Tight", "Segoe UI Variable Display", "Segoe UI", "Inter", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -.01em;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:not(.btn):not(.logo):not(.nav__link):hover { color: var(--accent); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.16; letter-spacing: -.025em; font-weight: 650; }
h1 { font-size: clamp(30px, 4.6vw, 56px); }
h2 { font-size: clamp(24px, 2.9vw, 38px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); font-size: 14px; }
.center { text-align: center; }
.mt { margin-top: 28px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #04121a; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }

.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(34, 211, 238, .16), transparent 62%),
    radial-gradient(780px 480px at 92% 4%, rgba(124, 92, 255, .18), transparent 60%),
    radial-gradient(1000px 600px at 50% 108%, rgba(34, 211, 238, .08), transparent 65%),
    #060911;
}
.bg-glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(130, 170, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(130, 170, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, rgba(0,0,0,.65), transparent 72%);
  mask-image: radial-gradient(circle at 50% 0%, rgba(0,0,0,.65), transparent 72%);
}

/* ---------- шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(6, 9, 17, .72);
  border-bottom: 1px solid rgba(130, 170, 255, .08);
}
.header__inner { display: flex; align-items: center; gap: 26px; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: -.02em; }
.logo__mark { display: grid; place-items: center; filter: drop-shadow(0 0 12px rgba(34,211,238,.35)); }
.logo__dot { color: var(--accent); font-weight: 500; }
.logo--footer { font-size: 22px; margin-bottom: 12px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link { padding: 9px 13px; border-radius: 10px; font-size: 15px; color: var(--muted); transition: color .18s, background .18s; }
.nav__link:hover, .nav__link.is-active { color: var(--text); background: rgba(255,255,255,.05); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { font-size: 15px; font-weight: 600; white-space: nowrap; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: transparent; padding: 11px 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; margin-bottom: 4px; transition: transform .2s, opacity .2s; }
.burger span:last-child { margin-bottom: 0; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
  transition: transform .16s ease, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn--primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #04121a; box-shadow: 0 12px 30px -12px rgba(34, 211, 238, .55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(34, 211, 238, .75); color: #04121a; }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--accent); color: var(--text); }
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn--full { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--accent); }
.link-arrow::after { content: "→"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 0; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero__title { margin-bottom: 20px; }
.grad { background: linear-gradient(100deg, #7ff0ff 10%, #a48cff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 18px; color: #c3d0e6; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.hero__actions--center { justify-content: center; }
.hero__points { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 14px; }
.hero__points li::before { content: "✓"; color: var(--ok); margin-right: 7px; }

.chat-demo { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, rgba(17, 24, 43, .95), rgba(9, 13, 24, .95)); box-shadow: var(--shadow); }
.chat-demo__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-demo__head b { display: block; font-size: 15px; }
.chat-demo__head small { color: var(--muted); font-size: 12px; }
.chat-demo__avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04121a; font-weight: 700; font-size: 13px; }
.chat-demo__body { padding: 18px; display: grid; gap: 12px; }
.msg { max-width: 90%; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.msg--user { margin-left: auto; background: rgba(34, 211, 238, .14); border: 1px solid rgba(34, 211, 238, .25); }
.msg--bot { background: rgba(255,255,255,.05); border: 1px solid var(--line); color: #cfdcf0; }
.msg__chips { display: flex; gap: 8px; margin-top: 10px; }
.msg__chips span { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(34,211,238,.12); color: #8ee8f7; }
.chat-demo__foot { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.trust__item { padding: 22px; background: rgba(9, 13, 24, .86); }
.trust__item b { display: block; font-size: 26px; letter-spacing: -.03em; color: #a9f1ff; }
.trust__item span { color: var(--muted); font-size: 13.5px; line-height: 1.4; display: block; margin-top: 4px; }

/* ---------- секции ---------- */
.section { padding: 74px 0; }
.section--tight { padding: 36px 0 64px; }
.section--alt { background: linear-gradient(180deg, rgba(10, 15, 28, .85), rgba(6, 9, 17, 0)); border-top: 1px solid rgba(130,170,255,.07); border-bottom: 1px solid rgba(130,170,255,.07); }
.section__head { margin-bottom: 34px; max-width: 720px; }
.section__head p { color: var(--muted); margin: 0; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- карточки ---------- */
.card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  transition: transform .2s ease, border-color .2s, box-shadow .2s, background .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 26px 50px -34px rgba(34, 211, 238, .5); }

.product-card__top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.product-card__cover { margin: -24px -24px 18px; border-bottom: 1px solid var(--line); overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #0a1020; }
.product-card { display: flex; flex-direction: column; }
.product-card__text { flex: 1 1 auto; }
.product-card__meta { margin-top: auto; }
.product-card__cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.product-card__cover--phone img { object-position: 50% 12%; }
.product-card:not(:has(.product-card__cover))::before {
  content: ""; display: block; height: 150px; margin: -24px -24px 18px;
  border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0;
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(34,211,238,.22), transparent 60%),
    radial-gradient(120% 120% at 90% 20%, rgba(124,92,255,.24), transparent 62%),
    linear-gradient(180deg, rgba(14,20,36,.95), rgba(9,13,24,.95));
  background-size: auto, auto, auto;
}
.product-card:not(:has(.product-card__cover))::after {
  content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 150px;
  border-radius: 10px; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(130,170,255,.10) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(130,170,255,.10) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 78%);
}
.tag { display: inline-block; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: #8ee8f7; background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.22); padding: 4px 9px; border-radius: 999px; }
.tag--mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: none; color: #cfe4ff; background: rgba(255,255,255,.05); border-color: var(--line); letter-spacing: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: 11.5px; color: #d9c9ff; background: rgba(124,92,255,.16); border: 1px solid rgba(124,92,255,.35); padding: 4px 9px; border-radius: 999px; }

.product-card__title { font-size: 19px; margin-bottom: 8px; line-height: 1.25; }
.product-card__text { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-bottom: 16px; min-height: 66px; }
.product-card__meta { list-style: none; padding: 14px 0 0; margin: 0 0 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.product-card__meta li span:first-child { font-weight: 650; color: #b8f4ff; }
.product-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.feature { display: flex; flex-direction: column; gap: 10px; }
.feature__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #04121a; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.feature h3 { font-size: 17px; margin: 4px 0 0; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0 0 8px; }

.metrics { display: flex; flex-wrap: wrap; gap: 18px; }
.metrics--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.metrics--row { margin: 22px 0; gap: 28px; }
.metric b { display: block; font-size: 22px; letter-spacing: -.02em; color: #a9f1ff; }
.metric span { font-size: 12.5px; color: var(--muted); line-height: 1.35; display: block; }
.case-card h3 { font-size: 19px; }
.case-card__text { color: var(--muted); font-size: 14.5px; }
.case-card .metrics { margin: 16px 0; gap: 14px; }
.case-card .metric b { font-size: 19px; }

/* ---------- страница продукта ---------- */
.product__hero { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; }
.product__hero h1 { font-size: clamp(27px, 3.2vw, 44px); margin: 10px 0 14px; }
.product__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 34px; padding: 0; margin: 18px 0 0; }
.product__facts li span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.product__facts li b { font-size: 17px; color: #e8f6ff; }
.product__aside { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.product__aside-title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.product__lead { margin-top: 34px; }

.page-head { padding: 48px 0 34px; }
.page-head h1 { max-width: 900px; }
.page-head__lead { font-size: 18px; color: #c3d0e6; max-width: 760px; margin-top: 14px; }
.page-head--center { text-align: center; }
.page-head--center .page-head__lead { margin-left: auto; margin-right: auto; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- услуги ---------- */
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 64px 1fr 190px 130px; gap: 22px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.service-row__num { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: .06em; }
.service-row h3 { font-size: 20px; margin: 0 0 6px; }
.service-row p { color: var(--muted); font-size: 14.5px; margin: 0; }
.service-row__meta { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.service-row__meta span:first-child { color: #b8f4ff; font-weight: 650; }
.service-row:hover h3 { color: var(--accent); }

/* ---------- списки ---------- */
.tick-list, .cross-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.tick-list li, .cross-list li { position: relative; padding-left: 30px; font-size: 15px; color: #ccd8ec; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #04121a; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.cross-list li::before { content: "—"; position: absolute; left: 2px; color: #ff8b8b; }

.stack { display: grid; gap: 16px; }
.stack__item { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.025); }
.stack__item h3 { font-size: 16px; margin: 0 0 6px; }
.stack__item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- шаги ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.025); }
.step b { display: block; font-size: 12px; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.step h3 { font-size: 16px; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.steps--vertical { grid-template-columns: 1fr; gap: 12px; }
.steps--vertical .step { display: flex; gap: 14px; align-items: flex-start; }
.steps--vertical .step b { margin: 2px 0 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.03); overflow: hidden; }
.faq__item summary { cursor: pointer; padding: 16px 18px; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 18px 16px; color: var(--muted); font-size: 15px; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- форма ---------- */
.form { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(17,24,43,.9), rgba(9,13,24,.9)); }
.form__title { font-size: 22px; margin-bottom: 6px; }
.form__note { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.field { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(6,9,17,.7); color: var(--text); font: inherit; font-size: 15px; }
.field input:focus, .field textarea:focus { outline: 2px solid rgba(34,211,238,.45); border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 96px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.check a { color: #8ee8f7; text-decoration: underline; }
.form__status { margin: 12px 0 0; font-size: 14px; color: var(--ok); min-height: 20px; }
.form__status.is-error { color: #ff9a9a; }

/* ---------- галерея / видео ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery:has(> :only-child) { grid-template-columns: 1fr; }
.gallery__item { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: rgba(255,255,255,.03); }
.gallery__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.gallery__item--phone img { aspect-ratio: 9 / 16; object-fit: cover; max-height: 460px; }
.gallery__item:hover img { transform: scale(1.03); }
.video-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
.video-wrap video { width: 100%; }
.product__video { margin-top: 18px; }
.product__video h3 { margin: 0 0 10px; font-size: 15px; letter-spacing: .01em; }
.product__video .muted { margin: 8px 0 0; font-size: 13px; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(3, 6, 12, .92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 14px; }
.lightbox__close { position: absolute; top: 18px; right: 22px; background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 22px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }

/* ---------- карточки-заметки / цена ---------- */
.note-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.03); margin-top: 20px; }
.note-card h2, .note-card h3 { font-size: 19px; margin-bottom: 10px; }
.note-card--accent { background: linear-gradient(160deg, rgba(34,211,238,.1), rgba(124,92,255,.08)); border-color: rgba(34,211,238,.25); }
.price-card { margin-top: 20px; padding: 24px; border: 1px solid rgba(34,211,238,.3); border-radius: var(--radius); background: linear-gradient(160deg, rgba(34,211,238,.12), rgba(124,92,255,.1)); }
.price-card__label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px; }
.price-card__value { font-size: 32px; font-weight: 700; letter-spacing: -.03em; margin: 0 0 6px; }
.price-card__note, .price-card__term { font-size: 14px; color: #c3d0e6; margin: 0 0 12px; }
.price-card .btn { margin-bottom: 8px; }

.dl { display: grid; grid-template-columns: 180px 1fr; gap: 6px 16px; margin: 0; font-size: 14.5px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; color: #dbe6f7; }
.quote { margin: 22px 0 0; padding: 18px 20px; border-left: 3px solid var(--accent); background: rgba(34,211,238,.07); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: #d6e4f7; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; transition: all .18s; }
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.is-active { background: linear-gradient(120deg, var(--accent), var(--accent-2)); border-color: transparent; color: #04121a; font-weight: 600; }
.empty { color: var(--muted); text-align: center; padding: 30px 0; }

.contact-list { display: grid; gap: 10px; }
.contact-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.03); }
.contact-item span { color: var(--muted); font-size: 14px; }
.contact-item b { font-size: 16px; }
a.contact-item:hover { border-color: var(--accent); }

/* ---------- CTA-баннер и футер ---------- */
.cta-band { padding: 46px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgba(34,211,238,.1), rgba(124,92,255,.12)); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band__title { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 8px; }
.cta-band__text { margin: 0; color: #c8d6ea; max-width: 620px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer { padding: 56px 0 28px; background: rgba(4, 7, 13, .9); border-top: 1px solid rgba(130,170,255,.1); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__col h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.footer__col a { color: #cfdcf0; }
.footer__col a:hover { color: var(--accent); }
.footer__about { color: var(--muted); font-size: 14px; max-width: 330px; }
.footer__socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__socials a { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: #cfdcf0; }
.footer__socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer__contacts li { color: #cfdcf0; }
.footer__legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: #7f90ad; font-size: 12.5px; }
.footer__legal p { margin: 0 0 4px; }

.mobile-cta { display: none; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; padding: 14px; text-align: center; border-radius: 14px; font-weight: 700; color: #04121a; background: linear-gradient(120deg, var(--accent), var(--accent-2)); box-shadow: 0 14px 30px -12px rgba(34,211,238,.7); }

/* ---------- ИИ-консультант ---------- */
.consult { position: fixed; right: 20px; bottom: 22px; z-index: 70; }
.consult__toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; font-size: 15px; color: #04121a; background: linear-gradient(120deg, var(--accent), var(--accent-2)); box-shadow: 0 18px 40px -14px rgba(34,211,238,.8); }
.consult__pulse { position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(34,211,238,.55); animation: pulse 2.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238,.5); }
  70% { box-shadow: 0 0 0 18px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

/* ---------- текстовая страница ---------- */
.article-body h2 { font-size: 24px; margin: 32px 0 10px; }
.article-body p { color: #c7d4e8; }

/* ---------- анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .consult__pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .product__hero { grid-template-columns: 1fr; gap: 24px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 44px 1fr 150px; }
  .service-row .link-arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .burger { display: block; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .header__phone { display: none; }
  .product-card__text { min-height: 0; }
  .form__grid { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; gap: 2px 0; }
  .dl dt { margin-top: 8px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
  .metrics--grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 34px 1fr; gap: 12px; }
  .service-row__meta { grid-column: 2; flex-direction: row; gap: 12px; }
  .mobile-cta { display: block; }
  .consult { right: 14px; bottom: 78px; }
  .consult__label { display: none; }
  .consult__toggle { padding: 16px; }
  .cta-band__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .page-head { padding: 32px 0 24px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 28px; }
  .trust { grid-template-columns: 1fr; }
}

/* мобильное меню */
.nav.is-open {
  display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
  background: rgba(8, 12, 22, .98); border-bottom: 1px solid var(--line); padding: 14px 22px 22px; gap: 6px;
}
.nav.is-open .nav__link { padding: 12px 10px; font-size: 16px; }

/* ---------- панель ИИ-консультанта ---------- */
.consult-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 400px; max-width: calc(100vw - 28px); height: min(620px, calc(100vh - 40px));
  display: none; flex-direction: column;
  border: 1px solid rgba(34,211,238,.3); border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(12,18,32,.99), rgba(7,10,18,.99));
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.95);
}
.consult-panel.is-open { display: flex; }
.consult-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.consult-panel__head b { display: block; font-size: 15px; }
.consult-panel__head small { color: var(--muted); font-size: 11.5px; }
.consult-panel__close { border: 0; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; }
.consult-panel__close:hover { color: var(--text); }
.consult-panel__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.cmsg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.cmsg--bot { background: rgba(255,255,255,.05); border: 1px solid var(--line); align-self: flex-start; color: #d6e2f4; }
.cmsg--user { background: linear-gradient(120deg, rgba(34,211,238,.22), rgba(124,92,255,.22)); border: 1px solid rgba(34,211,238,.3); align-self: flex-end; }
.cmsg a { color: #8ee8f7; text-decoration: underline; }
.cmsg--typing { display: flex; gap: 4px; padding: 14px; }
.cmsg--typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .5; animation: blink 1.2s infinite; }
.cmsg--typing span:nth-child(2) { animation-delay: .2s; }
.cmsg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.cquick { display: flex; flex-wrap: wrap; gap: 6px; }
.cquick button { font: inherit; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; cursor: pointer; color: #b9ecfa; background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.25); }
.cquick button:hover { background: rgba(34,211,238,.2); }
.consult-panel__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: rgba(255,255,255,.02); }
.consult-panel__form textarea { flex: 1; resize: none; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(6,9,17,.8); color: var(--text); font: inherit; font-size: 14px; }
.consult-panel__form textarea:focus { outline: 2px solid rgba(34,211,238,.4); }
.consult-panel__form button { width: 44px; border: 0; border-radius: 12px; cursor: pointer; font-size: 18px; color: #04121a; background: linear-gradient(120deg, var(--accent), var(--accent-2)); }
.consult-panel__foot { padding: 8px 14px 12px; color: #7186a5; font-size: 11px; line-height: 1.4; }

@media (max-width: 520px) {
  .consult-panel { right: 0; bottom: 0; width: 100vw; height: 88vh; border-radius: 18px 18px 0 0; }
}

/* форма КП внутри чата */
.cquick__kp { background: linear-gradient(120deg, var(--accent), var(--accent-2)) !important; color: #04121a !important; border: 0 !important; font-weight: 700; }
.ckp { display: grid; gap: 8px; padding: 14px; border: 1px solid rgba(34,211,238,.3); border-radius: 14px; background: rgba(34,211,238,.05); }
.ckp__title { margin: 0 0 4px; font-weight: 700; font-size: 14px; }
.ckp input:not([type="checkbox"]) { width: 100%; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line-strong); background: rgba(6,9,17,.85); color: var(--text); font: inherit; font-size: 13.5px; }
.ckp input:focus { outline: 2px solid rgba(34,211,238,.4); }
.ckp__check { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; color: var(--muted); }
.ckp__check input { margin-top: 3px; accent-color: var(--accent); }
.ckp__check a { color: #8ee8f7; text-decoration: underline; }
.ckp button { padding: 10px; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-weight: 700; font-size: 13.5px; color: #04121a; background: linear-gradient(120deg, var(--accent), var(--accent-2)); }
.ckp button:disabled { opacity: .6; cursor: default; }
.ckp__note { margin: 0; font-size: 11px; color: #7186a5; }






