/*
Theme Name: Ace Deuce Bail Bonds
Theme URI: https://acedeucebailbonds.com/
Author: Square Media Technology
Author URI: https://squaremediatechnology.com/
Description: Custom WordPress theme for Ace Deuce Bail Bonds — Bay Area bail bond agency.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aceduce
Tags: custom-menu, post-thumbnails, full-site-editing
*/

/* ==========================================================================
   Ace Deuce Bail Bonds — Global Stylesheet
   Fonts: Poppins (display) + Roboto (body) · Brand: #882122
   ========================================================================== */

:root {
  --brand: #882122;
  --brand-dark: #5e1516;
  --brand-light: #b23a3b;
  --gold: #c9a227;
  --gold-soft: #e8d9a5;
  --ink: #171216;
  --body: #4a4247;
  --cream: #fbf8f4;
  --cream-2: #f4eee7;
  --line: rgba(136, 33, 34, .14);
  --white: #ffffff;
  --shadow-sm: 0 4px 16px rgba(23, 18, 22, .06);
  --shadow-md: 0 18px 44px rgba(23, 18, 22, .10);
  --shadow-lg: 0 34px 80px rgba(94, 21, 22, .18);
  --radius: 18px;
  --radius-lg: 28px;
  --ff-display: "Poppins", system-ui, sans-serif;
  --ff-body: "Roboto", system-ui, sans-serif;
  --header-h: 92px;
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--cream);
  font-size: 1.0125rem;
  line-height: 1.78;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--ff-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.14;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.7rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.5rem); }
p  { margin-bottom: 1.05rem; text-align:justify; }
a  { color: var(--brand); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--brand-light); }
img { max-width: 100%; height: auto; }

::selection { background: var(--brand); color: #fff; }

.section { padding: clamp(64px, 8vw, 122px) 0; position: relative; }
.section--cream { background: var(--cream-2); }
.section--white { background: var(--white); }

/* ---------- decorative helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-display); font-weight: 600; font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--gold));
}
.lead-xl { font-size: clamp(1.03rem, 1.5vw, 1.17rem); color: #fff; }
.text-brand { color: var(--brand) !important; }
.text-gold { color: var(--gold) !important; }
.title-underline { position: relative; display: inline-block; }
.title-underline::after {
  content: ""; position: absolute; left: 0; bottom: -14px; width: 78px; height: 4px;
  border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--gold));
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 30% 30%, rgba(136,33,34,.45), transparent 70%);
  animation: floaty 14s ease-in-out infinite;
}
.blob--gold { background: radial-gradient(circle at 30% 30%, rgba(201,162,39,.45), transparent 70%); }
.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(136, 33, 34, .09) 1px, transparent 1px);
  background-size: 22px 22px; z-index: 0;
}
.container-x { position: relative; z-index: 2; }

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -34px, 0) scale(1.08); }
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--ff-display); font-weight: 600; border-radius: 999px;
  padding: .86rem 1.7rem; border: 0; letter-spacing: .01em;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, background .3s ease, color .3s ease;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-brand {
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 14px 30px rgba(136, 33, 34, .32);
}
.btn-brand:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 44px rgba(136, 33, 34, .42); }
.btn-gold {
  color: var(--ink); background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 30px rgba(201, 162, 39, .3);
}
.btn-gold:hover { color: var(--ink); transform: translateY(-3px); }
.btn-outline-brand {
  color: var(--brand); background: transparent; box-shadow: inset 0 0 0 2px var(--brand);
}
.btn-outline-brand:hover { color: #fff; background: var(--brand); transform: translateY(-3px); }
.btn-ghost-light { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { color: var(--brand); background: #fff; transform: translateY(-3px); }
.btn-lg-x { padding: 1.02rem 2.1rem; font-size: 1.02rem; }

/* ---------- header ---------- */
.topbar {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand) 55%, var(--brand-light));
  color: rgba(255,255,255,.92); font-size: .82rem; letter-spacing: .04em;
}
.topbar a { color: #fff; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030; background: rgba(251, 248, 244, .88);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
}

