/* ПроверкаАвто — магазин автоуслуг */
:root {
  --bg: #eef5fb;
  --bg-soft: #e3eef8;
  --surface: #ffffff;
  --ink: #0a1b2e;
  --ink-soft: #3d5166;
  --muted: #6a7f94;
  --line: rgba(12, 59, 102, 0.12);
  --primary: #0c3b66;
  --accent: #1f9fd4;
  --accent-deep: #0e7eaf;
  --blue: #2f6bff;
  --cyan-glow: rgba(47, 107, 255, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px rgba(8, 20, 40, 0.18);
  --shadow-card: 0 18px 40px rgba(12, 59, 102, 0.08);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;
  --container: min(1440px, calc(100% - 48px));
  --header-h: 80px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #f4f7fb;
  line-height: 1.55;
  overflow-x: hidden;
  cursor: none;
}

body.is-touch { cursor: auto; }
body.is-touch .cursor,
body.is-touch .cursor-dot { display: none !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Cursor */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
}
.cursor {
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s;
}
.cursor.is-hover {
  width: 64px; height: 64px;
  background: rgba(47, 107, 255, 0.15);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  transform: translate(-50%, -50%);
}

.page-progress {
  position: fixed; inset: 0 0 auto;
  height: 3px; z-index: 999; pointer-events: none;
}
.page-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(5, 14, 32, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(12, 59, 102, 0.08);
  box-shadow: 0 10px 30px rgba(12, 59, 102, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.03em;
}
.logo__text {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 0 18px rgba(0,0,0,.25);
  transition: color .25s, text-shadow .25s;
}
.header.is-scrolled .logo__text {
  color: var(--ink);
  text-shadow: none;
}
.footer .logo__text {
  color: var(--ink);
  text-shadow: none;
}
body:not(.front-page) {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}
.nav {
  display: flex; justify-content: center; gap: 4px; flex-wrap: wrap;
}
.nav a {
  position: relative;
  padding: 10px 14px;
  color: rgba(255,255,255,.82);
  font-weight: 500; font-size: .94rem;
}
.header.is-scrolled .nav a { color: var(--ink-soft); }
.nav a.is-active,
.nav a:hover { color: #fff; }
.header.is-scrolled .nav a.is-active,
.header.is-scrolled .nav a:hover { color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute; left: 50%; bottom: 2px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue);
  transform: translateX(-50%) scale(0);
  transition: transform .25s, opacity .25s;
  opacity: 0;
}
.nav a.is-active::after,
.nav a:hover::after { transform: translateX(-50%) scale(1); opacity: 1; }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__contacts { display: grid; justify-items: end; gap: 2px; line-height: 1.2; }
.header__phone {
  font-weight: 700; font-size: .95rem;
  color: rgba(255,255,255,.92);
}
.header.is-scrolled .header__phone { color: var(--ink); }
.header__hours { font-size: .75rem; color: rgba(255,255,255,.55); }
.header.is-scrolled .header__hours { color: var(--muted); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 16px; height: 2px; background: #fff; border-radius: 2px; }
.header.is-scrolled .nav-toggle { background: var(--bg-soft); }
.header.is-scrolled .nav-toggle span { background: var(--ink); }

/* CTA must stay readable on both dark (top) and white (scrolled) header */
.header .header__cta.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.header.is-scrolled .header__cta.btn--light {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.28);
}
.header.is-scrolled .header__cta.btn--light:hover {
  background: var(--accent-deep);
}

.mobile-nav {
  position: fixed;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px);
  left: 16px;
  right: 16px;
  z-index: 99; display: grid; gap: 8px; padding: 18px;
  border-radius: 24px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 12px 14px; border-radius: 14px; font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: var(--radius-pill);
  border: 0; font-weight: 600; font-size: .94rem;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .86rem; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--accent {
  background: linear-gradient(120deg, #4d8cff, var(--blue));
  color: #fff; box-shadow: 0 14px 30px var(--cyan-glow);
}
.btn--accent:hover { box-shadow: 0 18px 36px rgba(47,107,255,.4); }
.btn--ghost-hero {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.btn--ghost-hero:hover { background: rgba(255,255,255,.08); }
.btn--ghost-dark {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn:focus-visible,
.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ========== HERO storefront ========== */
.hero--storefront {
  position: relative;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 28px) 0 64px;
  color: #fff;
  overflow: hidden;
  min-height: min(100vh, 920px);
}

.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.06);
}
.hero__bg-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(4,12,28,.88) 0%, rgba(6,18,40,.72) 48%, rgba(8,24,48,.55) 100%),
    linear-gradient(0deg, rgba(4,10,22,.55), transparent 42%);
}

.hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.hero__badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(47, 107, 255, .18);
  border: 1px solid rgba(125, 170, 255, .35);
  color: #9ec0ff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.hero__lead {
  margin: 18px 0 0;
  max-width: 48ch;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 28px;
}

.hero__pills {
  list-style: none;
  margin: 28px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hero__pills li {
  padding: 16px;
  border-radius: 18px;
  background: rgba(8, 16, 32, .45);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
}
.hero__pills strong {
  display: block; margin-bottom: 4px; font-size: .92rem;
}
.hero__pills span {
  color: rgba(255,255,255,.55); font-size: .8rem;
}

.hero__quick {
  margin-top: 22px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(8, 16, 32, .5);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.hero__quick-label {
  display: block;
  margin-bottom: 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}
.hero__quick-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.hero__quick input {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 0;
  background: #fff;
  color: var(--ink);
}

/* Check form card */
.check-card {
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.check-card__steps {
  list-style: none;
  margin: 0 0 22px; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.check-card__steps li {
  position: relative;
  padding-top: 30px;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.2;
}
.check-card__steps li::before {
  content: attr(data-step-label);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d7e0ea;
  color: var(--ink-soft);
  font-size: .7rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  box-sizing: border-box;
}
.check-card__steps li::after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(-50% + 14px);
  width: calc(100% - 28px);
  height: 2px;
  background: #e4ebf3;
  z-index: 0;
}
.check-card__steps li:first-child::after { display: none; }
.check-card__steps li.is-active,
.check-card__steps li.is-done { color: var(--blue); }
.check-card__steps li.is-active::before,
.check-card__steps li.is-done::before {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(47,107,255,.18);
}
.check-card__steps li.is-done::after,
.check-card__steps li.is-active::after { background: rgba(47,107,255,.35); }

.check-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -.03em;
}
.check-panel__hint {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: .92rem;
}
.check-panel__hint a { color: var(--blue); font-weight: 600; }

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.service-option {
  position: relative;
  display: grid; gap: 4px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f7f9fc;
  cursor: pointer;
  transition: border-color .25s, background .25s, box-shadow .25s, transform .25s;
}
.service-option input { position: absolute; opacity: 0; pointer-events: none; }
.service-option__tag {
  font-size: .72rem; font-weight: 700;
  color: var(--blue); letter-spacing: .04em;
}
.service-option strong { font-size: .95rem; }
.service-option span:last-child {
  color: var(--muted); font-size: .78rem; line-height: 1.35;
}
.service-option:hover { transform: translateY(-2px); }
.service-option.is-selected {
  border-color: rgba(47,107,255,.5);
  background: linear-gradient(180deg, #fff, #eef3ff);
  box-shadow: 0 12px 28px rgba(47,107,255,.12);
}

.check-card__price {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eef3ff;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
}
.check-card__next { width: 100%; }
.check-card__nav {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}
.check-card__note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7e8;
  color: #8a5a00;
  font-size: .84rem;
}
.check-card__note.is-live {
  background: #e9f8ef;
  color: #146c3a;
}
.check-card__note code {
  background: rgba(0,0,0,.06);
  padding: 1px 6px;
  border-radius: 6px;
}

.field { display: grid; gap: 8px; margin-bottom: 12px; }
.field span { font-size: .84rem; font-weight: 600; color: var(--ink-soft); }
.field input,
.field select {
  width: 100%; min-height: 50px;
  padding: 0 14px; border-radius: 14px;
  border: 1px solid var(--line);
  background: #f7f9fc; color: var(--ink);
}
.field input:focus,
.field select:focus {
  border-color: rgba(47,107,255,.55);
  box-shadow: 0 0 0 4px rgba(47,107,255,.12);
  background: #fff; outline: none;
}

.check-loading {
  display: grid; place-items: center;
  gap: 14px; min-height: 280px; text-align: center;
}
.check-loading__ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid #e4ebf3;
  border-top-color: var(--blue);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#loadingEndpoint {
  font-size: .8rem; color: var(--muted);
  word-break: break-all; max-width: 36ch;
}

.check-result {
  display: grid; gap: 12px;
  max-height: 360px; overflow: auto;
  padding-right: 4px;
}
.result-banner {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600; font-size: .9rem;
}
.result-banner--ok { background: #e9f8ef; color: #146c3a; }
.result-banner--warn { background: #fff4e5; color: #8a5a00; }
.result-banner--demo { background: #eef3ff; color: #2746a0; }
.result-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f7f9fc;
}
.result-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.result-card dl {
  margin: 0;
  display: grid; gap: 6px;
}
.result-card dt {
  font-size: .75rem; color: var(--muted); font-weight: 600;
}
.result-card dd {
  margin: 0 0 6px; font-weight: 600;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--blue);
}

/* Sections */
.section-head { margin-bottom: 32px; max-width: 720px; }
.section-head--row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head h2,
.how h2,
.faq h2,
.cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -.035em;
  line-height: 1.15;
}
.section-head p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.catalog { padding: 88px 0 40px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .88rem;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.chip.is-active,
.chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(10, 27, 46, .16);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  align-items: stretch;
}
.product-card {
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(12,59,102,.08);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-rows: auto 1fr;
  transition: translate .3s ease, box-shadow .3s ease;
}
.product-card:hover {
  translate: 0 -4px;
  box-shadow: 0 22px 48px rgba(12,59,102,.12);
}
.product-card[hidden] { display: none; }
.product-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d7e4f2;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__body {
  padding: 18px 18px 20px;
  display: grid;
  grid-template-rows: auto 2.6em 4.35em 1fr auto auto;
  gap: 8px;
  align-content: stretch;
  min-height: 0;
}
.product-card__tag {
  width: fit-content;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  line-height: 24px;
}
.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -.03em;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
  height: 4.35em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 28px;
}
.product-card__meta strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -.03em;
}
.product-card__meta span { color: var(--muted); font-size: .84rem; }
.product-card .btn {
  width: 100%;
  align-self: end;
}

