/* Дизайн-студия (ТЗ-30 §5.6): свой визуальный язык внутри общей оболочки — язык препресса (метки реза и приводки,
   CMYK, шкалы цветопробы, вылеты пунктиром), ведущий цвет magenta, тёмные полосы navy, крупная типографика Unbounded. */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/assets/fonts/unbounded/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/assets/fonts/unbounded/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.ds {
  --ds-ink: #0A1628; --ds-ink-2: #0D1F3C; --ds-mag: #E5097F; --ds-mag-d: #B8066A; --ds-cyan: #00A0E3; --ds-yel: #FFED00;
  --ds-or: #FF6B1A; --ds-paper: #F7F4EE; --ds-line: rgba(10, 22, 40, .14); --ds-muted: #5b6474;
  --ds-display: 'Unbounded', 'DINPro', system-ui, sans-serif;
  color: var(--pc-text, #2D2D2D);
}
.ds .section { padding: 72px 0; }
.ds-h1, .ds-h2, .ds-h3 { font-family: var(--ds-display); letter-spacing: -.02em; color: var(--ds-ink); }
.ds-h1 { font-size: clamp(2rem, 1.1rem + 3.4vw, 3.6rem); line-height: 1.05; font-weight: 700; margin: 0 0 20px; }
.ds-h2 { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); line-height: 1.12; font-weight: 700; margin: 0 0 14px; }
.ds-h3 { font-size: 1.1rem; line-height: 1.25; font-weight: 600; margin: 0 0 8px; }
.ds-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ds-mag-d); margin-bottom: 14px; }
.ds-reg { width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; flex: none; }
.ds-reg::before, .ds-reg::after { content: ''; position: absolute; background: currentColor; }
.ds-reg::before { left: -5px; right: -5px; top: 50%; height: 1.5px; transform: translateY(-50%); }
.ds-reg::after { top: -5px; bottom: -5px; left: 50%; width: 1.5px; transform: translateX(-50%); }
.ds-head { max-width: 760px; margin-bottom: 36px; }
.ds-intro { font-size: 1.08rem; line-height: 1.6; color: var(--ds-muted); margin: 0; }
.ds-dark { background: var(--ds-ink); color: #fff; }
.ds-dark .ds-h2, .ds-dark .ds-h3 { color: #fff; }
.ds-dark .ds-intro { color: rgba(255, 255, 255, .72); }
.ds-dark .ds-eyebrow { color: #ff5fb1; }
.ds-paperbg { background: var(--ds-paper); }
.ds .btn-ds { background: var(--ds-mag); border: 0; color: #fff; font-weight: 700; padding: 14px 26px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: background .2s, transform .2s; }
.ds .btn-ds:hover, .ds .btn-ds:focus-visible { background: var(--ds-mag-d); color: #fff; transform: translateY(-1px); }
.ds .btn-ds-ghost { border: 1.5px solid var(--ds-ink); color: var(--ds-ink); background: transparent; font-weight: 700; padding: 13px 24px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.ds .btn-ds-ghost:hover { background: var(--ds-ink); color: #fff; }
.ds-dark .btn-ds-ghost, .ds-hero--sheet .btn-ds-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.ds-dark .btn-ds-ghost:hover, .ds-hero--sheet .btn-ds-ghost:hover { background: #fff; color: var(--ds-ink); }

/* ---------- первый экран ---------- */
.ds-hero { position: relative; overflow: hidden; padding: 18px 0 64px; }
.ds-hero .pc-breadcrumbs { margin-bottom: 26px; }
.ds-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.ds-lead { font-size: 1.15rem; line-height: 1.6; max-width: 600px; margin: 0 0 22px; }
.ds-chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.ds-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; background: #fff; border: 1px solid var(--ds-line); }
.ds-chips li i { color: var(--ds-mag); }
.ds-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ds-hero--sheet { background: var(--ds-ink); color: #fff; padding-bottom: 88px; background-image: radial-gradient(rgba(229, 9, 127, .22) 1.2px, transparent 1.3px); background-size: 14px 14px; }
.ds-hero--sheet::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 40%, var(--ds-ink) 35%, rgba(10, 22, 40, .6) 70%, rgba(10, 22, 40, .2)); pointer-events: none; }
.ds-hero--sheet .container { position: relative; z-index: 1; }
.ds-hero--sheet .ds-h1 { color: #fff; }
.ds-hero--sheet .ds-h1 em { font-style: normal; color: #ff3d9e; }
.ds-hero--sheet .ds-lead { color: rgba(255, 255, 255, .82); }
.ds-hero--sheet .ds-eyebrow { color: #ff5fb1; }
.ds-hero--sheet .ds-chips li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.ds-hero--sheet .ds-chips li i { color: #ff5fb1; }
.ds-hero--sheet .pc-breadcrumbs a, .ds-hero--sheet .pc-breadcrumbs li { color: rgba(255, 255, 255, .7); }

.ds-sheet { position: relative; padding: 22px; }
.ds-sheet-img { position: relative; outline: 1.5px dashed rgba(229, 9, 127, .9); outline-offset: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.ds-sheet-pic { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.ds-crop { position: absolute; width: 22px; height: 22px; border-color: rgba(255, 255, 255, .8); border-style: solid; border-width: 0; }
.ds-crop--tl { top: 0; left: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.ds-crop--tr { top: 0; right: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.ds-crop--bl { bottom: 0; left: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.ds-crop--br { bottom: 0; right: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.ds-sheet-note { position: absolute; right: 26px; bottom: -6px; font: 600 .7rem/1 var(--ds-display); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.ds-colorbar { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; display: grid; grid-template-columns: repeat(12, 1fr); }
.ds-colorbar i:nth-child(1) { background: var(--ds-cyan); } .ds-colorbar i:nth-child(2) { background: var(--ds-mag); }
.ds-colorbar i:nth-child(3) { background: var(--ds-yel); } .ds-colorbar i:nth-child(4) { background: #000; }
.ds-colorbar i:nth-child(5) { background: #3a8fd0; } .ds-colorbar i:nth-child(6) { background: #ee3a8c; }
.ds-colorbar i:nth-child(7) { background: #f5a623; } .ds-colorbar i:nth-child(8) { background: #444; }
.ds-colorbar i:nth-child(9) { background: #888; } .ds-colorbar i:nth-child(10) { background: #bbb; }
.ds-colorbar i:nth-child(11) { background: #e6e6e6; } .ds-colorbar i:nth-child(12) { background: #fff; }

/* ---------- макет из красок ---------- */
.ds-plates { margin: 0; }
.ds-plates svg { width: 100%; height: auto; display: block; max-width: 560px; margin-left: auto; overflow: visible; }
.ds-pl-paper { fill: #fff; filter: drop-shadow(0 24px 40px rgba(10, 22, 40, .18)); }
.ds-pl-art { isolation: isolate; }
.ds-pl { mix-blend-mode: multiply; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), opacity .6s; transform-box: view-box; }
.ds-pl-tag { opacity: 0; transition: opacity .5s, transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.ds-plates.is-split .ds-pl-c { transform: translate(-54px, -40px); }
.ds-plates.is-split .ds-pl-m { transform: translate(-18px, -13px); }
.ds-plates.is-split .ds-pl-y { transform: translate(18px, 13px); }
.ds-plates.is-split .ds-pl-k { transform: translate(54px, 40px); }
.ds-plates.is-split .ds-pl-tag { opacity: 1; }
.ds-plates.is-split .ds-pl-tag-c { transform: translate(-54px, -40px); }
.ds-plates.is-split .ds-pl-tag-m { transform: translate(-18px, -13px) translateY(20px); }
.ds-plates.is-split .ds-pl-tag-y { transform: translate(18px, 13px) translateY(40px); }
.ds-plates.is-split .ds-pl-tag-k { transform: translate(54px, 40px) translateY(60px); }
.ds-plates.is-split .ds-pl-art { clip-path: none; }
.ds-plates figcaption { display: flex; align-items: center; gap: 14px; margin-top: 14px; justify-content: flex-end; flex-wrap: wrap; }
.ds-plates-btn { border: 1.5px solid var(--ds-ink); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.ds-plates-btn[aria-pressed='true'] { background: var(--ds-ink); color: #fff; }
.ds-plates-note { font-size: .85rem; color: var(--ds-muted); max-width: 300px; }
@media (prefers-reduced-motion: reduce) { .ds-pl, .ds-pl-tag { transition: none; } }

/* ---------- что знает дизайнер ---------- */
.ds-knows { background: #fff; }
.ds-knows-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.ds-knows-scene { position: relative; background: var(--ds-paper); border-radius: 18px; padding: 18px; }
.ds-knows-svg { width: 100%; height: auto; display: block; }
.ds-k-obj { transition: opacity .3s; }
.ds-knows.has-active .ds-k-obj { opacity: .35; }
.ds-knows.has-active .ds-k-obj.is-on { opacity: 1; }
.ds-pin { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--ds-mag); color: #fff; font: 700 .95rem/1 var(--ds-display); cursor: pointer; box-shadow: 0 0 0 5px rgba(229, 9, 127, .22); transition: transform .2s, background .2s; }
.ds-pin::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ds-mag); opacity: 0; animation: ds-ping 2.4s infinite; }
.ds-pin:hover, .ds-pin:focus-visible { transform: translate(-50%, -50%) scale(1.12); }
.ds-pin.is-on { background: var(--ds-ink); box-shadow: 0 0 0 5px rgba(10, 22, 40, .2); }
.ds-pin.is-on::after { animation: none; }
@keyframes ds-ping { 0% { opacity: .8; transform: scale(.8); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .ds-pin::after { animation: none; } }
.ds-knows-list { list-style: none; margin: 0; padding: 0; counter-reset: k; }
.ds-knows-list li { border-bottom: 1px solid var(--ds-line); }
.ds-knows-q { width: 100%; text-align: left; background: none; border: 0; padding: 14px 0; display: flex; gap: 14px; align-items: center; font-weight: 700; font-size: 1.02rem; color: var(--ds-ink); cursor: pointer; }
.ds-knows-q b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 .8rem/1 var(--ds-display); border: 1.5px solid var(--ds-mag); color: var(--ds-mag); }
.ds-knows-a { padding: 0 0 16px 42px; }
.ds-knows-a p { margin: 0 0 8px; line-height: 1.55; }
.ds-knows-a a { font-weight: 700; color: var(--ds-mag-d); text-decoration: none; }
.ds-knows.is-js .ds-knows-a { display: none; }
.ds-knows.is-js li.is-on .ds-knows-a { display: block; }
.ds-knows li.is-on .ds-knows-q b { background: var(--ds-mag); color: #fff; }

@media (max-width: 991px) {
  .ds-hero-grid, .ds-knows-grid { grid-template-columns: 1fr; gap: 28px; }
  .ds-hero { padding-bottom: 48px; }
  .ds-plates svg { max-width: 420px; margin: 0 auto; }
  .ds-plates figcaption { justify-content: center; }
}
@media (max-width: 575px) {
  .ds .section { padding: 52px 0; }
  .ds-lead { font-size: 1.02rem; }
  .ds-chips li { font-size: .88rem; padding: 7px 12px; }
  .ds-hero-actions .btn-ds, .ds-hero-actions .btn-ds-ghost { width: 100%; justify-content: center; }
  .ds-pin { width: 28px; height: 28px; font-size: .8rem; }
  .ds-knows-scene { padding: 8px; }
}

/* ---------- цифры ---------- */
.ds-numbers { background: var(--ds-ink); color: #fff; padding: 34px 0; position: relative; }
.ds-numbers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ds-numbers li { display: flex; align-items: baseline; gap: 14px; border-left: 3px solid var(--ds-mag); padding-left: 18px; }
.ds-numbers li:nth-child(2) { border-color: var(--ds-cyan); }
.ds-numbers li:nth-child(3) { border-color: var(--ds-yel); }
.ds-numbers b { font: 700 clamp(1.6rem, 1rem + 1.6vw, 2.4rem)/1 var(--ds-display); white-space: nowrap; }
.ds-numbers span { color: rgba(255, 255, 255, .75); line-height: 1.3; }
@media (max-width: 767px) { .ds-numbers ul { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- сценарии ---------- */
.ds-scen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ds-scen-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 22px; border-radius: 18px; background: var(--ds-paper); color: var(--ds-ink); text-decoration: none; border: 1.5px solid transparent; transition: transform .2s, border-color .2s, box-shadow .2s; overflow: hidden; }
.ds-scen-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: var(--ds-mag); }
.ds-scen-card--2::before { background: var(--ds-cyan); } .ds-scen-card--3::before { background: var(--ds-yel); } .ds-scen-card--4::before { background: var(--ds-ink); }
.ds-scen-card > .bi { font-size: 1.8rem; color: var(--ds-mag); }
.ds-scen-card p { margin: 0; color: var(--ds-muted); line-height: 1.5; flex: 1; }
.ds-scen-btn { font-weight: 700; color: var(--ds-mag-d); }
.ds-scen-card:hover, .ds-scen-card:focus-visible { transform: translateY(-3px); border-color: var(--ds-mag); box-shadow: 0 14px 30px rgba(10, 22, 40, .1); color: var(--ds-ink); }

/* ---------- прайс ---------- */
.ds-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ds-filter button { border: 1.5px solid var(--ds-line); background: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .92rem; color: var(--ds-ink); cursor: pointer; }
.ds-filter button[aria-pressed='true'] { background: var(--ds-ink); border-color: var(--ds-ink); color: #fff; }
.ds-pgroups { display: grid; gap: 14px; }
.ds-pg { border: 1px solid var(--ds-line); border-radius: 16px; background: #fff; overflow: hidden; }
.ds-pg summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; cursor: pointer; font: 600 1.05rem/1.3 var(--ds-display); color: var(--ds-ink); background: var(--ds-paper); }
.ds-pg summary::-webkit-details-marker { display: none; }
.ds-pg summary .bi { transition: transform .2s; }
.ds-pg summary small { margin-left: auto; margin-right: 14px; font: 500 .9rem/1.2 var(--pc-font, 'DINPro', sans-serif); color: var(--ds-muted); white-space: nowrap; }
.ds-pg[open] summary .bi { transform: rotate(180deg); }
.ds-prows { list-style: none; margin: 0; padding: 0 22px; }
.ds-prow { display: grid; grid-template-columns: minmax(0, 1fr) 200px 190px 110px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--ds-line); scroll-margin-top: 120px; }
.ds-prow:last-child { border-bottom: 0; }
.ds-prow:target { background: rgba(229, 9, 127, .07); box-shadow: -22px 0 0 rgba(229, 9, 127, .07), 22px 0 0 rgba(229, 9, 127, .07); }
.ds-pname a { color: var(--ds-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(10, 22, 40, .25); }
.ds-pname a:hover { color: var(--ds-mag-d); border-color: var(--ds-mag); }
.ds-pname small { display: block; color: var(--ds-muted); font-size: .85rem; margin-top: 2px; }
.ds-pprice { font: 700 1.02rem/1.2 var(--ds-display); color: var(--ds-ink); }
.ds-pprice small { display: block; font: 500 .8rem/1.2 var(--pc-font, 'DINPro', sans-serif); color: var(--ds-muted); }
.ds-pterm { color: var(--ds-muted); font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.ds-porder { justify-self: end; font-weight: 700; color: var(--ds-mag-d); text-decoration: none; border: 1.5px solid var(--ds-mag); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.ds-porder:hover { background: var(--ds-mag); color: #fff; }
.ds-pmore { display: inline-flex; gap: 8px; margin: 4px 22px 16px; font-weight: 700; color: var(--ds-mag-d); text-decoration: none; }
.ds-pnote { margin: 18px 0 0; color: var(--ds-muted); font-size: .95rem; }
.ds-pnote a { color: var(--ds-mag-d); }

/* ---------- уровни ---------- */
.ds-lv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ds-lv { background: #fff; border-radius: 18px; padding: 26px 24px; position: relative; display: flex; flex-direction: column; border-top: 6px solid var(--ds-cyan); }
.ds-lv--standard { border-top-color: var(--ds-mag); } .ds-lv--premium { border-top-color: var(--ds-ink); }
.ds-lv-n { position: absolute; right: 22px; top: 16px; font: 800 2.4rem/1 var(--ds-display); color: rgba(10, 22, 40, .08); }
.ds-lv-for { color: var(--ds-muted); margin: 0 0 14px; }
.ds-lv dl { margin: 0 0 18px; flex: 1; }
.ds-lv dl div { padding: 9px 0; border-bottom: 1px dashed var(--ds-line); }
.ds-lv dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ds-muted); font-weight: 700; }
.ds-lv dd { margin: 2px 0 0; font-weight: 600; color: var(--ds-ink); }
.ds-lv-btn { align-self: flex-start; font-weight: 700; color: var(--ds-mag-d); text-decoration: none; }
.ds-lv-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.ds-lv-notes > div { background: #fff; border-radius: 18px; padding: 22px 24px; }
.ds-lv-notes p { margin: 0 0 8px; line-height: 1.55; }
.ds-lv-notes ul { margin: 0 0 10px; padding-left: 20px; }
.ds-muted { color: var(--ds-muted); }

/* ---------- шаги ---------- */
.ds-steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255, 255, 255, .08); border-radius: 18px; overflow: hidden; }
.ds-steps-list li { background: var(--ds-ink-2); padding: 24px 24px 26px; }
.ds-step-n { display: block; font: 800 1.9rem/1 var(--ds-display); color: transparent; -webkit-text-stroke: 1.5px #ff5fb1; margin-bottom: 14px; }
.ds-steps-list p { margin: 0; color: rgba(255, 255, 255, .72); line-height: 1.5; }
.ds-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.ds-way { border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 22px; }
.ds-way > .bi { font-size: 1.6rem; color: var(--ds-cyan); display: block; margin-bottom: 10px; }
.ds-way p { margin: 0; color: rgba(255, 255, 255, .75); line-height: 1.55; }
.ds-dark a:not(.btn-ds):not(.btn-ds-ghost) { color: #7fd3ff; }
.ds-dark .form-card { color: var(--pc-text, #2D2D2D); }
.ds-dark .form-card a { color: var(--pc-link, #0077B3); }
.ds .ds-hero--sheet .pc-breadcrumbs a, .ds .ds-hero--sheet .pc-breadcrumbs li { color: rgba(255, 255, 255, .72); }

/* ---------- печать ---------- */
.ds-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ds-tiles a { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 16px; background: var(--ds-paper); color: var(--ds-ink); text-decoration: none; font-weight: 700; transition: background .2s, color .2s; }
.ds-tiles a > .bi:first-child { font-size: 1.6rem; color: var(--ds-mag); }
.ds-tile-go { margin-left: auto; opacity: .4; }
.ds-tiles a:hover { background: var(--ds-ink); color: #fff; }
.ds-tiles a:hover > .bi:first-child { color: #ff5fb1; }
.ds-fx { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ds-fx .ds-h3 { margin: 0; }
.ds-fx ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ds-fx a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ds-line); color: var(--ds-ink); text-decoration: none; font-weight: 600; }
.ds-fx a:hover { border-color: var(--ds-mag); color: var(--ds-mag-d); }

/* ---------- отзывы, FAQ, текст, «сами» ---------- */
.ds-reviews-all { margin: 18px 0 0; } .ds-reviews-all a { font-weight: 700; color: var(--ds-mag-d); text-decoration: none; }
.ds-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; }
.ds-faq-list details { border-bottom: 1px solid var(--ds-line); }
.ds-faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 1.05rem; color: var(--ds-ink); cursor: pointer; }
.ds-faq-list summary::-webkit-details-marker { display: none; }
.ds-faq-list summary .bi { color: var(--ds-mag); transition: transform .2s; flex: none; }
.ds-faq-list details[open] summary .bi { transform: rotate(45deg); }
.ds-faq-list p { margin: 0 0 18px; line-height: 1.6; color: #3b4352; }
.ds-faq-list a, .ds-text a { color: var(--ds-mag-d); }
.ds-text { background: var(--ds-paper); }
.ds-text-in { max-width: 860px; }
.ds-text-in p { line-height: 1.7; }
.ds-self-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ds-self-grid a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border: 1.5px dashed rgba(229, 9, 127, .5); border-radius: 16px; color: var(--ds-ink); text-decoration: none; }
.ds-self-grid a:hover { border-style: solid; border-color: var(--ds-mag); }
.ds-self-grid .bi { font-size: 1.5rem; color: var(--ds-mag); }
.ds-self-grid span { color: var(--ds-muted); font-size: .93rem; line-height: 1.45; }

/* ---------- бриф ---------- */
.ds-brief { scroll-margin-top: var(--pc-sticky-top, 90px); background-image: radial-gradient(rgba(229, 9, 127, .18) 1.2px, transparent 1.3px); background-size: 14px 14px; }
.ds-brief-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
.ds-brief-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ds-brief-points li { display: flex; gap: 12px; color: rgba(255, 255, 255, .8); line-height: 1.45; }
.ds-brief-points .bi { color: #ff5fb1; font-size: 1.1rem; }
.ds-form { color: var(--pc-text, #2D2D2D); }
.ds-form .form-fields { display: grid; gap: 16px; }
.ds-fld { margin: 0; border: 0; padding: 0; min-width: 0; }
.ds-fld legend { float: none; font-size: .95rem; }
.ds-chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-chip { position: relative; cursor: pointer; }
.ds-chip input { position: absolute; opacity: 0; inset: 0; }
.ds-chip span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1.5px solid #cfd5de; font-size: .92rem; font-weight: 600; background: #fff; transition: all .15s; }
.ds-chip input:checked + span { background: var(--ds-mag); border-color: var(--ds-mag); color: #fff; }
.ds-chip input:focus-visible + span { outline: 2px solid var(--ds-cyan); outline-offset: 2px; }
.ds-chipset--radio .ds-chip input:checked + span { background: var(--ds-ink); border-color: var(--ds-ink); }
.ds-qty { margin-top: 10px; max-width: 260px; }
.ds-fld-err { color: #c0002f; font-size: .88rem; margin-top: 6px; }
.ds-brief-items { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(229, 9, 127, .08); font-size: .93rem; }
.ds-brief-submit { width: 100%; justify-content: center; font-size: 1.05rem; }
.ds-brief-submit:disabled { opacity: .6; }

@media (max-width: 1199px) {
  .ds-prow { grid-template-columns: minmax(0, 1fr) 170px 170px 100px; }
  .ds-scen-grid, .ds-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .ds-lv-grid, .ds-ways, .ds-steps-list { grid-template-columns: 1fr; }
  .ds-lv-notes, .ds-faq-grid, .ds-brief-grid { grid-template-columns: 1fr; gap: 20px; }
  .ds-prow { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .ds-pterm { grid-column: 1; grid-row: 2; }
  .ds-porder { grid-column: 2; grid-row: 2; }
}
@media (max-width: 575px) {
  .ds-scen-grid, .ds-tiles { grid-template-columns: 1fr; }
  .ds-prows { padding: 0 16px; } .ds-pg summary { padding: 14px 16px; font-size: .98rem; }
  .ds-pg summary small { display: none; }
  .ds-prow { grid-template-columns: minmax(0, 1fr) auto; }
  .ds-pname { grid-column: 1 / -1; }
  .ds-pprice { grid-column: 1; grid-row: 2; } .ds-pterm { grid-column: 1; grid-row: 3; } .ds-porder { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
  .ds-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: -12px; }
  .ds-filter button { flex: none; }
}

/* ---------- фирменный стиль ---------- */
.ds-c3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ds-c3 { border: 1px solid var(--ds-line); border-radius: 18px; padding: 26px 24px; background: #fff; scroll-margin-top: 120px; }
.ds-c3 > .bi { font-size: 1.8rem; color: var(--ds-mag); }
.ds-c3-price { font: 700 1.5rem/1.1 var(--ds-display); color: var(--ds-ink); margin: 8px 0 6px; }
.ds-c3-term { color: var(--ds-muted); display: flex; gap: 6px; align-items: center; margin-bottom: 12px; }
.ds-c3-lv { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px dashed var(--ds-line); font-size: .92rem; color: var(--ds-muted); display: grid; gap: 4px; }
.ds-c3-lv b { color: var(--ds-ink); font-weight: 600; }
.ds-c3 p a { color: var(--ds-mag-d); font-weight: 700; text-decoration: none; white-space: nowrap; }
.ds-bset-wrap { position: relative; display: grid; place-items: center; min-height: 560px; }
.ds-bset-core { width: 230px; text-align: center; }
.ds-bset-core svg { width: 100%; display: block; }
.ds-bset-core b { display: block; margin-top: 6px; font: 700 1.1rem var(--ds-display); }
.ds-bset-list { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.ds-bset-list li { --a: calc(360deg / var(--n) * var(--i) - 90deg); position: absolute; left: 50%; top: 50%; width: 170px; margin: -36px 0 0 -85px; transform: rotate(var(--a)) translate(250px) rotate(calc(-1 * var(--a))); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px 10px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; }
.ds-bset-list .bi { font-size: 1.4rem; color: #ff5fb1; }
.ds-vec-box { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center; background: var(--ds-paper); border-radius: 22px; padding: 30px 34px; }
.ds-vec-box p { line-height: 1.6; }
.ds-vec-pic svg { width: 100%; display: block; }
.ds-blog-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ds-blog-list a { font-weight: 600; color: var(--ds-mag-d); text-decoration: none; }

/* ---------- упаковка ---------- */
.ds-fold-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ds-fold-stage { background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .2); border-radius: 18px; padding: 16px; }
.ds-fold-svg { width: 100%; display: block; }
.ds-fold-net, .ds-fold-art, .ds-fold-box { transition: opacity .6s, transform .8s cubic-bezier(.2, .8, .2, 1); transform-box: view-box; transform-origin: 50% 50%; }
.ds-fold[data-state='net'] .ds-fold-art { opacity: 0; }
.ds-fold[data-state='net'] .ds-fold-box, .ds-fold[data-state='art'] .ds-fold-box { opacity: 0; transform: scale(.6); }
.ds-fold[data-state='box'] .ds-fold-net { opacity: 0; transform: scale(.7) rotate(-6deg); }
.ds-fold-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ds-fold-steps button { width: 100%; text-align: left; display: flex; gap: 16px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: rgba(255, 255, 255, .75); cursor: pointer; line-height: 1.45; }
.ds-fold-steps button b { font: 800 1.3rem/1 var(--ds-display); color: #ff5fb1; }
.ds-fold-steps button strong { display: block; color: #fff; margin-bottom: 2px; }
.ds-fold-steps button[aria-selected='true'] { background: rgba(229, 9, 127, .16); border-color: var(--ds-mag); }
.ds-codes-list, .ds-niche-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.ds-codes-list li { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 14px; background: var(--ds-paper); min-width: 220px; scroll-margin-top: 120px; }
.ds-codes-list span { font: 700 1.05rem var(--ds-display); color: var(--ds-ink); }
.ds-niches { padding-top: 0 !important; }
.ds-niche-list a { display: inline-flex; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ds-line); color: var(--ds-ink); font-weight: 600; text-decoration: none; }
.ds-niche-list a:hover { border-color: var(--ds-mag); color: var(--ds-mag-d); }
@media (prefers-reduced-motion: reduce) { .ds-fold-net, .ds-fold-art, .ds-fold-box { transition: none; } }

/* ---------- подготовка макетов ---------- */
.ds-free-grid, .ds-bleed-grid, .ds-cmyk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.ds-free-list { list-style: none; counter-reset: f; margin: 0; padding: 0; display: grid; gap: 12px; }
.ds-free-list li { counter-increment: f; display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--ds-paper); font-weight: 600; color: var(--ds-ink); }
.ds-free-list li::before { content: counter(f); flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #1a8f3c; color: #fff; font: 700 .95rem var(--ds-display); }
.ds-mist-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ds-mist-card { border: 1px solid var(--ds-line); border-radius: 18px; padding: 16px 18px 20px; display: flex; flex-direction: column; background: #fff; }
.ds-mist-pic svg { width: 100%; display: block; border-radius: 10px; margin-bottom: 14px; }
.ds-mist-card .ds-a { display: none; }
.ds-mist-card.is-after .ds-a { display: inline; }
.ds-mist-card.is-after .ds-b { display: none; }
.ds-mist-card p { margin: 0 0 8px; line-height: 1.5; font-size: .95rem; }
.ds-mist-a { display: none; color: #1a6b33; }
.ds-mist-card.is-after .ds-mist-a { display: block; }
.ds-mist-card.is-after .ds-mist-b { display: none; }
.ds-mist-card:not(.is-js) .ds-mist-a { display: block; }
.ds-mist-btn { margin-top: auto; align-self: flex-start; border: 1.5px solid var(--ds-ink); background: #fff; border-radius: 999px; padding: 7px 16px; font-weight: 700; cursor: pointer; }
.ds-mist-btn[aria-pressed='true'] { background: #1a8f3c; border-color: #1a8f3c; color: #fff; }
.ds-mist-card:not(.is-js) .ds-mist-btn { display: none; }
.ds-cmyk .ds-plates-btn { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.ds-cmyk .ds-plates-btn[aria-pressed='true'] { background: #fff; color: var(--ds-ink); }
.ds-cmyk .ds-plates-note { color: rgba(255, 255, 255, .65); }
.ds-cmyk .ds-pl-marks { stroke: #fff; }
.ds-cmyk .ds-pl-marks path, .ds-cmyk .ds-pl-marks circle { stroke: rgba(255, 255, 255, .8); }
.ds-cmyk .ds-pl-tag-k { fill: #fff; }

/* ---------- портфолио (каркас 30А) ---------- */
.ds-pf-axes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ds-pf-axes li { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1.5px dashed var(--ds-line); border-radius: 16px; }
.ds-pf-axes .bi { font-size: 1.5rem; color: var(--ds-mag); }
.ds-pf-axes span { color: var(--ds-muted); }

@media (max-width: 991px) {
  .ds-c3-grid, .ds-mist-grid, .ds-pf-axes { grid-template-columns: 1fr 1fr; }
  .ds-fold-grid, .ds-free-grid, .ds-bleed-grid, .ds-cmyk-grid, .ds-vec-box { grid-template-columns: 1fr; gap: 24px; }
  .ds-bset-wrap { min-height: 0; display: block; }
  .ds-bset-core { margin: 0 auto 20px; width: 170px; }
  .ds-bset-list { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
  .ds-bset-list li { position: static; width: auto; margin: 0; transform: none; }
  .ds-vec-pic { max-width: 280px; }
}
@media (max-width: 575px) {
  .ds-c3-grid, .ds-mist-grid, .ds-pf-axes { grid-template-columns: 1fr; }
  .ds-vec-box { padding: 22px; }
}

/* ---------- брендбук (анкета Ф14) ---------- */
.ds-bb-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.ds-bb-grid > div > p { line-height: 1.65; }
.ds-bb .ds-intro { margin-bottom: 14px; }
.ds-bb-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; line-height: 1.5; }
.ds-bb-card { position: sticky; top: 140px; background: var(--ds-ink); color: #fff; border-radius: 22px; padding: 28px; border-top: 6px solid var(--ds-mag); }
.ds-bb-card > .bi { font-size: 2rem; color: #ff5fb1; }
.ds-bb-card .ds-c3-price { color: #fff; font-size: 1.9rem; }
.ds-bb-card .ds-c3-term { color: rgba(255, 255, 255, .75); }
.ds-bb-card p { color: rgba(255, 255, 255, .8); line-height: 1.55; }
@media (max-width: 991px) { .ds-bb-grid { grid-template-columns: 1fr; gap: 24px; } .ds-bb-card { position: static; } }
