/* =============================================
   Solar Audit Services — styles.css
   Dark navy / gold premium legal-tech design
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #070B14;
  --bg-mid:      #0A1020;
  --card:        #0D1628;
  --card-2:      #111D35;
  --gold:        #D4A017;
  --gold-2:      #F0C040;
  --gold-dim:    rgba(212,160,23,0.12);
  --gold-border: rgba(212,160,23,0.22);
  --white:       #FFFFFF;
  --text:        rgba(255,255,255,0.88);
  --text-mid:    rgba(255,255,255,0.58);
  --text-muted:  rgba(255,255,255,0.36);
  --border:      rgba(255,255,255,0.06);
  --border-2:    rgba(255,255,255,0.1);
  --danger:      #FF4444;
  --success:     #22c55e;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 12px 48px rgba(0,0,0,0.4);
  --shadow-lg:   0 24px 80px rgba(0,0,0,0.55);
  --t:           0.18s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── REVEALS ── */
.reveal, .reveal-right {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-right { transform: translateX(28px); }
.reveal.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* ── TOASTS ── */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: .5rem; pointer-events: none; }
.toast { display: flex; align-items: flex-start; gap: .75rem; background: var(--card-2); border: 1px solid var(--border-2); border-radius: 14px; padding: .875rem 1.25rem; font-size: .875rem; color: var(--white); box-shadow: var(--shadow); pointer-events: auto; max-width: 360px; animation: tIn .3s cubic-bezier(.34,1.56,.64,1) forwards; line-height: 1.5; }
.toast.toast-success { border-left: 3px solid var(--success); }
.toast.toast-error   { border-left: 3px solid var(--danger); }
.toast.toast-info    { border-left: 3px solid #3b82f6; }
.toast-out { animation: tOut .25s ease forwards; }
@keyframes tIn  { from{opacity:0;transform:translateX(110%)} to{opacity:1;transform:none} }
@keyframes tOut { to{opacity:0;transform:translateX(110%)} }

/* ── ALERT BAR ── */
.alert-bar {
  display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap;
  background: linear-gradient(90deg, #150900, #2a1400, #150900);
  border-bottom: 1px solid var(--gold-border);
  padding: .6rem 3rem .6rem 1.25rem; font-size: .8rem; color: rgba(255,255,255,.8);
  position: relative;
}
.alert-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); flex-shrink: 0; animation: ap 2s ease-in-out infinite; }
@keyframes ap { 0%,100%{opacity:1} 50%{opacity:.3} }
.alert-bar strong { color: var(--gold-2); }
.alert-link { color: var(--gold-2); font-weight: 700; text-decoration: none; }
.alert-link:hover { text-decoration: underline; }
.alert-close { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); font-size: 1.25rem; cursor: pointer; line-height: 1; padding: .25rem; }
.alert-close:hover { color: var(--white); }

