/* ==========================================================================
   GMB Experts — Shared Styles
   Professional, modern design system for a local SEO services site.
   ========================================================================== */

:root {
  --c-brand: #0a66c2;
  --c-brand-dark: #044a93;
  --c-brand-darker: #033a73;
  --c-brand-soft: #eaf3fc;
  --c-ink: #0b1f3a;
  --c-text: #1f2937;
  --c-text-soft: #4b5563;
  --c-muted: #6b7280;
  --c-line: #e5e7eb;
  --c-line-soft: #f1f5f9;
  --c-surface: #ffffff;
  --c-surface-alt: #f8fafc;
  --c-amber: #f59e0b;
  --c-success: #10b981;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .04);
  --shadow-md: 0 6px 18px rgba(11, 31, 58, .07);
  --shadow-lg: 0 16px 40px rgba(11, 31, 58, .10);
  --shadow-xl: 0 24px 60px rgba(11, 31, 58, .14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --gradient-brand: linear-gradient(135deg, #0b1f3a 0%, #0a66c2 60%, #1d8dff 100%);
  --gradient-soft: linear-gradient(135deg, #eaf3fc 0%, #f8fafc 100%);
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp .6s ease-out both; }
.reveal-delay-1 { animation-delay: .1s; }
.reveal-delay-2 { animation-delay: .2s; }
.reveal-delay-3 { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-delay-1, .reveal-delay-2, .reveal-delay-3 { animation: none; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: #0a66c2; text-decoration: none; transition: color .15s ease; }
a:hover { color: #044a93; text-decoration: underline; }
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: #0b1f3a;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .35em; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 1px 0 rgba(11,31,58,.04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
  gap: 1rem;
}
.nav-brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--c-ink);
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: .55rem;
  line-height: 1;
}
.nav-brand a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  transition: opacity .15s ease;
}
.nav-brand a:hover { opacity: .8; text-decoration: none; }
.nav-brand .brand-mark {
  width: 32px;
  height: 32px;
  display: inline-block;
  flex-shrink: 0;
}
.nav-brand .brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}
.nav-brand .brand-name { font-weight: 800; font-size: 1.1rem; }
.nav-brand .brand-name .dot { color: var(--c-brand); }
.nav-brand .brand-tag {
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--c-brand);
  margin-top: 1px;
}
.nav-brand .dot { color: var(--c-brand); }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #1f2937;
  font-weight: 500;
  font-size: .94rem;
  text-decoration: none;
  padding: .5rem .8rem;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #6b7280;
  transition: color .15s ease;
}
.nav-links a:hover .nav-icon,
.nav-links a.active .nav-icon { color: #0a66c2; }
.nav-cta .nav-icon { color: #fff !important; }
.nav-links a:hover {
  color: #0a66c2;
  background: rgba(10, 102, 194, .06);
  text-decoration: none;
}
.nav-links a.active {
  color: #0a66c2;
  background: rgba(10, 102, 194, .08);
  font-weight: 600;
}
.nav-cta {
  background: #0a66c2 !important;
  color: #fff !important;
  padding: .55rem 1.1rem !important;
  border-radius: 8px;
  font-weight: 600 !important;
  text-decoration: none;
  margin-left: .35rem;
  box-shadow: 0 2px 8px rgba(10,102,194,.25);
}
.nav-cta:hover {
  background: #044a93 !important;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(10,102,194,.35);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: .4rem .6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: .55rem .7rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.25rem 1.25rem;
    gap: .35rem;
    max-height: min(80vh, 640px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { white-space: normal; min-height: 44px; align-items: center; }
  .site-header { position: sticky; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .1s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #0a66c2; color: #fff; }
.btn-primary:hover { background: #044a93; color: #fff; }
.btn-secondary {
  background: #fff;
  color: #0a66c2;
  border-color: #0a66c2;
}
.btn-secondary:hover { background: #eaf3fc; color: #044a93; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #0b1f3a 0%, #0a66c2 100%);
  color: #fff;
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero h1 { color: #fff; max-width: 28ch; }
.hero p.lead {
  font-size: 1.2rem;
  max-width: 60ch;
  color: #eef5fc;
  margin-bottom: 1.8rem;
}
.hero .badge {
  display: inline-block;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  padding: .45rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  margin-bottom: 1rem;
  color: #f3f8fd;
  line-height: 1.35;
  max-width: 100%;
  white-space: normal;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-actions .btn-secondary {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.78);
}
.hero-actions .btn-secondary:hover { background: rgba(255,255,255,.14); color:#fff; }

/* Hero variant for inner pages */
.hero--inner { padding: 3.5rem 0 2.5rem; }
.hero--inner h1 { max-width: 32ch; }

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 4rem 0; }
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title h2 { margin-bottom: .5rem; }
.section-title p {
  max-width: 60ch;
  margin: 0 auto;
  color: #4b5563;
}
.eyebrow {
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #0a66c2;
  margin-bottom: .5rem;
  display: block;
}

/* Grid utility */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 31, 58, .08);
  border-color: #cfdcec;
}
.card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #eaf3fc;
  color: #0a66c2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: .9rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: #4b5563; margin-bottom: .8rem; }
.card .card-link {
  font-weight: 600;
  font-size: .95rem;
}

/* Stat card */
.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  text-align: center;
}
.stat {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}
.stat .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0a66c2;
  line-height: 1;
  display: block;
  margin-bottom: .25rem;
}
.stat .label { color: #4b5563; font-size: .95rem; }

/* Alternating section background */
.section-alt { background: #f8fafc; }

/* ==========================================================================
   Why us / feature list
   ========================================================================== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.feature-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: .9rem;
  color: #1f2937;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem; height: 1.4rem;
  background: #0a66c2;
  color: #fff;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Two-column layout */
.two-col {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial {
  background: #fff;
  padding: 1.75rem;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}
.testimonial blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: #1f2937;
  line-height: 1.6;
}
.testimonial .author {
  font-weight: 700;
  color: #0b1f3a;
  font-size: .98rem;
}
.testimonial .role {
  font-size: .88rem;
  color: #6b7280;
}
.stars { color: #f59e0b; letter-spacing: 1px; margin-bottom: .6rem; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem 1.5rem;
  align-items: start;
}
.faq details { margin-bottom: 0; }
@media (max-width: 740px) {
  .faq { grid-template-columns: 1fr; }
}
.faq details {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: .8rem;
}
.faq details[open] { border-color: #0a66c2; }
.faq summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  color: #0b1f3a;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  color: #0a66c2;
  font-weight: 600;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div, .faq details > p {
  margin-top: .8rem;
  color: #4b5563;
}

/* ==========================================================================
   CTA strip
   ========================================================================== */
.cta-strip {
  background: linear-gradient(135deg, #0b1f3a 0%, #0a66c2 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #d6e6f7; max-width: 60ch; margin: 0 auto 1.5rem; }
.cta-strip .btn-primary {
  background: #fff;
  color: #0a66c2;
}
.cta-strip .btn-primary:hover { background: #eaf3fc; color: #044a93; }

/* ==========================================================================
   Forms
   ========================================================================== */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
}
.contact-form .form-intro { margin: 0 0 1.25rem; font-size: .95rem; }
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
@media (max-width: 560px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}
.contact-form fieldset.form-checks {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 0 0 1.1rem;
}
.contact-form fieldset.form-checks legend {
  font-weight: 600;
  color: #0b1f3a;
  font-size: .95rem;
  padding: 0 .4rem;
}
.contact-form .form-checks {
  display: block;
}
.contact-form label.check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-weight: 400;
  font-size: .92rem;
  color: #1f2937;
  margin: 0 0 .55rem;
  cursor: pointer;
}
.contact-form label.check input[type="checkbox"] {
  width: auto;
  margin: .2rem 0 0;
  flex: 0 0 auto;
}
.contact-form label {
  display: block;
  font-weight: 600;
  color: #0b1f3a;
  font-size: .95rem;
  margin-bottom: .35rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  margin-bottom: 1.1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #0a66c2;
  box-shadow: 0 0 0 3px rgba(10,102,194,.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #071528 0%, #0b1f3a 100%);
  color: #cbd5e1;
  padding: 0 0 1.5rem;
}
.footer-cta-band {
  background: linear-gradient(135deg, rgba(10,102,194,.22) 0%, rgba(29,141,255,.12) 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 2rem 0;
  margin-bottom: 2.5rem;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-cta-kicker {
  display: inline-block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: .45rem;
}
.footer-cta-copy h3 {
  color: #fff;
  margin: 0 0 .45rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  max-width: 28ch;
}
.footer-cta-copy p {
  margin: 0;
  color: #cbd5e1;
  max-width: 42ch;
  font-size: .95rem;
}
.footer-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
}
.footer-cta-email {
  color: #93c5fd;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
}
.footer-cta-email:hover { color: #fff; text-decoration: underline; }

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin-bottom: 2rem;
}
/* Must beat .footer-grid column count (same element uses both classes) */
.footer-grid.footer-grid--modern {
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 2rem 1.35rem;
  margin-bottom: 2rem;
  align-items: start;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  margin-bottom: .85rem;
}
.footer-logo:hover { color: #fff; opacity: .9; text-decoration: none; }
.footer-logo .dot { color: #60a5fa; }
.footer-logo img {
  flex-shrink: 0;
  pointer-events: none;
}
.footer-brand-email {
  margin: .75rem 0 0;
}
.footer-brand-email a {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: none;
}
.footer-brand-email a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}
.footer-chip {
  display: inline-block;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .75rem;
  font-weight: 600;
  color: #e2e8f0;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.site-footer .footer-col h4 {
  font-size: .78rem;
  margin: 0 0 .9rem;
  letter-spacing: .1em;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a {
  color: #cbd5e1;
  font-size: .92rem;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-cta-actions .btn-primary {
  box-shadow: 0 8px 24px rgba(10,102,194,.35);
}
.footer-section-alt {
  margin-top: 2rem;
}
.site-footer .footer-pills {
  margin-bottom: 1.25rem;
}
.site-footer .footer-pill {
  background: rgba(255,255,255,.08);
  color: #e6edf6;
  border-color: rgba(255,255,255,.14);
}
.site-footer .footer-pill:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
}
.site-footer .legal {
  margin-top: 1.75rem;
}

@media (max-width: 1100px) {
  .footer-grid.footer-grid--modern {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
  .footer-grid.footer-grid--modern .footer-col:last-child {
    grid-column: 2 / -1;
  }
}
@media (max-width: 820px) {
  .footer-grid,
  .footer-grid.footer-grid--modern {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid.footer-grid--modern .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-grid.footer-grid--modern .footer-col:last-child {
    grid-column: auto;
  }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .footer-grid,
  .footer-grid.footer-grid--modern {
    grid-template-columns: 1fr;
  }
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-grid a { color: #cbd5e1; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { color: #cbd5e1; max-width: 36ch; }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  font-size: .85rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.site-footer .legal-links a {
  color: #94a3b8;
  text-decoration: none;
  margin: 0;
}
.site-footer .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
}
.site-footer .legal-links a:hover { color: #fff; text-decoration: underline; }
.site-footer .disclaimer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .78rem;
  color: #64748b;
  line-height: 1.55;
  max-width: 80ch;
}

/* Comprehensive footer additions */
.footer-section-alt {
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2rem 0;
  margin-top: 1.25rem;
}
.footer-section-title {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 1.1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.footer-state-count {
  color: #94a3b8;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: .85rem;
  margin-left: .35rem;
}
.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.footer-pill {
  display: inline-block;
  padding: .45rem .9rem;
  background: rgba(255,255,255,.06);
  color: #e6edf6;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.footer-pill:hover {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
  text-decoration: none;
}
.footer-city-grid {
  columns: 4;
  column-gap: 2rem;
}
.footer-state-block {
  break-inside: avoid;
  margin-bottom: 1.25rem;
}
.footer-state-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-state-block li { margin-bottom: .35rem; }
.footer-state-block a {
  color: #cbd5e1;
  font-size: .88rem;
  text-decoration: none;
}
.footer-state-block a:hover { color: #fff; text-decoration: underline; }
.footer-state-name {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 .55rem;
  font-weight: 700;
}
.footer-state-name a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,.3);
}
.footer-state-name a:hover { border-bottom-color: #0a66c2; color: #fff; }
.footer-industries-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 4;
  column-gap: 2rem;
}
.footer-industries-grid li {
  margin-bottom: .45rem;
  break-inside: avoid;
}
.footer-industries-grid a {
  color: #cbd5e1;
  font-size: .9rem;
  text-decoration: none;
}
.footer-industries-grid a:hover { color: #fff; text-decoration: underline; }
.footer-grid-3 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}
.footer-grid-3 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid-3 li { margin-bottom: .5rem; }
.footer-grid-3 a {
  color: #cbd5e1;
  font-size: .9rem;
  text-decoration: none;
}
.footer-grid-3 a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 1024px) {
  .footer-city-grid { columns: 3; }
  .footer-industries-grid { columns: 3; }
  .footer-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 740px) {
  .footer-city-grid { columns: 2; }
  .footer-industries-grid { columns: 2; }
  .footer-grid-3 { grid-template-columns: 1fr; }
  .footer-section-alt { padding: 1.5rem 0; }
}
@media (max-width: 480px) {
  .footer-city-grid { columns: 1; }
  .footer-industries-grid { columns: 1; }
}

/* ==========================================================================
   Hero image (hub pages)
   ========================================================================== */
.hero-with-image .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-with-image .hero-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}
@media (max-width: 820px) {
  .hero-with-image .container {
    grid-template-columns: 1fr;
  }
  .hero-with-image .hero-image {
    margin-top: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Inline body image */
.body-image {
  width: 100%;
  max-width: 700px;
  margin: 1.5rem auto;
  display: block;
  border-radius: 12px;
}

/* ==========================================================================
   Trust bar (skill #01 requirement)
   ========================================================================== */
.trust-bar {
  background: #0b1f3a;
  color: #e6edf6;
  padding: .75rem 0;
  font-size: .92rem;
  text-align: center;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.trust-bar span { display: inline-flex; align-items: center; gap: .4rem; }
.trust-bar strong { color: #fff; }

/* Pricing table */
.price-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: #0a66c2;
  position: relative;
  transform: translateY(-8px);
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0a66c2;
  color: #fff;
  padding: .25rem .8rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.price-card h3 { margin-bottom: .3rem; }
.price-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0a66c2;
  line-height: 1;
  margin: .5rem 0 .2rem;
}
.price-card .price small { font-size: .9rem; color: #6b7280; font-weight: 500; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  flex: 1;
}
.price-card li {
  padding: .4rem 0 .4rem 1.5rem;
  position: relative;
  border-bottom: 1px solid #f3f4f6;
  font-size: .95rem;
}
.price-card li:last-child { border-bottom: 0; }
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0a66c2;
  font-weight: 700;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.muted { color: #6b7280; }

/* ==========================================================================
   Mobile refinements
   ========================================================================== */
@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero p.lead { font-size: 1.05rem; margin-bottom: 1.4rem; }
  .hero-actions { gap: .6rem; }
  .hero-actions .btn { width: 100%; text-align: center; }

  section { padding: 2.5rem 0; }
  .section-title { margin-bottom: 1.75rem; }

  .cta-strip { padding: 2.5rem 0; }

  .trust-bar { font-size: .85rem; }
  .trust-bar .container { gap: .5rem 1.25rem; }

  .site-footer .legal {
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   MODERN UI LAYER — design refresh, mega menu, modern homepage components
   ========================================================================== */

/* --- Modern utility classes --- */
.text-gradient {
  background: linear-gradient(120deg, var(--c-brand) 0%, #1d8dff 50%, var(--c-brand-darker) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  border: 1px solid rgba(10,102,194,.15);
}
.chip-dark {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.2);
}
.section-tight { padding: 3rem 0 !important; }
.divider-soft {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line), transparent);
  border: 0;
  margin: 0;
}

/* --- Refined buttons (modern shadow + smoother transitions) --- */
.btn {
  letter-spacing: -.005em;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { box-shadow: 0 4px 14px rgba(10,102,194,.25); }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(10,102,194,.35); transform: translateY(-2px); }
.btn-secondary:hover { box-shadow: 0 4px 14px rgba(10,102,194,.12); transform: translateY(-2px); }

/* --- Refined cards (subtle inner border ring on hover) --- */
.card {
  position: relative;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,102,194,.25);
}
a.card { color: inherit; text-decoration: none; }
a.card::after {
  content: "→";
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  color: var(--c-brand);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
  font-weight: 700;
}
a.card:hover::after { opacity: 1; transform: translateX(0); }

/* --- Modern hero with mesh gradient --- */
.hero {
  background: radial-gradient(1000px 400px at 80% 0%, rgba(29,141,255,.35), transparent 60%),
              radial-gradient(800px 300px at 0% 100%, rgba(10,102,194,.5), transparent 60%),
              linear-gradient(135deg, #0b1f3a 0%, #0a66c2 100%);
}
.hero h1 { letter-spacing: -.025em; }
.hero .badge {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 600;
}

/* --- Hero with stats overlay --- */
.hero-stats-strip {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats-strip .hs-item {
  color: #d6e6f7;
  font-size: .9rem;
}
.hero-stats-strip .hs-num {
  display: block;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: .15rem;
}

/* --- Stats — modernized with gradient numbers --- */
.stat .num {
  background: linear-gradient(135deg, var(--c-brand) 0%, #1d8dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat {
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Trusted strip (industry/social proof bar) --- */
.trusted-strip {
  background: var(--c-surface);
  padding: 1.5rem 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.trusted-strip .trusted-label {
  text-align: center;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}
.trusted-strip .trusted-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .65rem 1rem;
}
.trusted-strip .trusted-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  background: var(--c-surface-alt);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.trusted-strip .trusted-pill:hover {
  background: var(--c-brand-soft);
  color: var(--c-brand-dark);
  border-color: rgba(10,102,194,.25);
  text-decoration: none;
}

/* --- Numbered process steps with connector --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
  position: relative;
}
.process-step {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.process-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,102,194,.25);
}
.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(10,102,194,.3);
}
.process-step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.process-step p { color: var(--c-text-soft); font-size: .95rem; margin: 0; }

/* --- Modernized testimonial cards --- */
.testimonial {
  position: relative;
  border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,102,194,.2);
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -.5rem;
  left: 1.25rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--c-brand);
  opacity: .15;
}
.testimonial blockquote { position: relative; z-index: 1; }

/* --- Pricing cards refresh --- */
.price-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  box-shadow: var(--shadow-lg);
}
.price-card .price {
  background: linear-gradient(135deg, var(--c-brand) 0%, #1d8dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Section eyebrow refinement --- */
.section-title .eyebrow,
.eyebrow {
  display: inline-block;
}

/* --- Mega menu (SEO-friendly: static HTML, CSS hover + JS pin, accessible) --- */
.site-header {
  overflow: visible;
  z-index: 200;
}
.nav-links li.has-mega-menu {
  position: static;
}
.nav-links li.has-mega-menu > a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.nav-caret {
  font-size: .55em;
  color: var(--c-muted);
  transition: transform .2s ease, color .2s ease;
  margin-left: .15rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.nav-links li.has-mega-menu:hover > a > .nav-caret,
.nav-links li.has-mega-menu:focus-within > a > .nav-caret,
.nav-links li.has-mega-menu.is-open > a > .nav-caret {
  transform: rotate(180deg);
  color: var(--c-brand);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: visible;
  transform: none;
  transition: opacity .15s ease, visibility 0s linear .15s;
  z-index: 220;
  padding: 0 0 1.25rem;
}
/* Invisible hover bridge so the pointer can travel from the nav link into the panel */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.mega-menu-panel {
  max-width: 1280px;
  margin: 0 auto;
  padding: .35rem 1.25rem 0;
}
.mega-menu-inner {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,280px);
  gap: 2rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-height: min(72vh, 640px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mega-menu-inner--4 {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,280px);
}
.mega-col h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-muted);
  margin: 0 0 .9rem;
  font-weight: 700;
}
.mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-col li { margin: 0; }
.mega-col li a {
  display: block;
  padding: .55rem .65rem;
  margin: 0 -.65rem;
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  text-decoration: none;
  transition: background .12s ease, color .12s ease, transform .12s ease;
  font-weight: 500;
  white-space: normal;
}
.mega-col li a:hover {
  background: var(--c-brand-soft);
  color: var(--c-brand-dark);
  text-decoration: none;
  transform: translateX(2px);
}
.mega-col .mega-link-label {
  display: block;
  font-weight: 600;
  font-size: .94rem;
  color: var(--c-ink);
  line-height: 1.3;
}
.mega-col .mega-link-desc {
  display: block;
  font-size: .8rem;
  color: var(--c-muted);
  margin-top: .15rem;
  line-height: 1.4;
}
.mega-feature {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mega-feature .mf-eyebrow {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.8);
  font-weight: 700;
  margin-bottom: .6rem;
  display: block;
}
.mega-feature h4 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 .5rem;
  letter-spacing: -.005em;
  text-transform: none;
}
.mega-feature p {
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  margin: 0 0 1rem;
  line-height: 1.5;
  white-space: normal;
}
.mega-feature .btn {
  background: #fff;
  color: var(--c-brand-dark);
  padding: .55rem 1rem;
  font-size: .88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  align-self: flex-start;
}
.mega-feature .btn:hover {
  background: rgba(255,255,255,.92);
  color: var(--c-brand-darker);
  transform: translateY(-1px);
}
.mega-feature--soft {
  background: linear-gradient(145deg, #0b1f3a 0%, #0a66c2 100%);
}

/* Mobile mega accordions inside nav */
.mobile-mega {
  display: none;
  width: 100%;
  margin: .25rem 0 .5rem;
}
.mobile-mega summary {
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-brand);
  padding: .45rem .5rem;
  list-style: none;
}
.mobile-mega summary::-webkit-details-marker { display: none; }
.mobile-mega ul {
  list-style: none;
  padding: 0 0 .35rem .75rem;
  margin: 0;
}
.mobile-mega li { margin: 0; }
.mobile-mega a {
  display: block;
  padding: .4rem .5rem;
  font-size: .88rem;
  color: var(--c-text-soft);
  text-decoration: none;
}
.mobile-mega a:hover { color: var(--c-brand); }

.nav-links li.has-mega-menu:hover > .mega-menu,
.nav-links li.has-mega-menu:focus-within > .mega-menu,
.nav-links li.has-mega-menu.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  overflow: visible;
  transition: opacity .15s ease, visibility 0s;
}

/* Keep trust bar under the open mega panel */
.trust-bar {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .mega-menu-inner,
  .mega-menu-inner--4 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .mega-feature { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .mega-menu { display: none !important; }
  .nav-caret { display: none; }
  .mobile-mega { display: block; }
  .has-mega-menu > a .nav-caret { display: none; }
}

/* --- Section hero gradient backgrounds --- */
.section-hero-light {
  background: var(--gradient-soft);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

/* --- Section title refinements (consistent left-aligned variant) --- */
.section-title-left {
  text-align: left;
  margin-bottom: 2.5rem;
}
.section-title-left p {
  margin-left: 0;
  margin-right: 0;
}

/* --- Logo grid (industry/trust signal at hero) --- */
.industry-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  transition: all .15s ease;
}
.industry-pill:hover {
  background: var(--c-brand);
  color: #fff;
  border-color: var(--c-brand);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10,102,194,.2);
}

/* --- Three-signal explainer cards --- */
.signal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}
.signal-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.signal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,102,194,.25);
}
.signal-card .sc-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gradient-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 20px rgba(10,102,194,.25);
}
.signal-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.15rem;
}
.signal-card p {
  color: var(--c-text-soft);
  margin: 0;
  font-size: .95rem;
}

/* --- CTA strip refresh --- */
.cta-strip {
  background: radial-gradient(900px 250px at 90% 0%, rgba(29,141,255,.35), transparent 60%),
              linear-gradient(135deg, #0b1f3a 0%, #0a66c2 100%);
  position: relative;
  overflow: hidden;
}
.cta-strip h2 { letter-spacing: -.02em; }

/* --- FAQ refresh — smoother accordion --- */
.faq details {
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details:hover { border-color: rgba(10,102,194,.3); }
.faq details[open] { box-shadow: var(--shadow-sm); }

/* --- Trust bar refinement --- */
.trust-bar {
  background: linear-gradient(90deg, #0b1f3a 0%, #0a66c2 50%, #0b1f3a 100%);
}

/* --- Card icon refinement (gradient background) --- */
.card .icon {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(10,102,194,.25);
}

/* --- Footer Cities collapsible (compressed) --- */
.footer-cities-details {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 0;
  margin-top: .5rem;
  overflow: hidden;
}
.footer-cities-details summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  color: #e6edf6;
  font-size: .92rem;
  position: relative;
  user-select: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-cities-details summary::-webkit-details-marker { display: none; }
.footer-cities-details summary::before {
  content: "▸";
  display: inline-block;
  color: var(--c-brand);
  font-size: .85rem;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.footer-cities-details[open] summary::before { transform: rotate(90deg); }
.footer-cities-details summary strong { color: #fff; font-weight: 700; }
.footer-cities-details summary:hover { background: rgba(255,255,255,.04); }

.footer-cities-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1rem;
}
.footer-state-row {
  padding: .55rem 0;
  border-bottom: 1px dotted rgba(255,255,255,.08);
  font-size: .85rem;
  line-height: 1.6;
}
.footer-state-row:last-child { border-bottom: 0; }
.footer-state-row-name {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .72rem;
  display: inline-block;
  margin-right: .65rem;
  min-width: 130px;
}
.footer-state-row-name a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,.3);
}
.footer-state-row-name a:hover { color: #fff; border-bottom-color: var(--c-brand); }
.footer-state-row-cities a {
  color: #cbd5e1;
  text-decoration: none;
}
.footer-state-row-cities a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 740px) {
  .footer-state-row-name { display: block; min-width: auto; margin-bottom: .25rem; }
}

/* ==========================================================================
   BLOG HUB — categorized index with filter pills
   ========================================================================== */
.blog-filter-bar {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 1rem 0;
  margin: 0 0 2rem;
}
.blog-filter-bar .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.blog-filter-bar .bf-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--c-muted);
  margin-right: .25rem;
}
.blog-filter-bar a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: var(--c-surface-alt);
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.blog-filter-bar a:hover {
  background: var(--c-brand);
  color: #fff;
  border-color: var(--c-brand);
  text-decoration: none;
  transform: translateY(-1px);
}
.blog-filter-bar a .bf-count {
  background: rgba(255,255,255,.5);
  color: inherit;
  font-size: .72rem;
  padding: .1rem .4rem;
  border-radius: 999px;
  font-weight: 700;
}
.blog-filter-bar a:hover .bf-count {
  background: rgba(255,255,255,.25);
}

/* Featured blog post */
.blog-featured {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  text-decoration: none;
  margin-bottom: 3rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-featured:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.blog-featured .bf-eyebrow {
  display: inline-block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.18);
  padding: .35rem .85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.blog-featured h2 {
  color: #fff;
  font-size: 2rem;
  letter-spacing: -.02em;
  margin: 0 0 .75rem;
  line-height: 1.2;
}
.blog-featured p {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
}
.blog-featured .bf-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  background: #fff;
  color: var(--c-brand-dark);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
}
.blog-featured-image {
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-featured-image img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
@media (max-width: 820px) {
  .blog-featured { grid-template-columns: 1fr; padding: 1.75rem; }
  .blog-featured h2 { font-size: 1.5rem; }
}

/* Blog post cards (in category sections) */
.blog-cat-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: 140px; /* Offset for sticky filter bar when jumping via anchor */
}
.blog-cat-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--c-brand-soft);
  padding-bottom: .75rem;
}
.blog-cat-header h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -.015em;
}
.blog-cat-header .bch-count {
  color: var(--c-muted);
  font-size: .9rem;
  font-weight: 600;
}
.blog-cat-header .bch-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,102,194,.3);
  text-decoration: none;
}
.blog-card .bc-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--c-brand-soft);
  color: var(--c-brand-dark);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: .9rem;
  align-self: flex-start;
}
.blog-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--c-ink);
}
.blog-card p {
  margin: 0 0 1rem;
  color: var(--c-text-soft);
  font-size: .9rem;
  line-height: 1.55;
  flex: 1;
}
.blog-card .bc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--c-muted);
  border-top: 1px solid var(--c-line-soft);
  padding-top: .75rem;
  margin-top: .5rem;
}
.blog-card .bc-readmore {
  color: var(--c-brand);
  font-weight: 700;
}
.blog-card:hover .bc-readmore { color: var(--c-brand-dark); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

/* ==========================================================================
   BLOG POST BODY — improved typography & visual rhythm
   ========================================================================== */
.blog-post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 0;
}
.blog-post-body > p:first-of-type::first-letter {
  /* Optional drop cap on first paragraph */
  font-size: 1em;
  font-weight: inherit;
}
.blog-post-body h2 {
  font-size: 1.5rem;
  letter-spacing: -.015em;
  margin-top: 2.25rem;
  margin-bottom: .75rem;
  scroll-margin-top: 80px;
}
.blog-post-body h2:first-child { margin-top: 0; }
.blog-post-body h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 3px;
  margin-bottom: .65rem;
}
.blog-post-body h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}
.blog-post-body p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--c-text);
  margin-bottom: 1.1rem;
}
.blog-post-body ul, .blog-post-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.4rem;
}
.blog-post-body li {
  margin-bottom: .55rem;
  line-height: 1.65;
}
.blog-post-body a {
  color: var(--c-brand);
  font-weight: 600;
  border-bottom: 1px dotted var(--c-brand);
}
.blog-post-body a:hover { color: var(--c-brand-dark); border-bottom-style: solid; text-decoration: none; }
.blog-post-body strong { color: var(--c-ink); font-weight: 700; }
.blog-post-body blockquote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--c-brand);
  background: var(--c-brand-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
  color: var(--c-ink);
  font-style: italic;
}
.blog-post-body .post-toc {
  background: var(--c-surface-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2.5rem;
}
.blog-post-body .post-toc h4 {
  margin: 0 0 .65rem;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-muted);
}
.blog-post-body .post-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  font-size: .92rem;
}
.blog-post-body .post-toc li { margin-bottom: .3rem; }
.blog-post-body .post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
  color: var(--c-muted);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 1.75rem;
}
.blog-post-body .post-meta .pm-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .75rem;
  background: var(--c-brand-soft);
  color: var(--c-brand-dark);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Auto-generated Table of Contents in blog posts */
