/* DELLENDOC — дизайн v2 (1.0.15, правки 1.0.16 — в конце файла). Подключается после dellendoc.css, только при DELLENDOC_DESIGN_V2.
   Всё под body.dd-v2: при выключенном флаге стили не действуют.
   Фирменный красный #d44240 (как в тёмной теме 1.0.14). Без полос, шума и золотых акцентов. */

body.dd-v2 {
  --v2-bg: #141213;
  --v2-ink: #f7f6f5;
  --color-bg: #141213;
  --color-bg-paint: #141213;
  --color-surface: #1b181b;
  --color-surface-muted: #221e22;
  --color-text: #f4f1ee;
  --color-text-muted: #c9c0bc;
  --color-text-faint: #9a918e;
  --color-gold: #d44240;
  --color-accent: #d44240;
  --color-logo-accent: #d44240;
  --color-accent-contrast: #ffffff;
  --color-border: rgba(244, 241, 238, 0.12);
  --color-shadow: rgba(0, 0, 0, 0.35);
  --v2-hair: rgba(244, 241, 238, 0.12);
  --v2-hair-2: rgba(244, 241, 238, 0.22);
  --v2-accent-hover: color-mix(in oklch, var(--color-accent) 85%, black);
  --v2-max: 1180px;
  --v2-header: 64px;
  --v2-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 64px;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 2px;
  --content-width: min(var(--v2-max), calc(100% - 48px));
  --map-dim: 1;
  background: var(--v2-bg) !important;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
html:has(body.dd-v2) { background: #141213; scroll-padding-top: calc(64px + 16px); }
html[data-theme="light"]:has(body.dd-v2) { background: #f7f6f5; }
/* Светлая тема (переключатель на статьях, политике, 404). Красный — светлый вариант фирменного цвета из 1.0.14 (#ae2220). */
html[data-theme="light"] body.dd-v2 {
  --v2-bg: #f7f6f5;
  --v2-ink: #1f1b20;
  --color-bg: #f7f6f5;
  --color-bg-paint: #f7f6f5;
  --color-surface: #ffffff;
  --color-surface-muted: #efedeb;
  --color-text: #1f1b20;
  --color-text-muted: #4f4950;
  --color-text-faint: #6f6870;
  --color-gold: #ae2220;
  --color-accent: #ae2220;
  --color-logo-accent: #ae2220;
  --color-border: rgba(31, 27, 32, 0.12);
  --color-shadow: rgba(31, 27, 32, 0.12);
  --v2-hair: rgba(31, 27, 32, 0.12);
  --v2-hair-2: rgba(31, 27, 32, 0.24);
  color-scheme: light;
}
:root body.dd-v2::before { content: none !important; display: none !important; }
:root body.dd-v2 .dellendoc-page { font-size: 16px; line-height: 1.55; background: transparent; }
:root body.dd-v2 [id] { scroll-margin-top: calc(var(--v2-header) + 16px); }
:root body.dd-v2 :focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
@media (max-width: 640px) { body.dd-v2 { --content-width: calc(100% - 40px); } }

/* skip link */
:root body.dd-v2 .dd-skip { position: absolute; left: -999px; top: 0; z-index: 80; }
:root body.dd-v2 .dd-skip:focus { left: 16px; top: 16px; background: var(--color-accent); color: #fff; padding: 8px 12px; }

/* icons */
:root body.dd-v2 .dd-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }

/* ---------- header ---------- */
:root body.dd-v2 .site-header.v2h {
  position: sticky; top: 0; z-index: 50;
  min-height: 0; height: var(--v2-header);
  background: var(--v2-bg); backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--v2-hair);
}
:root body.dd-v2 .site-header::after, :root body.dd-v2 .site-header::before { content: none !important; display: none !important; }
:root body.dd-v2 .v2h__in { width: var(--content-width); margin: 0 auto; height: var(--v2-header); display: flex; align-items: center; gap: 28px; }
:root body.dd-v2 .v2h__logo { display: flex; align-items: center; flex: 0 0 auto; color: var(--v2-ink); min-height: 0; }
:root body.dd-v2 .v2h__logo .logo-svg { display: block; height: 38px; width: auto; color: var(--v2-ink); }
:root body.dd-v2 .v2h__logo svg { height: 38px; width: auto; display: block; }
:root body.dd-v2 .logo-svg svg .fil0 { fill: var(--v2-ink); }
:root body.dd-v2 .logo-svg svg .fil1 { fill: var(--color-accent); }
:root body.dd-v2 .v2h__nav { flex: 1; min-width: 0; }
:root body.dd-v2 .v2h__menu { display: flex; align-items: center; gap: 2px 22px; margin: 0; padding: 0; list-style: none; }
:root body.dd-v2 .v2h__menu a {
  display: inline-block; min-height: 0; padding: 6px 0;
  font-size: 14px; font-weight: 500; color: var(--color-text-muted); text-decoration: none;
  border-bottom: 1px solid transparent; transition: color 180ms var(--v2-ease), border-color 180ms var(--v2-ease);
}
:root body.dd-v2 .v2h__menu a:hover, :root body.dd-v2 .v2h__menu a:focus-visible, :root body.dd-v2 .v2h__menu a[aria-current="page"] { color: var(--color-text); border-bottom-color: var(--color-accent); }
:root body.dd-v2 .v2h__cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
:root body.dd-v2 .v2h__phone { min-height: 0; font-size: 14px; font-weight: 500; color: var(--color-text); text-decoration: none; white-space: nowrap; letter-spacing: 0.01em; }
:root body.dd-v2 .v2h__phone:hover { color: var(--color-accent); }
:root body.dd-v2 .v2h__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; position: relative; color: var(--color-text); }
:root body.dd-v2 .v2h__toggle span, :root body.dd-v2 .v2h__toggle span::before, :root body.dd-v2 .v2h__toggle span::after {
  display: block; position: absolute; width: 22px; height: 2px; background: var(--color-text);
  transition: transform 200ms var(--v2-ease), background 200ms;
}
:root body.dd-v2 .v2h__toggle span { left: 11px; top: 21px; }
:root body.dd-v2 .v2h__toggle span::before { content: ""; left: 0; top: -7px; }
:root body.dd-v2 .v2h__toggle span::after { content: ""; left: 0; top: 7px; }
:root body.dd-v2 .v2h__toggle[aria-expanded="true"] span { background: transparent; }
:root body.dd-v2 .v2h__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
:root body.dd-v2 .v2h__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1280px) { :root body.dd-v2 .v2h__in { gap: 20px; } :root body.dd-v2 .v2h__menu { gap: 2px 16px; } :root body.dd-v2 .v2h__phone { display: none; } }
@media (max-width: 1100px) { :root body.dd-v2 .v2h__menu a { font-size: 13px; } :root body.dd-v2 .v2h__menu { gap: 2px 12px; } }
@media (max-width: 960px) {
  :root body.dd-v2 .v2h__nav { flex: 0; }
  :root body.dd-v2 .v2h__menu, :root body.dd-v2 .v2h__phone { display: none; }
  :root body.dd-v2 .v2h__cta { margin-left: auto; gap: 0; }
  :root body.dd-v2 .v2h__btn { display: none !important; }
  :root body.dd-v2 .v2h__toggle { display: block; order: 3; margin-right: -10px; }
  body.dd-v2.v2h-open { overflow: hidden; }
  body.dd-v2.v2h-open .v2h__menu {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: var(--v2-header); left: 0; right: 0; bottom: 0;
    background: var(--v2-bg); padding: 32px 24px 96px; gap: 4px; z-index: 49; overflow-y: auto;
  }
  body.dd-v2.v2h-open .v2h__menu li { width: 100%; }
  body.dd-v2.v2h-open .v2h__menu a {
    display: block; width: 100%; padding: 10px 0; border: 0;
    font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--color-text);
  }
  body.dd-v2.v2h-open .v2h__phone { display: block; position: fixed; bottom: 28px; left: 24px; z-index: 60; font-size: 18px; }
}
@media (max-width: 400px) { :root body.dd-v2 .v2h__logo svg, :root body.dd-v2 .v2h__logo .logo-svg { height: 32px; } }