body { padding-top: var(--header-h); }
.site-header.is-stuck { box-shadow: var(--shadow-sm); background: rgba(251, 248, 244, .97); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand-logo img { height: 80px; width: auto; }
@media (max-width: 991px) { .brand-logo img { height: 46px; } }

.main-nav { display: flex; align-items: center; gap: .15rem; margin: 0 auto; }
.main-nav > li { list-style: none; position: relative; }
.main-nav > li > a {
  display: inline-flex; align-items: center; gap: .38rem; padding: .62rem .78rem;
  font-family: var(--ff-display); font-weight: 500; font-size: .935rem; color: var(--ink);
  border-radius: 999px; position: relative;
}
.main-nav > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: translateX(-50%); transition: width .32s cubic-bezier(.2,.7,.3,1);
}
.main-nav > li > a:hover, .main-nav > li.is-active > a { color: var(--brand); }
.main-nav > li > a:hover::after, .main-nav > li.is-active > a::after { width: 58%; }
.main-nav .caret { font-size: .62rem; transition: transform .3s ease; }
.main-nav .has-drop:hover .caret { transform: rotate(180deg); }

.drop {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 0px);
  min-width: 330px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: .85rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .38s cubic-bezier(.2,.7,.3,1), visibility .3s;
  z-index: 20;
}
.drop--wide { min-width: 640px; }
.drop::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px;
  background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg); border-radius: 4px;
}
.has-drop:hover .drop, .has-drop:focus-within .drop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, -5%);
}
.drop-grid { display: grid; grid-template-columns: 1fr; gap: .18rem; }
.drop--wide .drop-grid { grid-template-columns: 1fr 1fr; gap: .18rem .5rem; }
.drop-link {
  display: flex; align-items: center; gap: .78rem; padding: .62rem .7rem; border-radius: 14px;
  color: var(--ink); font-size: .9rem; font-family: var(--ff-display); font-weight: 500;
  transition: background .25s ease, transform .25s ease, color .25s ease;
  opacity: 0; transform: translateY(8px);
}
.has-drop:hover .drop-link, .has-drop:focus-within .drop-link {
  animation: dropIn .42s cubic-bezier(.2,.7,.3,1) forwards;
}
.drop-link:nth-child(1) { animation-delay: .02s; }
.drop-link:nth-child(2) { animation-delay: .05s; }
.drop-link:nth-child(3) { animation-delay: .08s; }
.drop-link:nth-child(4) { animation-delay: .11s; }
.drop-link:nth-child(5) { animation-delay: .14s; }
.drop-link:nth-child(6) { animation-delay: .17s; }
.drop-link:nth-child(7) { animation-delay: .2s; }
.drop-link:nth-child(8) { animation-delay: .23s; }
.drop-link:nth-child(9) { animation-delay: .26s; }
.drop-link:nth-child(10) { animation-delay: .29s; }
@keyframes dropIn { to { opacity: 1; transform: translateY(0); } }
.drop-link:hover { background: var(--cream-2); color: var(--brand); transform: translateX(5px); }
.drop-ico {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(136,33,34,.12), rgba(201,162,39,.18));
  color: var(--brand); font-size: .95rem; transition: transform .3s ease, background .3s ease, color .3s ease;
}
.drop-link:hover .drop-ico {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; transform: rotate(-8deg) scale(1.08);
}
.drop-link small { display: block; font-family: var(--ff-body); font-weight: 400; font-size: .74rem; color: #8b8085; }

.call-cta { display: flex; align-items: center; gap: .8rem; }
.call-cta .ring {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); position: relative; flex: 0 0 46px;
}
.call-cta .ring::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(136,33,34,.4); animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(.85); opacity: .9; }
  100% { transform: scale(1.35); opacity: 0; }
}
.call-cta .num { font-family: var(--ff-display); font-weight: 700; font-size: 1.06rem; color: var(--ink); line-height: 1.1; }
.call-cta .lbl { font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; color: var(--brand); }

