/* ============================================================
   Debt Finance Hub — V11 Authority Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --navy:        #0a1628;
  --navy-mid:    #132240;
  --blue:        #1a5fd4;
  --blue-light:  #2e7cf6;
  --blue-ghost:  #e8f1fd;
  --green:       #0f9e57;
  --green-light: #e6f7ef;
  --gold:        #f0a500;
  --gold-light:  #fff8e6;
  --red:         #d03030;
  --white:       #ffffff;
  --off-white:   #f6f8fc;
  --border:      #dce4f0;
  --border-dark: #c0ccdf;
  --text:        #1c2b40;
  --muted:       #5a6e88;
  --light-text:  #8899b0;
  --shadow-sm:   0 2px 8px rgba(10,22,40,.07);
  --shadow-md:   0 8px 28px rgba(10,22,40,.11);
  --shadow-lg:   0 20px 56px rgba(10,22,40,.14);
  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Layout ───────────────────────────────────────────────── */
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.container--narrow { width: min(820px, calc(100% - 40px)); margin: 0 auto; }

/* ── Topbar ───────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: #fff; }
.topbar-disclosure { display: flex; align-items: center; gap: 6px; }
.topbar-phone { display: flex; align-items: center; gap: 6px; font-weight: 600; color: rgba(255,255,255,.9); }

/* ── Header / Nav ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--navy);
  font-size: 19px;
  letter-spacing: -.04em;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(26,95,212,.3);
  flex-shrink: 0;
}
.logo-name { display: flex; flex-direction: column; }
.logo-name .tagline { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--blue); background: var(--blue-ghost); }
.site-nav a.active { color: var(--blue); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: all .18s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: white; box-shadow: 0 8px 20px rgba(26,95,212,.25); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26,95,212,.32); }
.btn-secondary { background: white; color: var(--navy); border-color: var(--border-dark); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-green { background: var(--green); color: white; box-shadow: 0 8px 20px rgba(15,158,87,.25); }
.btn-green:hover { background: #0a8a4a; transform: translateY(-2px); }
.btn-white { background: white; color: var(--blue); font-weight: 800; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.btn-lg { padding: 15px 32px; font-size: 17px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { padding: 13px 0; border-bottom: 1px solid var(--border); background: var(--off-white); }
.breadcrumb ol { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; color: var(--border-dark); margin-right: 2px; }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, #050e1f 0%, #0e2147 55%, #0a3050 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(26,95,212,.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(15,158,87,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 52px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  letter-spacing: .02em;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 {
  font-size: clamp(36px, 5.5vw, 62px);
  line-height: 1.04;
  letter-spacing: -.055em;
  color: white;
  margin-bottom: 20px;
  font-weight: 900;
}
.hero h1 .accent { color: var(--gold); }
.hero-lead { font-size: 18px; color: rgba(255,255,255,.72); max-width: 580px; line-height: 1.6; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.hero-trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,.65); font-weight: 500; }
.hero-trust-item .check { color: var(--green); font-weight: 800; }
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
}
.hero-card-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.service-links { display: grid; gap: 10px; }
.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: white;
  font-weight: 600;
  font-size: 15px;
  transition: all .15s;
}
.service-link:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.25); transform: translateX(3px); }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 96px 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); color: white; }
.section--dark .section-title h2 { color: white; }
.section--dark .section-title p { color: rgba(255,255,255,.65); }
.section-title { margin-bottom: 40px; }
.section-title .eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-title h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -.04em; line-height: 1.08; color: var(--navy); margin-bottom: 14px; }
.section-title p { font-size: 18px; color: var(--muted); max-width: 660px; line-height: 1.6; }
.section-title--center { text-align: center; }
.section-title--center p { margin: 0 auto; }

/* ── Cards / Grids ────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.card-icon--blue { background: var(--blue-ghost); }
.card-icon--green { background: var(--green-light); }
.card-icon--gold { background: var(--gold-light); }
.card h3 { font-size: 19px; font-weight: 800; letter-spacing: -.025em; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.card ul { margin-top: 14px; display: grid; gap: 8px; }
.card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text); }
.card ul li::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 14px; margin-top: 16px; }
.card-link:hover { text-decoration: underline; }

/* ── Stats ────────────────────────────────────────────────── */
.stat-row { display: flex; gap: 20px; flex-wrap: wrap; }
.stat { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 28px; flex: 1; min-width: 160px; }
.stat .number { font-size: 40px; font-weight: 900; letter-spacing: -.06em; color: var(--navy); line-height: 1; }
.stat .number .unit { font-size: 22px; color: var(--blue); }
.stat .label { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ── Trust bar ────────────────────────────────────────────── */
.trust-bar { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ── CTA Band ─────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #0e4db8 100%);
  border-radius: var(--radius-xl);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(22px, 3.5vw, 34px); font-weight: 900; letter-spacing: -.04em; color: white; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.78); font-size: 16px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ── Lead Form ────────────────────────────────────────────── */
.lead-form-wrap { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.lead-form-wrap h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 6px; letter-spacing: -.03em; }
.lead-form-wrap .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.lead-form { display: grid; gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: white;
  transition: border-color .15s;
  outline: none;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,95,212,.1); }