/* ---------- buttons / links ---------- */
:root body.dd-v2 .button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; height: auto; padding: 0 22px; border-radius: 2px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap;
  border: 1px solid transparent; transform: none !important;
  transition: background 180ms var(--v2-ease), border-color 180ms var(--v2-ease), color 180ms var(--v2-ease);
}
:root body.dd-v2 .button-primary, :root body.dd-v2 .button-primary:visited { background: var(--color-accent); border-color: var(--color-accent); color: #fff !important; }
:root body.dd-v2 .button-primary:hover, :root body.dd-v2 .button-primary:focus-visible { background: var(--v2-accent-hover); border-color: var(--v2-accent-hover); }
:root body.dd-v2 .button-secondary, :root body.dd-v2 .button-secondary:visited { background: transparent; border-color: var(--v2-hair-2); color: var(--color-text) !important; }
:root body.dd-v2 .button-secondary:hover, :root body.dd-v2 .button-secondary:focus-visible { background: transparent; border-color: var(--color-accent); color: var(--color-accent) !important; }
:root body.dd-v2 .more, :root body.dd-v2 .dent-card__more { color: var(--color-accent); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none; }
:root body.dd-v2 .more::after, :root body.dd-v2 .dent-card__more::after { content: " →"; }
:root body.dd-v2 main a:not(.button):not(.dent-card):not(.price-item__link):not(.case-card__link):not(.more):not(.reviews-source-link) { color: inherit; }

/* ---------- layout ---------- */
:root body.dd-v2 .section { padding-block: 88px; }
:root body.dd-v2 main > .section + .section { border-top: 1px solid var(--v2-hair); }
:root body.dd-v2 .section-title { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 16px; }
:root body.dd-v2 .section-lead { color: var(--color-text-muted); max-width: 42em; margin: 0 0 40px; font-size: 16px; line-height: 1.6; }
:root body.dd-v2 .muted { color: var(--color-text-muted); }
:root body.dd-v2 .surface { background: var(--color-surface); border: 0; border-radius: 2px; box-shadow: none; }
@media (max-width: 760px) {
  :root body.dd-v2 .section { padding-block: 56px; }
  :root body.dd-v2 .section-title { font-size: 28px; }
}

/* ---------- hero (главная и услуги) ---------- */
:root body.dd-v2 .dd-hero {
  display: grid; grid-template-columns: minmax(300px, 520px) 1fr; gap: 0 56px; align-items: stretch;
  padding: 0 0 0 max(24px, calc((100vw - var(--v2-max)) / 2));
}
:root body.dd-v2 .dd-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 56px 0; }
:root body.dd-v2 .dd-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 20px; }
:root body.dd-v2 .dd-hero .muted { font-size: 16px; line-height: 1.6; margin: 0 0 28px; max-width: 38em; }
:root body.dd-v2 .dd-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
:root body.dd-v2 .dd-hero .hero-promo { margin: 0; font-size: 13px; color: var(--color-text-muted); }
:root body.dd-v2 .dd-hero .hero-promo strong { color: var(--color-text); }
:root body.dd-v2 .dd-hero__photo { position: relative; min-height: 520px; height: 740px; max-height: 740px; }
:root body.dd-v2 .dd-hero__photo img.hero-photo { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 18% 42%; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
:root body.dd-v2 .dd-hero--service { grid-template-columns: minmax(0, 760px); padding-right: 24px; }
:root body.dd-v2 .dd-hero--service .dd-hero__copy { padding: 48px 0 56px; }
:root body.dd-v2 .dd-hero--service.dd-hero--photo { grid-template-columns: 1fr 1fr; padding-right: 0; }
:root body.dd-v2 .dd-hero--service .dd-hero__photo { height: 640px; min-height: 480px; max-height: 640px; }
:root body.dd-v2 .dd-hero--service .dd-hero__photo img.hero-photo { object-position: 34% 50%; }
:root body.dd-v2 .service-hero-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--color-accent); margin: 0 0 16px; }
:root body.dd-v2 .service-brief { margin: 0 0 28px; color: var(--color-text-muted); max-width: 38em; font-size: 15px; line-height: 1.6; }
@media (max-width: 860px) {
  :root body.dd-v2 .dd-hero, :root body.dd-v2 .dd-hero--service, :root body.dd-v2 .dd-hero--service.dd-hero--photo { display: flex; flex-direction: column; padding: 0; }
  :root body.dd-v2 .dd-hero__copy, :root body.dd-v2 .dd-hero--service .dd-hero__copy { order: 1; padding: 32px 20px 28px; }
  :root body.dd-v2 .dd-hero__photo, :root body.dd-v2 .dd-hero--service .dd-hero__photo { order: 0; min-height: 260px; height: 62vw; max-height: 440px; }
  :root body.dd-v2 .dd-hero__photo img.hero-photo { object-position: 30% 40%; }
  :root body.dd-v2 .dd-hero h1 { font-size: 30px; }
}

