/* ============================================================
   Merced County Bail Bonds   Brand CSS
   --brand  = #CC0000  red   → header chrome, CTAs, primary buttons
   --accent = #F18052  orange → content decorative elements
   ============================================================ */

:root {
  --brand:       #CC0000;
  --brand-dark:  #a00000;
  --accent:      #F18052;
  --accent-dark: #d4663c;
  --text-dark:   #1a1a1a;
  --text-muted:  #666;
  --bg-light:    #f7f7f7;
  --border:      #e0e0e0;
}

/* ── Links ── */
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

/* ── Buttons ── */
.button.button-black,
.button.button-brand {
  background-color: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
}
.button.button-black:hover,
.button.button-brand:hover {
  background-color: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
}

/* ── Top bar ── */
#top-bar { background-color: #1a1a1a !important; border-bottom: 0; }
#top-bar a,
#top-bar .top-links-item > a { color: #ccc !important; }
#top-bar a:hover,
#top-bar .top-links-item > a:hover { color: #fff !important; }
.top-links-sub-menu { background: #1a1a1a !important; }
.top-links-sub-menu .top-links-item > a { color: #ccc !important; }
.top-links-sub-menu .top-links-item > a:hover { color: var(--accent) !important; }
#top-social li a { color: #ccc !important; }
#top-social li a:hover { color: var(--accent) !important; }

/* ── Header ── */
#header { background-color: #fff !important; border-bottom: 3px solid var(--brand) !important; }
#header-wrap { background-color: #fff !important; }
.he-text span { color: var(--accent) !important; }
.he-text a { color: var(--accent) !important; text-decoration: none; }

/* ── Nav ── */
.primary-menu > ul > li.current > a,
.primary-menu > ul > li:hover > a { color: var(--brand) !important; }
.primary-menu ul.sub-menu { border-top: 2px solid var(--brand) !important; }

/* ── Language switcher ── */
.lang-switch {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  background: var(--brand) !important;
  color: #fff !important;
  padding: 4px 12px 4px 10px !important;
  border-radius: 3px;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .8px;
  text-decoration: none !important;
  transition: background .18s;
  line-height: 1.4 !important;
  white-space: nowrap;
}
.lang-switch::before { content: '⇄'; font-size: 12px; opacity: .8; }
.lang-switch:hover { background: var(--brand-dark) !important; color: #fff !important; }

/* ── CTA promo bar (under hero) ── */
.promo.promo-light {
  background: #f8f8f8 !important;
  border-top: 3px solid var(--accent) !important;
  border-bottom: 1px solid var(--border) !important;
}
.promo h1 {
  font-size: clamp(20px, 2.5vw, 26px) !important;
  font-weight: 800 !important;
  color: var(--text-dark) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  margin: 0 0 6px !important;
}
.promo span { font-size: 15px; color: var(--text-muted); }
.promo .button.button-black {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.promo .button.button-black:hover {
  background: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
}

/* ── Full-width CTA strip ── */
.button-3d.button-full {
  background: #1a1a1a !important;
  color: #fff !important;
  font-size: clamp(16px, 1.8vw, 22px) !important;
  text-align: center;
}
.button-3d.button-full:hover { background: var(--brand) !important; }

/* ── Section headers ── */
.section-header { margin-bottom: 40px; }
.section-header h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.section-header p { font-size: 16px; color: var(--text-muted); }

/* ── Process steps   orange numbers ── */
.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent) !important;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 15px; color: var(--text-muted); margin: 0; }

/* ── Counters   alternating orange / dark ── */
.counter.counter-large { font-size: clamp(42px, 5vw, 64px) !important; font-weight: 800 !important; }

/* ── Divider ── */
.divider-border i { color: var(--accent) !important; font-size: 22px; }

/* ── Bail service cards ── */
.bail-service-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s;
  height: 100%;
}
.bail-service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(241,128,82,.14);
}
.bail-service-card .card-icon {
  font-size: 36px;
  color: var(--accent) !important;
  margin-bottom: 14px;
  display: block;
}
.bail-service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }

/* ── Jail info cards   orange left border ── */
.jail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent) !important;
  border-radius: 4px;
  padding: 24px 28px;
}
.jail-card h3 { color: var(--accent) !important; margin-bottom: 6px; font-size: 18px; }
.jail-card .jail-detail { margin: 6px 0; font-size: 14px; color: #444; }
.jail-card .jail-detail strong { color: var(--text-dark); }
.jail-card a { color: var(--brand); }

/* ── Rate box   orange number ── */
.rate-box {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  border-radius: 8px;
  padding: 32px 36px;
}
.rate-box .rate-number {
  font-size: 64px;
  font-weight: 800;
  color: var(--accent) !important;
  line-height: 1;
}
.rate-box h3 { color: #fff; font-size: 20px; margin: 8px 0 12px; }
.rate-box p { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.6; margin: 0; }
.rate-box .rate-note { color: rgba(255,255,255,.5); font-size: 12px; margin-top: 12px; }

/* ── CA law alert strip ── */
.ca-law-strip {
  background: #fff8e1;
  border-left: 4px solid var(--accent);
  padding: 14px 20px;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  color: #555;
  margin: 20px 0;
}
.ca-law-strip strong { color: #1a1a1a; }

/* ── Iconlist ticks   orange ── */
.iconlist-color li i { color: var(--accent) !important; }

/* ── Horizontal rules ── */
.line { border-color: var(--border) !important; margin: 40px 0 !important; }

/* ── City pills ── */
.city-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.city-pill {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 13px;
  color: var(--text-dark);
  text-decoration: none !important;
  transition: background .2s, border-color .2s, color .2s;
}
.city-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}

/* ── Espanol bar ── */
.espanol-bar {
  background: linear-gradient(135deg, #006847 0%, #009a4e 100%);
  color: #fff;
  padding: 40px 0;
}
.espanol-bar h2 { color: #fff; margin-bottom: 8px; }
.espanol-bar p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.espanol-bar .flag-lg { font-size: 40px; }

/* ── Testimonial parallax overlay   orange ── */
.section.parallax.dark .video-overlay,
.video-overlay { background: rgba(241,128,82,0.9) !important; }
.testi-content p { font-size: 20px !important; line-height: 1.7 !important; }

/* ── Content body text ── */
#content h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; color: var(--text-dark); margin-bottom: 14px; }
#content h3 { font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
#content p  { font-size: 16px; line-height: 1.75; color: #333; margin-bottom: 16px; }
#content .lead { font-size: 18px; line-height: 1.7; color: #444; }

/* ── Footer ── */
#footer { background: #f4f4f4 !important; }
#copyrights { background: #111 !important; }

/* ============================================================
   Hero slider   full override (kills needed.css white box)
   ============================================================ */

/* Kill the white box from needed.css */
#slider .slider-caption > div {
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Dark gradient scrim */
#slider .swiper-slide { position: relative; }
#slider .swiper-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.52) 40%, rgba(0,0,0,.1) 100%);
  z-index: 1;
  pointer-events: none;
}
#slider .swiper-slide:nth-child(2)::after {
  background: linear-gradient(to left, rgba(0,0,0,.82) 0%, rgba(0,0,0,.52) 40%, rgba(0,0,0,.1) 100%);
}

/* Caption above scrim */
#slider .slider-caption {
  position: relative;
  z-index: 3;
  max-width: 620px;
}
#slider .slider-caption.slider-caption-right { margin-left: auto; }

/* Kill :not(.dark) override */
#slider .slider-caption:not(.dark),
#slider .slider-caption:not(.dark) h2 {
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.7) !important;
}

