/* ==========================================================
   product.css — стили продуктовых страниц /services/*
   ========================================================== */

:root {
  --dark-bg: #080c1a;
  --light-bg: #f0f4ff;
  --surface: #ffffff;
  --surface-2: #f8faff;
  --border: #e0e7ff;
  --border-2: #c7d2fe;
  --accent: #4f46e5;
  --accent-d: #3730a3;
  --accent-2: #818cf8;
  --accent-light: #eef2ff;
  --text: #0f172a;
  --text-2: #475569;
  --muted: #94a3b8;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --t-fast: .15s ease;
  --t-base: .28s ease;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 4px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0b1124;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent-d); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── HEADER ─────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,12,26,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--t-base);
}
.topbar {
  max-width: 1200px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 32px; width: auto; }
nav.menu { display: flex; gap: 4px; align-items: center; }
nav.menu a {
  display: inline-flex; align-items: center;
  padding: 7px 13px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.78);
}
nav.menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
nav.menu a.active { background: rgba(99,102,241,.2); color: var(--accent-2); }

.burger {
  display: none;
  width: 36px; height: 36px;
  background: transparent; border: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
}
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--t-fast), opacity var(--t-fast); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(8,12,26,.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 12px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list li { padding: 4px 0; }
.mobile-nav-list a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-size: 15px; color: rgba(255,255,255,.85);
}
.mobile-nav-list a:hover { background: rgba(255,255,255,.08); color: #fff; }
.mobile-nav-list a.active { background: rgba(99,102,241,.18); color: var(--accent-2); }

/* ── ANCHOR NAV (как на странице аудита) ─────────────────── */
.anchor-nav {
  position: sticky; top: 57px; z-index: 40;
  background: rgba(8,12,26,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  will-change: transform;
  flex-shrink: 0;
}
.anchor-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 24px;
}
.anchor-nav-inner::-webkit-scrollbar { display: none; }
.anchor-nav a {
  display: inline-flex; align-items: center;
  padding: 11px 14px;
  color: rgba(255,255,255,.5);
  font-size: 13px; font-weight: 500;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.anchor-nav a:hover {
  color: rgba(255,255,255,.9);
  border-bottom-color: rgba(255,255,255,.3);
}
.anchor-nav a.anchor-active {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

/* ── CONTAINERS ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── BREADCRUMBS ────────────────────────────────────────── */
.breadcrumb { background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.08); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 4px 6px;
  list-style: none; margin: 0; padding: 10px 0;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .bc-current { color: rgba(255,255,255,.9); }

/* ── BREADCRUMBS (внутри hero) ──────────────────────────── */
.prd-breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  padding: 14px 0 18px;
  font-size: 12.5px;
  background: transparent !important;
  border: 0 !important;
}
.prd-breadcrumbs, .prd-breadcrumbs * {
  background: transparent !important;
  list-style: none !important;
}
.prd-breadcrumbs a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .15s;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.prd-breadcrumbs a:hover { color: #fff; }
.prd-breadcrumbs .sep { color: rgba(255,255,255,.35); margin: 0 2px; }
.prd-breadcrumbs .bc-current { color: rgba(255,255,255,.9); }

/* ── HERO ───────────────────────────────────────────────── */
.prd-hero {
  background: linear-gradient(135deg, #0b1124 0%, #11183a 60%, #1a1f4a 100%);
  color: #fff;
  padding: 24px 0 64px;
  position: relative; overflow: hidden;
}
.prd-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(99,102,241,.18), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(56,189,248,.10), transparent 50%);
  pointer-events: none;
}
.prd-hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start;
}
.prd-hero h1 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15; letter-spacing: -.02em;
  margin: 0 0 20px; color: #fff;
}
.prd-hero p {
  font-size: 16px; line-height: 1.75;
  color: rgba(255,255,255,.85); margin: 0 0 14px;
}

