/* ============================================================
   Minneapolis Bail Bonds - Main Stylesheet
   Palette: Navy #1a3a5c | Gold #c8a44a | Dark #111827 | Gray #f4f6f9
   ============================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Georgia', serif;
  font-size: 17px;
  line-height: 1.75;
  color: #1a1a2e;
  background: #fff;
  padding-bottom: 60px; /* room for mobile sticky bar */
}
img { max-width: 100%; display: block; }
a { color: #1a3a5c; text-decoration: underline; }
a:hover { color: #c8a44a; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }

/* --- CONTAINER --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: .7em 1.6em;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-gold { background: #c8a44a; color: #fff; border: 2px solid #c8a44a; }
.btn-gold:hover { background: #b08d39; color: #fff; border-color: #b08d39; }
.btn-navy { background: #1a3a5c; color: #fff; border: 2px solid #1a3a5c; }
.btn-navy:hover { background: #0f2640; }
.btn-lg { font-size: 1.15rem; padding: .85em 2em; }
.btn-outline { background: transparent; color: #1a3a5c; border: 2px solid #1a3a5c; }
.btn-outline:hover { background: #1a3a5c; color: #fff; }

/* --- MOBILE STICKY CTA --- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: #c8a44a;
  text-align: center;
}
.sticky-call-btn {
  display: block;
  padding: 14px 20px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
}
.phone-icon { margin-right: 6px; }
@media (max-width: 768px) { .mobile-sticky-cta { display: block; } }

/* --- HEADER --- */
.site-header {
  background: #1a3a5c;
  color: #fff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-link { text-decoration: none; color: #fff; }
.brand-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: Georgia, serif;
  color: #fff;
  line-height: 1.2;
}
.brand-tag {
  display: block;
  font-size: .8rem;
  color: #c8a44a;
  font-family: Arial, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.header-cta { text-align: right; }
.header-availability {
  font-family: Arial, sans-serif;
  font-size: .85rem;
  color: #b0c4d8;
  margin-bottom: 4px;
}
.header-phone {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #c8a44a;
  text-decoration: none;
  font-family: Arial, sans-serif;
  letter-spacing: .03em;
}
.header-phone:hover { color: #fff; }

/* --- NAV --- */
.site-nav {
  background: #0f2640;
  border-bottom: 3px solid #c8a44a;
  position: sticky;
  top: 73px; /* height of .site-header */
  z-index: 199;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  position: relative;
}
.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 14px 16px;
  color: #e8edf2;
  font-family: Arial, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-links > li > a:hover,
.nav-links > li.active > a {
  background: #1a3a5c;
  color: #c8a44a;
}
/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #1a3a5c;
  border: 1px solid #c8a44a;
  min-width: 220px;
  list-style: none;
  padding: 6px 0;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 9px 18px;
  color: #e8edf2;
  font-family: Arial, sans-serif;
  font-size: .875rem;
  text-decoration: none;
  transition: background .12s;
}
.dropdown li a:hover { background: #0f2640; color: #c8a44a; }
/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #e8edf2;
  font-size: 1.1rem;
  font-family: Arial, sans-serif;
  padding: 14px 0;
  cursor: pointer;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #0f2640;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 12px 20px; border-top: 1px solid #1a3a5c; }
  .dropdown { position: static; display: none; border: none; box-shadow: none; background: #0a1e30; min-width: 0; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { padding-left: 36px; }
}

/* --- BREADCRUMB --- */
.breadcrumb-bar {
  background: #f4f6f9;
  border-bottom: 1px solid #dde3ea;
  padding: 8px 0;
  font-size: .85rem;
  font-family: Arial, sans-serif;
}
.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #666;
}
.breadcrumb li::before { content: '\203A'; margin-right: 4px; color: #999; }
.breadcrumb li:first-child::before { content: ''; }
.breadcrumb a { color: #1a3a5c; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --- HERO --- */
.hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #0f2640 100%);
  color: #fff;
  padding: 70px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: .5em;
  line-height: 1.2;
  color: #fff;
}
.hero-sub {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto .9em;
  color: #c5d5e8;
  font-family: Arial, sans-serif;
}
.hero-phone { margin-bottom: .6em; font-size: 1.25rem; }
.hero-avail {
  font-size: .875rem;
  color: #c8a44a;
  font-family: Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .hero { padding: 50px 16px; }
  .hero h1 { font-size: 1.75rem; }
}

/* --- TRUST BAR --- */
.trust-bar {
  background: #f4f6f9;
  border-top: 3px solid #c8a44a;
  border-bottom: 1px solid #dde3ea;
  padding: 18px 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
}
.trust-item {
  font-family: Arial, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: #1a3a5c;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-icon { font-size: 1.3rem; }

/* --- MAIN CONTENT AREA --- */
.page-content { padding: 60px 0; }
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  align-items: start;
}
.main-content { min-width: 0; }
.sidebar { position: sticky; top: 20px; }
@media (max-width: 900px) {
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* --- TYPOGRAPHY --- */
.main-content h1 { font-size: 2.1rem; margin-bottom: .6em; color: #1a3a5c; line-height: 1.25; }
.main-content h2 { font-size: 1.55rem; margin: 1.8em 0 .6em; color: #1a3a5c; border-bottom: 2px solid #e8ecf0; padding-bottom: .3em; }
.main-content h3 { font-size: 1.2rem; margin: 1.4em 0 .5em; color: #0f2640; font-family: Arial, sans-serif; }
.main-content h4 { font-size: 1rem; margin: 1.2em 0 .4em; color: #1a3a5c; font-family: Arial, sans-serif; font-weight: 700; }
.main-content p { margin-bottom: 1em; }
.main-content ul, .main-content ol { margin-bottom: 1em; }
.main-content li { margin-bottom: .4em; }
.main-content strong { color: #1a3a5c; }

/* --- CTA BOX --- */
.cta-box {
  background: #f0f5fa;
  border: 2px solid #c8a44a;
  border-radius: 6px;
  padding: 24px 28px;
  margin: 2em 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-box-text strong { display: block; font-size: 1.1rem; margin-bottom: .3em; color: #1a3a5c; }
.cta-box-text p { margin: 0; font-size: .95rem; color: #444; }

/* --- SIDEBAR CARD --- */
.sidebar-card {
  background: #1a3a5c;
  color: #fff;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
}
.sidebar-card h3 { color: #c8a44a; font-size: 1.1rem; margin-bottom: .5em; }
.sidebar-card p { font-size: .9rem; color: #b0c4d8; margin-bottom: 1em; }
.sidebar-card .btn { width: 100%; }
.sidebar-card .sidebar-phone {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #c8a44a;
  text-decoration: none;
  margin-bottom: 8px;
}
.sidebar-links { list-style: none; padding: 0; text-align: left; }
.sidebar-links li { border-bottom: 1px solid #243d56; }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: block;
  padding: 9px 0;
  color: #c5d5e8;
  font-family: Arial, sans-serif;
  font-size: .88rem;
  text-decoration: none;
}
.sidebar-links a:hover { color: #c8a44a; }

/* --- STEP LIST --- */
.step-list {
  list-style: none;
  padding: 0;
  counter-reset: steps;
  margin-bottom: 1.5em;
}
.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  content: counter(steps);
  min-width: 36px;
  height: 36px;
  background: #1a3a5c;
  color: #c8a44a;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- COST TABLE --- */
.table-wrap { overflow-x: auto; margin-bottom: 1.5em; }
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: .95rem;
}
.cost-table th {
  background: #1a3a5c;
  color: #fff;
  padding: 12px 18px;
  text-align: left;
}
.cost-table td {
  padding: 11px 18px;
  border-bottom: 1px solid #dde3ea;
}
.cost-table tr:nth-child(even) td { background: #f4f6f9; }
.cost-table .fee-col { font-weight: 700; color: #1a3a5c; }

/* --- INFO GRID --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 1.5em 0;
}
.info-card {
  background: #f4f6f9;
  border-left: 4px solid #c8a44a;
  border-radius: 4px;
  padding: 16px;
}
.info-card-label {
  font-family: Arial, sans-serif;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #666;
  margin-bottom: 4px;
}
.info-card-val {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a5c;
}

/* --- FAQ --- */
.faq-section { margin: 2em 0; }
.faq-section h2 { font-size: 1.55rem; margin-bottom: 1em; color: #1a3a5c; }
.faq-item {
  border-bottom: 1px solid #dde3ea;
  padding: 18px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 1.05rem;
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: .5em;
  line-height: 1.4;
}
.faq-a { color: #333; }
.faq-a p { margin: 0; font-size: .97rem; }

/* --- FOOTER CTA BAND --- */
.footer-cta-band {
  background: #0f2640;
  border-top: 4px solid #c8a44a;
  padding: 36px 20px;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-cta-text {
  color: #e8edf2;
  font-size: 1.15rem;
  font-family: Arial, sans-serif;
  max-width: 600px;
}
.footer-cta-text strong { color: #fff; display: block; font-size: 1.3rem; margin-bottom: .2em; }

/* --- FOOTER --- */
.site-footer { background: #1a3a5c; color: #b0c4d8; padding: 50px 20px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}
.footer-col p { font-size: .875rem; line-height: 1.65; color: #8fa7bf; }
.footer-license { font-size: .78rem; color: #c8a44a; margin-top: 12px; }
.footer-col h4 {
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: #8fa7bf; font-family: Arial, sans-serif; font-size: .875rem; text-decoration: none; }
.footer-col ul li a:hover { color: #c8a44a; }
.footer-bottom {
  border-top: 1px solid #243d56;
  margin-top: 40px;
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: Arial, sans-serif;
  font-size: .8rem;
  color: #607a8f;
}
.footer-bottom a { color: #8fa7bf; text-decoration: none; }
.footer-bottom a:hover { color: #c8a44a; }

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: .6em;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline-light:hover { background: #fff; color: #1a3a5c; }

/* --- BAIL CALCULATOR --- */
.calc-wrap {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  padding: 32px;
  margin: 0 0 2em;
  max-width: 600px;
}
.calc-label {
  font-family: Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c8a44a;
  margin-bottom: .3em;
}
.calc-title {
  font-size: 1.4rem;
  color: #1a3a5c;
  margin: 0 0 .3em;
  font-family: Georgia, serif;
  font-weight: 700;
}
.calc-sub {
  font-size: .9rem;
  color: #555;
  font-family: Arial, sans-serif;
  margin-bottom: 1.2em;
}
.calc-box { background: #f9fafb; border: 1px solid #e8ecf0; border-radius: 6px; padding: 24px; }
.calc-field { margin-bottom: 1em; }
.calc-field label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: .4em;
}
.calc-field select,
.calc-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  background: #fff;
}
.calc-field select:focus,
.calc-field input:focus { outline: 2px solid #c8a44a; border-color: #c8a44a; }
.calc-results {
  display: flex;
  gap: 12px;
  margin: 1em 0;
}
.calc-result-primary {
  background: #c8a44a;
  color: #fff;
  border-radius: 6px;
  padding: 16px 20px;
  flex: 1;
}
.calc-result-secondary {
  background: #f0f2f5;
  color: #333;
  border-radius: 6px;
  padding: 16px 20px;
  flex: 1;
}
.calc-result-label {
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .3em;
  opacity: .85;
}
.calc-result-val {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: Georgia, serif;
  line-height: 1.1;
}
.calc-result-small { font-size: 1.3rem; color: #1a3a5c; }
.calc-minimum-note {
  background: #fff8e7;
  border-left: 3px solid #c8a44a;
  border-radius: 0 4px 4px 0;
  padding: 10px 14px;
  font-family: Arial, sans-serif;
  font-size: .85rem;
  color: #555;
  margin: .8em 0 .4em;
}
.calc-disclaimer {
  font-size: .78rem;
  color: #888;
  font-family: Arial, sans-serif;
  margin: .8em 0 .5em;
  line-height: 1.5;
}


.how-it-works { background: #f4f6f9; }
.how-title { font-size: 2rem; color: #1a3a5c; text-align: center; margin-bottom: .3em; }
.how-sub { text-align: center; color: #555; font-family: Arial, sans-serif; font-size: 1rem; margin-bottom: 2em; }
.how-steps {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}
.how-card {
  background: #fff;
  border: 2px solid #dde3ea;
  border-radius: 8px;
  padding: 32px 28px;
  text-align: center;
  flex: 1;
  max-width: 280px;
  transition: box-shadow .2s, transform .2s;
}
.how-card:hover { box-shadow: 0 6px 24px rgba(26,58,92,.12); transform: translateY(-3px); }
.how-card-featured {
  background: #fff;
  border-color: #c8a44a;
  border-width: 3px;
  box-shadow: 0 4px 20px rgba(200,164,74,.2);
  transform: scale(1.04);
  z-index: 1;
}
.how-card-featured:hover { transform: scale(1.04) translateY(-3px); }
.how-icon { width: 80px; height: 80px; margin: 0 auto 1em; }
.how-icon svg { width: 100%; height: 100%; }
.how-step-num {
  font-family: Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #c8a44a;
  margin-bottom: .3em;
}
.how-card h3 {
  font-size: 1.2rem;
  color: #1a3a5c;
  margin-bottom: .6em;
  font-family: Arial, sans-serif;
}
.how-card p {
  font-size: .92rem;
  color: #555;
  line-height: 1.65;
  font-family: Arial, sans-serif;
  margin: 0;
}
.how-arrow {
  font-size: 2rem;
  color: #c8a44a;
  padding: 0 12px;
  flex-shrink: 0;
  margin-top: -20px;
}
.how-learn-more {
  text-align: center;
  margin-top: 2em;
  font-family: Arial, sans-serif;
  font-size: .95rem;
}
.how-learn-more a { color: #1a3a5c; font-weight: 600; }
.how-learn-more a:hover { color: #c8a44a; }
@media (max-width: 768px) {
  .how-steps { flex-direction: column; align-items: stretch; gap: 16px; }
  .how-card { max-width: 100%; }
  .how-card-featured { transform: none; }
  .how-card-featured:hover { transform: translateY(-3px); }
  .how-arrow { transform: rotate(90deg); text-align: center; padding: 0; margin: 0; }
}


.hp-intro { padding: 60px 0; }
.hp-section { padding: 50px 0; }
.hp-section-alt { background: #f4f6f9; }
.hp-section h2 { font-size: 1.8rem; color: #1a3a5c; margin-bottom: .5em; }
.hp-section p { max-width: 780px; }
.compare-table { width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: .95rem; margin-top: 1.2em; }
.compare-table th { background: #1a3a5c; color: #fff; padding: 12px 18px; text-align: left; }
.compare-table th:first-child { background: #0f2640; }
.compare-table td { padding: 11px 18px; border-bottom: 1px solid #dde3ea; vertical-align: top; }
.compare-table tr:nth-child(even) td { background: #f9fafb; }
.compare-table .yes { color: #1a7a40; font-weight: 700; }
.compare-table .no { color: #c0392b; }

/* --- NEIGHBORHOOD GRID --- */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 1em;
}
.neighborhood-tag {
  background: #f4f6f9;
  border: 1px solid #dde3ea;
  border-radius: 4px;
  padding: 8px 12px;
  font-family: Arial, sans-serif;
  font-size: .85rem;
  color: #1a3a5c;
}

/* --- GEO PAGE JAIL BOX --- */
.jail-info-box {
  background: #1a3a5c;
  color: #fff;
  border-radius: 6px;
  padding: 24px 28px;
  margin: 2em 0;
}
.jail-info-box h3 { color: #c8a44a; margin-bottom: .6em; }
.jail-info-box p { color: #c5d5e8; margin-bottom: .4em; font-size: .95rem; }
.jail-info-box strong { color: #fff; }

/* --- UTILITY --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1em; }
.mb-2 { margin-bottom: 2em; }
.highlight { background: #fff8e7; border-left: 4px solid #c8a44a; padding: 14px 18px; border-radius: 0 4px 4px 0; margin: 1.2em 0; font-family: Arial, sans-serif; }
.two-col-list { columns: 2; column-gap: 30px; }
@media (max-width: 600px) { .two-col-list { columns: 1; } }
