/* ================================================================
   InmateFindTexas.com - Theme v2.0
   Playfair Display + Outfit | Lone Star: Warm Charcoal + Texas Red + Burnt Amber
   ================================================================ */
:root {
  /* Dark tones: warm charcoal/walnut — NOT cold blue navy */
  --navy:       #1A0E08;
  --navy-mid:   #241508;
  --navy-soft:  #321E0C;

  /* Texas Red — Lone Star flag */
  --red:        #BF0A30;
  --red-light:  #E01040;
  --red-dark:   #900720;

  /* Texas Amber — warm sunset, not chrome gold */
  --gold:       #C97D00;
  --gold-light: #E09210;

  /* Warm limestone/cream backgrounds */
  --cream:      #FAF6F0;
  --bg:         #F6F1EA;
  --surface:    #FFFFFF;
  --border:     #E0D5C8;
  --border-soft:#EDE7DC;

  /* Warm text tones */
  --text-dark:  #150A04;
  --text-body:  #3D2A1A;
  --text-muted: #7A6050;
  --text-light: #A89080;

  --green:      #10B981;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Outfit', system-ui, sans-serif;
  --nav-h:      70px;
  --max-w:      1380px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-full: 9999px;
  --shadow-sm:  0 1px 4px rgba(26,14,8,.07);
  --shadow-md:  0 4px 20px rgba(26,14,8,.12);
  --shadow-lg:  0 8px 40px rgba(26,14,8,.16);
  --shadow-xl:  0 20px 60px rgba(26,14,8,.22);
  --t: 230ms cubic-bezier(.4,0,.2,1);
}

/* ================================================================
   NAVIGATION — single authoritative definition
   ================================================================ */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  background: #1A0E08;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .25s;
}
#site-nav.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,.4); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 1.5rem;
  box-sizing: border-box; gap: .75rem;
}

.nav-logo { display:flex; align-items:center; gap:.65rem; text-decoration:none; flex-shrink:0; }
.nav-logo-icon { width:34px; height:34px; background:rgba(191,10,48,.15); border:1px solid rgba(191,10,48,.3); border-radius:9px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nav-logo-name { font-family:var(--font-sans); font-size:1rem; font-weight:700; color:#fff; white-space:nowrap; }
.nav-logo-name em { color:var(--gold); font-style:normal; }

.nav-links { display:flex; align-items:center; gap:.1rem; list-style:none; margin:0; padding:0; flex:1; justify-content:center; }
.nav-links a { display:block; padding:.4rem .85rem; font-size:.875rem; font-weight:500; color:rgba(255,255,255,.68); text-decoration:none; border-radius:8px; transition:all .18s; white-space:nowrap; }
.nav-links a:hover, .nav-links a.active { color:#fff; background:rgba(255,255,255,.09); }
.nav-links a.active { color:var(--gold-light); }

.nav-phone-btn, .nav-phone {
  display: none; align-items:center; gap:.45rem;
  padding:.5rem 1.1rem; background:var(--gold);
  color:#1A0E08 !important; font-weight:700; font-size:.82rem;
  border-radius:999px; white-space:nowrap; flex-shrink:0;
  text-decoration:none; box-shadow:0 2px 12px rgba(201,125,0,.3);
  transition:all .2s;
}
.nav-phone-btn:hover, .nav-phone:hover { background:#E09210; transform:translateY(-1px); color:#1A0E08 !important; }

.nav-toggle {
  display: none; flex-direction:column; justify-content:center; align-items:center;
  gap: 5px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15);
  border-radius:8px; cursor:pointer; flex-shrink:0;
  width:42px; height:42px; min-width:42px; padding:0;
}
.nav-toggle span { display:block; width:20px; height:2px; background:rgba(255,255,255,.9); border-radius:2px; transition:all .28s ease; transform-origin:center; }
.nav-toggle.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Desktop: show phone button */
@media(min-width:861px) {
  .nav-phone-btn, .nav-phone { display:flex; }
}

/* Mobile: show hamburger, hide nav links and phone */
@media(max-width:860px) {
  .nav-inner { padding:0 1rem; }
  .nav-toggle { display:flex; }
  .nav-phone-btn, .nav-phone { display:none !important; }
  .nav-links {
    display: none;
    position: fixed; top:var(--nav-h); left:0; right:0; width:100%;
    background: #1A0E08;
    flex-direction: column; align-items:stretch;
    padding: 0; border-top:1px solid rgba(255,255,255,.07); z-index:999;
  }
  .nav-links.open { display:flex; padding:1rem 1.25rem 1.5rem; }
  .nav-links a { padding:.85rem 1rem; border-radius:10px; font-size:1rem; border-bottom:1px solid rgba(255,255,255,.06); }
}

@media(max-width:480px) {
  .nav-inner { padding:0 .75rem; gap:.5rem; }
  .nav-logo-name { font-size:.88rem; }
  .nav-toggle { width:38px; height:38px; min-width:38px; }
}



/* -- Reset --------------------------------------------------- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0 }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; overflow-x:clip; }
body { font-family:var(--font-sans); font-size:17px; line-height:1.7; color:var(--text-body); background:var(--cream); overflow-x:clip; overflow-y:scroll; max-width:100%; width:100%; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; padding-top:var(--nav-h) }
img,video { max-width:100%; display:block }
a { color:var(--red); text-decoration:none; transition:color var(--t) }
a:hover { color:var(--red-light) }
h1,h2,h3,h4,h5,h6 { font-family:var(--font-serif); color:var(--text-dark); line-height:1.2; font-weight:700 }
h1 { font-size:clamp(2rem,5vw,3.5rem); letter-spacing:-.02em }
h2 { font-size:clamp(1.5rem,3vw,2.25rem); letter-spacing:-.015em }
h3 { font-size:clamp(1.2rem,2.5vw,1.65rem) }
h4 { font-size:1.1rem }
p { margin-bottom:1.1rem }
p:last-child { margin-bottom:0 }
ul,ol { padding-left:1.5rem }
li { margin-bottom:.5rem }
strong { color:var(--text-dark); font-weight:700 }

/* -- Layout --------------------------------------------------- */
.wrap, .container { width:100%; max-width:var(--max-w); margin:0 auto; padding:0 2rem; box-sizing:border-box; }
@media(max-width:480px) { .wrap, .container { padding:0 1rem } }
@media(max-width:640px) { .wrap, .container { padding:0 1.25rem } }
.section    { padding:6rem 0; overflow-x:clip; }
.section-sm { padding:3.5rem 0; overflow-x:clip; }
.section-lg { padding:8rem 0; overflow-x:clip; }
@media(max-width:900px) { .section{padding:3rem 0} .section-sm{padding:1.75rem 0} }
@media(max-width:640px) { .section{padding:2rem 0} .section-sm{padding:1.25rem 0} }

/* -- HERO - full viewport, split layout ----------------------- */
.hero {
  position:relative; min-height:100vh;
  display:flex; align-items:center;
  padding:5rem 0 5rem;
  background:var(--navy); overflow:hidden; contain:paint;
}
/* Animated gradient mesh */
.hero::before {
  content:''; position:absolute; inset:0; pointer-events:none; overflow:hidden;
  background:
    radial-gradient(ellipse 70% 80% at 10% 50%, rgba(191,10,48,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 90% 20%, rgba(201,125,0,.12) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(191,10,48,.08) 0%, transparent 55%);
  animation:hero-mesh 14s ease-in-out infinite alternate;
}
@keyframes hero-mesh { from{transform:scale(1) rotate(0deg)} to{transform:scale(1.06) rotate(1deg)} }
/* Dot grid */
.hero::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size:36px 36px;
  mask-image:radial-gradient(ellipse 85% 85% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 85% 85% at 50% 50%, black 0%, transparent 100%);
}
.hero-content { position:relative; z-index:1; width:100%; display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center }
@media(max-width:900px)  { .hero-content { grid-template-columns:1fr; max-width:100% } }

/* Hero left side */
.hero-left {}
.hero-chip, .hero-badge {
  display:inline-flex; align-items:center; gap:.55rem;
  background:rgba(191,10,48,.14); border:1px solid rgba(191,10,48,.3);
  border-radius:var(--r-full); padding:.38rem 1.1rem;
  font-size:.78rem; font-weight:700; color:var(--red-light);
  margin-bottom:1.75rem; letter-spacing:.05em; text-transform:uppercase;
  backdrop-filter:blur(10px);
}
.hero-chip-dot { width:7px; height:7px; border-radius:50%; background:var(--red); animation:pulse-dot 2s infinite; flex-shrink:0 }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(1.7)} }
.hero h1 { color:#fff; margin-bottom:1.5rem; line-height:1.08 }
.hero h1 em { font-style:italic; background:linear-gradient(135deg,var(--gold),var(--gold-light)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text }
.hero-sub { font-size:1.15rem; color:rgba(255,255,255,.62); max-width:520px; margin-bottom:2.5rem; line-height:1.72 }
.hero-stats { display:flex; gap:2.5rem; flex-wrap:wrap; margin-top:2.5rem; padding-top:2.5rem; border-top:1px solid rgba(255,255,255,.1) }
.hero-stat-val { font-family:var(--font-serif); font-size:2rem; color:var(--gold-light); line-height:1; font-weight:700 }
.hero-stat-key { font-size:.7rem; color:rgba(255,255,255,.4); text-transform:uppercase; letter-spacing:.07em; margin-top:.3rem }
@media(max-width:640px) { .hero-stats{gap:1.75rem} .hero-stat-val{font-size:1.6rem} }

/* Hero right side - visual panel */
.hero-right {
  position:relative; z-index:1;
  display:flex; flex-direction:column; gap:1rem;
}
.hero-search-card {
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14);
  border-radius:var(--r-xl); padding:2.25rem;
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  box-shadow:0 24px 64px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.1);
}
.hero-search-label { font-size:.8rem; font-weight:700; color:rgba(255,255,255,.48); text-transform:uppercase; letter-spacing:.07em; margin-bottom:.85rem; display:block }
.custom-select { position:relative; width:100%; user-select:none }
.select-trigger { width:100%; padding:.95rem 1.15rem; background:rgba(255,255,255,.14); border:1.5px solid rgba(255,255,255,.32); border-radius:var(--r-md); color:rgba(255,255,255,.95); font-family:var(--font-sans); font-size:.95rem; font-weight:500; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:.5rem; transition:all var(--t) }
.select-trigger:hover { border-color:rgba(201,125,0,.6); background:rgba(255,255,255,.18); box-shadow:0 0 0 3px rgba(201,125,0,.12) }
.select-trigger.open { border-color:var(--gold); border-radius:var(--r-md) var(--r-md) 0 0; box-shadow:0 0 0 4px rgba(201,125,0,.2) }
.select-trigger-text { flex:1; text-align:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.select-arrow { flex-shrink:0; transition:transform var(--t); color:rgba(255,255,255,.4); font-size:12px }
.select-trigger.open .select-arrow { transform:rotate(180deg) }
.select-dropdown { position:absolute; top:100%; left:0; right:0; background:var(--navy-mid); border:1px solid var(--red); border-top:none; border-radius:0 0 var(--r-md) var(--r-md); overflow:hidden; z-index:200; max-height:0; transition:max-height .28s ease,opacity .2s ease; opacity:0; box-shadow:0 24px 56px rgba(0,0,0,.45); pointer-events:none; visibility:hidden; }
.select-dropdown.open { max-height:320px; opacity:1; pointer-events:auto; visibility:visible; }
.select-search { padding:.7rem .95rem; border-bottom:1px solid rgba(255,255,255,.08); background:var(--navy-mid); position:sticky; top:0; z-index:1 }
.select-search input { width:100%; padding:.5rem .8rem; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); border-radius:var(--r-sm); color:#fff; font-family:var(--font-sans); font-size:.86rem; outline:none; transition:border-color var(--t) }
.select-search input::placeholder { color:rgba(255,255,255,.3) }
.select-search input:focus { border-color:var(--red) }
.select-list { max-height:240px; overflow-y:auto; list-style:none; padding:.4rem 0 }
.select-list::-webkit-scrollbar { width:4px }
.select-list::-webkit-scrollbar-thumb { background:rgba(255,255,255,.15); border-radius:4px }
.select-option { display:flex; align-items:center; justify-content:space-between; padding:.7rem 1.1rem; cursor:pointer; transition:background var(--t); min-height:46px }
.select-option:hover { background:rgba(191,10,48,.14) }
.select-option.selected { background:rgba(191,10,48,.2) }
.select-option-name { font-size:.9rem; font-weight:500; color:rgba(255,255,255,.9) }
.select-option.selected .select-option-name { color:var(--red-light) }
.select-option-city { font-size:.74rem; color:rgba(255,255,255,.35) }
@media(max-width:640px) { .select-dropdown { position:fixed !important; left:1rem !important; right:1rem !important; top:auto !important; bottom:1rem !important; border-radius:var(--r-lg) !important; max-height:60vh !important } .select-dropdown.open { max-height:60vh } .select-list { max-height:calc(60vh - 60px) } }
.btn-search {
  padding:.95rem 1.75rem;
  background:linear-gradient(135deg,#C97D00 0%,#9A6000 100%);
  color:#1A0E08;
  border:none;
  border-radius:var(--r-md);
  font-family:var(--font-sans);
  font-weight:800;
  font-size:1rem;
  cursor:pointer;
  transition:all .25s cubic-bezier(.34,1.56,.64,1);
  white-space:nowrap;
  box-shadow:0 4px 20px rgba(201,125,0,.45);
  position:relative;
  overflow:hidden;
  letter-spacing:.02em;
}
.btn-search::before {
  content:'';
  position:absolute;
  top:0;left:-100%;
  width:100%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);
  transition:left .5s ease;
}
.btn-search:hover::before { left:100% }
.btn-search:hover { background:linear-gradient(135deg,#E09210 0%,#C97D00 100%); transform:translateY(-3px) scale(1.03); box-shadow:0 8px 32px rgba(201,125,0,.6); color:#1A0E08 }

/* Hero floating stat cards */

.hero-pill {
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  border-radius:var(--r-lg); padding:1.1rem 1.2rem;
  backdrop-filter:blur(12px); transition:all var(--t);
}
.hero-pill:hover { background:rgba(191,10,48,.1); border-color:rgba(191,10,48,.3) }
.hero-pill-icon { font-size:1.5rem; margin-bottom:.5rem }
.hero-pill-title { font-size:.88rem; font-weight:700; color:#fff; margin-bottom:.2rem }
.hero-pill-sub { font-size:.75rem; color:rgba(255,255,255,.45); line-height:1.4 }
@media(max-width:900px) {
  .hero-right { display:block !important; order:2; }
  .hero-left  { order:1; }
  .hero-content { display:flex; flex-direction:column; }
  .hero-left .hero-search-card { display:none !important; }
}
@media(min-width:901px) { .hero-left .hero-search-card { display:none } }

/* Mobile hero search card (only shows below 900px) */
.hero-left .hero-search-card { display:none }
/* hero-left mobile search removed - hero-right shows stacked */

/* -- County hero (inner pages) -------------------------------- */
.hero-county, .hero--county {
  min-height:560px; padding:3.5rem 0 4rem;
  display:flex; align-items:center; overflow:hidden;
}
.hero-county .hero-inner, .hero--county .hero-inner,
.hero-county .wrap, .hero--county .wrap {
  display:block; max-width:var(--max-w); width:100%;
  margin:0 auto; padding:0 2rem;
  position:relative; z-index:1;
}
/* Allow hero-content two-column grid inside hero-county */
.hero-county .hero-content {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
  align-items:center;
  width:100%;
  position:relative;
  z-index:1;
}
@media(max-width:900px) {
  .hero-county .hero-content { grid-template-columns:1fr; gap:2rem; }
  .hero-county .hero-right { display:flex; }
}
@media(max-width:640px) { .hero-county, .hero--county { min-height:auto; padding:1.5rem 0 2rem } .hero-county .hero-content, .hero--county .hero-content, .hero-county .wrap, .hero--county .wrap { padding:0 1.25rem } }

/* -- Breadcrumb ----------------------------------------------- */
.breadcrumb { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; list-style:none; padding:0; margin:0 0 1.5rem; font-size:.8rem }
.breadcrumb li::after { content:'\00bb'; margin-left:.5rem; opacity:.5; color:#fff }
.breadcrumb li:last-child::after { display:none }
.breadcrumb a { color:rgba(255,255,255,.55); transition:color var(--t) }
.breadcrumb a:hover { color:var(--gold) }
.breadcrumb li:last-child { color:var(--gold-light) }

/* -- Buttons --------------------------------------------------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:.55rem; padding:.85rem 1.85rem; border-radius:var(--r-md); font-family:var(--font-sans); font-weight:700; font-size:.95rem; cursor:pointer; border:2px solid transparent; text-decoration:none; transition:all var(--t); white-space:nowrap; line-height:1; min-height:48px }
.btn-primary { background:var(--gold); color:var(--navy); border-color:var(--gold); box-shadow:0 4px 16px rgba(201,125,0,.32) }
.btn-primary:hover { background:var(--gold-light); color:var(--navy); border-color:var(--gold-light); transform:translateY(-2px); box-shadow:0 8px 28px rgba(201,125,0,.5) }
.btn-teal { background:var(--red); color:#fff; border-color:var(--red); box-shadow:0 4px 16px rgba(191,10,48,.28) }
.btn-teal:hover { background:var(--red-light); color:#fff; transform:translateY(-2px); box-shadow:0 8px 28px rgba(191,10,48,.45) }
.btn-outline { background:transparent; color:var(--text-dark); border-color:var(--border) }
.btn-outline:hover { border-color:var(--red); color:var(--red); background:rgba(191,10,48,.05) }
.btn-ghost { background:rgba(255,255,255,.1); color:#fff; border-color:rgba(255,255,255,.22); backdrop-filter:blur(8px) }
.btn-ghost:hover { background:rgba(255,255,255,.2); color:#fff; border-color:rgba(255,255,255,.38) }
.btn-lg { padding:1.05rem 2.4rem; font-size:1.05rem; min-height:54px }
.btn-sm { padding:.52rem 1.1rem; font-size:.83rem; border-radius:var(--r-sm); min-height:38px }

/* -- UPGRADED CTA / Call button ------------------------------- */
.btn-call {
  position:relative; overflow:hidden;
  background:linear-gradient(135deg, var(--gold), #9A6000);
  color:var(--navy); border:none;
  box-shadow:0 6px 24px rgba(201,125,0,.4), 0 0 0 0 rgba(201,125,0,.4);
  animation:cta-breathe 3s ease-in-out infinite;
}
.btn-call::before {
  content:''; position:absolute; top:0; left:-100%;
  width:100%; height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition:left .6s ease;
}
.btn-call:hover::before { left:100% }
.btn-call:hover { background:linear-gradient(135deg,var(--gold-light),var(--gold)); color:var(--navy); transform:translateY(-3px) scale(1.02); box-shadow:0 10px 36px rgba(201,125,0,.55) }
@keyframes cta-breathe { 0%,100%{box-shadow:0 6px 24px rgba(201,125,0,.4),0 0 0 0 rgba(201,125,0,.25)} 50%{box-shadow:0 6px 24px rgba(201,125,0,.4),0 0 0 12px rgba(201,125,0,.0)} }

/* -- Section labels ------------------------------------------- */
.section-label { display:inline-flex; align-items:center; gap:.55rem; font-size:.72rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--red); margin-bottom:.9rem }
.section-label::before { content:''; display:block; width:28px; height:2px; background:linear-gradient(90deg,var(--red),var(--red-light)); border-radius:2px }
.section-title { font-size:clamp(1.5rem,3vw,2.3rem); color:var(--text-dark); letter-spacing:-.018em; margin-bottom:1rem }
.section-lead { font-size:1.05rem; color:var(--text-muted); max-width:640px; line-height:1.8 }

/* -- Feature cards -------------------------------------------- */
.feature-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:1.5rem }
.feature-card {
  padding:2.25rem; border-radius:var(--r-lg);
  border:1px solid var(--border-soft); background:var(--surface);
  transition:all var(--t); position:relative; overflow:hidden;
}
.feature-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--red),var(--gold)); transform:scaleX(0); transform-origin:left; transition:transform .4s ease }
.feature-card:hover::after { transform:scaleX(1) }
.feature-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:rgba(191,10,48,.25) }
.feature-icon { width:56px; height:56px; border-radius:var(--r-md); background:linear-gradient(135deg,rgba(191,10,48,.15),rgba(191,10,48,.04)); border:1px solid rgba(191,10,48,.2); display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin-bottom:1.35rem; transition:all var(--t) }
.feature-card:hover .feature-icon { background:linear-gradient(135deg,var(--red),var(--red-dark)); border-color:var(--red); box-shadow:0 6px 22px rgba(191,10,48,.32) }
.feature-card h4 { font-family:var(--font-sans); font-size:1.05rem; font-weight:700; margin-bottom:.65rem; color:var(--text-dark) }
.feature-card p { font-size:.92rem; color:var(--text-muted); margin:0; line-height:1.7 }

/* -- County cards --------------------------------------------- */
.county-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:1.35rem }
@media(max-width:640px) { .county-grid { grid-template-columns:1fr 1fr; gap:.85rem } }
@media(max-width:400px) { .county-grid { grid-template-columns:1fr } }
.county-card { border-radius:var(--r-lg); border:1px solid var(--border-soft); background:var(--surface); overflow:hidden; transition:all var(--t); text-decoration:none; display:flex; flex-direction:column; box-shadow:var(--shadow-sm) }
.county-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-xl); border-color:rgba(191,10,48,.4) }
.county-card-img { aspect-ratio:4/3; overflow:hidden; position:relative; background:linear-gradient(135deg,var(--navy-soft),var(--navy-mid)) }
.county-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .55s ease,opacity .3s ease; opacity:0 }
.county-card-img img.loaded { opacity:1 }
.county-card:hover .county-card-img img { transform:scale(1.07) }
.img-placeholder {
  position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  background:linear-gradient(145deg, #1A0E08 0%, #2E1A0C 50%, #200E06 100%);
  overflow:hidden;
}
.img-placeholder::before {
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 30% 40%, rgba(191,10,48,.18) 0%, transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(201,125,0,.1) 0%, transparent 50%);
}