/* ---------- breadcrumbs ---------- */
:root body.dd-v2 .breadcrumbs { margin: 0 0 20px; font-size: 13px; color: var(--color-text-faint); }
:root body.dd-v2 .breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
:root body.dd-v2 .breadcrumbs__item a { color: var(--color-text-muted); text-decoration: none; min-height: 0; }
:root body.dd-v2 .breadcrumbs__item a:hover { color: var(--color-accent); }
:root body.dd-v2 .breadcrumbs__item + .breadcrumbs__item::before { content: "/"; margin: 0 6px 0 2px; color: var(--color-text-faint); background: none; }

/* ---------- trust ---------- */
:root body.dd-v2 #trust { padding-block: 56px; }
:root body.dd-v2 .trust-list { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 12px; padding: 0; margin: 0; list-style: none; background: transparent; border: 0; box-shadow: none; }
:root body.dd-v2 .trust-list { padding: 0; align-items: stretch; justify-items: stretch; text-align: left; }
:root body.dd-v2 .trust-badge-cell, :root body.dd-v2 .trust-facts { list-style: none; display: block; min-height: 0; }
:root body.dd-v2 .trust-badge { width: 100%; min-height: 0; align-items: flex-start; justify-items: start; text-align: left; transform: none !important; gap: 4px; }
:root body.dd-v2 .trust-badge__brand { width: auto; height: auto; display: block; place-items: start; color: var(--color-accent); background: none; }
:root body.dd-v2 .trust-facts-list li { display: block !important; text-align: left; }
:root body.dd-v2 .trust-badge { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 22px 24px; background: var(--color-surface); border: 0; border-radius: 2px; box-shadow: none; text-decoration: none; color: var(--color-text); }
:root body.dd-v2 .trust-badge:hover { color: var(--color-text); }
:root body.dd-v2 .trust-badge__brand { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-faint); }
:root body.dd-v2 .trust-badge__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; margin: 4px 0; color: var(--color-text); }
:root body.dd-v2 .trust-badge__year { font-size: 13px; color: var(--color-text-muted); }
:root body.dd-v2 .trust-badge__rating { color: var(--color-accent); }
:root body.dd-v2 .trust-badge__rating strong { color: var(--color-accent); }
:root body.dd-v2 .trust-facts-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; background: transparent; border: 0; box-shadow: none; }
:root body.dd-v2 .trust-facts-list li { background: var(--color-surface); padding: 22px 24px; border: 0 !important; border-radius: 2px; margin: 0; }
:root body.dd-v2 .trust-facts-list li + li { border: 0; }
:root body.dd-v2 .trust-icon { display: block; color: var(--color-accent); margin-bottom: 12px; }
:root body.dd-v2 .trust-fact-label { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: 8px; }
:root body.dd-v2 .trust-fact-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; line-height: 1.3; color: var(--color-text); }
@media (max-width: 900px) {
  :root body.dd-v2 .trust-list { grid-template-columns: 1fr; }
  :root body.dd-v2 .trust-facts-list { grid-template-columns: 1fr; }
}
/* «Как добраться» тоже использует .trust-facts-list */
:root body.dd-v2 #location .trust-facts-list { grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
@media (max-width: 700px) { :root body.dd-v2 #location .trust-facts-list { grid-template-columns: 1fr; } }

/* ---------- before/after slider ---------- */
:root body.dd-v2 .ba { position: relative; overflow: hidden; background: var(--color-surface); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; aspect-ratio: 3 / 2; }
:root body.dd-v2 .ba--portrait { aspect-ratio: 4 / 5; }
:root body.dd-v2 .ba img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; pointer-events: none; background: var(--color-surface); border-radius: 0; }
:root body.dd-v2 .ba-before-clip { position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden; z-index: 1; }
:root body.dd-v2 .ba-before-clip img { left: 0; top: 0; width: var(--ba-w, 100%); height: 100%; }
:root body.dd-v2 .ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.18); z-index: 3; transform: translateX(-50%); pointer-events: none; }
:root body.dd-v2 .ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1b20' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5'/%3E%3Cpath d='M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 26px 26px no-repeat;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
:root body.dd-v2 .ba-label { position: absolute; top: 16px; z-index: 4; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(20,18,19,0.72); color: var(--color-text); padding: 5px 9px; pointer-events: none; }
:root body.dd-v2 .ba-label--before { left: 16px; }
:root body.dd-v2 .ba-label--after { right: 16px; }
:root body.dd-v2 .ba:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
:root body.dd-v2 .ba-caption { font-size: 13px; color: var(--color-text-faint); margin: 10px 0 0; }

