/* The Bruning Law Firm — Injury Evaluation landing page */
/* =================================================
   THE BRUNING LAW FIRM — Homepage facelift
   Daedalus. Single-file, base64 assets. Content kept verbatim.
   ================================================= */
:root{
  --navy:#000F2C;        /* brand dark blue */
  --navy-deep:#00091F;
  --navy-darker:#00040F;
  --navy-line:#16314F;
  --navy-card:#06183A;

  --gold:#DAA900;        /* exact gold sampled from the logo "B" */
  --gold-bright:#F3C01C;
  --gold-soft:#B38A00;

  --white:#ffffff;
  --cream:#F7F2E8;
  --cream-soft:#FBF9F4;
  --paper:#EEF2F7;          /* cool light section (matches live form band) */
  --paper-deep:#E3E9F1;

  --ink:#1B1D22;
  --ink-soft:#3A3F49;
  --muted:#6A7180;
  --hairline:rgba(0,15,44,0.10);
  --hairline-dark:rgba(255,255,255,0.10);

  --container:1280px;
  --container-wide:1560px;
  --gutter:clamp(1.25rem,4vw,3.5rem);

  --font-display:"Playfair Display",Georgia,serif;
  --font-serif:"Playfair Display",Georgia,serif;
  --font-body:"Inter",-apple-system,system-ui,sans-serif;

  --shadow-card:0 24px 60px -28px rgba(8,26,48,0.45);

  /* ---- semantic theme tokens (LIGHT = default) ---- */
  --bg:#FBF9F4;
  --surface:linear-gradient(180deg,#EEF2F7 0%,#E3E9F1 100%);
  --text:#1B1D22;
  --text-soft:#3A3F49;
  --text-muted:#6A7180;
  --heading:#000F2C;
  --card:#ffffff;
  --card-border:rgba(0,15,44,0.10);
  --input-bg:#FBF9F4;
  --line:rgba(0,15,44,0.10);
}
/* ---- DARK theme ---- */
[data-theme="dark"]{
  --bg:#020912;
  --surface:linear-gradient(180deg,#06152F 0%,#03101F 100%);
  --text:rgba(255,255,255,0.86);
  --text-soft:rgba(255,255,255,0.66);
  --text-muted:rgba(255,255,255,0.5);
  --heading:#ffffff;
  --card:#0A1C3D;
  --card-border:rgba(255,255,255,0.12);
  --input-bg:#0D2147;
  --line:rgba(255,255,255,0.12);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:1.075rem;
  line-height:1.8;
  color:var(--text);
  background:var(--bg);
  transition:background-color .3s ease,color .3s ease;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;}

.wrap{max-width:var(--container);margin:0 auto;padding:0 var(--gutter);}
.wrap-wide{max-width:var(--container-wide);margin:0 auto;padding:0 var(--gutter);}
/* hero, header, and wide sections all share the 1560px inner container */

/* ---------- Type ---------- */
.eyebrow{
  display:inline-block;
  font-family:var(--font-body);
  font-size:0.8rem;
  font-weight:600;
  letter-spacing:0.26em;
  text-transform:uppercase;
  color:var(--gold-soft);
  margin-bottom:1.1rem;
}
.section-dark .eyebrow{color:var(--gold-bright);}
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.14;
  letter-spacing:-0.01em;
  margin:0;
  color:var(--heading);
}
h2{font-size:clamp(2.1rem,4.4vw,3.3rem);}
h3{font-size:clamp(1.35rem,2.2vw,1.7rem);line-height:1.2;}
h4{font-size:1.15rem;font-weight:600;}
p{margin:0 0 1.1rem;}
.lede{font-size:1.18rem;line-height:1.75;color:var(--text-soft);max-width:60ch;}
.section-dark .lede{color:rgba(255,255,255,0.74);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:0.7rem;
  padding:1.02rem 1.9rem;
  font-family:var(--font-body);
  font-size:0.86rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;
  border:1px solid transparent;border-radius:2px;cursor:pointer;
  transition:transform .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.btn-gold{background:var(--gold);color:var(--navy-deep);box-shadow:0 12px 28px -14px rgba(218,169,0,0.75);}
.btn-gold:hover{background:var(--gold-bright);transform:translateY(-2px);}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,0.4);}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold-bright);}
.btn-outline{background:transparent;color:var(--navy);border-color:rgba(0,15,44,0.35);}
.btn-outline:hover{background:var(--navy);color:var(--cream);border-color:var(--navy);}
.btn-block{width:100%;}

