/* Автоматически создано из style.css (rtlcss) для языков слева направо. Правьте исходный файл. */
/* ==========================================================================
   Dreamhouse — шаблон для Windoor CMS (RTL, иврит)
   Цвета задаются параметрами шаблона: --gold (основной акцент), --sky (светлый акцент на тёмном фоне), --dark.
   По умолчанию — фирменные цвета логотипа Windoor: тёмно-синий #2c3d4f, голубой #85b8e5, стальной серый #9ca4ad.
   (Имя --gold сохранено для совместимости с настройками и плагинами.)
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --gold: #3a78b0;
  --gold-dark: color-mix(in srgb, var(--gold) 72%, #0f1a26);
  --sky: #85b8e5;
  --steel: #9ca4ad;
  --dark: #2c3d4f;
  --black: color-mix(in srgb, var(--dark) 70%, #05080c);
  --black-2: color-mix(in srgb, var(--dark) 82%, #05080c);
  --on-gold: #fff;
  --text: #5a6673;
  --line: #e3e8ee;
  --soft: #f3f6f9;
  --max: 1170px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: "Heebo", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.85; color: var(--text); background: #fff; direction: ltr; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4, h5 { color: var(--dark); font-weight: 700; line-height: 1.3; margin: 0 0 .6em; }
h2 { font-size: clamp(26px, 3.2vw, 34px); }
h3 { font-size: 22px; }
p { margin: 0 0 1.1em; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dh-container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.dh-skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 1000; }
.dh-skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Кнопки ---------- */
.dh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--dark); color: #fff; border: 1px solid var(--dark); border-radius: 40px; padding: 12px 30px; font: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; cursor: pointer; transition: all .25s var(--ease); white-space: nowrap; }
.dh-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.dh-btn-sm { padding: 8px 20px; font-size: 13px; }
.dh-btn-gold { background: var(--gold); border-color: var(--gold); }
.dh-btn-gold:hover { background: var(--dark); border-color: var(--dark); }
.dh-btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.dh-btn-outline:hover { background: var(--gold); color: var(--on-gold); }
.dh-btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.dh-btn-light:hover { background: #fff; color: var(--dark); border-color: #fff; }
.dh-btn-block { width: 100%; border-radius: 4px; }

/* ---------- Шапка ---------- */
.dh-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 0 40px rgba(0,0,0,.06); transition: box-shadow .3s; }
.dh-header.is-scrolled { box-shadow: 0 6px 30px rgba(0,0,0,.09); }
.dh-header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); max-width: 1320px; }
.dh-brand { flex: none; color: var(--dark); display: flex; }
.dh-brand:hover { color: var(--dark); }
.dh-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--dark); }
.dh-logo-mark { width: 46px; height: 46px; flex: none; }
.dh-logo-mark path { color: var(--gold); }
.dh-logo-text { display: flex; flex-direction: column; line-height: 1; }
.dh-logo-text b { font-size: 25px; font-weight: 500; letter-spacing: 5px; font-family: "Heebo", Arial, sans-serif; }
.dh-logo-text small { font-size: 9.5px; letter-spacing: 3.6px; margin-top: 6px; color: var(--steel); font-weight: 500; }
.dh-logo.is-light { color: #fff; }
.dh-logo.is-light small { color: var(--steel); }
.dh-logo-img { display: block; width: auto; max-width: 260px; object-fit: contain; }
.dh-footer-logo .dh-logo-img { max-width: 220px; }

.dh-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.dh-menu { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; }
.dh-menu > li { position: relative; }
.dh-menu > li > a { display: flex; align-items: center; gap: 6px; padding: 0 15px; line-height: var(--header-h); font-size: 15px; font-weight: 500; color: var(--dark); letter-spacing: .3px; }
.dh-menu > li > a:hover, .dh-menu > li.active > a { color: var(--gold); }
.dh-menu > li.has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dh-menu .submenu { list-style: none; margin: 0; padding: 12px 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.1); border-top: 2px solid var(--gold); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); }
.dh-menu li:hover > .submenu, .dh-menu li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.dh-menu .submenu a { display: block; padding: 8px 24px; font-size: 14.5px; color: var(--dark); }
.dh-menu .submenu a:hover, .dh-menu .submenu li.active > a { color: var(--gold); padding-left: 30px; }
.dh-nav-cta { margin-left: 6px; }
.dh-header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--dark); font-weight: 700; font-size: 15px; padding-left: 20px; border-left: 1px solid var(--line); }
.dh-header-phone svg { color: var(--gold); }
.dh-burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; margin-left: auto; }
.dh-burger span { display: block; height: 2px; background: var(--dark); margin: 5px 0; transition: .3s; }
.nav-open .dh-burger span:nth-child(1) { transform: translateY(7px) rotate(-45deg); }
.nav-open .dh-burger span:nth-child(2) { opacity: 0; }
.nav-open .dh-burger span:nth-child(3) { transform: translateY(-7px) rotate(45deg); }