.county-card-body { padding:1.2rem 1.35rem; flex:1; display:flex; flex-direction:column }
.county-card-name { font-family:var(--font-serif); font-size:1.05rem; color:#0C1A2E; margin-bottom:.3rem; line-height:1.3; font-weight:700 }
.county-card:hover .county-card-name { color:var(--red-dark) }
.county-card-sub { font-size:.78rem; color:var(--text-light); line-height:1.45 }
.county-card-cta { display:flex; align-items:center; gap:.35rem; margin-top:auto; padding-top:.85rem; font-size:.82rem; font-weight:700; color:var(--red); transition:gap var(--t) }
.county-card:hover .county-card-cta { gap:.65rem }

/* -- Jail facility card --------------------------------------- */
.jail-card, .jail-info-card {
  background:var(--navy); border-radius:var(--r-xl);
  padding:2.25rem; position:relative; overflow:hidden;
  border:1px solid rgba(255,255,255,.07);
}
.jail-card::before, .jail-info-card::before { content:''; position:absolute; top:-70px; right:-70px; width:240px; height:240px; border-radius:50%; background:radial-gradient(circle,rgba(191,10,48,.2),transparent 70%) }
.jail-card h3, .jail-info-card h3 { color:#fff; font-size:1.25rem; margin-bottom:1.75rem; position:relative }
.facility-list { display:flex; flex-direction:column; gap:.75rem }
.facility-item { background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.09); border-radius:var(--r-md); padding:1.1rem 1.2rem; transition:all var(--t) }
.facility-item:hover { background:rgba(191,10,48,.1); border-color:rgba(191,10,48,.25) }
.facility-name, .facility-item-name { font-weight:700; font-size:.9rem; color:var(--red-light); margin-bottom:.35rem; display:flex; align-items:center; gap:.4rem }
.facility-addr, .facility-item-addr { font-size:.82rem; color:rgba(255,255,255,.52); line-height:1.5 }

/* -- Steps ---------------------------------------------------- */
.steps { display:flex; flex-direction:column; gap:0; position:relative }
/* Vertical connector line */
.steps::before {
  content:'';
  position:absolute;
  left:24px;
  top:50px;
  bottom:50px;
  width:2px;
  background:linear-gradient(180deg, rgba(191,10,48,.5) 0%, rgba(201,125,0,.3) 100%);
  z-index:0;
}
.step {
  display:flex;
  gap:1.5rem;
  align-items:flex-start;
  position:relative;
  z-index:1;
  padding:0 0 2rem;
  transition:all .2s ease;
}
.step:last-child { padding-bottom:0; }
.step-num {
  flex-shrink:0;
  width:50px;
  height:50px;
  border-radius:50%;
  background:var(--navy);
  color:var(--gold);
  font-family:var(--font-serif);
  font-size:1.25rem;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2.5px solid rgba(201,125,0,.4);
  box-shadow:0 0 0 6px rgba(201,125,0,.06), 0 4px 20px rgba(26,14,8,.2);
  position:relative;
  z-index:2;
  transition:all .25s ease;
}
.step:hover .step-num {
  background:linear-gradient(135deg, #1A0E08, #2E1A0C);
  border-color:var(--gold);
  box-shadow:0 0 0 8px rgba(201,125,0,.1), 0 6px 24px rgba(26,14,8,.3);
  transform:scale(1.08);
}
.step-body, .step-content {
  flex:1;
  background:#fff;
  border:1px solid rgba(26,14,8,.07);
  border-radius:16px;
  padding:1.35rem 1.5rem;
  box-shadow:0 2px 12px rgba(26,14,8,.07), 0 0 0 1px rgba(26,14,8,.04);
  transition:all .25s ease;
  margin-top:.25rem;
}
.step:hover .step-body,
.step:hover .step-content {
  box-shadow:0 8px 32px rgba(26,14,8,.13), 0 0 0 1px rgba(191,10,48,.15);
  border-color:rgba(191,10,48,.2);
  transform:translateX(4px);
}
.step-body h4, .step-content h4 {
  font-family:var(--font-sans);
  font-size:1.05rem;
  font-weight:700;
  color:#0C1A2E;
  margin-bottom:.5rem;
  display:flex;
  align-items:center;
  gap:.5rem;
}
.step-body h4::before {
  content:'';
  display:inline-block;
  width:4px;
  height:16px;
  background:linear-gradient(180deg,var(--red),var(--gold));
  border-radius:2px;
  flex-shrink:0;
}
.step-body p, .step-content p {
  font-size:.97rem;
  color:#374151;
  margin:0;
  line-height:1.75;
}
@media(max-width:640px) {
  .steps::before { left:20px; top:44px; }
  .step-num { width:42px; height:42px; font-size:1.1rem; }
  .step-body, .step-content { padding:1.1rem 1.25rem; }
}

/* -- Next steps ----------------------------------------------- */
.next-steps, .next-steps-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.35rem }
.next-step, .next-step-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--t);
  text-align: left;
}
.next-step:hover, .next-step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(201,125,0,.35);
  background: #fff;
}
.next-step-emoji {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: linear-gradient(135deg,rgba(191,10,48,.1),rgba(201,125,0,.08));
  border: 1px solid rgba(191,10,48,.15);
  border-radius: 14px;
  flex-shrink: 0;
  margin: 0;
}
.next-step-body { flex: 1; min-width: 0; }
.next-step h4, .next-step-card h4 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 .45rem;
  color: var(--text-dark);
}
.next-step p, .next-step-card p {
  font-size: .88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.68;
}

