/* CRO overhaul 2: compact mobile fold, mid-page CTAs, contrast. Keep the Florida marketplace look. */
:root{ --muted:#475569; }

.ab{padding:0;min-height:0;}
.ab-msg,.ab-msg.active{position:relative;padding:8px 20px;font-size:13px;line-height:1.4;}

.nq-midcta{margin:20px 0 28px;padding:16px 18px;background:#F0F6FC;border:1px solid #D7E6F5;border-radius:14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.nq-midcta p{margin:0;flex:1 1 180px;font-size:14px;font-weight:600;color:var(--navy,#0B2A4A);}
.nq-midcta a{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:10px;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;}
.nq-midcta a.nq-midcta-q{background:var(--teal,#0F766E);color:#fff;}
.nq-midcta a.nq-midcta-c{background:#fff;color:var(--navy,#0B2A4A);border:1.5px solid var(--border,#D6DEE8);}

.nq-zipstart{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:16px;}
.nq-zipstart input{width:110px;padding:12px 14px;border:1.5px solid var(--border,#D6DEE8);border-radius:10px;font-size:15px;font-family:inherit;}
.nq-zipstart a,.nq-zipstart button{padding:12px 18px;border-radius:10px;background:var(--teal,#0F766E);color:#fff;font-weight:700;font-size:14px;text-decoration:none;border:none;cursor:pointer;font-family:inherit;}

.gaq-products-primary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.gaq-products-more{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;}
.gaq-more-label{margin:18px 0 8px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);}
@media(max-width:640px){
  .gaq-products-primary{grid-template-columns:repeat(2,1fr);}
  .gaq-products-more{grid-template-columns:repeat(2,1fr);}
  .gaq-hero,.pg-hero{padding-top:28px !important;padding-bottom:20px !important;}
  .gaq-h1,.pg-h1{font-size:26px !important;margin-bottom:8px !important;}
  .gaq-sub,.pg-sub{font-size:14px !important;}
  .section.gaq-pick, section.section[style*="padding:64px"]{padding-top:24px !important;}
  /* Quote forms: first field should be on the first screen, not ~750px down */
  .qf-hero{padding:16px 0 12px !important;}
  .qf-h1{font-size:22px !important;margin-bottom:6px !important;}
  .qf-sub{font-size:13px !important;line-height:1.4 !important;}
  .qf-eyebrow{margin-bottom:4px !important;font-size:10px !important;}
  .qf-progress{padding:8px 0 !important;}
  .qf-step-dot{width:24px !important;height:24px !important;font-size:11px !important;}
  .qf-body{padding:16px 0 96px !important;min-height:0 !important;}
  .qf-hero-inner,.qf-form-inner{padding-left:16px !important;padding-right:16px !important;}
  .qf-page-title{font-size:20px !important;margin-bottom:4px !important;}
  .qf-page-desc,.qf-step-sub{margin-bottom:12px !important;}
}

/* Higher-contrast pale text (Lighthouse a11y) without changing brand colors */
.qf-sub,.hero-sub,.prod-sub,.pg-sub{color:rgba(255,255,255,.82) !important;}
.stat-label{color:rgba(255,255,255,.72) !important;}
footer .footer-tagline, footer p, .footer-legal, .footer-copy{color:rgba(255,255,255,.78);}

/* Home + get-a-quote: get the first start control onto the first mobile screen */
@media (max-width: 900px) {
  .hero { padding: 24px 0 28px !important; }
  .hero-inner { gap: 16px !important; }
  .hero-h1 { margin-bottom: 10px !important; }
  .hero-sub { margin-bottom: 12px !important; }
  .hero-ctas { margin-bottom: 10px !important; gap: 8px !important; }
  .hero-trust { gap: 8px 12px !important; }
  .quote-card { padding: 16px !important; }
  .quote-card .qc-heading { margin-bottom: 2px !important; font-size: 16px !important; }
  .qc-intro-emoji { display: none !important; }
  .quote-card p { margin-bottom: 10px !important; }
  .qc-submit { padding: 12px !important; margin-bottom: 8px !important; }
}

@media (max-width: 640px) {
  .gaq-hero { padding-top: 16px !important; padding-bottom: 10px !important; }
  .gaq-eyebrow { margin-bottom: 6px !important; }
  .gaq-h1 { font-size: 24px !important; margin-bottom: 6px !important; }
  .gaq-sub { font-size: 13px !important; line-height: 1.4 !important; }
  .gaq-form-section { margin-bottom: 16px !important; }
  .gaq-step { margin-bottom: 16px !important; }
  .gaq-step-label { margin-bottom: 10px !important; }
  .gaq-product { padding: 12px 6px !important; }
  .gaq-products-primary { gap: 8px !important; }
}
@media (max-width: 900px) {
  /* Card heading repeats the hero eyebrow; drop it so ZIP lands in the fold */
  .qc-intro { display: none !important; }
}