/* H2 */
#slider .slider-caption h2 {
  font-size: clamp(28px, 4.5vw, 56px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-shadow: 0 3px 16px rgba(0,0,0,.65) !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
  text-transform: none !important;
  margin-bottom: 16px !important;
}

/* Orange accent in headline */
#slider .slider-caption h2 .accent {
  color: var(--accent) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

/* Paragraph */
#slider .slider-caption p {
  font-size: clamp(15px, 1.7vw, 19px) !important;
  color: rgba(255,255,255,.92) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.55) !important;
  margin-top: 0 !important;
  margin-bottom: 28px !important;
  line-height: 1.6 !important;
  max-width: 520px;
}

/* Hero CTA button   orange */
.slider-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  transition: background .2s, transform .15s;
}
.slider-cta:hover {
  background: var(--accent-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

/* Slide background */
.swiper-slide-bg {
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 767px) {
  #slider .slider-caption h2 { font-size: clamp(26px, 7vw, 36px) !important; }
  #slider .slider-caption p  { font-size: 15px !important; }
  .slider-cta { font-size: 15px; padding: 12px 22px; }
}

/* ============================================================
   heading-block overrides (style.css forces uppercase + faded)
   ============================================================ */
.heading-block h1,
.heading-block h2,
.heading-block h3,
.heading-block h4 {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
}
.heading-block > span:not(.before-heading) {
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  font-size: 16px !important;
}

/* ============================================================
   Spanish teaser bar   ES flag badge replacing emoji
   ============================================================ */
.es-flag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

/* ============================================================
   Footer   full redesign
   ============================================================ */
#footer {
  background: #1c1c1c !important;
  border-top: 3px solid var(--accent) !important;
  color: #bbb;
}

.footer-main {
  padding: 60px 0 50px;
}

.footer-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .footer-desc { max-width: 100%; }
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 991px) {
  .footer-social { justify-content: center; }
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2e2e2e;
  color: #aaa !important;
  font-size: 14px;
  text-decoration: none !important;
  transition: background .2s, color .2s;
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff !important;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin-bottom: 10px;
}
.footer-nav a {
  color: #888 !important;
  font-size: 14px;
  text-decoration: none !important;
  transition: color .15s;
}
.footer-nav a:hover {
  color: var(--accent) !important;
}

.footer-phone {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none !important;
  letter-spacing: -0.5px;
  transition: color .15s;
}
.footer-phone:hover { color: var(--accent) !important; }

.footer-phone-label {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  margin: 2px 0 10px;
}

.footer-email {
  display: block;
  font-size: 14px;
  color: #888 !important;
  text-decoration: none !important;
  transition: color .15s;
}
.footer-email:hover { color: var(--accent) !important; }

.footer-hours {
  font-size: 13px;
  color: #666;
  margin-bottom: 0;
}

.footer-lang-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent) !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .8px;
  transition: color .15s;
}
.footer-lang-link:hover { color: #fff !important; }

.footer-tagline {
  font-size: 13px;
  color: #888;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid #2c2c2c;
  padding: 18px 0;
  font-size: 12px;
  color: #555;
}
.footer-bottom a {
  color: #666 !important;
  text-decoration: none !important;
  transition: color .15s;
}
.footer-bottom a:hover { color: var(--accent) !important; }
.footer-sep {
  display: inline-block;
  margin: 0 8px;
  color: #3c3c3c;
}

/* ── Remove old si-colored platform colors ── */
.social-icon.si-borderless { background: none !important; box-shadow: none !important; }

/* ── Rate box text contrast fix ── */
.rate-box p, .rate-box h3 { opacity: 1 !important; }

/* ── Good Hands section spacing ── */
.section.bg-transparent { padding-top: 60px !important; padding-bottom: 60px !important; }

/* ============================================================
   Rate box   fix dark text on dark background
   ============================================================ */
.rate-box,
.rate-box * { color: #fff; }
.rate-box h3 { color: #fff !important; font-size: 19px; margin: 10px 0 12px; }
.rate-box p  { color: rgba(255,255,255,.82) !important; font-size: 14px; line-height: 1.65; }
.rate-box .rate-note { color: rgba(255,255,255,.5) !important; font-size: 12px; margin-top: 10px; }
.rate-box .rate-number { color: var(--accent) !important; }

/* ============================================================
   Testimonial cards   replaces fslider
   ============================================================ */
.testi-section {
  background: #f8f8f8;
  padding: 70px 0;
}
.testi-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 28px 24px;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: box-shadow .2s, border-color .2s;
}
.testi-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  border-color: var(--accent);
}
.testi-card--featured {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(241,128,82,.15);
}
.testi-stars {
  margin-bottom: 14px;
  line-height: 1;
}
.testi-stars i {
  color: #F18052;
  font-size: 15px;
  margin-right: 2px;
}
.testi-card p {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #444 !important;
  font-style: italic;
  flex: 1;
  margin-bottom: 18px !important;
}
.testi-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: none;
  letter-spacing: 0;
}
.testi-name span {
  font-weight: 400;
  color: var(--text-muted);
}

