/* =============================================================
   AR-Tonirovka — Global Dark Theme (Cinematic Glass), 2026
   Активируется ТОЛЬКО когда на <html> есть класс .theme-dark
   (его ставит head.php при $darkTheme = true). На остальных
   страницах файл инертен — старый светлый вид не ломается.
   ============================================================= */
:root{
  --bg-deep:#060A17; --bg-base:#0A1024; --bg-elev:#111935;
  --glass:rgba(255,255,255,.055); --glass-2:rgba(255,255,255,.09);
  --bd:rgba(255,255,255,.10); --bd-soft:rgba(255,255,255,.07); --bd-blue:rgba(99,140,255,.35);
  --fg:#EAF0FF; --fg-muted:#94A0C4; --fg-dim:#6C789C;
  --blue:#3B82F6; --blue-deep:#1E40AF; --indigo:#6D5BF0; --cyan:#22D3EE;
  --accent:#F97316; --accent-2:#EA580C; --accent-glow:rgba(249,115,22,.45);
  --radius:18px; --radius-sm:12px; --ease:cubic-bezier(.16,1,.3,1);
}

/* ---------- base ---------- */
html.theme-dark{ background:var(--bg-deep); }
.theme-dark body{ background:var(--bg-deep); color:var(--fg); font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; -webkit-font-smoothing:antialiased; }
.theme-dark h1,.theme-dark h2,.theme-dark h3,.theme-dark h4,.theme-dark h5,.theme-dark h6{ color:#fff; font-family:'Sora','Inter',sans-serif; letter-spacing:-.02em; }
.theme-dark p{ color:var(--fg); }
.theme-dark a{ color:var(--cyan); }
.theme-dark a:hover{ color:#fff; }
.theme-dark ::selection{ background:var(--accent); color:#fff; }
.theme-dark table{ border-color:var(--bd); color:var(--fg); }
.theme-dark th,.theme-dark td{ border-color:var(--bd); }
.theme-dark hr{ border-color:var(--bd); }

/* ---------- utilities (доступны на всех тёмных страницах) ---------- */
.theme-dark .glass{ background:var(--glass); border:1px solid var(--bd); border-radius:var(--radius); backdrop-filter:blur(16px) saturate(140%); -webkit-backdrop-filter:blur(16px) saturate(140%); box-shadow:0 24px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.07); }
.theme-dark .eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--cyan); background:rgba(34,211,238,.08); border:1px solid rgba(34,211,238,.22); padding:7px 14px; border-radius:30px; }
.theme-dark .t-btn{ display:inline-flex; align-items:center; gap:10px; font-weight:700; font-size:16px; border-radius:14px; padding:15px 30px; text-decoration:none; cursor:pointer; transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; border:0; }
.theme-dark .t-btn-glow{ color:#fff; background:linear-gradient(135deg,#FB923C,var(--accent-2)); box-shadow:0 12px 34px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.theme-dark .t-btn-glow:hover{ color:#fff; transform:translateY(-3px); box-shadow:0 20px 48px rgba(249,115,22,.6); }
.theme-dark .t-btn-ghost{ color:#fff; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.22); }
.theme-dark .t-btn-ghost:hover{ color:#fff; background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.5); transform:translateY(-3px); }
.theme-dark [data-reveal]{ opacity:0; transform:translateY(26px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.theme-dark [data-reveal].in{ opacity:1; transform:none; }

/* ---------- TOP BAR + NAV (общие, перекраска в тёмное стекло) ---------- */
.theme-dark #armtopbar{ background:#05080F; color:rgba(255,255,255,.75); }
.theme-dark #armtopbar .armtopbar-info i{ color:var(--cyan); }
.theme-dark #armnav{ background:rgba(8,12,26,.72); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); box-shadow:none; border-bottom:1px solid var(--bd-soft); }
.theme-dark #armnav.scrolled{ background:rgba(8,12,26,.92); box-shadow:0 10px 36px rgba(0,0,0,.5); }
.theme-dark .armnav-menu>a, .theme-dark .armnav-dd>a{ color:#C7D0E6; }
.theme-dark .armnav-menu>a:hover, .theme-dark .armnav-dd>a:hover{ background:rgba(255,255,255,.08); color:#fff; }
.theme-dark .armnav-menu>a.is-active, .theme-dark .armnav-dd>a.is-active{ color:#fff; }
.theme-dark .armnav-phone{ color:#fff; } .theme-dark .armnav-phone i{ color:var(--cyan); }
.theme-dark .armnav-phone:hover{ color:var(--cyan); }
.theme-dark .armnav-wa{ background:rgba(37,211,102,.14) !important; border:1px solid rgba(37,211,102,.5); color:#fff !important; }
.theme-dark .armnav-wa i{ color:#4ADE80; }
.theme-dark .armnav-wa:hover{ background:#25D366 !important; color:#06240F !important; }
.theme-dark .armnav-wa:hover i{ color:#06240F; }
.theme-dark .armnav-burger span{ background:#fff; }
.theme-dark .armnav-dd-panel{ background:#0C1330; border:1px solid var(--bd); box-shadow:0 24px 60px rgba(0,0,0,.6); }
.theme-dark .armnav-dd-col a{ color:#C7D0E6; } .theme-dark .armnav-dd-col a:hover{ color:var(--cyan); }
.theme-dark .armnav-dd-h{ color:var(--fg-dim); }
@media(max-width:1024px){ .theme-dark .armnav-menu{ background:#0A0F22; } .theme-dark #armnav{ backdrop-filter:none; -webkit-backdrop-filter:none; background:#0A0F22; } }

/* ---------- FOOTER (общий) ---------- */
.theme-dark #footer{ background:#070B17; color:var(--fg-muted); }
.theme-dark #footer .footer-top{ background:#05080F; }
.theme-dark #footer .footer-contact a, .theme-dark #footer .footer-newsletter a{ color:#9DB7E8; }
.theme-dark #footer .footer-contact a:hover, .theme-dark #footer .footer-newsletter a:hover{ color:#fff; }
.theme-dark #footer .footer-links ul i{ color:var(--accent); }
.theme-dark .back-to-top{ background:var(--accent); } .theme-dark .back-to-top:hover{ background:var(--accent-2); }

/* ---------- CLIENTS marquee (белые чипы на тёмном) ---------- */
.theme-dark #clients{ background:var(--bg-base) !important; }
.theme-dark #clients h2{ color:#fff !important; } .theme-dark #clients p{ color:var(--fg-muted) !important; }
.theme-dark #clients .marquee-item{ background:#fff !important; border:1px solid rgba(255,255,255,.14); box-shadow:0 10px 26px rgba(0,0,0,.4) !important; }
.theme-dark #clients .marquee-item img{ filter:none !important; opacity:1 !important; }
.theme-dark #clients .marquee-item span{ color:#1a1a2e !important; }

/* =============================================================
   СТРАНИЦА УСЛУГИ (partials/product-page.php) — тёмная тема
   Перекрываем .prod-* (специфичность .theme-dark .x > .x из partial)
   ============================================================= */
.theme-dark .prod-hero{ background:var(--bg-base); position:relative; }
.theme-dark .prod-hero-text .breadcrumb-line a{ color:var(--cyan); }
.theme-dark .prod-hero-text .prod-price{ color:var(--accent); }
.theme-dark .prod-hero-btns .btn-call{ border-color:rgba(255,255,255,.4); }
.theme-dark .prod-body{ color:var(--fg); }
.theme-dark .prod-intro{ color:var(--fg-muted) !important; }
.theme-dark .prod-benefits h2, .theme-dark .prod-specs h2, .theme-dark .prod-gallery h2, .theme-dark .prod-faq h2{ color:#fff; }
.theme-dark .prod-benefits li{ color:var(--fg) !important; border-bottom-color:var(--bd-soft); }
.theme-dark .prod-benefits li::before{ color:var(--cyan); }
.theme-dark .spec-card{ background:var(--glass); border:1px solid var(--bd); }
.theme-dark .spec-val{ color:var(--cyan); } .theme-dark .spec-label{ color:var(--fg-muted); }
.theme-dark .prod-faq .faq-item{ background:var(--glass); border:1px solid var(--bd); }
.theme-dark .prod-faq .faq-q{ color:#fff !important; } .theme-dark .prod-faq .faq-q:hover{ background:rgba(255,255,255,.05); }
.theme-dark .prod-faq .faq-q span{ color:var(--cyan); }
.theme-dark .prod-faq .faq-a{ color:var(--fg-muted) !important; }
.theme-dark .prod-steps h2, .theme-dark .prod-included h2{ color:#fff !important; }
.theme-dark .step-card{ background:var(--glass) !important; border:1px solid var(--bd) !important; }
.theme-dark .step-card h4{ color:#fff !important; } .theme-dark .step-card p{ color:var(--fg-muted) !important; }
.theme-dark .step-n{ background:linear-gradient(135deg,var(--blue),var(--cyan)) !important; color:#fff !important; }
.theme-dark .incl-list li{ color:var(--fg) !important; } .theme-dark .incl-list li i{ color:var(--cyan) !important; }
.theme-dark .prod-cta{ background:linear-gradient(135deg,var(--blue-deep),var(--blue) 55%,var(--cyan)); }
.theme-dark .prod-cta a{ color:var(--blue-deep); } .theme-dark .prod-cta a:hover{ background:#EEF4FF; color:var(--blue-deep); }
/* generic dark cards used inline on service/static pages */
.theme-dark .prod-body table tr{ border-bottom-color:var(--bd) !important; }
.theme-dark .prod-body table td{ color:var(--fg) !important; }

/* =============================================================
   LEGACY INLINE-COLOR SKIN — переписывает захардкоженные светлые/
   бирюзовые inline-цвета в тёмные. Действует ТОЛЬКО на .theme-dark
   страницах (opt-in), поэтому светлые страницы не затрагиваются.
   ============================================================= */
.theme-dark .prod-body [style*="background:#f8f9fa"], .theme-dark .prod-body [style*="background: #f8f9fa"],
.theme-dark .prod-body [style*="background:#fff"], .theme-dark .prod-body [style*="background: #fff"], .theme-dark .prod-body [style*="background:#ffffff"],
.theme-dark section[style*="background:#f8f9fa"] [style*="background:#fff"],
.theme-dark section[style*="background:#f8f9fa"]{ background:var(--bg-base) !important; }
.theme-dark section[style*="background:#fff"]{ background:var(--bg-deep) !important; }
.theme-dark [style*="background:#f0fdf8"], .theme-dark [style*="background:#f0f0f0"], .theme-dark [style*="background:#e8f8f4"]{ background:var(--bg-elev) !important; border:1px solid var(--bd); }
.theme-dark .prod-body [style*="background:#f8f9fa"], .theme-dark [style*="background:#f8f9fa;border-radius"]{ background:var(--glass) !important; border:1px solid var(--bd); }
.theme-dark [style*="color:#1a1a2e"], .theme-dark [style*="color:#1A1A2E"], .theme-dark [style*="color:#2b2f38"]{ color:#fff !important; }
.theme-dark [style*="color:#333"], .theme-dark [style*="color:#555"], .theme-dark [style*="color:#666"], .theme-dark [style*="color:#888"], .theme-dark [style*="color:#9aa3af"], .theme-dark [style*="color:#8a8f98"]{ color:var(--fg-muted) !important; }
.theme-dark [style*="color:#00b894"], .theme-dark [style*="color:#009f82"]{ color:var(--cyan) !important; }
.theme-dark [style*="border:1.5px solid #f0f0f0"], .theme-dark [style*="border:1px solid #f0f0f0"], .theme-dark [style*="solid #c8e6d4"], .theme-dark [style*="solid #d0f0e8"]{ border-color:var(--bd) !important; }
.theme-dark input[style], .theme-dark textarea[style]{ background:rgba(255,255,255,.06) !important; color:#fff !important; }
.theme-dark input::placeholder, .theme-dark textarea::placeholder{ color:var(--fg-dim); }
/* бирюзовые CTA-кнопки -> оранжевые (WhatsApp #25D366 не трогаем) */
.theme-dark button[style*="background:#00b894"], .theme-dark a[style*="background:#00b894"], .theme-dark [style*="background:#00a381"]{ background:linear-gradient(135deg,#FB923C,var(--accent-2)) !important; color:#fff !important; box-shadow:0 10px 28px var(--accent-glow); }
.theme-dark [style*="linear-gradient(135deg, #00b894"], .theme-dark [style*="linear-gradient(135deg,#00b894"]{ background:linear-gradient(135deg,var(--blue-deep),var(--cyan)) !important; }
/* белые inline-чипы/карточки -> тёмное стекло (теги каталога, CTA и т.п.) */
.theme-dark a[style*="background:#fff"], .theme-dark span[style*="background:#fff"], .theme-dark div[style*="background:#fff"]{ background:var(--glass) !important; border-color:var(--bd) !important; color:var(--fg) !important; }

/* ============ CATALOG (catalog.php) ============ */
.theme-dark .obj-selector{ background:var(--bg-deep) !important; }
.theme-dark .obj-selector h1{ color:#fff; } .theme-dark .obj-selector .sub{ color:var(--fg-muted); }
.theme-dark .obj-tab{ background:var(--glass); border-color:var(--bd); color:var(--fg-muted); }
.theme-dark .obj-tab:hover{ border-color:var(--cyan); color:var(--cyan); }
.theme-dark .obj-tab.active{ background:linear-gradient(135deg,var(--blue),var(--cyan)); border-color:transparent; color:#04121f; }
.theme-dark .svc-card{ background:var(--glass) !important; border:1px solid var(--bd); box-shadow:0 12px 30px rgba(0,0,0,.35) !important; }
.theme-dark .svc-card:hover{ border-color:var(--cyan); box-shadow:0 20px 44px rgba(0,0,0,.45) !important; }
.theme-dark .svc-body h3{ color:#fff; } .theme-dark .svc-body p{ color:var(--fg-muted); }
.theme-dark .svc-price{ color:var(--fg-dim); } .theme-dark .svc-price strong{ color:var(--cyan); }
.theme-dark .svc-btn{ background:rgba(34,211,238,.1); color:var(--cyan); border:1px solid rgba(34,211,238,.4); }
.theme-dark .svc-btn:hover{ background:var(--cyan); color:#04121f; }
.theme-dark .price-note{ background:var(--glass) !important; border:1px solid var(--bd); }
.theme-dark .price-item .val{ color:var(--cyan); } .theme-dark .price-item .lbl{ color:var(--fg-muted); }
.theme-dark .price-note .note{ color:var(--fg-dim); }
.theme-dark .btn-outline-secondary{ color:#fff; border-color:var(--bd); }
.theme-dark .btn-outline-secondary:hover{ background:rgba(255,255,255,.1); color:#fff; border-color:rgba(255,255,255,.4); }

/* ============ PACKAGE (package-landing.php) ============ */
.theme-dark .pl-hero::before{ background:linear-gradient(135deg,rgba(6,10,23,.86),rgba(10,20,50,.55)) !important; }
.theme-dark .pl-pkg-label{ background:linear-gradient(135deg,var(--blue),var(--cyan)); }
.theme-dark .pl-price-badge{ background:linear-gradient(135deg,#FB923C,var(--accent-2)); }
.theme-dark .pl-discount-badge{ background:rgba(34,211,238,.15) !important; border-color:rgba(34,211,238,.45) !important; color:var(--cyan) !important; }
.theme-dark .pl-breadcrumb{ background:var(--bg-base) !important; color:var(--fg-muted); } .theme-dark .pl-breadcrumb a{ color:var(--cyan); }
.theme-dark .pl-includes{ background:var(--bg-deep) !important; }
.theme-dark .pl-inc-item{ background:var(--glass) !important; border:1px solid var(--bd); }
.theme-dark .pl-inc-item.star{ background:rgba(34,211,238,.08) !important; border-color:rgba(34,211,238,.3) !important; }
.theme-dark .pl-inc-text{ color:var(--fg-muted) !important; } .theme-dark .pl-inc-text strong{ color:#fff !important; }
.theme-dark .pl-how{ background:var(--bg-base) !important; }
.theme-dark .pl-how-step:not(:last-child)::after{ color:var(--cyan); }
.theme-dark .pl-step-num{ background:linear-gradient(135deg,var(--blue-deep),var(--blue)); }
.theme-dark .pl-how-step h4{ color:#fff; } .theme-dark .pl-how-step p{ color:var(--fg-muted); }
.theme-dark .pl-gallery{ background:var(--bg-deep) !important; } .theme-dark .pl-gallery h2{ color:#fff; }
.theme-dark .pl-for{ background:var(--bg-base) !important; } .theme-dark .pl-for-inner h2{ color:#fff; }
.theme-dark .pl-for-tag{ background:var(--glass) !important; border-color:var(--bd) !important; color:var(--fg) !important; }
.theme-dark .pl-faq{ background:var(--bg-deep) !important; } .theme-dark .pl-faq h2{ color:#fff; }
.theme-dark .pl-fi{ background:var(--glass) !important; border:1px solid var(--bd); }
.theme-dark .pl-fq{ color:#fff !important; } .theme-dark .pl-fq:hover{ background:rgba(255,255,255,.05) !important; }
.theme-dark .pl-ficon{ color:var(--cyan); } .theme-dark .pl-fa{ color:var(--fg-muted) !important; }
.theme-dark .pl-cta{ background:linear-gradient(135deg,#0A1024,#0d2137) !important; }
.theme-dark .pl-section-h h2{ color:#fff; } .theme-dark .pl-section-h p{ color:var(--fg-muted); }

/* ============ ARTICLE (article.php) + BLOG LIST (blog.php) ============ */
.theme-dark .art-hero{ background:linear-gradient(135deg,#0A1024,#16213e) !important; }
.theme-dark .art-bc a{ color:var(--cyan); }
.theme-dark .art-lead{ color:var(--fg) !important; }
.theme-dark .art-body p, .theme-dark .art-body li{ color:var(--fg-muted) !important; }
.theme-dark .art-body h2, .theme-dark .art-body h3, .theme-dark .art-body strong{ color:#fff !important; }
.theme-dark .art-body a{ color:var(--cyan) !important; }
.theme-dark .art-callout{ background:rgba(34,211,238,.08) !important; border-left-color:var(--cyan) !important; color:var(--fg) !important; }
.theme-dark .art-cta{ background:linear-gradient(135deg,#0A1024,#10295A) !important; }
.theme-dark .art-related h2{ color:#fff; }
.theme-dark .art-related-grid a{ background:var(--glass) !important; border-left-color:var(--cyan) !important; color:var(--fg) !important; }
.theme-dark .art-related-grid a:hover{ background:rgba(34,211,238,.08) !important; color:var(--cyan) !important; }
.theme-dark .blog-hero{ background:linear-gradient(135deg,#0A1024,#16213e) !important; }
.theme-dark .blog-wrap .blog-card, .theme-dark .blog-grid .blog-card{ background:var(--glass) !important; border:1px solid var(--bd); box-shadow:0 12px 30px rgba(0,0,0,.35) !important; }
.theme-dark .blog-wrap .blog-card:hover, .theme-dark .blog-grid .blog-card:hover{ border-color:var(--cyan); }
.theme-dark .blog-card h2{ color:#fff; } .theme-dark .blog-card .meta{ color:var(--cyan); }

/* ============ LEGACY INNER-PAGE CHROME (style.css: breadcrumbs/info/forms) ============ */
.theme-dark .breadcrumbs{ background:var(--bg-base) !important; border-bottom:1px solid var(--bd-soft) !important; }
.theme-dark .breadcrumbs h1, .theme-dark .breadcrumbs h2{ color:#fff !important; }
.theme-dark .breadcrumbs ol li, .theme-dark .breadcrumbs ol li + li::before{ color:var(--fg-muted) !important; }
.theme-dark .breadcrumbs ol li a{ color:var(--cyan) !important; }
.theme-dark .info{ background:var(--glass) !important; border:1px solid var(--bd) !important; box-shadow:none !important; }
.theme-dark .info h4{ color:#fff !important; }
.theme-dark .info p{ color:var(--fg-muted) !important; }
.theme-dark .info i{ color:var(--cyan) !important; background:rgba(34,211,238,.12) !important; }
.theme-dark .info p a, .theme-dark .info a{ color:var(--cyan) !important; }
.theme-dark .form-control, .theme-dark .form-control-a{ background:rgba(255,255,255,.06) !important; border:1px solid var(--bd) !important; color:#fff !important; }
.theme-dark .form-control::placeholder{ color:var(--fg-dim) !important; }
.theme-dark .btn-a{ background:linear-gradient(135deg,#FB923C,var(--accent-2)) !important; color:#fff !important; border:0 !important; }
.theme-dark .btn-a:hover{ background:var(--accent-2) !important; color:#fff !important; }
.theme-dark .map-section iframe{ filter:grayscale(.3) brightness(.85) contrast(1.05); border:1px solid var(--bd); }
.theme-dark .container, .theme-dark .container-fluid{ color:var(--fg); }

/* ============ FAQ PAGE (faq.php) ============ */
.theme-dark .faq-page-hero{ background:linear-gradient(135deg,#0A1024,#16213e) !important; }
.theme-dark .faq-group-title{ color:var(--cyan) !important; border-bottom-color:var(--bd) !important; }
.theme-dark .faq-item{ background:var(--glass) !important; border:1px solid var(--bd) !important; box-shadow:none !important; }
.theme-dark .faq-q{ color:#fff !important; } .theme-dark .faq-q:hover{ background:rgba(255,255,255,.05) !important; }
.theme-dark .faq-icon{ color:var(--cyan) !important; }
.theme-dark .faq-a{ color:var(--fg-muted) !important; } .theme-dark .faq-a a{ color:var(--cyan) !important; }
.theme-dark .faq-cta{ background:var(--glass) !important; border:1px solid var(--bd); }
.theme-dark .faq-cta h2{ color:#fff !important; } .theme-dark .faq-cta p{ color:var(--fg-muted) !important; }
.theme-dark .faq-cta .btn-call{ border-color:var(--bd) !important; color:#fff !important; }
.theme-dark .faq-cta .btn-call:hover{ border-color:var(--cyan) !important; color:var(--cyan) !important; }

/* ============ PORTFOLIO PAGE (portfolio.php) ============ */
.theme-dark .pf-hero{ background:linear-gradient(135deg,#0A1024,#16213e) !important; }
.theme-dark .pf-filter{ background:var(--glass) !important; border-color:var(--bd) !important; color:var(--fg-muted) !important; }
.theme-dark .pf-filter:hover{ border-color:var(--cyan) !important; color:var(--cyan) !important; }
.theme-dark .pf-filter.active{ background:linear-gradient(135deg,var(--blue),var(--cyan)) !important; border-color:transparent !important; color:#04121f !important; }
.theme-dark .pf-item:hover::after{ background:rgba(34,211,238,.18) !important; }
.theme-dark .pf-cta{ background:var(--bg-base) !important; }
.theme-dark .pf-cta h2{ color:#fff !important; } .theme-dark .pf-cta p{ color:var(--fg-muted) !important; }
.theme-dark .pf-cta a.sec{ background:var(--blue-deep) !important; }

/* ============ ORACAL COLORS (oracal-tsvet.php) ============ */
.theme-dark .oracal-hero{ background:linear-gradient(135deg,#0A1024,#16213e) !important; }
.theme-dark .oracal-note{ background:rgba(34,211,238,.08) !important; border-color:rgba(34,211,238,.4) !important; color:var(--fg) !important; }
.theme-dark .oracal-note strong{ color:var(--cyan) !important; }
.theme-dark .color-info{ background:var(--glass) !important; color:var(--fg) !important; }
.theme-dark .oracal-cta{ background:var(--bg-base) !important; }
.theme-dark .oracal-cta a.sec{ background:var(--blue-deep) !important; }

/* ============ B2B PAGE (dlya-biznesa.php) ============ */
.theme-dark .b2b-card{ background:var(--glass) !important; border:1px solid var(--bd) !important; box-shadow:none !important; }
.theme-dark .b2b-card h3, .theme-dark .b2b-card h4{ color:#fff !important; }
.theme-dark .b2b-card p, .theme-dark .b2b-card li{ color:var(--fg-muted) !important; }
.theme-dark .b2b-form-wrap{ background:var(--glass) !important; box-shadow:0 24px 60px rgba(0,0,0,.4) !important; }
.theme-dark .b2b-form-wrap label, .theme-dark .b2b-form-wrap h2, .theme-dark .b2b-form-wrap h3{ color:#fff !important; }
.theme-dark .b2b-partner{ background:var(--glass) !important; border:1px solid var(--bd) !important; }
.theme-dark .b2b-partner h2{ color:#fff !important; }
.theme-dark .b2b-partner p{ color:var(--fg-muted) !important; }
/* иконочные кружки на about/b2b -> циан */
.theme-dark .ico, .theme-dark .b2b-card .ico{ color:var(--cyan) !important; }
.theme-dark .story-fact-ico{ color:var(--cyan) !important; background:rgba(34,211,238,.12) !important; }

/* ============ ABOUT PAGE (about.php) — секции истории и «почему мы» ============ */
.theme-dark .about-story{ background:var(--bg-base) !important; }
.theme-dark .why-about{ background:var(--bg-deep) !important; }
.theme-dark .story-text h2, .theme-dark .story-fact h4, .theme-dark .why-about-inner .sec-hdr h2, .theme-dark .why-item h4{ color:#fff !important; }
.theme-dark .story-text p, .theme-dark .story-fact p, .theme-dark .why-about-inner .sec-hdr p, .theme-dark .why-item p{ color:var(--fg-muted) !important; }
.theme-dark .story-fact, .theme-dark .why-item{ background:var(--glass) !important; border:1px solid var(--bd) !important; box-shadow:none !important; }
.theme-dark .story-text .highlight{ background:rgba(34,211,238,.08) !important; border-left-color:var(--cyan) !important; color:#e7ecf5 !important; }

/* ============ CONTACT PAGE (contact.php) — карточка формы ============ */
.theme-dark .php-email-form{ background:var(--glass) !important; border:1px solid var(--bd) !important; border-radius:18px; padding:32px 28px; box-shadow:0 24px 60px rgba(0,0,0,.4) !important; }
.theme-dark .php-email-form label, .theme-dark .php-email-form h2, .theme-dark .php-email-form h3, .theme-dark .php-email-form p{ color:#fff !important; }

/* ============ COMBO PAGE (zerkalnaya-bronirovka.php) ============ */
.theme-dark .combo-hero::before{ background:linear-gradient(135deg,rgba(6,10,23,.82),rgba(10,20,50,.55)) !important; }
.theme-dark .combo-price-badge, .theme-dark .btn-combo-main{ background:linear-gradient(135deg,#FB923C,var(--accent-2)) !important; color:#fff !important; }
.theme-dark .btn-combo-main:hover{ background:var(--accent-2) !important; }
.theme-dark .layers-section, .theme-dark .daynight-section, .theme-dark .combo-faq{ background:var(--bg-base) !important; }
.theme-dark .usecases-section, .theme-dark .combo-price-section, .theme-dark .combo-gallery, .theme-dark .related-section{ background:var(--bg-deep) !important; }
.theme-dark .layers-section h2, .theme-dark .usecases-section h2, .theme-dark .daynight-section h2, .theme-dark .combo-price-section h2, .theme-dark .combo-faq h2, .theme-dark .combo-gallery h2{ color:#fff !important; }
.theme-dark .layers-section .sub-text, .theme-dark .combo-gallery .sub-text{ color:var(--fg-muted) !important; }
.theme-dark .layer-card{ background:var(--glass) !important; border:1px solid var(--bd); box-shadow:none !important; }
.theme-dark .layer-card h3{ color:#fff !important; } .theme-dark .layer-card p{ color:var(--fg-muted) !important; }
.theme-dark .layer-card ul li{ color:var(--fg-muted) !important; border-bottom-color:var(--bd-soft) !important; }
.theme-dark .layer-card ul li::before{ color:var(--cyan) !important; }
.theme-dark .layers-plus, .theme-dark .layer-icon, .theme-dark .uc-icon, .theme-dark .res-icon{ color:var(--cyan) !important; }
.theme-dark .layer-result{ background:linear-gradient(135deg,#0A1024,#0d2137) !important; }
.theme-dark .usecase-item{ background:var(--glass) !important; border-left-color:var(--cyan) !important; }
.theme-dark .usecase-item h4{ color:#fff !important; } .theme-dark .usecase-item p{ color:var(--fg-muted) !important; }
.theme-dark .daynight-card.day{ background:rgba(251,191,36,.1) !important; border-color:rgba(251,191,36,.4) !important; }
.theme-dark .daynight-card.day h3{ color:#FDE68A !important; } .theme-dark .daynight-card.day p{ color:var(--fg) !important; }
.theme-dark .daynight-card.night{ background:var(--glass) !important; border-color:var(--bd) !important; }
.theme-dark .daynight-note{ background:var(--glass) !important; border-left-color:var(--accent) !important; color:var(--fg-muted) !important; }
.theme-dark .daynight-note strong{ color:var(--accent-300) !important; } .theme-dark .daynight-note a{ color:var(--cyan) !important; }
.theme-dark .price-table th{ background:var(--bg-elev) !important; color:#fff !important; }
.theme-dark .price-table td{ color:var(--fg-muted) !important; border-bottom-color:var(--bd) !important; }
.theme-dark .price-table td:last-child{ color:var(--cyan) !important; }
.theme-dark .price-table tr:nth-child(even) td{ background:rgba(255,255,255,.03) !important; }
.theme-dark .combo-price-section .price-note{ background:transparent !important; border:0 !important; color:var(--fg-dim) !important; }
.theme-dark .combo-gallery-grid a{ box-shadow:0 8px 24px rgba(0,0,0,.4) !important; border:1px solid var(--bd); }
.theme-dark .cf-item{ background:var(--glass) !important; border:1px solid var(--bd); box-shadow:none !important; }
.theme-dark .cf-q{ color:#fff !important; } .theme-dark .cf-q:hover{ background:rgba(255,255,255,.05) !important; }
.theme-dark .cf-icon{ color:var(--cyan) !important; } .theme-dark .cf-a{ color:var(--fg-muted) !important; }
.theme-dark .combo-cta{ background:linear-gradient(135deg,var(--blue-deep),var(--blue) 55%,var(--cyan)) !important; }
.theme-dark .combo-cta .btn-wa{ background:#fff !important; color:var(--blue-deep) !important; }
.theme-dark .related-section h3{ color:#fff !important; }
.theme-dark .related-link{ background:var(--glass) !important; border-color:var(--bd) !important; color:var(--fg) !important; }
.theme-dark .related-link:hover{ border-color:var(--cyan) !important; color:var(--cyan) !important; }

/* ============ PACKAGES LIST (pakety.php) ============ */
.theme-dark .pkg-hero{ background:linear-gradient(135deg,#0A1024,#16213e) !important; }
.theme-dark .pkg-hero-badge{ background:rgba(255,255,255,.06) !important; border-color:var(--bd) !important; }
.theme-dark .pkg-section, .theme-dark .pkg-section:nth-child(even), .theme-dark .pkg-section:nth-child(odd){ background:var(--bg-deep) !important; }
.theme-dark .pkg-section:nth-child(even){ background:var(--bg-base) !important; }
.theme-dark .pkg-card{ background:var(--glass) !important; box-shadow:0 24px 60px rgba(0,0,0,.4) !important; border:1px solid var(--bd); }
.theme-dark .pkg-left{ background:rgba(0,0,0,.22) !important; }
.theme-dark .pkg-left .num{ background:var(--blue-deep) !important; }
.theme-dark .pkg-left .price{ color:var(--cyan) !important; }
.theme-dark .pkg-left .discount{ background:rgba(249,115,22,.16) !important; color:var(--accent-300) !important; }
.theme-dark .pkg-right{ background:transparent !important; }
.theme-dark .pkg-right h3{ color:var(--fg-dim) !important; }
.theme-dark .pkg-list li{ color:var(--fg-muted) !important; border-bottom-color:var(--bd-soft) !important; }
.theme-dark .pkg-list li::before{ color:var(--cyan) !important; }
.theme-dark .pkg-list li.star{ color:#fff !important; } .theme-dark .pkg-list li.star::before{ color:var(--cyan) !important; }
.theme-dark .pkg-list li.opt{ color:var(--fg-dim) !important; }
.theme-dark .pkg-btn-wa{ background:linear-gradient(135deg,#FB923C,var(--accent-2)) !important; }
.theme-dark .pkg-btn-wa:hover{ background:var(--accent-2) !important; }
.theme-dark .pkg-btn-tel{ border-color:var(--bd) !important; color:var(--fg) !important; }
.theme-dark .pkg-btn-tel:hover{ border-color:var(--cyan) !important; color:var(--cyan) !important; }
.theme-dark .pkg-final{ background:linear-gradient(135deg,#0A1024,#0d2137) !important; }

/* ============ 404 ============ */
.theme-dark .not-found{ background:linear-gradient(135deg,var(--bg-deep),var(--bg-base)) !important; }
.theme-dark .not-found-code{ color:rgba(255,255,255,.07) !important; }
.theme-dark .not-found h1{ color:#fff !important; }
.theme-dark .not-found p{ color:var(--fg-muted) !important; }
.theme-dark .not-found .btn-home{ background:var(--blue-deep) !important; color:#fff !important; }
.theme-dark .not-found .btn-home:hover{ background:var(--blue) !important; color:#fff !important; }