/* =================================================
   HEADER
   ================================================= */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:120;
  background:transparent;
  transition:background-color .3s ease,box-shadow .3s ease,padding .3s ease;
}
.site-header.scrolled{
  background:rgba(0,15,44,0.97);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:0 1px 0 var(--hairline-dark);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:1.15rem 0;gap:1.5rem;}
.brand img{height:62px;width:auto;}
.header-cta{display:flex;align-items:center;gap:1.5rem;}

/* Call Us — tagline + gold phone line */
.header-phone-block{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15;}
.avail{font-size:0.66rem;font-weight:600;letter-spacing:0.16em;text-transform:uppercase;color:rgba(255,255,255,0.65);margin-bottom:0.3rem;}
.header-phone{display:inline-flex;align-items:center;gap:0.45rem;font-family:var(--font-display);font-size:1.5rem;font-weight:700;color:var(--gold);letter-spacing:0.01em;}
.header-phone svg{width:20px;height:20px;fill:var(--gold);transition:fill .18s ease;}
.header-phone:hover,.header-phone:hover svg{color:var(--gold-bright);fill:var(--gold-bright);}

/* light / dark pill toggle */
.theme-toggle{
  position:relative;width:62px;height:30px;border-radius:30px;flex-shrink:0;cursor:pointer;
  border:1px solid rgba(255,255,255,0.25);background:rgba(255,255,255,0.12);
  display:inline-block;padding:0;
}
.theme-toggle .knob{
  position:absolute;top:50%;left:25%;width:24px;height:24px;border-radius:50%;
  background:var(--gold);transform:translate(-50%,-50%);transition:left .25s ease;z-index:0;
}
[data-theme="dark"] .theme-toggle .knob{left:75%;}
.theme-toggle svg{
  position:absolute;top:50%;width:15px;height:15px;transform:translate(-50%,-50%);
  z-index:1;transition:fill .2s ease;
}
.theme-toggle .sun{left:25%;fill:var(--navy);}
.theme-toggle .moon{left:75%;fill:rgba(255,255,255,0.55);}
[data-theme="dark"] .theme-toggle .sun{fill:rgba(255,255,255,0.55);}
[data-theme="dark"] .theme-toggle .moon{fill:var(--navy);}

/* =================================================
   HERO
   ================================================= */
.hero{
  position:relative;
  background:radial-gradient(ellipse at 28% 35%,#0E2B52 0%,var(--navy) 55%,var(--navy-darker) 100%);
  color:#fff;overflow:hidden;
  padding:11.5rem 0 0;
}
.hero::before{
  content:"";position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,0.022) 1px,transparent 1px);
  background-size:68px 68px;pointer-events:none;
  mask-image:radial-gradient(ellipse at 55% 40%,#000 25%,transparent 78%);
}
.hero-grid{
  position:relative;display:grid;grid-template-columns:1.08fr 0.92fr;gap:2.5rem;align-items:end;
  min-height:560px;
}
.hero-text{padding-bottom:4.5rem;}
.hero-eyebrow{
  display:inline-block;
  font-size:1.1rem;font-weight:700;letter-spacing:0.26em;text-transform:uppercase;
  color:var(--white);margin-bottom:1.2rem;
}
.hero h1{
  font-family:var(--font-serif);
  font-size:clamp(2.6rem,5.6vw,5.7rem);font-weight:500;line-height:1.05;letter-spacing:-0.015em;
  color:#fff;margin:0 0 1.6rem;
}
.hero h1 .accent{color:var(--gold);font-weight:500;}
.hero-sub{font-size:1.5rem;line-height:1.7;color:rgba(255,255,255,0.8);max-width:42ch;margin:0 0 2.3rem;}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2.5rem;}
.hero-rating{display:flex;flex-direction:column;gap:0.3rem;align-items:flex-start;color:rgba(255,255,255,0.72);font-size:0.95rem;}
.hero-rating .rating-top{display:flex;align-items:center;gap:0.55rem;}
.hero-rating .stars{color:var(--gold-bright);letter-spacing:0.12em;font-size:1.18rem;}
.hero-rating strong{color:#fff;font-weight:600;font-size:1.05rem;}
.hero-rating .rating-count{color:rgba(255,255,255,0.72);}
.hero-photo{position:relative;align-self:end;display:flex;justify-content:center;align-items:flex-end;}
.hero-photo img{
  max-height:680px;width:auto;
  filter:drop-shadow(0 34px 50px rgba(0,0,0,0.5));
}
/* soft floor glow under the photo */
.hero-photo::after{
  content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);
  width:78%;height:42px;border-radius:50%;
  background:radial-gradient(ellipse,rgba(218,169,0,0.22),transparent 70%);
  filter:blur(6px);
}