.blog-post-body .post-toc {
  background: var(--c-surface-alt);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-brand);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
}
.blog-post-body .post-toc h4 {
  margin: 0 0 .75rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-muted);
  font-weight: 700;
}
.blog-post-body .post-toc ol {
  margin: 0;
  padding-left: 1.4rem;
  font-size: .94rem;
  columns: 2;
  column-gap: 1.5rem;
}
.blog-post-body .post-toc li {
  margin-bottom: .35rem;
  break-inside: avoid;
  line-height: 1.4;
}
.blog-post-body .post-toc a {
  color: var(--c-text);
  font-weight: 500;
  border-bottom: none;
}
.blog-post-body .post-toc a:hover { color: var(--c-brand); }
@media (max-width: 640px) {
  .blog-post-body .post-toc ol { columns: 1; }
}

/* Bottom CTA card (matches blog index featured card) */
.blog-post-cta {
  margin: 3rem auto;
  max-width: 760px;
  padding: 0 1.25rem;
}
.blog-post-cta-card {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.blog-post-cta-card h3 {
  color: #fff;
  margin: 0 0 .35rem;
  font-size: 1.3rem;
  letter-spacing: -.015em;
}
.blog-post-cta-card p {
  color: rgba(255,255,255,.9);
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
}
.blog-post-cta-card .btn {
  background: #fff;
  color: var(--c-brand-dark);
  white-space: nowrap;
  font-weight: 700;
}
.blog-post-cta-card .btn:hover {
  background: rgba(255,255,255,.92);
  color: var(--c-brand-darker);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .blog-post-cta-card { grid-template-columns: 1fr; text-align: center; }
}

/* Related posts section (matches blog index card grid) */
.blog-related-section {
  background: var(--c-surface-alt);
  padding: 3rem 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.blog-related-section .container { max-width: 1280px; }
.blog-related-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--c-brand-soft);
  padding-bottom: .75rem;
}
.blog-related-header h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -.015em;
}
.blog-related-header .brh-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.blog-related-header a {
  margin-left: auto;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-brand);
  text-decoration: none;
}
.blog-related-header a:hover { color: var(--c-brand-dark); }