/* ── NAVIGATION ── */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(7,11,20,.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: box-shadow var(--t); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 0 2rem; height: 68px; gap: 2rem; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.logo-img { width: 36px; height: 36px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-top { font-size: .56rem; font-weight: 800; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.logo-bot { font-size: .9rem; font-weight: 900; letter-spacing: .05em; color: var(--white); text-transform: uppercase; }
.nav-links { display: flex; list-style: none; gap: 0; }
.nav-links a { display: block; padding: .45rem .875rem; font-size: .82rem; font-weight: 500; color: var(--text-mid); text-decoration: none; border-radius: 8px; transition: color var(--t), background var(--t); }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.04); }
.nav-dash { color: var(--gold) !important; font-weight: 600 !important; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-phone { display: flex; align-items: center; gap: .375rem; font-size: .8rem; font-weight: 600; color: var(--text-mid); text-decoration: none; transition: color var(--t); }
.nav-phone:hover { color: var(--gold); }
.nav-burger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: .25rem; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text-mid); border-radius: 2px; }
.nav-mobile { display: none; flex-direction: column; gap: 0; background: var(--bg-mid); border-bottom: 1px solid var(--border); padding: .5rem 2rem 1rem; }
.nav-mobile a { padding: .7rem 0; font-size: .9rem; color: var(--text-mid); text-decoration: none; border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border-bottom: none; margin-top: .5rem; text-align: center; }
.nav-mobile.open { display: flex; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .65rem 1.4rem; font-family: inherit; font-size: .875rem; font-weight: 700; border-radius: var(--radius-sm); border: none; cursor: pointer; text-decoration: none; transition: all var(--t); white-space: nowrap; letter-spacing: -.01em; line-height: 1; }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, #e8b422 100%); color: #0A0800; box-shadow: 0 4px 20px rgba(212,160,23,.3); }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(212,160,23,.45); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border-2); }
.btn-ghost:hover { border-color: rgba(255,255,255,.22); color: var(--white); background: rgba(255,255,255,.04); }
.btn-nav { padding: .5rem 1.2rem; font-size: .8rem; border-radius: 8px; }
.btn-hero { padding: .95rem 2rem; font-size: .95rem; border-radius: 12px; }
.btn-lg { padding: .95rem 2rem; font-size: .95rem; border-radius: 12px; }
.btn-full { width: 100%; }
.btn-spinner { width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.2); border-top-color: #0A0800; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }

/* ── HERO ── */
.hero { position: relative; background: var(--bg); overflow: hidden; padding: 0; }
.hero-grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(212,160,23,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(212,160,23,.035) 1px, transparent 1px); background-size: 60px 60px; }
.hero-glow { position: absolute; top: -30%; left: 15%; width: 65%; height: 90%; background: radial-gradient(ellipse, rgba(212,160,23,.055) 0%, transparent 65%); pointer-events: none; }
.hero-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 5rem 2rem 0; display: grid; grid-template-columns: 1fr 440px; gap: 4rem; align-items: center; }
.hero-left { padding-bottom: 3rem; }

.hero-eyebrow { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; color: var(--gold); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1.5rem; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: ap 2s ease-in-out infinite; }