.nav-toggle {
  width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--brand); display: grid; place-items: center; font-size: 1.15rem;
}
.offcanvas { background: var(--cream); }
.offcanvas .mobile-link {
  display: flex; justify-content: space-between; align-items: center; padding: .85rem .2rem;
  font-family: var(--ff-display); font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line);
}
.offcanvas .mobile-sub a {
  display: flex; gap: .6rem; align-items: center; padding: .5rem .2rem .5rem 1rem;
  font-size: .9rem; color: var(--body);
}
.offcanvas .accordion-button { box-shadow: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1000px 600px at 12% 20%, rgba(136,33,34,.86), transparent 70%),
    linear-gradient(105deg, rgba(38,10,11,.93) 0%, rgba(94,21,22,.78) 45%, rgba(38,10,11,.42) 100%);
}
.hero__inner { padding: clamp(72px, 11vw, 88px) 0 clamp(78px, 9vw, 120px); }
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: rgba(255,255,255,.9); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .55rem; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: .45rem; padding: .48rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  font-size: .8rem; font-family: var(--ff-display); backdrop-filter: blur(6px);
}
.hero-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-lg);
  padding: 1.6rem; backdrop-filter: blur(16px); box-shadow: var(--shadow-lg);
}
.hero-card .row > div { padding-block: .55rem; }
.hero-stat { font-family: var(--ff-display); font-weight: 700; font-size: 1.6rem; color: #fff; line-height: 1; }
.hero-stat + small { color: rgba(255,255,255,.72); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.scroll-hint { display: inline-flex; flex-direction: column; align-items: center; gap: .4rem; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; }
.scroll-hint i { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(7px);} }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--ink); color: rgba(255,255,255,.82); padding: 1.1rem 0; }
.trust-strip .item { display: flex; align-items: center; gap: .6rem; font-family: var(--ff-display); font-size: .88rem; }
.trust-strip i { color: var(--gold); }

/* ---------- cards ---------- */
.card-x {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.7rem;
  height: 100%; position: relative; overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease, border-color .45s ease;
}
.card-x::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold)); transform: scaleX(0);
  transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.card-x:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-x:hover::after { transform: scaleX(1); }
.card-ico {
  width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-size: 1.4rem;
  color: var(--brand); background: linear-gradient(135deg, rgba(136,33,34,.1), rgba(201,162,39,.2));
  margin-bottom: 1.15rem; transition: transform .45s cubic-bezier(.2,.7,.3,1), background .45s ease, color .45s ease;
}
.card-x:hover .card-ico { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; transform: rotate(-7deg) translateY(-4px); }
.card-x h3 { font-size: 1.16rem; margin-bottom: .6rem; }
.card-x p { font-size: .93rem; margin-bottom: .8rem; }
.card-link { font-family: var(--ff-display); font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; gap: .4rem; }
.card-link i { transition: transform .3s ease; }
.card-link:hover i { transform: translateX(5px); }

.zig { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 74px); align-items: center; }
.zig + .zig { margin-top: clamp(48px, 7vw, 104px); }
.zig:nth-child(even) .zig__media { order: 2; }
@media (max-width: 991px) { .zig { grid-template-columns: 1fr; } .zig:nth-child(even) .zig__media { order: 0; } }
.zig__media { position: relative; }
.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.frame img { width: 100%; display: block; transition: transform 2.5s cubic-bezier(.2,.7,.3,1); }
.frame:hover img { transform: scale(1.07); }
.frame--offset::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
  border-radius: var(--radius-lg);
}
.frame-tag {
  position: absolute; bottom: 18px; left: 18px; z-index: 3; background: rgba(255,255,255,.94);
  border-radius: 999px; padding: .45rem 1rem; font-family: var(--ff-display); font-weight: 600;
  font-size: .8rem; color: var(--brand); box-shadow: var(--shadow-sm);
}
.deco-outline {
  position: absolute; inset: auto -18px -18px auto; width: 70%; height: 70%;
  border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}
.num-badge {
  font-family: var(--ff-display); font-weight: 700; font-size: .82rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-radius: 999px;
  padding: .3rem .95rem; display: inline-block; margin-bottom: 1rem; letter-spacing: .1em;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .6rem; font-size: .95rem; }
.check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px;
  color: var(--brand); font-size: .8rem; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(136,33,34,.1); display: grid; place-items: center;
}