/* === Homepage intent path navigation === */
.path-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.path-tile {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.35rem 1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  text-decoration: none !important;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  min-height: 100%;
}
.path-tile:hover {
  border-color: rgba(10, 102, 194, .35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.path-tile .pt-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-brand);
}
.path-tile h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -.015em;
}
.path-tile p {
  margin: 0;
  font-size: .92rem;
  color: var(--c-text-soft);
  line-height: 1.5;
  flex: 1;
}
.path-tile .pt-links {
  list-style: none;
  padding: 0;
  margin: .35rem 0 0;
  font-size: .88rem;
  line-height: 1.7;
}
.path-tile .pt-links a {
  font-weight: 600;
  text-decoration: none;
}
.path-tile .pt-links a:hover { text-decoration: underline; }
.path-tile .pt-go {
  margin-top: .35rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--c-brand);
}
@media (max-width: 960px) {
  .path-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .path-nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .path-tile:hover { transform: none; }
}

/* --- Homepage polish: visual cards, mosaic, framed images --- */
.hero-visual {
  position: relative;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 40%, rgba(29,141,255,.28), transparent 68%);
  z-index: 0;
  pointer-events: none;
}
.hero-visual .hero-image {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 22px 44px rgba(0,0,0,.28));
}

.card--visual {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card--visual .card-thumb-wrap {
  background: var(--gradient-soft);
  padding: .85rem .85rem 0;
  border-bottom: 1px solid var(--c-line);
}
.card--visual .card-thumb {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.card--visual h3 {
  margin: 1rem 1.25rem .35rem;
  padding: 0;
}
.card--visual p {
  margin: 0 1.25rem 1.35rem;
  padding: 0;
  flex: 1;
}
a.card--visual::after {
  right: 1.25rem;
  bottom: 1.15rem;
}

.visual-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.mosaic-item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mosaic-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,102,194,.22);
}
.mosaic-item img {
  width: 100%;
  height: auto;
  display: block;
}
.mosaic-item figcaption {
  padding: .75rem 1rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.35;
}