/* ---------- cases ---------- */
:root body.dd-v2 .case-featured { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 40px 48px; align-items: center; margin-bottom: 88px; }
:root body.dd-v2 .case-featured__meta h3 { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.025em; line-height: 1.2; margin: 0 0 10px; }
:root body.dd-v2 .case-featured__meta p { margin: 0 0 8px; color: var(--color-text-muted); max-width: 48em; }
:root body.dd-v2 .case-featured__meta .case-facts { font-size: 13px; color: var(--color-text-faint); margin-bottom: 12px; }
:root body.dd-v2 .case-featured .ba { aspect-ratio: 3 / 4; max-height: 760px; width: 100%; }
:root body.dd-v2 .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
@media (min-width: 1100px) { :root body.dd-v2 .case-grid { grid-template-columns: repeat(4, 1fr); } }
:root body.dd-v2 .case-card, :root body.dd-v2 .case-card.surface { background: transparent; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
:root body.dd-v2 .case-card p { margin: 12px 0 0; font-size: 13px; color: var(--color-text-faint); line-height: 1.5; }
:root body.dd-v2 .case-grid > .case-card, :root body.dd-v2 .case-grid > .case-card:last-child { grid-column: auto !important; justify-self: stretch !important; width: auto !important; }
:root body.dd-v2 .case-card p strong { display: inline-block; font-family: var(--font-display); font-size: 18px; letter-spacing: -0.02em; color: var(--color-text); margin-bottom: 4px; }
:root body.dd-v2 .case-card__link { color: var(--color-accent); text-decoration: none; font-weight: 500; }
:root body.dd-v2 .case-card__link:hover { color: var(--v2-accent-hover); }
@media (max-width: 860px) {
  :root body.dd-v2 .case-featured { grid-template-columns: 1fr; gap: 16px; margin-bottom: 56px; }
  :root body.dd-v2 .case-featured .ba { max-height: none; }
  :root body.dd-v2 .case-featured__meta h3 { font-size: 22px; }
  :root body.dd-v2 .case-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
}
@media (max-width: 540px) { :root body.dd-v2 .case-grid { grid-template-columns: 1fr; } }

/* ---------- how (timeline) ---------- */
:root body.dd-v2 .timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 0; padding: 0; list-style: none; }
:root body.dd-v2 .timeline::before, :root body.dd-v2 .timeline li::before, :root body.dd-v2 .timeline li::after { content: none !important; }
:root body.dd-v2 .timeline li { display: block; padding: 0; margin: 0; background: transparent; border: 0; }
:root body.dd-v2 .timeline-number { display: block; width: auto; height: auto; min-width: 0; background: none; border: 0; border-radius: 0; font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.04em; color: var(--color-accent); line-height: 1; margin-bottom: 14px; box-shadow: none; }
:root body.dd-v2 .timeline li strong { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
:root body.dd-v2 .timeline li .muted { margin: 0; }
@media (max-width: 860px) { :root body.dd-v2 .timeline { grid-template-columns: 1fr; gap: 32px; } }
:root body.dd-v2 .timeline:has(> li:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { :root body.dd-v2 .timeline:has(> li:nth-child(4)) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { :root body.dd-v2 .timeline:has(> li:nth-child(4)) { grid-template-columns: 1fr; } }

/* ---------- dents / parts / services cards ---------- */
:root body.dd-v2 .dent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
:root body.dd-v2 .dent-card, :root body.dd-v2 .dent-card.surface {
  display: block; padding: 28px 0 28px; background: transparent; border: 0; border-top: 1px solid var(--v2-hair);
  border-radius: 0; box-shadow: none; color: inherit; text-decoration: none; transform: none !important;
}
:root body.dd-v2 .dent-card:hover { color: inherit; background: transparent; }
:root body.dd-v2 .dent-card:hover .dent-card__title { color: var(--color-accent); }
:root body.dd-v2 .dent-card__icon { display: block; width: 40px; height: 40px; margin: 0 0 16px; color: var(--color-accent); font-size: 0; line-height: 0; background: none; border: 0; border-radius: 0; }
:root body.dd-v2 .dent-card__icon svg { width: 40px; height: 40px; display: block; }
:root body.dd-v2 .dent-card__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; margin: 0 0 6px; color: var(--color-text); transition: color 180ms var(--v2-ease); }
:root body.dd-v2 .dent-card__desc { margin: 0 0 12px; color: var(--color-text-muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 860px) { :root body.dd-v2 .dent-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { :root body.dd-v2 .dent-grid { grid-template-columns: 1fr; } }
:root body.dd-v2 .master-quote { padding: 48px 0 8px; margin: 0; max-width: 46em; background: none; border: 0; }
:root body.dd-v2 .master-quote::before { content: none !important; }
:root body.dd-v2 .master-quote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--color-text); }
:root body.dd-v2 .master-quote cite { font-style: normal; font-size: 13px; color: var(--color-text-faint); letter-spacing: 0.04em; }

/* ---------- prices ---------- */
:root body.dd-v2 .price-grid { display: block; border-top: 1px solid var(--v2-hair); }
:root body.dd-v2 .price-item, :root body.dd-v2 .price-item.surface {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 24px;
  padding: 18px 0; background: transparent; border: 0; border-bottom: 1px solid var(--v2-hair); border-radius: 0; box-shadow: none;
}
:root body.dd-v2 .price-item > * { margin: 0; }
:root body.dd-v2 .price-item h3 { grid-column: 1; font-family: var(--font-body); font-weight: 500; font-size: 16px; letter-spacing: 0; margin: 0; color: var(--color-text); }
:root body.dd-v2 .price-item__link { color: var(--color-text); text-decoration: none; }
:root body.dd-v2 .price-item__link:hover { color: var(--color-accent); }
:root body.dd-v2 .price-value { grid-column: 2; text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; color: var(--color-text); }
:root body.dd-v2 .price-item .button { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
:root body.dd-v2 .price-item > p:first-child { grid-column: 1; font-size: 16px; color: var(--color-text); }
:root body.dd-v2 .price-links-note .price-item__link, :root body.dd-v2 #pricing .container > p.muted .price-item__link { color: var(--color-accent); }
:root body.dd-v2 .price-links-note, :root body.dd-v2 #pricing .container > p.muted { margin: 20px 0 0; font-size: 14px; }
:root body.dd-v2 #pricing .container > p.muted a { color: var(--color-accent); text-decoration: none; }
@media (max-width: 540px) { :root body.dd-v2 .price-value { font-size: 18px; } }
/* таблица цен на страницах услуг (inc/prices.php) и таблица моделей алюминия */
:root body.dd-v2 .dd-price-table, :root body.dd-v2 .dd-alu-table { width: 100%; border-collapse: collapse; background: transparent; }
:root body.dd-v2 .dd-price-table th, :root body.dd-v2 .dd-alu-table th { text-align: left; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-faint); padding: 0 12px 12px 0; border-bottom: 1px solid var(--v2-hair); background: none; }
:root body.dd-v2 .dd-price-table td, :root body.dd-v2 .dd-alu-table td { padding: 16px 12px 16px 0; border: 0; border-bottom: 1px solid var(--v2-hair); background: none; vertical-align: baseline; }
:root body.dd-v2 .dd-alu-table caption { text-align: left; color: var(--color-text-muted); padding: 0 0 12px; caption-side: top; }
:root body.dd-v2 .dd-alu-table-wrap.surface { background: transparent; padding: 0; }

/* ---------- reviews ---------- */
:root body.dd-v2 .section-reviews { background: transparent; }
:root body.dd-v2 .reviews-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
:root body.dd-v2 .reviews-score { display: flex; align-items: baseline; gap: 10px; }
:root body.dd-v2 .reviews-score-number { font-family: var(--font-display); font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--color-accent); }
:root body.dd-v2 .reviews-stars, :root body.dd-v2 .review-card__stars { display: none !important; }
:root body.dd-v2 .reviews-count { color: var(--color-text-muted); font-size: 14px; }
:root body.dd-v2 .reviews-sources { display: flex; flex-wrap: wrap; gap: 8px 20px; }
:root body.dd-v2 .reviews-source-link, :root body.dd-v2 .reviews-source-link:visited { color: var(--color-accent) !important; background: none; border: 0; padding: 0; min-height: 0; font-size: 14px; font-weight: 500; text-decoration: none; }
:root body.dd-v2 .reviews-source-link:hover { color: var(--v2-accent-hover); text-decoration: underline; }
:root body.dd-v2 .reviews-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; padding: 0; list-style: none; }
:root body.dd-v2 .reviews-cards__item { list-style: none; }
:root body.dd-v2 .review-card { padding: 24px 0; background: transparent; border: 0; border-top: 1px solid var(--v2-hair); border-radius: 0; box-shadow: none; height: 100%; }
:root body.dd-v2 .review-card__header { margin-bottom: 10px; }
:root body.dd-v2 .review-card__author { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; color: var(--color-text); }
:root body.dd-v2 .review-card__badge { font-size: 11px; color: var(--color-text-faint); letter-spacing: 0.06em; }
:root body.dd-v2 .review-card__text { margin: 0 0 12px; color: var(--color-text); }
:root body.dd-v2 .review-card__footer { font-size: 12px; color: var(--color-text-faint); }
:root body.dd-v2 .reviews-footer { display: none !important; }
@media (max-width: 720px) { :root body.dd-v2 .reviews-cards { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
:root body.dd-v2 .about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
:root body.dd-v2 .about-photo-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; box-shadow: none; }
@media (max-width: 800px) { :root body.dd-v2 .about-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- FAQ ---------- */
:root body.dd-v2 .faq-list { max-width: 820px; display: block; }
:root body.dd-v2 .faq-item, :root body.dd-v2 .faq-item.surface { background: transparent; border: 0; border-top: 1px solid var(--v2-hair); border-radius: 0; box-shadow: none; margin: 0; padding: 0; }
:root body.dd-v2 .faq-item:last-child { border-bottom: 1px solid var(--v2-hair); }
:root body.dd-v2 .faq-question {
  position: relative; display: block; width: 100%; padding: 20px 44px 20px 0; min-height: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; text-align: left; line-height: 1.35;
  background: transparent !important; border: 0; color: var(--color-text) !important; cursor: pointer;
}
:root body.dd-v2 .faq-question::after, :root body.dd-v2 .faq-question::before { content: ""; position: absolute; background: var(--color-accent); transition: transform 180ms var(--v2-ease); }
:root body.dd-v2 .faq-question::after { right: 4px; top: 50%; width: 16px; height: 2px; margin-top: -1px; border: 0; transform: none; }
:root body.dd-v2 .faq-question::before { right: 11px; top: 50%; width: 2px; height: 16px; margin-top: -8px; }
:root body.dd-v2 .faq-question[aria-expanded="true"]::before { transform: scaleY(0); }
:root body.dd-v2 .faq-question svg, :root body.dd-v2 .faq-question .faq-icon { display: none; }
:root body.dd-v2 .faq-answer-inner { padding: 0 0 22px; color: var(--color-text-muted); max-width: 46em; }
/* FAQ на страницах услуг и града (dl) */
:root body.dd-v2 dl.faq-list .faq-item { padding: 20px 0; }
:root body.dd-v2 dl.faq-list dt { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; margin: 0 0 8px; color: var(--color-text); }
:root body.dd-v2 dl.faq-list dd { margin: 0; color: var(--color-text-muted); }

/* ---------- form ---------- */
:root body.dd-v2 #estimate-form .estimate-form, :root body.dd-v2 #estimate-form .estimate-form.surface { max-width: 640px; padding: 0; background: transparent; border: 0; box-shadow: none; gap: 18px; }
:root body.dd-v2 #estimate-form .field label, :root body.dd-v2 #estimate-form .form-label { font-size: 13px; color: var(--color-text-muted); font-weight: 400; }
:root body.dd-v2 #estimate-form .field input:not([type="checkbox"]):not([type="file"]),
:root body.dd-v2 #estimate-form .field textarea,
:root body.dd-v2 #estimate-form .field select,
:root body.dd-v2 #estimate-form .custom-select-trigger {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--v2-hair-2); border-radius: 0;
  padding: 10px 0; color: var(--color-text); box-shadow: none; outline: none;
}
:root body.dd-v2 #estimate-form .field input:focus, :root body.dd-v2 #estimate-form .field textarea:focus, :root body.dd-v2 #estimate-form .custom-select-trigger:focus-visible, :root body.dd-v2 #estimate-form .custom-select-trigger[aria-expanded="true"] { border-bottom-color: var(--color-accent); }
:root body.dd-v2 #estimate-form .custom-select-trigger { text-align: left; padding-right: 28px; }
:root body.dd-v2 #estimate-form .custom-select-list { background: var(--color-surface); border: 1px solid var(--v2-hair-2); border-radius: 2px; box-shadow: 0 12px 32px rgba(0,0,0,0.45); }
:root body.dd-v2 #estimate-form .custom-select-list [role="option"][aria-selected="true"], :root body.dd-v2 #estimate-form .custom-select-list [role="option"]:hover, :root body.dd-v2 #estimate-form .custom-select-list .is-active { background: color-mix(in srgb, var(--color-accent) 16%, transparent); color: var(--color-text); }
:root body.dd-v2 #estimate-form .file-drop-area { border: 1px dashed var(--v2-hair-2); border-radius: 2px; background: transparent; }
:root body.dd-v2 #estimate-form .file-drop-area:hover, :root body.dd-v2 #estimate-form .file-drop-area.is-dragover { border-color: var(--color-accent); }
:root body.dd-v2 #estimate-form .file-preview { border-radius: 2px; background: var(--color-surface); }
:root body.dd-v2 #estimate-form .consent-label { font-size: 13px; color: var(--color-text-muted); }
:root body.dd-v2 #estimate-form .consent-link { color: var(--color-accent); }
:root body.dd-v2 #estimate-form input[type="checkbox"] { accent-color: var(--color-accent); }
:root body.dd-v2 #estimate-form .button-primary { justify-self: start; }
:root body.dd-v2 .form-privacy-note { font-size: 13px; color: var(--color-text-faint); }

/* ---------- location / contacts / map ---------- */
:root body.dd-v2 #location .dent-card__title { margin-top: 24px; }
:root body.dd-v2 .contacts-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { :root body.dd-v2 .contacts-grid { grid-template-columns: 1fr; gap: 28px; } }
:root body.dd-v2 .contacts-grid a:not(.button) { color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--v2-hair-2); }
:root body.dd-v2 .contacts-grid a:not(.button):hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }
:root body.dd-v2 .map-frame { border: 1px solid var(--v2-hair); border-radius: 0; background: var(--color-surface); box-shadow: none; overflow: hidden; }
:root body.dd-v2 .map-frame::before { content: none !important; }
:root body.dd-v2 .map-frame .map-click-hint { background: var(--color-accent); color: #fff; border-radius: 2px; font-size: 13px; font-weight: 500; padding: 8px 14px; }
html[data-theme] body.dd-v2 .dellendoc-page .map-frame, :root body.dd-v2 .map-frame { opacity: 1; filter: none; }

/* ---------- footer ---------- */
:root body.dd-v2 .site-footer.v2f { margin-top: 0; padding: 56px 0 40px; background: transparent; border-top: 1px solid var(--v2-hair); font-size: 14px; color: var(--color-text-muted); }
:root body.dd-v2 .site-footer::before, :root body.dd-v2 .site-footer::after { content: none !important; display: none !important; }
:root body.dd-v2 .v2f__grid { display: grid; grid-template-columns: 3fr 1.2fr; gap: 32px 48px; align-items: start; }
:root body.dd-v2 .v2f .footer-navs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; margin: 0; }
:root body.dd-v2 .v2f .footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
:root body.dd-v2 .v2f .footer-nav a, :root body.dd-v2 .v2f .footer-contacts a { min-height: 0; padding: 0; font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }
:root body.dd-v2 .v2f .footer-nav:not(.footer-nav--services) { padding-top: 33px; }
:root body.dd-v2 .v2f .footer-contacts-group + .footer-contacts-group { border-top: 0; padding-top: 0; margin-top: 0; }
:root body.dd-v2 .v2f .footer-contacts a.footer-contacts-phone { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--color-text); letter-spacing: 0; }
:root body.dd-v2 .v2f .footer-address, :root body.dd-v2 .v2f .footer-hours { font-size: 13px; color: var(--color-text-faint); }
@media (max-width: 700px) { :root body.dd-v2 .v2f .footer-navs { grid-template-columns: 1fr 1fr; } :root body.dd-v2 .v2f .footer-nav:not(.footer-nav--services) { padding-top: 0; grid-column: 1 / -1; } }
:root body.dd-v2 .v2f .footer-nav__title, :root body.dd-v2 .v2f h3, :root body.dd-v2 .v2f .footer-nav__heading { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-faint); margin: 0 0 14px; }
:root body.dd-v2 .v2f ul { list-style: none; margin: 0; padding: 0; }
:root body.dd-v2 .v2f li { margin: 0 0 8px; }
:root body.dd-v2 .v2f a { color: var(--color-text-muted); text-decoration: none; min-height: 0; }
:root body.dd-v2 .v2f a:hover, :root body.dd-v2 .v2f a[aria-current="page"] { color: var(--color-accent); }
:root body.dd-v2 .v2f .footer-contacts { display: grid; gap: 14px; }
:root body.dd-v2 .v2f .footer-contacts-group { display: grid; gap: 6px; }
:root body.dd-v2 .v2f .footer-contacts-phone { color: var(--color-text); font-weight: 500; }
:root body.dd-v2 .v2f__bottom { flex-direction: row; justify-content: flex-start; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--v2-hair); }
:root body.dd-v2 .v2f__bottom .logo-svg { display: block; height: 28px; width: auto; color: var(--v2-ink); }
:root body.dd-v2 .v2f__bottom .logo-svg svg { height: 28px; width: auto; }
:root body.dd-v2 .v2f .footer-copy { margin: 0; font-size: 12px; color: var(--color-text-faint); }
@media (max-width: 860px) { :root body.dd-v2 .v2f__grid { grid-template-columns: 1fr; } }