.how { padding: 64px 0; }
.how__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
.how__list {
  list-style: none; margin: 28px 0 0; padding: 0;
}
.how__list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease, padding-left .3s ease;
}
.how__list li:hover {
  transform: translateX(4px);
}
.how__list strong { display: block; margin-bottom: 6px; }
.how__list p { margin: 0; color: var(--muted); max-width: 48ch; }

.side-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .4s ease, transform .4s ease;
}
.side-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(12, 59, 102, .16);
}
.side-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.side-visual:hover img { transform: scale(1.04); }
.side-visual__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.95);
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.faq { padding: 40px 0 72px; }
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 18px;
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.faq-item:hover {
  border-color: rgba(47, 107, 255, .28);
  box-shadow: 0 12px 28px rgba(12, 59, 102, .08);
}
.faq-item[open] {
  border-color: rgba(47, 107, 255, .4);
  box-shadow: 0 14px 32px rgba(47, 107, 255, .1);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 36px 16px 0;
  font-weight: 700;
  position: relative;
  transition: color .25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}
.faq-item[open] summary { color: var(--blue); }
.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.22, 1, .36, 1);
}
.faq-item[open] .faq-item__body {
  grid-template-rows: 1fr;
}
.faq-item__body > div {
  overflow: hidden;
  min-height: 0;
}
.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease .05s, transform .4s cubic-bezier(.22, 1, .36, 1) .05s;
}
.faq-item[open] p {
  opacity: 1;
  transform: translateY(0);
}

.cta-band { padding: 0 0 80px; }
.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  background:
    radial-gradient(500px 200px at 90% 20%, rgba(125,180,255,.35), transparent 60%),
    linear-gradient(120deg, #0c3b66, #1a5fb5 55%, #2f6bff);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.cta-band p { margin: 12px 0 0; color: rgba(255,255,255,.8); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Product modal */
.lead-modal {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 24px;
}
.lead-modal[hidden] { display: none; }
.lead-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 10, 18, .62);
  backdrop-filter: blur(8px);
}
.lead-modal__dialog {
  position: relative; z-index: 1;
  width: min(460px, 100%);
  padding: 28px 26px 26px;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  max-height: min(90vh, 760px);
  overflow: auto;
}
.lead-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--bg-soft); color: var(--ink);
  display: grid; place-items: center;
}
.lead-modal__eyebrow {
  margin: 0; color: var(--blue); font-size: .82rem; font-weight: 600;
}
.lead-modal__dialog h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -.03em;
}
.lead-modal__text {
  margin: 10px 0 18px; color: var(--muted); font-size: .95rem;
}
.lead-modal__dialog .btn { width: 100%; margin-top: 8px; }
body.lead-open { overflow: hidden; }

/* Footer */
.footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.7);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.footer__tag { margin: 14px 0 0; color: var(--muted); max-width: 36ch; }
.footer h4 {
  margin: 0 0 14px; font-size: .86rem; color: var(--muted); font-weight: 600;
}
.footer a, .footer p {
  display: block; margin: 0 0 8px; color: var(--ink-soft);
}
.footer a {
  transition: color .25s ease, transform .25s ease;
}
.footer a:hover {
  color: var(--blue);
  transform: translateX(2px);
}
.footer__bottom {
  margin-top: 36px; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: .84rem;
}

.toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  z-index: 200; padding: 14px 20px; border-radius: 16px;
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-soft);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast[hidden] { display: block; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__contacts { display: none; }
  .header__inner { display: flex; justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .hero__grid,
  .how__grid,
  .footer__grid { grid-template-columns: 1fr; }
  .hero__pills { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --container: min(100% - 28px, 1440px); --header-h: 72px; }
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
  .header__cta { display: none; }
  .service-grid,
  .product-grid,
  .hero__quick-row,
  .check-card__nav { grid-template-columns: 1fr; }
  .check-card__steps { font-size: .7rem; }
  .section-head--row { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== Theme additions: TG, techosmotr, news, feedback, pages ===== */
.field textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f7f9fc;
  color: var(--ink);
  resize: vertical;
  font: inherit;
}
.field textarea:focus {
  border-color: rgba(47,107,255,.55);
  box-shadow: 0 0 0 4px rgba(47,107,255,.12);
  background: #fff;
  outline: none;
}
.result-pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.promo-tech { padding: 40px 0 20px; }
.promo-tech__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  background: linear-gradient(135deg, #e8f2ff, #f7fbff 55%, #eef5fb);
  border: 1px solid rgba(12,59,102,.08);
  box-shadow: var(--shadow-card);
}
.promo-tech__eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
}
.promo-tech h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -.03em;
}
.promo-tech p { margin: 14px 0 22px; color: var(--ink-soft); max-width: 46ch; }
.promo-tech__visual {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.promo-tech__visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.tg-bot-promo { padding: 48px 0; }
.tg-bot-promo-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
  background:
    radial-gradient(420px 180px at 90% 10%, rgba(47,107,255,.18), transparent 60%),
    linear-gradient(120deg, #0c3b66, #1a5fb5 60%, #2f6bff);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.tg-bot-promo-eyebrow {
  margin: 0 0 8px;
  color: #9ec0ff;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .04em;
}
.tg-bot-promo-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  letter-spacing: -.03em;
}
.tg-bot-promo-lead {
  margin: 12px 0 0;
  color: rgba(255,255,255,.78);
  max-width: 48ch;
}
.tg-bot-promo-features {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.tg-bot-promo-features li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(8,16,32,.28);
  border: 1px solid rgba(255,255,255,.12);
}
.tg-bot-promo-features strong { display: block; margin-bottom: 4px; }
.tg-bot-promo-features span { color: rgba(255,255,255,.62); font-size: .88rem; }
.tg-bot-promo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.tg-bot-promo-handle { margin: 0; color: rgba(255,255,255,.7); font-weight: 600; }
.tg-bot-promo-aside { display: grid; gap: 14px; align-content: center; }
.tg-bot-promo-chip,
.tg-bot-promo-bubble {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}
.tg-bot-promo-chip { display: grid; gap: 4px; }
.tg-bot-promo-chip em { font-style: normal; color: rgba(255,255,255,.65); font-size: .88rem; }

.feedback { padding: 48px 0 24px; }
.feedback__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.feedback h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -.03em;
}
.feedback__grid > div > p { margin: 12px 0 0; color: var(--ink-soft); max-width: 40ch; }
.feedback-form {
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(12,59,102,.08);
  box-shadow: var(--shadow-card);
}
.feedback-form .btn { width: 100%; margin-top: 8px; }

.news-preview { padding: 48px 0; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.news-card {
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(12,59,102,.08);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 10px;
  transition: translate .3s ease, box-shadow .3s ease;
}
.news-card:hover {
  translate: 0 -3px;
  box-shadow: 0 20px 40px rgba(12,59,102,.1);
}
.news-card time { color: var(--muted); font-size: .82rem; font-weight: 600; }
.news-card h2,
.news-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.news-card h2 a,
.news-card h3 a { color: inherit; }
.news-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.news-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-pagination { margin-top: 28px; }

.page-shell { padding: 48px 0 72px; min-height: 60vh; }
.page-shell__inner { max-width: 1100px; }
.page-shell__narrow { max-width: 760px; }
.content-card {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(12,59,102,.08);
  box-shadow: var(--shadow-card);
}
.content-card h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  letter-spacing: -.03em;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.content-card__meta { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.content-card__meta a { color: var(--blue); font-weight: 600; }
.entry-content { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.entry-content p { margin: 0 0 1em; }

.footer .logo__text { color: var(--ink); text-shadow: none; }
.header:not(.is-scrolled) .logo__text { color: #fff; }

@media (max-width: 1100px) {
  .promo-tech__inner,
  .tg-bot-promo-panel,
  .feedback__grid,
  .news-grid,
  .news-grid--archive { grid-template-columns: 1fr; }
}
