/* ============================================================
   DevLoft, слой 02.10.2026: навигация, услуги, цены, FAQ,
   портфолио, контакты, 404, подвал, согласия, cookie, чат.
   Подключается ПОСЛЕ ws-cw.css. Все новые блоки - с префиксом dl-,
   чтобы не спорить со старыми правилами. Анимации - только
   transform и opacity (исключение - раскрытие аккордеона).
   ============================================================ */

:root {
  --dl-bg: #12141a;
  --dl-bg-2: #171a21;
  --dl-card: #1a1e27;
  --dl-card-2: #20252f;
  --dl-line: rgba(255, 255, 255, .09);
  --dl-line-2: rgba(255, 255, 255, .16);
  --dl-white: #fff;
  --dl-text: rgba(255, 255, 255, .80);
  --dl-muted: #8f98a8;
  --dl-accent: #3ea4e1;
  --dl-accent-h: #5cb8ed;
  --dl-accent-10: rgba(62, 164, 225, .10);
  --dl-accent-20: rgba(62, 164, 225, .20);
  --dl-ok: #3ccf91;
  --dl-r: 14px;
  --dl-r-s: 10px;
  --dl-ease: cubic-bezier(.22, .8, .24, 1);
  --dl-font: "Golos Text", -apple-system, "Segoe UI", Arial, sans-serif;
  /* крупные заголовки - тем же шрифтом, что и на остальных страницах сайта */
  --dl-head: "Gilroy-Heavy", "Golos Text", -apple-system, "Segoe UI", Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { background: var(--dl-bg); font-family: var(--dl-font); }

.dl-wrap,
.dl-wrap *,
.dl-wrap *::before,
.dl-wrap *::after { box-sizing: border-box; }

.dl-wrap {
  font-family: var(--dl-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dl-text);
  background: var(--dl-bg);
  overflow-x: hidden;
}

/* сброс правил старой темы: там h3 по центру с отступами, label подчёркнут, чекбоксы скрыты */
.dl-wrap h1, .dl-wrap h2, .dl-wrap h3, .dl-wrap h4, .dl-wrap h5, .dl-wrap h6 { text-align: left; padding: 0; }
.dl-wrap label, .dl-chat label, .dl-cookie label { order: 0; text-decoration: none; font-family: var(--dl-font); }
.dl-page ul[class], .dl-page ol[class] { padding-left: 0; }
.dl-wrap a { color: var(--dl-accent); text-decoration: none; }
.dl-wrap a:hover { color: var(--dl-accent-h); }

.dl-container { width: 100%; max-width: 1240px; padding-inline: 16px; margin-inline: auto; }

.dl-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── заголовок секции: номер + заголовок + пояснение справа ── */
.dl-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 40px; }
.dl-head__num { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--dl-accent); }
.dl-wrap .dl-head__title { margin: 0; font-family: var(--dl-head); font-size: 40px; line-height: 1.12; font-weight: 400; color: var(--dl-white); text-transform: none; }
.dl-head__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--dl-muted); justify-self: end; }
.dl-section { padding: 84px 0; }
.dl-section--tight { padding: 56px 0; }
.dl-section--soft { background: var(--dl-bg-2); }