/* ============================================================
   Bilingual callout   dark with white text, proper contrast
   ============================================================ */
.bilingual-callout {
  background: #1c1c1c;
  padding: 44px 0;
  border-left: 0;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}
.bilingual-callout h2 {
  color: #fff !important;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  margin-bottom: 8px;
}
.bilingual-callout p {
  color: rgba(255,255,255,.75) !important;
  font-size: 15px !important;
  margin-bottom: 0 !important;
  line-height: 1.65 !important;
}
.bilingual-btn {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  white-space: nowrap;
}
.bilingual-btn:hover {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
}

/* ============================================================
   Header   tighten up spacing and remove wasted space
   ============================================================ */

/* Compact top bar */
#top-bar {
  padding: 0 !important;
  line-height: 36px !important;
  min-height: 36px !important;
}
#top-bar .container { padding-top: 0 !important; padding-bottom: 0 !important; }
#top-bar ul#top-social li a { line-height: 36px !important; padding: 0 10px !important; }

/* Header row compact */
#header .header-row { padding: 14px 0 !important; }
#header.header-size-sm { padding: 0 !important; }

/* header-extras icons   match brand */
.header-extras li i.i-plain { color: var(--accent) !important; font-size: 22px !important; }
.he-text { line-height: 1.3 !important; }
.he-text,
.he-text span { font-size: 13px !important; }

/* Sticky header wrap compact */
#header-wrap { border-top: 1px solid #eee !important; }
#header-wrap .header-row { padding: 6px 0 !important; }

/* Nav items tighter */
.primary-menu > ul > li > a > div { padding: 8px 14px !important; font-size: 13px !important; }

/* ============================================================
   Footer logo   add light version treatment
   ============================================================ */
#footer .footer-logo,
#footer img[alt*="Bail"] {
  filter: brightness(0) invert(1) !important;
  opacity: 0.9;
}

/* Footer desc and nav on dark bg */
#footer,
#footer p,
#footer span,
#footer h6,
#footer a { color: #aaa; }

/* ============================================================
   Good Hands section   ensure image row has top spacing
   ============================================================ */
.section.bg-transparent { padding-top: 60px !important; padding-bottom: 60px !important; }
.section.bg-transparent .heading-block > span {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
}

/* ============================================================
   Stats section   wrap in container properly
   ============================================================ */
.titular-title { font-size: clamp(20px, 2.5vw, 28px) !important; }

/* ============================================================
   NEW HEADER   complete design
   ============================================================ */

/* ── Top bar ── */
#top-bar {
  background: #111 !important;
  border-bottom: 1px solid #222 !important;
  padding: 0 !important;
  height: 34px !important;
  line-height: 34px !important;
}
#top-bar .container { height: 34px; }
#top-bar .row { height: 34px; }

/* Social icons   icons only, no text labels */
#top-social { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; height: 34px; }
#top-social li { margin: 0; }
#top-social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #666 !important;
  font-size: 13px;
  text-decoration: none !important;
  transition: color .15s;
}
#top-social li a:hover { color: var(--accent) !important; }
#top-social li .ts-text { display: none !important; }

/* Top-bar right links */
.top-bar-right {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  height: 34px;
}
.top-bar-right li { display: flex; align-items: center; }
.top-bar-right li::before { content: ''; }
.top-bar-right li + li::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 14px;
  background: #333;
  margin: 0 2px;
}
.top-bar-right a {
  font-size: 11px !important;
  color: #888 !important;
  text-decoration: none !important;
  padding: 0 10px;
  line-height: 34px;
  transition: color .15s;
  letter-spacing: .3px;
  text-transform: uppercase;
  font-weight: 500;
}
.top-bar-right a:hover { color: var(--accent) !important; }
.top-bar-right .lang-switch {
  background: var(--brand) !important;
  color: #fff !important;
  padding: 4px 12px !important;
  border-radius: 3px;
  line-height: 1.4 !important;
  margin-left: 6px;
  font-size: 10px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}
.top-bar-right .lang-switch::before { content: '⇄'; }
.top-bar-right .lang-switch:hover { background: var(--brand-dark) !important; }

/* ── Main header row (logo + contact info) ── */
#header { border-bottom: none !important; box-shadow: 0 1px 0 #eee; }
#header .container { padding-top: 0; padding-bottom: 0; }

.header-main-row {
  padding: 14px 0 !important;
  flex-wrap: nowrap;
  gap: 20px;
}

/* Logo */
#logo {
  flex-shrink: 0;
  margin: 0 !important;
}
#logo img { display: block; }

/* Contact block — three items in a row — desktop only */
@media (min-width: 992px) {
  .header-cta-block {
    display: flex !important;
    align-items: center;
    margin-left: auto;
    gap: 0;
  }
}

.hdr-phone-btn,
.hdr-email-btn,
.hdr-hours {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  text-decoration: none !important;
  color: var(--text-dark) !important;
}
.hdr-phone-btn:hover { color: var(--brand) !important; }
.hdr-email-btn:hover { color: var(--brand) !important; }

.hdr-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.hdr-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hdr-phone-text small {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 500;
}
.hdr-phone-text strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -.3px;
}
.hdr-phone-btn .hdr-phone-text strong { color: var(--brand); font-size: 17px; }

.hdr-divider {
  width: 1px;
  height: 36px;
  background: #eee;
  flex-shrink: 0;
}

/* ── Nav bar (sticky) ── */
#header-wrap {
  background: var(--text-dark) !important;
  border-top: none !important;
}
#header-wrap .container { padding-top: 0; padding-bottom: 0; }
#header-wrap .header-row { padding: 0 !important; min-height: 48px; }

/* Nav links on dark bar */
.primary-menu > ul > li > a {
  color: rgba(255,255,255,.82) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}