.hero-left h1 { font-size: clamp(2.4rem, 4.5vw, 3.75rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.06; color: var(--white); margin-bottom: 1.25rem; }
.text-gold { color: var(--gold); }
.hero-desc { font-size: 1rem; color: var(--text-mid); line-height: 1.82; max-width: 520px; margin-bottom: 1.75rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; }
.chip { display: flex; align-items: center; gap: 5px; background: var(--gold-dim); border: 1px solid var(--gold-border); border-radius: 100px; padding: .28rem .875rem; font-size: .73rem; font-weight: 600; color: rgba(255,255,255,.72); }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-right { padding-bottom: 3rem; }

/* Hero form card */
.hero-form-card { background: var(--card); border: 1px solid var(--border-2); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hfc-head { background: linear-gradient(135deg, #1c0e00, #2e1c00); border-bottom: 1px solid var(--gold-border); padding: 1.5rem 1.75rem; }
.hfc-badge { display: inline-block; background: var(--gold-dim); border: 1px solid var(--gold-border); border-radius: 100px; font-size: .62rem; font-weight: 900; letter-spacing: .12em; color: var(--gold); padding: .2rem .75rem; margin-bottom: .6rem; text-transform: uppercase; }
.hfc-head h3 { font-size: 1.05rem; font-weight: 800; color: var(--white); letter-spacing: -.025em; margin-bottom: .25rem; }
.hfc-head p { font-size: .78rem; color: var(--text-muted); }
#heroScreeningForm { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }

/* Stats bar */
.stats-bar { position: relative; border-top: 1px solid var(--border); background: rgba(0,0,0,.25); }
.stats-inner { max-width: 1280px; margin: 0 auto; padding: 1.25rem 2rem; display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.stat { text-align: center; }
.snum { display: block; font-size: 1.6rem; font-weight: 900; color: var(--gold); letter-spacing: -.04em; line-height: 1; margin-bottom: .2rem; }
.slabel { font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.stat-div { width: 1px; height: 36px; background: var(--border); }

/* ── SECTIONS ── */
.section { padding: 5.5rem 2rem; }
.sec-dark { background: var(--bg); }
.sec-mid  { background: var(--bg-mid); }
.sec-inner { max-width: 1280px; margin: 0 auto; }

.kicker { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.sec-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; color: var(--white); margin-bottom: .875rem; line-height: 1.15; }
.sec-sub { font-size: 1rem; color: var(--text-mid); line-height: 1.78; max-width: 600px; margin-bottom: 2.5rem; }

/* ── PROBLEM GRID ── */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.prob-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: all var(--t); }
.prob-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.prob-icon { font-size: 1.75rem; margin-bottom: 1rem; display: block; }
.prob-card h3 { font-size: .975rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; letter-spacing: -.02em; }
.prob-card p { font-size: .845rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1rem; }
.prob-stat { font-size: .73rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: .875rem; }
.prob-stat strong { color: var(--gold); }

/* ── PROCESS ── */
.process-wrap { display: flex; flex-direction: column; max-width: 860px; }
.proc-step { display: flex; gap: 1.75rem; align-items: flex-start; }
.proc-num { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--gold-dim); border: 1.5px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 900; color: var(--gold); }
.proc-body { padding-top: .25rem; padding-bottom: 1.5rem; }
.proc-body h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; }
.proc-body p { font-size: .865rem; color: var(--text-mid); line-height: 1.7; }
.proc-time { display: inline-flex; align-items: center; margin-top: .625rem; font-size: .7rem; font-weight: 700; color: var(--gold); background: var(--gold-dim); border: 1px solid var(--gold-border); border-radius: 100px; padding: .2rem .75rem; letter-spacing: .03em; text-transform: uppercase; }
.proc-connector { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--gold-border), transparent); margin-left: 25px; }

/* ── AUDIT GRID ── */
.audit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.audit-item { display: flex; align-items: flex-start; gap: 1rem; background: var(--card); padding: 1.2rem 1.5rem; transition: background var(--t); }
.audit-item:hover { background: var(--card-2); }
.acheck { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-dim); border: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 900; color: var(--gold); margin-top: 2px; }
.audit-item strong { display: block; font-size: .855rem; color: var(--white); margin-bottom: .2rem; }
.audit-item p { font-size: .78rem; color: var(--text-muted); line-height: 1.55; }

/* ── QUIZ ── */
.quiz-layout { display: grid; grid-template-columns: 1fr 520px; gap: 4rem; align-items: center; }
.quiz-perks { display: flex; flex-direction: column; gap: .5rem; margin-top: .5rem; }
.qp { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text-mid); }
.quiz-card { background: var(--card); border: 1px solid var(--border-2); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); }
.qq { display: none; }
.qq.active { display: block; }
.qq-label { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .875rem; }
.qq-text { font-size: .95rem; font-weight: 600; color: var(--white); line-height: 1.55; margin-bottom: 1.25rem; }
.qq-opts { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.qq-opt { display: block; cursor: pointer; }
.qq-opt input { display: none; }
.qq-opt span { display: block; padding: .75rem 1rem; background: rgba(255,255,255,.03); border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .845rem; color: var(--text-mid); transition: all var(--t); width: 100%; line-height: 1.45; cursor: pointer; }
.qq-opt input:checked + span { background: var(--gold-dim); border-color: var(--gold-border); color: var(--white); }
.qq-opt span:hover { border-color: var(--border-2); color: var(--white); }
.quiz-footer { display: flex; flex-direction: column; gap: .875rem; }
.qprog { height: 3px; background: rgba(255,255,255,.07); border-radius: 2px; overflow: hidden; }
.qprog-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 2px; transition: width .4s ease; }
.quiz-result { padding: 1.25rem; border-radius: var(--radius-sm); border: 1.5px solid; }
.quiz-result.r-low  { background: rgba(34,197,94,.07);  border-color: rgba(34,197,94,.2);  }
.quiz-result.r-mod  { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.22); }
.quiz-result.r-high { background: rgba(239,68,68,.09);  border-color: rgba(239,68,68,.28); }
.quiz-result h4 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.quiz-result p { font-size: .845rem; color: var(--text-mid); line-height: 1.65; margin-bottom: .875rem; }