/* =================================================
   EVALUATION FORM
   ================================================= */
.section{padding:6.5rem 0;}
.section-paper{background:var(--surface);}
.section-cream{background:var(--bg);}
.section-dark{background:var(--navy);color:rgba(255,255,255,0.92);}
.section-dark h2,.section-dark h3{color:#fff;}
.section-darker{background:var(--navy-deep);color:rgba(255,255,255,0.92);}
.section-head{text-align:center;max-width:720px;margin:0 auto 3.4rem;}
.section-head .lede{margin:1rem auto 0;}

.eval-card{
  margin:0 auto;
  padding:clamp(1.8rem,4vw,3rem);
}
/* The Salesforce form (.eval-card--sf) renders bare — it brings its own container.
   Keep the white card chrome only for the static fallback form. */
.eval-card:not(.eval-card--sf){
  max-width:620px;
  background:var(--card);
  border:1px solid var(--card-border);
  border-radius:6px;
  box-shadow:var(--shadow-card);
}
.field{margin-bottom:1.15rem;}
.field label{
  display:block;font-size:0.82rem;font-weight:600;letter-spacing:0.04em;
  color:var(--text-soft);margin-bottom:0.4rem;
}
.field label .req{color:var(--gold-soft);}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1.15rem;}
.field input{
  width:100%;padding:0.92rem 1rem;font-size:1rem;font-family:var(--font-body);
  color:var(--text);background:var(--input-bg);
  border:1px solid var(--card-border);border-radius:4px;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.field input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(218,169,0,0.18);}
.consent{display:flex;gap:0.7rem;align-items:flex-start;margin:1.2rem 0 1.4rem;}
.consent input{margin-top:0.35rem;flex-shrink:0;width:16px;height:16px;accent-color:var(--gold-soft);}
.consent p{font-size:0.78rem;line-height:1.55;color:var(--text-muted);margin:0;}
.consent a{color:var(--gold-soft);font-weight:600;text-decoration:underline;}
.form-trust{
  display:flex;align-items:center;justify-content:center;gap:0.55rem;
  margin-top:1.3rem;font-size:0.8rem;color:var(--text-muted);
}
.form-trust svg{width:14px;height:14px;fill:var(--gold-soft);}

/* =================================================
   REVIEWS
   ================================================= */
.reviews-shell{max-width:1100px;margin:0 auto;}

/* =================================================
   CASE RESULTS — slider
   ================================================= */