.primary-menu > ul > li > a:hover,
.primary-menu > ul > li.current > a { color: var(--accent) !important; }
.primary-menu > ul > li > a > div { padding: 14px 16px !important; }

/* Active underline */
.primary-menu > ul > li > a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .2s;
}
.primary-menu > ul > li:hover > a::after,
.primary-menu > ul > li.current > a::after { transform: scaleX(1); }

/* Phone CTA in nav bar */
.hdr-nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700;
  padding: 10px 20px;
  text-decoration: none !important;
  transition: background .2s;
  white-space: nowrap;
  margin-left: auto;
  letter-spacing: .3px;
}
.hdr-nav-cta:hover { background: var(--accent-dark); color: #fff !important; }
.hdr-nav-cta i { font-size: 14px; }

/* Sub-menu on dark nav */
.primary-menu ul.sub-menu {
  background: var(--text-dark) !important;
  border-top: 2px solid var(--accent) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.3) !important;
}
.primary-menu ul.sub-menu li a {
  color: rgba(255,255,255,.75) !important;
  font-size: 12px !important;
  padding: 9px 16px !important;
}
.primary-menu ul.sub-menu li a:hover { color: var(--accent) !important; }

/* Mobile hamburger color on dark bar */
#primary-menu-trigger path {
  stroke: rgba(255,255,255,.9) !important;
}

/* Sticky header-wrap height clone */
.header-size-sm .header-wrap-clone { height: calc(48px + 1px) !important; }

/* ── Responsive ── */
/* removed — consolidated into mobile block below */

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

#footer {
  background: #141414 !important;
  border-top: 3px solid var(--accent) !important;
  color: #999;
  font-size: 14px;
}

/* CTA Strip */
.footer-cta-strip {
  background: #1e1e1e;
  border-bottom: 1px solid #2a2a2a;
  padding: 32px 0;
}
.footer-cta-heading {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.footer-cta-sub {
  font-size: 13px;
  color: #888;
  margin: 0;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--brand);
  color: #fff !important;
  font-size: 22px;
  font-weight: 900;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background .2s, box-shadow .2s, transform .15s;
  white-space: nowrap;
  letter-spacing: .5px;
  box-shadow: 0 4px 18px rgba(204,0,0,.35);
  border: none;
}
.footer-cta-btn:hover {
  background: #a50000;
  box-shadow: 0 6px 24px rgba(204,0,0,.5);
  transform: translateY(-2px);
  color: #fff !important;
}
.footer-cta-btn span:not(.fcta-icon) {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .5px;
  color: #fff !important;
}
.fcta-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,.35);
}

/* Footer Body */
.footer-body {
  padding: 60px 0 50px;
}

/* Logo */
.footer-logo {
  filter: brightness(0) invert(1);
  opacity: .9;
  margin-bottom: 0;
  display: block;
  margin-bottom: 16px;
}

/* Description */
.footer-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 16px;
}

/* Trust badges */
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}
.footer-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--accent);
  border: 1px solid rgba(241,128,82,.3);
  border-radius: 3px;
  padding: 3px 8px;
}

/* Social */
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #888 !important;
  font-size: 13px;
  text-decoration: none !important;
  transition: background .2s, color .2s;
  border: 1px solid #333;
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}

/* Headings */
.footer-heading {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent) !important;
  margin-bottom: 18px !important;
}

/* Nav */
.footer-nav {
  list-style: none;
  margin: 0; padding: 0;
}
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
  color: #777 !important;
  font-size: 13px;
  text-decoration: none !important;
  transition: color .15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-nav a::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #444;
  flex-shrink: 0;
  transition: background .15s;
}
.footer-nav a:hover { color: var(--accent) !important; }
.footer-nav a:hover::before { background: var(--accent); }

/* Contact items */
.footer-contact-items { display: flex; flex-direction: column; gap: 16px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.fci-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 6px;
  background: rgba(241,128,82,.1);
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}
.fci-main {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #ddd !important;
  text-decoration: none !important;
  transition: color .15s;
  line-height: 1.3;
}
a.fci-main:hover { color: var(--accent) !important; }
.fci-sub {
  display: block;
  font-size: 11px;
  color: #666;
  margin-top: 1px;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #222;
  padding: 16px 0;
  font-size: 11px;
  color: #555;
}
.footer-bottom a {
  color: #666 !important;
  text-decoration: none !important;
  transition: color .15s;
}
.footer-bottom a:hover { color: var(--accent) !important; }
.footer-sep { margin: 0 8px; color: #333; }

/* Testimonial name separator */
.testi-sep {
  color: #ddd;
  margin: 0 4px;
  font-weight: 400;
}


/* ============================================================
   HEADER WASTED SPACE FIX
   The .hdr-phone-btn needs padding to use space well on wider screens
   ============================================================ */
@media (min-width: 992px) { .header-cta-block { flex: 1; justify-content: flex-end; } }
.hdr-phone-btn,
.hdr-email-btn,
.hdr-hours {
  padding: 0 18px;
}
/* Remove small label on medium screens to save space */
@media (max-width: 1199px) {
  .hdr-phone-text small { display: none !important; }
  .hdr-phone-btn, .hdr-email-btn, .hdr-hours { padding: 0 12px; }
  .hdr-phone-text strong { font-size: 13px !important; }
}
@media (max-width: 1099px) {
  /* Hide email+hours on smaller desktops, keep phone only */
  .hdr-email-btn, .hdr-hours, .hdr-divider:not(:first-of-type) { display: none !important; }
}


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

/* Prevent horizontal scroll on all screen sizes */
html, body {
  overflow-x: hidden !important;
}
* { box-sizing: border-box; }

/* Mobile top bar */
@media (max-width: 767px) {
  #top-bar { display: none !important; }
}

/* Mobile header row */
/* removed — consolidated into mobile block below */

/* Mobile nav drop */
/* removed — consolidated into mobile block below */

/* Mobile slider/hero */
@media (max-width: 767px) {
  /* Slider height */
  #slider.min-vh-75 { min-height: 50vh !important; height: 50vh !important; }
  .swiper-container, .swiper-slide, .swiper-slide-bg { height: 50vh !important; }
  /* Caption positioning */
  #slider .slider-caption {
    padding: 0 20px !important;
    max-width: 100% !important;
  }
  #slider .slider-caption h2 {
    font-size: clamp(22px, 6vw, 32px) !important;
    margin-bottom: 10px !important;
  }
  #slider .slider-caption p { font-size: 14px !important; margin-bottom: 16px !important; }
  .slider-cta { font-size: 14px !important; padding: 11px 20px !important; }
  /* Ensure scrim works on mobile */
  #slider .swiper-slide::after { background: rgba(0,0,0,.7) !important; }
}

