/* ---- Reset & Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1f2937;
    background: #f5f7fb;
    line-height: 1.55;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
a { color: inherit; }

/* ---- Live Ticker ---- */
.ticker-bar {
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 36px;
    border-bottom: 1px solid #1e293b;
}
.ticker-label {
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    padding: 0 0.85rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}
.ticker-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #fff;
    animation: pulse 1.4s infinite;
}
.ticker-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: ticker-scroll 60s linear infinite;
    padding-left: 1.5rem;
    font-size: 0.875rem;
    color: #e5e7eb;
}
.ticker-track .tick-item strong { color: #34d399; }
.ticker-track .tick-item .tick-loc { color: #93c5fd; }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* ---- Header ---- */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky; top: 0; z-index: 900;
}
.header-row {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.brand {
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}
.brand-tx, .brand-tk { color: #0f172a; }
.brand-cr { color: #dc2626; }
.header-right { display: flex; align-items: center; gap: 1rem; }
.live-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: #fee2e2; color: #b91c1c;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.04em;
}
.live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #dc2626;
    animation: pulse 1.4s infinite;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-white { background: #fff; color: #2563eb; }
.btn-white:hover { background: #f8fafc; }

/* ---- Hero ---- */
.hero { padding: 2.5rem 0 1.5rem; }
.hero h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}
.city-accent { color: #2563eb; }
.hero-sub { color: #64748b; font-size: 1rem; margin-bottom: 1.25rem; }

.zip-row {
    display: flex; gap: 0.6rem; max-width: 540px;
    margin-bottom: 0.5rem;
}
.zip-row input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
    color: #0f172a;
}
.zip-row input:focus { outline: 2px solid #2563eb; outline-offset: -1px; }

.zip-meta {
    display: flex; gap: 1rem; align-items: center;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.locate-link { color: #dc2626; text-decoration: none; font-weight: 500; }
.updated-text { color: #94a3b8; }

/* ---- City Tabs ---- */
.city-tabs {
    display: flex; gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.city-tab {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s ease;
}
.city-tab .count { color: #94a3b8; font-weight: 500; margin-left: 0.25rem; }
.city-tab:hover { border-color: #2563eb; color: #2563eb; }
.city-tab.active {
    background: #2563eb; color: #fff; border-color: #2563eb;
}
.city-tab.active .count { color: #cbd5e1; }

/* ---- Stats Grid ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.25rem 1rem;
    text-align: center;
    border: 1px solid #eef2f7;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.stat-num { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.stat-num.red { color: #dc2626; }
.stat-num.orange { color: #ea580c; }
.stat-num.blue { color: #2563eb; }
.stat-num.green { color: #059669; }
.stat-label {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: none;
}

/* ---- Map ---- */
#map {
    height: 460px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #e5edf7;
    z-index: 1;
}
.crash-marker {
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ---- Crash List ---- */
.crash-list-section { padding: 2rem 0; }
.section-head { margin-bottom: 1.25rem; }
.section-head h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 0.3rem;
}
.section-head p { color: #64748b; font-size: 0.9rem; }
.crash-list { display: flex; flex-direction: column; gap: 0.6rem; }
.crash-card {
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    border: 1px solid #eef2f7;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    display: flex; justify-content: space-between; align-items: center;
    border-left: 4px solid #94a3b8;
    cursor: pointer;
    transition: all 0.15s ease;
}
.crash-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 14px rgba(15,23,42,0.08); transform: translateY(-1px); }
.crash-card.sev-high { border-left-color: #dc2626; }
.crash-card.sev-medium { border-left-color: #ea580c; }
.crash-card.sev-low { border-left-color: #94a3b8; }
.crash-info { min-width: 0; flex: 1; }
.crash-type {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.crash-type.collision { color: #475569; }
.crash-loc {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}
.crash-meta {
    display: flex; gap: 0.75rem; font-size: 0.8rem; color: #94a3b8;
    align-items: center; flex-wrap: wrap;
}
.crash-meta .city { color: #64748b; font-weight: 500; }
.crash-meta .status {
    font-weight: 700; letter-spacing: 0.05em;
    font-size: 0.72rem;
}
.crash-meta .status.active { color: #dc2626; }
.crash-meta .status.archived { color: #ea580c; }
.crash-value { text-align: right; flex-shrink: 0; padding-left: 1rem; }
.crash-value-label {
    color: #94a3b8;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}
.crash-value-amount { color: #059669; font-weight: 800; font-size: 1.1rem; }
.crash-value-note { color: #94a3b8; font-size: 0.7rem; margin-top: 0.15rem; }

/* ---- Referral Banner ---- */
.referral-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    padding: 2rem 0;
}
.referral-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1.5rem; flex-wrap: wrap;
}
.referral-banner h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}
.referral-banner p { opacity: 0.9; font-size: 0.95rem; }

/* ---- Rights Section ---- */
.rights-section { padding: 3rem 0; background: #fff; border-top: 1px solid #eef2f7; }
.rights-title {
    font-family: 'Merriweather', serif;
    font-size: 1.7rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.rights-intro { color: #475569; margin-bottom: 1.25rem; max-width: 760px; }
.rights-section h3 {
    font-family: 'Merriweather', serif;
    color: #0f172a;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}
.rights-section p { color: #475569; }
.rights-list { margin: 0.5rem 0 0 1.25rem; color: #475569; }
.rights-list li { margin: 0.3rem 0; }
.callout {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin: 1.25rem 0;
    font-size: 0.95rem;
    border-left: 4px solid;
}
.callout-blue { background: #eff6ff; border-color: #2563eb; color: #1e3a8a; }
.callout-amber { background: #fffbeb; border-color: #f59e0b; color: #78350f; }

/* ---- Worth Cards ---- */
.worth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}
.worth-card {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 1.25rem;
}
.worth-label {
    color: #94a3b8;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.worth-amount {
    color: #059669;
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.worth-desc { color: #475569; font-size: 0.875rem; }

/* ---- Evaluation Section ---- */
.evaluation-section { padding: 3rem 0; background: #f5f7fb; }
.eval-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(15,23,42,0.06);
    border: 1px solid #eef2f7;
    text-align: center;
}
.eval-card h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 0.4rem;
}
.eval-card > p { color: #64748b; margin-bottom: 1.25rem; }
.eval-form {
    display: flex; gap: 0.5rem; max-width: 640px; margin: 0 auto 0.75rem;
    flex-wrap: wrap;
}
.eval-form input {
    flex: 1; min-width: 180px;
    padding: 0.7rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
}
.eval-fine { color: #94a3b8; font-size: 0.8rem; }

/* ---- Modal ---- */
.modal {
    display: none; position: fixed; inset: 0;
    background: rgba(15,23,42,0.5);
    z-index: 2000; padding: 2rem 1rem;
    overflow-y: auto;
}
.modal.open { display: block; animation: fadeIn 0.2s; }
.modal-content {
    background: #fff; border-radius: 14px;
    max-width: 720px; margin: 2rem auto;
    position: relative;
    overflow: hidden;
    border: 1px solid #eef2f7;
    animation: slideIn 0.25s;
}
.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: none; border: none;
    font-size: 1.6rem; color: #94a3b8;
    cursor: pointer; line-height: 1;
    z-index: 5;
}
.modal-close:hover { color: #475569; }

.detail-header {
    padding: 1.5rem 1.5rem 1rem;
    border-left: 4px solid #dc2626;
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 1rem; flex-wrap: wrap;
    border-bottom: 1px solid #eef2f7;
}
.detail-header.sev-medium { border-left-color: #ea580c; }
.detail-header.sev-low { border-left-color: #94a3b8; }
.detail-header h3 {
    text-transform: uppercase;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}
.detail-header .addr { color: #475569; font-size: 0.95rem; margin-bottom: 0.3rem; }
.detail-header .meta { color: #94a3b8; font-size: 0.8rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.detail-header .price-box { text-align: right; }
.detail-header .price-box .lbl { color: #94a3b8; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.detail-header .price-box .amt { color: #059669; font-weight: 800; font-size: 1.2rem; }
.detail-header .price-box .note { color: #94a3b8; font-size: 0.7rem; }

.detail-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; padding: 1.25rem 1.5rem;
}
.detail-grid > div { padding: 0 1rem; }
.detail-grid > div:first-child { border-right: 1px solid #eef2f7; padding-left: 0; }
.detail-grid > div:last-child { padding-right: 0; }
.detail-grid h4 {
    color: #94a3b8;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.detail-row {
    display: flex; justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #475569;
}
.detail-row.total {
    border-top: 1px solid #eef2f7;
    margin-top: 0.4rem;
    padding-top: 0.6rem;
    color: #059669; font-weight: 700;
}
.detail-row .right { color: #0f172a; font-weight: 500; }
.detail-row .right.archived { color: #ea580c; font-weight: 700; }
.detail-row .right.active { color: #dc2626; font-weight: 700; }
.detail-row .right.green { color: #059669; }

.detail-context {
    padding: 0 1.5rem 1.25rem;
    color: #475569;
    font-style: italic;
    font-size: 0.9rem;
    border-left: 3px solid #2563eb;
    margin: 0 1.5rem;
    padding-left: 0.85rem;
}

.detail-leadbox {
    margin: 1.25rem 1.5rem 1.5rem;
    background: #eff6ff;
    border-radius: 10px;
    padding: 1.25rem;
}
.detail-leadbox h4 {
    color: #0f172a; font-size: 1rem; margin-bottom: 0.3rem; font-weight: 700;
}
.detail-leadbox p { color: #475569; font-size: 0.85rem; margin-bottom: 0.85rem; }
.detail-leadbox form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.detail-leadbox input {
    flex: 1; min-width: 140px;
    padding: 0.6rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    background: #fff;
}
.detail-leadbox .fine { font-size: 0.75rem; color: #94a3b8; margin-top: 0.6rem; margin-bottom: 0; }

/* ---- Footer ---- */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
}
.site-footer p { margin: 0.3rem 0; }
.site-footer strong { color: #fff; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.85rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .worth-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; padding: 1rem; }
    .detail-grid > div { padding: 0 !important; border: none !important; }
    .detail-grid > div + div { margin-top: 1rem; padding-top: 1rem !important; border-top: 1px solid #eef2f7 !important; }
    #map { height: 320px; }
    .crash-card { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .crash-value { text-align: left; padding-left: 0; }
    .header-row { gap: 0.5rem; }
    .live-pill { display: none; }
}

/* ---- Qualification Wizard ---- */
.wizard-modal { display:none; position:fixed; inset:0; background:rgba(2,6,23,0.85); z-index:2000; align-items:center; justify-content:center; padding:1rem; overflow-y:auto; }
.wizard-modal.open { display:flex; }
.wizard-content { background:#0b1220; color:#e2e8f0; border:1px solid rgba(148,163,184,0.18); border-radius:18px; max-width:760px; width:100%; padding:2.25rem 2rem 2rem; position:relative; box-shadow:0 30px 60px rgba(0,0,0,0.5); }
.wizard-close { position:absolute; top:0.75rem; right:1rem; background:none; border:none; color:#cbd5e1; font-size:2rem; cursor:pointer; line-height:1; }
.wizard-close:hover { color:#fff; }
.wizard-progress { display:flex; gap:0.5rem; justify-content:center; margin-bottom:1.5rem; }
.wizard-progress .dot { width:32px; height:4px; border-radius:2px; background:rgba(148,163,184,0.25); }
.wizard-progress .dot.active { background:#22c55e; }
.wizard-step { display:none; }
.wizard-step.active { display:block; }
.wizard-step h2 { font-family:'Playfair Display', Georgia, serif; font-size:2.25rem; text-align:center; color:#f8fafc; margin-bottom:0.6rem; font-weight:700; }
.wizard-sub { text-align:center; color:#94a3b8; margin-bottom:1.75rem; }
.wizard-grid { display:grid; gap:0.85rem; }
.wizard-grid-3 { grid-template-columns:repeat(3, 1fr); }
.wizard-grid-2 { grid-template-columns:repeat(2, 1fr); }
@media (max-width:640px) { .wizard-grid-3, .wizard-grid-2 { grid-template-columns:1fr; } .wizard-step h2 { font-size:1.65rem; } }
.wiz-card { background:#1e293b; border:1px solid rgba(148,163,184,0.18); border-radius:14px; padding:1.5rem 1rem; color:#e2e8f0; cursor:pointer; transition:all 0.18s ease; display:flex; flex-direction:column; align-items:center; gap:0.85rem; font-size:0.95rem; font-weight:600; }
.wiz-card:hover { border-color:#22c55e; transform:translateY(-2px); background:#22344c; }
.wiz-card .wiz-ico { width:52px; height:52px; border-radius:50%; background:#0f172a; display:flex; align-items:center; justify-content:center; font-size:1.4rem; color:#22c55e; }
.wiz-row { background:#1e293b; border:1px solid rgba(148,163,184,0.18); border-radius:12px; padding:1rem 1.1rem; color:#e2e8f0; cursor:pointer; transition:all 0.18s ease; display:flex; align-items:center; gap:1rem; font-size:1rem; font-weight:600; text-align:left; }
.wiz-row:hover { border-color:#22c55e; background:#22344c; }
.wiz-row .wiz-ico { width:40px; height:40px; border-radius:10px; background:#0f172a; display:flex; align-items:center; justify-content:center; font-size:1.1rem; color:#22c55e; flex-shrink:0; }
.wiz-row .chev { margin-left:auto; color:#64748b; font-size:1.25rem; }
.wiz-row.warn { color:#86efac; }
.wiz-row.warn .wiz-ico { background:rgba(34,197,94,0.18); }
.wizard-secure { text-align:center; margin-top:1.75rem; color:#94a3b8; font-size:0.78rem; letter-spacing:0.08em; font-weight:600; }
.wizard-form { display:flex; flex-direction:column; gap:0.85rem; max-width:420px; margin:0 auto; }
.wizard-form input { background:#0f172a; border:1px solid rgba(148,163,184,0.25); border-radius:10px; padding:0.95rem 1rem; color:#f8fafc; font-size:1rem; }
.wizard-form input:focus { outline:none; border-color:#22c55e; }
.wizard-form .btn-primary { background:#22c55e; border:none; padding:1rem; font-weight:700; font-size:1.05rem; }
.wizard-form .btn-primary:hover { background:#16a34a; }
.wizard-fine { text-align:center; color:#64748b; font-size:0.8rem; margin-top:0.25rem; }
.wizard-success { background:rgba(34,197,94,0.12); border:1px solid rgba(34,197,94,0.4); color:#86efac; border-radius:12px; padding:1.5rem; text-align:center; margin-top:1rem; }
.wizard-decline { background:rgba(239,68,68,0.08); border:1px solid rgba(239,68,68,0.25); color:#fecaca; border-radius:12px; padding:1.5rem; text-align:center; margin-top:1rem; }

/* Header click-to-call (CTM dynamically swaps the visible number) */
.header-phone { color:#0f172a; font-weight:700; text-decoration:none; padding:0.45rem 0.7rem; border-radius:6px; font-size:0.95rem; white-space:nowrap; }
.header-phone:hover { background:#f1f5f9; color:#dc2626; }
/* On mobile, keep the click-to-call visible (tightening padding so it fits
   between the logo and the CTA on narrow phones). */
@media (max-width:640px) {
    .header-phone { padding:0.35rem 0.5rem; font-size:0.9rem; }
}

/* === Referral Reward Program === */
.referral-program { padding: 3rem 0 4rem; }
.ref-card {
  background: linear-gradient(135deg, #052e1a 0%, #0a1f12 50%, #052e1a 100%);
  border: 2px solid #ca8a04;
  border-radius: 18px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 0 80px rgba(202,138,4,0.08);
}
.ref-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(34,197,94,0.18), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(202,138,4,0.18), transparent 45%);
  pointer-events: none;
}
.ref-card-grid { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: center; position: relative; }
.ref-card-left { color: #f8fafc; }
.ref-medal { margin-bottom: 0.5rem; filter: drop-shadow(0 4px 10px rgba(202,138,4,0.5)); }
.ref-headline {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 3.4rem; line-height: 1; margin: 0.2rem 0 0.6rem;
  display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap;
}
.ref-amount {
  background: linear-gradient(180deg, #fde68a 0%, #f59e0b 60%, #b45309 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 0 rgba(0,0,0,0.3);
  font-weight: 900;
}
.ref-per { color: #fde68a; font-weight: 800; font-size: 2.6rem; }
.ref-sub { color: #cbd5e1; font-size: 1.1rem; margin: 0.2rem 0 0.4rem; }
.ref-sub strong { color: #4ade80; }
.ref-quote { color: #94a3b8; font-style: italic; margin: 0 0 1rem; font-size: 1.05rem; }
.ref-bullets { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.ref-bullets li {
  color: #e2e8f0; padding: 0.4rem 0 0.4rem 1.6rem; position: relative; font-size: 0.98rem;
}
.ref-bullets li::before {
  content: "★"; color: #f59e0b; position: absolute; left: 0; top: 0.35rem; font-size: 1.05rem;
}
.ref-bullets strong { color: #fde68a; }
.btn-gold {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  color: #1a0a00; font-weight: 800; border: 1px solid #b45309;
  box-shadow: 0 4px 14px rgba(217,119,6,0.4), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ref-fine { color: #64748b; font-size: 0.82rem; margin-top: 0.7rem; }

/* Right side decorative bills + brand */
.ref-card-right { position: relative; height: 320px; }
.ref-bill {
  position: absolute; width: 220px; height: 105px; border-radius: 8px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 6px),
    linear-gradient(135deg, #166534 0%, #14532d 60%, #052e1a 100%);
  border: 1px solid #4ade80;
  box-shadow: 0 10px 24px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(74,222,128,0.15);
  color: #d1fae5; font-family: 'Merriweather', Georgia, serif;
  padding: 10px 12px;
}
.ref-bill::before {
  content: ""; position: absolute; inset: 4px; border: 1px dashed rgba(74,222,128,0.35);
  border-radius: 5px; pointer-events: none;
}
.ref-bill-corner {
  position: absolute; font-weight: 900; font-size: 0.95rem;
  color: #fde68a; text-shadow: 0 1px 0 rgba(0,0,0,0.6);
  background: rgba(0,0,0,0.35); padding: 1px 6px; border-radius: 4px;
  border: 1px solid rgba(253,230,138,0.4);
}
.ref-bill-corner.tl { top: 8px; left: 10px; }
.ref-bill-corner.br { bottom: 8px; right: 10px; }
.ref-bill-seal {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fde68a, #b45309);
  color: #1a0a00; font-weight: 900; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #92400e; box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.ref-bill-name {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 1.5px;
  color: #bbf7d0; white-space: nowrap;
}
.ref-bill-sub {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; letter-spacing: 0.6px; color: #86efac;
  font-family: system-ui, sans-serif; white-space: nowrap;
}
.ref-bill-1 { top: 0; left: 20px; transform: rotate(-8deg); z-index: 3; }
.ref-bill-2 { top: 90px; left: 40px; transform: rotate(5deg); z-index: 2; }
.ref-bill-3 { top: 180px; left: 10px; transform: rotate(-3deg); z-index: 1; }
.ref-brand {
  position: absolute; bottom: 10px; right: 0;
  color: #f8fafc; font-weight: 800; font-size: 1.05rem;
  background: rgba(0,0,0,0.4); padding: 0.4rem 0.8rem; border-radius: 6px;
  border-left: 3px solid #f59e0b;
}

/* Referrer modal additions */
.ref-modal-badge {
  display: inline-block; background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #1a0a00; font-weight: 800; font-size: 0.78rem;
  padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.7rem;
  letter-spacing: 0.5px;
}
.ref-label {
  display: block; color: #cbd5e1; font-size: 0.85rem; font-weight: 600;
  margin: 0.6rem 0 0.3rem;
}
.ref-select, #referralOverlay textarea {
  width: 100%; padding: 0.75rem 0.9rem; background: #0f172a; border: 1px solid #334155;
  border-radius: 8px; color: #f8fafc; font-size: 0.98rem; font-family: inherit;
}
.ref-select:focus, #referralOverlay textarea:focus, #referralOverlay input:focus {
  outline: none; border-color: #f59e0b;
}

@media (max-width: 760px) {
  .ref-card { padding: 1.6rem; }
  .ref-card-grid { grid-template-columns: 1fr; }
  .ref-card-right { display: none; }
  .ref-headline { font-size: 2.4rem; }
  .ref-per { font-size: 1.8rem; }
}

/* How We Help section */
.how-we-help .help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin: 1.25rem 0 1.5rem;
}
.help-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 2px 10px rgba(15,23,42,0.04);
}
.help-ico { font-size: 1.7rem; line-height: 1; flex-shrink: 0; }
.help-card div { display: flex; flex-direction: column; }
.help-card strong { color: #0f172a; font-size: 1rem; }
.help-card span { color: #64748b; font-size: 0.9rem; }
.help-serving { color: #334155; font-weight: 600; margin-top: 0.25rem; }
.help-phone { color: #475569; margin-top: 0.4rem; }
.help-phone a { color: #1d4ed8; font-weight: 700; text-decoration: none; }
.help-phone a:hover { text-decoration: underline; }

/* Trust / Social Proof section */
.trust-section { padding: 3rem 0; background: #0f172a; text-align: center; }
.trust-title {
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1.25rem;
}
.trust-quote {
    max-width: 720px;
    margin: 0 auto 0.85rem;
    font-size: 1.25rem;
    line-height: 1.55;
    color: #f1f5f9;
    font-style: italic;
    border: 0;
}
.trust-author { color: #cbd5e1; font-weight: 600; margin-bottom: 1.25rem; }
.trust-stats { color: #fbbf24; font-size: 1.05rem; }
.trust-stats strong { color: #fff; }

@media (max-width: 640px) {
    .how-we-help .help-grid { grid-template-columns: 1fr; }
    .trust-quote { font-size: 1.1rem; }
}