.img-frame {
  background: var(--gradient-soft);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow-md);
}
.img-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
.img-caption {
  margin-top: .75rem;
  font-size: .85rem;
  text-align: center;
}

.case-card-visual {
  padding: 0;
  overflow: hidden;
}
.case-card-visual .case-thumb-wrap {
  background: var(--gradient-soft);
  padding: .65rem .65rem 0;
  border-bottom: 1px solid var(--c-line);
}
.case-card-visual .case-thumb {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.case-card-visual h3 {
  margin: 1rem 1.25rem .35rem;
}
.case-card-visual p {
  margin: 0 1.25rem 1.35rem;
}

.signal-card--visual {
  text-align: left;
  padding: 1.5rem;
}
.signal-card--visual .sc-thumb-wrap {
  background: var(--gradient-soft);
  border-radius: var(--radius-md);
  padding: .65rem;
  margin-bottom: 1rem;
}
.signal-card--visual .sc-thumb {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.ai-search-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  text-align: left;
}
.ai-search-panel p {
  margin: 0;
  max-width: none;
  text-align: left;
  color: var(--c-text-soft);
}

.audit-promo-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 80px;
}
.audit-promo-head {
  background: var(--gradient-brand);
  color: #fff;
  padding: 1.75rem 1.75rem 1.5rem;
}
.audit-promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.18);
  padding: .3rem .8rem;
  border-radius: 999px;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  margin-bottom: .85rem;
}
.audit-promo-head h3 {
  color: #fff;
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.audit-promo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 1.1rem;
}
.audit-promo-stats div > strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.audit-promo-stats div > span {
  display: block;
  font-size: .7rem;
  color: rgba(255,255,255,.85);
  margin-top: .2rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.audit-promo-body { padding: 1.75rem; }
.audit-promo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.audit-promo-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .7rem;
  font-size: .94rem;
  line-height: 1.45;
}
.audit-promo-list li:last-child { margin-bottom: 0; }
.audit-promo-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  margin-top: 1px;
}
.audit-promo-foot {
  background: var(--c-surface-alt);
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .visual-mosaic { grid-template-columns: repeat(2, 1fr); }
  .ai-search-panel { grid-template-columns: 1fr; }
  .audit-promo-card { position: static; }
}
@media (max-width: 520px) {
  .visual-mosaic { grid-template-columns: 1fr; }
  .audit-promo-stats { grid-template-columns: repeat(2, 1fr); }
}