/* Mobile promo bar */
@media (max-width: 767px) {
  .promo.promo-light { padding: 20px 15px !important; }
  .promo h1 { font-size: 18px !important; }
}

/* Mobile process steps */
@media (max-width: 767px) {
  .process-connector { display: none; }
  .process-step { padding: 20px 15px; }
}

/* Mobile service cards */
@media (max-width: 767px) {
  .bail-service-card { margin-bottom: 0; }
}

/* Mobile testimonials */
@media (max-width: 767px) {
  .testi-section { padding: 40px 0; }
  .testi-card { margin-bottom: 0; }
}

/* Mobile footer */
@media (max-width: 767px) {
  .footer-body { padding: 40px 0 30px; }
  .footer-cta-strip { padding: 24px 0; }
  .footer-cta-btn { font-size: 16px; padding: 12px 22px; background: var(--brand) !important; }
  .footer-contact-items { gap: 12px; }
  .footer-desc { max-width: 100%; }
}

/* Mobile bilingual callout */
@media (max-width: 767px) {
  .bilingual-callout { padding: 28px 0; }
  .bilingual-callout h2 { font-size: 18px !important; }
}

/* Prevent containers from overflowing on small screens */
@media (max-width: 575px) {
  .container { padding-left: 15px !important; padding-right: 15px !important; }
  .row { margin-left: -10px !important; margin-right: -10px !important; }
  [class*="col-"] { padding-left: 10px !important; padding-right: 10px !important; }
}

/* ============================================================
   MOBILE PHONE STRIP (shows below header on mobile)
   ============================================================ */
.mobile-phone-strip {
  background: var(--brand);
  text-align: center;
  padding: 0;
}
.mobile-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  padding: 11px 20px;
  letter-spacing: .3px;
}
.mobile-phone-link i { font-size: 16px; }
.mobile-phone-link:hover { background: var(--brand-dark); }

/* ============================================================
   LAYOUT FIX PASS — fix edge-to-edge sections, spacing, alignment
   ============================================================ */

/* Bootstrap container widths — DO NOT override these globally */
/* Only fix specific problem sections */

/* Content-wrap base padding */
.content-wrap { padding: 60px 0 !important; }

/* Promo bar sizing */
.promo.promo-light.promo-full {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
}
.promo.promo-light.promo-full .container { padding: 0 15px !important; }
.promo h1 {
  font-size: clamp(18px, 2vw, 24px) !important;
  text-transform: none !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  margin-bottom: 4px !important;
}

/* All content sections: consistent vertical spacing */
.content-wrap > .container,
.content-wrap > .container.clearfix {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.line { margin: 48px 0 !important; }
.topmargin { margin-top: 48px !important; }
.topmargin-sm { margin-top: 30px !important; }
.bottommargin-lg { margin-bottom: 48px !important; }

/* Section header spacing */
.section-header { margin-bottom: 36px !important; }

/* Row gutters — consistent */
.col-mb-30 > [class*="col-"] { margin-bottom: 30px; }
.col-mb-50 > [class*="col-"] { margin-bottom: 50px; }

/* Stats section — ensure it has padding */
.titular-title {
  text-align: center;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  color: var(--text-dark) !important;
  margin-bottom: 36px !important;
  font-weight: 400 !important;
}

/* Jail cards equal height */
.jail-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Testimonial section */
.testi-section .container { padding-top: 0 !important; padding-bottom: 0 !important; }

/* Bilingual callout full width */
.bilingual-callout { margin-left: 0 !important; margin-right: 0 !important; }
.bilingual-callout .container { padding: 0 15px !important; }

/* Good hands / trust section */
.section.bg-transparent { padding: 60px 0 !important; }

/* Footer CTA strip full width */
.footer-cta-strip {
  margin: 0 !important;
  padding: 36px 0 !important;
}
.footer-cta-strip .container { padding: 0 15px !important; }

/* ============================================================
   HEADER — final layout fix
   Logo stays left, CTA fills remaining space right-aligned
   ============================================================ */
#header > .container {
  display: flex !important;
  align-items: stretch !important;
  padding: 0 15px !important;
}
.header-main-row {
  width: 100%;
  display: flex !important;
  align-items: center !important;
  padding: 16px 0 !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
}
#logo {
  flex: 0 0 auto;
  margin-right: 30px !important;
}
@media (min-width: 992px) {
  .header-cta-block {
    flex: 1 1 auto;
    display: flex !important;
    align-items: center;
    justify-content: flex-end !important;
  }
}
/* Each CTA item even spacing */
.hdr-phone-btn { padding: 0 20px !important; flex-shrink: 0; }
.hdr-email-btn { padding: 0 20px !important; flex-shrink: 0; }
.hdr-hours     { padding: 0 0 0 20px !important; flex-shrink: 0; }

/* Nav bar layout */
#header-wrap .header-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  min-height: 50px;
}
.primary-menu { flex: 1 1 auto; }
.hdr-nav-cta  { flex: 0 0 auto; }

/* ============================================================
   FOOTER layout — ensure columns don't collapse weirdly
   ============================================================ */
.footer-body .row { align-items: flex-start; }
.footer-body [class*="col-"] { padding-top: 0; }

/* ============================================================
   RESPONSIVE — mobile-first cleanup
   ============================================================ */
/* removed — consolidated into mobile block below */

@media (max-width: 767px) {
  .content-wrap { padding: 40px 0 !important; }
  .line { margin: 32px 0 !important; }
  .section-header { margin-bottom: 24px !important; }
  /* Footer columns stack cleanly */
  .footer-body .row > [class*="col-6"] { margin-bottom: 32px; }
  .footer-cta-strip { padding: 24px 0 !important; }
  .footer-cta-heading { font-size: 16px !important; }
}

