/* Mobile-first styles for generated lead-gen sites.
   Kept deliberately simple: white background, one accent color
   (--primary-color, set per-site), no gradients. Phone CTA and form must be
   visible above the fold on a phone screen. */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.5;
  padding-bottom: 72px; /* room for sticky call bar */
}

a { color: var(--primary-color, #1e40af); }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-top {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 16px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.site-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a1a;
  text-decoration: none;
}
.header-phone {
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color, #1e40af);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.site-nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 10px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
}
.site-nav a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--primary-color, #1e40af);
}

/* Hero */
.hero {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 32px 16px 40px;
}
.hero-inner {
  max-width: 560px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 1.7rem;
  margin: 0 0 8px;
  color: #111827;
}
.hero-sub {
  color: #4b5563;
  margin: 0 0 20px;
}
.btn-call {
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--primary-color, #1e40af);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px;
  border-radius: 10px;
}
.divider-text {
  text-align: center;
  margin: 20px 0;
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Lead form */
.lead-form {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.btn-submit {
  background: var(--primary-color, #1e40af);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}
.form-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
  text-align: center;
}

/* Services / about / faq / thank-you body copy */
.services,
.services-page,
.about-page,
.faq-page,
.thank-you-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px;
}
.services h2,
.services-page h1,
.about-page h1,
.faq-page h1,
.thank-you-page h1 {
  margin-top: 0;
  color: #111827;
}
.about-page h2 {
  font-size: 1.1rem;
  color: #111827;
}
.services-list,
.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}
.services-list li,
.checklist li {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  border-radius: 8px;
}
.faq-item {
  margin-bottom: 20px;
}
.faq-item h2 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #111827;
}

/* Footer */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  color: #4b5563;
  text-align: center;
  padding: 24px 16px;
}
.site-footer p {
  margin: 4px 0;
}
.footer-name {
  color: #111827;
}
.site-footer a {
  color: var(--primary-color, #1e40af);
  text-decoration: underline;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.footer-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Sticky call bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  z-index: 20;
}
.sticky-call {
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--primary-color, #1e40af);
  color: #fff;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
  .hero-inner { max-width: 640px; }
}