/* ---------- Слайдер ---------- */
.dh-slider { position: relative; height: min(88vh, 780px); min-height: 520px; overflow: hidden; background: var(--black); }
.dh-slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; display: flex; align-items: center; justify-content: center; }
.dh-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(-180deg, rgba(10,18,28,.30), rgba(10,18,28,.62)); }
.dh-slide.is-active { opacity: 1; visibility: visible; }
/* Подвижный фон (Home Parallax): сдвиг за курсором и при прокрутке задаёт script.js через CSS-переменные */
.dh-slide-bg { position: absolute; inset: -6%; z-index: 0; background-size: cover; background-position: center; transform: translate3d(var(--bgx, 0px), calc(var(--bgy, 0px) + var(--sy, 0px)), 0) scale(var(--bgs, 1));
  will-change: transform; }
.dh-slide.is-active .dh-slide-bg { animation: dh-bg-in 7s cubic-bezier(.2,.6,.2,1) both; }
@keyframes dh-bg-in { from { --bgs: 1.12; } to { --bgs: 1; } }
@property --bgs { syntax: "<number>"; inherits: false; initial-value: 1; }
.dh-slide-layer { position: relative; z-index: 2; width: 100%; display: flex; justify-content: center; transform: translate3d(var(--lx, 0px), calc(var(--ly, 0px) + var(--csy, 0px)), 0); opacity: var(--co, 1); will-change: transform, opacity; }
.dh-slide-content { position: relative; text-align: center; color: #fff; max-width: 760px; padding: 0 24px; }
.dh-slide-sub { display: inline-block; color: var(--gold); font-size: 17px; font-weight: 500; letter-spacing: 2px; margin-bottom: 14px; }
.dh-slide-title { color: #fff; font-size: clamp(36px, 6vw, 64px); font-weight: 700; line-height: 1.12; margin: 0 0 22px; }
.dh-slide-line { display: block; width: 70px; height: 3px; background: var(--gold); margin: 0 auto 22px; }
.dh-slide-text { font-size: 18px; font-weight: 300; margin: 0 auto 32px; max-width: 560px; color: rgba(255,255,255,.9); }
.js .dh-slide .dh-slide-content > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .dh-slide.is-active .dh-slide-content > * { opacity: 1; transform: none; }
.js .dh-slide.is-active .dh-slide-content > *:nth-child(2) { transition-delay: .15s; }
.js .dh-slide.is-active .dh-slide-content > *:nth-child(3) { transition-delay: .3s; }
.js .dh-slide.is-active .dh-slide-content > *:nth-child(4) { transition-delay: .45s; }
.js .dh-slide.is-active .dh-slide-content > *:nth-child(5) { transition-delay: .6s; }
.dh-slider-arrow { position: absolute; top: 50%; z-index: 5; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: .25s; }
.dh-slider-arrow:hover { background: var(--gold); border-color: var(--gold); }
.dh-slider-arrow.prev { left: 30px; }
.dh-slider-arrow.next { right: 30px; }
.dh-slider-dots { position: absolute; bottom: 34px; right: 0; left: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.dh-slider-dots button { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: .3s; }
.dh-slider-dots button.is-active { background: var(--gold); width: 54px; }
.dh-scroll-down { position: absolute; z-index: 5; bottom: 30px; left: 40px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.dh-scroll-down span { position: absolute; top: 8px; right: 50%; width: 4px; height: 8px; margin-right: -2px; border-radius: 2px; background: #fff; animation: dh-wheel 1.8s infinite; }
@keyframes dh-wheel { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Общие секции (используются в тексте материалов) ---------- */
.dh-section { padding: 100px 0; position: relative; }
.dh-section.is-tight { padding: 60px 0; }
.dh-section.is-soft { background: var(--soft); }
.dh-label { position: relative; display: inline-block; background: var(--gold); color: var(--on-gold); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; padding: 6px 16px; margin-bottom: 22px; line-height: 1.6; }
.dh-label::before { content: ""; position: absolute; top: 50%; right: 100%; width: 100vw; height: 1px; background: var(--gold); }
.dh-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.dh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.dh-lead { font-size: 18px; color: #555; max-width: 780px; }
.dh-framed { position: relative; margin: 0 20px 20px 0; isolation: isolate; }
.dh-framed::after { content: ""; position: absolute; inset: 20px 20px -20px -20px; border: 10px solid #f1f1f1; z-index: -1; }
.dh-framed img { width: 100%; }
.dh-bg-sketch { background: url("images/sketch-bg.jpg?v=2") no-repeat 90% 40% / 70% auto; }

/* Мини-преимущества с иконками */
.dh-mini-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; margin: 30px 0 34px; }
.dh-mini-features h4 { font-size: 18px; font-weight: 500; margin: 0 0 2px; }
.dh-mini-features p { font-size: 14px; margin: 0; color: #8a95a1; font-weight: 500; }
.dh-mini-features > div { position: relative; padding-left: 58px; }
.dh-mini-features .dh-ico { position: absolute; left: 0; top: 2px; }

/* Иконки (CSS-маски, цвет = --gold) */
.dh-ico { display: inline-block; width: 42px; height: 42px; background: var(--gold); -webkit-mask: var(--i) no-repeat center / contain; mask: var(--i) no-repeat center / contain; }
.dh-ico-blinds { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='6' y='4' width='36' height='40'/%3E%3Cpath d='M6 12h36M6 19h36M6 26h36M6 33h36M24 4v40'/%3E%3C/svg%3E"); }
.dh-ico-motor { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4' y='16' width='30' height='16' rx='3'/%3E%3Cpath d='M34 20h6v8h-6M40 24h5M10 16v16M16 16v16'/%3E%3C/svg%3E"); }
.dh-ico-chip { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='12' y='12' width='24' height='24' rx='2'/%3E%3Crect x='19' y='19' width='10' height='10'/%3E%3Cpath d='M18 12V5M24 12V5M30 12V5M18 43v-7M24 43v-7M30 43v-7M12 18H5M12 24H5M12 30H5M43 18h-7M43 24h-7M43 30h-7'/%3E%3C/svg%3E"); }
.dh-ico-remote { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='15' y='10' width='18' height='34' rx='4'/%3E%3Ccircle cx='24' cy='20' r='4'/%3E%3Cpath d='M20 30h8M20 36h8M17 6a10 10 0 0 1 14 0M20 3a6 6 0 0 1 8 0'/%3E%3C/svg%3E"); }
.dh-ico-shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M24 4l16 6v12c0 10-7 18-16 22C15 40 8 32 8 22V10z'/%3E%3Cpath d='M17 24l5 5 9-10'/%3E%3C/svg%3E"); }
.dh-ico-tools { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M29 7a9 9 0 0 0-10 12L6 32l4 4 13-13A9 9 0 0 0 35 13l-5 5-4-1-1-4 5-5zM28 30l10 10a3 3 0 0 0 4-4L32 26'/%3E%3C/svg%3E"); }
.dh-ico-sun { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='24' cy='24' r='9'/%3E%3Cpath d='M24 3v7M24 38v7M3 24h7M38 24h7M9 9l5 5M34 34l5 5M9 39l5-5M34 14l5-5'/%3E%3C/svg%3E"); }
.dh-ico-home { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 22L24 6l19 16M10 18v24h28V18'/%3E%3Cpath d='M19 42V30h10v12M30 14V8h5v10'/%3E%3C/svg%3E"); }
.dh-ico-glass { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='6' y='4' width='14' height='40'/%3E%3Crect x='28' y='4' width='14' height='40'/%3E%3Cpath d='M20 10h8M20 16h8M20 22h8M20 28h8M20 34h8M10 12l6-4M32 12l6-4'/%3E%3C/svg%3E"); }

/* Зигзаг (01, 02, 03) */
.dh-zigzag { overflow: hidden; }
.dh-zz-item { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; margin-bottom: 90px; }
.dh-zz-item:last-child { margin-bottom: 0; }
.dh-zz-item:nth-child(even) { grid-template-columns: .85fr 1.15fr; }
.dh-zz-item:nth-child(even) .dh-framed { order: 2; margin: 0 0 20px 20px; }
.dh-zz-item:nth-child(even) .dh-framed::after { inset: 20px -20px -20px 20px; }
.dh-num { display: block; font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.dh-zz-text h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.dh-zz-text h3::after { content: ""; display: block; width: 60px; height: 4px; background: var(--dark); margin-top: 16px; }
.dh-zz-text p { font-size: 15px; }

/* Тёмная полоса с преимуществами (параллакс) */
.dh-dark { background: var(--black); color: #b9c2cc; }
.dh-dark h2, .dh-dark h3, .dh-dark h4 { color: #fff; }
.dh-parallax { background-size: cover; background-position: center; background-attachment: fixed; overflow: hidden; isolation: isolate; }
.dh-parallax::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(16,26,38,.82); }
.dh-parallax > * { position: relative; z-index: 2; }
.dh-parallax > .dh-parallax-bg { position: absolute; right: 0; left: 0; z-index: 0; background-size: cover; background-position: center; will-change: transform; }
.dh-parallax.is-js { background-image: none !important; }
.dh-parallax.is-light::before { background: rgba(16,26,38,.45); }
.dh-parallax-band { padding: 150px 0; text-align: center; color: #fff; }
.dh-parallax-band h2 { color: #fff; font-size: clamp(28px, 4.2vw, 48px); max-width: 820px; margin: 0 auto 18px; }
.dh-parallax-band p { color: rgba(255,255,255,.88); font-size: 18px; max-width: 640px; margin: 0 auto 30px; }
.dh-parallax-band .dh-label::before { display: none; }
.dh-section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.dh-section-head .dh-label::before { display: none; }
.dh-feature { text-align: center; padding: 34px 20px; border: 1px solid rgba(255,255,255,.1); transition: .3s var(--ease); }
.dh-feature:hover { border-color: var(--gold); transform: translateY(-6px); }
.dh-feature .dh-ico { width: 54px; height: 54px; margin-bottom: 18px; }
.dh-feature h4 { font-size: 19px; margin-bottom: 8px; }
.dh-feature p { font-size: 14.5px; margin: 0; line-height: 1.7; }
.dh-section:not(.dh-dark) .dh-feature { border-color: var(--line); background: #fff; }

/* Блок карточек с заголовком сбоку */
.dh-news { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.dh-news-head h2 { font-size: 30px; }
.dh-news .dh-cards { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .dh-news .dh-cards { grid-template-columns: 1fr; } }

/* Карточки */
.dh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border: 1px solid var(--line); }
.dh-card { background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .3s; margin: 0 -1px -1px 0; }
.dh-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,.08); position: relative; z-index: 1; }
.dh-card-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.dh-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dh-card:hover .dh-card-img img { transform: scale(1.06); }
.dh-card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.dh-card h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.dh-card h3 a { color: var(--dark); }
.dh-card h3 a:hover { color: var(--gold); }
.dh-card p { font-size: 14.5px; color: #7d8894; flex: 1; padding-bottom: 18px; border-bottom: 1px solid var(--line); line-height: 1.75; }
.dh-card .dh-btn { align-self: flex-start; }
.dh-empty { color: #7d8894; }

/* Бренды производителей */
.dh-brands-row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.dh-brands-row h3 { margin: 0; font-size: 22px; flex: none; }
.dh-brands { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 0 !important; margin: 0 0 1.2em; flex: 1; justify-content: space-around; }
.dh-brands-row .dh-brands { margin: 0; }
.dh-brands li { font-size: 22px; font-weight: 700; letter-spacing: 4px; color: var(--steel); transition: color .3s; direction: ltr; }
.dh-brands li:hover { color: var(--gold); }
.dh-page .dh-brands { justify-content: flex-start; }

/* Призыв к действию */
.dh-cta { background: var(--gold); color: #fff; padding: 56px 0; }
.dh-cta .dh-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.dh-cta h2 { color: #fff; margin: 0; font-size: clamp(22px, 2.6vw, 30px); }
.dh-cta p { margin: 4px 0 0; color: rgba(255,255,255,.9); }
.dh-cta .dh-btn { background: #fff; color: var(--dark); border-color: #fff; }
.dh-cta .dh-btn:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

/* Списки и таблицы характеристик */
.dh-check { list-style: none; padding: 0; margin: 0 0 1.4em; }
.dh-check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.dh-check li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 15px; }
.article-body th, .article-body td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.article-body th { color: var(--dark); font-weight: 500; background: var(--soft); width: 38%; }
.article-body h2 { margin-top: 1.2em; }
.article-body h2:first-child { margin-top: 0; }
.article-body ul:not(.dh-check) { padding-left: 20px; }
.article-body blockquote { margin: 0 0 1.4em; padding: 18px 24px; border-left: 4px solid var(--gold); background: var(--soft); color: var(--dark); font-size: 18px; }

/* ---------- Внутренние страницы ---------- */
.dh-page-head { padding: 70px 0 50px; background: linear-gradient(-180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); overflow: hidden; }
.dh-page-head h1 { font-size: clamp(30px, 4.5vw, 46px); margin: 0 0 10px; }
.dh-breadcrumbs { font-size: 14px; color: #7d8894; display: flex; flex-wrap: wrap; gap: 8px; }
.dh-breadcrumbs a { color: #7d8894; }
.dh-breadcrumbs a:hover { color: var(--gold); }
.dh-breadcrumbs [aria-current] { color: var(--dark); }
.dh-page { padding-top: 60px; padding-bottom: 90px; }
.dh-article { max-width: 100%; }
.dh-intro { font-size: 19px; color: #555; margin-bottom: 26px; }
.dh-article .article-body > .dh-grid-2 { margin-bottom: 50px; }
.dh-pagination { display: flex; gap: 6px; margin-top: 40px; justify-content: center; }
.dh-pagination a, .dh-pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--dark); }
.dh-pagination .is-current, .dh-pagination a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.dh-404 { text-align: center; padding: 140px 0; }
.dh-404 .dh-label::before { display: none; }
.dh-404 h1 { font-size: clamp(34px, 6vw, 56px); }

/* На страницах с шорткодами/секциями внутри контейнера */
.dh-page .dh-section { padding: 60px 0; }
.dh-page .dh-section:first-child { padding-top: 0; }

/* ---------- Контакты ---------- */
.dh-contact { padding: 0 0 90px; }
.layout-contact .dh-page { padding-bottom: 30px; }
.dh-contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start; }
.dh-ci { display: flex; gap: 18px; padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.dh-ci-icon { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 1px solid #d3dae2; display: grid; place-items: center; color: var(--steel); transition: .3s; }
.dh-ci:hover .dh-ci-icon { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.dh-ci h3 { font-size: 17px; color: var(--gold); font-weight: 500; margin: 2px 0 4px; }
.dh-ci p, .dh-ci a { margin: 0; color: var(--dark); font-weight: 500; font-size: 15px; }
.dh-ci a:hover { color: var(--gold); }
.dh-contact-form label { display: block; margin-bottom: 18px; }
.dh-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.dh-contact-form input, .dh-contact-form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--dark); background: #fff; border: 1px solid #e5e5e5; border-radius: 3px; padding: 12px 14px; transition: border-color .2s; }
.dh-contact-form input:focus, .dh-contact-form textarea:focus { outline: none; border-color: var(--gold); }
.dh-contact-form input[type=tel], .dh-contact-form input[type=email] { direction: ltr; }
.dh-contact-form textarea { resize: vertical; min-height: 150px; }
.dh-notice { padding: 14px 18px; margin-bottom: 20px; border-radius: 3px; }
.dh-notice.is-success { background: #eef7f0; color: #26683c; border-left: 4px solid #3aa35c; }
.dh-notice.is-error { background: #fbefef; color: #9b2222; border-left: 4px solid #d94c4c; }
.dh-map { line-height: 0; filter: grayscale(1); transition: filter .5s; }
.dh-map:hover { filter: none; }
.dh-map iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Подвал ---------- */
.dh-footer { background: var(--black); color: #aab3bd; font-size: 14.5px; padding-top: 80px; }
.dh-footer a { color: #ddd; }
.dh-footer a:hover { color: var(--gold); }
.dh-footer-grid { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(130px, 1fr)); gap: 32px; padding-bottom: 60px; }
.dh-footer h4, .dh-footer .dh-fh { color: #fff; font-size: 17px; font-weight: 500; margin: 0 0 26px; position: relative; }
.dh-footer h4::after, .dh-footer .dh-fh::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 22px; height: 1px; background: #fff; }
.dh-footer-logo { display: inline-flex; margin-bottom: 22px; }
.dh-footer-logo .dh-logo-mark { width: 40px; height: 40px; }
.dh-footer-logo .dh-logo-text b { font-size: 21px; }
.dh-footer-links { list-style: none; padding: 0; margin: 0; }
.dh-footer-links li { margin-bottom: 8px; }
.dh-footer-links .submenu { display: none; }
.dh-muted { color: var(--steel); font-size: 13px; }
.dh-social { display: flex; gap: 8px; flex-wrap: wrap; }
.dh-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(156,164,173,.35); border-radius: 50%; color: #fff; }
.dh-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.dh-copyright { border-top: 1px solid rgba(156,164,173,.18); padding: 22px 0; font-size: 13.5px; color: #8d97a2; }

.dh-totop { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 44px; height: 44px; display: grid; place-items: center; background: var(--dark); color: #fff; font-size: 18px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.dh-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.dh-totop:hover { background: var(--gold); color: var(--on-gold); }
.dh-wa-float { position: fixed; left: 24px; bottom: 24px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.dh-wa-float:hover { color: #fff; transform: scale(1.06); }

/* ---------- Появление при прокрутке ---------- */
.js .dh-reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .dh-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .dh-reveal { opacity: 1; transform: none; }
}

/* ---------- Адаптивность ---------- */
@media (max-width: 1100px) {
  .dh-menu > li > a { padding: 0 10px; font-size: 14.5px; }
  .dh-header-phone { display: none; }
  .dh-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .dh-footer-about { grid-column: 1 / -1; }
  .dh-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .dh-burger { display: block; }
  .dh-nav { position: fixed; top: var(--nav-top, var(--header-h)); left: 0; bottom: 0; width: min(340px, 86vw); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 12px 0 30px; overflow-y: auto; box-shadow: 20px 0 50px rgba(0,0,0,.15); transform: translateX(-100%); transition: transform .35s var(--ease); }
  .nav-open .dh-nav { transform: none; }
  .nav-open::after { content: ""; position: fixed; inset: var(--nav-top, var(--header-h)) 0 0; background: rgba(0,0,0,.35); z-index: 90; }
  .dh-header { z-index: 100; }
  .dh-menu { flex-direction: column; align-items: stretch; }
  .dh-menu > li > a { line-height: 1.4; padding: 14px 24px; border-bottom: 1px solid var(--line); justify-content: space-between; font-size: 16px; }
  .dh-menu .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; background: var(--soft); min-width: 0; }
  .dh-menu .submenu a { padding: 10px 24px 10px 40px; }
  .dh-nav-cta { margin: 20px 24px 0; }
  .dh-section { padding: 70px 0; }
  .dh-grid-2, .dh-zz-item, .dh-zz-item:nth-child(even), .dh-news, .dh-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .dh-zz-item:nth-child(even) .dh-framed { order: 0; }
  .dh-grid-3 { grid-template-columns: 1fr 1fr; }
  .dh-parallax { background-attachment: scroll; }
  .dh-slider-arrow { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .dh-logo-mark { width: 38px; height: 38px; }
  .dh-logo-text b { font-size: 20px; letter-spacing: 3.5px; }
  .dh-logo-text small { font-size: 8px; letter-spacing: 2.4px; }
  .dh-slider { min-height: 480px; height: 78vh; }
  .dh-slide-text { font-size: 16px; }
  .dh-scroll-down { display: none; }
  .dh-grid-3, .dh-grid-4, .dh-mini-features, .dh-row { grid-template-columns: 1fr; }
  .dh-framed { margin: 0 14px 14px 0; }
  .dh-framed::after { inset: 14px 14px -14px -14px; border-width: 7px; }
  .dh-zz-item:nth-child(even) .dh-framed { margin: 0 14px 14px 0; }
  .dh-zz-item:nth-child(even) .dh-framed::after { inset: 14px 14px -14px -14px; }
  .dh-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .dh-page-head { padding: 44px 0 34px; }
  .dh-map iframe { height: 300px; }
  .dh-cta .dh-container { flex-direction: column; align-items: flex-start; }
}

/* Режим «עצירת אנימציות» из панели доступности */
html.a11y-noanim .dh-slide-bg, html.a11y-noanim .dh-slide-layer, html.a11y-noanim .dh-parallax-bg { transform: none !important; opacity: 1 !important; }
html.a11y-noanim .dh-reveal { opacity: 1 !important; transform: none !important; }
html.a11y-noanim .dh-parallax { background-attachment: scroll; }
/* Контрастные режимы: слайдер и полосы остаются читаемыми */
html.a11y-contrast .dh-slide-bg, html.a11y-light .dh-slide-bg, html.a11y-contrast .dh-parallax-bg, html.a11y-light .dh-parallax-bg { display: none; }
html.a11y-contrast .dh-slide:not(.is-active), html.a11y-light .dh-slide:not(.is-active) { display: none; }
@media (max-width: 600px) { .dh-logo-img { max-height: 44px !important; height: auto !important; max-width: 200px; } }

/* ---------- v1.2: шапка (липкая/тёмная), проекты, счётчики, форма שירות ---------- */
.dh-header { position: relative; }
.dh-header.is-sticky { position: sticky; top: 0; }
.dh-header--dark { background: var(--black); }
.dh-header--dark .dh-menu > li > a, .dh-header--dark .dh-header-phone, .dh-header--dark .dh-logo { color: #fff; }
.dh-header--dark .dh-logo-text small { color: var(--steel); }
.dh-header--dark .dh-burger span { background: #fff; }
.dh-header--dark .dh-header-phone { border-color: rgba(156,164,173,.25); }
@media (max-width: 960px) { .dh-header--dark .dh-nav { background: var(--black); } .dh-header--dark .dh-menu > li > a { border-color: rgba(156,164,173,.2); } .dh-header--dark .dh-menu .submenu { background: var(--black-2); } .dh-header--dark .dh-menu .submenu a { color: #ddd; } }

/* Проекты в стиле Dreamhouse */
.prj-card { border-radius: 0; box-shadow: none; }
.prj-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,.15); }
.prj-kind { color: var(--gold); letter-spacing: 2px; }
.prj-title { font-size: 22px; font-weight: 500; }
.prj-filter button { border-radius: 0; }
.prj-filter button.is-active { background: var(--dark); border-color: var(--dark); }
.dh-section .prj-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Счётчики на подвижном фоне */
.dh-counters-band { text-align: center; color: #fff; padding: 110px 0; }
.dh-counters-title { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 50px; }
.dh-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.dh-counter { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; }
.dh-counter b { font-size: clamp(44px, 6vw, 70px); line-height: 1; font-weight: 300; color: #fff; font-variant-numeric: tabular-nums; }
.dh-counter > span { font-size: 17px; color: var(--gold); letter-spacing: 1px; }
.dh-counter::after { content: ""; width: 40px; height: 2px; background: rgba(255,255,255,.3); margin-top: 6px; }

/* Форма קריאת שירות */
.cms-service .cms-field input, .cms-service .cms-field textarea { border-color: #e5e5e5; border-radius: 3px; }
.cms-service .cms-field input:focus, .cms-service .cms-field textarea:focus { border-color: var(--gold); }
.cms-submit.dh-btn { border-radius: 3px; padding: 14px 40px; }
.dh-phone-cta { text-align: center; padding: 60px 0; background: var(--soft); }
.dh-phone-cta h2 { margin: 0 0 6px; }
.dh-phone-cta a.dh-phone-big { font-size: clamp(32px, 5vw, 52px); font-weight: 700; color: var(--dark); letter-spacing: 1px; }
.dh-phone-cta a.dh-phone-big:hover { color: var(--gold); }

/* ---------- Мультиязычность: переключатель языков и длинные пункты меню (EN/RU/FR) ---------- */
.dh-menu > li > a, .dh-header-phone, .dh-nav-cta { white-space: nowrap; }
.dh-lang { flex: none; }
.dh-header--dark .dh-lang summary { color: #fff; }
.dh-copyright .cms-lang { display: inline-flex; margin: 0 16px; vertical-align: middle; }
.dh-copyright .cms-lang summary { color: #b9c2cc; }
@media (min-width: 961px) and (max-width: 1440px) {
  html[dir="ltr"] .dh-nav-cta { display: none; }
}
@media (min-width: 961px) and (max-width: 1280px) {
  html[dir="ltr"] .dh-menu > li > a { padding: 0 9px; font-size: 14px; letter-spacing: 0; }
  html[dir="ltr"] .dh-header-phone { display: none; }
}
@media (max-width: 960px) {
  .dh-menu > li > a { white-space: normal; }
}

/* ---------- Фирменные цвета Windoor: на тёмном фоне акцент — светло-голубой из логотипа ---------- */
.dh-slider, .dh-footer, .dh-dark, .dh-counters-band, .dh-header--dark, .prj-card figcaption, .cms-topbar {
  --gold: var(--sky); --gold-dark: color-mix(in srgb, var(--sky) 75%, #fff); --on-gold: var(--dark);
}
.dh-slider-arrow:hover, .dh-slider-dots button.is-active { color: var(--dark); }
.dh-dark .dh-ico { background: var(--sky); }
.dh-cta { background: linear-gradient(-110deg, var(--gold) 0%, color-mix(in srgb, var(--gold) 55%, var(--dark)) 100%); }
.dh-cta .dh-btn { background: #fff; color: var(--dark); border-color: #fff; }
.dh-cta .dh-btn:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.dh-label { --on-gold: #fff; }
.dh-dark .dh-label, .dh-counters-band .dh-label { color: var(--dark); }
.dh-logo-mark { color: var(--dark); }
.dh-footer .dh-logo-mark, .dh-header--dark .dh-logo-mark, .dh-logo.is-light .dh-logo-mark { color: #fff; }
::selection { background: color-mix(in srgb, var(--sky) 55%, #fff); color: var(--dark); }

/* Размер картинок, заданный в «עריכה חיה»: на телефоне — во всю ширину */
.article-body img[style*="width"] { height: auto; }
@media (max-width: 600px) { .article-body img[style*="width"], .article-body .dh-framed[style*="width"] { width: 100% !important; margin-right: 0 !important; margin-left: 0 !important; } }
.dh-page-top { position: absolute; top: 0; right: 0; width: 1px; height: 1px; }

/* ---------- Живая плата (circuit.js): сигналы между резисторами и конденсаторами ---------- */
.dh-circuit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; display: block; }
.dh-parallax > .dh-circuit { position: absolute; z-index: 1; }
.dh-footer, .dh-cta, .dh-dark { position: relative; overflow: hidden; }
.dh-footer > :not(.dh-circuit), .dh-cta > :not(.dh-circuit) { position: relative; z-index: 2; }
.dh-cta > .dh-circuit { opacity: .55; mix-blend-mode: screen; }
.dh-circuit-page { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.dh-circuit-page .dh-circuit { opacity: 1; }
html.a11y-contrast .dh-circuit, html.a11y-light .dh-circuit, html.a11y-gray .dh-circuit-page { display: none; }
@media print { .dh-circuit, .dh-circuit-page { display: none !important; } }

/* ---------- Сайт на одной странице: разделы главной ---------- */
.dh-home [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.dh-services .dh-service { padding: 46px 0; border-top: 1px solid var(--line); }
.dh-services .dh-service:first-of-type { border-top: 0; padding-top: 10px; }
.dh-service-title { display: flex; align-items: baseline; gap: 14px; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 22px; }
.dh-service-title .dh-num { font-size: 15px; color: var(--gold); font-weight: 700; letter-spacing: 1px; }
.dh-about .dh-section-head { margin-bottom: 26px; }

/* ---------- Подложка под текст (читаемость на фоне платы). Цвет и прозрачность — в настройках шаблона ---------- */
:root { --tb-light: #fff; --tb-light-a: 85; --tb-dark: #142030; --tb-dark-a: 60; --tb-blur: 6px; }
.tb-on {
  --tb-light-bg: color-mix(in srgb, var(--tb-light) calc(var(--tb-light-a) * 1%), transparent);
  --tb-dark-bg: color-mix(in srgb, var(--tb-dark) calc(var(--tb-dark-a) * 1%), transparent);
}
/* Светлые участки: текстовые колонки, заголовки разделов, разделы «אודות» и «תחומי פעילות», текст внутренних страниц */
.tb-on .dh-home .dh-grid-2 > div:not(.dh-framed),
.tb-on .dh-home .dh-zz-text,
.tb-on .dh-home section:not(.dh-dark):not(.dh-counters-band):not(.dh-cta) .dh-section-head,
.tb-on .dh-news-head,
.tb-on .dh-brands-row,
.tb-on .dh-phone-cta .dh-container,
.tb-on .dh-service,
.tb-on .dh-article,
.tb-on .dh-page-head .dh-container,
.tb-on .dh-lead,
.tb-on .category-desc {
  background: var(--tb-light-bg);
  -webkit-backdrop-filter: blur(var(--tb-blur)); backdrop-filter: blur(var(--tb-blur));
  border-radius: 12px; padding: 22px 26px;
}
.tb-on .dh-services .dh-service { margin-bottom: 18px; border-top: 0; }
.tb-on .dh-home .dh-grid-2 > div:not(.dh-framed) .dh-grid-2 > div,
.tb-on .dh-service .dh-grid-2 > div:not(.dh-framed),
.tb-on .dh-article .dh-grid-2 > div:not(.dh-framed) { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
.tb-on .dh-page-head .dh-container { padding-top: 18px; padding-bottom: 18px; }
/* Тёмные участки: текст слайда, заголовки и карточки тёмных полос, счётчики, колонки подвала */
.tb-on .dh-slide-content,
.tb-on .dh-dark .dh-section-head,
.tb-on .dh-dark .dh-feature,
.tb-on .dh-counters-band .dh-container,
.tb-on .dh-footer-col {
  background: var(--tb-dark-bg);
  -webkit-backdrop-filter: blur(var(--tb-blur)); backdrop-filter: blur(var(--tb-blur));
  border-radius: 14px;
}
.tb-on .dh-slide-content { padding: 30px 40px 36px; max-width: min(860px, 92vw); }
.tb-on .dh-dark .dh-section-head, .tb-on .dh-counters-band .dh-container { padding: 26px 30px; }
.tb-on .dh-counters-band .dh-container { max-width: min(1100px, calc(100% - 32px)); }
.tb-on .dh-footer-col { padding: 18px 20px; }
@media (max-width: 700px) {
  .tb-on .dh-slide-content { padding: 20px 18px 24px; }
  .tb-on .dh-service, .tb-on .dh-article, .tb-on .dh-home .dh-grid-2 > div:not(.dh-framed), .tb-on .dh-home .dh-zz-text { padding: 16px 16px; }
}
html.a11y-contrast .tb-on, html.a11y-light .tb-on { --tb-light-bg: transparent; --tb-dark-bg: transparent; }