/* ── FORM (универсальная) ───────────────────────────────── */
.prd-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.prd-form h2, .prd-form__title {
  font-size: 18px; font-weight: 700; color: #fff;
  margin: 0 0 6px; letter-spacing: -.01em;
}
.prd-form__sub { font-size: 13px; color: rgba(255,255,255,.65); margin: 0 0 18px; }
.prd-form__row { margin-bottom: 12px; }
.prd-form label {
  display: block; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.75); margin-bottom: 6px; letter-spacing: .02em;
}
.prd-form input,
.prd-form select,
.prd-form textarea {
  width: 100%; padding: 10px 14px;
  font-family: inherit; font-size: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; color: #fff;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.prd-form input::placeholder, .prd-form textarea::placeholder { color: rgba(255,255,255,.4); }
.prd-form input:focus, .prd-form select:focus, .prd-form textarea:focus {
  outline: none; border-color: var(--accent-2); background: rgba(255,255,255,.12);
}
.prd-form select {
  color: #fff; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c7d2fe' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.prd-form select option { background: #11183a; color: #fff; }
.prd-form textarea { resize: vertical; min-height: 70px; }

/* ── BUTTON (единый стиль — как «Подписаться» в блоге) ─── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 15px 28px;
  background: var(--accent);
  color: #fff !important;
  font-size: 15px; font-weight: 700;
  line-height: 1.2;
  border: none; border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-base);
  box-shadow: 0 4px 16px rgba(79,70,229,.3);
}
.btn-primary:hover {
  background: var(--accent-d); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,70,229,.4);
  color: #fff !important;
}
.btn-primary:active { transform: translateY(0); }
.btn-primary--inline { width: auto; padding: 15px 36px; }

/* ── SECTION ─────────────────────────────────────────────── */
.prd-section { padding: 64px 0; background: var(--surface); }
.prd-section--light { background: var(--surface-2); }
.prd-section--accent { background: var(--accent-light); }
.prd-section__head { margin-bottom: 32px; }
.prd-section h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700; color: var(--text);
  letter-spacing: -.02em; line-height: 1.25;
  margin: 0 0 14px;
}
.prd-section__intro {
  font-size: 16px; line-height: 1.75;
  color: var(--text-2); max-width: 780px; margin: 0;
}
.prd-section p {
  font-size: 16px; line-height: 1.8;
  color: var(--text-2); margin: 0 0 14px;
}

/* ── ВЫДЕЛЕННЫЙ БЛОК «Что входит» ───────────────────────── */
.prd-includes {
  background: linear-gradient(135deg, rgba(79,70,229,.04) 0%, rgba(129,140,248,.07) 100%);
  border: 1px solid var(--border-2);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  margin: 0 auto;
}
.prd-includes h2 {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin: 0 0 16px; letter-spacing: -.01em;
}
.prd-includes ul { list-style: none; margin: 0; padding: 0; }
.prd-includes li {
  position: relative; padding: 6px 0 6px 26px;
  font-size: 15px; line-height: 1.65; color: var(--text-2);
}
.prd-includes li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 14px; height: 2px; background: var(--accent); border-radius: 2px;
}

/* ── ТАБЛИЦА УГРОЗ ──────────────────────────────────────── */
.prd-threats-wrap {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow-x: auto;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}
.prd-threats {
  width: 100%; border-collapse: collapse;
  font-size: 14px; min-width: 720px;
}
.prd-threats thead th {
  background: #f0f4ff;
  color: var(--accent);
  font-size: 13px; font-weight: 700;
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.prd-threats tbody td {
  padding: 16px 18px;
  color: var(--text-2); line-height: 1.6;
  vertical-align: top;
  border-right: 1px solid #f0f4ff;
}
.prd-threats tbody td:last-child { border-right: none; }

/* ── СЕТКА ОБЪЕКТОВ (flex для гармоничного распределения) ─ */
.prd-objects {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}
.prd-object {
  /* Базис 320px → на десктопе ровно 3 в ряд (1200/3≈373),
     на ширине 5 карточек получаем сетку 3+2 без одинокой карточки */
  flex: 1 1 320px;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 22px 20px;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.prd-object:hover {
  border-color: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.prd-object__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 14px;
}
.prd-object h3 {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin: 0 0 8px; line-height: 1.35;
}
.prd-object p {
  font-size: 14px; line-height: 1.6;
  color: var(--text-2); margin: 0;
}

/* ── ГОРИЗОНТАЛЬНАЯ СХЕМА ЭТАПОВ ────────────────────────── */
.prd-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 24px 0 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
}
.prd-flow__step {
  position: relative;
  padding: 22px 18px;
  background: var(--surface);
  border-right: 1px solid var(--border);
}
.prd-flow__step:last-child { border-right: none; }
.prd-flow__step::after {
  content: "→";
  position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%);
  background: var(--surface);
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 700;
  z-index: 2;
}
.prd-flow__step:last-child::after { content: none; }
.prd-flow__num {
  font-family: "Roboto Mono", monospace;
  font-size: 11px; font-weight: 700;
  color: var(--accent); letter-spacing: .05em;
  margin-bottom: 6px;
}
.prd-flow__title {
  font-size: 14px; font-weight: 700;
  color: var(--text); line-height: 1.3;
}

