/* ============================================
   CDL CONSULTANTS — GOLD THEME
   Legal Authority: Obsidian Black + Estate Gold
   Applied via [data-theme="gold"] on <html>
   ============================================ */

[data-theme="gold"] {
  --brand-primary:        #C5A059;
  --brand-primary-rgb:    197, 160, 89;
  --brand-primary-light:  #D4AE6A;
  --brand-primary-pale:   #1E1A0E;
  --brand-secondary:      #EF5350;
  --brand-secondary-light:#FF7043;
  --brand-accent:         #A8843B;
  --brand-accent-light:   #C5A059;
  --brand-cta:            #D48C2A;
  --brand-cta-hover:      #A8843B;
  --brand-bg:             #1A1A1A;
  --brand-bg-blue:        #141414;
  --text-primary:         #F5F5F5;
  --text-body:            #D0D0D0;
  --text-muted:           #A0A0A0;
  color-scheme: dark;
}

/* ── Document ── */
[data-theme="gold"] body {
  background: #0D0D0D;
  color: #D0D0D0;
}

/* ── Headings ── */
[data-theme="gold"] h1,
[data-theme="gold"] h2,
[data-theme="gold"] h3,
[data-theme="gold"] h4 { color: #F5F5F5; }

/* ── Gold highlight on key heading words via class ── */
[data-theme="gold"] .gold-word { color: #C5A059; }

/* ── Topbar ── */
[data-theme="gold"] .topbar {
  background: #080808;
  color: #A0A0A0;
  border-bottom: 1px solid #2A2A2A;
}
[data-theme="gold"] .topbar a { color: rgba(197,160,89,0.85); }

/* ── Navbar ── */
[data-theme="gold"] .navbar {
  background: #0D0D0D;
  border-bottom: 3px solid #C5A059;
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
[data-theme="gold"] .nav-links a { color: #D0D0D0; }
[data-theme="gold"] .nav-links a:hover {
  background: #1A1A1A;
  color: #C5A059;
}
[data-theme="gold"] .nav-links a.active { color: #C5A059; }
[data-theme="gold"] .nav-phone { color: #C5A059; }
[data-theme="gold"] .hamburger span { background: #D0D0D0; }

/* ── Mobile menu ── */
[data-theme="gold"] .mobile-menu {
  background: #0D0D0D;
  border-top: 1px solid #2A2A2A;
}
[data-theme="gold"] .mobile-menu a {
  color: #D0D0D0;
  border-bottom-color: #1A1A1A;
}
[data-theme="gold"] .mobile-menu a:hover { background: #1A1A1A; }

/* ── Hero — Obsidian deep with gold gradient trace ── */
[data-theme="gold"] .hero {
  background:
    linear-gradient(135deg, rgba(8,8,8,0.97) 0%, rgba(13,13,13,0.94) 50%, rgba(26,20,10,0.92) 100%),
    url('../images/hero-consultants.jpg') center center / cover no-repeat !important;
  border-bottom: 1px solid #2A2A2A;
}
[data-theme="gold"] .page-hero {
  background:
    linear-gradient(135deg, rgba(8,8,8,0.96) 0%, rgba(20,16,8,0.93) 100%),
    url('../images/hero-consultants.jpg') center center / cover no-repeat !important;
  border-bottom: 1px solid #2A2A2A;
}
[data-theme="gold"] .hero h1,
[data-theme="gold"] .hero h2,
[data-theme="gold"] .hero h3,
[data-theme="gold"] .page-hero h1,
[data-theme="gold"] .page-hero h2,
[data-theme="gold"] .page-hero h3 { color: #FFFFFF !important; }
[data-theme="gold"] .hero p,
[data-theme="gold"] .page-hero p { color: rgba(240,235,225,0.85); }
[data-theme="gold"] .hero-eyebrow {
  background: rgba(197,160,89,0.14);
  color: #C5A059;
  border: 1px solid rgba(197,160,89,0.30);
}
[data-theme="gold"] .hero-stat strong { color: #C5A059; }
[data-theme="gold"] .hero-stat span { color: rgba(160,160,160,0.80); }
[data-theme="gold"] .page-hero .section-label {
  background: rgba(197,160,89,0.14);
  color: #C5A059;
}
[data-theme="gold"] .page-hero .breadcrumb { color: rgba(160,160,160,0.65) !important; }
[data-theme="gold"] .page-hero .breadcrumb a { color: rgba(197,160,89,0.85) !important; }
[data-theme="gold"] .page-hero .breadcrumb a:hover { color: #C5A059 !important; }

/* ── Trust bar ── */
[data-theme="gold"] .trust-bar {
  background: #111111;
  border-color: #2A2A2A;
}
[data-theme="gold"] .trust-item { color: #A0A0A0; }
[data-theme="gold"] .trust-item i { color: #C5A059; }

/* ── Section backgrounds — alternating obsidian / iron ── */
[data-theme="gold"] .bg-white,
[data-theme="gold"] section:not(.hero):not(.page-hero):not(.cta-banner):not(.trust-bar) {
  background: #141414;
}
[data-theme="gold"] .bg-light { background: #1A1A1A; }
[data-theme="gold"] .bg-primary { background: #0D0D0D; }
[data-theme="gold"] .section-accent { background: #111111; }

/* ── Section header gold underline ── */
[data-theme="gold"] .section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: #C5A059;
  margin-top: 0.6rem;
  border-radius: 1px;
}

/* ── Cards ── */
[data-theme="gold"] .card {
  background: #1A1A1A;
  border-color: #2A2A2A;
  color: #D0D0D0;
}
[data-theme="gold"] .card:hover {
  box-shadow: 0 8px 32px rgba(197,160,89,0.12);
  border-color: #C5A059;
}

/* ── Testimonial cards ── */
[data-theme="gold"] .testimonial-card {
  background: #1A1A1A;
  border-color: #2A2A2A;
}
[data-theme="gold"] .testimonial-quote { color: #D0D0D0; }
[data-theme="gold"] .author-name { color: #F5F5F5; }

/* ── Blog cards ── */
[data-theme="gold"] .blog-card {
  background: #1A1A1A;
  border-color: #2A2A2A;
}
[data-theme="gold"] .blog-card-title { color: #F5F5F5; }
[data-theme="gold"] .blog-card-excerpt { color: #A0A0A0; }
[data-theme="gold"] .blog-tag {
  background: #1E1A0E;
  color: #C5A059;
}

/* ── Stat numbers — gold authority ── */
[data-theme="gold"] .stat-number { color: #C5A059; }
[data-theme="gold"] .stat-label { color: #A0A0A0; }

/* ── Icon boxes — iron base, gold on hover ── */
[data-theme="gold"] .icon-box {
  background: #222222;
  color: #A0A0A0;
}
[data-theme="gold"] .service-card:hover .icon-box {
  background: #C5A059;
  color: #0D0D0D;
}

/* ── Section labels ── */
[data-theme="gold"] .section-label {
  background: #1E1A0E;
  color: #C5A059;
}
[data-theme="gold"] .section-sub { color: #A0A0A0; }
[data-theme="gold"] .text-muted { color: #A0A0A0; }

/* ── Process steps — gold numbers ── */
[data-theme="gold"] .process-steps::before { background: #2A2A2A; }
[data-theme="gold"] .step-number {
  background: #C5A059;
  color: #0D0D0D;
  box-shadow: 0 0 0 2px #2A2A2A;
  border-color: #0D0D0D;
}
[data-theme="gold"] .step-title { color: #F5F5F5; }
[data-theme="gold"] .step-desc { color: #A0A0A0; }

/* ── FAQ ── */
[data-theme="gold"] .faq-item {
  background: #1A1A1A;
  border-color: #2A2A2A;
}
[data-theme="gold"] .faq-question { background: #1A1A1A; }
[data-theme="gold"] .faq-question span { color: #F5F5F5; }
[data-theme="gold"] .faq-icon {
  background: #222222;
  color: #A0A0A0;
}
[data-theme="gold"] .faq-item.open { border-color: #C5A059; }
[data-theme="gold"] .faq-item.open .faq-icon {
  background: #C5A059;
  color: #0D0D0D;
}
[data-theme="gold"] .faq-answer { color: #D0D0D0; }
[data-theme="gold"] .faq-answer p { color: #D0D0D0 !important; }
[data-theme="gold"] .faq-answer ul,
[data-theme="gold"] .faq-answer li { color: #D0D0D0; }
[data-theme="gold"] .faq-category-label {
  color: #C5A059;
  border-bottom-color: #2A2A2A;
}

/* ── CTA Banner — dark + gold line ── */
[data-theme="gold"] .cta-banner {
  background: linear-gradient(135deg, #080808 0%, #0D0D0D 100%);
  border-top: 1px solid #C5A059;
  border-bottom: 1px solid #2A2A2A;
}
[data-theme="gold"] .cta-banner h2 { color: #FFFFFF; }
[data-theme="gold"] .cta-banner p { color: rgba(200,195,185,0.85); }
[data-theme="gold"] .cta-banner .btn-ghost {
  border-color: rgba(197,160,89,0.5);
  color: #C5A059;
}
[data-theme="gold"] .cta-banner .btn-ghost:hover {
  background: rgba(197,160,89,0.10);
}

/* ── CTA button — gold fills, black text ── */
[data-theme="gold"] .btn-cta {
  background: #C5A059;
  color: #0D0D0D;
  font-weight: 800;
}
[data-theme="gold"] .btn-cta:hover {
  background: #A8843B;
  color: #0D0D0D;
  box-shadow: 0 6px 24px rgba(197,160,89,0.35);
}

/* ── Outline buttons — gold border ── */
[data-theme="gold"] .btn-outline {
  border-color: #C5A059;
  color: #C5A059;
}
[data-theme="gold"] .btn-outline:hover {
  background: #C5A059;
  color: #0D0D0D;
}
[data-theme="gold"] .btn-outline-light {
  border-color: rgba(197,160,89,0.6);
  color: #C5A059;
}
[data-theme="gold"] .btn-outline-light:hover {
  background: rgba(197,160,89,0.12);
  border-color: #C5A059;
  color: #C5A059;
}

/* ── Urgency / violation badges ── */
[data-theme="gold"] .urgency-badge {
  background: #1A0D0D;
  color: #EF5350;
  border-color: #2A1414;
}
[data-theme="gold"] .result-badge-win {
  background: #0D1A10;
  color: #5CB870;
}
[data-theme="gold"] .result-badge-violation {
  background: #1A0D0D;
  color: #EF5350;
}

/* ── Forms — always light ── */
[data-theme="gold"] .lead-form,
[data-theme="gold"] form.lead-form,
[data-theme="gold"] .inline-lead-form,
[data-theme="gold"] #consultForm,
[data-theme="gold"] #homeLeadForm {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #2A2A2A;
}
[data-theme="gold"] .form-control {
  background: #FFFFFF;
  color: #1A1A1A;
  border-color: #D1D5DB;
}
[data-theme="gold"] .form-label { color: #1A1A1A; }

/* ── Stars ── */
[data-theme="gold"] .stars { color: #C5A059; }

/* ── Footer ── */
[data-theme="gold"] .footer,
[data-theme="gold"] footer.footer {
  background: #080808;
  border-top: 1px solid #C5A059;
}
[data-theme="gold"] .footer-heading { color: #A0A0A0; }
[data-theme="gold"] .footer-col a { color: #A0A0A0; }
[data-theme="gold"] .footer-col a:hover { color: #C5A059; }
[data-theme="gold"] .footer-bottom { color: #4A4A4A; border-top-color: #2A2A2A; }
[data-theme="gold"] .footer-logo-sub { color: #C5A059; }
[data-theme="gold"] .divider-accent {
  background: linear-gradient(90deg, #C5A059, #A8843B);
}

/* ── Links ── */
[data-theme="gold"] a { color: #C5A059; }
[data-theme="gold"] a:hover { color: #D4AE6A; }
[data-theme="gold"] .nav-links a,
[data-theme="gold"] .footer-col a,
[data-theme="gold"] .mobile-menu a { color: inherit; }

/* ── Inline style overrides ── */
[data-theme="gold"] [style*="background:#fff"],
[data-theme="gold"] [style*="background: #fff"],
[data-theme="gold"] [style*="background:#FFFFFF"],
[data-theme="gold"] [style*="background: white"] {
  background: #1A1A1A !important;
}
[data-theme="gold"] [style*="color:#1C1C1C"],
[data-theme="gold"] [style*="color: #1C1C1C"],
[data-theme="gold"] [style*="color:#374151"],
[data-theme="gold"] [style*="color:#333333"],
[data-theme="gold"] [style*="color:#1A1A1A"] {
  color: #D0D0D0 !important;
}
[data-theme="gold"] [style*="color:#6B7280"] {
  color: #A0A0A0 !important;
}