/* ============================================================
   NEW LOGO — merced-bail-bonds.jpg (black background JPEG)
   mix-blend-mode: multiply makes black background transparent on white
   ============================================================ */
#logo a img,
#logo .standard-logo img,
#logo .retina-logo img {
  mix-blend-mode: multiply !important;
  height: 52px !important;
  width: auto !important;
}

/* Footer logo needs invert (dark bg) */
#footer .footer-logo {
  mix-blend-mode: normal !important;
  filter: brightness(0) invert(1) !important;
  opacity: .88;
  height: 44px !important;
  width: auto !important;
}

/* ============================================================
   INNER PAGE HERO — redesigned, spacious, polished
   ============================================================ */

.page-hero {
  background: #111;
  padding: 0;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

/* Subtle diagonal texture overlay */
.page-hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(241,128,82,.08) 0%, transparent 55%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,.012) 40px,
      rgba(255,255,255,.012) 41px
    );
  pointer-events: none;
  z-index: 0;
}

/* Left accent bar */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent), var(--brand));
  z-index: 1;
}

/* Bottom orange line */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--brand) 60%, transparent);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 52px;
  padding-bottom: 52px;
}

/* Breadcrumb — sits at top, subtle */
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.35);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.page-hero-breadcrumb a {
  color: rgba(255,255,255,.35) !important;
  text-decoration: none !important;
  transition: color .15s;
}
.page-hero-breadcrumb a:hover { color: var(--accent) !important; }
.page-hero-breadcrumb span {
  color: rgba(255,255,255,.2);
  margin: 0 8px;
  font-size: 13px;
  font-weight: 300;
}

/* Eyebrow label */
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 14px;
}
.page-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* H1 */
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
  margin-bottom: 16px !important;
}

/* Subtitle */
.page-hero-sub {
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 28px;
}

/* CTA button */
.page-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(241,128,82,.35);
  letter-spacing: .2px;
}
.page-hero-cta:hover {
  background: var(--accent-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(241,128,82,.45);
}
.page-hero-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  font-size: 13px;
  flex-shrink: 0;
}

/* Right stat box */
.page-hero-stat-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: auto;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  min-width: 200px;
  backdrop-filter: blur(10px);
}
.phsb-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  gap: 16px;
}
.phsb-item:last-child { border-bottom: none; }
.phsb-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
}
.phsb-label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  text-align: right;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Remove old page-title-parallax */
.page-title-parallax.dark { padding: 0 !important; }
.page-title-parallax.page-title-mini { display: none !important; }

/* ============================================================
   INNER PAGE CONTENT — clean spacing right after hero
   ============================================================ */

/* First content block after hero — light separator line */
.page-hero + #content > .content-wrap,
.page-hero + section > .content-wrap {
  padding-top: 0 !important;
}