/* -- FAQ ------------------------------------------------------- */
.faq-list { display:flex; flex-direction:column; gap:.6rem }
.faq-item { background:var(--surface); border:1px solid var(--border-soft); border-radius:var(--r-lg); overflow:hidden; transition:border-color var(--t), box-shadow var(--t) }
.faq-item.open { border-color:var(--red); box-shadow:0 4px 20px rgba(191,10,48,.1) }
.faq-question { width:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.2rem 1.4rem; background:none; border:none; cursor:pointer; text-align:left; font-family:var(--font-sans); font-size:1rem; font-weight:600; color:var(--text-dark); transition:color var(--t); min-height:58px }
.faq-question:hover { color:var(--red) }
.faq-item.open .faq-question { color:var(--red) }
.faq-icon { flex-shrink:0; width:26px; height:26px; border-radius:50%; background:var(--bg); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:.95rem; font-weight:700; color:var(--text-muted); transition:all var(--t) }
.faq-item.open .faq-icon { background:var(--red); border-color:var(--red); color:#fff; transform:rotate(45deg) }
.faq-answer { display:none; padding:.25rem 1.4rem 1.4rem; font-size:.95rem; color:var(--text-muted); line-height:1.78 }
.faq-item.open .faq-answer { display:block }

/* -- Info boxes ----------------------------------------------- */
.info-box { display:flex; gap:1.1rem; padding:1.4rem 1.5rem; border-radius:var(--r-lg); border-left:3px solid }
.info-box--info  { background:rgba(191,10,48,.07);  border-color:var(--red) }
.info-box--tip   { background:rgba(201,125,0,.08);  border-color:var(--gold) }
.info-box--alert, .info-box--urgent { background:rgba(239,68,68,.07); border-color:#EF4444 }
.info-box-icon { font-size:1.3rem; flex-shrink:0; margin-top:.05rem }
.info-box-body strong { display:block; margin-bottom:.4rem; font-size:.95rem; color:var(--text-dark) }
.info-box-body p { font-size:.9rem; color:var(--text-muted); margin:0; line-height:1.7 }

/* -- UPGRADED CTA Banner -------------------------------------- */
.cta-banner, .search-cta-section {
  background:linear-gradient(140deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-radius:var(--r-xl); padding:4rem 3.5rem;
  text-align:center; position:relative; overflow:hidden;
  border:1px solid rgba(255,255,255,.07);
  box-shadow:var(--shadow-xl);
}
/* Glow orbs */
.cta-banner::before, .search-cta-section::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(191,10,48,.18), transparent 65%),
    radial-gradient(ellipse 50% 60% at 85% 35%, rgba(201,125,0,.1), transparent 60%);
}
/* Shimmer top border */
.cta-banner::after, .search-cta-section::after {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--red), var(--gold), var(--red), transparent);
  background-size:200% 100%;
  animation:shimmer-border 4s linear infinite;
}
@keyframes shimmer-border { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.cta-banner > *, .search-cta-section > * { position:relative }
.cta-banner h2, .search-cta-section h2 { color:#fff; margin-bottom:.9rem; font-size:clamp(1.4rem,3vw,2.1rem) }
.cta-banner p, .search-cta-section p { color:rgba(255,255,255,.72) !important; margin-bottom:2.25rem; font-size:1.05rem; max-width:560px; margin-left:auto; margin-right:auto; line-height:1.75 }
.cta-buttons { display:flex; align-items:center; justify-content:center; gap:1.25rem; flex-wrap:wrap }
@media(max-width:640px) { .cta-banner,.search-cta-section{padding:2.5rem 1.75rem;border-radius:var(--r-lg)} .cta-buttons{flex-direction:column} .cta-buttons .btn{width:100%;justify-content:center} }

/* -- Stats row ------------------------------------------------ */
.stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1.25rem }
.stat-block { background:var(--surface); border:1px solid var(--border-soft); border-radius:var(--r-xl); padding:2rem 1.5rem; text-align:center; transition:all var(--t); position:relative; overflow:hidden }
.stat-block::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--red),var(--gold)); transform:scaleX(0); transform-origin:left; transition:transform .45s ease }
.stat-block:hover::after { transform:scaleX(1) }
.stat-block:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg) }
.stat-num, .stat-block-num { font-family:var(--font-serif); font-size:2.4rem; color:var(--red); line-height:1; margin-bottom:.5rem; font-weight:700 }
.stat-label, .stat-block-label { font-size:.82rem; color:var(--text-muted); font-weight:500; line-height:1.45 }

/* -- Search embed --------------------------------------------- */
.search-embed { background:var(--bg); border:1px solid var(--border); border-radius:var(--r-xl); padding:3rem 2.5rem; text-align:center }
.search-embed-icon { font-size:3.5rem; margin-bottom:1.25rem }
.search-embed h3 { font-size:1.4rem; margin-bottom:.75rem }
.search-embed p { font-size:.95rem; color:var(--text-muted); margin-bottom:2rem; max-width:520px; margin-left:auto; margin-right:auto; line-height:1.75 }
.search-embed-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap }
@media(max-width:640px) { .search-embed{padding:2rem 1.5rem;border-radius:var(--r-lg)} .search-embed-btns{flex-direction:column} .search-embed-btns .btn{width:100%;justify-content:center} }

/* -- Meta chips (county pages) -------------------------------- */
.meta-chips, .hero-county-meta { display:flex; flex-wrap:wrap; gap:.65rem; margin-bottom:1.75rem }
.meta-chip, .hero-meta-chip { display:inline-flex; align-items:center; gap:.4rem; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius:var(--r-full); padding:.35rem .9rem; font-size:.8rem; color:rgba(255,255,255,.7); backdrop-filter:blur(8px) }

/* -- Related counties ----------------------------------------- */
.related-counties, .related-grid { display:flex; flex-wrap:wrap; gap:.6rem }
.county-pill { display:inline-flex; align-items:center; gap:.35rem; padding:.45rem 1rem; background:#fff; border:1.5px solid var(--border); border-radius:var(--r-full); font-size:.83rem; color:var(--text-dark); font-weight:600; transition:all var(--t); text-decoration:none; box-shadow:0 1px 3px rgba(26,14,8,.08) }
.county-pill:hover { background:rgba(191,10,48,.06); border-color:rgba(191,10,48,.3); color:var(--red); }

/* -- Layout helpers ------------------------------------------- */
.two-col, .layout-two-col { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start }
@media(max-width:900px) { .two-col,.layout-two-col { grid-template-columns:1fr !important; gap:2.5rem } }

/* -- County pill cards (search page) ------------------------- */
.county-pill-card { position:relative; display:flex; flex-direction:column; gap:.25rem; padding:1.1rem 1.2rem; background:var(--surface); border:1px solid var(--border-soft); border-radius:var(--r-lg); text-decoration:none; transition:all var(--t); box-shadow:var(--shadow-sm); overflow:hidden }
.county-pill-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:linear-gradient(180deg,var(--red),var(--red-light)); transform:scaleY(0); transform-origin:bottom; transition:transform var(--t); border-radius:3px 0 0 3px }
.county-pill-card:hover { border-color:rgba(191,10,48,.3); background:rgba(191,10,48,.03); transform:translateY(-2px); box-shadow:var(--shadow-md) }
.county-pill-card:hover::before { transform:scaleY(1) }
.cpc-name { font-weight:700; font-size:.92rem; color:var(--text-dark); transition:color var(--t) }
.county-pill-card:hover .cpc-name { color:var(--red-dark) }
.cpc-city { font-size:.77rem; color:var(--text-light) }
.cpc-arrow { position:absolute; right:.9rem; top:50%; transform:translateY(-50%) translateX(4px); color:var(--red); font-size:.8rem; opacity:0; transition:all var(--t) }
.county-pill-card:hover .cpc-arrow { opacity:1; transform:translateY(-50%) translateX(0) }

/* -- Alpha bar & filter --------------------------------------- */
.alpha-bar { display:flex; flex-wrap:wrap; gap:.3rem; margin-bottom:1.75rem }
.alpha-btn { width:36px; height:36px; border:1px solid var(--border); border-radius:var(--r-sm); background:var(--surface); color:var(--text-muted); font-size:.8rem; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all var(--t); font-family:var(--font-sans) }
.alpha-btn:hover, .alpha-btn.active { background:var(--navy); color:#fff; border-color:var(--navy) }
.filter-bar { display:flex; gap:1rem; align-items:center; margin-bottom:2rem; flex-wrap:wrap }
.filter-bar-input-wrap { flex:1; min-width:220px; position:relative }
.filter-bar-input-wrap::before { content:'\2192'; position:absolute; left:1rem; top:50%; transform:translateY(-50%); font-size:1.1rem; color:var(--red); pointer-events:none; z-index:1; font-weight:700 }
#county-filter { width:100%; padding:.9rem 1rem .9rem 2.75rem; border:1px solid var(--border); border-radius:var(--r-lg); font-family:var(--font-sans); font-size:.95rem; background:var(--surface); color:var(--text-dark); outline:none; transition:all var(--t); box-shadow:var(--shadow-sm) }
#county-filter:focus { border-color:var(--red); box-shadow:0 0 0 3px rgba(191,10,48,.12) }
.filter-count { background:var(--navy); color:rgba(255,255,255,.6); font-size:.82rem; font-weight:600; padding:.55rem 1.1rem; border-radius:var(--r-full); white-space:nowrap; flex-shrink:0 }
.filter-count strong { color:var(--gold) }

/* -- Scroll reveal -------------------------------------------- */
.fade-up, .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: opacity, transform;
  animation: auto-reveal 0s 1.2s forwards;
}
@keyframes auto-reveal {
  to { opacity: 1; transform: translateY(0); }
}
.fade-up.in,.fade-up.visible,.reveal.in,.reveal.visible { opacity:1; transform:translateY(0) }
.d1,.reveal-delay-1{transition-delay:.1s} .d2,.reveal-delay-2{transition-delay:.2s} .d3,.reveal-delay-3{transition-delay:.3s} .d4,.reveal-delay-4{transition-delay:.4s}

/* -- Ad unit -------------------------------------------------- */
.page-break-wrap { width:100%; overflow:hidden; text-align:center; padding:.5rem 0 }

/* -- FOOTER --------------------------------------------------- */


@media(max-width:960px) {  }
@media(max-width:560px) {  }









@media(max-width:960px) {  }
@media(max-width:560px) {  }
 .footer-phone{font-size:1.3rem} .footer-bottom{flex-direction:column;text-align:center;gap:.5rem} }

/* -- Sticky CTA bar ------------------------------------------- */

@media(max-width:768px) {   }




/* -- Text utilities ------------------------------------------- */
.text-center { text-align:center }
.auto-year { display:inline }

/* -- Inner page content styling ------------------------------- */
.content-body { max-width:800px; margin:0 auto }
.content-body h2 { font-size:1.7rem; margin:2.5rem 0 1rem; padding-top:2.5rem; border-top:1px solid var(--border-soft) }
.content-body h2:first-child { margin-top:0; padding-top:0; border-top:none }
.content-body h3 { font-size:1.25rem; margin:2rem 0 .75rem; color:var(--text-dark) }
.content-body p { font-size:1rem; line-height:1.82; color:var(--text-body) }
.content-body ul, .content-body ol { margin-bottom:1.25rem; font-size:1rem; color:var(--text-body) }
.content-body li { line-height:1.72; margin-bottom:.6rem }

/* -- Avail badge (contact page) ------------------------------- */
.avail-badge { display:inline-flex; align-items:center; gap:.55rem; background:rgba(16,185,129,.12); border:1px solid rgba(16,185,129,.3); border-radius:var(--r-full); padding:.42rem 1.1rem; font-size:.8rem; font-weight:700; color:#34D399; letter-spacing:.04em; margin-bottom:1.6rem }
.avail-dot { width:8px; height:8px; border-radius:50%; background:var(--green); animation:pulse-green 2s infinite; flex-shrink:0 }
@keyframes pulse-green { 0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,.5)} 50%{box-shadow:0 0 0 6px rgba(16,185,129,0)} }

/* -- Mobile responsive ---------------------------------------- */
@media(max-width:768px) {
  .next-steps, .next-steps-grid { grid-template-columns:1fr 1fr }
  .stats-grid { grid-template-columns:1fr 1fr }
  .feature-grid { grid-template-columns:1fr }
  .two-col, .layout-two-col { grid-template-columns:1fr !important }
}
@media(max-width:480px) {
  .next-steps, .next-steps-grid { grid-template-columns:1fr }
  .stats-grid { grid-template-columns:1fr }
  .county-grid { grid-template-columns:1fr }
}

/* -- CARD CONTRAST IMPROVEMENTS -----------------------------
   Cards on light bg were too flat. Enhanced shadows + borders.
   ------------------------------------------------------------ */