.results-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:2.6rem;flex-wrap:wrap;}
.slider{position:relative;}
.slider-track{
  display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 2*1.25rem)/3);
  gap:1.25rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  padding-bottom:0.5rem;-ms-overflow-style:none;scrollbar-width:none;
}
.slider-track::-webkit-scrollbar{display:none;}
.result-card{
  scroll-snap-align:start;
  background:var(--navy-card);
  border:1px solid var(--navy-line);
  border-top:3px solid var(--gold);
  padding:2.4rem 2rem 2.1rem;
  display:flex;flex-direction:column;min-height:340px;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.result-card:hover{transform:translateY(-4px);box-shadow:0 28px 50px -30px rgba(0,0,0,0.7);}
.result-cat{
  font-size:0.72rem;font-weight:700;letter-spacing:0.2em;text-transform:uppercase;
  color:var(--gold-bright);margin-bottom:1rem;
}
.result-amount{font-family:var(--font-display);font-size:2.7rem;font-weight:600;color:#fff;line-height:1.05;letter-spacing:0.01em;}
.result-date{font-size:0.85rem;color:rgba(255,255,255,0.6);margin-top:0.5rem;letter-spacing:0.04em;}
.result-desc{font-size:1.05rem;line-height:1.6;color:rgba(255,255,255,0.8);margin-top:1.2rem;flex-grow:1;}
.slider-nav{display:flex;gap:0.6rem;}
.slider-btn{
  width:52px;height:52px;border-radius:50%;
  background:transparent;border:1px solid rgba(255,255,255,0.3);color:#fff;
  font-size:1.4rem;cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,opacity .18s ease;
}
.slider-btn:hover{background:var(--gold);border-color:var(--gold);color:var(--navy-deep);}
.slider-btn:disabled{opacity:0.3;cursor:default;}
.slider-btn:disabled:hover{background:transparent;border-color:var(--navy-line);color:#fff;}
.results-cta{text-align:center;margin-top:3rem;}

/* =================================================
   FAQ
   ================================================= */
.faq-list{max-width:880px;margin:0 auto;border-top:1px solid var(--line);}
.faq-item{border-bottom:1px solid var(--line);}
.faq-q{
  width:100%;background:none;border:none;cursor:pointer;text-align:left;
  display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;
  padding:1.6rem 0;
  font-family:var(--font-body);font-size:clamp(1.05rem,1.7vw,1.24rem);font-weight:600;
  color:var(--heading);line-height:1.4;letter-spacing:-0.005em;
}
.faq-q .ico{
  flex-shrink:0;width:30px;height:30px;border-radius:50%;border:1px solid var(--gold-soft);
  color:var(--gold-soft);display:flex;align-items:center;justify-content:center;font-size:1.3rem;
  transition:transform .25s ease,background-color .25s ease,color .25s ease;line-height:1;
}
.faq-item.open .faq-q .ico{transform:rotate(45deg);background:var(--gold);border-color:var(--gold);color:var(--navy-deep);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.faq-a-inner{padding:0 0 1.7rem;color:var(--text-soft);font-size:1.02rem;line-height:1.78;max-width:74ch;}

/* =================================================
   STATS BAR
   ================================================= */
.stats{background:var(--navy-deep);}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);}
.stat{
  padding:3.2rem 1.5rem;text-align:center;border-right:1px solid var(--navy-line);
}
.stat:last-child{border-right:none;}
.stat-num{font-family:var(--font-display);font-size:clamp(1.9rem,3.2vw,2.7rem);font-weight:600;color:var(--gold-bright);line-height:1.05;letter-spacing:0.01em;}
.stat-lbl{font-size:0.9rem;line-height:1.5;color:rgba(255,255,255,0.66);margin-top:0.8rem;max-width:24ch;margin-left:auto;margin-right:auto;}

/* =================================================
   MEMBERSHIP & RECOGNITIONS
   ================================================= */
.badges{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:clamp(1.5rem,4vw,3.4rem);max-width:1000px;margin:0 auto;
}
.badges img{
  height:auto;width:auto;
  filter:grayscale(1) opacity(0.62);
  transition:filter .25s ease,transform .25s ease;
}
.badges img:hover{filter:grayscale(0) opacity(1);transform:translateY(-3px);}

/* =================================================
   INNOVATIVE
   ================================================= */
.innov-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,5vw,4.5rem);align-items:stretch;}
.innov h2 .accent{color:var(--gold-bright);font-weight:600;}
.innov .pull{
  border-left:3px solid var(--gold);padding:0.2rem 0 0.2rem 1.5rem;margin:1.8rem 0;
  font-family:var(--font-body);font-size:1.28rem;line-height:1.55;font-weight:500;color:#fff;
}
.innov p{color:rgba(255,255,255,0.78);}
.innov .btn{margin-top:1.4rem;}
.innov-text{display:flex;flex-direction:column;justify-content:center;}
.innov-photo{position:relative;align-self:stretch;min-height:100%;}
.innov-photo img{
  width:100%;height:100%;min-height:520px;object-fit:cover;object-position:center 28%;
  border-radius:6px;box-shadow:0 30px 60px -30px rgba(0,0,0,0.7);
}
.innov-photo::before{
  content:"";position:absolute;inset:-14px -14px auto auto;width:120px;height:120px;
  border-top:2px solid var(--gold);border-right:2px solid var(--gold);opacity:0.6;
}

