/* ══════════════════════════════════════════════
   CreditReportingDamages.com — Shared Stylesheet
   ══════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #080e1a;
  color: #e2e8f0;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── VARIABLES ── */
:root {
  --green: #10b981;
  --green-dark: #059669;
  --green-glow: rgba(16,185,129,0.25);
  --gold: #f59e0b;
  --gold-glow: rgba(245,158,11,0.2);
  --red: #ef4444;
  --red-glow: rgba(239,68,68,0.2);
  --navy: #080e1a;
  --card: #111827;
  --card2: #1a2332;
  --border: rgba(255,255,255,0.08);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --radius: 12px;
}

/* ── NAVIGATION ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,14,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.95rem; color: var(--green);
  text-decoration: none; white-space: nowrap;
}
.nav-brand .icon { font-size: 1.2rem; }
.nav-links {
  display: flex; align-items: center; gap: 0.15rem;
  flex-wrap: nowrap; overflow: hidden;
}
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.8rem;
  padding: 0.35rem 0.6rem; border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--green); background: rgba(16,185,129,0.08); }
.nav-links .nav-cta {
  background: var(--green); color: #000;
  font-weight: 700; margin-left: 0.5rem;
}
.nav-links .nav-cta:hover { background: var(--green-dark); color: #000; }

/* ── PAGE WRAPPER ── */
.page-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: var(--muted);
  padding: 0.75rem 1.25rem;
  max-width: 1180px; margin: 0 auto;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--text); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #080e1a 0%, #0d1b2e 40%, #071220 100%);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(16,185,129,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--green); text-transform: uppercase;
  border: 1px solid rgba(16,185,129,0.3);
  padding: 0.25rem 0.75rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800; line-height: 1.15; color: #f8fafc;
  margin-bottom: 0.85rem;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.hero h1 span { color: var(--green); }
.hero-sub {
  font-size: 1rem; color: var(--muted);
  max-width: 600px; margin: 0 auto 1.75rem;
}
.hero-stats {
  display: flex; justify-content: center; gap: 2rem;
  flex-wrap: wrap; margin-bottom: 1.5rem;
}
.hero-stat .val {
  display: block; font-size: 1.6rem; font-weight: 800;
  color: var(--gold); line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.68rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── SECTION LABELS ── */
.section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800; color: #f1f5f9; margin-bottom: 0.6rem;
}
.section-sub { font-size: 0.92rem; color: var(--muted); max-width: 560px; }

/* ── CARDS ── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
}
.card.highlight {
  border-color: rgba(16,185,129,0.35);
  background: linear-gradient(145deg, rgba(16,185,129,0.06), var(--card));
}
.card.gold-highlight {
  border-color: rgba(245,158,11,0.35);
  background: linear-gradient(145deg, rgba(245,158,11,0.06), var(--card));
}
.card-icon { font-size: 1.4rem; margin-bottom: 0.6rem; }
.card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.4rem; color: #f1f5f9; }
.card p { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green); color: #000;
  font-weight: 700; padding: 0.8rem 1.6rem;
  border-radius: 8px; text-decoration: none; border: none; cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 0 20px var(--green-glow);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.2); color: var(--text);
  font-weight: 600; padding: 0.8rem 1.6rem;
  border-radius: 8px; text-decoration: none; cursor: pointer;
  font-size: 0.9rem; background: transparent;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }
.btn-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── AD SLOTS ── */
.ad-slot {
  padding: 0.75rem 1rem; text-align: center;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ad-slot.inline {
  border-radius: var(--radius); border: 1px solid var(--border);
  margin: 1.5rem 0;
}
.ad-label {
  font-size: 0.62rem; color: rgba(148,163,184,0.4);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem;
}

/* ── VIOLATION LIST ── */
.violation-list { list-style: none; }
.violation-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.86rem;
}
.violation-list li:last-child { border-bottom: none; }
.violation-list .v-icon { color: var(--red); font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.violation-list .v-body { flex: 1; }
.violation-list .v-name { font-weight: 600; color: #e2e8f0; }
.violation-list .v-cite { font-size: 0.72rem; color: var(--muted); font-family: monospace; margin-top: 0.15rem; }
.violation-list .v-damage { font-weight: 700; color: var(--gold); white-space: nowrap; font-size: 0.8rem; }

/* ── STAT BOX ── */
.stat-box {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 1rem; text-align: center;
}
.stat-box .sv { display: block; font-size: 1.6rem; font-weight: 800; color: var(--green); line-height: 1; }
.stat-box .sl { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.25rem; }

/* ── CASE BOX (settlements) ── */
.case-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  border-left: 3px solid var(--green);
}
.case-box .case-amount { font-size: 1.4rem; font-weight: 800; color: var(--green); margin-bottom: 0.25rem; }
.case-box .case-name { font-size: 0.88rem; font-weight: 700; color: #f1f5f9; margin-bottom: 0.4rem; }
.case-box .case-year { font-size: 0.7rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.case-box p { font-size: 0.8rem; color: var(--muted); line-height: 1.55; margin-top: 0.5rem; }

/* ── WARNING / INFO BOXES ── */
.info-box {
  background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.25);
  border-radius: 10px; padding: 1rem;
}
.warning-box {
  background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.25);
  border-radius: 10px; padding: 1rem;
}
.danger-box {
  background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.25);
  border-radius: 10px; padding: 1rem;
}
.box-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.4rem; }
.info-box .box-title { color: var(--green); }
.warning-box .box-title { color: var(--gold); }
.danger-box .box-title { color: var(--red); }
.info-box p, .warning-box p, .danger-box p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; color: #e2e8f0; font-size: 0.9rem; font-weight: 600;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--green); }
.faq-q .chevron { color: var(--muted); transition: transform 0.25s; flex-shrink: 0; font-size: 0.75rem; }
.faq-q.open { color: var(--green); }
.faq-q.open .chevron { transform: rotate(180deg); }
.faq-a { display: none; font-size: 0.83rem; color: var(--muted); line-height: 1.7; padding-bottom: 1rem; }
.faq-a.open { display: block; }

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(135deg, #0d1b2e, #111f35);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 16px; padding: 2.5rem 2rem;
  text-align: center; position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 500px; height: 200px;
  background: radial-gradient(ellipse, rgba(16,185,129,0.07) 0%, transparent 70%);
}
.cta-box h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: 0.65rem; }
.cta-box p { color: var(--muted); max-width: 500px; margin: 0 auto 1.5rem; font-size: 0.9rem; }