/* ---------- steps ---------- */
.steps { position: relative; }
.step {
  background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.6rem; height: 100%;
  border: 1px solid var(--line); position: relative; transition: transform .4s ease, box-shadow .4s ease;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step__n {
  font-family: var(--ff-display); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.6px var(--brand); opacity: .65; margin-bottom: .8rem;
}
.step:hover .step__n { color: var(--brand); -webkit-text-stroke: 0; opacity: 1; }

/* ---------- areas ---------- */
.area-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; display: block; height: 100%;
  min-height: 290px; box-shadow: var(--shadow-sm); background: #fff;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease;
}
.area-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-md); }
.area-card__img { position: absolute; inset: 0; }
.area-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.3,1); }
.area-card:hover .area-card__img img { transform: scale(1.1); }
.area-card__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,18,22,.05) 0%, rgba(58,12,13,.62) 55%, rgba(38,10,11,.92) 100%);
  transition: opacity .4s ease;
}
.area-card__body { position: relative; z-index: 2; padding: 1.5rem; color: #fff; display: flex; flex-direction: column; height: 100%; justify-content: flex-end; min-height: 290px; }
.area-card__body h3 { color: #fff; font-size: 1.1rem; margin-bottom: .35rem; }
.area-card__body p { font-size: .84rem; color: rgba(255,255,255,.84); margin-bottom: .5rem; }
.area-card__more { font-size: .78rem; font-family: var(--ff-display); font-weight: 600; color: var(--gold-soft); display: inline-flex; gap: .35rem; align-items: center; }
.area-card__county { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: .35rem; }

/* ---------- stats band ---------- */
.band {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand) 60%, #7a1b1c);
}
.band::before {
  content: ""; position: absolute; inset: 0; opacity: .18; z-index: -1;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 2px, transparent 2px 16px);
}
.band h2, .band h3 { color: #fff; }
.stat-num { font-family: var(--ff-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.stat-lbl { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.76); }

/* ---------- accordion / faq ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; margin-bottom: .85rem; overflow: hidden; background: #fff; }
.faq .accordion-button {
  font-family: var(--ff-display); font-weight: 600; color: var(--ink); background: #fff;
  font-size: 1rem; padding: 1.15rem 1.35rem; box-shadow: none !important;
}
.faq .accordion-button:not(.collapsed) { color: var(--brand); background: var(--cream-2); }
.faq .accordion-button::after {
  background-image: none; content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--brand); font-size: .82rem; width: auto; height: auto; transition: transform .3s ease;
}
.faq .accordion-button:not(.collapsed)::after { content: "\f068"; transform: none; }
.faq .accordion-body { font-size: .95rem; padding: 0 1.35rem 1.3rem; }

/* ---------- contact ---------- */
.contact-wrap { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.contact-aside { background: linear-gradient(160deg, var(--brand-dark), var(--brand)); color: #fff; padding: clamp(28px, 4vw, 48px); height: 100%; }
.contact-aside h3, .contact-aside h2 { color: #fff; }
.contact-aside a { color: #fff; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.35rem; }
.contact-item i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.14); color: var(--gold-soft); flex: 0 0 40px; }
.contact-item span { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.66); }
.form-floating > .form-control, .form-select {
  border-radius: 14px; border: 1px solid var(--line); padding: 1rem .95rem; background: var(--cream);
  font-size: .95rem;
}
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(136,33,34,.1); background: #fff; }
.form-floating > label { color: #8b8085; font-size: .92rem; }
.form-note { font-size: .78rem; color: #8b8085; }
.alert-sent { display: none; border-radius: 14px; background: rgba(136,33,34,.08); color: var(--brand-dark); padding: .9rem 1.1rem; font-size: .9rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: clamp(56px, 7vw, 92px); }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; margin-bottom: 1.25rem; }
.site-footer a { color: rgba(255,255,255,.7); font-size: .92rem; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-logo { height: 68px; width: auto; background: #fff; padding: .5rem .8rem; border-radius: 14px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.qr-box { background: #fff; border-radius: 18px; padding: .6rem; width: 168px; box-shadow: var(--shadow-sm); }
.qr-box img { display: block; border-radius: 12px; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.08); transition: transform .3s ease, background .3s ease;
}
.socials a:hover { transform: translateY(-4px); background: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.6rem; padding: 1.3rem 0; font-size: .82rem; }

.float-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: none;
  width: 58px; height: 58px; border-radius: 50%; place-items: center; color: #fff; font-size: 1.25rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); box-shadow: 0 16px 34px rgba(136,33,34,.42);
}
@media (max-width: 991px) { .float-call { display: grid; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(30,8,9,.94), rgba(94,21,22,.78) 55%, rgba(30,8,9,.5));
}
.page-hero__inner { padding: clamp(64px, 9vw, 122px) 0; }
.page-hero h1 { color: #fff; }
.breadcrumb-x { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; font-size: .82rem; color: rgba(255,255,255,.7); }
.breadcrumb-x a { color: var(--gold-soft); }
.breadcrumb-x li + li::before { content: "/"; margin-right: .5rem; color: rgba(255,255,255,.4); }

.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.pill-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.05rem;
  font-size: .85rem; font-family: var(--ff-display); font-weight: 500; color: var(--ink);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.pill-list li:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }

.quote-block {
  border-left: 4px solid var(--brand); padding: .6rem 0 .6rem 1.4rem; font-size: 1.08rem;
  font-family: var(--ff-display); font-weight: 500; color: var(--ink); font-style: italic;
}
.info-table { width: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-table th, .info-table td { padding: .95rem 1.1rem; font-size: .92rem; border-bottom: 1px solid var(--line); }
.info-table th { font-family: var(--ff-display); color: var(--ink); background: var(--cream-2); width: 42%; font-weight: 600; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }
.reveal[data-d="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.zig--rev .zig__media { order: 2; }
@media (max-width: 991px) { .zig--rev .zig__media { order: 0; } }

.svc-row { align-items: center; }
.svc-row .frame img { aspect-ratio: 4 / 3; object-fit: cover; }
.svc-tag {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-display);
  font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: rgba(136,33,34,.08); border-radius: 999px; padding: .4rem 1rem;
  margin-bottom: 1rem;
}
.svc-row h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.svc-link {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-display);
  font-weight: 600; font-size: .9rem; color: var(--brand); margin-top: 1.1rem;
}
.svc-link i { transition: transform .3s ease; }
.svc-link:hover i { transform: translateX(5px); }

.cta-fixed {
  position: relative; isolation: isolate; color: #fff; text-align: center;
  padding: clamp(72px, 10vw, 130px) 0;
  background-image: url("images/cta-night-court.jpg");
  background-size: cover; background-position: center; background-attachment: fixed;
}
.cta-fixed::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(30,8,9,.92), rgba(94,21,22,.82) 55%, rgba(30,8,9,.9));
}
.cta-fixed h2 { color: #fff; }
.cta-fixed p { color: rgba(255,255,255,.86); }
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--light::before { background: var(--gold-soft); }
@media (max-width: 991px) { .cta-fixed { background-attachment: scroll; } }

.trust-panel { background: var(--cream-2); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.trust-stat { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.trust-stat i {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font-size: 1rem;
}
.trust-stat h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.trust-stat p { font-size: .92rem; margin-bottom: 0; }

.jail-list { list-style: none; padding: 0; margin: 0; }
.jail-list li {
  display: flex; gap: .8rem; align-items: flex-start; padding: .8rem 0;
  border-bottom: 1px solid var(--line); font-size: .93rem;
}
.jail-list li:last-child { border-bottom: 0; }
.jail-list i { color: var(--brand); margin-top: .2rem; }

@media (max-width: 768px) { #areas .blob { display: none; } }

/* Mobile responsive */
body { overflow-x: hidden; }
@media (max-width: 767px) {
  p { text-align: left; }
  h1 { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.45rem, 6vw, 2rem); }
  h3 { font-size: clamp(1.1rem, 4.5vw, 1.3rem); }
  .section { padding: clamp(42px, 8vw, 72px) 0; }
  .container, .container-x { padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 1199px) {
  .header-inner { min-height: 70px; gap: .5rem; }
  .offcanvas { max-width: 320px; }
  .offcanvas .mobile-link { font-size: .97rem; }
  .offcanvas .mobile-sub a { font-size: .88rem; }
  body { padding-top: 70px; }
}
@media (max-width: 767px) {
  .header-inner { min-height: 62px; }
  .brand-logo img { height: 40px; }
  body { padding-top: 62px; }
}
@media (max-width: 991px) {
  .hero__inner { padding: clamp(52px, 8vw, 90px) 0 clamp(42px, 6vw, 72px); }
  .hero-card { margin-top: 1.5rem; }
}
@media (max-width: 767px) {
  .hero__inner { padding: 56px 15px 48px; }
  .hero__inner .d-flex.flex-wrap.gap-3 { flex-direction: column; }
  .hero__inner .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-card { padding: 1.1rem; }
  .hero-stat { font-size: 1.4rem; }
  .hero-card .row > div { padding-block: .35rem; }
  .hero-badges { gap: .35rem; }
  .hero-badges span { font-size: .73rem; padding: .38rem .75rem; }
}
@media (max-width: 575px) {
  .trust-strip .item { font-size: .8rem; justify-content: center; }
  .trust-strip .col-6 { text-align: center; }
}
@media (max-width: 480px) {
  .btn-lg-x { padding: .92rem 1.4rem; font-size: .95rem; }
  .cta-fixed .d-flex.flex-wrap { flex-direction: column; align-items: center; }
  .cta-fixed .btn { width: 100%; max-width: 340px; justify-content: center; }
}
@media (max-width: 767px) {
  .page-hero__inner { padding: 52px 0 44px; }
  .page-hero h1 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .lead-xl { font-size: 1rem; }
  .page-hero .d-flex.flex-wrap.gap-3 { flex-direction: column; }
  .page-hero .btn { width: 100%; justify-content: center; }
}
@media (max-width: 767px) {
  .info-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; min-width: 320px; }
  .info-table th, .info-table td { padding: .65rem .75rem; font-size: .84rem; white-space: normal; }
}
@media (max-width: 767px) {
  .zig { gap: 1.5rem; }
  .zig + .zig { margin-top: 2.8rem; }
  .svc-row h2 { font-size: clamp(1.3rem, 5vw, 1.75rem); }
}
@media (max-width: 575px) {
  .card-x { padding: 1.5rem 1.2rem; }
  .step { padding: 1.5rem 1.2rem; }
  .area-card { min-height: 230px; }
  .area-card__body { min-height: 230px; padding: 1.1rem; }
}
@media (max-width: 767px) {
  .contact-aside { padding: 1.5rem; }
  .contact-wrap { border-radius: var(--radius); }
}
@media (max-width: 767px) {
  .site-footer { padding-top: clamp(40px, 7vw, 64px); }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
  .qr-box { width: 130px; }
  .footer-logo { height: 54px; }
}
@media (max-width: 575px) { .testimonial-card { padding: 1.3rem !important; } }
@media (max-width: 575px) {
  .faq .accordion-button { font-size: .92rem; padding: 1rem 1.1rem; }
  .faq .accordion-body { font-size: .88rem; }
}
@media (max-width: 575px) {
  #map .rounded-4 { height: 280px !important; }
  #map iframe { height: 280px !important; }
}
@media (max-width: 767px) { .pill-list li { font-size: .8rem; padding: .38rem .75rem; } }
@media (max-width: 575px) {
  .stat-num { font-size: 1.8rem; }
  .stat-lbl { font-size: .72rem; }
}
@media (max-width: 575px) { .breadcrumb-x { font-size: .76rem; } }
@media (max-width: 480px) { .float-call { width: 54px; height: 54px; font-size: 1.15rem; right: 14px; bottom: 14px; } }
@media (max-width: 1024px) { .cta-fixed { background-attachment: scroll; } }

/* 404 page */
.error-404-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; }
.error-404-wrap .err-num { font-size: clamp(6rem, 18vw, 12rem); font-family: var(--ff-display); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 3px var(--brand); opacity: .18; display: block; }
.error-404-wrap h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); }

/* search results */
.search-result-item { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.5rem; margin-bottom:1rem; }
.search-result-item h3 { font-size:1.1rem; margin-bottom:.4rem; }
.search-result-item p { font-size:.93rem; margin-bottom:.5rem; }

/* single post */
.post-content { max-width:780px; margin:0 auto; }
.post-content h2,.post-content h3 { margin-top:2rem; }
.post-meta { font-size:.85rem; color:#8b8085; margin-bottom:1.5rem; }

/* ── Mobile horizontal-scroll fix ─────────────────────────────────────── */
/* Hide desktop dropdowns on mobile so their fixed min-width doesn't push layout */
@media (max-width: 991px) {
  .drop, .drop--wide { display: none !important; }
  /* Ensure nothing bleeds past the viewport edge */
  html, body { max-width: 100%; overflow-x: hidden; }
  /* Containers must never exceed viewport width */
  .container, .container-fluid, .container-x,
  .hero__inner, .page-hero__inner, section, .section { max-width: 100%; }
  /* Inline images/media never overflow */
  img, video, iframe, embed, object, svg { max-width: 100%; }
}