.form-submit {
  background: var(--green);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, transform .15s;
  margin-top: 4px;
  width: 100%;
}
.form-submit:hover { background: #0a8a4a; transform: translateY(-1px); }
.form-disclaimer { font-size: 12px; color: var(--light-text); line-height: 1.5; margin-top: 8px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 10px; }
details.faq-item { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
details.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 16px;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--blue); flex-shrink: 0; transition: transform .2s; }
details.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-answer p + p { margin-top: 10px; }

/* ── Compare table ────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { background: var(--navy); color: white; padding: 14px 18px; text-align: left; font-size: 14px; font-weight: 700; }
.compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.compare-table tr:nth-child(even) td { background: var(--off-white); }
.compare-table tr:last-child td { border-bottom: none; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--red); }
.maybe { color: var(--gold); font-weight: 600; }

/* ── Notice ───────────────────────────────────────────────── */
.notice { border-left: 4px solid var(--blue); background: var(--blue-ghost); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; font-size: 15px; color: var(--text); line-height: 1.6; }
.notice--green { border-color: var(--green); background: var(--green-light); }
.notice--gold { border-color: var(--gold); background: var(--gold-light); }
.notice strong { color: var(--navy); }

/* ── Article layout ───────────────────────────────────────── */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article-body h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; letter-spacing: -.04em; color: var(--navy); margin: 48px 0 16px; padding-top: 8px; border-top: 1px solid var(--border); }
.article-body h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.article-body h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin: 28px 0 10px; letter-spacing: -.02em; }
.article-body p { font-size: 16.5px; color: var(--text); line-height: 1.75; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 0; display: grid; gap: 10px; }
.article-body ul li, .article-body ol li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--text); line-height: 1.65; }
.article-body ul li::before { content: '→'; color: var(--blue); font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.article-body ol { counter-reset: ol-counter; }
.article-body ol li { counter-increment: ol-counter; }
.article-body ol li::before { content: counter(ol-counter); background: var(--blue); color: white; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.article-body .notice { margin: 24px 0; }
.article-sidebar { position: sticky; top: 90px; display: grid; gap: 20px; }
.toc-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.toc-card h4 { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc-list { display: grid; gap: 2px; }
.toc-list a { font-size: 14px; color: var(--text); padding: 7px 10px; border-radius: 6px; display: block; transition: background .12s, color .12s; font-weight: 500; }
.toc-list a:hover { background: var(--blue-ghost); color: var(--blue); }

/* ── Steps ────────────────────────────────────────────────── */
.steps { display: grid; gap: 0; }
.step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: white; font-size: 18px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(26,95,212,.25); }
.step-body h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -.02em; }
.step-body p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }

/* ── Page header ──────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 60px 0 52px;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  background: radial-gradient(ellipse at right center, rgba(26,95,212,.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-inner { position: relative; }
.page-header h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; letter-spacing: -.05em; line-height: 1.06; margin: 12px 0 16px; }
.page-header .lead { font-size: 18px; color: rgba(255,255,255,.7); max-width: 640px; line-height: 1.6; margin-bottom: 24px; }
.page-header .meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }
.page-header .meta strong { color: rgba(255,255,255,.8); }

/* ── Pill ─────────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em; }
.pill--blue { background: var(--blue-ghost); color: var(--blue); }
.pill--green { background: var(--green-light); color: var(--green); }
.pill--gold { background: var(--gold-light); color: #a06a00; }

/* ── Compliance ───────────────────────────────────────────── */
.compliance-block { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; font-size: 13px; color: var(--muted); line-height: 1.65; }
.compliance-block strong { color: var(--text); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; }
.footer-brand .logo { color: white; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 16px; }
.footer-brand address { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.8; font-style: normal; }
.footer-brand address a { color: rgba(255,255,255,.6); }
.footer-brand address a:hover { color: white; }
.footer-col h4 { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 10px; transition: color .12s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; padding: 36px 28px; }
  .stat-row { flex-direction: column; }
  .site-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 48px; }
  .trust-bar-inner { gap: 20px; justify-content: flex-start; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .cta-band { padding: 28px 20px; }
  .lead-form-wrap { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ── BetterCoverageNow Additions ─────────────────────────── */
.logo-icon.insurance { background: linear-gradient(135deg, var(--blue), var(--green)); }
.zip-card .lead-form { gap: 12px; }
.zip-form-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.zip-form-row input { padding: 15px 16px; border: 1.5px solid var(--border); border-radius: 999px; font-size: 16px; outline: none; }
.zip-form-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,95,212,.1); }
.tool-panel { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.tool-panel h3 { color: var(--navy); font-size: 22px; font-weight: 900; letter-spacing: -.03em; margin-bottom: 8px; }
.tool-panel p { color: var(--muted); margin-bottom: 18px; }
.tool-form { display: grid; gap: 13px; }
.tool-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text); }
.tool-form input,.tool-form select,.quote-wizard input,.quote-wizard select,.quote-wizard textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; color: var(--text); background: white; outline: none; }
.tool-form input:focus,.tool-form select:focus,.quote-wizard input:focus,.quote-wizard select:focus,.quote-wizard textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,95,212,.1); }
.result { margin-top: 14px; padding: 14px 16px; border-left: 4px solid var(--green); background: var(--green-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 700; color: var(--navy); }
.quote-cta { margin-top: 12px; width: 100%; }
.hero-card .zip-card-title { color: white; font-size: 24px; font-weight: 900; letter-spacing: -.04em; margin-bottom: 8px; }
.hero-card .zip-card-copy { color: rgba(255,255,255,.66); margin-bottom: 18px; }
.quick-links { display: grid; gap: 10px; }
.quick-link { display:flex; justify-content:space-between; align-items:center; background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); font-weight: 800; color: var(--navy); }
.quick-link:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.quote-wizard { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); max-width: 860px; margin: 0 auto; }
.progress { display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.progress-dot { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border-dark); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; background: white; }
.progress-dot.active { background: var(--blue); border-color: var(--blue); color: white; }
.progress-line { width: 72px; height: 2px; background: var(--border); }
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.wizard-step h2 { color: var(--navy); font-size: clamp(24px,3.5vw,34px); letter-spacing: -.04em; font-weight: 900; margin-bottom: 8px; }
.wizard-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.coverage-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.coverage-choice-grid label { cursor: pointer; }
.coverage-choice-grid input { display: none; }
.coverage-choice-grid span { display: block; padding: 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-weight: 800; background: var(--off-white); color: var(--navy); }
.coverage-choice-grid input:checked + span { border-color: var(--blue); background: var(--blue-ghost); box-shadow: 0 0 0 3px rgba(26,95,212,.1); }
.zip-confirm { display: inline-flex; align-items: center; gap: 7px; background: var(--blue-ghost); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; color: var(--navy); font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.table-radio { display:flex; align-items:center; gap:8px; font-weight:700; }
.table-radio input { width: auto!important; }
.choose-rate { white-space: nowrap; }
.hidden { display:none!important; }
.consent { display:flex!important; gap:10px!important; align-items:flex-start; font-size:13px!important; color:var(--muted)!important; }
.consent input { width:auto!important; margin-top:4px; }
.form-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.page-header { background: linear-gradient(150deg, #f6f8fc 0%, #e8f1fd 100%); padding: 54px 0; border-bottom: 1px solid var(--border); }
.page-header-inner { max-width: 820px; }
.page-header h1 { font-size: clamp(34px,5vw,58px); line-height: 1.05; letter-spacing: -.055em; color: var(--navy); font-weight: 900; margin: 14px 0; }
.page-header .lead { font-size: 18px; color: var(--muted); line-height: 1.65; }
.meta { display:flex; gap:18px; flex-wrap:wrap; margin-top:20px; font-size:13px; color: var(--muted); }
.pill { display:inline-flex; align-items:center; padding:6px 12px; border-radius:999px; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.pill--blue { background: var(--blue-ghost); color: var(--blue); }
.pill--green { background: var(--green-light); color: var(--green); }
.pill--gold { background: var(--gold-light); color: #9f6e00; }
.compliance-block { background: var(--off-white); border:1px solid var(--border); border-radius:var(--radius); padding:18px 20px; color:var(--muted); font-size:13px; line-height:1.65; }
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 54px 0 0; }
.site-footer .logo { color: white; }
.site-footer .logo-name .tagline { color: rgba(255,255,255,.5); }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr repeat(4,1fr); gap: 34px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p,.footer-brand address { font-style: normal; font-size: 14px; line-height:1.7; color: rgba(255,255,255,.58); margin-top:14px; }
.footer-col h4 { color:white; font-size:14px; margin-bottom:12px; }
.footer-col a { display:block; color: rgba(255,255,255,.58); padding:5px 0; font-size:14px; }
.footer-col a:hover { color:white; }
.footer-bottom { display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; padding:20px 0; font-size:12px; color:rgba(255,255,255,.45); }
@media (max-width: 900px) { .hero-grid,.grid-2,.grid-3,.grid-4,.article-layout,.site-footer .footer-grid,.form-grid-2 { grid-template-columns: 1fr; } .site-nav { display:none; } .zip-form-row { grid-template-columns:1fr; } .coverage-choice-grid { grid-template-columns:1fr; } .progress-line { width: 34px; } .cta-band { flex-direction:column; align-items:flex-start; padding:32px; } }


/* V11 contrast improvements */
.nav-links .cta,.nav-links .btn,.request-quote-btn,.quote-btn,.btn-primary{
    background:#0b5ed7 !important;
    color:#ffffff !important;
    font-weight:800 !important;
}
.btn,.btn-primary{
    color:#ffffff !important;
}


/* Fix invisible CTA in Ready to Compare Actual Options section */
.cta .btn,
.ready-compare .btn,
.cta-box .btn,
.section-cta .btn,
a.btn {
    background: #0B5ED7 !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.cta .btn:hover,
.ready-compare .btn:hover,
.cta-box .btn:hover,
.section-cta .btn:hover {
    background: #084298 !important;
    color: #FFFFFF !important;
}

/* V16 calculator shortcut navigation */
.calculator-jump-nav{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin:0 0 1.5rem;padding:.85rem 1rem;background:#fff;border:1px solid var(--border,#e5e7eb);border-radius:12px;box-shadow:0 4px 14px rgba(15,23,42,.05)}
.calculator-jump-nav span{font-weight:800;color:var(--ink,#111827);font-size:.9rem;margin-right:.25rem}
.calculator-jump-nav a{display:inline-flex;align-items:center;justify-content:center;padding:.45rem .85rem;border-radius:999px;background:var(--accent-light,#e6f4ee);color:var(--accent,#16573e);font-weight:800;font-size:.82rem;text-decoration:none;border:1px solid rgba(22,87,62,.14)}
.calculator-jump-nav a:hover{background:var(--accent,#16573e);color:#fff}
@media(max-width:640px){.calculator-jump-nav{align-items:flex-start}.calculator-jump-nav span{width:100%}.calculator-jump-nav a{flex:1;min-width:42%}}


/* V18: Higher contrast / more pop on Comparison Tools page */
body.tools-page .page-hero,
body.tools-page .hero,
body.tools-page .subhero {
  background: linear-gradient(135deg, #07172f 0%, #0f766e 58%, #f97316 100%) !important;
  color: #ffffff !important;
}

body.tools-page .page-hero h1,
body.tools-page .hero h1,
body.tools-page .subhero h1,
body.tools-page .page-hero p,
body.tools-page .hero p,
body.tools-page .subhero p {
  color: #ffffff !important;
}

body.tools-page .calculator-nav,
body.tools-page .tool-menu,
body.tools-page .jump-links {
  background: #07172f !important;
  border: 2px solid #14b8a6 !important;
  border-radius: 18px !important;
  padding: 18px !important;
  box-shadow: 0 18px 35px rgba(7, 23, 47, 0.22) !important;
}

body.tools-page .calculator-nav a,
body.tools-page .tool-menu a,
body.tools-page .jump-links a {
  background: #f97316 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.28) !important;
}

body.tools-page .calculator-nav a:hover,
body.tools-page .tool-menu a:hover,
body.tools-page .jump-links a:hover {
  background: #14b8a6 !important;
  color: #07172f !important;
}

body.tools-page .tool-card,
body.tools-page .calculator-card,
body.tools-page .card {
  border: 2px solid #0f766e !important;
  box-shadow: 0 16px 35px rgba(15, 118, 110, 0.18) !important;
}

body.tools-page .tool-card h3,
body.tools-page .calculator-card h3,
body.tools-page .card h3 {
  color: #07172f !important;
}

body.tools-page .section:nth-of-type(even),
body.tools-page section:nth-of-type(even) {
  background: #ecfeff !important;
}

body.tools-page .section:nth-of-type(odd),
body.tools-page section:nth-of-type(odd) {
  background: #fff7ed !important;
}

body.tools-page .btn,
body.tools-page .btn-primary,
body.tools-page .btn-green,
body.tools-page .hero-card-cta,
body.tools-page .pick-cta {
  background: #f97316 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  font-weight: 900 !important;
}

body.tools-page .btn:hover,
body.tools-page .btn-primary:hover,
body.tools-page .btn-green:hover {
  background: #0f766e !important;
  color: #ffffff !important;
}

body.tools-page .eyebrow,
body.tools-page .section-label,
body.tools-page .badge {
  color: #f97316 !important;
  font-weight: 900 !important;
}

body.tools-page .result,
body.tools-page .alert,
body.tools-page .estimate-box {
  background: #07172f !important;
  color: #ffffff !important;
  border-left: 6px solid #f97316 !important;
}


/* V19 Fix: ensure Back buttons are visible in quote wizard */
.prev-step,
button.prev-step,
.wizard-actions .btn-secondary,
.wizard-actions button:first-child{
    background:#6b7280 !important;
    color:#ffffff !important;
    border:2px solid #374151 !important;
    opacity:1 !important;
    visibility:visible !important;
    display:inline-flex !important;
}
.prev-step:hover,
.wizard-actions .btn-secondary:hover{
    background:#374151 !important;
    color:#ffffff !important;
}

/* V20 Global visibility fixes for every insurance type page */
.article-layout .btn,
.article-layout .btn-primary,
.article-layout .btn-green,
.article-layout .btn-secondary,
.compare-table .btn,
.sidebar-card .btn,
.site-nav .btn,
.wizard-actions .btn,
.wizard-actions .btn-secondary,
.prev-step,
button.prev-step {
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

.article-layout .btn-primary,
.compare-table .btn-primary,
.site-nav .btn-primary {
  background: #0B5ED7 !important;
  color: #FFFFFF !important;
  border: 2px solid #0B5ED7 !important;
}

.article-layout .btn-green,
.sidebar-card .btn-green,
.compare-table .btn-green {
  background: #15803D !important;
  color: #FFFFFF !important;
  border: 2px solid #15803D !important;
}

.article-layout .btn-secondary,
.compare-table .btn-secondary,
.wizard-actions .btn-secondary,
.prev-step,
button.prev-step {
  background: #374151 !important;
  color: #FFFFFF !important;
  border: 2px solid #111827 !important;
}

.article-layout .btn:hover,
.compare-table .btn:hover,
.sidebar-card .btn:hover,
.wizard-actions .btn:hover {
  filter: brightness(0.92) !important;
  color: #FFFFFF !important;
}

.sidebar-card {
  border: 2px solid rgba(21, 128, 61, 0.25) !important;
}

.sidebar-card .btn,
.sidebar-card a.btn {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 44px !important;
  color: #FFFFFF !important;
}

/* V21: Estimated Rate Comparison table cleanup */
.compare-table th:nth-child(1), .compare-table td:nth-child(1){width:32%;}
.compare-table th:nth-child(2), .compare-table td:nth-child(2){width:68%;}
.request-all-rates-wrap{margin-top:18px;text-align:center;}
.request-all-rates-btn{background:#0B5ED7!important;color:#fff!important;border:2px solid #0B5ED7!important;font-weight:800!important;padding:12px 22px!important;border-radius:8px!important;}
.request-all-rates-btn:hover{background:#084298!important;border-color:#084298!important;color:#fff!important;}


/* V23 - Make all quote request boxes/forms pop more */
.sidebar-card,
.quote-card,
.lead-form,
.request-quote-box,
.quote-request-box,
.cta-card,
.form-card {
  background: linear-gradient(135deg, #082f49 0%, #0f766e 58%, #14b8a6 100%) !important;
  color: #ffffff !important;
  border: 3px solid #fbbf24 !important;
  box-shadow: 0 18px 42px rgba(8, 47, 73, 0.32) !important;
}

.sidebar-card h2,
.sidebar-card h3,
.sidebar-card h4,
.sidebar-card p,
.quote-card h2,
.quote-card h3,
.quote-card h4,
.quote-card p,
.lead-form h2,
.lead-form h3,
.lead-form h4,
.lead-form p,
.request-quote-box h2,
.request-quote-box h3,
.request-quote-box p,
.quote-request-box h2,
.quote-request-box h3,
.quote-request-box p {
  color: #ffffff !important;
}

.sidebar-card label,
.quote-card label,
.lead-form label,
.request-quote-box label,
.quote-request-box label {
  color: #e0f2fe !important;
  font-weight: 800 !important;
}

.sidebar-card input,
.sidebar-card select,
.sidebar-card textarea,
.quote-card input,
.quote-card select,
.quote-card textarea,
.lead-form input,
.lead-form select,
.lead-form textarea,
.request-quote-box input,
.request-quote-box select,
.request-quote-box textarea,
.quote-request-box input,
.quote-request-box select,
.quote-request-box textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 2px solid #bae6fd !important;
}

.sidebar-card input::placeholder,
.quote-card input::placeholder,
.lead-form input::placeholder {
  color: #64748b !important;
}

.sidebar-card .btn,
.sidebar-card .btn-green,
.sidebar-card .btn-primary,
.sidebar-card a.btn,
.quote-card .btn,
.quote-card .btn-green,
.quote-card .btn-primary,
.quote-card button,
.lead-form .btn,
.lead-form .btn-green,
.lead-form .btn-primary,
.lead-form button,
.request-quote-box .btn,
.quote-request-box .btn {
  background: #f97316 !important;
  color: #ffffff !important;
  border: 3px solid #ffffff !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.38) !important;
}

.sidebar-card .btn:hover,
.sidebar-card .btn-green:hover,
.sidebar-card .btn-primary:hover,
.quote-card .btn:hover,
.quote-card .btn-green:hover,
.quote-card .btn-primary:hover,
.quote-card button:hover,
.lead-form button:hover,
.request-quote-box .btn:hover,
.quote-request-box .btn:hover {
  background: #fb923c !important;
  color: #111827 !important;
  border-color: #ffffff !important;
}

/* Keep non-quote informational cards from becoming too loud if they are not forms/sidebar CTAs */
.content-card:not(.quote-card):not(.request-quote-box) {
  background: #ffffff;
}


/* V24 - Quote boxes aligned with homepage color palette */
.sidebar-card,
.quote-card,
.lead-form,
.request-quote-box,
.quote-request-box,
.cta-card,
.form-card{
  background: linear-gradient(135deg,#111827 0%, #16573E 55%, #208A5F 100%) !important;
  border:2px solid #E6F4EE !important;
  box-shadow:0 18px 40px rgba(17,24,39,.28) !important;
  color:#ffffff !important;
}

.sidebar-card h2,.sidebar-card h3,.sidebar-card h4,
.quote-card h2,.quote-card h3,.quote-card h4,
.request-quote-box h2,.request-quote-box h3{
  color:#ffffff !important;
}

.sidebar-card p,.quote-card p,.request-quote-box p,
.sidebar-card label,.quote-card label,.request-quote-box label{
  color:#E6F4EE !important;
}

.sidebar-card input,.sidebar-card select,.sidebar-card textarea,
.quote-card input,.quote-card select,.quote-card textarea,
.request-quote-box input,.request-quote-box select,.request-quote-box textarea{
  background:rgba(255,255,255,.96) !important;
  border:2px solid #D1D5DB !important;
  color:#111827 !important;
}

.sidebar-card .btn,.quote-card .btn,.request-quote-box .btn,
.sidebar-card button,.quote-card button{
  background:#B8801F !important;
  color:#ffffff !important;
  border:2px solid #ffffff !important;
  box-shadow:0 10px 24px rgba(184,128,31,.35) !important;
  font-weight:900 !important;
}

.sidebar-card .btn:hover,.quote-card .btn:hover,
.request-quote-box .btn:hover{
  background:#D49A2A !important;
  color:#111827 !important;
}


/* V25 - Branded quote request box refresh, homepage-aligned */
.sidebar-card.request-quote-box,
.sidebar-card:has(a[href*="quote.html"]),
.quote-card,
.quote-request-box,
.request-quote-box,
.lead-form {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at top right, rgba(32, 138, 95, 0.42), transparent 36%),
    linear-gradient(145deg, #0B0F19 0%, #123524 50%, #16573E 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(230, 244, 238, 0.36) !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 48px rgba(11, 15, 25, 0.34) !important;
}

.sidebar-card.request-quote-box::before,
.sidebar-card:has(a[href*="quote.html"])::before,
.quote-card::before,
.quote-request-box::before,
.request-quote-box::before,
.lead-form::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, rgba(184,128,31,0.28), transparent 42%) !important;
  pointer-events: none !important;
}

.sidebar-card.request-quote-box > *,
.sidebar-card:has(a[href*="quote.html"]) > *,
.quote-card > *,
.quote-request-box > *,
.request-quote-box > *,
.lead-form > * {
  position: relative !important;
  z-index: 1 !important;
}

.sidebar-card.request-quote-box h2,
.sidebar-card.request-quote-box h3,
.sidebar-card.request-quote-box h4,
.sidebar-card:has(a[href*="quote.html"]) h2,
.sidebar-card:has(a[href*="quote.html"]) h3,
.sidebar-card:has(a[href*="quote.html"]) h4,
.quote-card h2,
.quote-card h3,
.quote-card h4,
.quote-request-box h2,
.quote-request-box h3,
.request-quote-box h2,
.request-quote-box h3,
.lead-form h2,
.lead-form h3 {
  color: #FFFFFF !important;
  font-weight: 900 !important;
  letter-spacing: -0.01em !important;
}

.sidebar-card.request-quote-box p,
.sidebar-card:has(a[href*="quote.html"]) p,
.quote-card p,
.quote-request-box p,
.request-quote-box p,
.lead-form p {
  color: #D8EFE5 !important;
}

.sidebar-card.request-quote-box label,
.sidebar-card:has(a[href*="quote.html"]) label,
.quote-card label,
.quote-request-box label,
.request-quote-box label,
.lead-form label {
  color: #E6F4EE !important;
  font-weight: 800 !important;
}

.sidebar-card.request-quote-box input,
.sidebar-card.request-quote-box select,
.sidebar-card.request-quote-box textarea,
.sidebar-card:has(a[href*="quote.html"]) input,
.sidebar-card:has(a[href*="quote.html"]) select,
.sidebar-card:has(a[href*="quote.html"]) textarea,
.quote-card input,
.quote-card select,
.quote-card textarea,
.quote-request-box input,
.quote-request-box select,
.quote-request-box textarea,
.request-quote-box input,
.request-quote-box select,
.request-quote-box textarea,
.lead-form input,
.lead-form select,
.lead-form textarea {
  background: #FFFFFF !important;
  color: #111827 !important;
  border: 2px solid rgba(230, 244, 238, 0.95) !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 0 rgba(0,0,0,0.08) !important;
}

.sidebar-card.request-quote-box .btn,
.sidebar-card.request-quote-box a.btn,
.sidebar-card.request-quote-box button,
.sidebar-card:has(a[href*="quote.html"]) .btn,
.sidebar-card:has(a[href*="quote.html"]) a.btn,
.sidebar-card:has(a[href*="quote.html"]) button,
.quote-card .btn,
.quote-card a.btn,
.quote-card button,
.quote-request-box .btn,
.request-quote-box .btn,
.lead-form .btn,
.lead-form button {
  background: linear-gradient(135deg, #B8801F 0%, #F59E0B 100%) !important;
  color: #111827 !important;
  border: 2px solid rgba(255,255,255,0.92) !important;
  border-radius: 999px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  box-shadow: 0 14px 28px rgba(184,128,31,0.38) !important;
}

.sidebar-card.request-quote-box .btn:hover,
.sidebar-card.request-quote-box a.btn:hover,
.sidebar-card.request-quote-box button:hover,
.sidebar-card:has(a[href*="quote.html"]) .btn:hover,
.sidebar-card:has(a[href*="quote.html"]) a.btn:hover,
.sidebar-card:has(a[href*="quote.html"]) button:hover,
.quote-card .btn:hover,
.quote-card a.btn:hover,
.quote-card button:hover,
.quote-request-box .btn:hover,
.request-quote-box .btn:hover,
.lead-form .btn:hover,
.lead-form button:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%) !important;
  color: #0B0F19 !important;
  transform: translateY(-1px) !important;
}

/* Slightly tighter, polished sidebar quote boxes */
.sidebar-card.request-quote-box,
.sidebar-card:has(a[href*="quote.html"]) {
  padding: 1.5rem !important;
}


/* V26 - Widen quote request sidebar/card so text fits on one line */
.content-sidebar,
.article-layout,
.page-layout,
.two-col,
.content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(390px, 440px) !important;
  column-gap: 2rem !important;
}

.sidebar {
  min-width: 390px !important;
  max-width: 440px !important;
}

.sidebar-card.request-quote-box,
.sidebar-card:has(a[href*="quote.html"]),
.request-quote-box,
.quote-request-box,
.quote-card {
  width: 100% !important;
  min-width: 390px !important;
  max-width: 440px !important;
}

.sidebar-card.request-quote-box h2,
.sidebar-card.request-quote-box h3,
.sidebar-card:has(a[href*="quote.html"]) h2,
.sidebar-card:has(a[href*="quote.html"]) h3,
.request-quote-box h2,
.request-quote-box h3,
.quote-request-box h2,
.quote-request-box h3 {
  white-space: nowrap !important;
  font-size: clamp(1.05rem, 1.15vw, 1.22rem) !important;
  line-height: 1.15 !important;
}

.sidebar-card.request-quote-box p,
.sidebar-card:has(a[href*="quote.html"]) p,
.request-quote-box p,
.quote-request-box p {
  white-space: nowrap !important;
  font-size: .86rem !important;
  line-height: 1.45 !important;
}

/* Keep mobile compatible */
@media (max-width: 920px) {
  .content-sidebar,
  .article-layout,
  .page-layout,
  .two-col,
  .content-grid {
    grid-template-columns: 1fr !important;
  }

  .sidebar,
  .sidebar-card.request-quote-box,
  .sidebar-card:has(a[href*="quote.html"]),
  .request-quote-box,
  .quote-request-box,
  .quote-card {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .sidebar-card.request-quote-box h2,
  .sidebar-card.request-quote-box h3,
  .sidebar-card:has(a[href*="quote.html"]) h2,
  .sidebar-card:has(a[href*="quote.html"]) h3,
  .request-quote-box h2,
  .request-quote-box h3,
  .quote-request-box h2,
  .quote-request-box h3,
  .sidebar-card.request-quote-box p,
  .sidebar-card:has(a[href*="quote.html"]) p,
  .request-quote-box p,
  .quote-request-box p {
    white-space: normal !important;
  }
}
