/* =========================================================
   DARK MODE - toggled with html[data-theme="dark"]
   ========================================================= */

html[data-theme="dark"] {
  color-scheme: dark;
  --primary-soft: rgba(252, 0, 140, 0.14);
  --primary-glow: rgba(252, 0, 140, 0.28);
  --bg: #0c0c0d;
  --bg-soft: #151517;
  --bg-softer: #111113;
  --card: #161618;
  --ink: #f4f4f5;
  --text: #d4d4d8;
  --muted-fg: #9a9aa2;
  --border: #26262a;
  --border-strong: #34343a;
  --dark: #050505;
  --dark-2: #0e0e10;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.6);
}

html[data-theme="dark"] body { background: var(--bg); color: var(--text); }

/* Header */
html[data-theme="dark"] .site-header { background: rgba(12, 12, 13, 0.88); border-bottom-color: var(--border); }
html[data-theme="dark"] .site-header.scrolled { box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: inline-flex; color: #fbbf24; }
html[data-theme="dark"] .mobile-menu { background: var(--bg); }

/* Mono icons uploaded as dark PNG/SVG */
html[data-theme="dark"] .mk-offer-item img,
html[data-theme="dark"] .wh-feature-icon img,
html[data-theme="dark"] .ct-list-icon img,
html[data-theme="dark"] .ct-social img {
  filter: brightness(0) invert(1);
}

/* Home */
html[data-theme="dark"] .quote-block h2 { color: var(--text); }
html[data-theme="dark"] .category-section { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(252, 0, 140, 0.12), transparent 70%), #050505; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
html[data-theme="dark"] .phone-section { background: var(--bg-softer); }
html[data-theme="dark"] .ps-ring { background: radial-gradient(circle, rgba(252, 0, 140, 0.24), rgba(252, 0, 140, 0.06) 55%, transparent 70%); }
html[data-theme="dark"] .client-logo { filter: grayscale(1) brightness(0) invert(1); opacity: 0.55; }
html[data-theme="dark"] .client:hover .client-logo { filter: brightness(0) invert(1); opacity: 1; }
html[data-theme="dark"] .contact-section { background: #050505; border-top: 1px solid var(--border); }

/* Buttons */
html[data-theme="dark"] .btn-outline { border-color: var(--ink); color: var(--ink); }
html[data-theme="dark"] .btn-outline:hover { background: var(--ink); color: var(--bg); }
html[data-theme="dark"] .link-arrow,
html[data-theme="dark"] .path-right-content a { color: var(--ink); border-color: var(--ink); }

/* Marketing */
html[data-theme="dark"] .mk-phone { border-color: #2a2a2e; background: #2a2a2e; }
html[data-theme="dark"] .work-with-us { background: #050505; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
html[data-theme="dark"] .mk-hero-img img { border-radius: var(--radius); }

/* SEO / Hosting */
html[data-theme="dark"] .seo-dark { background: #050505; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
html[data-theme="dark"] .wh-bullets .ic.cross { background: rgba(255, 255, 255, 0.08); color: #777; }
html[data-theme="dark"] .wh-bullets li.is-cross { text-decoration-color: rgba(255, 255, 255, 0.2); }
html[data-theme="dark"] .wh-toggle button.active { background: var(--ink); color: var(--bg); }

/* Contact */
html[data-theme="dark"] .ct-input,
html[data-theme="dark"] .ct-select,
html[data-theme="dark"] .ct-textarea { background: var(--bg-soft); border-color: var(--border-strong); color: var(--ink); }
html[data-theme="dark"] .ct-input::placeholder,
html[data-theme="dark"] .ct-textarea::placeholder { color: #6b6b72; }
html[data-theme="dark"] .ct-select option { background: var(--bg-soft); color: var(--ink); }
html[data-theme="dark"] .ct-pill,
html[data-theme="dark"] .ct-time button { background: var(--bg-soft); }
html[data-theme="dark"] .ct-pill.active { background: var(--primary); }
html[data-theme="dark"] .ct-time button.active { background: var(--ink); color: var(--bg); }
html[data-theme="dark"] .ct-range::-webkit-slider-thumb { border-color: var(--bg); }
html[data-theme="dark"] .ct-hero::before { background: radial-gradient(ellipse at center, rgba(252, 0, 140, 0.16) 0%, rgba(252, 0, 140, 0.05) 40%, transparent 70%); }
html[data-theme="dark"] .ct-error { color: #ff6b8a; }
html[data-theme="dark"] .g-recaptcha { filter: invert(0.9) hue-rotate(180deg); }

/* Exclusive gallery */
html[data-theme="dark"] .gf-btn { background: var(--bg-soft); }
html[data-theme="dark"] .gf-btn.active { background: var(--primary); }

/* Footer stays dark, add separation */
html[data-theme="dark"] footer { border-top: 1px solid var(--border); }

/* Smooth swap */
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease !important;
}

html[data-theme="dark"] .site-header.mega-open { background: rgba(10, 10, 12, 0.86); }
html[data-theme="dark"] .mega-panel { background: linear-gradient(135deg, rgba(24, 24, 28, 0.82), rgba(14, 14, 16, 0.7)); border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 90px -30px rgba(0, 0, 0, 0.7); }
html[data-theme="dark"] .mega-item:hover, html[data-theme="dark"] .mega-item:focus-visible { background: rgba(255, 255, 255, 0.06); }
html[data-theme="dark"] .mega-backdrop { background: rgba(0, 0, 0, 0.4); }
html[data-theme="dark"] .mobile-menu { background: linear-gradient(160deg, rgba(14, 14, 16, 0.9), rgba(30, 6, 20, 0.86)); }
html[data-theme="dark"] .mobile-menu-close { background: rgba(255, 255, 255, 0.06); }
html[data-theme="dark"] .mm-item { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.06); }
html[data-theme="dark"] .mm-logo-light { display: none; }
html[data-theme="dark"] .mm-logo-dark { display: inline; }
html[data-theme="dark"] .header-cta { background: #fff; color: #0b0b0c; }
html[data-theme="dark"] .header-cta:hover { background: var(--primary); color: #fff; }
html[data-theme="dark"] .ab-caption, html[data-theme="dark"] .ab-badge { background: rgba(20, 20, 22, 0.82); color: #fff; border-color: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .ab-img-b { border-color: var(--bg-soft); }
html[data-theme="dark"] .ab-ghost { border-color: rgba(255, 255, 255, 0.7); }
