/* ==========================================================================
   ECOLOOP – dark mode (applied when <html data-theme="dark">)
   Only overrides colours and the few places where text must flip.
   ========================================================================== */
[data-theme="dark"] {
  --bg: #141817;
  --surface: #252D2A;
  --accent: #A9D367;      /* softened: easier on the eyes than the old neon lime */
  --text: #F2F5EC;
  --muted: #A6B0A8;
  --border: #3B4841;
  --glow: #A9D367;
  --glow-2: #7BA645;
}
/* Swap the theme icon: show the sun while in dark mode */
[data-theme="dark"] .theme-btn .i-sun { display: block; }
[data-theme="dark"] .theme-btn .i-moon { display: none; }
/* Current page: lime pill with graphite text */
[data-theme="dark"] .menu > li > a[aria-current],
[data-theme="dark"] .drop-toggle[data-current] { background: var(--glow); color: var(--bg); }
/* Login: lime pill, graphite arrow circle */
[data-theme="dark"] .btn-login { background: var(--glow); color: var(--bg); }
[data-theme="dark"] .btn-login .go { background: var(--glow); color: var(--bg); }
/* Other lime surfaces need dark text for contrast */
[data-theme="dark"] .btn-glow,
[data-theme="dark"] .social a:hover,
[data-theme="dark"] .social a:focus-visible,
[data-theme="dark"] .skip { color: var(--bg); }
/* Home banners (1 and 2): graphite shade, light text */
[data-theme="dark"] .home-hero,
[data-theme="dark"] .home2,
[data-theme="dark"] .wa-hero,
[data-theme="dark"] .about-hero,
[data-theme="dark"] .svc-hero,
[data-theme="dark"] .rs-hero,
[data-theme="dark"] .ct-hero,
[data-theme="dark"] .rx { --ov: var(--bg); --on: var(--text); }
/* Services banner: active tab is a lime pill with graphite text (like the active menu item) */
[data-theme="dark"] .sv-tab[aria-selected="true"] { background: var(--glow); color: var(--bg); border-color: var(--glow); }

/* Home 1 Section 7: text on lime surfaces flips like the banners */
[data-theme="dark"] .nx { --ov: var(--bg); }

/* Home 2 Section 2: text on lime surfaces flips like the banners */
[data-theme="dark"] .pb { --ov: var(--bg); }

/* Home 2 Section 3: text on lime surfaces flips like the banners */
[data-theme="dark"] .cs { --ov: var(--bg); }

/* Home 2 Section 4: text on lime surfaces flips like the banners */
[data-theme="dark"] .sl { --ov: var(--bg); }

/* Home 2 Section 5: text on lime flips like the banners; the dark cards use the page graphite with a visible edge */
[data-theme="dark"] .jr { --ov: var(--bg); }
[data-theme="dark"] .jr-c2, [data-theme="dark"] .jr-c4 { --cb: var(--bg); --cf: var(--text); border-color: var(--border); }

/* Home 2 Section 6: text on lime flips like the banners */
[data-theme="dark"] .gc { --ov: var(--bg); }

/* Home 2 Section 7: text on lime flips like the banners */
[data-theme="dark"] .pt { --ov: var(--bg); }

/* What We Accept Section 2: text on lime flips like the banners */
[data-theme="dark"] .wp { --ov: var(--bg); }

/* What We Accept Section 3: text on lime flips like the banners */
[data-theme="dark"] .wo { --ov: var(--bg); }

/* What We Accept Section 4: text on lime flips like the banners */
[data-theme="dark"] .ea { --ov: var(--bg); }

/* What We Accept Section 5: text on lime flips like the banners */
[data-theme="dark"] .ec { --ov: var(--bg); }

/* What We Accept Section 6: text on lime flips like the banners */
[data-theme="dark"] .hh { --ov: var(--bg); }