/* ── ATTORNEY CARD ── */
.attorney-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  transition: border-color 0.2s;
}
.attorney-card:hover { border-color: rgba(16,185,129,0.3); }
.attorney-card .naca-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(16,185,129,0.12); color: var(--green);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 0.15rem 0.5rem; border-radius: 999px; margin-bottom: 0.6rem;
}
.attorney-card .att-name { font-size: 0.95rem; font-weight: 700; color: #f1f5f9; margin-bottom: 0.1rem; }
.attorney-card .att-firm { font-size: 0.78rem; color: var(--green); margin-bottom: 0.3rem; }
.attorney-card .att-loc { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.6rem; }
.att-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.75rem; }
.att-tag {
  font-size: 0.62rem; font-weight: 600;
  background: rgba(255,255,255,0.06); color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.12rem 0.45rem; border-radius: 4px;
}
.att-contact { display: flex; flex-direction: column; gap: 0.25rem; }
.att-contact a {
  font-size: 0.78rem; color: var(--green); text-decoration: none;
  display: flex; align-items: center; gap: 0.35rem;
}
.att-contact a:hover { color: var(--green-dark); text-decoration: underline; }
.att-contact .att-link { color: var(--muted); }
.att-contact .att-link:hover { color: var(--text); }

/* ── LEGAL BAR ── */
.legal-bar {
  background: rgba(245,158,11,0.05); border-top: 1px solid rgba(245,158,11,0.15);
  padding: 1rem 1.5rem; margin: 1.5rem 0;
}
.legal-bar p { font-size: 0.76rem; color: var(--muted); max-width: 900px; margin: 0 auto; text-align: center; line-height: 1.6; }
.legal-bar strong { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: #060c18; border-top: 1px solid var(--border);
  padding: 2rem 1.5rem 1.5rem; margin-top: 2rem;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start;
}
.footer-brand { font-weight: 700; color: var(--green); margin-bottom: 0.4rem; font-size: 0.9rem; }
.footer-copy { font-size: 0.73rem; color: var(--muted); line-height: 1.6; }
.footer-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.75rem; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-nav {
  max-width: 1180px; margin: 1.25rem auto 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-nav a { font-size: 0.73rem; color: rgba(148,163,184,0.6); text-decoration: none; }
.footer-nav a:hover { color: var(--muted); }
.footer-disclaimer {
  max-width: 1180px; margin: 1rem auto 0;
  font-size: 0.68rem; color: rgba(148,163,184,0.4); line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.03); padding-top: 1rem;
}

/* ── RELATED PAGES STRIP ── */
.related-pages {
  background: var(--card2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 1.25rem 1.5rem;
}
.related-pages-inner { max-width: 1180px; margin: 0 auto; }
.related-label { font-size: 0.65rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.related-link {
  font-size: 0.78rem; color: var(--muted);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 0.3rem 0.75rem; border-radius: 6px; text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.related-link:hover { color: var(--green); border-color: rgba(16,185,129,0.3); }
.related-link.active { color: var(--green); border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.06); }

/* ── UTILITY ── */
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.text-red { color: var(--red); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-6 { padding-top: 3rem; padding-bottom: 3rem; }

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { margin-top: 0.75rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  body { padding-bottom: 60px; }
}