/* === Site protection (deterrent only) === */
body { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
input, textarea, [contenteditable="true"], .selectable { -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; }
img { -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; user-drag: none; pointer-events: none; }
a img, button img, .interactive img { pointer-events: auto; }

/* === Homepage guide library (internal crawl paths) === */
.guide-library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.75rem;
}
.guide-col h3 {
  margin: 0 0 .65rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-brand);
}
.guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .9rem;
  line-height: 1.75;
}
.guide-list a {
  text-decoration: none;
  font-weight: 500;
  color: var(--c-text);
}
.guide-list a:hover {
  color: var(--c-brand);
  text-decoration: underline;
}
@media (max-width: 960px) {
  .guide-library-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .guide-library-grid { grid-template-columns: 1fr; }
}

/* === Homepage resource panels (not footer styles) === */
.resource-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.resource-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.25rem 1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
  min-height: 100%;
}
.resource-panel__head {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.resource-panel__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
}
.resource-panel__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
.resource-panel__kicker {
  margin: 0 0 .2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-brand);
}
.resource-panel__head h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -.015em;
  color: var(--c-text);
  line-height: 1.3;
}
.resource-subhead {
  margin: 0 0 .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.resource-panel__stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex: 1;
}
.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
}
.resource-list a {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: .55rem .65rem;
  margin: 0 -.35rem;
  border-radius: 8px;
  text-decoration: none !important;
  color: var(--c-text);
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.resource-list a:hover {
  background: var(--c-brand-soft);
  border-color: rgba(10, 102, 194, .12);
  color: var(--c-brand-dark);
}
.resource-list .rl-title {
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
  color: inherit;
}
.resource-list .rl-meta {
  font-size: .8rem;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.35;
}
.resource-panel__cta {
  align-self: flex-start;
  margin-top: auto;
  padding: .55rem 1rem !important;
  font-size: .85rem !important;
}
.resource-panel__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: auto;
}
.resource-panel__cta-row .resource-panel__cta {
  margin-top: 0;
}
@media (max-width: 1024px) {
  .resource-panels { grid-template-columns: 1fr 1fr; }
  .resource-panel:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .resource-panels { grid-template-columns: 1fr; }
  .resource-panel:last-child { grid-column: auto; }
}

