/* Insurance Near Me - Shared Landing Page Styles
   Optimized for: mobile-first, fast load, high conversion, SEO
   Deploy: upload once to /zpxp/css/landing.css (or root) - referenced by all landing pages */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #212529;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* --- Sticky top call bar (mobile-critical) --- */
.top-bar {
  background: #0056b3;
  color: #fff;
  padding: 10px 15px;
  text-align: center;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.top-bar a { color: #fff; text-decoration: none; }
.top-bar .phone { font-size: 1.15rem; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  padding: 50px 20px 40px;
  text-align: center;
}
.hero h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: 12px;
  font-weight: 800;
}
.hero .sub {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 24px;
  opacity: 0.95;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.95;
}
.trust-row span::before { content: "✓ "; color: #ffc107; font-weight: 700; }

/* --- CTA buttons --- */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px 0 10px;
}
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }
.btn-primary { background: #ffc107; color: #212529; }
.btn-secondary { background: #fff; color: #0056b3; border-color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }

/* --- Content sections --- */
.container { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.container h2 {
  font-size: 1.7rem;
  color: #0056b3;
  margin-bottom: 16px;
  margin-top: 8px;
}
.container h3 {
  font-size: 1.25rem;
  color: #212529;
  margin: 22px 0 10px;
}
.container p { margin-bottom: 14px; font-size: 1.05rem; }
.container ul { margin: 10px 0 18px 22px; }
.container li { margin-bottom: 8px; font-size: 1.05rem; }

/* --- Highlight box --- */
.highlight {
  background: #f8f9fa;
  border-left: 4px solid #007bff;
  padding: 18px 20px;
  margin: 24px 0;
  border-radius: 4px;
}
.highlight strong { color: #0056b3; }

/* --- Inline lead form --- */
.lead-form-wrap {
  background: #f0f6ff;
  padding: 30px 20px;
  border-radius: 8px;
  margin: 30px 0;
  border: 1px solid #cce0ff;
}
.lead-form-wrap h2 { text-align: center; }
.lead-form-wrap p.sub-form { text-align: center; margin-bottom: 20px; color: #555; }
.lead-form { display: grid; gap: 12px; max-width: 500px; margin: 0 auto; }
.lead-form input, .lead-form select, .lead-form textarea {
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  font-family: inherit;
}
.lead-form button {
  background: #ffc107;
  color: #212529;
  border: none;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}
.lead-form button:hover { background: #e0a800; }
.form-disclaimer { font-size: 0.8rem; color: #666; text-align: center; margin-top: 12px; }

/* --- Testimonials --- */
.testimonial-row { display: grid; gap: 18px; margin: 20px 0; }
@media(min-width: 640px) { .testimonial-row { grid-template-columns: 1fr 1fr; } }
.testimonial {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 18px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.testimonial .stars { color: #ffc107; font-size: 1.1rem; }
.testimonial p { font-style: italic; margin: 8px 0; font-size: 0.98rem; }
.testimonial .name { font-weight: 600; font-size: 0.9rem; color: #555; }

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}
.faq-item h3 { color: #0056b3; margin: 0 0 8px; font-size: 1.1rem; }

/* --- Bottom CTA banner --- */
.cta-banner {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; font-size: 1.7rem; }
.cta-banner p { font-size: 1.1rem; margin-bottom: 20px; opacity: 0.95; }

/* --- Footer --- */
footer {
  background: #212529;
  color: #ccc;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
}
footer a { color: #ffc107; text-decoration: none; }
footer .nap { margin: 8px 0; }
footer .related-links { margin: 15px 0; }
footer .related-links a { margin: 0 8px; display: inline-block; }

/* --- Mobile tweaks --- */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.65rem; }
  .hero .sub { font-size: 1rem; }
  .container h2 { font-size: 1.4rem; }
  .btn { padding: 12px 20px; font-size: 1rem; width: 100%; text-align: center; }
  .cta-group { flex-direction: column; }
}