/* Feature cards on light bg */
.feature-card {
  box-shadow: 0 2px 8px rgba(26,14,8,.08), 0 0 0 1px rgba(26,14,8,.04);
}
.feature-card:hover {
  box-shadow: 0 12px 48px rgba(26,14,8,.16), 0 0 0 1px rgba(191,10,48,.2);
}

/* Next-step cards */
.next-step, .next-step-card {
  box-shadow: 0 2px 8px rgba(26,14,8,.08), 0 0 0 1px rgba(26,14,8,.04);
}
.next-step:hover, .next-step-card:hover {
  box-shadow: 0 16px 48px rgba(26,14,8,.18), 0 0 0 1px rgba(201,125,0,.3);
}

/* Stat blocks */
.stat-block {
  box-shadow: 0 2px 8px rgba(26,14,8,.08), 0 0 0 1px rgba(26,14,8,.04);
}
.stat-block:hover {
  box-shadow: 0 12px 36px rgba(26,14,8,.16);
}

/* FAQ items */
.faq-item {
  box-shadow: 0 1px 4px rgba(26,14,8,.07), 0 0 0 1px rgba(26,14,8,.04);
}
.faq-item.open {
  box-shadow: 0 4px 20px rgba(191,10,48,.12), 0 0 0 1px rgba(191,10,48,.25);
}

/* Info boxes - slightly stronger border + shadow */
.info-box {
  box-shadow: 0 2px 8px rgba(26,14,8,.07);
}

/* County pill cards on search page */
.county-pill-card {
  box-shadow: 0 2px 8px rgba(26,14,8,.08), 0 0 0 1px rgba(26,14,8,.04);
}
.county-pill-card:hover {
  box-shadow: 0 8px 32px rgba(26,14,8,.14), 0 0 0 1px rgba(191,10,48,.25);
}

/* County cards on homepage */
.county-card {
  box-shadow: 0 2px 12px rgba(26,14,8,.09), 0 0 0 1px rgba(26,14,8,.05);
}
.county-card:hover {
  box-shadow: 0 20px 60px rgba(26,14,8,.2), 0 0 0 1px rgba(191,10,48,.3);
}

/* Search embed blocks */
.search-embed {
  box-shadow: 0 2px 16px rgba(26,14,8,.09), 0 0 0 1px rgba(26,14,8,.05);
}

/* Warrant type cards (warrant page) */
.warrant-type-card {
  box-shadow: 0 2px 8px rgba(26,14,8,.08), 0 0 0 1px rgba(26,14,8,.04);
}
.warrant-type-card:hover {
  box-shadow: 0 16px 48px rgba(26,14,8,.18);
}

/* CDCR facility cards */
.cdcr-facility-card {
  box-shadow: 0 2px 8px rgba(26,14,8,.08), 0 0 0 1px rgba(26,14,8,.04);
}
.cdcr-facility-card:hover {
  box-shadow: 0 12px 36px rgba(26,14,8,.16);
}

/* Consequence cards on warrant page */
.consequence-card {
  box-shadow: 0 2px 8px rgba(26,14,8,.08), 0 0 0 1px rgba(26,14,8,.04);
}
.consequence-card:hover {
  box-shadow: 0 10px 36px rgba(26,14,8,.14), 0 0 0 1px rgba(239,68,68,.2);
}

/* Prep panel on contact page */
.prep-panel {
  box-shadow: 0 4px 24px rgba(26,14,8,.1), 0 0 0 1px rgba(26,14,8,.05);
}

/* Diff cards on CDCR page */
.diff-card.county {
  box-shadow: 0 4px 20px rgba(26,14,8,.09), 0 0 0 1px rgba(26,14,8,.05);
}

/* General card class */
.card {
  box-shadow: 0 2px 8px rgba(26,14,8,.08), 0 0 0 1px rgba(26,14,8,.04);
}
.card:hover {
  box-shadow: 0 12px 40px rgba(26,14,8,.15);
}

/* Hero search card - slightly more visible on hero bg */
.hero-pill {
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.hero-pill:hover {
  box-shadow: 0 6px 24px rgba(191,10,48,.25);
}

/* Consequence cards - ensure dark text on light backgrounds */
.consequence-card h4 { color: var(--text-dark); }
.consequence-card p  { color: var(--text-muted); }
/* When inside urgency block, override to light text */
.urgency-block .consequence-card h4 { color: #fff; }
.urgency-block .consequence-card p  { color: rgba(255,255,255,.65); }
.urgency-block .consequence-card    { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }

/* Stat strip inside dark blocks */
.urgency-block .stat-strip-item { background: rgba(255,255,255,.07); }
.urgency-block .stat-strip-num  { color: var(--gold-light); }
.urgency-block .stat-strip-label{ color: rgba(255,255,255,.55); }

/* -- Hero layout z-index fixes ------------------------------------ */
.hero-search-card { z-index: 10; position: relative; }

.hero-right { display: flex; flex-direction: column; gap: 1.25rem; position: relative; z-index: 1; }

/* Ensure dropdown renders above pills */
.hero-right .custom-select { z-index: 20; }
.hero-right .select-dropdown { z-index: 100; }

/* Cap hero-content max-width properly and align */
.hero .hero-content {
  gap: 4rem;
  align-items: center;
}

/* Hero pills should never overlap the search card */


/* Make sure hero section has enough min-height to show full layout */
.hero {
  min-height: 100vh;
  align-items: center;
}

.feature-card p, .step-body p, .step-content p { font-size: 1rem; }
.faq-question { font-size: 1.05rem; }
.faq-answer { font-size: 1rem; }
.info-box-body p, .info-box-body strong { font-size: .97rem; }
.county-card-sub { font-size: .85rem; }
.footer-col a, 

.breadcrumb { font-size: .85rem; }
.meta-chip, .hero-meta-chip { font-size: .84rem; }
.btn { font-size: 1rem; }
.btn-lg { font-size: 1.1rem; }
.step-body h4, .step-content h4 { font-size: 1.08rem; }
.feature-card h4 { font-size: 1.1rem; }
.next-step h4, .next-step-card h4 { font-size: 1.05rem; }
.next-step p, .next-step-card p { font-size: .95rem; }
.county-pill-card .cpc-name { font-size: 1rem; }
.county-pill-card .cpc-city { font-size: .82rem; }

/* -- Search stats strip (was missing) -------------------------- */
.search-stats-strip {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.search-stat-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-light);
  line-height: 1;
  font-weight: 700;
}
.search-stat-key {
  font-size: .74rem;
  color: rgba(255,255,255,.42);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: .3rem;
}

/* -- Hero stats (homepage) -------------------------------------- */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-val {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--gold-light);
  line-height: 1;
  font-weight: 700;
}
.hero-stat-key {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: .3rem;
}

/* -- Hero pill cards -------------------------------------------- */

.hero-pill {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(12px);
  transition: all var(--t);
}
.hero-pill:hover {
  background: rgba(191,10,48,.1);
  border-color: rgba(191,10,48,.3);
}
.hero-pill-icon { font-size: 1.6rem; margin-bottom: .5rem; display: block; }
.hero-pill-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .2rem; }
.hero-pill-sub { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.4; }
/* Feature pills 2x2 grid, compact, always 2 columns on desktop */
.hero-feature-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  align-items: start;
  align-content: start;
  margin-top: .85rem;
}
@media(max-width:480px) {
  .hero-feature-pills { grid-template-columns: 1fr 1fr; gap: .5rem; }
}


/* -- Select trigger text overflow fix --------------------------- */
.select-trigger-text { 
  flex: 1; text-align: left;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 1rem;
}

/* ================================================================
   SIDE-BY-SIDE AD SPOTS
   ================================================================ */
.local-profiles-section { padding: 2.5rem 0; }
.profiles-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media(max-width: 860px) {
  .profiles-duo {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
.profile-col {
  display: flex;
  flex-direction: column;
}
/* Make ad spots fill equal height in the grid */
.profile-col .profile-card {
  flex: 1;
  height: 100%;
  margin: 0;
}
.profile-col .profile-card--open .profile-inner,
.profile-col .profile-card--soon .profile-inner,
.profile-col .profile-card--live .profile-active-inner {
  height: 100%;
}
/* Label above each column */
.profile-col-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
}
.profile-col-label::before,
.profile-col-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,.1);
}

/* ================================================================
   NAV HAMBURGER - fix emoji to CSS
   ================================================================ */

/* ================================================================
   SEARCH PAGE STATS - ensure they sit properly in hero
   ================================================================ */
.hero-county .search-stats-strip,
.hero--county .search-stats-strip {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-county .search-stat-val,
.hero--county .search-stat-val {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--gold-light);
  line-height: 1;
  font-weight: 700;
  display: block;
}
.hero-county .search-stat-key,
.hero--county .search-stat-key {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: .3rem;
  display: block;
}

/* ================================================================
   HERO MIN-HEIGHT FIX - enough room for stats
   ================================================================ */
.hero-county, .hero--county {
  min-height: 480px;
}

/* ================================================================
   FONT SIZE OVERRIDES - ensure readability
   ================================================================ */