/* === SVG icons inside card/signal icon wells === */
.card .icon svg,
.signal-card .sc-icon svg,
.icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}
.signal-card .sc-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}
.card .icon {
  font-size: 0; /* hide leftover emoji if any */
}

.bch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  font-size: 0;
}
.bch-icon svg { width: 1.15rem; height: 1.15rem; display: block; }

/* ==========================================================================
   RESPONSIVE POLISH — full-width desktop + mobile-first QA layer (v32)
   ========================================================================== */
/* Avoid overflow-x:clip on body: it forces overflow-y and can break sticky mega menus */
html {
  max-width: 100%;
  overflow-x: clip;
}
body {
  min-width: 0;
  max-width: 100%;
  overflow-x: visible;
}

img, svg, video, canvas, iframe {
  max-width: 100%;
}
.mega-menu,
.mega-menu * {
  box-sizing: border-box;
}
.mega-feature {
  min-width: 0;
  overflow: hidden;
}
.mega-feature h4,
.mega-feature .mf-eyebrow,
.mega-col .mega-link-label,
.mega-col .mega-link-desc {
  white-space: normal;
}

/* Scrollable tables (pricing compare, etc.) */
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  margin: 0 auto;
}
.table-scroll table {
  min-width: 560px;
  width: 100%;
}

