/* ============================================================
   Блог — надстройка над sv2026.css
   ============================================================ */
.sv-sect { overflow: clip; }
.sv-sect > .sv-wrap { position: relative; z-index: 1; }
.sv-head { max-width: 760px; margin-bottom: 22px; }

/* первый экран: рубрики строкой и карточка «начните отсюда» */
.bl-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; max-width: 460px; }
.bl-chips a {
  display: block; padding: 9px 14px; background: var(--panel); color: var(--ink);
  border: 1px solid var(--line); font-size: 13px; font-weight: 700;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.bl-chips a:hover { border-color: var(--orange); color: var(--orange-ink); }

.bl-feature { display: block; color: inherit; }
/* снимок папки регламентов показываем целиком: обрезка режет названия файлов */
.bl-feature img { aspect-ratio: 1400 / 840 !important; object-fit: cover; object-position: center; }
.bl-feature__cap {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  display: block; padding: 16px 18px;
  background: rgba(18,22,26,.72);
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.bl-feature__cap b {
  display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orange-hot);
}
.bl-feature__cap i {
  display: block; margin-top: 6px; font-style: normal;
  font-size: 17px; font-weight: 800; line-height: 1.25; color: #fff; letter-spacing: -.01em;
}
.bl-feature .bl-card__go { margin-top: 10px; color: #fff; }
.bl-feature:hover .bl-card__go svg { transform: translateX(4px); }

/* сетка материалов */
.bl-grid { display: grid; gap: 14px; }
.bl-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 24px 22px 22px; color: inherit;
  transition: box-shadow .2s ease, transform .2s ease;
}
.bl-card > *:not(.sv-card__wm) { position: relative; z-index: 1; }
.bl-card h3 { font-size: 18px; line-height: 1.3; }
.bl-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.bl-card__go {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px;
  font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--orange-ink);
}
.bl-card__go svg { width: 22px; height: 11px; transition: transform .2s ease; }
.bl-card:hover { box-shadow: 0 14px 34px rgba(21,24,27,.13); transform: translateY(-2px); }
.bl-card:hover .bl-card__go svg { transform: translateX(4px); }
.bl-card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 42px; height: 3px; background: var(--orange);
}

/* фоновые приёмы секций: у соседних разные */
#sistema::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: 0; top: 0; width: 320px; height: 290px;
  color: rgba(21,24,27,.2);
  background-image: radial-gradient(currentColor 1.15px, transparent 1.3px);
  background-size: 17px 17px;
  -webkit-mask-image: radial-gradient(125% 125% at 100% 0, #000 26%, transparent 72%);
          mask-image: radial-gradient(125% 125% at 100% 0, #000 26%, transparent 72%);
}
#klienty::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 0; right: 0; top: 0; height: 9px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 13px);
  -webkit-mask-image: linear-gradient(90deg, #000 0 58%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0 58%, transparent 100%);
}
#praktika::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 320px; height: 400px; background-repeat: no-repeat; background-size: contain;
  background-image: url("../images/trace-b.svg"); right: 0; bottom: 10px; opacity: .55;
}
#put::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 0; bottom: 0; width: 300px; height: 260px;
  color: rgba(21,24,27,.18);
  background-image: radial-gradient(currentColor 1.15px, transparent 1.3px);
  background-size: 19px 19px;
  -webkit-mask-image: radial-gradient(120% 120% at 0 100%, #000 24%, transparent 70%);
          mask-image: radial-gradient(120% 120% at 0 100%, #000 24%, transparent 70%);
}

/* последнее поле при нечётном их числе — на всю ширину */
.sv-form input:nth-last-of-type(1):nth-of-type(odd) { grid-column: span 2; }

/* тёмный блок: рендер на всю высоту колонки со срезанным углом */
.sv-launch__grid { align-items: stretch; }
.sv-launch__visual { position: relative; display: flex; align-self: stretch; }
.sv-launch__visual img {
  width: 100%; height: 100%; aspect-ratio: auto !important;
  object-fit: cover !important; object-position: center;
  background: var(--dark);
  clip-path: polygon(var(--ch) 0, 100% 0, 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%, 0 100%, 0 var(--ch));
}
@media (max-width: 999px) {
  .sv-launch__visual img { height: auto; aspect-ratio: 16 / 9 !important; }
}

@media (min-width: 700px) {
  .bl-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1000px) {
  .sv-head { margin-bottom: 30px; }
  .bl-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .bl-card { padding: 28px 26px 26px; }
  .bl-card h3 { font-size: 19px; }
  .bl-feature__cap { left: 10px; right: 10px; bottom: 10px; padding: 16px 22px; }
  .bl-feature__cap i { font-size: 19px; }
  .sv-launch .sv-callouts { position: absolute; inset: 0; display: block; margin: 0; }
  .sv-launch .sv-callout { position: absolute; width: max-content; max-width: 190px; }
  .sv-launch .sv-callout--1 { left: -12px; top: 30%; }
  .sv-launch .sv-callout--2 { right: 2%; top: 8%; }
  .sv-launch .sv-callout--3 { right: -14px; top: 54%; }
  .sv-launch .sv-callout--4 { left: 22%; bottom: 5%; }
}

/* согласие ПДн в форме заявки: чекбокс, а не поле ввода (29.09.2026).
   Блок, а не flex: иначе «Даю согласие на» и ссылка встают двумя колонками. */
.sv-form .form-pdn { grid-column: 1 / -1; display: block; position: relative; padding-left: 28px;
  margin: 2px 0 4px; font-size: 14px; line-height: 1.45; color: var(--body); text-align: left; opacity: 1; }
.sv-form .form-pdn input { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; min-height: 0;
  margin: 0; padding: 0; accent-color: var(--orange); }
.sv-form .form-pdn a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* на телефоне форма в одну колонку: растяжка последнего поля на две — только с 700 px */
@media (max-width: 699px) { .sv-form input:nth-last-of-type(1):nth-of-type(odd) { grid-column: auto; } }