/* =================================================
   FOOTER
   ================================================= */
.site-footer{background:var(--navy-darker);color:rgba(255,255,255,0.7);padding:3.4rem 0 2.4rem;}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;padding-bottom:2.2rem;border-bottom:1px solid var(--hairline-dark);}
.footer-top img{height:42px;}
.footer-social{display:flex;gap:0.8rem;}
.footer-social a{
  width:40px;height:40px;border-radius:50%;border:1px solid var(--navy-line);
  display:flex;align-items:center;justify-content:center;transition:background-color .18s ease,border-color .18s ease;
}
.footer-social a:hover{background:var(--gold);border-color:var(--gold);}
.footer-social svg{width:17px;height:17px;fill:rgba(255,255,255,0.8);}
.footer-social a:hover svg{fill:var(--navy-deep);}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;padding-top:2rem;font-size:0.85rem;}
.footer-links{display:flex;gap:1.4rem;flex-wrap:wrap;}
.footer-links a:hover{color:var(--gold-bright);}
.footer-copy{color:rgba(255,255,255,0.5);}

/* lead popup (push-to-call) */
.lead-pop{
  position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;
  padding:1.5rem;background:rgba(0,4,15,0.62);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;
}
.lead-pop.show{opacity:1;visibility:visible;}
.lead-pop-box{
  position:relative;background:var(--card);color:var(--text);
  border:1px solid var(--card-border);border-radius:12px;max-width:430px;width:100%;
  padding:2.6rem 2.1rem 2.1rem;text-align:center;
  box-shadow:0 40px 90px -30px rgba(0,0,0,0.6);
  transform:translateY(14px) scale(0.97);transition:transform .25s ease;
}
.lead-pop.show .lead-pop-box{transform:none;}
.lead-pop-box .eyebrow{margin-bottom:0.6rem;}
.lead-pop-box h3{color:var(--heading);font-size:1.85rem;margin:0 0 0.7rem;}
.lead-pop-box p{color:var(--text-soft);font-size:1rem;line-height:1.6;margin:0 0 1.5rem;}
.lead-pop-call{font-size:1.05rem;gap:0.6rem;}
.lead-pop-call svg{width:19px;height:19px;fill:currentColor;}
.lead-pop-alt{
  display:block;margin:1.1rem auto 0;background:none;border:none;
  color:var(--text-muted);font-size:0.86rem;cursor:pointer;text-decoration:underline;font-family:var(--font-body);
}
.lead-pop-alt:hover{color:var(--text-soft);}
.lead-pop-close{
  position:absolute;top:0.7rem;right:1rem;background:none;border:none;
  font-size:1.7rem;line-height:1;color:var(--text-muted);cursor:pointer;
}
.lead-pop-close:hover{color:var(--text-soft);}

/* mobile sticky call bar */
.mobile-bar{display:none;}

/* =================================================
   RESPONSIVE
   ================================================= */