/* ---------- страницы услуг: блоки контента ---------- */
:root body.dd-v2 .grad-prose, :root body.dd-v2 .service-prose, :root body.dd-v2 .grad-prose.surface { background: transparent; padding: 0; border: 0; max-width: 46em; color: var(--color-text-muted); }
:root body.dd-v2 .grad-prose p, :root body.dd-v2 .service-prose p { margin: 0 0 14px; }
:root body.dd-v2 .grad-prose a, :root body.dd-v2 .service-prose a, :root body.dd-v2 .grad-cta a:not(.button), :root body.dd-v2 dl.faq-list a { color: var(--color-accent) !important; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent); }
:root body.dd-v2 .grad-prose a:hover, :root body.dd-v2 .service-prose a:hover { border-bottom-color: var(--color-accent); }
:root body.dd-v2 .service-list { padding-left: 1.1em; margin: 0 0 14px; }
:root body.dd-v2 .service-list li { margin: 0 0 6px; }
:root body.dd-v2 .service-list li::marker { color: var(--color-accent); }
:root body.dd-v2 .grad-pdr-list, :root body.dd-v2 .grad-pdr-list.surface { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; padding: 0; margin: 0 0 16px; list-style: none; background: transparent; border: 0; }
:root body.dd-v2 .grad-pdr-list__item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--v2-hair); background: none; }
:root body.dd-v2 .grad-pdr-list__item p { margin: 0; color: var(--color-text-muted); }
:root body.dd-v2 .grad-pdr-list__mark { flex: 0 0 auto; width: auto; height: auto; background: none !important; border: 0; border-radius: 0; color: var(--color-accent); line-height: 1; padding-top: 3px; }
:root body.dd-v2 .grad-pdr-list__item--no .grad-pdr-list__mark { color: var(--color-text-faint); }
@media (max-width: 700px) { :root body.dd-v2 .grad-pdr-list { grid-template-columns: 1fr; } }
:root body.dd-v2 .grad-master-note { border: 0; padding: 0; background: none; color: var(--color-text-muted); font-style: normal; }
:root body.dd-v2 .grad-master-note::before { content: none !important; }
:root body.dd-v2 .grad-answer-snippet, :root body.dd-v2 .grad-answer-snippet.surface { background: transparent; border: 0; padding: 0; box-shadow: none; }
:root body.dd-v2 .grad-cta, :root body.dd-v2 .grad-cta.surface { background: var(--color-surface); padding: 40px; border: 0; border-radius: 2px; }
:root body.dd-v2 .grad-cta__address { color: var(--color-text-muted); font-size: 14px; margin: 12px 0 0; }
@media (max-width: 640px) { :root body.dd-v2 .grad-cta { padding: 28px 20px; } }
:root body.dd-v2 .dd-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
:root body.dd-v2 .dd-photo, :root body.dd-v2 .dd-photo.surface { background: transparent; padding: 0; margin: 0; border: 0; }
:root body.dd-v2 .dd-photo img { width: 100%; height: auto; border-radius: 0; }
:root body.dd-v2 .dd-photo figcaption { font-size: 13px; color: var(--color-text-faint); margin-top: 8px; }
@media (max-width: 860px) { :root body.dd-v2 .dd-photo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { :root body.dd-v2 .dd-photo-grid { grid-template-columns: 1fr; } }

/* ---------- алюминий: кейсы и плеер ---------- */
:root body.dd-v2 .dd-alu-cases--v2 { display: block; margin: 40px 0 0; }
:root body.dd-v2 .dd-alu-cases--v2 .dd-alu-case { padding: 0; margin: 0 0 88px; background: transparent; border: 0; }
:root body.dd-v2 .dd-alu-cases--v2 .dd-alu-case:last-child { margin-bottom: 0; }
:root body.dd-v2 .dd-alu-cases--v2 .dd-alu-case__title { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 12px; }
:root body.dd-v2 .dd-alu-cases--v2 .dd-alu-case__text { color: var(--color-text-muted); max-width: 46em; margin: 0 0 24px; }
:root body.dd-v2 .dd-alu-case__media { display: grid; grid-template-columns: minmax(0, 570px) 280px; justify-content: start; gap: 24px; align-items: start; }
:root body.dd-v2 .dd-alu-case__media:has(.dd-alu-pair ~ .dd-alu-pair) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 280px; justify-content: stretch; }
:root body.dd-v2 .dd-alu-pair { margin: 0; grid-row: 1; grid-column: auto; min-width: 0; }
:root body.dd-v2 .dd-alu-pair .ba { aspect-ratio: 3 / 4; width: 100%; max-height: none; }
:root body.dd-v2 .dd-player-figure { grid-row: 1; grid-column: auto; margin: 0; width: 280px; }
:root body.dd-v2 .dd-player-figure figcaption { font-size: 13px; color: var(--color-text-faint); margin: 10px 0 0; }
:root body.dd-v2 .player { position: relative; background: #0a0909; aspect-ratio: 9 / 16; width: 100%; overflow: hidden; }
:root body.dd-v2 .player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: auto; }
:root body.dd-v2 .player-play { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; min-height: 0; padding: 0; }
:root body.dd-v2 .player-play::before { content: ""; width: 68px; height: 68px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
:root body.dd-v2 .player-play::after { content: ""; position: absolute; width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
:root body.dd-v2 .player-play:hover::before { background: var(--v2-accent-hover); }
:root body.dd-v2 .player.is-playing .player-play { opacity: 0; pointer-events: none; }
:root body.dd-v2 .player-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(10,9,9,0.78); opacity: 0; transition: opacity 200ms; }
:root body.dd-v2 .player:hover .player-bar, :root body.dd-v2 .player:focus-within .player-bar, :root body.dd-v2 .player.is-paused .player-bar { opacity: 1; }
:root body.dd-v2 .player-toggle, :root body.dd-v2 .player-fs { background: none; border: 0; color: var(--color-text); cursor: pointer; padding: 4px; min-height: 0; font-size: 12px; letter-spacing: 0.06em; }
:root body.dd-v2 .player-progress { flex: 1; height: 4px; border-radius: 2px; background: var(--v2-hair-2); cursor: pointer; position: relative; }
:root body.dd-v2 .player-fill { height: 100%; width: 0; border-radius: 2px; background: var(--color-accent); }
:root body.dd-v2 .player-time { font-size: 11px; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
/* без JS — обычные controls у video, кастомные кнопки скрыты */
html:not(.js) body.dd-v2 .player-play, html:not(.js) body.dd-v2 .player-bar { display: none; }
@media (max-width: 960px) {
  :root body.dd-v2 .dd-alu-case__media, :root body.dd-v2 .dd-alu-case__media:has(.dd-alu-pair ~ .dd-alu-pair) { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  :root body.dd-v2 .dd-alu-pair, :root body.dd-v2 .dd-player-figure { grid-row: auto; }
  :root body.dd-v2 .dd-player-figure { width: 100%; max-width: 320px; }
}
@media (max-width: 640px) {
  :root body.dd-v2 .dd-alu-case__media, :root body.dd-v2 .dd-alu-case__media:has(.dd-alu-pair ~ .dd-alu-pair) { grid-template-columns: 1fr; }
  :root body.dd-v2 .dd-player-figure { max-width: 100%; }
  :root body.dd-v2 .dd-alu-cases--v2 .dd-alu-case__title { font-size: 24px; }
}


/* ---------- град, статьи, политика, 404: общий фон и типографика ---------- */
:root body.dd-v2 .article-main, :root body.dd-v2 .privacy-main { color: var(--color-text); }
:root body.dd-v2 .article-content, :root body.dd-v2 .privacy-content, :root body.dd-v2 .article-content.surface, :root body.dd-v2 .privacy-content.surface { background: transparent; border: 0; box-shadow: none; }
:root body.dd-v2 .article-content a, :root body.dd-v2 .privacy-content a { color: var(--color-accent); }
:root body.dd-v2 .article-content h2, :root body.dd-v2 .article-content h3 { font-family: var(--font-display); letter-spacing: -0.02em; }
:root body.dd-v2 .v2h__theme { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-height: 0; padding: 0; margin: 0 4px 0 0; border: 1px solid var(--v2-hair-2) !important; border-radius: 2px !important; background: transparent !important; color: var(--color-text) !important; box-shadow: none !important; cursor: pointer; position: static; transform: none !important; }
:root body.dd-v2 .v2h__theme:hover, :root body.dd-v2 .v2h__theme:focus-visible { border-color: var(--color-accent) !important; color: var(--color-accent) !important; }
:root body.dd-v2 .v2h__theme svg { width: 20px; height: 20px; display: block; }
:root body.dd-v2 .v2h__theme [data-icon="sun"] { display: block !important; }
:root body.dd-v2 .v2h__theme [data-icon="moon"] { display: none !important; }
html[data-theme="light"] body.dd-v2 .v2h__theme [data-icon="sun"] { display: none !important; }
html[data-theme="light"] body.dd-v2 .v2h__theme [data-icon="moon"] { display: block !important; }

/* Kadence: на шаблонах с wp_head() родительская тема может красить ссылки/кнопки */
:root body.dd-v2 .site-header.v2h a:hover { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  :root body.dd-v2 * { transition: none !important; scroll-behavior: auto !important; }
}
:root body.dd-v2 .dd-alu-cases--v2 + .grad-prose, :root body.dd-v2 .dd-alu-cases--v2 + .service-prose { margin-top: 32px; }
:root body.dd-v2 .v2h__toggle, :root body.dd-v2 .v2h__toggle:hover, :root body.dd-v2 .v2h__toggle:focus, :root body.dd-v2 .v2h__toggle:active { background: transparent !important; box-shadow: none !important; border: 0 !important; }
/* статьи: без цветной полосы слева у блока «Оценка», таблица из трёх колонок не вылезает за край */
:root body.dd-v2 .article-cta { border: 1px solid var(--v2-hair) !important; border-radius: 2px; background: var(--color-surface); }
:root body.dd-v2 .article-table td:last-child { white-space: normal; }
:root body.dd-v2 .article-table th, :root body.dd-v2 .article-table td { border-color: var(--v2-hair); }
:root body.dd-v2 .hero-grid--solo { display: block; max-width: none; } :root body.dd-v2 .hero-grid--solo > article { max-width: 760px; margin: 0; padding: 0; }

/* ================= 1.0.16 ================= */
/* Красный для мелкого текста в тёмной теме. Тот же оттенок, что #d44240 (OKLCH h≈25.5, C 0.183), светлее
   (L 0.589 → 0.642): контраст 5.1:1 на #141213, 4.8:1 на #1b181b, 4.5:1 на #221e22 (было 4.1 / 3.9 / 3.6).
   Только текстовые ссылки и строки; кнопки, логотип, иконки, панель снизу и светлая тема — без изменений. */
body.dd-v2 { --brand-red-text-dark: #e7544f; --v2-red-text: var(--brand-red-text-dark); }
html[data-theme="light"] body.dd-v2 { --v2-red-text: var(--color-accent); }
:root body.dd-v2 .more, :root body.dd-v2 .dent-card__more, :root body.dd-v2 .case-card__link, :root body.dd-v2 .case-card__link:hover,
:root body.dd-v2 .price-links-note .price-item__link, :root body.dd-v2 #pricing .container > p.muted .price-item__link, :root body.dd-v2 .price-item__link:hover,
:root body.dd-v2 #estimate-form .consent-link, :root body.dd-v2 .service-hero-price,
:root body.dd-v2 .v2f a:hover, :root body.dd-v2 .v2f a[aria-current="page"], :root body.dd-v2 .v2h__phone:hover,
:root body.dd-v2 .breadcrumbs__item a:hover, :root body.dd-v2 .contacts-grid a:not(.button):hover { color: var(--v2-red-text); }
:root body.dd-v2 .reviews-source-link, :root body.dd-v2 .reviews-source-link:visited, :root body.dd-v2 .reviews-source-link:hover,
:root body.dd-v2 .grad-prose a, :root body.dd-v2 .service-prose a, :root body.dd-v2 .grad-cta a:not(.button), :root body.dd-v2 dl.faq-list a { color: var(--v2-red-text) !important; }
:root body.dd-v2 .case-card__link:hover, :root body.dd-v2 .price-links-note .price-item__link:hover, :root body.dd-v2 #pricing .container > p.muted .price-item__link:hover,
:root body.dd-v2 .more:hover, :root body.dd-v2 .dent-card--link:hover .dent-card__more { text-decoration: underline; text-underline-offset: 3px; }

/* Шапка на телефоне: трубка рядом с меню (тот же номер, что у «Позвонить»). */
:root body.dd-v2 .v2h__call { display: none; }
@media (max-width: 960px) {
  :root body.dd-v2 .v2h__call {
    display: inline-flex; align-items: center; justify-content: center; order: 2;
    width: 44px; height: 44px; min-height: 0; margin: 0 6px 0 0; padding: 0; border-radius: 2px;
    background: var(--color-accent); color: #fff; text-decoration: none;
  }
  :root body.dd-v2 .v2h__call:hover, :root body.dd-v2 .v2h__call:focus-visible { background: var(--v2-accent-hover); color: #fff; }
  :root body.dd-v2 .v2h__call svg { width: 22px; height: 22px; display: block; }
  :root body.dd-v2 .v2h__cta { display: flex; align-items: center; }
}

/* Первый экран на телефоне: фото чуть ниже, обе кнопки и строка про бесплатную вмятину — на первом экране. */
@media (max-width: 600px) {
  :root body.dd-v2 .dd-hero__photo { min-height: 200px; height: 54vw; }
  :root body.dd-v2 .dd-hero__copy { padding-top: 26px; }
}

/* Нижняя панель на телефоне. Появляется, когда кнопки первого экрана ушли из вида (design-v2.js);
   у формы оценки и у подвала скрыта. Без JS не выводится (атрибут hidden). */
:root body.dd-v2 .dd-sticky { display: none; }
@media (max-width: 768px) {
  :root body.dd-v2 .dd-sticky:not([hidden]) {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: var(--color-accent);
    padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.35);
    transform: translateY(110%); visibility: hidden;
    transition: transform 220ms var(--v2-ease), visibility 0s linear 220ms;
  }
  :root body.dd-v2 .dd-sticky.is-on { transform: none; visibility: visible; transition: transform 220ms var(--v2-ease), visibility 0s; }
  :root body.dd-v2 .dd-sticky__btn {
    flex: 1 1 50%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 56px; padding: 0 12px; color: #fff !important; background: var(--color-accent);
    font-size: 15px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  }
  :root body.dd-v2 .dd-sticky__btn + .dd-sticky__btn { border-left: 1px solid rgba(255, 255, 255, 0.4); }
  :root body.dd-v2 .dd-sticky__btn:hover, :root body.dd-v2 .dd-sticky__btn:focus-visible { background: var(--v2-accent-hover); }
  :root body.dd-v2 .dd-sticky__btn:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
  :root body.dd-v2 .dd-sticky__btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
  body.dd-v2.v2h-open .dd-sticky { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { :root body.dd-v2 .dd-sticky, :root body.dd-v2 .dd-sticky.is-on { transition: none !important; } }

/* Кейсы на телефоне: 4 видны, остальные по кнопке (design-v2.js ставит is-collapsed; без JS видны все). */
:root body.dd-v2 .dd-cases-more { display: none; }
@media (max-width: 768px) {
  :root body.dd-v2 .case-grid.is-collapsed > .dd-case--more { display: none; }
  :root body.dd-v2 .dd-cases-more:not([hidden]) { display: flex; width: 100%; justify-content: center; margin-top: 28px; min-height: 48px; font-size: 15px; }
}