/* Tap-friendly controls */
.btn, .nav-cta a, button, .menu-toggle, summary {
  min-height: 44px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.btn-lg { min-height: 52px; }

/* Blog filter: allow horizontal swipe on narrow screens */
@media (max-width: 820px) {
  .blog-filter-bar { top: 64px; }
  .blog-filter-bar .container {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .35rem;
    scrollbar-width: thin;
  }
  .blog-filter-bar a { flex: 0 0 auto; white-space: nowrap; min-height: 40px; }
  .blog-filter-bar .bf-label { flex: 0 0 auto; }
}

/* Trust bar mobile */
@media (max-width: 640px) {
  .trust-bar {
    font-size: .8rem;
    padding: .9rem 0;
  }
  .trust-bar .container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: .65rem .85rem;
    justify-items: stretch;
    align-items: start;
  }
  .trust-bar span {
    white-space: normal;
    line-height: 1.35;
    padding: .15rem 0;
  }
  .hero .badge {
    white-space: normal;
    line-height: 1.35;
    max-width: 100%;
  }
  .hero h1 { max-width: none; }
  .hero-with-image .container { gap: 1.5rem; }
  .price-card.featured { transform: none; }
  .price-card { padding: 1.5rem 1.25rem; }
  .path-tile { padding: 1.15rem 1rem; }
  .resource-panel { padding: 1.15rem 1rem 1.1rem; }
  .guide-library-grid { gap: 1.25rem; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100%;
    max-width: 100%;
    font-size: 16px; /* prevent iOS zoom */
  }
  .section-title p { font-size: .98rem; }
  .industry-pill-row,
  .trusted-strip .trusted-row {
    justify-content: flex-start;
  }
  .hero-stats-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem 1rem;
  }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: clamp(1.7rem, 7.5vw, 2.15rem); }
  .hero { padding: 2.75rem 0 2.25rem; }
  .hero-actions { gap: .75rem; }
  .trust-bar {
    padding: .85rem 0;
  }
  .trust-bar .container {
    grid-template-columns: 1fr 1fr;
    gap: .65rem .75rem;
  }
  .trust-bar span { font-size: .78rem; }
}

