/* Заголовки страницы услуги: цвет задаётся точечно классом .accent */
.b2b-h2--plain span { display: inline; }

/* ==========================================================================
   Облачное видеонаблюдение — уникальные блоки страницы
   Общая тёмная база и типографика — в css/b2b.css
   ========================================================================== */

/* --- Смотрите видео в любое время ------------------------------------- */
.cctv-video { position: relative; background: #1A1C21; margin-top: var(--sec-gap); padding-block: var(--sec-gap); overflow: hidden; }
.cctv-video__dots {
  position: absolute; top: 0; right: 0; width: 40%; height: 100%;
  background-image: radial-gradient(var(--brand) 32%, transparent 33%);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 45%, #000 0, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 85% 45%, #000 0, transparent 72%);
  opacity: .9; pointer-events: none;
}
.cctv-video .container { position: relative; z-index: 1; }
.cctv-video__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.cctv-video__item { display: flex; flex-direction: column; gap: 30px; }
.cctv-video__media {
  position: relative; flex: none; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 520 / 295; background: #2A2E36;
}
.cctv-video__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cctv-video__play {
  position: absolute; inset: 0; margin: auto; width: 110px; height: 110px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(28, 30, 36, .55); border: 1.5px solid rgba(255, 255, 255, .75);
  backdrop-filter: blur(3px); color: #fff;
  border: 0; cursor: pointer; transition: background-color .2s, transform .2s;
}
.cctv-video__play:hover { background: var(--brand); border-color: var(--brand); transform: scale(1.06); }
.cctv-video__play svg { width: 42px; height: 42px; margin-left: 6px; }
.cctv-video__cap { font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: var(--w-medium); color: #fff; }

/* --- Управление через приложение --------------------------------------- */
.cctv-app { position: relative; background: var(--b2b-bg); padding-block: 120px; overflow: hidden; }
/* Спираль точек из макета (SVG, 440×1294 при 1920), прижата к правому верхнему углу секции */
.cctv-app__dots { position: absolute; top: 0; right: 0; width: 440px; height: auto; display: block; pointer-events: none; }
.cctv-app > .container { position: relative; z-index: 1; }
.cctv-app .container { position: relative; z-index: 1; }
/* Бейджи магазинов в макете — без подложки: иконка + белый текст, высота 52 */
.cctv-app__badges { display: flex; gap: 30px; margin-top: 43px; }
.cctv-app__badge {
  display: flex; align-items: center; gap: 12px; min-height: 52px; color: #fff; line-height: 1.1;
}
.cctv-app__badge:hover { color: var(--brand); }
.cctv-app__badge svg { width: 36px; height: 36px; flex: none; }
.cctv-app__badge span { display: block; font-size: 11px; letter-spacing: .02em; color: rgba(255,255,255,.72); }
.cctv-app__badge strong { display: block; margin-top: 1px; font-size: 22px; line-height: 1.1; font-weight: var(--w-medium); color: currentColor; }
/* Макет: карточки 160–950, телефон 1186–1541 (359×742), низ телефона = низ карточек */
.cctv-app__body { display: grid; grid-template-columns: minmax(0, 790px) 359px; column-gap: 236px; align-items: end; justify-content: start; margin-top: 80px; }
.cctv-app__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cctv-app__card {
  position: relative; padding: 40px; border-radius: var(--r-card); background: var(--b2b-surface);
  display: flex; flex-direction: column; gap: 15px; min-height: 360px;
}
/* Акцентная карточка — оранжевая градиентная обводка 1px без заливки */
.cctv-app__card--accent { background: transparent; }
.cctv-app__card--accent::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--b2b-orange-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.cctv-app__card .ico { width: 50px; height: 50px; color: var(--brand); }
.cctv-app__card h3 { font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: var(--w-medium); color: #fff; margin-top: auto; }
.cctv-app__card p { font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }
.cctv-app__phone { justify-self: start; width: 359px; }
/* Вырез телефона из рендера с непрозрачными углами — срезаем их по форме корпуса */
.cctv-app__phone img { width: 100%; height: auto; display: block; clip-path: inset(0.4% 1.1% 0.4% 0.9% round 16% / 7.8%); }

/* --- Почему облачное лучше --------------------------------------------- */
/* Макет: секция 3119–4074 (955), заголовок 3 строки 64/70, подзаголовки колонок 18/28, ряды 517×92 с шагом 116 */
.cctv-why { position: relative; background: var(--b2b-bg); padding-block: 120px 10px; overflow: hidden; }
.cctv-why__inner { position: relative; }
.cctv-why .b2b-h2 { max-width: 900px; }
/* Облако с камерами — прозрачный вырез из Figma, 927×811 при 1920, уходит за правый край на 181px */
.cctv-why__art { position: absolute; top: 56px; right: -181px; width: 927px; pointer-events: none; z-index: 0; }
.cctv-why__art img { width: 100%; height: auto; display: block; }
.cctv-why__cols { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 60px; max-width: 1060px; }
.cctv-why__head { font-size: var(--t-h3); line-height: var(--lh-h3); font-weight: var(--w-medium); color: #fff; margin-bottom: 40px; }
.cctv-why__head--good { color: var(--brand); }
.cctv-why__head--good span { color: #fff; }
.cctv-why__list { display: flex; flex-direction: column; gap: 20px; }
/* Строка сравнения 520×96: отступ 20/30, скругление 20, значок 24, текст 20 */
.cctv-why__row {
  position: relative; display: flex; gap: 20px; align-items: center; min-height: 96px; padding: 20px 30px;
  border-radius: var(--r-md); background: var(--b2b-surface); border: 1px solid rgba(255, 255, 255, .2);
  font-size: var(--t-lg); line-height: 1.4; color: #fff;
}
.cctv-why__row--good { border-color: transparent; }
.cctv-why__row--good::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--b2b-orange-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.cctv-why__mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.cctv-why__mark--bad { background: #fff; color: #2C3038; }
.cctv-why__mark--good { background: var(--brand); color: #fff; }
.cctv-why__mark svg { width: 12px; height: 12px; }

/* --- Стоимость услуг ---------------------------------------------------- */
.cctv-price { background: var(--b2b-bg); padding-block: var(--sec-gap); }
.cctv-price__tabs { display: inline-flex; gap: 10px; margin-top: 40px; }
/* Чип-переключатель над светлыми карточками: высота 55, 15/25, текст 18; активный — оранжевый Semibold */
.cctv-price__tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 55px; padding: 15px 25px; border: 0; cursor: pointer;
  border-radius: var(--r-pill); background: #CBD3E3; color: #2C3038;
  font: inherit; font-size: var(--t-md); line-height: 1.4; transition: background-color .2s, color .2s;
}
.cctv-price__tab.is-active { font-weight: var(--w-semibold); }
.cctv-price__tab .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 10px; }
.cctv-price__tab.is-active { background: var(--brand); color: #fff; }
.cctv-price__tab.is-active .dot { background: #fff; color: var(--brand); }
.cctv-price__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.cctv-plan {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-card); background: #fff; color: #2C3038; padding: 40px; gap: 30px;
}
.cctv-price__note { margin: 30px 0 0; font-size: var(--t-base); line-height: 1.4; color: var(--b2b-text-3); }
.cctv-plan::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 260px; height: 220px;
  background-image: radial-gradient(var(--brand) 30%, transparent 31%); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle at 78% 22%, #000 0, transparent 68%);
  mask-image: radial-gradient(circle at 78% 22%, #000 0, transparent 68%);
  opacity: .55; pointer-events: none;
}
.cctv-plan > * { position: relative; }
.cctv-plan__name { font-size: var(--t-h3); line-height: var(--lh-h3); font-weight: var(--w-medium); }
.cctv-plan__name span { color: var(--brand); }
/* Вложенная панель #F0F5F9: скругление 30, отступ 30; подпись 16, значение 20 Semibold */
.cctv-plan__list {
  margin: 0; padding: 30px; border-radius: 30px; background: #F0F5F9;
  display: flex; flex-direction: column; gap: 10px;
}
.cctv-plan__row { display: flex; align-items: center; gap: 8px; font-size: var(--t-base); line-height: var(--lh-base); }
.cctv-plan__row dt { color: #2C3038; white-space: nowrap; }
.cctv-plan__row .lead { flex: 1; }
.cctv-plan__row dd { margin: 0; font-size: var(--t-lg); line-height: 1.4; font-weight: var(--w-semibold); white-space: nowrap; }
.cctv-plan__row .ok { color: var(--brand); font-size: 18px; line-height: 22px; font-weight: var(--w-regular); }
.cctv-plan__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 0; }
.cctv-plan__price { display: flex; align-items: center; gap: 10px; }
.cctv-plan__sum { font-size: var(--t-h3); line-height: var(--lh-h3); font-weight: var(--w-regular); }
.cctv-plan__per { font-size: var(--t-md); line-height: 1.4; color: #2C3038; }

/* --- Нужна помощь ------------------------------------------------------- */
.cctv-help {
  position: relative; overflow: hidden;
  background: #191B22 url("../assets/img/pattern-girih.svg") 0 0 / 408px 408px repeat;
}
/* Геометрия по макету 1920: секция 830px, контент от x=970, девушка + спираль — одна
   прозрачная композиция (исходники Figma), прижата к левому нижнему углу секции. */
.cctv-help__inner { position: relative; display: grid; grid-template-columns: 810px minmax(0, 1fr); gap: 0; align-items: center; min-height: 830px; }
.cctv-help__art { position: absolute; left: 0; bottom: 0; top: 0; width: 850px; pointer-events: none; }
/* Размер задаётся шириной, высота — по пропорциям: иначе картинка сплющивается, когда секция выше макетной */
.cctv-help__art img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; max-width: none; display: block; }
/* сотрудница — прозрачный вырез, точки — отдельным SVG позади неё */
.cctv-help__art .cctv-help__dots { left: -70px; top: -40px; bottom: auto; width: 600px; }
.cctv-help__art .cctv-help__girl { left: auto; right: 70px; width: auto; height: 94%; }
.cctv-help__body { position: relative; z-index: 1; grid-column: 2; padding-block: 120px; max-width: 530px; }
.cctv-help__text { margin-top: 30px; max-width: 480px; font-size: var(--t-lg); line-height: 1.4; color: var(--b2b-text-2); }
.cctv-form { margin-top: 60px; }
.cctv-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cctv-form__field {
  position: relative; display: flex; align-items: center; min-height: 55px; background: #fff; border-radius: var(--r-btn); padding: 15px 15px 15px 25px;
}
.cctv-form__field input {
  flex: 0 1 auto; min-width: 0; width: auto; field-sizing: content;
  border: 0; outline: 0; background: transparent; font: inherit;
  font-size: var(--t-md); line-height: 25px; color: #2C3038;
}
.cctv-form__field input::placeholder { color: rgba(44, 48, 56, .7); }
/* Звёздочка идёт сразу за плейсхолдером («Имя *»), исчезает при вводе */
.cctv-form__field .req { margin-left: 3px; color: var(--brand); font-size: var(--t-sm); line-height: 1; }
.cctv-form__field input:not(:placeholder-shown) + .req { display: none; }
.cctv-form__field input:focus { flex: 1 1 auto; }
.cctv-form__agree {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 30px;
  font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--b2b-text-2);
}
.cctv-form__agree input { accent-color: var(--brand); margin-top: 1px; }
.cctv-form__agree a { color: var(--b2b-text-2); text-decoration: underline; text-underline-offset: 2px; }
.cctv-form .btn { margin-top: 30px; }

/* --- Видеокамеры -------------------------------------------------------- */
.cctv-cams { background: var(--b2b-bg); padding-block: var(--sec-gap) 0; }
.cctv-cams__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1060px; gap: 20px; margin-top: 40px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.cctv-cams__track::-webkit-scrollbar { display: none; }
/* Макет: карточка 1060×618, камера 415×265 в точке (595,170), спираль точек 400×618 в правом верхнем углу */
.cctv-cam {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 20px; min-height: 618px;
  padding: 50px; border-radius: var(--r-card); background: var(--b2b-surface); scroll-snap-align: start; overflow: hidden;
}
.cctv-cam__tag {
  display: inline-block; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--brand);
  color: var(--brand); font-size: var(--t-sm); font-weight: var(--w-semibold); line-height: 1;
}
.cctv-cam__text { margin-top: 20px; font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: var(--w-medium); color: #fff; max-width: 460px; }
.cctv-cam__specs { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.cctv-cam__spec { display: flex; align-items: baseline; gap: 8px; font-size: var(--t-base); line-height: var(--lh-base); color: var(--b2b-text-2); }
.cctv-cam__spec .lead { flex: 1; border-bottom: 1px dotted #4A5060; transform: translateY(-3px); }
.cctv-cam__spec b { color: #fff; font-weight: var(--w-medium); white-space: nowrap; }
.cctv-cam__price {
  margin-top: 26px; padding: 16px 22px; border-radius: var(--r-md); background: var(--b2b-surface);
  display: flex; align-items: baseline; gap: 8px; max-width: 330px;
}
.cctv-cam__sum { font-size: var(--t-h4); line-height: var(--lh-h4); color: #fff; }
.cctv-cam__cur { font-size: var(--t-md); color: var(--b2b-text-2); }
.cctv-cam__actions { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.cctv-cam__more { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-size: var(--t-md); }
.cctv-cam__art { position: absolute; inset: 0; pointer-events: none; }
.cctv-cam__art img { position: absolute; display: block; }
.cctv-cam__dots { right: 0; top: 0; width: 400px; height: auto; max-width: none; }
.cctv-cam__img { left: 595px; top: 170px; width: 415px; height: auto; }
.cctv-cams__head-actions { display: flex; align-items: center; gap: 20px; }
.cctv-cams__all { display: inline-flex; align-items: center; gap: 10px; }
.cctv-cams__all svg { width: 16px; height: 16px; }

/* ==========================================================================
   Отраслевые страницы видеонаблюдения и общие блоки.
   Структура: герой-карточка со сценой, проблемы 2×2, схема зон, функции
   с макетами экранов приложения, варианты подключения, шаги, цифры, приложение.
   Вся графика нарисована кодом (SVG и CSS) в цветах дизайн-системы Sarkor.
   ========================================================================== */
.seg-sec { padding-block: var(--sec-gap) 0; }
.seg-sec--tint { margin-top: var(--sec-gap); padding-block: var(--sec-gap); background: #1A1C21; }
.seg-sec--panel { margin-top: var(--sec-gap); padding-block: var(--sec-gap); background: #1A1C21; }
.seg-end { height: var(--sec-gap); }
.cctv-price + .seg-sec { padding-top: 0; }
.seg-sec + .cctv-help { margin-top: var(--sec-gap); }
.seg .cctv-price { padding-bottom: 0; }
.seg .cctv-help { margin-top: var(--sec-gap); }

.seg-h2 { max-width: 960px; font-size: var(--t-h2); line-height: var(--lh-h2); font-weight: var(--w-medium); letter-spacing: var(--font-tracking-head); }
.seg-h2--center, .seg-lead--center { margin-inline: auto; text-align: center; }
.seg-lead { margin-top: 20px; max-width: 785px; font-size: var(--t-lg); line-height: 1.4; color: var(--b2b-text-2); }
.seg-eyebrow {
  width: fit-content; margin-bottom: 25px; padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(239, 127, 26, .14); color: #FFCF8D; font-size: var(--t-base); line-height: var(--lh-base);
}
.seg-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.seg-tag { padding: 10px 20px; border-radius: var(--r-pill); border: 1px solid var(--b2b-stroke); font-size: var(--t-base); line-height: var(--lh-base); color: var(--b2b-text-2); }

/* ── герой: карточка, текст слева, сцена с экраном приложения справа ── */
.seg-hero { padding-top: 48px; }
.seg-hero__card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: stretch;
  padding: 60px; border-radius: var(--r-card); background: var(--b2b-surface);
}
.seg-hero__body { align-self: center; }
.seg-hero__title { font-size: clamp(30px, 3vw, 56px); line-height: 1.1; font-weight: var(--w-medium); letter-spacing: var(--font-tracking-head); overflow-wrap: anywhere; }
.seg-hero__title .accent { display: block; width: fit-content; }
.seg-hero__lead { margin: 30px 0; max-width: 620px; font-size: var(--t-lg); line-height: 1.4; color: var(--b2b-text-2); }
.seg-hero__scene {
  position: relative; min-height: 480px; border-radius: var(--r-card); overflow: hidden;
  background: linear-gradient(160deg, #2C323D 0%, #191C22 100%);
}
.seg-hero__dots { position: absolute; right: -60px; top: -80px; width: 520px; height: auto; max-width: none; opacity: .9; }
.seg-hero__scene .mk-cam--scene { position: absolute; left: 30px; top: 30px; right: 220px; bottom: 30px; height: auto; }
.mk-cam--scene .mk-cam__scene { height: 92%; }
.seg-hero__scene .mk-phone { position: absolute; right: 40px; bottom: -40px; }

/* герой с фотографией: фото на всю сцену, телефон с тем же кадром и плашка камеры */
.seg-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seg-hero__scene--photo .mk-phone--photo { position: absolute; right: 8%; top: 10%; bottom: 10%; width: auto; aspect-ratio: 9 / 19; padding: 0; overflow: hidden; background: #15181D; }
.mk-phone--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.mk-phone--photo .mk-phone__notch { z-index: 2; }
.mk-chip--live { left: 14px; top: 34px; padding-left: 22px; background: #E5484D; font-weight: var(--w-semibold); }
.mk-chip--live::before { content: ""; position: absolute; left: 9px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.seg-hero__float {
  position: absolute; right: 4%; bottom: 14%; z-index: 2; display: grid; gap: 4px; width: min(320px, 60%); padding: 18px 22px;
  border-radius: 18px; background: #fff; color: #2C3038; box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.seg-hero__float span { font-size: 13px; line-height: 18px; color: #5A606B; }
.seg-hero__float b { font-size: var(--t-lg); line-height: 1.3; font-weight: var(--w-semibold); }
.seg-hero__float i { font-style: normal; font-size: 13px; line-height: 18px; color: #E06E00; }

/* герой с обложкой: изображение — фон карточки (слева в нём оставлено место под текст) */
.seg-hero--photo .seg-hero__card { position: relative; display: flex; align-items: center; min-height: 500px; padding: 0; overflow: hidden; background: #191C22; }
.seg-hero__bg { position: absolute; inset: 0; }
.seg-hero__bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right center; display: block; }
.seg-hero--photo .seg-hero__card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(25, 28, 34, .82) 0%, rgba(25, 28, 34, .55) 38%, rgba(25, 28, 34, 0) 62%); }
.seg-hero--photo .seg-hero__body { position: relative; z-index: 1; width: min(46%, 720px); padding: 60px; }
.seg-hero--photo .seg-tag { background: rgba(25, 28, 34, .55); }
.b2b-hero__card picture { position: absolute; inset: 0; z-index: 0; }
.b2b-hero__card picture img { object-position: right center; }
/* плитки функций с фотографией: пропорции исходника 1600×850 */
.seg-fn .mk--photo { height: auto; aspect-ratio: 1600 / 850; }
/* готовая схема объекта (склад, стройка): показываем целиком, на телефоне — с прокруткой */
.seg-scheme--img .seg-scheme__scroll { border-radius: var(--r-card); overflow: hidden; }
.seg-scheme--img img { display: block; width: 100%; height: auto; }
.seg-scheme--img .seg-scheme__legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
/* комплекты для ПВЗ: вырезанные объекты на прозрачном фоне */
.seg-kits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 60px; }
.seg-kit { display: flex; flex-direction: column; gap: 15px; padding: 40px; border-radius: var(--r-card); background: var(--b2b-surface); }
.seg-kit__pic { height: 260px; margin-bottom: 10px; }
.seg-kit__pic img { width: 100%; height: 100%; object-fit: contain; }
.seg-kit h3 { font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: var(--w-medium); }
.seg-kit p { flex: 1; font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }
.seg-kit .btn { align-self: flex-start; }
@media (max-width: 1100px) {
  .seg-hero--photo .seg-hero__body { width: 62%; padding: 40px; }
  .seg-kits { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 30px; }
}
@media (max-width: 767px) {
  .seg-hero--photo .seg-hero__card { align-items: flex-start; min-height: 0; aspect-ratio: 710 / 1000; }
  .seg-hero__bg img { object-position: center bottom; }
  .seg-hero--photo .seg-hero__card::after { background: linear-gradient(180deg, rgba(25, 28, 34, .94) 0%, rgba(25, 28, 34, .86) 46%, rgba(25, 28, 34, 0) 74%); }
  .seg-hero--photo .seg-hero__body { width: 100%; padding: 24px 20px; }
  .seg-hero--photo .seg-tags { display: none; }
  .seg-scheme--img .seg-scheme__scroll { overflow-x: auto; border-radius: 20px; }
  .seg-scheme--img img { width: 760px; max-width: none; }
  .seg-kit { padding: 20px; border-radius: 20px; } .seg-kit__pic { height: 200px; }
  .seg-kit h3 { font-size: 17px; } .seg-kit p { font-size: var(--t-sm); }
}

/* ── макеты экранов приложения ── */
.mk {
  position: relative; display: grid; align-content: center; gap: 12px; height: 220px; padding: 20px;
  border-radius: var(--r-md); background: linear-gradient(160deg, #2C323D 0%, #1C1F26 100%); overflow: hidden;
}
/* кадр с камеры: условная перспектива помещения, без фотографии */
.mk-cam {
  position: relative; height: 100%; min-height: 96px; border-radius: 14px; overflow: hidden;
  background:
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .28) 58%),
    linear-gradient(160deg, #3A4250 0%, #23272F 100%);
  border: 1px solid rgba(255, 255, 255, .08);
}
.mk-cam__scene { position: absolute; left: 50%; top: 50%; z-index: 1; height: 118%; width: auto; max-width: none; transform: translate(-50%, -46%); }
.mk-cam__label { position: absolute; left: 12px; bottom: 10px; z-index: 2; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); font-size: 13px; line-height: 18px; font-weight: var(--w-semibold); color: #fff; }
.mk-chip {
  position: absolute; z-index: 2; padding: 3px 9px; border-radius: 20px; background: rgba(22, 24, 28, .72);
  font-size: 11px; line-height: 16px; color: #fff; white-space: nowrap;
}
.mk-chip--rec { left: 10px; top: 10px; padding-left: 20px; }
.mk-chip--rec::before { content: ""; position: absolute; left: 8px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; }
.mk-chip--time { right: 10px; top: 10px; }
.mk-chip--status { position: static; display: inline-block; background: var(--brand); font-weight: var(--w-semibold); }
.mk-cam--sm { min-height: 0; }
.mk-cam--sm .mk-chip--time { display: none; }
.mk-cam--sm .mk-cam__label { font-size: 11px; line-height: 14px; left: 8px; bottom: 6px; right: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-cam--sm .mk-chip--rec { font-size: 0; padding: 0; width: 13px; height: 13px; left: 7px; top: 7px; background: transparent; }
.mk-cam--sm .mk-chip--rec::before { left: 3px; top: 3px; }
.mk--grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; align-content: stretch; }
.mk--timeline { grid-template-rows: 1fr auto auto; align-content: stretch; }
.mk-bar { position: relative; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .1); }
.mk-bar i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--brand); opacity: .55; }
.mk-bar b { position: absolute; top: -5px; width: 4px; height: 20px; margin-left: -2px; border-radius: 2px; background: #fff; }
.mk-ticks { display: flex; justify-content: space-between; font-size: 11px; line-height: 14px; color: var(--b2b-text-3); }
.mk--cloud { grid-template-columns: auto 1fr; align-items: center; gap: 24px; padding-inline: 30px; }
.mk-ring {
  display: grid; place-items: center; align-content: center; width: 124px; height: 124px; border-radius: 50%;
  background: radial-gradient(closest-side, #23272F 78%, transparent 80%), conic-gradient(var(--brand) 0 100%);
}
.mk-ring b { font-size: 40px; line-height: 1; font-weight: var(--w-medium); color: #fff; }
.mk-ring span { font-size: 13px; line-height: 18px; color: var(--b2b-text-2); }
.mk-list { display: grid; gap: 8px; }
.mk-list span { padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 13px; line-height: 18px; color: var(--b2b-text-2); }
.mk-list .is-on { background: var(--brand); color: #fff; font-weight: var(--w-semibold); }
.mk--access { gap: 10px; }
.mk-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 14px; line-height: 20px; color: #fff; }
.mk-row i { width: 28px; height: 28px; flex: none; border-radius: 50%; background: linear-gradient(180deg, #F0831F, #F8AA58); }
.mk-row span { flex: 1; min-width: 0; }
.mk-row em { position: relative; width: 36px; height: 20px; flex: none; border-radius: 10px; background: var(--brand); }
.mk-row em::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.mk-row:last-child em { background: rgba(255, 255, 255, .2); }
.mk-row:last-child em::after { right: auto; left: 3px; }

/* плитка с фотографией вместо нарисованного макета */
.mk--photo { padding: 0; }
.mk--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* уведомление поверх кадра, чек-лист, архив, график */
.mk-note { position: absolute; right: 30px; bottom: 30px; z-index: 3; display: grid; gap: 2px; max-width: 70%; padding: 12px 16px 12px 34px; border-radius: 14px; background: #fff; color: #2C3038; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.mk-note::before { content: ""; position: absolute; left: 14px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.mk-note b { font-size: 15px; line-height: 20px; font-weight: var(--w-semibold); }
.mk-note span { font-size: 12px; line-height: 16px; color: #5A606B; }
.mk--split { grid-template-columns: auto 1fr; align-items: center; align-content: stretch; gap: 14px; }
.mk--split .mk-cam { height: 100%; }
.mk-checks { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #fff; color: #2C3038; }
.mk-check { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; white-space: nowrap; }
.mk-check i { position: relative; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--brand); }
.mk-check i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mk-check.is-todo i { background: #C8CDD6; }
.mk--archive { align-content: center; gap: 0; margin: 0; }
.mk--archive { background: linear-gradient(160deg, #2C323D 0%, #1C1F26 100%); }
.mk-ahead { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 10px; font-size: 13px; line-height: 18px; color: var(--b2b-text-2); }
.mk-ahead b { font-size: 16px; font-weight: var(--w-semibold); color: #fff; }
.mk-arow { display: grid; grid-template-columns: 84px 1fr 26px; gap: 12px; align-items: center; padding: 8px 4px; border-top: 1px solid var(--b2b-line); }
.mk-arow .mk-cam { height: 48px; }
.mk-arow .mk-cam__label { display: none; }
.mk-arow b { display: block; font-size: 13px; line-height: 18px; font-weight: var(--w-semibold); color: #fff; }
.mk-arow span { font-size: 12px; line-height: 16px; color: var(--b2b-text-3); }
.mk-arow em { width: 26px; height: 26px; border-radius: 8px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v10m0 0-4-4m4 4 4-4M6 19h12'/%3E%3C/svg%3E") center / 14px no-repeat; }
.mk--chart { padding: 24px 30px; color: #fff; }
.mk-chart { width: 100%; height: 100%; display: block; }

/* ── блок про конверсию и «другие функции» ── */
.seg-conv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--b2b-line); }
.seg-conv__chart { display: grid; grid-template-rows: auto 1fr; gap: 16px; padding: 10px 10px 0; color: var(--b2b-text-2); font-size: var(--t-base); line-height: 1.4; }
.seg-conv__chart span { color: var(--b2b-text-3); border-bottom: 1px dashed currentColor; }
.seg-conv__chart--card, .seg-conv__card { padding: 30px; border-radius: var(--r-card); background: var(--b2b-surface); }
.seg-conv__card h3 { font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: var(--w-medium); }
.seg-conv__card ul { display: grid; gap: 8px; margin-top: 20px; }
.seg-conv__card li { position: relative; padding-left: 16px; font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }
.seg-conv__card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.seg-more__title { margin-top: 60px; font-size: var(--t-h3); line-height: var(--lh-h3); font-weight: var(--w-medium); }
.seg-more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.seg-chip { padding: 14px 24px; border-radius: var(--r-pill); background: var(--b2b-surface); font-size: var(--t-md); line-height: 1.4; }
@media (max-width: 1100px) { .seg-conv { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .seg-conv { margin-top: 30px; padding-top: 30px; gap: 12px; }
  .seg-conv__chart--card, .seg-conv__card { padding: 20px; border-radius: 20px; }
  .seg-conv__card h3 { font-size: 17px; } .seg-conv__card li { font-size: var(--t-sm); }
  .seg-more__title { margin-top: 30px; font-size: 21px; line-height: 1.2; }
  .seg-more { gap: 8px; margin-top: 16px; } .seg-chip { padding: 8px 14px; font-size: 13px; }
  .mk-note { right: 16px; bottom: 16px; }
}

/* телефон с экраном приложения */
.mk-phone {
  position: relative; display: grid; gap: 10px; align-content: start; width: 240px; padding: 34px 16px 22px;
  border-radius: 34px; background: #F0F5F9; color: #2C3038; border: 6px solid #15181D;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.mk-phone__notch { position: absolute; left: 50%; top: 9px; width: 74px; height: 16px; margin-left: -37px; border-radius: 10px; background: #15181D; }
.mk-phone__brand { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .12em; color: var(--brand); }
.mk-phone__title { font-size: 17px; line-height: 22px; font-weight: var(--w-semibold); }
.mk-phone .mk-chip--status { justify-self: start; }
.mk-phone .mk-cam { height: 128px; min-height: 0; }
.mk-phone__row { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid #DDE2E8; font-size: 12px; line-height: 16px; color: #5A606B; }
.mk-phone__row b { font-weight: var(--w-semibold); color: #2C3038; text-align: right; }

/* ── требования маркетплейсов (страница ПВЗ): три карточки, основной маркетплейс выделен ── */
.seg-mps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 60px; }
.seg-mp { position: relative; padding: 40px; border-radius: var(--r-card); background: var(--b2b-surface); }
.seg-mp.is-accent { background: transparent; }
.seg-mp.is-accent::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: var(--b2b-orange-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.seg-mp h3 { font-size: var(--t-h3); line-height: var(--lh-h3); font-weight: var(--w-medium); }
.seg-mp.is-accent h3 { width: fit-content; background: var(--b2b-accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.seg-mp ul { display: grid; gap: 14px; margin-top: 25px; }
.seg-mp li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }
.seg-feat__tick { width: 24px; height: 24px; flex: none; color: var(--brand); }
@media (max-width: 1100px) { .seg-mps { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 30px; } }
@media (max-width: 767px) { .seg-mp { padding: 20px; border-radius: 20px; } .seg-mp h3 { font-size: 21px; line-height: 1.2; } .seg-mp li { font-size: var(--t-sm); } .seg-mp ul { margin-top: 16px; gap: 10px; } }

/* ── проблемы отрасли: 2×2 ── */
.seg-pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 60px; }
.seg-pain { padding: 30px 40px; border-radius: var(--r-card); background: var(--b2b-surface); }
.seg-pain h3 { position: relative; padding-left: 26px; font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: var(--w-medium); }
.seg-pain h3::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(239, 127, 26, .2); }
.seg-pain p { margin-top: 12px; font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }

/* ── схема объекта с зонами: единый план, подписи зон прямо на картинке ── */
.seg-scheme { margin-top: 20px; }
.seg-scheme__pic { position: relative; max-width: 1240px; margin-inline: auto; }
.seg-scheme__svg { width: 100%; height: auto; display: block; }
.seg-callout {
  position: absolute; z-index: 1; width: 240px; padding: 14px 18px;
  border-radius: 16px; background: #fff; color: #2C3038; box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.seg-callout--t { transform: translate(-50%, -100%); }
.seg-callout--b { transform: translate(-50%, 0); }
.seg-callout--l { transform: translate(-100%, -50%); margin-left: -14px; }
.seg-callout--r { transform: translate(0, -50%); margin-left: 14px; }
.seg-callout--p { transform: translate(0, -50%); margin-left: 30px; }   /* справа от значка камеры */
.seg-callout h3 { font-size: var(--t-base); line-height: 1.3; font-weight: var(--w-semibold); color: #E06E00; }
.seg-callout p { margin-top: 4px; font-size: 13px; line-height: 1.35; color: #5A606B; }
/* на узких экранах подписи не помещаются на картинке — показываем пронумерованный список */
.seg-scheme__legend { display: none; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.seg-scheme__legend li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; border-radius: var(--r-md); background: var(--b2b-surface); }
.seg-scheme__legend b { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--brand); font-size: var(--t-base); font-weight: var(--w-semibold); color: #fff; }
.seg-scheme__legend h3 { font-size: var(--t-md); line-height: 1.3; font-weight: var(--w-medium); }
.seg-scheme__legend p { margin-top: 4px; font-size: var(--t-sm); line-height: 1.4; color: var(--b2b-text-2); }

/* ── функции: группа из трёх плиток «иллюстрация + подпись» ── */
.seg-fngroup { margin-top: 60px; }
.seg-fngroup + .seg-fngroup { padding-top: 60px; border-top: 1px solid var(--b2b-line); }
.seg-fngroup__title {
  position: relative; width: fit-content; padding: 10px 22px 10px 40px; border-radius: var(--r-pill);
  background: rgba(239, 127, 26, .14); color: #FFCF8D; font-size: var(--t-lg); line-height: 1.4; font-weight: var(--w-medium);
}
.seg-fngroup__title::before { content: ""; position: absolute; left: 18px; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--brand); }
.seg-fngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.seg-fn p { margin-top: 20px; max-width: 420px; font-size: var(--t-md); line-height: 1.4; color: #fff; }

/* ── варианты подключения 2×2 ── */
.seg-flexgrid { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 60px; }
.seg-flex { padding: 40px; border-radius: var(--r-card); background: var(--b2b-surface); }
.seg-flex.is-accent { background: var(--brand); }
.seg-flex h3 { font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: var(--w-medium); }
.seg-flex p { margin-top: 12px; max-width: 560px; font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }
.seg-flex.is-accent p { color: #fff; }

/* ── шаги: карточка, шаги в ряд с пунктирной линией ── */
.seg-stepscard { padding: 60px; border-radius: var(--r-card); background: var(--b2b-surface); text-align: center; }
.seg-stepscard .seg-h2 { margin-inline: auto; }
.seg-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 1200px; margin: 60px auto 50px; }
.seg-steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 22px; border-top: 2px dashed rgba(239, 127, 26, .5); }
.seg-steps li { position: relative; }
.seg-steps b { position: relative; box-shadow: 0 0 0 14px #2E333D; }
.seg-steps b { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 25px; border-radius: 14px; background: var(--brand); font-size: var(--t-lg); font-weight: var(--w-semibold); color: #fff; }
.seg-steps h3 { font-size: var(--t-lg); line-height: 1.3; font-weight: var(--w-medium); }
.seg-steps p { margin: 10px auto 0; max-width: 300px; font-size: var(--t-base); line-height: 1.4; color: var(--b2b-text-2); }

/* ── цифры ── */
.seg-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 60px; }
.seg-stat { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 220px; padding: 40px; border-radius: var(--r-card); background: var(--b2b-surface); font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }
.seg-stat.is-accent { background: var(--brand); color: #fff; }
.seg-stat__n { font-size: var(--t-h1); line-height: 1; font-weight: var(--w-medium); color: #fff; white-space: nowrap; }
.seg-stat:not(.is-accent) .seg-stat__n { background: var(--b2b-orange-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; width: fit-content; }
.seg-stat__n small { margin-left: 8px; font-size: var(--t-h4); font-weight: var(--w-regular); }
.seg-stat:last-child .seg-stat__n { font-size: var(--t-h2); }

/* ── приложение ── */
.seg-app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 40px; align-items: center; padding: 60px; border-radius: var(--r-card); background: var(--b2b-surface); overflow: hidden; }
.seg-app__scene { position: relative; min-height: 380px; }
.seg-app__scene .mk { position: absolute; left: 0; top: 30px; right: 110px; height: 300px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.seg-app__scene .mk-phone { position: absolute; right: 0; top: 0; width: 210px; }
.seg-app__scene .mk-phone .mk-cam { height: 110px; }

/* ── страница «Видеоаналитика»: плитки-оглавление и ряды «текст + инфографика» ── */
.an-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.an-tile { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--r-card); background: var(--b2b-surface); transition: background-color .2s; }
.an-tile:hover { background: var(--b2b-surface-2); }
.an-tile .ico { width: 44px; height: 44px; margin-bottom: 14px; color: var(--brand); }
.an-tile b { font-size: var(--t-lg); line-height: 1.3; font-weight: var(--w-medium); color: #fff; }
.an-tile span { font-size: var(--t-base); line-height: 1.4; color: var(--b2b-text-2); }
.an-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; align-items: center; margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--b2b-line); scroll-margin-top: 20px; }
.an-row--rev .an-row__body { order: 2; }
.an-row__ico { width: 56px; height: 56px; margin-bottom: 25px; color: var(--brand); }
.an-row h3 { font-size: var(--t-h3); line-height: var(--lh-h3); font-weight: var(--w-medium); }
.an-row__sub { margin-top: 8px; width: fit-content; font-size: var(--t-lg); line-height: 1.4; background: var(--b2b-accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.an-row__text { margin-top: 20px; max-width: 620px; font-size: var(--t-lg); line-height: 1.4; color: var(--b2b-text-2); }
.an-row ul { display: grid; gap: 14px; margin-top: 25px; }
.an-row li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-md); line-height: 1.4; color: #fff; }
.an-row .seg-tags { margin-top: 30px; }
.an-vis { height: 420px; padding: 30px; border-radius: var(--r-card); }
.an-vis:not(.an-vis--count) { align-content: stretch; grid-template-rows: 1fr; }
.an-vis > .mk-cam { height: 100%; }
.an-vis .mk-cam__scene { height: 104%; }
.an-vis .mk-note { right: 50px; bottom: 50px; padding: 16px 22px 16px 42px; border-radius: 18px; }
.an-vis .mk-note::before { left: 18px; top: 22px; width: 12px; height: 12px; background: #3DDC84; }
.an-vis .mk-note b { font-size: var(--t-lg); line-height: 1.3; }
.an-vis .mk-note span { font-size: var(--t-sm); line-height: var(--lh-sm); }
.mk-note--alarm::before { background: #E5484D !important; }
.an-faces { position: absolute; left: 50%; bottom: 0; z-index: 1; height: 78%; width: auto; max-width: none; transform: translateX(-50%); }
.an-plate { position: absolute; left: 50px; top: 80px; z-index: 3; display: flex; align-items: stretch; border-radius: 10px; overflow: hidden; background: #fff; color: #15181D; border: 3px solid #15181D; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.an-plate b { display: grid; place-items: center; padding: 0 12px; border-right: 3px solid #15181D; font-size: 22px; }
.an-plate span { padding: 6px 16px; font-size: 30px; line-height: 38px; letter-spacing: .04em; }
.an-zone { position: absolute; left: 30%; right: 16%; top: 30%; bottom: 22%; z-index: 2; border: 3px dashed var(--brand); border-radius: 14px; background: rgba(239, 127, 26, .12); }
.an-vis--count { grid-template-rows: auto 1fr; align-content: stretch; gap: 20px; color: #fff; }
.an-count { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.an-count div { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.an-count b { width: fit-content; font-size: var(--t-h2); line-height: 1; font-weight: var(--w-medium); background: var(--b2b-orange-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.an-count span { font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--b2b-text-2); }
/* фото в рамке одного формата: углы режет контейнер, а не сама картинка — так скругление одинаково в любом браузере */
.an-photo { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-img); overflow: hidden; isolation: isolate; }
.an-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.an-hero .an-vis { position: absolute; inset: 30px; height: auto; background: transparent; padding: 0; }
@media (max-width: 1440px) { .an-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .an-row { gap: 40px; } .an-vis { height: 360px; } }
@media (max-width: 1100px) {
  .an-row { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .an-row--rev .an-row__body { order: 0; }
}
@media (max-width: 767px) {
  .an-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
  .an-tile { padding: 20px; border-radius: 20px; } .an-tile .ico { width: 36px; height: 36px; margin-bottom: 6px; }
  .an-tile b { font-size: var(--t-base); } .an-tile span { font-size: 13px; }
  .an-row { margin-top: 30px; padding-top: 30px; gap: 20px; }
  .an-row__ico { width: 40px; height: 40px; margin-bottom: 14px; }
  .an-row h3 { font-size: 21px; line-height: 1.2; } .an-row__sub, .an-row__text { font-size: var(--t-base); }
  .an-row__text { margin-top: 12px; } .an-row ul { margin-top: 16px; gap: 10px; } .an-row li { font-size: var(--t-sm); }
  .an-vis { height: 260px; padding: 14px; border-radius: 20px; }
  .an-vis .mk-note { right: 22px; bottom: 22px; padding: 10px 14px 10px 32px; } .an-vis .mk-note::before { left: 12px; top: 15px; width: 10px; height: 10px; }
  .an-vis .mk-note b { font-size: 14px; } .an-vis .mk-note span { font-size: 12px; }
  .an-plate { left: 24px; top: 56px; } .an-plate b { font-size: 15px; padding: 0 8px; } .an-plate span { font-size: 19px; line-height: 26px; padding: 4px 10px; }
  .an-count b { font-size: 26px; } .an-count div { padding: 10px 12px; }
}

/* ── выпадающее меню раздела: возможности платформы + отрасли в две колонки ── */
.hdr__drop-menu--wide { min-width: 760px; gap: 0; padding: 30px 40px 36px; background: #2B2F38; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hdr__drop-menu--tasks { min-width: 620px; }
.hdr__drop-menu .hdr__drop-all { color: var(--brand); }
/* на узком десктопе широкое меню сдвигается влево, чтобы не выходить за край экрана */
@media (max-width: 1500px) { .hdr__drop-menu--wide:not(.hdr__drop-menu--tasks) { left: -140px; } }
.hdr__drop.is-closed .hdr__drop-menu { opacity: 0 !important; visibility: hidden !important; }
.hdr__drop-cap { margin-bottom: 18px; font-size: var(--t-base); line-height: var(--lh-base); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hdr__drop-cap--line { margin-top: 26px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hdr__drop-menu .hdr__drop-feature { display: flex; align-items: center; gap: 14px; font-weight: var(--w-semibold); }
.hdr__drop-feature svg { width: 28px; height: 28px; flex: none; color: var(--brand); }
.hdr__drop-feature b { flex: 1; font-weight: inherit; }
.hdr__drop-feature svg:last-child { width: 22px; height: 22px; }
.hdr__drop-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.hdr__drop-cols > div { display: flex; flex-direction: column; gap: 18px; }

/* ── новые отраслевые страницы: герой с иллюстрацией, схема зон с маркерами ── */
.ind-hero { align-items: center; }
.ind-hero__pic { margin: 0; border-radius: var(--r-card); overflow: hidden; background: #191C22; }
.ind-hero__pic img { display: block; width: 100%; height: auto; }
.ind-benefit { min-height: 180px; }
.ind-benefit h3 { position: relative; padding-left: 26px; }
.ind-benefit h3::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(239, 127, 26, .2); }
.ind-zones { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: start; margin-top: 40px; }
.ind-map { position: relative; border-radius: var(--r-card); overflow: visible; }
.ind-map img { display: block; width: 100%; height: auto; border-radius: var(--r-card); }
/* прозрачная кнопка поверх номера на схеме: наведение, фокус или нажатие показывают задачу камеры */
.ind-pin { position: absolute; z-index: 1; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.ind-pin::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid transparent; transition: border-color .15s, box-shadow .15s; }
.ind-pin:hover::before, .ind-pin:focus-visible::before, .ind-pin.is-open::before { border-color: #fff; box-shadow: 0 0 0 6px rgba(239, 127, 26, .35); }
.ind-pin:focus-visible { outline: none; }
.ind-pin__tip {
  position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 2; transform: translateX(-50%); width: max-content; max-width: 240px;
  padding: 12px 16px; border-radius: 14px; background: #fff; color: #5A606B; text-align: left; font-size: 13px; line-height: 1.35;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s;
}
.ind-pin__tip b { display: block; margin-bottom: 2px; font-size: var(--t-base); line-height: 1.3; font-weight: var(--w-semibold); color: #E06E00; }
.ind-pin--l .ind-pin__tip { left: 0; transform: none; }
.ind-pin--r .ind-pin__tip { left: auto; right: 0; transform: none; }
.ind-pin:hover .ind-pin__tip, .ind-pin:focus-visible .ind-pin__tip, .ind-pin.is-open .ind-pin__tip { opacity: 1; visibility: visible; }
.ind-legend { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 0; }
.ind-legend li { padding: 12px 18px; }
.ind-legend li.is-active { background: var(--b2b-surface-2); }
.ind-note { margin-top: 16px; font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--b2b-text-3); }
.ind-excluded { margin-top: 40px; padding: 30px 40px; border-radius: var(--r-card); border: 1px solid var(--b2b-stroke); }
.ind-excluded h3 { font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: var(--w-medium); }
.ind-excluded .seg-tags { margin-top: 18px; }
.ind-excluded p { margin-top: 18px; max-width: 900px; font-size: var(--t-base); line-height: 1.4; color: var(--b2b-text-3); }
.ind-scale { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.seg-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.seg-steps--4::before { left: 6%; right: 6%; }
.ind-offer .seg-h2 { max-width: 1100px; }
.ind .seg-more a.seg-chip:hover { background: var(--b2b-surface-2); color: #fff; }
@media (max-width: 1440px) { .ind-zones { grid-template-columns: minmax(0, 1fr); } .ind-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .ind-scale { grid-template-columns: minmax(0, 1fr); } .seg-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .seg-steps--4::before { display: none; } }
@media (max-width: 767px) {
  .ind-zones { margin-top: 24px; gap: 16px; } .ind-legend { grid-template-columns: minmax(0, 1fr); }
  .ind-map img { border-radius: 20px; } .ind-pin { width: 32px; height: 32px; margin: -16px 0 0 -16px; } .ind-pin::before { inset: 4px; }
  .ind-pin__tip { max-width: 190px; padding: 10px 12px; }
  .ind-excluded { margin-top: 24px; padding: 20px; border-radius: 20px; } .ind-excluded h3 { font-size: 17px; }
  .ind-benefit { min-height: 0; } .seg-steps--4 { grid-template-columns: minmax(0, 1fr); }
}

/* блок приложения с готовой картинкой «ноутбук и телефон» */
.seg-app__pic { border-radius: var(--r-md); overflow: hidden; }
.seg-app__pic img { display: block; width: 100%; height: auto; }

/* ── блоки общей страницы видеонаблюдения: карточки отраслей и шаги ── */
.seg-grid { display: grid; gap: 20px; margin-top: 60px; }
.seg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg-card {
  position: relative; display: flex; flex-direction: column; gap: 15px; min-height: 280px; padding: 40px;
  border-radius: var(--r-card); background-color: var(--b2b-surface); color: #fff;
}
.seg-card .ico { width: 50px; height: 50px; flex: none; margin-bottom: auto; color: var(--brand); }
.seg-card h3 { font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: var(--w-medium); }
.seg-card p { font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }
.seg-step { min-height: 260px; }
.seg-step__n {
  margin-bottom: auto; width: fit-content; font-size: var(--t-h1); line-height: 1; font-weight: var(--w-medium);
  background: var(--b2b-orange-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.seg-ind { transition: background-color .2s; }
.seg-ind:hover { background-color: var(--b2b-surface-2); }
.seg-ind__more { margin-top: 5px; color: var(--brand); font-size: var(--t-md); line-height: 1.4; }

@media (max-width: 1440px) {
  .seg-hero__card, .seg-stepscard, .seg-app { padding: 40px; }
  .seg-hero__scene .mk-cam--scene { right: 170px; }
  .seg-hero__scene .mk-phone { right: 24px; width: 220px; }
  .seg-card, .seg-flex, .seg-stat { padding: 30px; }
  .seg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-app { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
}
@media (max-width: 1100px) {
  .seg-hero__card, .seg-app { grid-template-columns: minmax(0, 1fr); }
  .seg-hero__scene { min-height: 420px; }
  .seg-callout { display: none; }
  .seg-scheme__legend { display: grid; }
  .seg-fngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .seg-hero { padding-top: 16px; }
  .seg-hero__card, .seg-stepscard, .seg-app { padding: 20px; gap: 24px; border-radius: 20px; }
  .seg-eyebrow { margin-bottom: 16px; padding: 6px 12px; font-size: 13px; line-height: 18px; }
  .seg-hero__title { font-size: 30px; line-height: 1.1; }
  .seg-hero__lead { margin: 20px 0; font-size: 17px; }
  .seg-h2 { font-size: 24px; line-height: 1.1; }
  .seg-lead { margin-top: 14px; font-size: 17px; }
  .seg-tags { margin-top: 24px; gap: 8px; }
  .seg-tag { padding: 7px 12px; font-size: 13px; line-height: 18px; }
  .seg-hero__scene { min-height: 360px; border-radius: 20px; }
  .seg-hero__dots { width: 360px; right: -80px; top: -60px; }
  .seg-hero__scene .mk-cam--scene { left: 16px; top: 16px; right: 16px; bottom: 150px; }
  .seg-hero__scene .mk-phone { right: 16px; bottom: -70px; width: 190px; padding: 30px 12px 16px; }
  .seg-hero__scene .mk-phone .mk-cam { height: 96px; }
  .seg-pains, .seg-flexgrid, .seg-fngrid, .seg-stats, .seg-grid--4, .seg-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 30px; }
  .seg-pain, .seg-flex, .seg-stat, .seg-card { padding: 20px; border-radius: 20px; }
  .seg-pain h3, .seg-flex h3, .seg-card h3 { font-size: 17px; line-height: 1.3; }
  .seg-pain p, .seg-flex p, .seg-card p, .seg-fn p, .seg-stat, .seg-ind__more { font-size: var(--t-sm); }
  .seg-scheme__legend { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .seg-scheme__legend li { padding: 14px 16px; gap: 14px; }
  .seg-scheme__legend h3 { font-size: var(--t-base); }
  .seg-scheme__legend p { font-size: 13px; }
  .seg-fngroup { margin-top: 30px; }
  .seg-fngroup + .seg-fngroup { padding-top: 30px; }
  .seg-fngroup__title { font-size: var(--t-base); padding: 8px 16px 8px 32px; }
  .seg-fngroup__title::before { left: 14px; }
  .seg-fngrid { margin-top: 20px; gap: 24px; }
  .seg-fn p { margin-top: 12px; }
  .mk { height: 190px; padding: 14px; }
  .seg-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 30px 0; }
  .seg-steps::before { display: none; }
  .seg-steps b { box-shadow: none; }
  .seg-steps b { margin-bottom: 12px; }
  .seg-stat { min-height: 0; gap: 16px; }
  .seg-stat__n { font-size: 30px; }
  .seg-stat:last-child .seg-stat__n { font-size: 24px; }
  .seg-stat__n small { font-size: 17px; }
  .seg-app__scene { min-height: 300px; }
  .seg-app__scene .mk { right: 60px; top: 20px; height: 230px; }
  .seg-app__scene .mk-phone { width: 170px; padding: 28px 10px 14px; }
  .seg-app__scene .mk-phone .mk-cam { height: 84px; }
  .seg-card { min-height: 0; gap: 10px; }
  .seg-card .ico { width: 40px; height: 40px; margin-bottom: 14px; }
  .seg-step__n { font-size: 30px; margin-bottom: 14px; }
}

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1440px) {
  .cctv-app__body { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .cctv-why__body { grid-template-columns: minmax(0, 1fr) 460px; }
  .cctv-help__inner { grid-template-columns: 560px minmax(0, 1fr); min-height: 640px; }
  .cctv-help__art { width: 656px; }
  .cctv-help__body { padding-block: 100px; }
  .cctv-cams__track { grid-auto-columns: 900px; }
  .cctv-cam { grid-template-columns: minmax(0, 1fr) 380px; min-height: 560px; padding: 32px; }
  .cctv-cam__img { left: auto; right: 40px; top: 150px; width: 380px; }
  .cctv-cam__dots { width: 340px; }
  .cctv-app__body { grid-template-columns: minmax(0, 790px) 320px; column-gap: 60px; }
  .cctv-app__phone { width: 320px; }
  .cctv-why__art { width: 760px; right: -140px; top: 80px; }
}

@media (max-width: 1100px) {
  .cctv-video__grid { grid-template-columns: 1fr 1fr; }
  .cctv-app__body { grid-template-columns: 1fr; }
  .cctv-app__phone { display: none; }
  .cctv-why__art { position: static; width: 100%; max-width: 520px; margin: 32px auto 0; }
  .cctv-price__grid { grid-template-columns: 1fr; max-width: 560px; }
  .cctv-help__inner { grid-template-columns: 1fr; min-height: 0; }
  .cctv-help__art { position: static; width: auto; margin: 0 calc(var(--page-pad) * -1); }
  .cctv-help__body { grid-column: auto; }
  /* Композиция обрезана по левому краю экрана, поэтому прижата к нему, а не центрируется */
  .cctv-help__art { position: relative; }
  .cctv-help__art .cctv-help__dots { position: absolute; left: -60px; top: auto; bottom: -40px; width: 300px; }
  .cctv-help__art .cctv-help__girl { position: relative; display: block; width: min(80%, 440px); height: auto; margin: 0 auto; }
  .cctv-help__body { padding-block: 60px 30px; max-width: none; order: -1; }
  .cctv-cams__track { grid-auto-columns: min(640px, 88%); }
  .cctv-cam { grid-template-columns: 1fr; min-height: 0; padding-top: 0; }
  .cctv-cam__art { position: relative; inset: auto; height: 320px; margin: 0 -32px 8px; overflow: hidden; order: -1; }
  .cctv-cam__dots { width: 300px; opacity: .4; }
  .cctv-cam__img { left: 50%; top: 50%; width: 320px; transform: translate(-50%, -50%); }
}

@media (max-width: 767px) {
  .cctv-video__dots { width: 60%; opacity: .35; }
  .cctv-app__dots { width: 220px; opacity: .45; }
  .cctv-video__grid,
  .cctv-app__grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 28px; }
  .cctv-video__grid::-webkit-scrollbar,
  .cctv-app__grid::-webkit-scrollbar { display: none; }
  .cctv-video__item, .cctv-app__card { scroll-snap-align: start; }
  .cctv-app__card { min-height: 190px; padding: 20px; }
  .cctv-app__card .ico { width: 40px; height: 40px; }
  .cctv-app__card h3 { font-size: 17px; line-height: 1.3; }
  .cctv-app__card p { font-size: var(--t-sm); }
  .cctv-video__play { width: 64px; height: 64px; }
  .cctv-video__play svg { width: 26px; height: 26px; }
  .cctv-video__cap { font-size: 17px; line-height: 1.3; }
  .cctv-app__badges { gap: 12px; }
  .cctv-why__cols { grid-template-columns: 1fr; gap: 24px; }
  .cctv-why__art { max-width: 100%; }
  .cctv-price__tabs { margin-top: 22px; }
  .cctv-price__tab { min-height: 44px; padding: 10px 18px; font-size: var(--t-sm); }
  .cctv-plan { padding: 20px; gap: 20px; }
  .cctv-plan__name { font-size: 21px; line-height: 1.2; }
  .cctv-plan__list { padding: 20px; border-radius: 20px; }
  .cctv-plan__row { font-size: 13px; }
  .cctv-plan__row dd { font-size: 17px; }
  .cctv-plan__sum { font-size: 21px; line-height: 1.2; }
  .cctv-plan__per { font-size: var(--t-sm); }
  .cctv-plan__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cctv-form__row { grid-template-columns: 1fr; }
  .cctv-help__text { font-size: 17px; }
  .cctv-form__field input { font-size: var(--t-sm); }
  .cctv-cam__text { font-size: 17px; line-height: 1.3; }
  .cctv-cam__spec { font-size: 13px; }
  .cctv-form { margin-top: 32px; }
  .cctv-cams__track { grid-auto-columns: 88%; }
  .cctv-cam { padding: 20px; padding-top: 0; }
  .cctv-cam__art { height: 260px; margin: 0 -20px 4px; }
  .cctv-cam__img { width: 260px; }
  .cctv-why__art { max-width: 320px; margin-top: 24px; }
  .cctv-why { padding-bottom: 60px; }
  /* Мобильный макет: две колонки, карточки «иконка сверху + текст», правая колонка с оранжевой рамкой, между колонками линия */
  .cctv-why__cols { position: relative; grid-template-columns: 1fr 1fr; grid-template-rows: auto repeat(4, auto); margin-top: 32px; gap: 16px 20px; }
  .cctv-why__cols > div { display: grid; grid-template-rows: subgrid; grid-row: span 5; gap: 16px; }
  .cctv-why__cols::after { content: ""; position: absolute; left: 50%; top: 72px; bottom: 0; width: 1px; background: rgba(255,255,255,.14); }
  .cctv-why__head { margin-bottom: 0; font-size: 17px; line-height: 1.3; }
  .cctv-why__list { display: contents; }
  .cctv-why__row { flex-direction: column; align-items: flex-start; gap: 14px; min-height: 0; padding: 16px; font-size: var(--t-sm); }
  .cctv-why__mark { width: 22px; height: 22px; }
  .cctv-why__mark svg { width: 12px; height: 12px; }
  .cctv-cam__actions { flex-wrap: wrap; gap: 16px; }
}

/* видеоаналитика: панорамная обложка; на телефоне кадр целиком прижат к низу карточки */
@media (max-width: 767px) {
  .an-hero-pano { --an-pano-h: calc((100vw - 40px) * .707); }
  .an-hero-pano .seg-hero__card { aspect-ratio: auto; }
  .an-hero-pano .seg-hero__card::after { display: none; }
  .an-hero-pano .seg-hero__bg { top: auto; height: var(--an-pano-h); }
  .an-hero-pano .seg-hero__bg img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
  .an-hero-pano .seg-hero__body { padding-bottom: calc(var(--an-pano-h) - 10px); }
}

/* восемь новых отраслей: карточки преимуществ с фотографией */
.ind-benefit--pic { padding-top: 20px; }
.ind-benefit__pic { display: block; margin: 0 0 22px; aspect-ratio: 1600 / 850; border-radius: var(--r-md); overflow: hidden; background: #1D2025; }
.ind-benefit__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===== Единое скругление всех фотографий и схем: как у карточек (30), на телефоне 20 ===== */
body.b2b { --r-img: var(--r-card); }
.mk.mk--photo, .seg-app__pic, .ind-benefit__pic, .tel-card__pic, .tel-fig img, .ind-hero__pic,
.seg-scheme--img .seg-scheme__scroll, .seg-kit__pic, .seg-hero--photo .seg-hero__card { border-radius: var(--r-img); }
.mk.mk--photo, .seg-app__pic, .ind-benefit__pic, .tel-card__pic, .ind-hero__pic, .seg-scheme--img .seg-scheme__scroll { overflow: hidden; isolation: isolate; }
@media (max-width: 767px) { body.b2b { --r-img: 20px; } }

/* телефон: обложка с длинным текстом. Карточка растёт по тексту, а сцена остаётся видна под ним —
   текст больше не ложится на людей на фото */
@media (max-width: 767px) {
  .seg-hero--photo:not(.an-hero-pano) .seg-hero__card { aspect-ratio: auto; min-height: calc((100vw - 40px) * 1.408); }
  .seg-hero--photo:not(.an-hero-pano) .seg-hero__body { padding-bottom: 62vw; }
  .seg-hero--photo:not(.an-hero-pano) .seg-hero__card::after { background: linear-gradient(180deg, rgba(25, 28, 34, .96) 0%, rgba(25, 28, 34, .9) calc(100% - 70vw), rgba(25, 28, 34, 0) calc(100% - 44vw)); }
}

/* сотрудница в блоке «Нужна помощь?» — анимированный GIF 3:4; обёртка picture не участвует в раскладке,
   пропорции сохраняются, клики по форме картинка не перехватывает */
.cctv-help__art picture, .tel-lead__art picture { display: contents; }
.cctv-help__art .cctv-help__girl, .tel-lead__art .tel-lead__girl { aspect-ratio: 3 / 4; object-fit: contain; object-position: center bottom; pointer-events: none; }

/* Единый блок заявки: заголовок «Подберём … для …», три поля, статус под кнопкой */
.cctv-help__body { max-width: 620px; }
.cctv-help__title { font-size: var(--t-h2); line-height: var(--lh-h2); }
.cctv-form__field--wide { grid-column: 1 / -1; }
.cctv-form__field:has([aria-invalid="true"]) { box-shadow: 0 0 0 2px #E5484D; }
.lead-form__status { margin-top: 20px; padding: 14px 18px; border-radius: var(--r-md); background: var(--b2b-surface); font-size: var(--t-base); line-height: var(--lh-base); color: #fff; }
.lead-form__status.is-error { box-shadow: inset 0 0 0 1px #E5484D; }
.lead-form__status.is-ok { box-shadow: inset 0 0 0 1px #3DDC84; }
@media (max-width: 767px) { .cctv-help__title { font-size: 26px; line-height: 1.15; } .cctv-form__row { grid-template-columns: minmax(0, 1fr); } }

/* ===== Тарифы видеонаблюдения — в той же тёмной стилистике, что тарифы интернета и телефонии ===== */
.cctv-price .cctv-price__tab { background: var(--b2b-surface); color: #fff; }
.cctv-price .cctv-price__tab.is-active { background: var(--brand); }
.cctv-price:not(.net-price) .cctv-plan { padding: 30px; gap: 22px; background: var(--b2b-surface); color: #fff; }
.cctv-price:not(.net-price) .cctv-plan::before { display: none; }
.cctv-price:not(.net-price) .cctv-plan__name { font-size: var(--t-h4); line-height: var(--lh-h4); color: var(--b2b-text-2); }
.cctv-price:not(.net-price) .cctv-plan__name span { display: block; margin-top: 4px; font-size: var(--t-h2); line-height: 1.05; color: #fff; white-space: nowrap; }
.cctv-price:not(.net-price) .cctv-plan__list { flex: 1; padding: 0; border-radius: 0; background: none; gap: 0; }
.cctv-price:not(.net-price) .cctv-plan__row { padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.cctv-price:not(.net-price) .cctv-plan__row dt { color: var(--b2b-text-2); white-space: normal; }
.cctv-price:not(.net-price) .cctv-plan__row dd { font-size: var(--t-md); color: #fff; }
.cctv-price:not(.net-price) .cctv-plan__row .ok { color: var(--brand); }
.cctv-price:not(.net-price) .cctv-plan__foot { flex-direction: column; align-items: stretch; gap: 16px; }
.cctv-price:not(.net-price) .cctv-plan__price { align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cctv-price:not(.net-price) .cctv-plan__sum { font-size: var(--t-h3); line-height: 1.1; font-weight: var(--w-medium); color: #fff; white-space: nowrap; }
.cctv-price:not(.net-price) .cctv-plan__per { font-size: var(--t-md); color: var(--brand); }
.cctv-price:not(.net-price) .cctv-plan .btn { width: 100%; background: none; box-shadow: inset 0 0 0 1.5px var(--brand); color: #fff; }
.cctv-price:not(.net-price) .cctv-plan .btn:hover, .cctv-price:not(.net-price) .cctv-plan .btn:focus-visible { background: var(--brand); }
@media (max-width: 767px) { .cctv-price:not(.net-price) .cctv-plan { padding: 20px; } .cctv-price:not(.net-price) .cctv-plan__name span { font-size: 34px; } }

/* ===== Ревью вёрстки =====
   Карточки без иконки (заголовок + текст) не держат лишнюю высоту: пустого места под текстом нет.
   Одинаково для телефонии и видеонаблюдения. */
.ind-benefit, .seg-ind { min-height: 0; }
.seg-card.ind-benefit { padding: 32px 36px; gap: 12px; }
.seg-ind .seg-ind__more { margin-top: auto; padding-top: 10px; }
/* подписи первого экрана: не больше 3–4 строк */
@media (max-width: 767px) {
  .seg-card.ind-benefit { padding: 20px; }
  /* длинная подпись кнопки переносится, а не вылезает за карточку */
  .seg-hero .btn { max-width: 100%; height: auto; min-height: 44px; padding-block: 11px; white-space: normal; text-align: center; }
}
/* Ревью вёрстки: широкое меню «Телефония в офис» на экранах 1280–1400 вылезало за правый край и давало горизонтальную прокрутку */
@media (max-width: 1400px) { .hdr__drop-menu--tasks { left: -200px; } }
/* подписи первого экрана на планшете и телефоне: шире колонка, переносы по слогам — те же 3–4 строки */
@media (max-width: 1279px) and (min-width: 768px) { .seg-hero--photo .seg-hero__body { width: 74%; } .seg-hero__lead { max-width: none; } }
@media (max-width: 767px) { .seg-hero__lead, .seg-lead { -webkit-hyphens: auto; hyphens: auto; } }   /* размер текста прежний, только переносы */
/* Ревью: карточки с иконкой (преимущества, шаги) — высота ближе к содержимому */
.seg-card { min-height: 220px; }
.seg-step { min-height: 200px; }
.ind-benefit, .seg-ind { min-height: 0; }
/* 1280–1440: подпись первого экрана в 4 строки без уменьшения шрифта — колонка текста чуть шире */
@media (max-width: 1440px) and (min-width: 1280px) { .seg-hero--photo .seg-hero__body { width: 53%; } .seg-hero__lead { max-width: none; } }