/* ── FORMS ── */
.fg { display: flex; flex-direction: column; gap: .4rem; }
.fg label { font-size: .77rem; font-weight: 600; color: var(--text-mid); }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; }
.fg-checks { display: flex; flex-direction: column; gap: .5rem; }
.cklabel { display: flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .82rem; color: var(--text-mid); }
.cklabel input { accent-color: var(--gold); }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"],
textarea, select {
  font-family: inherit; font-size: .875rem; color: var(--white);
  background: rgba(255,255,255,.04); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: .78rem 1rem; outline: none;
  transition: all var(--t); width: 100%;
  appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.35)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
select option { background: #0D1628; color: white; }
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, textarea:focus, select:focus { border-color: var(--gold-border); background: rgba(212,160,23,.04); box-shadow: 0 0 0 3px rgba(212,160,23,.07); }
textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-fine { font-size: .7rem; color: var(--text-muted); text-align: center; margin-top: .25rem; }

/* ── INTAKE ── */
.intake-hdr { text-align: center; margin-bottom: 3rem; }
.intake-hdr .sec-sub { margin-left: auto; margin-right: auto; }
.intake-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.intake-card { background: var(--card); border: 1px solid var(--border-2); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); }
.intake-side { display: flex; flex-direction: column; gap: 1rem; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.side-icon { font-size: 1.5rem; margin-bottom: .875rem; }
.side-card h4 { font-size: .855rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.side-step { display: flex; gap: .75rem; margin-bottom: .875rem; align-items: flex-start; }
.side-step:last-child { margin-bottom: 0; }
.ss { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-dim); border: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-size: .62rem; font-weight: 900; color: var(--gold); }
.side-step p { font-size: .79rem; color: var(--text-muted); line-height: 1.55; }
.side-phone { text-align: center; }
.side-phone p { font-size: .79rem; color: var(--text-muted); margin-bottom: .5rem; }
.pcta { display: block; font-size: 1.25rem; font-weight: 800; color: var(--gold); text-decoration: none; margin-bottom: .25rem; }
.pcta:hover { text-decoration: underline; }
.psub { font-size: .7rem; color: var(--text-muted); }
.tr { display: flex; align-items: flex-start; gap: .5rem; font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; line-height: 1.5; }
.tr:last-child { margin-bottom: 0; }
.tck { flex-shrink: 0; color: var(--success); font-size: .75rem; margin-top: 2px; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: .875rem; transition: all var(--t); }
.tcard:hover { border-color: var(--border-2); transform: translateY(-2px); }
.tstars { color: var(--gold); font-size: .875rem; letter-spacing: 2px; }
.tcard p { font-size: .86rem; color: var(--text-mid); line-height: 1.75; font-style: italic; flex: 1; }
.tauthor { display: flex; align-items: center; gap: .75rem; }
.tavt { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-dim); border: 1.5px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; color: var(--gold); flex-shrink: 0; }
.tauthor strong { display: block; font-size: .855rem; color: var(--white); }
.tauthor span { font-size: .73rem; color: var(--text-muted); }
.tresult { font-size: .73rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: .75rem; margin-top: auto; }
.tresult strong { color: var(--gold); }