/* Large desktop: use more of the width without going ultra-wide */
@media (min-width: 1400px) {
  .container,
  .mega-menu-panel,
  .blog-related-section .container {
    max-width: 1320px;
  }
}

/* Prevent featured price card clipping neighbors */
@media (max-width: 900px) {
  .price-card.featured { transform: none; margin-top: .5rem; }
}

/* Safe media framing */
.img-frame,
.card-thumb-wrap,
.case-thumb-wrap {
  max-width: 100%;
}
.img-frame img,
.card-thumb,
.case-thumb,
.hero-image {
  width: 100%;
  height: auto;
}

/* Visual mosaic / two-col overflow safety */
.two-col,
.visual-mosaic,
.ai-search-panel,
.resource-panels,
.path-nav,
.guide-library-grid {
  min-width: 0;
  width: 100%;
}
.two-col > *,
.resource-panel,
.path-tile {
  min-width: 0;
}


/* ==========================================================================
   SECTION/MODULE POLISH RUN — v33 (A–C deep pass)
   ========================================================================== */

/* A1 Header */
.site-header .nav { gap: .75rem; }
.nav-brand .brand-mark { width: 34px; height: 34px; }
.nav-cta .btn {
  min-height: 44px;
  padding: .7rem 1.15rem;
  white-space: nowrap;
}
@media (max-width: 1100px) and (min-width: 821px) {
  .nav-links a {
    padding: .45rem .55rem;
    font-size: .88rem;
  }
  .nav-icon { width: 15px; height: 15px; }
}

/* A3 Trust bar desktop centering */
.trust-bar .container {
  align-items: center;
}
.trust-bar span {
  line-height: 1.35;
}

/* B path tiles + cards equal height */
.path-nav { align-items: stretch; }
.path-tile { height: 100%; }
.grid > .card,
.price-grid > .price-card,
.signal-card {
  height: 100%;
}

/* B13 resource list density */
.resource-list a { min-height: 44px; justify-content: center; }
@media (min-width: 641px) {
  .resource-list a { min-height: 0; justify-content: flex-start; }
}

/* B18 FAQ */
.faq details {
  padding: 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.75rem 1rem 1.15rem;
  font-weight: 600;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.faq summary::after {
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
}
.faq details > *:not(summary) {
  padding: 0 1.15rem 1.1rem;
}
.faq details[open] summary {
  color: var(--c-brand-dark);
}

/* C3 pricing mobile: use width */
@media (max-width: 640px) {
  .price-grid { gap: 1rem; }
  .price-card {
    width: 100%;
    max-width: 100%;
  }
  .table-scroll {
    margin-left: 0;
    margin-right: 0;
    border: 1px solid var(--c-line);
  }
}

/* C4 forms */
.contact-form input,
.contact-form textarea,
.contact-form select {
  min-height: 48px;
  width: 100%;
  max-width: 100%;
}
.contact-form textarea { min-height: 140px; }
.contact-form .btn {
  width: 100%;
  min-height: 52px;
}
@media (min-width: 641px) {
  .contact-form .btn { width: auto; min-width: 220px; }
}

/* C5 blog filters */
.blog-filter-bar a { min-height: 42px; }
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card .bc-meta { margin-top: auto; }

/* B20 CTA */
.cta-strip .container {
  text-align: center;
  max-width: 820px;
}
.cta-strip .btn { min-width: min(100%, 280px); }
@media (max-width: 640px) {
  .cta-strip h2 { font-size: clamp(1.45rem, 6vw, 1.85rem); }
  .cta-strip .btn { width: 100%; }
}

/* Section rhythm */
@media (max-width: 640px) {
  section { padding: 2.75rem 0; }
  .section-title { margin-bottom: 1.5rem; }
  .section-title h2 { letter-spacing: -.02em; }
  .trusted-strip { padding: 1.25rem 0; }
  .trusted-strip .trusted-row { gap: .5rem .55rem; justify-content: flex-start; }
  .industry-pill, .trusted-pill {
    min-height: 40px;
    padding: .5rem .9rem;
  }
}

/* Guide library mobile density */
@media (max-width: 640px) {
  .guide-col h3 { margin-bottom: .5rem; }
  .guide-list { line-height: 1.7; font-size: .92rem; }
}

/* Footer CTA mobile */
@media (max-width: 640px) {
  .footer-cta-band { padding: 1.5rem 0; }
  .footer-cta-actions .btn { width: 100%; }
  .footer-cta-copy h3 { max-width: none; }
  .footer-cta-copy p { max-width: none; }
}