.prd-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-bottom: 14px;
}
.prd-stage h3 {
  font-size: 16px; font-weight: 700;
  color: var(--text); margin: 0 0 8px;
  display: flex; align-items: baseline; gap: 10px;
}
.prd-stage h3::before {
  content: counter(stage, decimal-leading-zero);
  counter-increment: stage;
  font-family: "Roboto Mono", monospace;
  font-size: 12px; font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 8px; border-radius: 6px;
}
.prd-stages { counter-reset: stage; margin-top: 24px; }
.prd-stage p { font-size: 14px; line-height: 1.65; color: var(--text-2); margin: 0; }

/* ── 2-COL: ТЕКСТ + СХЕМА (раннее обнаружение, методы) ─── */
.prd-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.prd-twocol__aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
}
.prd-twocol__aside--dark {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border-color: rgba(255,255,255,.08);
}

/* RADAR SVG */
.prd-radar svg { width: 100%; height: auto; display: block; }

/* Боковая картинка в 2-колоночных секциях */
.prd-side-img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* Float-обтекание: текст идёт слева, после конца картинки — на полную ширину */
.prd-float-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.prd-float-wrap::after {
  content: "";
  display: block;
  clear: both;
}
.prd-float-img {
  float: right;
  width: 44%;
  max-width: 460px;
  margin: 6px 0 18px 32px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
@media (max-width: 720px) {
  .prd-float-img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
  }
}

/* Полноширинная картинка в потоке секции */
.prd-inline-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin: 28px 0 8px;
}

/* ── СПИСОК МЕТОДОВ (правая колонка) ─────────────────────── */
.prd-methods-list { list-style: none; margin: 0; padding: 0; }
.prd-methods-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.prd-methods-list li:last-child { border-bottom: none; }
.prd-methods-list__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.prd-methods-list__text strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.prd-methods-list__text { font-size: 13px; line-height: 1.55; color: var(--text-2); }

/* ── ВЕРТИКАЛЬНАЯ СХЕМА ВНЕДРЕНИЯ ───────────────────────── */
.prd-impl { counter-reset: impl; margin-top: 24px; position: relative; }
.prd-impl::before {
  content: ""; position: absolute;
  left: 18px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 2px;
}
.prd-impl__step {
  position: relative;
  padding: 10px 0 24px 56px;
  counter-increment: impl;
}
.prd-impl__step::before {
  content: counter(impl);
  position: absolute; left: 0; top: 6px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-family: "Roboto Mono", monospace;
  font-size: 14px; font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--surface);
}
.prd-impl__step h3 {
  font-size: 16px; font-weight: 700;
  color: var(--text); margin: 0 0 6px;
}
.prd-impl__step p { font-size: 14px; line-height: 1.65; color: var(--text-2); margin: 0; }