/* ── ANALYZER ── */
.analyzer-layout { display: grid; grid-template-columns: 1fr 540px; gap: 4rem; align-items: center; }
.az-note { font-size: .74rem; color: var(--text-muted); background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .875rem 1rem; line-height: 1.55; margin-top: .5rem; }
.az-card { background: var(--card); border: 1px solid var(--border-2); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); }
.az-results { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.az-summary { font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: .5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.az-flag { display: flex; gap: .75rem; align-items: flex-start; padding: .875rem 1rem; border-radius: var(--radius-sm); border: 1px solid; }
.az-flag.high   { background: rgba(239,68,68,.07);  border-color: rgba(239,68,68,.2); }
.az-flag.medium { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.2); }
.az-flag.info   { background: rgba(59,130,246,.07); border-color: rgba(59,130,246,.2); }
.az-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.az-flag.high .az-dot   { background: var(--danger); box-shadow: 0 0 6px var(--danger); }
.az-flag.medium .az-dot { background: #FBBF24; }
.az-flag.info .az-dot   { background: #3b82f6; }
.az-flag strong { display: block; font-size: .82rem; color: var(--white); margin-bottom: .25rem; }
.az-flag p { font-size: .78rem; color: var(--text-muted); line-height: 1.55; }

/* ── ABOUT ── */
.about-layout { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: center; }
.about-p { font-size: .9rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }
.about-nums { display: flex; gap: 1.75rem; flex-wrap: wrap; margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.anum span { display: block; font-size: 1.5rem; font-weight: 900; color: var(--gold); letter-spacing: -.04em; margin-bottom: .2rem; }
.anum p { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); font-weight: 600; }
.about-logo { width: 100%; max-width: 280px; object-fit: contain; display: block; margin: 0 auto 1.5rem; border-radius: var(--radius); }
.about-disc { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; font-size: .77rem; color: var(--text-muted); line-height: 1.65; }
.about-disc strong { color: var(--white); }

/* ── FAQ ── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; padding: 1.2rem 0; text-align: left; font-family: inherit; font-size: .93rem; font-weight: 600; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: color var(--t); }
.faq-q::after { content: '+'; font-size: 1.4rem; font-weight: 300; color: var(--gold); flex-shrink: 0; transition: transform var(--t); line-height: 1; }
.faq-q[aria-expanded="true"] { color: var(--gold); }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 1.25rem; }
.faq-a.open { display: block; }
.faq-a p { font-size: .86rem; color: var(--text-mid); line-height: 1.8; }

/* ── FINAL CTA ── */
.final-cta-sec { background: linear-gradient(135deg, var(--bg-mid) 0%, var(--bg) 100%); border-top: 1px solid var(--border); text-align: center; }
.final-cta-block { max-width: 680px; margin: 0 auto; }
.gold-bar { width: 48px; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); margin: 0 auto 2rem; border-radius: 2px; }
.final-cta-block h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--white); letter-spacing: -.04em; margin-bottom: 1rem; line-height: 1.15; }
.final-cta-block p { font-size: 1rem; color: var(--text-mid); margin-bottom: 2rem; line-height: 1.75; }
.final-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.site-footer { background: var(--bg-mid); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 3rem 2rem 1.5rem; }
.footer-top { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-logo-row { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-logo { width: 36px; height: 36px; object-fit: contain; }
.footer-brand-name { font-size: .875rem; font-weight: 800; color: var(--white); }
.footer-tag { font-size: .7rem; color: var(--text-muted); }
.footer-about-p { font-size: .79rem; color: var(--text-muted); line-height: 1.7; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.fcol h4 { font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: .875rem; }
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.fcol li, .fcol a { font-size: .82rem; color: var(--text-muted); text-decoration: none; transition: color var(--t); }
.fcol a:hover { color: var(--gold); }
.footer-div { height: 1px; background: var(--border); margin: 0 0 1.5rem; }
.footer-bot { display: flex; flex-direction: column; gap: .4rem; }
.footer-disc { font-size: .69rem; color: var(--text-muted); line-height: 1.65; }
.footer-copy { font-size: .72rem; color: var(--text-muted); }

/* ── DASHBOARD REDIRECT PAGE ── */
.dash-redirect { min-height: 60vh; display: flex; align-items: center; justify-content: center; }

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; padding: 4rem 2rem 0; }
  .hero-right { max-width: 500px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-grid { grid-template-columns: 1fr; }
  .quiz-layout, .analyzer-layout, .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .intake-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .problem-grid, .testi-grid { grid-template-columns: 1fr; }
  .fg-row { grid-template-columns: 1fr; }
  .hero-ctas, .final-cta-btns { flex-direction: column; }
  .stats-inner { flex-direction: column; gap: 1rem; }
  .stat-div { display: none; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-phone { display: none; }
  .section { padding: 4rem 1.5rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .lead-search-bar { flex-direction: column; }
  .modal-meta-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== LEAD DISCOVERY ===== */
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-controls { display: flex; align-items: center; gap: 0.75rem; }

.search-wrap {
  position: relative; flex: 1; min-width: 200px;
}

.search-icon {
  position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}

.search-input {
  padding-left: 2.5rem !important;
  background: rgba(255,255,255,0.04) !important;
}

.table-card { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table thead tr { border-bottom: 1px solid var(--border); }

.data-table th {
  padding: 0.875rem 1.25rem; text-align: left;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
  background: rgba(255,255,255,0.02);
}

.data-table th.sortable { cursor: pointer; user-select: none; transition: color var(--transition); }
.data-table th.sortable:hover { color: var(--text-secondary); }
.data-table th.sort-asc .sort-icon::after { content: '↑'; }
.data-table th.sort-desc .sort-icon::after { content: '↓'; }
.sort-icon { opacity: 0.4; margin-left: 4px; font-size: 0.8em; }
.data-table th.sort-asc .sort-icon, .data-table th.sort-desc .sort-icon { opacity: 1; color: var(--gold); }

.data-table td {
  padding: 1rem 1.25rem; color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.035); vertical-align: middle;
}

.data-table tbody tr { cursor: pointer; transition: background var(--transition); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: rgba(255,255,255,0.025); }

.data-table td:first-child {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem; color: var(--gold); font-weight: 600; letter-spacing: 0.02em;
}

.table-empty td { text-align: center; padding: 3rem; color: var(--text-muted); font-size: 0.875rem; }
.table-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.6rem; text-align: right; }

.lead-search-bar {
  display: flex;
  gap: 0.875rem;
  align-items: center;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.score-high {
  background: rgba(74,222,128,0.12);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.25);
}

.score-good {
  background: rgba(96,165,250,0.12);
  color: #60a5fa;
  border: 1px solid rgba(96,165,250,0.25);
}

.score-mid {
  background: rgba(251,191,36,0.12);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.25);
}

.score-low {
  background: rgba(248,113,113,0.08);
  color: #f87171;
  border: 1px solid rgba(248,113,113,0.2);
}

.practice-badge {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.practice-solar {
  background: rgba(251,191,36,0.1);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.22);
}

.practice-mva {
  background: rgba(167,139,250,0.1);
  color: #a78bfa;
  border: 1px solid rgba(167,139,250,0.22);
}

.outreach-count-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.outreach-count-badge.outreach-approved {
  background: rgba(74,222,128,0.08);
  color: #4ade80;
  border-color: rgba(74,222,128,0.2);
}

.outreach-count-badge.outreach-sent {
  background: rgba(96,165,250,0.08);
  color: #60a5fa;
  border-color: rgba(96,165,250,0.2);
}

.status-badge {
  display: inline-block; padding: 0.28rem 0.75rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
}

.outreach-status-draft {
  background: rgba(255,255,255,0.06) !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border) !important;
}

.outreach-status-approved {
  background: rgba(74,222,128,0.1) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(74,222,128,0.2) !important;
}

.outreach-status-sent {
  background: rgba(96,165,250,0.1) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(96,165,250,0.2) !important;
}