@media(max-width:1100px){
  .hero-grid{grid-template-columns:1fr 0.9fr;gap:1.5rem;}
  .hero h1{font-size:clamp(2rem,5.5vw,3.4rem);}
  .innov-grid{gap:2.5rem;}
  .slider-track{grid-auto-columns:calc((100% - 1.25rem)/2);}
}
@media(max-width:768px){
  .section{padding:4.6rem 0;}
  .hero{padding:8rem 0 0;}
  .hero-grid{grid-template-columns:1fr;gap:0;min-height:0;}
  .hero-text{padding-bottom:2.5rem;text-align:center;}
  .hero-eyebrow{font-size:0.82rem;letter-spacing:0.18em;margin-bottom:1rem;}
  .hero h1{font-size:clamp(2.75rem,10vw,3.6rem);}
  .hero-sub{font-size:1.12rem;line-height:1.6;margin-left:auto;margin-right:auto;}
  .hero-actions{flex-direction:column;align-items:center;gap:0.8rem;margin-bottom:2rem;}
  .hero-actions .btn{width:100%;max-width:420px;white-space:nowrap;font-size:0.8rem;letter-spacing:0.04em;padding-left:1rem;padding-right:1rem;}
  .hero-actions .btn-ghost{display:none;}
  .hero-rating{align-items:center;}
  .hero::after{display:none;}
  .hero-photo{display:flex;justify-content:center;align-items:flex-end;}
  .hero-photo img{max-height:440px;}
  .hero-photo::after{display:none;}
  .site-header .wrap-wide{padding-left:1.6rem;padding-right:1.6rem;}
  .brand img{height:46px;}
  .header-phone-block{display:none;}
  .header-cta{gap:0.85rem;}
  .header-cta .btn{display:none;}
  .field-row{grid-template-columns:1fr;}
  .innov-grid{grid-template-columns:1fr;}
  .innov-photo{order:-1;}
  .innov-photo img{min-height:300px;}
  .stats-grid{grid-template-columns:1fr 1fr;}
  .stat{border-bottom:1px solid var(--navy-line);}
  .stat:nth-child(odd){border-right:1px solid var(--navy-line);}
  .stat:nth-child(even){border-right:none;}
  .slider-track{grid-auto-columns:88%;}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
  body{padding-bottom:64px;}
  .mobile-bar{
    display:grid;grid-template-columns:1fr 1fr;
    position:fixed;left:0;right:0;bottom:0;z-index:130;
  }
  .mobile-bar a{
    padding:1rem;text-align:center;font-size:0.9rem;font-weight:700;
    letter-spacing:0.06em;text-transform:uppercase;display:flex;align-items:center;justify-content:center;gap:0.5rem;
  }
  .mobile-bar a svg{width:1.15em;height:1.15em;fill:currentColor;flex-shrink:0;}
  .mobile-bar .call{background:#34C759;color:#fff;}
  .mobile-bar .consult{background:var(--gold);color:var(--navy-deep);}
}
@media(max-width:480px){
  .hero-eyebrow{font-size:0.78rem;}
  .hero h1{font-size:2.6rem;}
  .hero-sub{font-size:1.08rem;}
  .result-amount{font-size:2.1rem;}
  .badges img{height:auto;}
  .stats-grid{grid-template-columns:1fr 1fr;}
  .footer-top{justify-content:center;text-align:center;}
}

/* =================================================
   WordPress theme-armor — re-assert anchor colors with :link/:visited
   specificity so the host theme's global "a:link{color:inherit}" reset
   (0,1,1) cannot override our .btn classes (0,1,0). Evolution #42.
   ================================================= */
.btn-gold, a.btn-gold:link, a.btn-gold:visited, a.btn-gold:hover { color: var(--navy-deep); }
.btn-ghost, a.btn-ghost:link, a.btn-ghost:visited { color: #fff; }
.btn-ghost:hover, a.btn-ghost:hover { color: var(--gold-bright); }
.header-phone, a.header-phone:link, a.header-phone:visited { color: var(--gold); }
.header-phone:hover, a.header-phone:hover { color: var(--gold-bright); }
.lead-pop-call, a.lead-pop-call:link, a.lead-pop-call:visited, a.lead-pop-call:hover { color: var(--navy-deep); }
.mobile-bar .call, .mobile-bar a.call:link, .mobile-bar a.call:visited, .mobile-bar a.call:hover { color: #fff; }
.mobile-bar .consult, .mobile-bar a.consult:link, .mobile-bar a.consult:visited, .mobile-bar a.consult:hover { color: var(--navy-deep); }
.result-card, .result-card:link { text-decoration: none; }

/* =================================================
   WordPress native-control armor
   The host theme skins native <button>/<input> controls (gold outline
   button look). That bleeds onto our real <button>s — form submit, popup
   close, FAQ toggles, slider arrows — rendering them as empty gold boxes.
   Reset their native appearance and re-assert our design, scoped to the
   page body class so specificity beats the theme.
   ================================================= */
.blf-eval-page button { -webkit-appearance: none; appearance: none; }

.blf-eval-page .btn {
  -webkit-appearance: none; appearance: none;
  border: 1px solid transparent; border-radius: 2px;
  min-height: 0; text-indent: 0; text-shadow: none;
}
.blf-eval-page .btn-gold { background: var(--gold) !important; color: var(--navy-deep) !important; border-color: transparent !important; }
.blf-eval-page .btn-gold:hover { background: var(--gold-bright) !important; }
.blf-eval-page .btn-ghost { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.4) !important; }
.blf-eval-page .btn-ghost:hover { color: var(--gold-bright) !important; border-color: var(--gold) !important; }

/* FAQ toggles — strip the theme button skin AND force a readable color
   (the theme's native button color rendered the titles near-invisible on the
   cream light-mode background). */
.blf-eval-page .faq-q {
  -webkit-appearance: none; appearance: none;
  background: none !important; border: none !important; border-radius: 0 !important;
  box-shadow: none !important; min-height: 0;
  color: var(--heading) !important;
  /* theme adds 32px left padding to native <button>; zero it so the question
     text lines up flush-left with the answer below it. */
  padding: 1.6rem 0 !important;
}

/* Slider arrows */
.blf-eval-page .slider-btn {
  -webkit-appearance: none; appearance: none;
  background: transparent !important; border: 1px solid rgba(255,255,255,0.3) !important; border-radius: 50% !important;
}
.blf-eval-page .slider-btn:hover { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--navy-deep) !important; }

/* Popup close + secondary link */
.blf-eval-page .lead-pop-close {
  background: none !important; border: none !important; box-shadow: none !important;
  padding: 0; width: auto; min-height: 0; color: var(--text-muted); font-size: 1.7rem; line-height: 1;
}
.blf-eval-page .lead-pop-alt { background: none !important; border: none !important; box-shadow: none !important; }

/* Theme toggle — keep its pill background, just drop native chrome */
.blf-eval-page .theme-toggle { -webkit-appearance: none; appearance: none; box-shadow: none !important; }

/* Mobile sticky bar */
.blf-eval-page .mobile-bar .call { background: #34C759 !important; }
.blf-eval-page .mobile-bar .consult { background: var(--gold) !important; }

.footer-brand{display:inline-flex;align-items:center;}

/* =================================================
   Salesforce flow form — brand (submit) button → Bruning gold CTA.
   SLDS loads its own stylesheet; scope under the page body class + !important.
   ================================================= */
.blf-eval-page button.slds-button.slds-button_brand,
.blf-eval-page .eval-card--sf button.slds-button_brand {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--navy-deep) !important;
  font-family: var(--font-body) !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border-radius: 2px !important;
  padding: 1rem 2rem !important;
  min-height: 0 !important;
  box-shadow: 0 12px 28px -14px rgba(218,169,0,0.75) !important;
  transition: background-color .18s ease, transform .18s ease !important;
}
.blf-eval-page button.slds-button.slds-button_brand:hover,
.blf-eval-page button.slds-button.slds-button_brand:focus {
  background-color: var(--gold-bright) !important;
  border-color: var(--gold-bright) !important;
  color: var(--navy-deep) !important;
  transform: translateY(-1px) !important;
}

/* =================================================
   Client QA fixes (Maisie, 2026-06-12)
   ================================================= */
/* Recognition badges — cap size so they don't balloon at natural dimensions,
   especially on mobile (some logos are 150px+ wide / tall). */
.blf-eval-page .badges img { height: auto; width: auto; max-height: 74px; max-width: 150px; }
@media (max-width: 768px) { .blf-eval-page .badges img { max-height: 54px; max-width: 112px; } }
@media (max-width: 480px) { .blf-eval-page .badges img { max-height: 44px; max-width: 90px; } }

/* Footer logo — the host theme forces img{width:100%} on mobile, stretching it.
   Lock aspect: fixed height, auto width. */
.blf-eval-page .footer-top img,
.blf-eval-page .footer-brand img { height: 42px !important; width: auto !important; max-width: 200px; }

/* =================================================
   Client QA fixes (2026-06-16)
   ================================================= */
/* Popup call button — keep the phone number on one line */
.blf-eval-page .lead-pop-call { white-space: nowrap !important; }
@media (max-width: 480px) {
  .blf-eval-page .lead-pop-call {
    font-size: 0.95rem !important;
    letter-spacing: 0.02em !important;
    gap: 0.5rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Mobile: Intaker chat occupies the bottom corners — hide our sticky call bar
   so the two don't overlap (Intaker provides the persistent call CTA). */
@media (max-width: 768px) {
  .blf-eval-page .mobile-bar { display: none !important; }
  body.blf-eval-page { padding-bottom: 0 !important; }
}

/* =================================================
   Toggle-able sticky phone bar (mobile) — ACF: Bruning Settings → Sticky Phone Bar
   ================================================= */
.sticky-phone { display: none; }
@media (max-width: 768px) {
  .blf-eval-page .sticky-phone {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    position: fixed; left: 0; right: 0; z-index: 140;
    background: var(--gold); color: var(--navy-deep) !important;
    font-family: var(--font-body); font-weight: 700; font-size: 0.98rem;
    letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
    padding: 0.9rem 1rem;
  }
  .blf-eval-page .sticky-phone:link,
  .blf-eval-page .sticky-phone:visited,
  .blf-eval-page .sticky-phone:hover { color: var(--navy-deep) !important; }
  .blf-eval-page .sticky-phone svg { width: 1.1em; height: 1.1em; fill: currentColor; flex-shrink: 0; }
  .blf-eval-page .sticky-phone--top    { top: 0;    box-shadow: 0 2px 14px rgba(0,0,0,0.25); }
  .blf-eval-page .sticky-phone--bottom { bottom: 0; box-shadow: 0 -2px 14px rgba(0,0,0,0.25); }
  /* keep content clear of the bar */
  body.has-sticky-top .site-header { top: 48px; }
  body.has-sticky-bottom { padding-bottom: 56px; }
}


/* Optional campaign proof and partner lockup */
.blf-eval-page .ti-badge { margin: 0.5rem 0 0.75rem; min-height: 48px; max-width: 520px; padding: 0; }
.blf-eval-page .ti-badge .ti-widget .ti-header,
.blf-eval-page .ti-badge .ti-header { padding: 12px 0 !important; }
.blf-eval-page .ti-badge .ti-widget { text-align: left !important; }
.blf-eval-page .hero-partner { margin-top: 0.5rem; display: flex; align-items: center; gap: 1.25rem; padding: 0; }
.blf-eval-page .hero-partner .hp-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.58); line-height: 1.45; }
.blf-eval-page .hero-partner img { display: block; width: auto; height: 52px; }

@media (max-width: 768px) {
  .blf-eval-page .ti-badge { max-width: 100%; min-height: 0; margin: 0.55rem 0 0.65rem; padding: 0; }
  .blf-eval-page .ti-badge *,
  .blf-eval-page .ti-badge .ti-widget,
  .blf-eval-page .ti-badge .ti-header { text-align: left !important; }
  .blf-eval-page .ti-badge .ti-header,
  .blf-eval-page .ti-badge .ti-fade-container,
  .blf-eval-page .ti-badge .ti-header-grid { display: flex !important; flex-wrap: wrap; justify-content: flex-start !important; margin-left: 0 !important; padding-left: 0 !important; }
  .blf-eval-page .hero-partner { margin-top: 0.45rem; gap: 1rem; padding: 0; }
  .blf-eval-page .hero-partner img { height: 48px; }
  .blf-eval-page .hero-partner .hp-label { font-size: 0.58rem; letter-spacing: 0.14em; }
}

/* Desktop header control reset — 2026-08-28 */
@media (min-width: 768px) {
  .blf-eval-page .site-header .theme-toggle,
  .blf-eval-page .site-header .header-phone {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    outline: 0;
  }
  .blf-eval-page .site-header .theme-toggle {
    width: 62px;
    height: 30px;
  }
}