/* Page intro block (first section of content) */
.page-intro {
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.page-intro .lead {
  font-size: 18px !important;
  line-height: 1.8 !important;
  color: #444 !important;
  max-width: 760px;
}
.page-intro-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-intro-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Content h2 — styled section headers */
.content-wrap h2:not(.section-header h2) {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

/* Section dividers */
.content-wrap .line {
  border-color: #ebebeb !important;
  margin: 48px 0 !important;
}

/* Content section background alternation */
.content-section-alt {
  background: #f9f9f9;
  padding: 48px 0;
  margin: 0 -15px;
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 991px) {
  .page-hero-stat-box { min-width: 160px; }
  .phsb-val { font-size: 24px; }
  .phsb-item { padding: 14px 18px; }
}
@media (max-width: 767px) {
  .page-hero .container { padding-top: 36px; padding-bottom: 36px; }
  .page-hero h1 { font-size: clamp(24px, 7vw, 34px) !important; letter-spacing: -.5px !important; }
  .page-hero-sub { font-size: 15px; margin-bottom: 22px; }
  .page-hero-cta { font-size: 14px; padding: 12px 22px; }
  .page-intro { padding: 36px 0 28px; }
}

/* ============================================================
   INNER PAGE CONTENT — consistent layout
   ============================================================ */
.inner-content { padding: 60px 0; }
.inner-content h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.inner-content h3 {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.inner-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}
.inner-content .lead {
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: #333 !important;
}

/* Contact page form */
.contact-info-card {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 32px 28px;
  border-left: 4px solid var(--accent);
  height: 100%;
}
.contact-info-card h3 { margin-bottom: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.contact-detail-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}
.contact-detail-text { font-size: 14px; color: #444; line-height: 1.4; }
.contact-detail-text strong { display: block; color: var(--text-dark); font-weight: 700; font-size: 15px; }

/* FAQ toggle styling */
.toggle .toggle-header { cursor: pointer; }
.toggle .toggle-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
}
.toggle.toggle-bg .toggle-header { background: #f8f8f8 !important; border-radius: 6px; }
.toggle.toggle-bg .toggle-header:hover { background: #fff3ec !important; }

@media (max-width: 767px) {
  .page-hero { padding: 40px 0 36px; }
  .page-hero h1 { font-size: clamp(22px, 6vw, 32px) !important; }
  .inner-content { padding: 40px 0; }
}

/* ============================================================
   ABOUT PAGE — sidebar trust card
   ============================================================ */
.about-sidebar-card {
  background: #f8f8f8;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.asc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.asc-item:last-child { border-bottom: none; }
.asc-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; flex-shrink: 0;
}
.asc-item div { display: flex; flex-direction: column; }
.asc-item strong { font-size: 13px; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
.asc-item span { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   SERVICES PAGE — intro badges strip
   ============================================================ */
.service-intro-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sib-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f8f8;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.sib-item i {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE — form styling
   ============================================================ */
.contact-info-card {
  background: #111;
  border-radius: 10px;
  padding: 32px 28px;
  height: 100%;
}
.contact-info-card h3 {
  color: #fff !important;
  font-size: 18px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #2a2a2a;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail-icon {
  width: 38px; height: 38px;
  background: rgba(241,128,82,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 15px; flex-shrink: 0;
}
.contact-detail-text { display: flex; flex-direction: column; }
.contact-detail-text strong {
  display: block; font-size: 14px; font-weight: 700;
  color: #fff; margin-bottom: 2px;
}
.contact-detail-text {
  font-size: 13px; color: #888; line-height: 1.4;
}

/* Form controls */
#contact-form .form-control,
#contact-form .form-select {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
#contact-form .form-control:focus,
#contact-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(241,128,82,.12);
  outline: none;
}
#contact-form .form-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark) !important;
  margin-bottom: 6px;
}
#contact-form button[type="submit"],
#contact-form input[type="submit"] {
  background: var(--brand) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 13px 36px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #fff !important;
  cursor: pointer;
  transition: background .2s;
}
#contact-form button[type="submit"]:hover { background: var(--brand-dark) !important; }

/* ============================================================
   WARRANT CHECK — intro two-col layout tweak
   ============================================================ */
.content-wrap .jail-card {
  margin-top: 0;
}

/* ============================================================
   PAGE INTRO — refined spacing
   ============================================================ */
.page-intro {
  padding: 52px 0 44px;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 52px;
}
.page-intro .lead {
  font-size: 17px !important;
  line-height: 1.8 !important;
  color: #444 !important;
}

/* ============================================================
   ABOUT FACTS CARD — clean list with orange left-border style
   (replaces asc-icon / sib-item which rendered poorly)
   ============================================================ */
.about-facts-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.about-facts-card h3 {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted) !important;
  background: #f8f8f8;
  padding: 14px 20px;
  margin: 0 !important;
  border-bottom: 1px solid var(--border);
}
.about-facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-facts-list li {
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.about-facts-list li:last-child { border-bottom: none; }
.about-facts-list li::before { display: none; }
.about-facts-list strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.about-facts-list span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   FAQ CALL BUTTON
   ============================================================ */
.faq-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff !important;
  font-size: 18px;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background .2s;
  letter-spacing: -.3px;
}
.faq-call-btn:hover { background: var(--brand-dark); }
.faq-call-btn i { font-size: 16px; }

/* ============================================================
   CONTACT PAGE — map + CTA box
   ============================================================ */
.contact-map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
  height: 240px;
  position: relative;
}
.contact-map-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.contact-cta-box {
  border: 2px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 24px 22px;
  text-align: left;
  background: #fafafa;
}
.contact-cta-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.contact-cta-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 0;
}
/* Override the dark footer-cta-btn inside this lighter context */
.contact-cta-box .footer-cta-btn {
  width: 100%;
  justify-content: center;
  background: var(--brand) !important;
  font-size: 17px !important;
  padding: 13px 20px !important;
  border-radius: 6px !important;
}
.contact-cta-box .footer-cta-btn:hover {
  background: #a50000 !important;
  transform: none;
}
.contact-cta-box .fcta-icon {
  background: rgba(255,255,255,.2);
}

/* ============================================================
   Remove old component styles that caused the rendering issues
   ============================================================ */
.about-sidebar-card { display: none !important; }
.asc-item { display: none !important; }
.service-intro-badges { display: none !important; }
.sib-item { display: none !important; }
.contact-info-card { display: none !important; }
.contact-detail { display: none !important; }

/* ============================================================
   RESOURCE CARDS — homepage info links grid
   ============================================================ */
.resource-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px;
  padding: 22px 20px;
  text-decoration: none !important;
  transition: box-shadow .2s, border-top-color .2s, transform .15s;
  height: 100%;
}
.resource-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  border-top-color: var(--brand);
  transform: translateY(-2px);
}
.rc-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1;
}
.resource-card h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  margin-bottom: 6px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.resource-card p {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}
.resource-card:hover h3 { color: var(--brand) !important; }

/* ============================================================
   NAV DROPDOWNS — on dark header-wrap bar
   ============================================================ */

/* Dropdown arrow icon inside nav links */
.primary-menu > ul > li.sub-menu > a > div > i.icon-angle-down {
  display: inline-block !important;
  font-size: 10px;
  margin-left: 4px;
  opacity: .7;
  vertical-align: middle;
  transition: transform .2s;
}
.primary-menu > ul > li.sub-menu:hover > a > div > i.icon-angle-down {
  transform: rotate(180deg);
}

/* Sub-menu container on dark bg */
@media (min-width: 992px) {
  .primary-menu:not(.on-click) .menu-item:hover > .sub-menu-container,
  .primary-menu:not(.on-click) .menu-item.sub-menu:hover > .sub-menu-container {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .sub-menu-container {
    background: #1a1a1a !important;
    border-top: 2px solid var(--accent) !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.35) !important;
    min-width: 200px !important;
    padding: 4px 0 !important;
  }

  .sub-menu-container .menu-item {
    border-top: 1px solid #2a2a2a !important;
  }
  .sub-menu-container .menu-item:first-child {
    border-top: none !important;
  }

  .sub-menu-container .menu-item > .menu-link {
    color: rgba(255,255,255,.75) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: .3px !important;
    padding: 10px 16px !important;
  }
  .sub-menu-container .menu-item:hover > .menu-link {
    color: var(--accent) !important;
    background: rgba(255,255,255,.04) !important;
    font-weight: 600 !important;
  }
  .sub-menu-container .menu-link div {
    padding: 0 !important;
  }
}

/* Mobile: sub-menu hidden behind trigger */
/* removed — consolidated into mobile block below */

/* ============================================================
   HTML SITEMAP PAGE
   ============================================================ */
.sitemap-section { }
.sitemap-heading {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: var(--accent) !important;
  margin-bottom: 14px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--border) !important;
}
.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sitemap-list li {
  border-bottom: 1px solid #f2f2f2;
  padding: 0;
}
.sitemap-list li::before { display: none; }
.sitemap-list li a {
  display: block;
  padding: 9px 0 9px 14px;
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: border-color .15s, color .15s, padding-left .15s;
}
.sitemap-list li a:hover {
  color: var(--brand);
  border-left-color: var(--accent);
  padding-left: 18px;
}

/* ============================================================
   MOBILE — Consolidated responsive overrides (< 992px)
   ============================================================ */