/* ── ПРОМЕЖУТОЧНАЯ ФОРМА ─────────────────────────────────── */
.prd-cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-d) 100%);
  color: #fff;
  padding: 36px 0;
  text-align: center;
}
.prd-cta-band__inner {
  max-width: 720px; margin: 0 auto; padding: 0 24px;
}
.prd-cta-band p {
  font-size: 17px; line-height: 1.55; margin: 0 0 20px;
  color: rgba(255,255,255,.95);
}
.prd-cta-band .btn-primary {
  display: inline-flex; width: auto;
  padding: 15px 36px;
  background: #fff; color: var(--accent) !important;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.prd-cta-band .btn-primary:hover { background: #f8faff; color: var(--accent-d) !important; box-shadow: 0 8px 24px rgba(0,0,0,.28); transform: translateY(-2px); }

/* ── КАРТОЧКИ ФАКТОРОВ СТОИМОСТИ ─────────────────────────── */
.prd-cost-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}
.prd-cost {
  flex: 1 1 320px;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.prd-cost:hover { border-color: var(--accent-2); box-shadow: var(--shadow-sm); }
.prd-cost__icon {
  width: 40px; height: 40px;
  background: var(--accent-light); color: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.prd-cost h3 {
  font-size: 15px; font-weight: 700;
  color: var(--text); margin: 0 0 8px;
}
.prd-cost p { font-size: 14px; line-height: 1.6; color: var(--text-2); margin: 0; }
.prd-cost-note {
  margin-top: 22px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: var(--r-lg);
  padding: 16px 20px;
  font-size: 15px; font-weight: 600; color: #92400e;
}

/* ── ПРЕИМУЩЕСТВА ────────────────────────────────────────── */
.prd-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}
.prd-benefit {
  flex: 1 1 320px;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
}
.prd-benefit h3 {
  font-size: 15px; font-weight: 700;
  color: var(--text); margin: 0 0 8px;
  display: flex; align-items: center; gap: 10px;
}
.prd-benefit h3::before {
  content: "✓"; flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  font-size: 13px; font-weight: 700;
}
.prd-benefit p { font-size: 14px; line-height: 1.6; color: var(--text-2); margin: 0; }

/* ── FAQ (аккордеон) ─────────────────────────────────────── */
.prd-faq { margin-top: 24px; }
.prd-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 10px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.prd-faq details[open] { border-color: var(--accent-2); box-shadow: var(--shadow-sm); }
.prd-faq summary {
  list-style: none;
  padding: 18px 24px;
  font-size: 15px; font-weight: 600; color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.prd-faq summary::-webkit-details-marker { display: none; }
.prd-faq summary::after {
  content: ""; flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--accent-light); color: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234f46e5' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  transition: transform var(--t-base);
}
.prd-faq details[open] summary::after { transform: rotate(180deg); }
.prd-faq .faq-body { padding: 0 24px 18px; }
.prd-faq .faq-body p { font-size: 14px; line-height: 1.7; color: var(--text-2); margin: 0; }

/* ── ФИНАЛЬНЫЙ CTA ──────────────────────────────────────── */
.prd-final {
  background: linear-gradient(135deg, #0b1124 0%, #1a1f4a 100%);
  color: #fff; padding: 64px 0;
}
.prd-final__inner {
  max-width: 880px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.prd-final h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700; color: #fff;
  margin: 0 0 14px; letter-spacing: -.02em;
}
.prd-final__lead { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.82); margin: 0 0 20px; }
.prd-final ul { list-style: none; margin: 0 0 24px; padding: 0; }
.prd-final ul li {
  position: relative; padding: 6px 0 6px 24px;
  font-size: 14px; color: rgba(255,255,255,.85);
}
.prd-final ul li::before {
  content: "→"; position: absolute; left: 0; top: 6px;
  color: var(--accent-2); font-weight: 700;
}

/* ── POPUP ──────────────────────────────────────────────── */
.prd-popup {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(8,12,26,.7); backdrop-filter: blur(6px);
}
.prd-popup.open { display: flex; animation: fadeIn .2s ease; }
.prd-popup__box {
  max-width: 460px; width: calc(100% - 32px);
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: scaleIn .25s cubic-bezier(.4,0,.2,1);
}
.prd-popup__icon {
  width: 60px; height: 60px; margin: 0 auto 18px;
  background: var(--accent-light); color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.prd-popup__title { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.prd-popup__text  { font-size: 14px; line-height: 1.6; color: var(--text-2); margin: 0 0 24px; }
.prd-popup__btn {
  display: inline-block; padding: 11px 30px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(79,70,229,.3);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-base);
}
.prd-popup__btn:hover { background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,.4); }

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ── FOOTER (как на странице аудита) ────────────────────── */
footer.foot {
  background: #080c1a;
  border-top: none;
  padding: 64px 24px 48px;
  color: #94a3b8;
  font-size: 14px;
}
.foot-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.foot-col { flex: 1 1 180px; }
.foot-col h4 {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: #e2e8f0;
  font-weight: 700; margin: 0 0 14px;
}
.foot-col p { margin: 0 0 8px; color: #64748b; font-size: 14px; line-height: 1.7; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col ul li { margin-bottom: 10px; padding: 0; }
.foot-col ul a { color: #64748b; transition: color var(--t-fast); text-decoration: none; }
.foot-col ul a:hover { color: #e2e8f0; text-decoration: none; }
.foot-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px;
  font-size: 13px; color: #475569;
}
.foot-bottom a { color: #475569; transition: color var(--t-fast); }
.foot-bottom a:hover { color: #e2e8f0; }

/* ── BACK TO TOP ─────────────────────────────────────────── */
#back-to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  box-shadow: var(--shadow-lg);
  transition: opacity var(--t-base), transform var(--t-base), background var(--t-fast);
  z-index: 90;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--accent-d); transform: translateY(-2px); }

/* ── REVEAL ANIMATION ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── TOOLTIPS (data-tooltip) ─────────────────────────────── */
[data-tooltip] {
  position: relative; cursor: help;
  border-bottom: 1px dashed currentColor;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  max-width: 300px; width: max-content;
  padding: 10px 14px;
  background: #0f172a; color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 10px;
  font-size: 13px; font-weight: 400; line-height: 1.55;
  white-space: normal; text-align: left;
  opacity: 0; pointer-events: none;
  transition: opacity .15s, transform .15s;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
[data-tooltip]:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
/* На тёмном фоне (hero) — белый dashed */
.prd-hero [data-tooltip] { color: rgba(255,255,255,.95); border-bottom-color: rgba(255,255,255,.45); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .prd-hero { padding: 8px 0 48px; }
  .prd-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .prd-flow { grid-template-columns: repeat(2, 1fr); }
  .prd-flow__step { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .prd-flow__step:nth-child(2n) { border-right: none; }
  .prd-flow__step:nth-last-child(-n+2) { border-bottom: none; }
  .prd-flow__step::after { content: none; }
  .prd-twocol { grid-template-columns: 1fr; gap: 28px; }
  .prd-final__inner { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { gap: 28px; }
}
@media (max-width: 720px) {
  nav.menu { display: none; }
  .burger { display: flex; }
  .prd-section { padding: 48px 0; }
  .prd-flow { grid-template-columns: 1fr; }
  .prd-flow__step { border-right: none; border-bottom: 1px solid var(--border); }
  .prd-flow__step:last-child { border-bottom: none; }
  .prd-includes { padding: 22px 20px; }
}

/* ── REF-INLINE (кружок «i») и тултип — как в article.css ── */
.ref-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  margin: 0 2px;
  vertical-align: middle;
  background: rgba(79,70,229,.10);
  border: 1px solid rgba(79,70,229,.30);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent, #4f46e5);
  font-style: normal;
  line-height: 1;
  cursor: help;
  transition: background .15s, border-color .15s;
}
.ref-inline:hover {
  background: rgba(79,70,229,.18);
  border-color: rgba(79,70,229,.5);
}
.prd-hero .ref-inline {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.30);
  color: #c7d2fe;
}
.prd-hero .ref-inline:hover {
  background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.ref-tooltip {
  position: fixed; z-index: 9999;
  max-width: 280px;
  background: #0f172a; border: 1px solid #334155;
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px; font-family: Inter, system-ui, sans-serif;
  color: #e2e8f0; line-height: 1.55; white-space: normal;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  pointer-events: none;
  opacity: 0; transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}
.ref-tooltip.visible { opacity: 1; transform: translateY(0); }

/* ── FLOAT-АНИМАЦИЯ в разделе «Что обеспечивает система защиты» — увеличена ── */
.prd-float-anim {
  float: right;
  width: 62%;
  max-width: 520px;
  margin: 0 0 20px 32px;
  border-radius: var(--r-xl, 16px);
  overflow: hidden;
  background: linear-gradient(135deg, #0b1124 0%, #11183a 60%, #1a1f4a 100%);
  padding: 16px;
  box-shadow: var(--shadow-md, 0 4px 24px rgba(15,23,42,.18));
}
@media (max-width: 720px) {
  .prd-float-anim {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px;
  }
}
.prd-float-anim figcaption {
  color: rgba(226,232,240,.82);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 10px;
}
.prd-float-anim figcaption b { color: #fff; }

/* ══════════════════════════════════════════════════════════
   Доп. блоки для страницы «Защита ЦОД от БПЛА»
   (новые классы — не пересекаются с другими страницами услуг)
   ══════════════════════════════════════════════════════════ */

/* Hero: карточка-CTA вместо формы + доп. параграф под лидом */
.prd-hero__grid > .prd-hero__lead  { grid-column: 1; }
.prd-hero__grid > .prd-hero__aside { grid-column: 2; grid-row: 1 / 3; }
.prd-hero__grid > .prd-hero__more  { grid-column: 1; }
@media (max-width: 960px) {
  .prd-hero__grid > .prd-hero__lead,
  .prd-hero__grid > .prd-hero__aside,
  .prd-hero__grid > .prd-hero__more { grid-column: 1; grid-row: auto; }
}

.prd-cta-card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--r-xl);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-lg);
}
.prd-cta-card__eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-2); font-size: 13px; font-weight: 600;
  margin-bottom: 14px;
}
.prd-cta-card__eyebrow svg { width: 22px; height: 22px; color: var(--accent); }
.prd-cta-card h2, .prd-cta-card__title { font-size: 21px; margin: 0 0 8px; color: var(--text); }
.prd-cta-card p { color: var(--text-2); font-size: 15px; margin: 0 0 16px; }
.prd-cta-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.prd-cta-card li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text-2); margin-bottom: 8px; }
.prd-cta-card li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 10px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.prd-cta-card .btn-primary { display: flex; justify-content: center; align-items: center; gap: 8px; }
.prd-cta-card__note { font-size: 12px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.btn-ext { display: inline-flex; align-items: center; gap: 8px; }

/* Таймлайн инцидентов */
.prd-timeline { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.prd-timeline li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.prd-timeline time { display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.prd-timeline p { margin: 0; font-size: 15px; color: var(--text-2); }
.prd-timeline__note { background: var(--accent-light); border-radius: var(--r-md); padding: 16px 20px; font-weight: 600; color: var(--text); }

/* Статистика инцидентов (бары — ширина задаётся инлайн, т.к. это данные) */
.prd-incidents { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px 26px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.prd-incidents h3 { font-size: 17px; margin: 0 0 6px; color: var(--text); }
.prd-incidents > p { color: var(--text-2); font-size: 15px; }
.prd-incidents__grid { display: grid; gap: 0; overflow-x: auto; }
.prd-incidents__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); align-items: center; min-width: 560px; }
.prd-incidents__row--head { border-top: 0; font-size: 12px; color: var(--muted); font-weight: 600; padding-top: 0; }
.prd-incidents__row [role=rowheader] { font-weight: 700; font-size: 14px; color: var(--text); }
.prd-incidents__row [role=cell] { display: flex; flex-direction: column; gap: 6px; }
.prd-incidents__row [role=cell] b { font-size: 18px; font-weight: 800; color: var(--text); }
.prd-incidents__row [role=cell] i { display: block; height: 6px; border-radius: 3px; background: var(--accent-2); min-width: 4px; }
.prd-incidents__src { font-size: 12px !important; color: var(--muted) !important; margin: 12px 0 0; }

/* Статистика комплектации (интеграции) и дальности сенсоров */
.prd-integrations { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.prd-integrations div { padding: 18px 20px; border-right: 1px solid var(--border); }
.prd-integrations div:last-child { border-right: 0; }
.prd-integrations b { display: block; font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.prd-integrations span { font-size: 13px; color: var(--text-2); }

.prd-ranges { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 22px 26px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.prd-ranges h3 { font-size: 16px; margin: 0 0 10px; color: var(--text); }
.prd-ranges table { border-collapse: collapse; width: 100%; max-width: 420px; margin-bottom: 12px; }
.prd-ranges th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 0; border-bottom: 1px solid var(--border); }
.prd-ranges td { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.prd-ranges td:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.prd-ranges p { font-size: 13px; color: var(--muted); margin: 0; }

/* Сравнительные характеристики оборудования (hw-*) */
.hw-spec-wrap { overflow-x: auto; margin: 6px 0 10px; }
.hw-spec { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 13px; }
.hw-spec th { text-align: left; background: var(--accent-light); color: var(--accent); padding: 10px 12px; font-weight: 700; }
.hw-spec td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
.hw-spec td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }
.hw-spec__note { font-size: 12px; color: var(--muted); }
.hw-title { display: flex; align-items: center; gap: 12px; }
.hw-ic { width: 26px; height: 26px; color: var(--accent); display: flex; align-items: center; justify-content: center; }
.hw-ic svg { width: 20px; height: 20px; }
.hw-feats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.hw-feats li { position: relative; padding-left: 22px; font-size: 13px; color: var(--accent-d); font-weight: 500; }
.hw-feats li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ЭМС — тёмный акцентный блок */
.prd-emc { background: #11183a; color: #fff; border-radius: var(--r-xl); padding: 40px 44px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.prd-emc h2 { color: #fff; }
.prd-emc p { color: rgba(255,255,255,.85); }
.prd-emc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.prd-emc li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); padding: 16px 18px; font-size: 14px; color: #e2e8f0; }
.prd-emc li strong { display: block; color: #fff; margin-bottom: 4px; }
.prd-emc .ref-inline { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #c7d2fe; }

/* Доп. утилиты для секций «Автостанция» и «Внедрение» (pi-*) */
.pi-aside-plain { padding: 12px; }
.pi-img-full { width: 100%; border-radius: var(--r-md); }
.pi-h3-sub { margin-top: 24px; }
.pi-h3-impl { margin: 28px 0 20px; font-size: 18px; }
.pi-arrow-list { list-style: none; margin: 0 0 16px; padding: 0; }
.pi-arrow-item { color: var(--text-2); margin-bottom: 8px; padding-left: 24px; position: relative; }
.pi-arrow-mark { position: absolute; left: 0; color: var(--accent); }

/* Преимущества: главные карточки + схема рядом, затем вторичные */
.prd-objects--main { flex: 1 1 380px; }
.prd-objects--main .prd-object { flex: 1 1 100%; }
.prd-objects--secondary { width: 100%; margin-top: 18px; }

@media (max-width: 960px) {
  .prd-timeline, .hw-feats { grid-template-columns: 1fr; }
  .prd-emc { grid-template-columns: 1fr; padding: 28px 22px; }
  .prd-integrations { grid-template-columns: repeat(3, 1fr); }
  .prd-integrations div:nth-child(3) { border-right: 0; }
  .prd-integrations div { border-bottom: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .prd-integrations { grid-template-columns: 1fr 1fr; }
  .prd-integrations div { border-right: 0; }
  .prd-integrations div:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* Пульсация маркера БПЛА и расходящееся кольцо обнаружения на SVG-схемах */
@keyframes svgPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(1.8); }
}
.svg-pulse-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: svgPulseDot 1.6s ease-in-out infinite;
}
@keyframes svgPingRing {
  0% { r: 36px; opacity: .8; }
  100% { r: 130px; opacity: 0; }
}
.svg-ping-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: svgPingRing 2.4s cubic-bezier(.3,0,.5,1) infinite;
}
@keyframes svgScanDash {
  to { stroke-dashoffset: -16; }
}
.svg-scan-rect {
  animation: svgScanDash 1.8s linear infinite;
}
@keyframes svgRadarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.svg-radar-sweep {
  transform-box: view-box;
  transform-origin: 180px 120px;
  animation: svgRadarSweep 4s linear infinite;
}
/* Полёт отметки БПЛА по траектории над схемой (радар её ищет и сопровождает) */
@keyframes svgDroneMove1 {
  0%   { transform: translate(0px, 0px); }
  25%  { transform: translate(-70px, -10px); }
  50%  { transform: translate(-140px, 6px); }
  75%  { transform: translate(-70px, 16px); }
  100% { transform: translate(0px, 0px); }
}
.svg-drone-move-1 { animation: svgDroneMove1 9s ease-in-out infinite; }

@keyframes svgDroneMove2 {
  0%   { transform: translate(0px, 0px); }
  30%  { transform: translate(-95px, 35px); }
  60%  { transform: translate(-35px, -45px); }
  100% { transform: translate(0px, 0px); }
}
.svg-drone-move-2 { animation: svgDroneMove2 10s ease-in-out infinite; }

@keyframes svgDroneMove3 {
  0%   { transform: translate(0px, 0px); }
  33%  { transform: translate(-80px, -18px); }
  66%  { transform: translate(-40px, 28px); }
  100% { transform: translate(0px, 0px); }
}
.svg-drone-move-3 { animation: svgDroneMove3 8.5s ease-in-out infinite; }

@keyframes svgDroneMove4 {
  0%   { transform: translate(0px, 0px); }
  25%  { transform: translate(-180px, -25px); }
  50%  { transform: translate(-260px, -30px); }
  75%  { transform: translate(-90px, -20px); }
  100% { transform: translate(0px, 0px); }
}
.svg-drone-move-4 { animation: svgDroneMove4 9.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .svg-pulse-dot, .svg-ping-ring, .svg-scan-rect, .svg-radar-sweep,
  .svg-drone-move-1, .svg-drone-move-2, .svg-drone-move-3, .svg-drone-move-4 { animation: none; }
}