body { font-size: 17px; line-height: 1.72; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.section-lead  { font-size: 1.1rem; }
p              { font-size: 1rem; }
.feature-card p, .step-body p, .step-content p { font-size: 1rem; }
.faq-question  { font-size: 1.05rem; min-height: 56px; }
.faq-answer    { font-size: .97rem; line-height: 1.78; }
.county-card-sub { font-size: .87rem; }


.meta-chip, .hero-meta-chip { font-size: .85rem; }
.cpc-name      { font-size: .97rem; }
.cpc-city      { font-size: .82rem; }

/* Fix: buttons to having-trouble info-box spacing */
.search-embed-btns,
.search-embed > div[style*="flex"] {
  margin-bottom: 0;
}
.search-embed .info-box,
.search-embed + .info-box,
.search-embed ~ .info-box {
  margin-top: 2rem;
}

/* Ensure all section-sm have consistent breathing room */
.section-sm { padding: 3rem 0; }
.section-xs { padding: 2rem 0; }

/* Light section shadows - cards should never blend into cream bg */
.feature-card,
.county-card,
.step-card,
.jail-info-card,
.info-box,
.next-step-card {
  box-shadow: 0 2px 16px rgba(26,14,8,.08), 0 0 0 1px rgba(26,14,8,.06);
}
.feature-card:hover { box-shadow: 0 8px 32px rgba(26,14,8,.14), 0 0 0 1px rgba(26,14,8,.08); }
.county-card { box-shadow: 0 2px 12px rgba(26,14,8,.09), 0 0 0 1px rgba(26,14,8,.06); }
.county-card:hover { box-shadow: 0 12px 40px rgba(26,14,8,.18), 0 0 0 1px rgba(191,10,48,.2); }

/* Listing section gaps */
.local-profiles-section { padding: 3rem 0; }
.profiles-duo { gap: 2rem; }

/* Filter bar arrow color */
.filter-bar-input-wrap input { padding-left: 2.5rem; }

/* Search page hero stats - horizontal flex, not stacking */
.search-stats-strip > div { display: flex; flex-direction: column; }

/* General margin fixes */
.search-embed > div + .info-box { margin-top: 2rem !important; }
.search-embed [style*="display:flex"] + .info-box,
.search-embed [style*="display: flex"] + .info-box { margin-top: 2rem !important; }

/* ================================================================
   DESIGN CLEANUP - spacing, shadows, consistency
   ================================================================ */

/* Ensure hero image cards have shadow when on light backgrounds */
.county-card { box-shadow: 0 4px 20px rgba(26,14,8,.1), 0 0 0 1px rgba(26,14,8,.06); border-radius: var(--r-lg); overflow: hidden; }
.county-card:hover { box-shadow: 0 12px 44px rgba(26,14,8,.18), 0 0 0 1px rgba(191,10,48,.25); transform: translateY(-3px); }

/* Feature grid cards - lift on light bg */
.feature-card { box-shadow: 0 2px 16px rgba(26,14,8,.08), 0 0 0 1px rgba(26,14,8,.05); padding: 2rem; border-radius: var(--r-lg); }

/* Info boxes need visible border */
.info-box { border-width: 1.5px; }
.info-box--tip  { border-color: rgba(201,125,0,.35); box-shadow: 0 2px 12px rgba(201,125,0,.08); }
.info-box--info { border-color: rgba(191,10,48,.3);  box-shadow: 0 2px 12px rgba(191,10,48,.08); }

/* Search embed card - visible shadow on cream bg */
.search-embed { box-shadow: 0 4px 32px rgba(26,14,8,.12), 0 0 0 1.5px rgba(26,14,8,.07) !important; }

/* Jail info card shadow */
.jail-info-card { box-shadow: 0 4px 24px rgba(26,14,8,.12), 0 0 0 1px rgba(255,255,255,.1); }

/* Step cards */
.step-card, .how-step { box-shadow: 0 2px 16px rgba(26,14,8,.09), 0 0 0 1px rgba(26,14,8,.05); border-radius: var(--r-lg); }

/* County pill cards on search page */
.county-pill-card { box-shadow: 0 2px 10px rgba(26,14,8,.07), 0 0 0 1px rgba(26,14,8,.05); transition: all .2s ease; }
.county-pill-card:hover { box-shadow: 0 8px 28px rgba(26,14,8,.14), 0 0 0 1px rgba(191,10,48,.3); transform: translateY(-2px); }

/* Related county cards */
.related-county-card { box-shadow: 0 2px 12px rgba(26,14,8,.08), 0 0 0 1px rgba(26,14,8,.05); }
.related-county-card:hover { box-shadow: 0 8px 28px rgba(26,14,8,.15), 0 0 0 1px rgba(191,10,48,.25); }

/* Warrant type cards */
.warrant-type-card { box-shadow: 0 4px 20px rgba(26,14,8,.09), 0 0 0 1px rgba(26,14,8,.05) !important; }

/* Sections: enforce proper vertical spacing */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* Buttons: make sure they have consistent sizing */
.btn { padding: .75rem 1.5rem; font-weight: 600; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* Filter bar: proper input left padding for icon */
.filter-bar-input-wrap input { padding-left: 2.75rem; }

/* search-jump-row spacing */
.search-jump-row { margin-bottom: 1.5rem; }

/* Breadcrumb spacing */
.breadcrumb { margin-bottom: 1.5rem; padding: .6rem 0; }

/* ================================================================
   LIGHT SECTION TEXT FIXES
   ================================================================ */

/* Feature cards on cream/white bg - ensure text reads clearly */
.feature-card h4 { color: #0C1A2E; font-size: 1.1rem; margin-bottom: .6rem; font-weight: 700; }
.feature-card p  { color: #374151; font-size: .97rem; line-height: 1.7; }

/* Step section */
.step-body h4, .step-content h4, .how-step h4 { color: #0C1A2E; }
.step-body p,  .step-content p,  .how-step p  { color: #3A5578; }

/* Section lead text on cream */
section[style*="background:var(--cream)"] .section-lead,
section[style*="background:var(--bg)"] .section-lead { color: #3A5578; }

/* County card body text */
.county-card-body { background: #fff; }
.county-card-sub  { color: #4A6785 !important; }

/* Next step cards */
.next-step-card h4, .next-step h4 { color: #0C1A2E; }
.next-step-card p,  .next-step p  { color: #3A5578; }

/* Info box body text */
.info-box-body strong { color: #0C1A2E; }
.info-box-body p      { color: #2D4A6B; }

/* Section label - prevent blue highlight appearance */
.section-label { user-select: none; -webkit-user-select: none; }

/* Related counties on light bg */
.related-county-card .cpc-name { color: #0C1A2E; }
.related-county-card .cpc-city { color: #4A6785; }

/* FAQ on light bg */
.faq-question { color: #0C1A2E; }
.faq-answer   { color: #3A5578; }

/* General p color fix on light sections */
.section p, .section-lead { color: #3A5578; }

/* Premium county card styling */
.county-card {
  background: #fff;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.county-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(26,14,8,.2), 0 0 0 1.5px rgba(191,10,48,.3) !important;
}
.county-card-img img {
  transition: transform .6s cubic-bezier(.25,.46,.45,.94), opacity .4s ease;
}
.county-card:hover .county-card-img img { transform: scale(1.09); }
.county-card-body { padding: 1.35rem 1.5rem 1.5rem; }
.county-card-cta { color: var(--red); font-weight: 700; font-size: .85rem; }
.county-card:hover .county-card-cta { color: var(--red-dark); }

/* County card images - ensure they show when loaded */
.county-card-img img { opacity: 0; }
.county-card-img img.loaded { opacity: 1 !important; }

/* If image fails, placeholder shows via JS; 
   make sure placeholder icon shows clearly */
.img-placeholder::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60' width='80' height='60'%3E%3Crect x='5' y='30' width='70' height='25' rx='3' fill='%23ffffff' opacity='.15'/%3E%3Crect x='15' y='18' width='50' height='15' rx='2' fill='%23ffffff' opacity='.2'/%3E%3Crect x='25' y='10' width='30' height='10' rx='2' fill='%23ffffff' opacity='.25'/%3E%3Ccircle cx='40' cy='42' r='4' fill='%230EA5C9' opacity='.6'/%3E%3C/svg%3E");
  position: relative; z-index: 1;
}

/* ================================================================
   BUTTON VISIBILITY FIXES
   ================================================================ */

/* btn-ghost on dark hero bg = fine. On light sections it disappears.
   search-embed uses light bg - its ghost button needs dark styling */
.search-embed .btn-ghost,
.search-embed .btn-outline,
section[style*="background:#fff"] .btn-ghost,
section[style*="background:var(--bg)"] .btn-ghost,
section[style*="background:var(--cream)"] .btn-ghost {
  background: transparent;
  color: #0C1A2E;
  border-color: rgba(26,14,8,.25);
}
.search-embed .btn-ghost:hover,
section[style*="background:#fff"] .btn-ghost:hover {
  background: rgba(26,14,8,.06);
  color: #0C1A2E;
  border-color: rgba(26,14,8,.45);
}

/* "Call us Directly" button specifically */
.search-embed .btn-ghost .site-phone,
.search-embed .btn-ghost {
  color: #0C1A2E !important;
}

/* Make sure all btn-outline is visible */
.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(26,14,8,.2);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(191,10,48,.05);
}

/* profile-contact-prompt styling */
.profile-contact-prompt {
  margin-bottom: 1.75rem;
}
.profile-contact-text {
  display: inline-block;
  background: rgba(191,10,48,.12);
  border: 1px solid rgba(191,10,48,.25);
  border-radius: 999px;
  padding: .4rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .02em;
}

/* ================================================================
   CALL DISCLOSURE - "Calls may be connected to a licensed bail partner"
   ================================================================ */

/* Inline micro-disclosure after call buttons */
.call-disclosure {
  display: block;
  font-size: .7rem;
  color: rgba(255,255,255,.38);
  margin-top: .5rem;
  letter-spacing: .01em;
  line-height: 1.5;
}
.call-disclosure::before {
  content: '\24D8\0020'; /* circled i */
  font-size: .72rem;
  margin-right: .25rem;
  opacity: .7;
}

/* On light backgrounds */
.call-disclosure--dark {
  color: rgba(26,14,8,.38);
}

/* Disclosure in CTA sections */
.cta-buttons + .call-disclosure,
.cta-disclosure {
  display: block;
  font-size: .7rem;
  color: rgba(255,255,255,.35);
  margin-top: .85rem;
  text-align: center;
  letter-spacing: .01em;
}

/* Footer disclosure - upgraded */



/* Sticky bar disclosure */
/* Nav disclosure (very subtle) */
.nav-phone-disclosure {
  display: block;
  font-size: .58rem;
  color: rgba(255,255,255,.28);
  text-align: center;
  letter-spacing: .02em;
  margin-top: .15rem;
}

/* Having Trouble box disclosure */
.search-embed .call-disclosure { color: rgba(26,14,8,.38); }

/* Section labels on dark card backgrounds need more brightness */
.contact-card .section-label,
.prep-panel-header .section-label,
.jail-info-card .section-label,
.search-cta-section .section-label,
[style*="background:var(--navy)"] .section-label,
[style*="background:var(--navy-mid)"] .section-label {
  color: #E01040;
  opacity: 1;
}

/* Make the line before section-label brighter on dark bg */
.contact-card .section-label::before,
.prep-panel-header .section-label::before {
  background: linear-gradient(90deg, #E01040, #7EE8FA);
}


/* ================================================================
   BACK TO TOP BUTTON
   ================================================================ */

#back-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #900720);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(191,10,48,.45), 0 0 0 3px rgba(191,10,48,.15);
  opacity: 0;
  transform: translateY(12px);
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  z-index: 800;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-to-top:hover {
  background: linear-gradient(135deg, #E01040, var(--red));
  box-shadow: 0 8px 32px rgba(191,10,48,.6), 0 0 0 4px rgba(191,10,48,.2);
  transform: translateY(-3px);
}

/* ================================================================
   NEARBY COUNTIES - STYLED
   ================================================================ */

.nearby-counties-section {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.nearby-counties-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(191,10,48,.04), transparent);
  pointer-events: none;
}
.nearby-counties-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,10,48,.15), transparent);
}

.nearby-counties-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
}
.nearby-counties-label::before {
  content: '';
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(191,10,48,.3));
  border-radius: 2px;
}

.nearby-counties-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.county-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: all .22s cubic-bezier(.34,1.56,.64,1);
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(26,14,8,.07);
}
.county-pill::after { content: '\2192'; font-size: .75rem; opacity: 0; transform: translateX(-4px); transition: all .22s ease; }
.county-pill:hover {
  background: rgba(191,10,48,.06);
  border-color: rgba(191,10,48,.3);
  color: var(--red);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(191,10,48,.12);
}
.county-pill:hover::after { opacity: 1; transform: translateX(0); }





/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
  background: #0E0804;
  color: rgba(255,255,255,.65);
  margin: 0;
  padding: 0;
}

.footer-shimmer {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), var(--gold), var(--red), transparent);
  background-size: 300% 100%;
  animation: ad-shimmer 6s linear infinite;
}

/* 4-column grid */
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.4fr 1fr;
  gap: 3rem;
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
@media(max-width:1000px){.footer-cols{grid-template-columns:1fr 1fr 1fr;gap:2.5rem}}
@media(max-width:680px){.footer-cols{grid-template-columns:1fr 1fr;gap:2rem}}
@media(max-width:420px){.footer-cols{grid-template-columns:1fr;gap:1.75rem}}

/* Brand column */
.footer-brand-col {}
.footer-site-logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-bottom: 1rem;
}
.footer-site-logo-icon {
  width: 36px; height: 36px;
  background: rgba(191,10,48,.13);
  border: 1px solid rgba(191,10,48,.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-site-name {
  font-family: var(--font-sans);
  font-size: 1rem; font-weight: 700;
  color: #fff; line-height: 1.2;
}
.footer-site-name em { color: var(--gold); font-style: normal }
.footer-site-desc {
  font-size: .84rem;
  color: rgba(255,255,255,.42);
  line-height: 1.65;
  margin: 0 0 1.1rem;
  max-width: 280px;
}
.footer-site-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  line-height: 1;
  transition: color .18s;
}
.footer-site-phone svg { color: var(--red) }
.footer-site-phone:hover { color: #E09210 }
.footer-site-phone-note {
  font-size: .65rem;
  color: rgba(255,255,255,.28);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .3rem;
}
.footer-site-disc {
  font-size: .65rem;
  color: rgba(255,255,255,.2);
  margin: .3rem 0 0;
  line-height: 1.5;
}

/* Link columns */
.footer-link-col h5 {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 .85rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-link-col ul {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-link-col li { margin-bottom: .42rem }
.footer-link-col a {
  font-size: .85rem;
  color: rgba(255,255,255,.56);
  text-decoration: none;
  transition: color .16s;
  line-height: 1.4;
  display: inline-block;
}
.footer-link-col a:hover { color: rgba(255,255,255,.9) }
.footer-link-accent { color: var(--red) !important; font-weight: 600 }
.footer-link-accent:hover { color: #E01040 !important }




/* Disclosure bar */
.footer-disc-bar {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.footer-disc-bar p {
  font-size: .7rem;
  color: rgba(255,255,255,.26);
  line-height: 1.6;
  margin: 0;
}
.footer-disc-bar strong { color: rgba(255,255,255,.4); font-weight: 600 }

/* Bottom bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0 1.25rem;
  font-size: .74rem;
  color: rgba(255,255,255,.24);
  flex-wrap: wrap;
  gap: .5rem;
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
#back-to-top{position:fixed;bottom:5.5rem;right:1.5rem;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--red),#900720);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(191,10,48,.4),0 0 0 3px rgba(191,10,48,.1);opacity:0;transform:translateY(14px) scale(.85);transition:all .3s cubic-bezier(.34,1.56,.64,1);z-index:800;pointer-events:none}
#back-to-top.visible{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
#back-to-top:hover{background:linear-gradient(135deg,#E01040,var(--red));box-shadow:0 8px 32px rgba(191,10,48,.55);transform:translateY(-3px) scale(1.08)}

/* ================================================================
   NEARBY COUNTIES
   ================================================================ */
.nearby-counties-section{background:var(--bg);border-top:1px solid var(--border-soft);padding:2.5rem 0;position:relative;overflow:hidden}
.nearby-counties-section::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 80% 100% at 50% 50%,rgba(191,10,48,.03),transparent);pointer-events:none}
.nearby-counties-section::after{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(191,10,48,.15),transparent)}
.nearby-counties-label{display:inline-flex;align-items:center;gap:.55rem;font-size:.65rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--red);margin-bottom:1.1rem}
.nearby-counties-label::before{content:'';width:20px;height:2px;background:linear-gradient(90deg,var(--red),rgba(191,10,48,.3));border-radius:2px}
.nearby-counties-grid{display:flex;flex-wrap:wrap;gap:.5rem}
.county-pill{display:inline-flex;align-items:center;gap:.3rem;padding:.48rem .95rem;background:#fff;border:1.5px solid var(--border);border-radius:999px;font-size:.83rem;font-weight:600;color:var(--text-dark);text-decoration:none;transition:all .22s cubic-bezier(.34,1.56,.64,1);white-space:nowrap;box-shadow:0 1px 3px rgba(26,14,8,.08)}
.county-pill::after{content:'\2192';font-size:.7rem;opacity:0;transform:translateX(-4px);transition:all .2s}
.county-pill:hover{background:rgba(191,10,48,.13);border-color:rgba(191,10,48,.32);color:#fff;transform:translateY(-2px) scale(1.03);box-shadow:0 4px 16px rgba(191,10,48,.2)}
.county-pill:hover::after{opacity:1;transform:translateX(0)}

.footer-split-col {
  display: flex;
  gap: 1.5rem;
}
.footer-split-col > div { flex: 1 }
@media(max-width:420px) { .footer-split-col { flex-direction: column; gap: 1rem } }

/* Kill ALL old conflicting rules */
.footer-grid,.footer-brand-name,.footer-brand-desc,.footer-phone-label,
.footer-col,.footer-disclosure,.footer-stats-col,.footer-stat-card,
.footer-coverage,.footer-brand-row,.footer-nav-grid,.footer-bottom-row,
.footer-cta,.footer-brand,.footer-logo,.footer-tagline,.footer-phone-sub,
.footer-call-disc,.footer-nav-col,.footer-bottom,.footer-disc,
.footer-copy,.footer-main,.footer-phone-meta,.footer-phone,
.fr,.fr1,.fr2,.fr3,.fr4,.fr5,.f-logo,.f-phone,.f-links,.f-disc,
.f-copy,.f-legal,.fr-label,.f-tagline,.f-link-highlight,.f-logo-icon,
.f-logo-name,.footer-top{display:none!important}

/* ================================================================
   CONTROLLED FEATURE GRIDS - prevent ugly orphan layouts
   ================================================================ */

/* 4-item grid: always 2x2 on desktop, 1-col on mobile */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media(max-width:560px) { .grid-4 { grid-template-columns: 1fr } }

/* 3-item grid: always 3 on desktop, 1-col on mobile */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media(max-width:840px)  { .grid-3 { grid-template-columns: repeat(2, 1fr) } }
@media(max-width:560px)  { .grid-3 { grid-template-columns: 1fr } }

/* 6-item grid: 3+3 on desktop, 2+2+2 on tablet, 1-col on mobile */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media(max-width:840px)  { .grid-6 { grid-template-columns: repeat(2, 1fr) } }
@media(max-width:560px)  { .grid-6 { grid-template-columns: 1fr } }

/* 2-item grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media(max-width:620px)  { .grid-2 { grid-template-columns: 1fr } }

@media(max-width:1100px) { .feature-grid { grid-template-columns:repeat(3,1fr) } }
@media(max-width:700px)  { .feature-grid { grid-template-columns:repeat(2,1fr) } }
@media(max-width:460px)  { .feature-grid { grid-template-columns:1fr } }

/* Comfortable reading width for prose/step sections */
.prose-wrap { max-width: 860px; margin-left: auto; margin-right: auto; }
.prose-wrap .steps { max-width: 100%; }
.prose-wrap .faq-list { max-width: 100%; }

/* Guide pages: constrain heading + lead text for readability */
.guide-section-head {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* ================================================================
   MOBILE COMPREHENSIVE FIXES
   ================================================================ */

/* --- Hero search card mobile --- */
@media(max-width:900px) {
  /* Stack hero two-col to single */
  .hero-content { grid-template-columns: 1fr !important; gap: 2rem; }
  .hero-right { order: -1; } /* search card above headline on mobile */

  /* Hero search card full width */
  .hero-search-card { width: 100%; max-width: 100%; padding: 1.5rem; }
  .hero-search-label { font-size: .75rem; }

  /* Search row: stack dropdown over button */
  .hero-search-card > div[style*="display:flex"] {
    flex-direction: column;
  }
  #search-county-go, .btn-search {
    width: 100%;
    justify-content: center;
    margin-top: .5rem;
  }

  /* Feature pills: 2 per row */


  /* Hero stats strip horizontal scroll on small */
  .search-stats-strip { gap: 1.25rem; flex-wrap: wrap; }
  .search-stats-strip > div { min-width: 60px; }
}

@media(max-width:560px) {

  .hero-search-card { padding: 1.25rem; border-radius: 16px; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.4rem) !important; }
  .hero-sub { font-size: .95rem; }
  .meta-chips { gap: .4rem; }
  .meta-chip { font-size: .72rem; padding: .28rem .65rem; }
}

/* --- Profile/ad cards mobile --- */
@media(max-width:720px) {
  .profiles-duo { grid-template-columns: 1fr !important; }
  .profile-col { width: 100%; }
  .profile-card--open .profile-inner,
  .profile-card--live .profile-active-inner { padding: 1.5rem; }
  .profile-headline { font-size: 1.3rem; }
}

/* --- Steps mobile --- */
@media(max-width:560px) {
  .steps::before { left: 18px; }
  .step { gap: 1rem; }
  .step-num { width: 38px; height: 38px; font-size: 1rem; flex-shrink: 0; }
  .step-body, .step-content { padding: 1rem 1.1rem; }
  .step-body h4::before { height: 14px; }
}

/* --- Tables mobile --- */
@media(max-width:640px) {
  table { font-size: .8rem; }
  table th, table td { padding: .55rem .65rem !important; }
}

/* --- Info boxes mobile --- */
@media(max-width:480px) {
  .info-box { flex-direction: column; gap: .5rem; }
  .info-box-icon { font-size: 1.25rem; }
}

/* --- CTA section mobile --- */
@media(max-width:560px) {
  .search-cta-section { padding: 2rem 1.5rem; text-align: center; }
  .search-cta-section h2 { font-size: 1.4rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}

/* --- County cards mobile --- */
@media(max-width:480px) {
  .county-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .county-card-body { padding: .9rem 1rem; }
  .county-card-name { font-size: .9rem; }
}

/* --- Search embed mobile --- */
@media(max-width:560px) {
  .search-embed-inner { padding: 1.75rem 1.25rem 1.25rem; }
  .search-embed-icon { width: 56px; height: 56px; font-size: 1.6rem; }
  .search-embed h3 { font-size: 1.2rem; }
  .search-embed-btns { flex-direction: column; align-items: center; }
  .search-embed-btns a,
  .search-embed-btns button { width: 100% !important; justify-content: center; }
}

/* --- Nearby counties mobile --- */
@media(max-width:480px) {
  .nearby-counties-grid { gap: .4rem; }
  .county-pill { font-size: .78rem; padding: .4rem .8rem; }
}

/* --- Footer mobile --- */
@media(max-width:480px) {
  .footer-cols { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .footer-site-phone { font-size: 1.2rem; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
}

/* --- Prevent overflow/horizontal scroll --- */
html, body { overflow-x: hidden; }
* { box-sizing: border-box; }
img { max-width: 100%; }

/* No text overflow cut-off */
.nav-logo-name { overflow: visible; }
/* ================================================================
   GOOGLE ADS NATIVE CARD STYLING
   Makes AdSense units look like part of the site design
   ================================================================ */
.ad-card-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
  position: relative;
}
.ad-card-wrap::before {
  content: 'Sponsored';
  display: block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  padding: .5rem 1rem .3rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ad-card-wrap ins.adsbygoogle {
  display: block !important;
  min-height: 90px;
}
/* Light background pages */
.ad-card-wrap--light {
  background: rgba(26,14,8,.04);
  border-color: rgba(26,14,8,.08);
}
.ad-card-wrap--light::before {
  color: rgba(26,14,8,.3);
  border-bottom-color: rgba(26,14,8,.06);
}

/* Inline ad between content sections */
.content-ad-break {
  margin: 1.5rem 0;
}
.content-ad-break .ad-card-wrap {
  max-width: 728px;
  margin: 0 auto;
}
@media(max-width:768px) {
  .content-ad-break .ad-card-wrap { max-width: 100%; }
}

/* ================================================================
   MOBILE COMPREHENSIVE - final pass
   ================================================================ */

/* Profiles section on mobile */
@media(max-width:640px) {
  .profiles-duo { grid-template-columns: 1fr; gap: 1rem; }
  .profile-cta-phone { font-size: 1.1rem; }
}

/* Meta chips on mobile */
@media(max-width:480px) {
  .meta-chips { gap: .35rem; }
  .meta-chip { font-size: .72rem; padding: .25rem .6rem; }
}

/* CTA buttons full width on mobile */
@media(max-width:480px) {
  .btn-lg { padding: .85rem 1.25rem; font-size: .95rem; }
  div[style*="display:flex"][style*="gap:1rem"] {
    flex-direction: column;
  }
}

/* Nearby counties pills smaller on mobile */
@media(max-width:480px) {
  .county-pill { font-size: .78rem; padding: .38rem .75rem; }
  .nearby-counties-grid { gap: .4rem; }
}

/* Steps on mobile */
@media(max-width:560px) {
  .step { gap: .85rem; }
  .step-num { width: 36px; height: 36px; font-size: .95rem; flex-shrink: 0; }
  .step-body h4 { font-size: .95rem; }
  .step-body p, .step-content p { font-size: .88rem; }
}

/* Next steps grid mobile */
@media(max-width:560px) {
  .next-steps, .next-steps-grid { grid-template-columns: 1fr !important; gap: .85rem; }
  .next-step, .next-step-card { padding: 1.1rem; }
}

/* Table overflow on mobile */
@media(max-width:640px) {
  .table-wrap, table { font-size: .78rem; }
  table th, table td { padding: .5rem .6rem !important; }
}

/* Hero mobile search */
@media(max-width:900px) {
  .hero-content { gap: 1.5rem !important; }
  .hero-left h1 { font-size: clamp(1.7rem, 6vw, 2.8rem); }
  .hero-sub { font-size: .92rem; line-height: 1.6; }
}
@media(max-width:560px) {
  .hero { padding: 1.5rem 0 2rem; overflow: visible; }
  .hero-right { overflow: visible; }
  .hero-search-card { padding: 1.25rem 1rem; }
  .hero-search-card > div[style] { flex-direction: column; gap: .75rem; }
  .btn-search { width: 100%; justify-content: center; }
}

/* Footer mobile */
@media(max-width:640px) {
  .site-footer .footer-cols { grid-template-columns: 1fr !important; }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; gap: .4rem; }
}

/* Back to top on mobile - above sticky bar */
@media(max-width:768px) {
  #back-to-top { bottom: 90px; right: 1rem; }
}

/* Prevent text from overflowing screen */
@media(max-width:480px) {
  h1 { font-size: clamp(1.6rem, 7vw, 2.5rem); word-break: break-word; }
  h2 { font-size: clamp(1.3rem, 5vw, 2rem); }
  .section-title { font-size: clamp(1.3rem, 5vw, 2rem) !important; }
}

/* Fix content-visibility auto on mobile causing flicker */
@media(max-width:900px) {
  .section { content-visibility: visible; }
}

/* ================================================================
   CONSOLIDATED MOBILE CSS - single source of truth
   All overrides for max-width breakpoints in one place
   Order: 900px -> 768px -> 640px -> 560px -> 480px -> 400px
   ================================================================ */

/* -- GLOBAL OVERFLOW PREVENTION -- */

* { box-sizing: border-box; }
img, video { max-width: 100%; display: block; }

/* -- 900px: Tablet landscape -- */
@media(max-width:900px) {
  /* Wrap padding */
  .wrap, .container { padding: 0 1.1rem; }

  /* Hero: kill 100vh, stack columns */
  .hero { min-height: auto !important; padding: 3rem 0 2.5rem !important; align-items: flex-start !important; }
  .hero-content { grid-template-columns: 1fr !important; gap: 1.25rem !important; max-width: 100% !important; }
  .hero-left { order: 1; max-width: 100% !important; }
  .hero-right { order: 2; display: block !important; max-width: 100% !important; }
  .hero-left .hero-search-card { display: none !important; }
  .hero--county, .hero-county { min-height: auto !important; padding: 2.5rem 0 2rem !important; }
  .hero-sub { font-size: .95rem !important; margin-bottom: 1.25rem !important; max-width: 100% !important; }
  .hero-stats { gap: 1.5rem !important; margin-top: 1.5rem !important; padding-top: 1.5rem !important; }
  .two-col, .layout-two-col { grid-template-columns: 1fr !important; gap: 2rem; }
  .section { content-visibility: visible !important; contain-intrinsic-size: none !important; }
  .section-sm { content-visibility: visible !important; }
}

/* -- 860px: Hero/nav breakpoint -- */
@media(max-width:860px) {

  /* Hero search card - stack dropdown + button */
  .hero-search-card { padding: 1.25rem 1.1rem 1.1rem !important; }
  .hero-search-label { font-size: .72rem !important; margin-bottom: .65rem !important; }
  .hero-search-card > div[style*="flex"] { flex-direction: column !important; gap: .55rem !important; margin-bottom: .7rem !important; }
  .hero-search-card .custom-select { width: 100% !important; flex: none !important; }
  .hero-search-card .btn-search,
  .hero-search-card button[onclick] { width: 100% !important; padding: .85rem 1rem !important; justify-content: center !important; }
  .hero-search-card > p { font-size: .7rem !important; margin-top: .5rem !important; line-height: 1.4 !important; }

  /* Feature pills 2x2 */

  
  
  
  

  /* Hero left spacing */
  .hero-left { padding-bottom: .5rem; }
  .hero-left h1 { margin-bottom: .75rem !important; line-height: 1.1 !important; }
  .hero-left .hero-sub { margin-bottom: 0 !important; }
}

/* -- 768px: Sticky bar breakpoint -- */
@media(max-width:768px) {
  
  
  
  
  #back-to-top { bottom: 88px; }
}

/* -- 640px: Phone landscape / small tablet -- */
@media(max-width:640px) {
  .wrap, .container { padding: 0 1rem !important; }
  .section { padding: 2rem 0 !important; }
  .section-sm { padding: 1.25rem 0 !important; }

  /* Hero */
  .hero { padding: 2rem 0 !important; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.5rem) !important; word-break: break-word !important; margin-bottom: 1rem !important; }
  .hero-sub { font-size: .92rem !important; }
  .hero-stats { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: .85rem !important; margin-top: 1.25rem !important; padding-top: 1rem !important; }
  .hero-stat-val { font-size: 1.5rem !important; }
  .hero-stat-key { font-size: .68rem !important; }
  .hero-content { gap: 1rem !important; }
  .hero--county, .hero-county { padding: 1.75rem 0 !important; }

  /* County hero buttons */
  .hero-county-btns { flex-direction: column !important; gap: .6rem !important; }
  .hero-county-btns .btn { width: 100% !important; justify-content: center !important; }

  /* Meta chips */
  .meta-chips { gap: .3rem !important; margin-top: .85rem !important; }
  .meta-chip { font-size: .7rem !important; padding: .22rem .55rem !important; }

  /* Typography */
  h2, .section-title { font-size: clamp(1.3rem, 5vw, 1.9rem) !important; word-break: break-word !important; }
  .section-lead { font-size: 1rem !important; max-width: 100% !important; }

  /* Grids */
  .profiles-duo { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .grid-4 { grid-template-columns: 1fr 1fr !important; }
  .footer-cols { grid-template-columns: 1fr 1fr !important; gap: 1.25rem !important; }

  /* CTA sections */
  .search-cta-section { padding: 2rem 1.25rem !important; }
  .cta-buttons { flex-direction: column !important; gap: .6rem !important; }
  .cta-buttons .btn { width: 100% !important; justify-content: center !important; }
  .cta-disclosure { font-size: .65rem !important; display: block !important; text-align: center !important; }

  /* Search embed */
  .search-embed-btns { flex-direction: column !important; gap: .6rem !important; }
  .search-embed-btns a, .search-embed-btns button { width: 100% !important; justify-content: center !important; }

  /* Steps */
  .step { gap: .85rem; }
  .step-num { width: 36px; height: 36px; font-size: .95rem; flex-shrink: 0; }
  .step-body h4 { font-size: .95rem; }
  .step-body p, .step-content p { font-size: .88rem; }

  /* Next steps */
  .next-steps, .next-steps-grid { grid-template-columns: 1fr !important; gap: .85rem !important; }

  /* Tables */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Ad cards */
  .ad-card-wrap { border-radius: 10px; }

  /* Footer */
  .footer-bottom-bar { flex-direction: column; gap: .4rem; }
  .footer-site-phone { font-size: 1.1rem; }
  .footer-split-col { flex-direction: column; gap: .85rem; }

  /* Breadcrumb */
  .breadcrumb { font-size: .72rem; flex-wrap: wrap; gap: .2rem; }
}

/* -- 480px: Small phone -- */
@media(max-width:480px) {
  .wrap, .container { padding: 0 .9rem !important; }

  h1 { font-size: clamp(1.5rem, 7vw, 2.2rem) !important; }

  /* Grid collapses */
  .grid-4 { grid-template-columns: 1fr !important; }
  .footer-cols { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .footer-split-col { flex-direction: column; gap: .75rem; }

  /* Nearby counties */
  .nearby-counties-section { padding: 1.75rem 0; }
  .county-pill { font-size: .75rem; padding: .35rem .65rem; }

  /* Info box */
  .info-box { flex-direction: column; gap: .5rem; }

  /* Profile cards */
  .profile-cta-phone { font-size: 1.1rem; }

  /* Next step cards */
  .next-step, .next-step-card { padding: 1rem 1.1rem; }
}

/* -- 400px: Very small phone -- */
@media(max-width:400px) {
  .wrap, .container { padding: 0 .75rem !important; }
  .nav-logo-name { font-size: .82rem; }
  .meta-chip { font-size: .65rem !important; }
}

/* -- First section after hero: no white gap -- */
.hero + section { padding-top: 2.5rem; }
.hero-county + section, .hero--county + section { padding-top: 2rem; }
.hero + section .fade-up,
.hero + section .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }

/* -- County hero buttons class -- */
.hero-county-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
/* ================================================================
   INLINE MAX-WIDTH OVERRIDES - all variants used across pages
   ================================================================ */
@media(max-width:640px) {
  /* Cap ALL inline max-width values on mobile */
  [style*="max-width:5"],
  [style*="max-width:6"],
  [style*="max-width:7"],
  [style*="max-width:8"],
  [style*="max-width:9"],
  [style*="max-width:10"],
  [style*="max-width:11"],
  [style*="max-width:12"],
  [style*="max-width:13"] {
    max-width: 100% !important;
    width: 100% !important;
  }
  /* Two-column layout divs with inline styles */
  div[style*="display:grid;grid-template-columns:1fr 1fr"],
  div[style*="display:grid;grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:repeat(2"] {
    grid-template-columns: 1fr !important;
  }
  img, video, iframe, embed { max-width: 100% !important; }
}

/* ================================================================
   TROUBLE CALLOUT - inline action card inside search embed
   ================================================================ */
.trouble-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.1rem 1.4rem;
  background: linear-gradient(135deg, rgba(191,10,48,.12) 0%, rgba(201,125,0,.08) 100%);
  border: 1px solid rgba(191,10,48,.28);
  border-radius: 14px;
  flex-wrap: wrap;
}
.trouble-callout-left {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex: 1;
  min-width: 0;
}
.trouble-callout-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(191,10,48,.15);
  border: 1px solid rgba(191,10,48,.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.trouble-callout-text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.trouble-callout-text strong {
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}
.trouble-callout-text span {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.trouble-callout-btn {
  flex-shrink: 0;
  font-size: .88rem !important;
  padding: .6rem 1.25rem !important;
  border-radius: 10px !important;
  white-space: nowrap;
}
@media(max-width:560px) {
  .trouble-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: .9rem;
    padding: 1rem 1.1rem;
  }
  .trouble-callout-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Search embed buttons - no overflow, no wrapping text */
.search-embed-btns .btn {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
@media(max-width:640px) {
  .search-embed-btns .btn {
    width: 100% !important;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
}


/* Feature card mobile: reduce padding, smaller icon, center stack */
@media(max-width:560px) {
  .feature-card { padding: 1.5rem; }
  .feature-icon {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  .feature-card h4 { font-size: .95rem; margin-bottom: .5rem; }
  .feature-card p { font-size: .88rem; }
  /* Step cards: make number smaller on mobile to give text more room */
  .step { gap: 1rem; }
  .step-num { width: 42px; height: 42px; font-size: 1.1rem; flex-shrink: 0; }
  .step-body h4 { font-size: .95rem; }
}

/* ================================================================
   GOOGLE AD UNITS - Placed sections that fit the site theme
   3 positions: top (horizontal), mid (rectangle), bottom (horizontal)
   ================================================================ */

.tsi-ad-unit {
  width: 100%;
  padding: .5rem 0;
  position: relative;
  text-align: center;
}

/* Sponsored label - centered, subtle, required by Google policy */
.ifc-ad-label {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(100,116,139,.5);
  text-align: center;
  margin-bottom: .25rem;
  line-height: 1;
  display: block;
  width: 100%;
}

/* Top unit - horizontal banner */
.tsi-ad-unit--top {
  padding: .75rem 0;
  background: rgba(0,0,0,.025);
  border-top: 1px solid rgba(0,0,0,.05);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.tsi-ad-unit--top .adsbygoogle {
  min-height: 50px;
  max-height: 90px;
  margin: 0 auto;
  display: block !important;
}

/* Mid unit - rectangle, centered */
.tsi-ad-unit--mid {
  padding: 1rem 0;
  background: rgba(0,0,0,.015);
  border-top: 1px solid rgba(0,0,0,.04);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.tsi-ad-unit--mid .adsbygoogle {
  width: 100%;
  max-width: 336px;
  min-height: 250px;
  margin: 0 auto;
  display: block !important;
}

/* Bottom unit - horizontal banner */
.tsi-ad-unit--btm {
  padding: .75rem 0;
  background: rgba(0,0,0,.025);
  border-top: 1px solid rgba(0,0,0,.05);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.tsi-ad-unit--btm .adsbygoogle {
  min-height: 50px;
  max-height: 90px;
  margin: 0 auto;
  display: block !important;
}

/* Mobile */
@media(max-width:640px) {
  .tsi-ad-unit--mid .adsbygoogle {
    max-width: 100%;
    min-height: 200px;
  }
}

/* ================================================================
   TARGETED MOBILE FIX: next-step cards stack on phones
   ================================================================ */
@media(max-width:560px) {
  .next-step, .next-step-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .85rem !important;
    padding: 1.35rem !important;
  }
  .next-step-emoji {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.6rem !important;
    margin-top: 0 !important;
  }
  .next-step h4, .next-step-card h4 { font-size: .95rem !important; }
  .next-step p,  .next-step-card p  { font-size: .88rem !important; }
  /* county-grid: single column on phones */
  .county-grid { grid-template-columns: 1fr !important; gap: .6rem !important; }
}

/* Trust bar: hide on mobile to save space */
@media(max-width:768px) { .trust-bar { display: none !important; } }

/* Hero pill compact, 2x2 grid fits nicely */
.hero-pill {
  padding: .9rem 1rem;
  border-radius: var(--r-md);
}
.hero-pill-icon { font-size: 1.35rem; margin-bottom: .35rem; display: block; }
.hero-pill-title { font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: .15rem; }
.hero-pill-sub { font-size: .74rem; color: rgba(255,255,255,.5); line-height: 1.35; }

/* ================================================================
   LOCAL PARTNER SPOTS, lps-* + Partner Search Callout psc-*
   ================================================================ */

/* Section wrapper */
.lps-section { padding: 48px 0 56px; scroll-margin-top: 72px; }
.lps-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .lps-duo { grid-template-columns: 1fr; } }
.lps-col-label { font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.6); margin:0 0 10px 4px; }

/* Base card */
.lps-card {
    position: relative; border-radius: 16px; overflow: hidden;
    background: #1C100A; border: 1px solid rgba(255,255,255,.08);
    display: flex; flex-direction: column;
    transform: translateY(-3px);
    box-shadow:
        0 2px 4px  rgba(0,0,0,.25),
        0 6px 16px rgba(0,0,0,.30),
        0 18px 40px rgba(0,0,0,.28),
        0 36px 60px rgba(0,0,0,.18),
        0 0 0 1px rgba(255,255,255,.06),
        0 0 50px rgba(191,10,48,.07);
    transition: transform .25s cubic-bezier(.22,.68,0,1.2), box-shadow .25s ease;
}
/* Top highlight edge — gives a lit-from-above look */
.lps-card::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    z-index: 3;
    pointer-events: none;
}
.lps-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 4px 8px   rgba(0,0,0,.3),
        0 12px 28px rgba(0,0,0,.35),
        0 28px 56px rgba(0,0,0,.32),
        0 52px 80px rgba(0,0,0,.2),
        0 0 0 1px rgba(255,255,255,.1),
        0 0 70px rgba(191,10,48,.13);
}
/* Active partner cards — teal ambient glow */
.lps-card--active {
    box-shadow:
        0 2px 4px  rgba(0,0,0,.25),
        0 6px 16px rgba(0,0,0,.30),
        0 18px 40px rgba(0,0,0,.28),
        0 36px 60px rgba(0,0,0,.18),
        0 0 0 1px rgba(255,255,255,.07),
        0 0 50px rgba(191,10,48,.1),
        0 0 100px rgba(191,10,48,.05);
}
.lps-card--active:hover {
    transform: translateY(-8px);
    box-shadow:
        0 4px 8px   rgba(0,0,0,.3),
        0 12px 28px rgba(0,0,0,.35),
        0 28px 56px rgba(0,0,0,.32),
        0 52px 80px rgba(0,0,0,.2),
        0 0 0 1px rgba(255,255,255,.12),
        0 0 70px rgba(191,10,48,.18),
        0 0 130px rgba(191,10,48,.08);
}
/* Available spot cards — amber ambient glow */
.lps-card--available {
    background: #1C100A;
    border: 1px dashed rgba(240,192,64,.35);
    min-height: 300px; justify-content: center; align-items: center;
    box-shadow:
        0 2px 4px  rgba(0,0,0,.25),
        0 6px 16px rgba(0,0,0,.28),
        0 18px 40px rgba(0,0,0,.24),
        0 36px 60px rgba(0,0,0,.16),
        0 0 50px rgba(201,125,0,.08),
        0 0 100px rgba(201,125,0,.04);
}
.lps-card--available:hover {
    transform: translateY(-8px);
    box-shadow:
        0 4px 8px   rgba(0,0,0,.3),
        0 12px 28px rgba(0,0,0,.32),
        0 28px 56px rgba(0,0,0,.28),
        0 52px 80px rgba(0,0,0,.18),
        0 0 70px rgba(201,125,0,.16),
        0 0 130px rgba(201,125,0,.07);
}

/* Badges */
.lps-badge {
    position: absolute; top: 14px; left: 14px;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px 4px 8px; border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: .04em;
    z-index: 10; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lps-badge svg { width: 12px; height: 12px; flex-shrink: 0; }
.lps-badge--verified { background:rgba(16,185,129,.18); border:1px solid rgba(16,185,129,.5); color:#34d399; }
.lps-badge--open     { background:rgba(240,192,64,.15); border:1px solid rgba(240,192,64,.4); color:#fbbf24; left:auto; right:14px; }

/* ── Banner strip (wide marketing image) ──────────────────── */
.lps-banner { width:100%; height:195px; overflow:hidden; flex-shrink:0; }
.lps-banner img { width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }

/* ── Logo zone (brand mark, contains fully, any shape ever) ─ */
.lps-logo-zone {
    width: 100%; background: #111e2e;
    border-bottom: 1px solid rgba(255,255,255,.06);
    display: flex; align-items: center; justify-content: center;
    padding: 24px 32px; min-height: 130px; flex-shrink: 0;
}
.lps-logo-zone img {
    max-width: 80%; max-height: 140px;
    width: auto; height: auto;
    object-fit: contain; display: block;
    filter: drop-shadow(0 2px 14px rgba(0,0,0,.45));
}

/* Plain card (no images) — styled accent header */
.lps-plain-header {
    width: 100%; padding: 24px 24px 20px;
    display: flex; align-items: center; gap: 16px;
    flex-shrink: 0;
}
.lps-plain-initial {
    width: 56px; height: 56px; border-radius: 14px;
    border: 2px solid; display: flex; align-items: center;
    justify-content: center; font-size: 20px; font-weight: 800;
    letter-spacing: -.02em; flex-shrink: 0;
    background: rgba(0,0,0,.15);
}

/* Card body */
.lps-body { flex:1; padding:16px 20px 14px; display:flex; flex-direction:column; gap:12px; }
.lps-name-block { }
.lps-name { font-size:18px; font-weight:700; color:#fff; margin:0 0 3px; line-height:1.3; letter-spacing:-.02em; }
.lps-tagline { font-size:13px; color:#94a3b8; margin:0; line-height:1.5; }
.lps-desc    { font-size:13px; color:#cbd5e1; margin:4px 0 0; line-height:1.6; }

/* Content row: info left, optional square image right */
.lps-content-row { display:grid; grid-template-columns:1fr; gap:14px; }
.lps-has-square .lps-content-row { grid-template-columns:1fr 1fr; gap:14px; align-items:stretch; }
.lps-info { display:flex; flex-direction:column; gap:12px; }

/* Square image — fills half the card, stretches to match info height */
.lps-square-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    min-height: 160px;
    align-self: stretch;
}
.lps-square-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    min-height: 160px;
}
/* Portrait/vertical images — contain so nothing is cropped */
.lps-square-wrap--portrait {
    background: #111e2e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lps-square-wrap--portrait .lps-square-img {
    object-fit: contain;
    object-position: center;
    max-height: 240px;
    min-height: unset;
    height: auto;
}
.lps-square-wrap--avatar {
    display: flex; align-items: center; justify-content: center;
    background: rgba(56,189,248,.08); border:1.5px solid rgba(56,189,248,.22);
    font-size:26px; font-weight:800; color:#E09210;
}

/* Phone CTA */
.lps-phone {
    display:flex; align-items:center; gap:10px;
    background:rgba(56,189,248,.1); border:1px solid rgba(56,189,248,.28);
    border-radius:10px; padding:10px 16px;
    color:#7dd3fc; font-size:19px; font-weight:700; text-decoration:none;
    transition:background .18s, color .18s;
}
.lps-phone:hover { background:rgba(56,189,248,.2); color:#bae6fd; }
.lps-phone svg { width:17px; height:17px; flex-shrink:0; color:#E09210; }

/* Chips */
.lps-chips { display:flex; flex-wrap:wrap; gap:5px; }
.lps-chip { display:inline-flex; align-items:center; gap:5px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10); border-radius:999px; padding:4px 10px; font-size:12px; color:#94a3b8; white-space:nowrap; }
.lps-chip-dot { width:7px; height:7px; border-radius:50%; background:#4ade80; flex-shrink:0; box-shadow:0 0 6px #4ade80; animation:lps-dot-pulse 2s infinite; }
@keyframes lps-dot-pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

/* Website link */
.lps-link { display:inline-block; color:#E09210; font-size:13px; font-weight:600; text-decoration:none; transition:color .15s; }
.lps-link:hover { color:#7dd3fc; text-decoration:underline; }

/* Footer */
.lps-footer { padding:8px 20px; font-size:10px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; border-top:1px solid rgba(255,255,255,.07); background:rgba(0,0,0,.18); }
.lps-card--bail     .lps-footer { color:#f97316; }
.lps-card--attorney .lps-footer { color:#E09210; }

/* Available spot body */
.lps-avail-body { padding:40px 28px 34px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:11px; }
.lps-avail-icon { width:56px; height:56px; background:rgba(240,192,64,.18); border:1.5px solid rgba(240,192,64,.45); border-radius:14px; display:flex; align-items:center; justify-content:center; margin-bottom:4px; color:#f59e0b; }
.lps-avail-icon svg { width:28px; height:28px; stroke:#f59e0b; }
.lps-avail-headline { font-size:19px; font-weight:800; color:#fff; margin:0; line-height:1.3; letter-spacing:-.025em; }
.lps-avail-sub { font-size:14px; color:#94a3b8; margin:0; line-height:1.6; max-width:280px; }
.lps-avail-note { font-size:12px; color:rgba(255,255,255,.5); margin:0; }
.lps-avail-btn { display:inline-block; margin-top:8px; padding:13px 28px; background:#f59e0b; color:#111827; font-size:14px; font-weight:800; border-radius:10px; text-decoration:none; box-shadow:0 4px 14px rgba(201,125,0,.35); transition:background .18s, transform .15s, box-shadow .18s; }
.lps-avail-btn:hover { background:#fbbf24; color:#111827; transform:translateY(-1px); box-shadow:0 6px 20px rgba(201,125,0,.5); }

/* ── Mobile — full responsive overhaul ─────────────────────────── */

/* Tablet: stack cards, loosen shadows */
@media (max-width: 640px) {
    .lps-section { padding: 32px 0 40px; }
    .lps-card { transform: none; } /* remove float on mobile — prevents overflow */
    .lps-card:hover { transform: none; }
    .lps-card--active:hover { transform: none; }
    .lps-card--available:hover { transform: none; }

    /* Square image stacks BELOW info on mobile */
    .lps-has-square .lps-content-row { grid-template-columns: 1fr; gap: 12px; }
    .lps-square-wrap { min-height: 180px; border-radius: 10px; }
    .lps-square-img { min-height: 180px; }
    .lps-square-wrap--portrait .lps-square-img { max-height: 200px; }

    /* Banner */
    .lps-banner { height: 160px; }

    /* Logo zone */
    .lps-logo-zone { min-height: 100px; padding: 16px 20px; }
    .lps-logo-zone img { max-height: 110px; }

    /* Plain header */
    .lps-plain-header { padding: 18px 18px 14px; gap: 12px; }
    .lps-plain-initial { width: 46px; height: 46px; font-size: 17px; border-radius: 10px; }

    /* Card body */
    .lps-body { padding: 14px 16px 12px; gap: 10px; }
    .lps-name { font-size: 16px; }
    .lps-tagline { font-size: 12px; }
    .lps-desc { font-size: 12px; }

    /* Phone button — full width, easy to tap */
    .lps-phone {
        font-size: 18px;
        padding: 12px 16px;
        border-radius: 10px;
        width: 100%;
        justify-content: center;
    }
    .lps-phone svg { width: 16px; height: 16px; }

    /* Chips */
    .lps-chips { gap: 4px; }
    .lps-chip { font-size: 11px; padding: 3px 8px; }

    /* Available card */
    .lps-card--available { min-height: 240px; }
    .lps-avail-body { padding: 28px 20px 24px; gap: 8px; }
    .lps-avail-icon {
        width: 46px; height: 46px;
        border-radius: 12px;
        margin-bottom: 2px;
    }
    .lps-avail-icon svg { width: 22px; height: 22px; }
    .lps-avail-headline { font-size: 17px; }
    .lps-avail-sub { font-size: 13px; }
    .lps-avail-note { font-size: 11px; }
    .lps-avail-btn {
        width: 100%;
        text-align: center;
        padding: 13px 20px;
        font-size: 15px;
        border-radius: 10px;
    }

    /* Footer label */
    .lps-footer { padding: 7px 16px; font-size: 9px; }
}

/* Small phone */
@media (max-width: 380px) {
    .lps-banner { height: 130px; }
    .lps-logo-zone { min-height: 80px; padding: 12px 16px; }
    .lps-body { padding: 12px 14px 10px; }
    .lps-name { font-size: 15px; }
    .lps-phone { font-size: 16px; padding: 11px 14px; }
    .lps-avail-headline { font-size: 16px; }
}

/* ================================================================
   PARTNER SEARCH CALLOUT, psc-*
   Shown inside the county search embed when a live partner exists.
   ================================================================ */

.psc-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(191,10,48,.12);
}

.psc-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px 8px 9px;
    border-radius: 999px;
    text-decoration: none;
    transition: background .18s ease, transform .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}

.psc-item--bail {
    background: rgba(201,125,0,.12);
    border: 1.5px solid rgba(201,125,0,.45);
}
.psc-item--bail:hover {
    background: rgba(201,125,0,.22);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201,125,0,.18);
}

.psc-item--attorney {
    background: rgba(191,10,48,.12);
    border: 1.5px solid rgba(191,10,48,.45);
}
.psc-item--attorney:hover {
    background: rgba(191,10,48,.22);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(191,10,48,.18);
}

.psc-icon {
    font-size: 15px;
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}

.psc-item--bail     .psc-icon { background: rgba(201,125,0,.2); }
.psc-item--attorney .psc-icon { background: rgba(191,10,48,.2); }

.psc-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.psc-text strong {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
}

.psc-text span {
    font-size: 11px;
    line-height: 1.3;
}

.psc-item--bail     .psc-text strong { color: #92400e; }
.psc-item--attorney .psc-text strong { color: #0e4f6e; }
.psc-item--bail     .psc-text span   { color: #b45309; }
.psc-item--attorney .psc-text span   { color: #0369a1; }

.psc-arrow {
    font-size: 12px;
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform .15s;
}
.psc-item--bail     .psc-arrow { background: rgba(201,125,0,.18); color: #92400e; }
.psc-item--attorney .psc-arrow { background: rgba(191,10,48,.18); color: #0e4f6e; }
.psc-item:hover .psc-arrow { transform: translateY(-2px); }

@media (max-width: 480px) {
    .psc-wrap { flex-direction: column; align-items: stretch; }
    .psc-item { border-radius: 12px; padding: 10px 14px; white-space: normal; }
}
    .psc-icon { width: 32px; height: 32px; font-size: 17px; }
    .psc-text strong { font-size: 12px; }
    .psc-text span { font-size: 11px; }
}

/* ================================================================
   PRE-FOOTER CTA STRIP
   Appears on every page above the footer
   ================================================================ */


/* ================================================================
   PRE-FOOTER CTA  —  centered, spacious, designed
   ================================================================ */

.pf-cta {
  position: relative;
  background: linear-gradient(to bottom, #F6F1EA 0px, #1A0E08 60px, #1A0E08 100%) !important;
  overflow: hidden;
  contain: paint;
  padding: 3.5rem 0 4.5rem;
  color: #fff;
}

/* Ambient glow layers */
.pf-cta__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pf-cta__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.pf-cta__glow--left {
  width: 500px; height: 500px;
  left: -120px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(191,10,48,.18) 0%, transparent 70%);
}
.pf-cta__glow--right {
  width: 400px; height: 400px;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(201,125,0,.14) 0%, transparent 70%);
}

/* Lone Star watermark — large, centred behind content */
.pf-cta__star-wrap {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 480px; height: 480px;
  opacity: .06;
}
.pf-cta__star-wrap svg { width: 100%; height: 100%; }

/* Shimmer lines */
.pf-cta__top-line, .pf-cta__btm-line {
  position: absolute; left: 0; right: 0; height: 1px;
}
.pf-cta__top-line {
  top: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(191,10,48,.6) 30%, rgba(201,125,0,.5) 50%, rgba(191,10,48,.6) 70%, transparent 100%);
}
.pf-cta__btm-line {
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent);
}

/* Centre everything */
.pf-cta__inner {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* Eyebrow */
.pf-cta__eyebrow {
  display: flex; align-items: center; gap: .55rem;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: #C97D00;
  margin: 1.5rem 0 1.25rem;
}
.pf-cta__star-icon { font-size: .65rem; }

/* Heading */
.pf-cta__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0 0 1.5rem;
}
.pf-cta__heading em {
  font-style: italic;
  background: linear-gradient(135deg, #E09210, #C97D00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtext */
.pf-cta__sub {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  max-width: 560px;
  margin: 0 0 2.5rem;
}

/* Buttons row */
.pf-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.pf-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 2.2rem;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  min-height: 52px;
}

.pf-cta__btn--primary {
  background: linear-gradient(135deg, #C97D00 0%, #9A6000 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 24px rgba(201,125,0,.4), 0 1px 0 rgba(255,255,255,.08) inset;
}
.pf-cta__btn--primary:hover {
  background: linear-gradient(135deg, #E09210 0%, #C97D00 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(201,125,0,.55);
  color: #fff;
}

.pf-cta__btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.2);
}
.pf-cta__btn--ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.4);
  color: #fff;
  transform: translateY(-2px);
}

/* Disclaimer */
.pf-cta__disc {
  font-size: .72rem;
  color: rgba(255,255,255,.22);
  margin: 0;
  letter-spacing: .02em;
  position: relative;
  z-index: 4;
}

/* Responsive */
@media (max-width: 640px) {
  .pf-cta { padding: 6rem 0 3.5rem; }
  .pf-cta::before { height: 90px; }
  .pf-cta__heading { font-size: 1.9rem; }
  .pf-cta__sub { font-size: .92rem; }
  .pf-cta__actions { flex-direction: column; width: 100%; }
  .pf-cta__btn { width: 100%; }
  .pf-cta__star-wrap { width: 300px; height: 300px; }
}