/* ── кнопки ── */
.dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border: 1px solid transparent; border-radius: 999px;
  background: var(--dl-accent); color: #fff !important; font: 600 15px/1.2 var(--dl-font);
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform .3s var(--dl-ease), background-color .2s ease, border-color .2s ease;
}
.dl-btn:hover { background: #2f95d4; transform: translateY(-2px); }
.dl-btn:active { transform: translateY(0); }
.dl-btn--ghost { background: transparent; border-color: var(--dl-line-2); }
.dl-btn--ghost:hover { background: var(--dl-accent-10); border-color: var(--dl-accent); }
.dl-btn--white { background: #fff; color: #12141a !important; }
.dl-btn--white:hover { background: #e9eef4; }
.dl-btn--sm { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.dl-btn--block { display: flex; width: 100%; }
.dl-btn svg { width: 18px; height: 18px; flex: none; }
.dl-btn--tg { background: #2aabee; }
.dl-btn--tg:hover { background: #1f9bdc; }
.dl-btn--wa { background: #25d366; color: #06301b !important; }
.dl-btn--wa:hover { background: #1fbe5a; }

.dl-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dl-link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--dl-ease); }
.dl-link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   ШАПКА: своё меню вместо модуля megamenu
   ============================================================ */
#ws-header { z-index: 900; }
#ws-header .ws-header__inner { display: flex; align-items: center; gap: 0; }

.dl-nav { display: flex; align-items: center; height: 100%; margin-left: 34px; }
.dl-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; height: 100%; }
.dl-nav__item { height: 100%; display: flex; align-items: center; }
.dl-nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: rgba(255, 255, 255, .86) !important; font: 600 15px/1 var(--dl-font);
  cursor: pointer; text-decoration: none !important; transition: background-color .2s ease, color .2s ease;
}
.dl-nav__link:hover,
.dl-nav__item.is-open > .dl-nav__link,
.dl-nav__link.is-current { background: rgba(255, 255, 255, .07); color: #fff !important; }
.dl-nav__link svg { width: 12px; height: 12px; transition: transform .3s var(--dl-ease); }
.dl-nav__item.is-open > .dl-nav__link svg { transform: rotate(180deg); }

/* мега-панель услуг */
.dl-mega {
  position: fixed; left: 0; right: 0; top: var(--dl-hdr-h, 92px); z-index: 890;
  padding: 0 16px; opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .22s ease, transform .3s var(--dl-ease), visibility 0s linear .3s; pointer-events: none;
}
.dl-nav__item.is-open .dl-mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; pointer-events: auto; }
.dl-mega__box {
  max-width: 1208px; margin: 8px auto 0; padding: 28px; border: 1px solid var(--dl-line); border-radius: 20px;
  background: rgba(22, 25, 32, .98); box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 260px; gap: 8px 28px;
}
.dl-mega__col h6 { margin: 0 0 10px; padding: 0 10px; font: 600 12px/1.3 var(--dl-font); color: var(--dl-muted); text-transform: none; }
.dl-mega__col ul { margin: 0; padding: 0; list-style: none; }
.dl-mega__col a {
  display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border-radius: 10px;
  color: #fff !important; text-decoration: none !important; transition: background-color .18s ease;
}
.dl-mega__col a:hover { background: rgba(255, 255, 255, .06); }
.dl-mega__col a b { font-weight: 600; font-size: 15px; line-height: 1.3; }
.dl-mega__col a span { font-size: 13px; line-height: 1.3; color: var(--dl-muted); }
.dl-mega__col a:hover span { color: var(--dl-accent); }
.dl-mega__aside {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 20px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(62, 164, 225, .16), rgba(62, 164, 225, .04));
  border: 1px solid rgba(62, 164, 225, .22);
}
.dl-mega__aside b { display: block; margin-bottom: 6px; font-size: 17px; line-height: 1.3; color: #fff; }
.dl-mega__aside p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--dl-text); }
.dl-mega__aside-links { display: flex; flex-direction: column; gap: 8px; }

.ws-header__actions { gap: 16px !important; }
.dl-hdr-cta { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* бургер и мобильное меню */
.dl-burger {
  display: none; width: 44px; height: 44px; padding: 0; margin-right: 8px; border: 1px solid var(--dl-line-2); border-radius: 12px;
  background: transparent; cursor: pointer; position: relative; flex: none;
}
.dl-burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--dl-ease), opacity .2s ease; }
.dl-burger span:nth-child(1) { top: 15px; }
.dl-burger span:nth-child(2) { top: 21px; }
.dl-burger span:nth-child(3) { top: 27px; }
html.dl-menu-open .dl-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
html.dl-menu-open .dl-burger span:nth-child(2) { opacity: 0; }
html.dl-menu-open .dl-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.dl-drawer {
  position: fixed; inset: 0; z-index: 880; padding: calc(var(--dl-hdr-h, 72px) + 12px) 16px 28px; background: #12141a;
  overflow-y: auto; -webkit-overflow-scrolling: touch; opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .22s ease, transform .3s var(--dl-ease), visibility 0s linear .3s;
}
html.dl-menu-open .dl-drawer { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html.dl-menu-open, html.dl-menu-open body { overflow: hidden; }
.dl-drawer__group { border-bottom: 1px solid var(--dl-line); }
.dl-drawer__group > summary {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; list-style: none; cursor: pointer;
  font: 700 18px/1.2 var(--dl-font); color: #fff;
}
.dl-drawer__group > summary::-webkit-details-marker { display: none; }
.dl-drawer__group > summary svg { width: 14px; height: 14px; color: var(--dl-muted); transition: transform .3s var(--dl-ease); }
.dl-drawer__group[open] > summary svg { transform: rotate(180deg); }
.dl-drawer__group ul { margin: 0; padding: 0 0 14px; list-style: none; }
.dl-drawer__group li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; color: var(--dl-text) !important; font-size: 16px; }
.dl-drawer__group li a span { color: var(--dl-muted); font-size: 14px; white-space: nowrap; }
.dl-drawer__link { display: block; padding: 16px 2px; border-bottom: 1px solid var(--dl-line); font: 700 18px/1.2 var(--dl-font); color: #fff !important; }
.dl-drawer__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.dl-drawer__cta .dl-btn:first-child { grid-column: 1 / -1; }

@media (max-width: 1180px) {
  .dl-nav { display: none; }
  .dl-burger { display: block; }
  #ws-header .ws-header__logo { margin-right: auto; }
  .dl-hdr-cta { display: none !important; }
}
@media (min-width: 1181px) { .dl-drawer { display: none; } }
@media (max-width: 420px) { .ws-header__soc { display: none !important; } }

/* хлебные крошки */
.dl-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; color: var(--dl-muted); }
.dl-crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.dl-crumbs li + li::before { content: ''; width: 5px; height: 5px; border-top: 1.5px solid var(--dl-muted); border-right: 1.5px solid var(--dl-muted); transform: rotate(45deg); opacity: .7; }
.dl-crumbs a { color: var(--dl-muted) !important; }
.dl-crumbs a:hover { color: #fff !important; }
.dl-crumbs [aria-current] { color: var(--dl-text); }

/* ============================================================
   ГЛАВНАЯ: все услуги (панели с «плавающей» подсветкой строки)
   ============================================================ */
.dl-svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dl-svc__panel { position: relative; padding: 26px 14px 14px; border: 1px solid var(--dl-line); border-radius: 20px; background: var(--dl-card); overflow: hidden; }
.dl-svc__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 14px 16px; }
.dl-svc__cap h3 { margin: 0; font: 700 21px/1.25 var(--dl-font); color: #fff; text-transform: none; }
.dl-svc__cap span { font-size: 13px; color: var(--dl-muted); white-space: nowrap; }
.dl-svc__rows { position: relative; margin: 0; padding: 0; list-style: none; }
/* подсветка: один слой на панель, переезжает к строке под курсором */
.dl-svc__glide {
  position: absolute; left: 0; right: 0; top: 0; height: 60px; border-radius: 14px; pointer-events: none;
  background: linear-gradient(90deg, rgba(62, 164, 225, .16), rgba(62, 164, 225, .05));
  box-shadow: inset 0 0 0 1px rgba(62, 164, 225, .28); opacity: 0;
  transition: transform .42s var(--dl-ease), height .42s var(--dl-ease), opacity .25s ease; will-change: transform;
}
.dl-svc__rows.is-hot .dl-svc__glide { opacity: 1; }
.dl-svc__row { position: relative; z-index: 1; }
.dl-svc__row + .dl-svc__row::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; background: var(--dl-line); }
.dl-svc__a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 18px; align-items: center; gap: 14px; padding: 13px 14px; color: #fff !important; text-decoration: none !important; }
.dl-svc__ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--dl-accent); transition: background-color .25s ease, color .25s ease, transform .4s var(--dl-ease); }
.dl-svc__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dl-svc__a:hover .dl-svc__ico { background: var(--dl-accent); color: #fff; transform: scale(1.06) rotate(-4deg); }
.dl-svc__name { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.dl-svc__desc { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--dl-muted); }
.dl-svc__price { font-weight: 600; font-size: 14.5px; color: var(--dl-accent); white-space: nowrap; text-align: right; }
.dl-svc__go { width: 18px; height: 18px; color: #fff; opacity: 0; transform: translateX(-8px); transition: opacity .25s ease, transform .4s var(--dl-ease); }
.dl-svc__a:hover .dl-svc__go { opacity: 1; transform: none; }
.dl-svc__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 28px; padding: 22px 26px; border: 1px dashed var(--dl-line-2); border-radius: 18px; }
.dl-svc__foot p { margin: 0; color: var(--dl-text); }
.dl-svc__foot b { color: #fff; }

/* ============================================================
   ЦЕНЫ: список форматов с выбором (главная)
   ============================================================ */
.dl-prc { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: start; }
.dl-prc__aside { position: sticky; top: 96px; }
.dl-prc__aside .dl-head__title { margin-bottom: 18px; }
.dl-prc__aside p { margin: 0 0 22px; color: var(--dl-muted); }
.dl-prc__facts { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; }
.dl-prc__facts li { position: relative; padding-left: 30px; color: var(--dl-text); }
.dl-prc__facts li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--dl-accent-20) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ea4e1' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }

.dl-plans { display: grid; gap: 12px; }
.dl-plan { border: 1px solid var(--dl-line); border-radius: 18px; background: var(--dl-card); transition: border-color .25s ease, background-color .25s ease; }
.dl-plan.is-on { border-color: var(--dl-accent); background: #1b212c; box-shadow: 0 0 0 1px var(--dl-accent); }
.dl-plan__head { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; padding: 20px 22px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font-family: var(--dl-font); }
.dl-plan__radio { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: border-color .25s ease; }
.dl-plan__radio::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--dl-accent); transform: scale(0); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.dl-plan.is-on .dl-plan__radio { border-color: var(--dl-accent); }
.dl-plan.is-on .dl-plan__radio::after { transform: scale(1); }
.dl-plan__name { display: block; font-weight: 700; font-size: 19px; line-height: 1.25; color: #fff; }
.dl-plan__for { display: block; margin-top: 3px; font-size: 14px; line-height: 1.35; color: var(--dl-muted); }
.dl-plan__price { text-align: right; white-space: nowrap; }
.dl-plan__price b { display: block; font-weight: 700; font-size: 20px; line-height: 1.2; color: #fff; }
.dl-plan__price span { font-size: 13px; color: var(--dl-muted); }
.dl-plan__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.32, .72, 0, 1); }
.dl-plan.is-on .dl-plan__body { grid-template-rows: 1fr; }
.dl-plan__in { overflow: hidden; min-height: 0; }
.dl-plan__pad { padding: 4px 22px 22px 62px; }
.dl-plan__list { margin: 0 0 18px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 22px; }
.dl-plan__list li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.45; color: var(--dl-text); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .4s var(--dl-ease); }
.dl-plan.is-on .dl-plan__list li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 120ms); }
.dl-plan__list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ea4e1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5 9-11'/%3E%3C/svg%3E") center/contain no-repeat; }
.dl-plan__tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.dl-plan__tier { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.dl-plan__tier b { display: block; font-size: 16px; color: #fff; }
.dl-plan__tier span { display: block; font-size: 13px; line-height: 1.35; color: var(--dl-muted); }
.dl-plan__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 18px; border-top: 1px solid var(--dl-line); }
.dl-prc__more { margin-top: 18px; padding: 18px 22px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--dl-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; font-size: 15px; }

/* ============================================================
   ТАРИФЫ МАГАЗИНА: три карточки, средняя приподнята
   ============================================================ */
.dl-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; perspective: 1400px; margin-top: 36px; }
.dl-tier { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border: 1px solid var(--dl-line); border-radius: 22px; background: var(--dl-card); transition: transform .9s var(--dl-ease), opacity .5s ease; }
.dl-tier--top { border: 2px solid var(--dl-accent); background: #1b212c; z-index: 2; }
.dl-tier__flag { position: absolute; top: -1px; right: -1px; padding: 6px 14px; border-radius: 0 20px 0 14px; background: var(--dl-accent); color: #fff; font-size: 13px; font-weight: 600; }
.dl-tier__name { margin: 0; font: 700 22px/1.2 var(--dl-font); color: #fff; text-transform: none; }
.dl-tier__for { margin: 6px 0 18px; font-size: 14.5px; line-height: 1.45; color: var(--dl-muted); min-height: 42px; }
.dl-tier__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.dl-tier__price b { font-size: 38px; line-height: 1; font-weight: 800; color: #fff; }
.dl-tier__price s { font-size: 17px; color: var(--dl-muted); }
.dl-tier__term { margin: 8px 0 20px; font-size: 14px; color: var(--dl-muted); }
.dl-tier__list { margin: 0 0 22px; padding: 20px 0 0; list-style: none; display: grid; gap: 10px; border-top: 1px solid var(--dl-line); flex: 1; align-content: start; }
.dl-tier__list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: var(--dl-text); }
.dl-tier__list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ea4e1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5 9-11'/%3E%3C/svg%3E") center/contain no-repeat; }
.dl-tier__list li.is-key { color: #fff; font-weight: 600; }
@media (min-width: 1024px) {
  html.dl-anim .dl-tiers .dl-tier { opacity: 0; transform: translateY(46px); }
  html.dl-anim .dl-tiers.is-in .dl-tier { opacity: 1; transform: none; }
  html.dl-anim .dl-tiers.is-in .dl-tier:nth-child(1) { transform: translateX(10px) scale(.965); transform-origin: right center; transition-delay: .1s; }
  html.dl-anim .dl-tiers.is-in .dl-tier:nth-child(3) { transform: translateX(-10px) scale(.965); transform-origin: left center; transition-delay: .1s; }
  html.dl-anim .dl-tiers.is-in .dl-tier--top { transform: translateY(-14px); }
  html.dl-anim .dl-tiers.is-in .dl-tier:hover { transform: translateY(-6px) scale(1); }
  html.dl-anim .dl-tiers.is-in .dl-tier--top:hover { transform: translateY(-20px); }
}

/* таблица сравнения / прайс */
.dl-table-wrap { margin-top: 28px; border: 1px solid var(--dl-line); border-radius: 18px; overflow: hidden; background: var(--dl-card); }
.dl-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dl-table th:first-child { width: 54%; }
.dl-table th:last-child { width: 22%; }
.dl-table th, .dl-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--dl-line); }
.dl-table tr:last-child td { border-bottom: 0; }
.dl-table thead th { font-weight: 600; font-size: 13.5px; color: var(--dl-muted); background: rgba(255, 255, 255, .03); }
.dl-table td b, .dl-table td strong { color: #fff; font-weight: 600; }
.dl-table td small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--dl-muted); }
.dl-table .is-price { white-space: nowrap; color: var(--dl-accent); font-weight: 600; }
.dl-table .is-yes { color: var(--dl-ok); font-weight: 700; }
.dl-table .is-no { color: rgba(255, 255, 255, .25); }
.dl-table tbody tr { transition: background-color .18s ease; }
.dl-table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.dl-table a { font-weight: 600; }

/* ============================================================
   FAQ: вкладки-категории и аккордеон
   ============================================================ */
.dl-faq__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.dl-faq__tab { position: relative; overflow: hidden; padding: 10px 18px; border: 1px solid var(--dl-line-2); border-radius: 999px; background: transparent; color: var(--dl-muted); font: 600 15px/1.2 var(--dl-font); cursor: pointer; transition: color .35s ease, border-color .35s ease; }
.dl-faq__tab::before { content: ''; position: absolute; inset: 0; background: var(--dl-accent); transform: translateY(101%); transition: transform .45s cubic-bezier(.6, -.28, .74, .05); }
.dl-faq__tab span { position: relative; z-index: 1; }
.dl-faq__tab:hover { color: #fff; }
.dl-faq__tab.is-on { color: #fff; border-color: var(--dl-accent); }
.dl-faq__tab.is-on::before { transform: none; transition-timing-function: var(--dl-ease); }
.dl-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.dl-faq__panel:not(.is-on) { display: none; }
.dl-faq__panel.is-on { display: grid; gap: 12px; animation: dl-up .5s var(--dl-ease) both; }
@keyframes dl-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.dl-faq__side { position: sticky; top: 96px; padding: 24px; border-radius: 18px; border: 1px solid var(--dl-line); background: var(--dl-card); }
.dl-faq__side b { display: block; margin-bottom: 8px; font-size: 18px; line-height: 1.3; color: #fff; }
.dl-faq__side p { margin: 0 0 18px; font-size: 15px; color: var(--dl-muted); }
.dl-faq__side .dl-btn + .dl-btn { margin-top: 10px; }

.dl-acc { display: grid; gap: 12px; }
.dl-acc details, details.dl-qa { border: 1px solid var(--dl-line); border-radius: 16px; background: var(--dl-card); transition: background-color .3s ease, border-color .3s ease; }
.dl-acc details[open], details.dl-qa[open] { background: var(--dl-card-2); border-color: var(--dl-line-2); }
.dl-acc summary, details.dl-qa > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; list-style: none; cursor: pointer; font: 600 17px/1.35 var(--dl-font); color: rgba(255, 255, 255, .88); transition: color .2s ease; }
.dl-acc summary::-webkit-details-marker, details.dl-qa > summary::-webkit-details-marker { display: none; }
.dl-acc summary::marker, details.dl-qa > summary::marker { content: ''; }
.dl-acc summary:hover, details.dl-qa > summary:hover, .dl-acc details[open] summary, details.dl-qa[open] > summary { color: #fff; }
.dl-acc summary::after, details.dl-qa > summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .06) 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.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .35s var(--dl-ease), background-color .25s ease; }
.dl-acc details[open] summary::after, details.dl-qa[open] > summary::after { transform: rotate(135deg); background-color: var(--dl-accent); }
.dl-acc .dl-acc__body, details.dl-qa > .dl-acc__body { overflow: hidden; }
.dl-acc .dl-acc__in, details.dl-qa .dl-acc__in { padding: 0 20px 20px; font-size: 15.5px; line-height: 1.6; color: var(--dl-text); }
.dl-acc .dl-acc__in p { margin: 0 0 10px; }
.dl-acc .dl-acc__in p:last-child { margin-bottom: 0; }

/* ============================================================
   ОТЗЫВЫ (правки к карусели)
   ============================================================ */
.dl-rev-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: -14px 0 30px; }
.dl-rev-top__score { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--dl-line); background: rgba(255, 255, 255, .03); font-size: 15px; color: var(--dl-text); }
.dl-rev-top__score b { color: #fff; }
.dl-rev-top__score i { font-style: normal; color: #ffc24a; }
.cw-review__date { font-size: 13px; color: var(--dl-muted); }
.cw-review__stars { color: #ffc24a !important; }

/* ============================================================
   CTA-плашка
   ============================================================ */
.dl-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px 40px; align-items: center; padding: 44px 48px; border-radius: 24px; border: 1px solid rgba(62, 164, 225, .26); background: linear-gradient(120deg, #17212c 0%, #161a22 60%); }
.dl-cta::before { content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(62, 164, 225, .22), transparent); pointer-events: none; }
.dl-wrap .dl-cta h2 { margin: 0 0 10px; font: 400 32px/1.15 var(--dl-head); color: #fff; text-transform: none; }
.dl-cta p { margin: 0; color: var(--dl-text); }
.dl-cta__btns { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (услуги): единый вид
   ============================================================ */
.dl-page, #information-information.dl-page { padding: 34px 0 84px; margin: 0; width: auto; max-width: none; }
.dl-page p, .dl-page li, .dl-page span, .dl-page strong, .dl-page b, .dl-page div, .dl-page a, .dl-page dt, .dl-page dd, .dl-page td, .dl-page th { font-family: var(--dl-font); }
.dl-page .dl-crumbs, .dl-wrap .dl-crumbs { padding: 0; }
.dl-steps-only { padding: 0 !important; }
.dl-page h1 { margin: 0 0 16px; font: 400 44px/1.1 var(--dl-head); color: #fff; text-transform: none; }
.dl-page h2 { margin: 0 0 24px; font: 400 30px/1.18 var(--dl-head); color: #fff; text-transform: none; }
.dl-page h3 { margin: 0 0 8px; font: 700 18px/1.3 var(--dl-font); color: #fff; text-transform: none; }
.dl-page h4 { margin: 0 0 6px; font: 700 16px/1.3 var(--dl-font); color: #fff; text-transform: none; }
.dl-page p { margin: 0 0 14px; }
.dl-page ul, .dl-page ol { margin: 0 0 14px; padding-left: 22px; }
.dl-page li { margin-bottom: 6px; }
.dl-page strong, .dl-page b { color: #fff; font-weight: 600; }

.dl-page .ws-svc-hero { position: relative; overflow: hidden; margin: 0 0 44px; padding: 44px 44px 0; border: 1px solid var(--dl-line); border-radius: 24px; background: linear-gradient(135deg, #18222e 0%, #171a21 55%); }
.dl-page .ws-svc-hero::before { content: ''; position: absolute; right: -140px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(62, 164, 225, .2), transparent); pointer-events: none; }
.dl-page .ws-svc-hero > * { position: relative; }
.dl-page .ws-svc-hero__badge { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(62, 164, 225, .35); background: var(--dl-accent-10); color: var(--dl-accent); font-size: 13.5px; font-weight: 600; }
.dl-page .ws-svc-hero > p { max-width: none; font-size: 18px; line-height: 1.55; color: var(--dl-text); margin-bottom: 26px; }
.dl-page .ws-svc-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.dl-page .ws-svc-hero__meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 -44px; padding: 0; list-style: none; border-top: 1px solid var(--dl-line); }
.dl-page .ws-svc-hero__meta li { margin: 0; padding: 20px 24px 22px 44px; border-right: 1px solid var(--dl-line); }
.dl-page .ws-svc-hero__meta li:last-child { border-right: 0; }
.dl-page .ws-svc-hero__meta strong { display: block; font-size: 22px; line-height: 1.2; font-weight: 700; color: #fff; }
.dl-page .ws-svc-hero__meta span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.35; color: var(--dl-muted); }

.dl-page .ws-svc-lead { max-width: none; margin-bottom: 52px; font-size: 18px; line-height: 1.65; color: var(--dl-text); }
.dl-page .ws-svc-section { margin-bottom: 60px; }
.dl-page .ws-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
/* шесть карточек - два ровных ряда по три, а не 4 + 2 */
.dl-page .ws-svc-grid:has(> :nth-child(6):last-child), .dl-page .ws-svc-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dl-page .ws-svc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dl-page .ws-svc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dl-page .ws-svc-card { margin: 0; padding: 24px; border: 1px solid var(--dl-line); border-radius: 18px; background: var(--dl-card); transition: transform .4s var(--dl-ease), border-color .25s ease; }
.dl-page .ws-svc-card:hover { transform: translateY(-4px); border-color: rgba(62, 164, 225, .4); }
.dl-page .ws-svc-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dl-text); }
.dl-page .ws-svc-checklist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.dl-page .ws-svc-checklist li { position: relative; margin: 0; padding: 13px 0 13px 32px; border-bottom: 1px solid var(--dl-line); font-size: 15.5px; line-height: 1.5; }
.dl-page .ws-svc-checklist li::before { content: ''; position: absolute; left: 0; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--dl-accent-20) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ea4e1' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
/* Шаги. Колонок столько, сколько шагов (их бывает 4 или 5). Разделители - зазор в 1px,
   сквозь который виден фон контейнера: линии всегда ровные и не двоятся с рамкой. */
.dl-page .ws-svc-steps { counter-reset: dlstep; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px; border: 1px solid #2a2f3a; border-radius: 18px; background: #2a2f3a; overflow: hidden; }
.dl-page .ws-svc-step, .dl-page .ws-svc-step:hover { counter-increment: dlstep; margin: 0; padding: 24px 22px 26px; border: 0; border-radius: 0; background: var(--dl-card); box-shadow: none; transform: none; transition: background-color .25s ease; }
.dl-page .ws-svc-step:hover { background: var(--dl-card-2); }
.dl-page .ws-svc-step::before { content: '0' counter(dlstep); display: block; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--dl-accent); width: auto; height: auto; background: none; border-radius: 0; }
.dl-page .ws-svc-step p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--dl-text); }
.dl-page .ws-svc-pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl-page .ws-svc-price-card { margin: 0; padding: 26px; border: 1px solid var(--dl-line); border-radius: 18px; background: var(--dl-card); }
.dl-page .ws-svc-price-card--accent { border: 2px solid var(--dl-accent); background: #1b212c; }
.dl-page .ws-svc-price-card__name { font-size: 15px; font-weight: 600; color: var(--dl-muted); }
.dl-page .ws-svc-price-card__price { margin: 8px 0 4px; font-size: 28px; line-height: 1.15; font-weight: 800; color: #fff; }
.dl-page .ws-svc-price-card__term { margin-bottom: 18px; font-size: 14px; color: var(--dl-muted); }
.dl-page .ws-svc-price-card ul { margin: 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--dl-line); display: grid; gap: 9px; }
.dl-page .ws-svc-price-card ul li { position: relative; margin: 0; padding-left: 24px; font-size: 14.5px; line-height: 1.45; color: var(--dl-text); }
.dl-page .ws-svc-price-card ul li::before { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ea4e1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5 9-11'/%3E%3C/svg%3E") center/contain no-repeat; }
.dl-page .ws-svc-note { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--dl-accent); border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, .03); font-size: 14.5px; color: var(--dl-muted); }
.dl-page .ws-svc-faq { display: grid; gap: 12px; }
.dl-page .ws-svc-faq details { border: 1px solid var(--dl-line); border-radius: 16px; background: var(--dl-card); border-bottom: 1px solid var(--dl-line); padding: 0; transition: background-color .3s ease, border-color .3s ease; }
.dl-page .ws-svc-faq details[open] { background: var(--dl-card-2); border-color: var(--dl-line-2); }
.dl-page .ws-svc-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; list-style: none; cursor: pointer; font: 600 17px/1.35 var(--dl-font); color: rgba(255, 255, 255, .9); }
.dl-page .ws-svc-faq summary::-webkit-details-marker { display: none; }
/* старая тема рисует слева «+» и «−» через ::before; в открытом состоянии её правило сильнее
   и «−» возвращался, сдвигая вопрос в центр - гасим в обоих состояниях */
.dl-page .ws-svc-faq summary::before, .dl-page .ws-svc-faq details[open] summary::before, .dl-page .ws-svc-faq details[open] > summary::before,
.dl-acc summary::before, .dl-acc details[open] summary::before, details.dl-qa > summary::before, details.dl-qa[open] > summary::before { content: none !important; display: none !important; }
.dl-page .ws-svc-faq summary, .dl-acc summary, details.dl-qa > summary { text-align: left; }
.dl-page .ws-svc-faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .06) 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.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .35s var(--dl-ease), background-color .25s ease; }
.dl-page .ws-svc-faq details[open] summary::after { transform: rotate(135deg); background-color: var(--dl-accent); }
.dl-page .ws-svc-faq .dl-acc__body { overflow: hidden; }
.dl-page .ws-svc-faq .dl-acc__in { padding: 0 20px 20px; }
.dl-page .ws-svc-faq .dl-acc__in p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--dl-text); }
.dl-page .ws-svc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin: 0; padding: 30px 34px; border: 1px solid rgba(62, 164, 225, .26); border-radius: 22px; background: linear-gradient(120deg, #17212c 0%, #161a22 60%); }
.dl-page .ws-svc-cta p { margin: 0; flex: 1 1 420px; font-size: 18px; line-height: 1.5; font-weight: 600; color: #fff; }
.dl-page .ws-svc-cta .btn, .dl-page .ws-svc-cta .dl-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 26px; border: 0; border-radius: 999px; background: var(--dl-accent); color: #fff !important; font: 600 15px/1.2 var(--dl-font); box-shadow: none; text-shadow: none; }

/* цена «от» с опциями (лендинг, корпоративный, индивидуальная разработка) */
.dl-from { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
.dl-from__main { padding: 32px; border: 2px solid var(--dl-accent); border-radius: 22px; background: #1b212c; display: flex; flex-direction: column; }
.dl-from__label { font-size: 15px; font-weight: 600; color: var(--dl-muted); }
.dl-from__price { margin: 6px 0 4px; font-size: 46px; line-height: 1.05; font-weight: 800; color: #fff; }
.dl-from__term { margin-bottom: 22px; font-size: 15px; color: var(--dl-muted); }
.dl-from__main ul { margin: 0 0 26px; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--dl-line); display: grid; gap: 10px; flex: 1; align-content: start; }
.dl-from__main li { position: relative; margin: 0; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.dl-from__main li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ea4e1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5 9-11'/%3E%3C/svg%3E") center/contain no-repeat; }
.dl-from__opts { padding: 28px 30px; border: 1px solid var(--dl-line); border-radius: 22px; background: var(--dl-card); }
.dl-from__opts h3 { margin-bottom: 4px; font-size: 20px; }
.dl-from__opts > p { margin-bottom: 14px; font-size: 14.5px; color: var(--dl-muted); }
.dl-from__opts dl { margin: 0; }
.dl-from__opts dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--dl-line); }
.dl-from__opts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.dl-from__opts dt { font-weight: 400; font-size: 15px; line-height: 1.4; color: var(--dl-text); }
.dl-from__opts dd { margin: 0; white-space: nowrap; font-weight: 600; font-size: 15px; color: #fff; }

/* соседние услуги */
.dl-rel { margin-top: 60px; }
.dl-rel__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.dl-rel__list li { margin: 0; }
.dl-rel__list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 100%; padding: 18px 20px; border: 1px solid var(--dl-line); border-radius: 16px; background: var(--dl-card); color: #fff !important; transition: border-color .25s ease, transform .4s var(--dl-ease); }
.dl-rel__list a:hover { border-color: rgba(62, 164, 225, .45); transform: translateY(-3px); }
.dl-rel__list b { display: block; font-size: 16px; line-height: 1.3; }
.dl-rel__list span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--dl-accent); }
.dl-rel__list svg { width: 18px; height: 18px; flex: none; color: var(--dl-muted); transition: transform .4s var(--dl-ease), color .25s ease; }
.dl-rel__list a:hover svg { transform: translateX(4px); color: #fff; }

/* текстовые страницы (документы) */
/* документы - на всю ширину контейнера, как остальные страницы */
.dl-doc { max-width: none; }
/* старая тема снимает маркеры со всех списков - в документах возвращаем */
.dl-doc ul { list-style: disc; padding-left: 22px; }
.dl-doc ol { list-style: decimal; padding-left: 22px; }
.dl-doc li::marker { color: var(--dl-accent); }
.dl-doc h2 { margin: 38px 0 14px; font-size: 22px; }
.dl-doc h3 { margin: 22px 0 8px; font-size: 17px; }
.dl-doc p, .dl-doc li { font-size: 15.5px; line-height: 1.7; }
.dl-doc__meta { margin-bottom: 28px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--dl-line); background: var(--dl-card); font-size: 14.5px; color: var(--dl-muted); }
.dl-doc table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; }
.dl-doc th, .dl-doc td { padding: 10px 12px; border: 1px solid var(--dl-line); text-align: left; vertical-align: top; }
.dl-doc th { color: #fff; font-weight: 600; background: rgba(255, 255, 255, .03); }

/* ============================================================
   ПОРТФОЛИО
   ============================================================ */
.dl-pf-top { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0 0 40px; padding: 0; list-style: none; }
.dl-pf-top li { margin: 0; }
.dl-pf-top b { display: block; font-size: 34px; line-height: 1.1; font-weight: 800; color: #fff; }
.dl-pf-top span { font-size: 14px; color: var(--dl-muted); }
.dl-pf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.dl-pf__item { grid-column: span 2; margin: 0; }
.dl-pf__item--big { grid-column: span 3; }
.dl-case { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--dl-line); border-radius: 20px; background: var(--dl-card); overflow: hidden; transition: border-color .3s ease, transform .5s var(--dl-ease); }
.dl-case:hover { border-color: rgba(62, 164, 225, .45); transform: translateY(-4px); }
.dl-case__shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #0e1014; cursor: pointer; text-align: left; }
.dl-case__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #20242d; }
.dl-case__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.dl-case__bar em { margin-left: 8px; font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, .45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-case__view { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.dl-pf__item--big .dl-case__view { aspect-ratio: 16 / 10; }
.dl-case__view img { display: block; width: 100%; height: auto; transform: translateY(0); transition: transform 1.2s var(--dl-ease); will-change: transform; }
.dl-case__zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(14, 16, 20, .82); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .4s var(--dl-ease); }
.dl-case__zoom svg { width: 14px; height: 14px; }
.dl-case:hover .dl-case__zoom, .dl-case__shot:focus-visible .dl-case__zoom { opacity: 1; transform: none; }
.dl-case__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.dl-case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 12.5px; line-height: 1.3; color: var(--dl-text); }
.dl-tag--accent { background: var(--dl-accent-10); color: var(--dl-accent); }
.dl-case__title { margin: 0; font: 700 19px/1.3 var(--dl-font); color: #fff; text-transform: none; }
.dl-case__text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--dl-muted); flex: 1; }
.dl-case__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 6px; font-size: 14.5px; font-weight: 600; }
.dl-case__acts button { padding: 0; border: 0; background: none; color: var(--dl-accent); font: inherit; cursor: pointer; }
.dl-case__acts button:hover { color: var(--dl-accent-h); }

/* просмотр работы */
.dl-lb { position: fixed; inset: 0; z-index: 1200; display: grid; grid-template-columns: minmax(0, 1fr) 380px; background: rgba(8, 9, 12, .94); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.dl-lb.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.dl-lb__scroll { overflow-y: auto; padding: 28px; -webkit-overflow-scrolling: touch; }
.dl-lb__scroll img { display: block; width: 100%; max-width: 1100px; height: auto; margin: 0 auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.dl-lb__side { display: flex; flex-direction: column; gap: 14px; padding: 76px 30px 30px; border-left: 1px solid var(--dl-line); background: #14171d; overflow-y: auto; }
.dl-lb__side h3 { margin: 0; font: 400 24px/1.2 var(--dl-head); color: #fff; }
.dl-lb__side p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--dl-text); }
.dl-lb__facts { margin: 6px 0; padding: 0; list-style: none; display: grid; gap: 0; }
.dl-lb__facts li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--dl-line); font-size: 14.5px; }
.dl-lb__facts li span { color: var(--dl-muted); }
.dl-lb__facts li b { color: #fff; font-weight: 600; text-align: right; }
.dl-lb__nav { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; }
.dl-lb__nav button, .dl-lb__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--dl-line-2); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease; }
.dl-lb__nav button:hover, .dl-lb__close:hover { background: var(--dl-accent-10); border-color: var(--dl-accent); }
.dl-lb__nav svg, .dl-lb__close svg { width: 18px; height: 18px; }
.dl-lb__close { position: absolute; top: 18px; right: 22px; z-index: 2; }
html.dl-lock, html.dl-lock body { overflow: hidden; }

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.dl-ct { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: start; }
.dl-ct__ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dl-way { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 178px; padding: 24px; border: 1px solid var(--dl-line); border-radius: 20px; background: var(--dl-card); color: #fff !important; text-align: left; cursor: pointer; font-family: var(--dl-font); overflow: hidden; transition: transform .45s var(--dl-ease), border-color .25s ease; }
.dl-way:hover { transform: translateY(-4px); border-color: var(--dl-way, var(--dl-accent)); }
.dl-way::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, var(--dl-way, var(--dl-accent)), transparent); opacity: .16; transition: opacity .3s ease, transform .6s var(--dl-ease); }
.dl-way:hover::after { opacity: .3; transform: scale(1.25); }
.dl-way__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: var(--dl-way, var(--dl-accent)); color: #fff; }
.dl-way__ico svg { width: 24px; height: 24px; }
.dl-way b { font-size: 19px; line-height: 1.25; font-weight: 700; }
.dl-way span { font-size: 14.5px; line-height: 1.45; color: var(--dl-muted); }
.dl-way .dl-way__ico { color: #fff; }
.dl-way em { margin-top: auto; padding-top: 12px; font-style: normal; font-size: 15px; font-weight: 600; color: #fff; }
.dl-way--tg { --dl-way: #2aabee; }
/* широкая карточка-строка: иконка, текст, справа контакт */
.dl-way--row { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
.dl-way--row .dl-way__ico { margin: 0; }
.dl-way--row .dl-way__txt { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 200px; }
.dl-way--row em { margin: 0; padding: 0; }
.dl-way--tg .dl-way__ico { margin: 0; width: 60px; height: 60px; border-radius: 18px; }
.dl-way--tg .dl-way__ico svg { width: 32px; height: 32px; }
.dl-way--tg .dl-way__txt { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 200px; }
.dl-way--tg b { font-size: 24px; }
.dl-way--tg em { margin: 0; padding: 12px 22px; border-radius: 999px; background: #2aabee; }
.dl-way--wa { --dl-way: #25d366; }
.dl-way--mail { --dl-way: #7c8cff; }
.dl-way--chat { --dl-way: #3ea4e1; }
.dl-way--kwork { --dl-way: #ffa53a; }

.dl-formcard { padding: 30px; border: 1px solid var(--dl-line); border-radius: 22px; background: var(--dl-card); position: sticky; top: 96px; }
.dl-formcard h2 { margin-bottom: 8px; font-size: 24px; }
.dl-formcard > p { margin-bottom: 20px; font-size: 15px; color: var(--dl-muted); }

.dl-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.dl-info__card { padding: 24px; border: 1px solid var(--dl-line); border-radius: 20px; background: var(--dl-card); }
.dl-info__card h3 { margin-bottom: 12px; font-size: 17px; }
.dl-info__card p, .dl-info__card li { font-size: 14.5px; line-height: 1.6; color: var(--dl-text); margin-bottom: 6px; }
.dl-info__card ul { margin: 0; padding: 0; list-style: none; }
.dl-info__card dl { margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.dl-info__card dt { color: var(--dl-muted); font-weight: 400; }
.dl-info__card dd { margin: 0; color: #fff; }

/* ── поля форм ── */
.dl-form { display: grid; gap: 12px; }
.dl-field { position: relative; }
.dl-field label { display: block; margin-bottom: 6px; font-size: 13.5px; color: var(--dl-muted); font-weight: 400; }
.dl-input { display: block; width: 100%; padding: 13px 16px; border: 1px solid var(--dl-line-2); border-radius: 12px; background: rgba(255, 255, 255, .04); color: #fff; font: 400 16px/1.4 var(--dl-font); outline: none; transition: border-color .2s ease, background-color .2s ease; }
.dl-input::placeholder { color: rgba(255, 255, 255, .35); }
.dl-input:focus { border-color: var(--dl-accent); background: rgba(62, 164, 225, .06); }
.dl-input.is-invalid { border-color: #ff6b6b; }
textarea.dl-input { resize: vertical; min-height: 84px; }
.dl-err { display: block; min-height: 0; font-size: 13px; color: #ff8585; }
.dl-err:not(:empty) { margin-top: 5px; }
.dl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
label.dl-check { display: grid !important; position: relative; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.45; color: var(--dl-muted); cursor: pointer; font-weight: 400; margin: 2px 0 0; }
.dl-check input { display: block !important; position: absolute; left: 0; top: 0; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.dl-check i { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--dl-line-2); background: rgba(255, 255, 255, .04); display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease; }
.dl-check i::after { content: ''; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5 9-11'/%3E%3C/svg%3E") center/contain no-repeat; transform: scale(0); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.dl-check input:checked + i { background: var(--dl-accent); border-color: var(--dl-accent); }
.dl-check input:checked + i::after { transform: scale(1); }
.dl-check input:focus-visible + i { box-shadow: 0 0 0 3px var(--dl-accent-20); }
.dl-check.is-invalid i { border-color: #ff6b6b; }
.dl-check a { color: var(--dl-text) !important; text-decoration: underline !important; text-underline-offset: 2px; }
.dl-form__note { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--dl-muted); }
.dl-form__note a { color: var(--dl-text) !important; text-decoration: underline !important; }
.dl-form .dl-btn.is-loading { pointer-events: none; opacity: .7; }
.dl-form__done { display: none; padding: 26px 8px; text-align: center; }
.dl-form__done.is-visible { display: block; animation: dl-up .5s var(--dl-ease) both; }
.dl-form__done svg { width: 54px; height: 54px; margin-bottom: 12px; fill: none; stroke: var(--dl-ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dl-form__done b { display: block; font-size: 20px; color: #fff; margin-bottom: 6px; }
.dl-form__done p { margin: 0; color: var(--dl-muted); }

/* модальное окно заявки: новые поля внутри старого контейнера */
.cw-lead__modal .dl-form { margin-top: 18px; }
.cw-lead__alt { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--dl-line); font-size: 14px; color: var(--dl-muted); flex-wrap: wrap; }
.cw-lead__alt a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--dl-line-2); color: #fff !important; font-weight: 600; font-size: 13.5px; }
.cw-lead__alt a:hover { border-color: var(--dl-accent); }
.cw-lead__alt svg { width: 15px; height: 15px; }

/* ============================================================
   404
   ============================================================ */
.dl-404 { min-height: calc(100vh - 92px - 120px); display: grid; align-items: center; padding: 56px 0 72px; }
.dl-404__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.dl-404__num { position: relative; font-family: var(--dl-head); font-weight: 400; font-size: clamp(120px, 21vw, 280px); line-height: .86; font-weight: 800; color: transparent; -webkit-text-stroke: 2px rgba(62, 164, 225, .55); user-select: none; }
.dl-404__num span { display: inline-block; animation: dl-float 6s ease-in-out infinite; }
.dl-404__num span:nth-child(2) { color: var(--dl-accent); -webkit-text-stroke: 0; animation-delay: -2s; }
.dl-404__num span:nth-child(3) { animation-delay: -4s; }
@keyframes dl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.dl-wrap .dl-404 h1 { margin: 0 0 14px; font: 400 38px/1.12 var(--dl-head); color: #fff; text-transform: none; }
.dl-404 p { margin: 0 0 24px; font-size: 17px; color: var(--dl-text); }
.dl-404__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.dl-404__links { margin: 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--dl-line); display: flex; flex-wrap: wrap; gap: 8px; }
.dl-404__links li { margin: 0; }
.dl-404__links a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--dl-line-2); color: var(--dl-text) !important; font-size: 14.5px; transition: border-color .2s ease, color .2s ease; }
.dl-404__links a:hover { border-color: var(--dl-accent); color: #fff !important; }
.dl-404__cap { display: block; width: 100%; margin-bottom: 4px; font-size: 13.5px; color: var(--dl-muted); }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
#ws-footer.dl-footer { padding: 64px 0 0; background: #0e1014; border-top: 1px solid var(--dl-line); font-family: var(--dl-font); }
.dl-footer__top { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(4, minmax(0, 1fr)); gap: 36px 32px; padding-bottom: 44px; }
.dl-footer__brand p { margin: 16px 0 20px; font-size: 14.5px; line-height: 1.6; color: var(--dl-muted); }
.dl-soc { display: flex; gap: 8px; }
.dl-soc a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--dl-line-2); color: rgba(255, 255, 255, .8) !important; transition: transform .4s var(--dl-ease), background-color .25s ease, border-color .25s ease, color .25s ease; }
.dl-soc a svg { width: 16px; height: 16px; fill: currentColor; }
.dl-soc a:hover { transform: translateY(-3px); color: #fff !important; }
.dl-soc a.is-tg:hover { background: #2aabee; border-color: #2aabee; }
.dl-soc a.is-wa:hover { background: #25d366; border-color: #25d366; }
.dl-soc a.is-mail:hover { background: #7c8cff; border-color: #7c8cff; }
.dl-soc a.is-kw:hover { background: #ffa53a; border-color: #ffa53a; }
.dl-footer__col h5 { margin: 0 0 16px; font: 600 13px/1.3 var(--dl-font); color: var(--dl-muted); text-transform: none; letter-spacing: 0; }
.dl-footer__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dl-footer__col a { font-size: 15px; line-height: 1.35; color: rgba(255, 255, 255, .82) !important; transition: color .2s ease; }
.dl-footer__col a:hover { color: var(--dl-accent) !important; }
.dl-footer__legal { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px 40px; align-items: start; padding: 22px 0 26px; border-top: 1px solid var(--dl-line); font-size: 13px; line-height: 1.6; color: var(--dl-muted); }
.dl-footer__legal p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--dl-muted); }
.dl-footer__docs li { font-size: 13px; }
.dl-footer__docs { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; justify-content: flex-end; }
.dl-footer__docs a, .dl-footer__docs button { padding: 0; border: 0; background: none; font: inherit; color: var(--dl-muted) !important; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .2); }
.dl-footer__docs a:hover, .dl-footer__docs button:hover { color: #fff !important; }

/* ============================================================
   COOKIE
   ============================================================ */
.dl-cookie { position: fixed; left: 20px; bottom: 20px; z-index: 1100; width: min(400px, calc(100vw - 40px)); padding: 16px 18px; border: 1px solid var(--dl-line-2); border-radius: 18px; background: rgba(24, 27, 35, .98); box-shadow: 0 24px 70px rgba(0, 0, 0, .55); font: 400 14px/1.55 var(--dl-font); color: var(--dl-text); opacity: 0; transform: translateY(24px); visibility: hidden; transition: opacity .3s ease, transform .5s var(--dl-ease), visibility 0s linear .5s; }
.dl-cookie.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.dl-cookie b { display: block; margin-bottom: 4px; font-size: 14.5px; line-height: 1.3; color: #fff; }
.dl-cookie p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.4; color: var(--dl-text); }
.dl-cookie .dl-btn--sm { min-height: 34px; padding: 7px 14px; font-size: 13px; }
.dl-cookie a { color: #fff !important; text-decoration: underline !important; text-underline-offset: 2px; }
.dl-cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   ЧАТ
   ============================================================ */
.dl-chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 1000; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--dl-accent); color: #fff; font: 600 15px/1 var(--dl-font); cursor: pointer; box-shadow: 0 14px 40px rgba(62, 164, 225, .38); transition: transform .4s var(--dl-ease), opacity .25s ease; }
.dl-chat-fab:hover { transform: translateY(-3px); }
.dl-chat-fab svg { width: 22px; height: 22px; }
.dl-chat-fab i { position: absolute; top: 4px; right: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--dl-ok); border: 2px solid var(--dl-accent); }
html.dl-chat-open .dl-chat-fab { opacity: 0; pointer-events: none; transform: scale(.9); }
.dl-chat { position: fixed; right: 22px; bottom: 22px; z-index: 1001; width: min(390px, calc(100vw - 24px)); height: min(620px, calc(100vh - 44px)); display: flex; flex-direction: column; border: 1px solid var(--dl-line-2); border-radius: 22px; background: #151920; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(24px) scale(.97); transform-origin: right bottom; transition: opacity .25s ease, transform .45s var(--dl-ease), visibility 0s linear .45s; font-family: var(--dl-font); }
html.dl-chat-open .dl-chat { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dl-chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--dl-line); background: #1a1f28; }
.dl-chat__ava { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--dl-accent); color: #fff; flex: none; }
.dl-chat__ava svg { width: 22px; height: 22px; }
.dl-chat__ava::after { content: ''; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--dl-ok); border: 2px solid #1a1f28; }
.dl-chat__who { flex: 1; min-width: 0; }
.dl-chat__who b { display: block; font-size: 15.5px; line-height: 1.25; color: #fff; }
.dl-chat__who span { display: block; font-size: 12.5px; color: var(--dl-muted); }
.dl-chat__x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: grid; place-items: center; }
.dl-chat__x svg { width: 16px; height: 16px; }
.dl-chat__log { flex: 1; overflow-y: auto; padding: 16px 16px 6px; display: flex; flex-direction: column; gap: 10px; -webkit-overflow-scrolling: touch; }
.dl-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; animation: dl-up .35s var(--dl-ease) both; }
.dl-msg--ai { align-self: flex-start; background: #222834; color: var(--dl-text); border-bottom-left-radius: 6px; }
.dl-msg--me { align-self: flex-end; background: var(--dl-accent); color: #fff; border-bottom-right-radius: 6px; }
.dl-msg a { color: #fff !important; text-decoration: underline !important; }
.dl-msg--typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.dl-msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); animation: dl-dot 1.2s ease-in-out infinite; }
.dl-msg--typing i:nth-child(2) { animation-delay: .15s; }
.dl-msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dl-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.dl-chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 16px 10px; }
.dl-chat__chips button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--dl-line-2); background: transparent; color: var(--dl-text); font: 500 13px/1.2 var(--dl-font); cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.dl-chat__chips button:hover { border-color: var(--dl-accent); color: #fff; }
.dl-chat__consent { padding: 10px 16px 0; }
.dl-chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px; }
.dl-chat__form textarea { flex: 1; max-height: 110px; min-height: 44px; padding: 11px 14px; border: 1px solid var(--dl-line-2); border-radius: 14px; background: rgba(255, 255, 255, .04); color: #fff; font: 400 15px/1.4 var(--dl-font); resize: none; outline: none; }
.dl-chat__form textarea:focus { border-color: var(--dl-accent); }
.dl-chat__form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--dl-accent); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; transition: transform .3s var(--dl-ease), opacity .2s ease; }
.dl-chat__form button:hover { transform: scale(1.06); }
.dl-chat__form button:disabled { opacity: .5; cursor: default; transform: none; }
.dl-chat__form button svg { width: 18px; height: 18px; }
.dl-chat__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 14px; }
.dl-chat__alt a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 12px; border: 1px solid var(--dl-line-2); color: #fff !important; font-size: 13.5px; font-weight: 600; transition: border-color .2s ease, background-color .2s ease; }
.dl-chat__alt a:hover { border-color: var(--dl-accent); background: var(--dl-accent-10); }
.dl-chat__alt svg { width: 16px; height: 16px; fill: currentColor; }

/* появление блоков при прокрутке */
html.dl-anim .dl-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .8s var(--dl-ease); }
html.dl-anim .dl-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.dl-anim .dl-reveal, html.dl-anim .dl-tiers .dl-tier { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dl-404__num span { animation: none; }
}

/* ── мелкие правки старых блоков главной ── */
.cw-head { margin-bottom: 36px; }
.cw-cf__more { margin-top: 6px; }
/* старые плавающие мессенджеры заменены чатом */
#ts-mw-id, .ts-mw-substrate { display: none !important; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1100px) {
  .dl-head { grid-template-columns: 1fr; }
  .dl-head__text { justify-self: start; }
  .dl-head__title { font-size: 34px; }
  .dl-prc { grid-template-columns: 1fr; gap: 28px; }
  .dl-prc__aside { position: static; }
  .dl-faq__grid { grid-template-columns: 1fr; }
  .dl-faq__side { position: static; }
  .dl-page .ws-svc-grid, .dl-page .ws-svc-grid:has(> :nth-child(6):last-child), .dl-page .ws-svc-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-page .ws-svc-steps { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* нечётный последний шаг занимает всю ширину, чтобы не было пустой ячейки */
  .dl-page .ws-svc-step:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .dl-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dl-footer__brand { grid-column: 1 / -1; }
  .dl-ct { grid-template-columns: 1fr; }
  .dl-formcard { position: static; }
  .dl-pf__item, .dl-pf__item--big { grid-column: span 3; }
  .dl-lb { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .dl-lb__side { padding: 18px 20px 20px; border-left: 0; border-top: 1px solid var(--dl-line); max-height: 42vh; }
  .dl-lb__side p { display: none; }
  .dl-lb__nav { margin-top: 0; }
  .dl-cta { grid-template-columns: 1fr; padding: 34px 30px; }
}
@media (max-width: 1023px) {
  .dl-tiers { grid-template-columns: 1fr; }
  .dl-tier__for { min-height: 0; }
  .dl-from { grid-template-columns: 1fr; }
  .dl-info { grid-template-columns: 1fr; }
  .dl-404__in { grid-template-columns: 1fr; text-align: left; }
  .dl-404__num { font-size: clamp(110px, 34vw, 220px); }
}
@media (max-width: 767px) {
  .dl-section { padding: 56px 0; }
  .dl-section--tight { padding: 40px 0; }
  .dl-head { margin-bottom: 26px; }
  .dl-head__title { font-size: 28px; }
  .dl-svc { grid-template-columns: 1fr; gap: 14px; }
  .dl-svc__panel { padding: 20px 6px 8px; border-radius: 18px; }
  .dl-svc__cap { padding: 0 12px 10px; }
  .dl-svc__a { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; padding: 12px; }
  .dl-svc__ico { width: 36px; height: 36px; }
  .dl-svc__go { display: none; }
  .dl-svc__desc { display: none; }
  .dl-svc__price { font-size: 13.5px; }
  .dl-svc__foot { padding: 18px; }
  .dl-plan__head { grid-template-columns: 22px minmax(0, 1fr); padding: 16px; gap: 12px; }
  .dl-plan__price { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .dl-plan__price b { font-size: 18px; }
  .dl-plan__pad { padding: 2px 16px 18px; }
  .dl-plan__list { grid-template-columns: 1fr; }
  .dl-plan__tiers { grid-template-columns: 1fr; }
  .dl-plan__acts .dl-btn { width: 100%; }
  .dl-page { padding: 22px 0 60px; }
  .dl-page h1 { font-size: 30px; }
  .dl-page h2 { font-size: 24px; margin-bottom: 18px; }
  .dl-page .ws-svc-hero { padding: 26px 20px 0; border-radius: 20px; margin-bottom: 32px; }
  .dl-page .ws-svc-hero > p { font-size: 16px; }
  .dl-page .ws-svc-hero__btns .dl-btn { width: 100%; }
  .dl-page .ws-svc-hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 -20px; }
  .dl-page .ws-svc-hero__meta li { padding: 16px 12px 16px 20px; border-bottom: 1px solid var(--dl-line); }
  .dl-page .ws-svc-hero__meta li:nth-child(even) { border-right: 0; }
  .dl-page .ws-svc-hero__meta li:nth-last-child(-n+2) { border-bottom: 0; }
  .dl-page .ws-svc-hero__meta strong { font-size: 18px; }
  .dl-page .ws-svc-lead { font-size: 16px; margin-bottom: 38px; }
  .dl-page .ws-svc-section { margin-bottom: 44px; }
  .dl-page .ws-svc-grid, .dl-page .ws-svc-grid:has(> :nth-child(6):last-child), .dl-page .ws-svc-grid:has(> :nth-child(5):last-child), .dl-page .ws-svc-grid--3, .dl-page .ws-svc-grid--2, .dl-page .ws-svc-pricing { grid-template-columns: 1fr; }
  .dl-page .ws-svc-checklist { grid-template-columns: 1fr; }
  .dl-page .ws-svc-steps { grid-template-columns: 1fr; }
  .dl-page .ws-svc-cta { padding: 24px 20px; }
  .dl-page .ws-svc-cta .btn, .dl-page .ws-svc-cta .dl-btn { width: 100%; justify-content: center; }
  .dl-from__main { padding: 24px 20px; }
  .dl-from__price { font-size: 36px; }
  .dl-from__opts { padding: 22px 20px; }
  .dl-from__opts dl > div { flex-direction: column; gap: 2px; }
  .dl-rel__list { grid-template-columns: 1fr; }
  .dl-table-wrap { overflow-x: auto; }
  .dl-table { min-width: 560px; font-size: 14px; }
  .dl-table th, .dl-table td { padding: 12px 14px; }
  .dl-pf { gap: 14px; }
  .dl-pf__item, .dl-pf__item--big { grid-column: 1 / -1; }
  .dl-case__zoom { opacity: 1; transform: none; }
  .dl-ct__ways { grid-template-columns: 1fr; }
  .dl-way { min-height: 0; }
  .dl-way--tg em { width: 100%; text-align: center; }
  .dl-way--mail em { width: 100%; }
  .dl-formcard { padding: 22px 18px; }
  .dl-cta { padding: 28px 20px; border-radius: 20px; }
  .dl-cta h2 { font-size: 24px; }
  .dl-cta__btns .dl-btn { flex: 1 1 100%; }
  .dl-404 { padding: 28px 0 48px; min-height: 0; }
  .dl-404 h1 { font-size: 28px; }
  .dl-404__btns .dl-btn { flex: 1 1 100%; }
  .dl-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .dl-footer__legal { grid-template-columns: 1fr; }
  .dl-footer__docs { justify-content: flex-start; }
  #ws-footer.dl-footer { padding-top: 44px; padding-bottom: 76px; }
  .dl-cookie { left: 10px; bottom: 10px; width: calc(100vw - 20px); padding: 16px; }
  .dl-cookie__btns .dl-btn { flex: 1; }
  .dl-chat-fab { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; }
  .dl-chat-fab span { display: none; }
  .dl-chat { right: 0; bottom: 0; width: 100vw; height: 100dvh; max-height: none; border-radius: 0; border: 0; }
  .dl-lb__scroll { padding: 14px; }
  .dl-rev-top { margin-top: -6px; }
  .dl-faq__tab { padding: 9px 14px; font-size: 14px; }
  .dl-acc summary, details.dl-qa > summary, .dl-page .ws-svc-faq summary { padding: 15px 16px; font-size: 16px; }
  .dl-acc .dl-acc__in, .dl-page .ws-svc-faq .dl-acc__in { padding: 0 16px 16px; }
}