@media (max-width: 991px) {

  /* ── TOP BAR ── hide on mobile ──────────────────────── */
  #top-bar { display: none !important; }

  /* ── HEADER MAIN ROW ── logo left, hamburger right ──── */
  #header > .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .header-main-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    padding: 12px 0 !important;
    min-height: 64px !important;
    background: #fff;
    gap: 0 !important;
  }
  #logo { flex-shrink: 0; margin: 0 !important; flex: 1; }
  #logo img {
    height: 40px !important;
    width: auto !important;
    max-width: 160px !important;
  }
  /* Hide desktop contact block */
  .header-cta-block { display: none !important; }

  /* ── HAMBURGER ── always visible, prominent ─────────── */
  #primary-menu-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    background: var(--brand) !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    margin-left: 0 !important;
    color: #fff !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 200 !important;
  }
  /* Override ANY Bootstrap d- hiding class */
  div#primary-menu-trigger { display: flex !important; }
  #primary-menu-trigger.d-none { display: flex !important; }
  #primary-menu-trigger.d-lg-none { display: flex !important; }
  #primary-menu-trigger svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
  }
  #primary-menu-trigger path,
  #primary-menu-trigger svg path {
    stroke: #fff !important;
    stroke-width: 6 !important;
    fill: none !important;
  }

  /* ── STICKY NAV BAR ── collapse on mobile ───────────── */
  #header-wrap {
    position: static !important;
    background: #1a1a1a !important;
    border: none !important;
  }
  .header-size-sm .header-wrap-clone {
    height: 0 !important;
    display: none !important;
  }

  /* ── MOBILE NAV MENU ── full dark dropdown ───────────── */
  .primary-menu {
    background: #1a1a1a !important;
    width: 100% !important;
  }
  .primary-menu > ul {
    background: #1a1a1a !important;
    padding: 0 !important;
  }
  .primary-menu > ul > li {
    border-bottom: 1px solid #2a2a2a !important;
  }
  .primary-menu > ul > li > a,
  .primary-menu > ul > li > a > div {
    color: rgba(255,255,255,.88) !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }
  .primary-menu > ul > li > a:hover > div {
    color: var(--accent) !important;
  }
  .hdr-nav-cta { display: none !important; }

  /* Sub-menu on mobile */
  .sub-menu-container {
    background: #242424 !important;
    border-left: 3px solid var(--accent) !important;
    margin-left: 16px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border-top: none !important;
  }
  .sub-menu-container .menu-item {
    border-top: 1px solid #2e2e2e !important;
  }
  .sub-menu-container .menu-item > .menu-link {
    color: rgba(255,255,255,.7) !important;
    font-size: 13px !important;
    padding: 11px 18px !important;
  }

  /* ── MOBILE CALL STRIP ── full width, bright red ─────── */
  .mobile-phone-strip {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
  }
  .mobile-phone-link {
    padding: 13px 20px !important;
    font-size: 16px !important;
  }

  /* ── FOOTER BODY ─────────────────────────────────────── */
  /* Brand col: full width */
  .footer-body .col-lg-3:first-child {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid #2a2a2a !important;
    margin-bottom: 8px !important;
  }
  /* Site Pages + Cities: keep natural 50/50 side by side */
  .footer-body .col-6 {
    padding-bottom: 24px !important;
  }
  /* Resources: 50% width — sits beside Contact */
  .footer-body .col-6.col-lg-2:nth-of-type(4) {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    border-top: 1px solid #2a2a2a !important;
    padding-top: 20px !important;
    padding-bottom: 0 !important;
  }
  /* Contact: 50% width — sits beside Resources */
  .footer-body .col-lg-3:last-child {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    border-top: 1px solid #2a2a2a !important;
    padding-top: 20px !important;
    padding-bottom: 0 !important;
  }
  .footer-desc { max-width: 100% !important; }
  .footer-social { justify-content: flex-start !important; }
  .footer-contact-items { gap: 14px !important; }
  .fci-main { font-size: 14px !important; }
  .footer-body { padding: 36px 0 32px !important; }
  .footer-body .row { gap: 0 !important; }

  /* ── FOOTER CTA STRIP ── stack, centered ────────────── */
  .footer-cta-strip { padding: 24px 0 !important; }
  .footer-cta-strip .row {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }
  .footer-cta-strip [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
  }
  .footer-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 18px !important;
    padding: 15px 20px !important;
    background: var(--brand) !important;
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(204,0,0,.35) !important;
  }
  .footer-cta-heading { font-size: 16px !important; }

  /* ── FOOTER BOTTOM ── centered ───────────────────────── */
  .footer-bottom { padding: 14px 0 !important; }
  .footer-bottom .row {
    flex-direction: column !important;
    text-align: center !important;
    gap: 6px !important;
  }
  .footer-bottom [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .footer-bottom span { font-size: 11px !important; }
  .footer-sep { margin: 0 4px !important; }

  /* ── PAGE HERO ── adjust for mobile ─────────────────── */
  .page-hero { padding: 36px 0 32px !important; }
  .page-hero h1 { font-size: clamp(24px, 6vw, 36px) !important; }
  .page-hero-sub { font-size: 14px !important; }
  .page-hero-cta { font-size: 15px !important; padding: 12px 22px !important; }
  .page-hero-stat-box { display: none !important; }

  /* ── MISC ─────────────────────────────────────────────── */
  .promo.promo-light.promo-full { padding: 24px 20px !important; }
  #logo { margin-right: 0 !important; }
}

/* tablet footer — handled by natural Bootstrap col-6 classes */



/* ============================================================
   MOBILE LANGUAGE TOGGLE — in header row, left of hamburger
   ============================================================ */

/* Hidden on desktop — top-bar handles it */
.mobile-lang-toggle { display: none; }
@media (min-width: 992px) {
  .mobile-lang-toggle,
  a.mobile-lang-toggle { display: none !important; }
}

@media (max-width: 991px) {
  .mobile-lang-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    margin-right: 10px;
    background: var(--brand);
    border: none;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background .2s;
    flex-shrink: 0;
  }
  .mobile-lang-toggle span {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff !important;
    line-height: 1;
  }
  .mobile-lang-toggle:hover {
    background: #a50000;
  }
}
