/* === Treasure Valley Plumbing Pros === */
/* Mobile-first, fast-loading, conversion-optimized */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #1a1a1a; line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: #1a73e8; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header { background: #0d1b2a; color: #fff; padding: 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.header-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; padding: 0.6rem 1.25rem; gap: 0.5rem; }
.logo { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; white-space: nowrap; flex-shrink: 0; }
.logo span { color: #4da6ff; }
nav { display: flex; gap: 0.15rem; flex-wrap: nowrap; margin-left: auto; }
nav a { color: #b0c4de; text-decoration: none; padding: 0.35rem 0.5rem; font-size: 0.82rem; border-radius: 4px; transition: background 0.2s, color 0.2s; white-space: nowrap; }
nav a:hover, nav a.active { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }
.header-phone { background: #22c55e; color: #fff; padding: 0.5rem 1rem; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 0.9rem; white-space: nowrap; transition: background 0.2s; display: inline-flex; align-items: center; gap: 0.4rem; flex-shrink: 0; margin-left: 0.5rem; }
.header-phone:hover { background: #16a34a; text-decoration: none; }
.phone-icon { font-size: 1rem; filter: brightness(10); }

/* Hero */
.hero { background: linear-gradient(135deg, #0d1b2a 0%, #1b3a5c 50%, #1a4a7a 100%); color: #fff; padding: 4rem 1.5rem; text-align: center; }
.hero-inner { max-width: 1000px; margin: 0 auto; }
.hero h1 { font-size: 2.4rem; max-width: 850px; margin: 0 auto 1.25rem; line-height: 1.15; font-weight: 800; }
.hero p { font-size: 1.15rem; max-width: 650px; margin: 0 auto 2rem; opacity: 0.9; line-height: 1.6; }
.cta-button { display: inline-block; background: #22c55e; color: #fff; padding: 1rem 2.5rem; font-size: 1.3rem; font-weight: 700; border-radius: 8px; text-decoration: none; transition: background 0.2s, transform 0.1s; box-shadow: 0 4px 12px rgba(34,197,94,0.35); }
.cta-button:hover { background: #16a34a; transform: translateY(-1px); text-decoration: none; }
.trust-line { font-size: 0.9rem; margin-top: 1.25rem; opacity: 0.7; }
.trust-badges { display: flex; justify-content: center; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; max-width: 700px; margin-left: auto; margin-right: auto; }
.trust-badge { text-align: center; font-size: 0.85rem; opacity: 0.8; }
.trust-badge strong { display: block; font-size: 1.5rem; color: #4da6ff; }

/* Main content */
main { max-width: 1000px; margin: 0 auto; padding: 3rem 1.5rem; }
main h2 { font-size: 1.65rem; margin: 2.5rem 0 1rem; color: #0d1b2a; font-weight: 700; line-height: 1.3; }
main h3 { font-size: 1.2rem; margin: 1.75rem 0 0.75rem; color: #1b3a5c; font-weight: 600; }
main p { margin-bottom: 1.15rem; color: #333; }
main ul, main ol { margin: 0 0 1.5rem 1.5rem; color: #333; }
main li { margin-bottom: 0.5rem; }

/* Intro bar — may be outside main, needs own constraint */
.intro-bar { background: #f0f6ff; border-left: 4px solid #1a73e8; padding: 1.25rem 1.5rem; margin: 2rem auto; border-radius: 0 6px 6px 0; max-width: 1000px; }
.intro-bar p { margin: 0; color: #1b3a5c; font-size: 1.05rem; }

/* Mid-page CTA */
.mid-cta { background: #f8f9fa; padding: 3rem 1.5rem; text-align: center; border-top: 3px solid #22c55e; }
.mid-cta h2 { margin-bottom: 0.5rem; color: #0d1b2a; max-width: 700px; margin-left: auto; margin-right: auto; }
.mid-cta p { margin-bottom: 1.5rem; color: #555; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 1.5rem; transition: box-shadow 0.2s, border-color 0.2s; }
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: #1a73e8; }
.card h3 { color: #0d1b2a; margin: 0 0 0.5rem; font-size: 1.1rem; }
.card p { color: #555; font-size: 0.95rem; margin: 0; }
.card a { display: inline-block; margin-top: 0.75rem; color: #1a73e8; font-weight: 600; font-size: 0.9rem; }

/* Service list */
.service-list { list-style: none; padding: 0; margin: 2rem 0; }
.service-list li { padding: 1rem 1.25rem; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; gap: 0.75rem; }
.service-list li:last-child { border-bottom: none; }
.service-list .check { color: #22c55e; font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }

/* Pricing table */
.pricing-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.95rem; }
.pricing-table th { background: #0d1b2a; color: #fff; padding: 0.85rem 1rem; text-align: left; font-weight: 600; }
.pricing-table td { padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; }
.pricing-table tr:nth-child(even) { background: #f8fafc; }
.pricing-table tr:hover { background: #f0f6ff; }

/* FAQ */
.faq-item { border-bottom: 1px solid #e2e8f0; padding: 1.5rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { color: #0d1b2a; font-size: 1.1rem; margin-bottom: 0.5rem; }
.faq-item p { color: #555; margin: 0; }

/* Inline CTA */
.inline-cta { background: #0d1b2a; color: #fff; padding: 1.5rem 2rem; border-radius: 8px; text-align: center; margin: 2rem 0; max-width: 1000px; }
.inline-cta p { color: #b0c4de; margin: 0 0 1rem; font-size: 1.05rem; }
.inline-cta a { color: #fff; }

/* Team / Image sections */
.team-img { border-radius: 8px; margin: 1.5rem 0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0; }
.img-row img { border-radius: 8px; width: 100%; height: 250px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

/* Footer */
footer { background: #0d1b2a; color: #94a3b8; padding: 3rem 1.5rem 1rem; }
.footer-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer-col h3 { color: #fff; margin-bottom: 1rem; font-size: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-phone { color: #22c55e; text-decoration: none; font-weight: 700; font-size: 1.15rem; display: block; margin-top: 0.5rem; }
.footer-phone:hover { color: #4ade80; text-decoration: none; }
.footer-bottom { text-align: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid #1e3a5f; font-size: 0.8rem; color: #64748b; max-width: 1000px; margin-left: auto; margin-right: auto; }
.footer-bottom a { color: #64748b; }
.disclaimer { max-width: 900px; margin: 1rem auto 0; font-size: 0.75rem; color: #64748b; line-height: 1.5; text-align: center; }

/* Sticky mobile CTA */
.sticky-call { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; }
.sticky-call a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: #22c55e; color: #fff; text-align: center; padding: 0.9rem; font-size: 1.15rem; font-weight: 700; text-decoration: none; box-shadow: 0 -2px 8px rgba(0,0,0,0.15); }
.sticky-call a:hover { background: #16a34a; text-decoration: none; }

/* Breadcrumb */
.breadcrumb { max-width: 1000px; margin: 0 auto; padding: 1rem 1.5rem 0; font-size: 0.85rem; color: #94a3b8; }
.breadcrumb a { color: #1a73e8; }

/* Responsive */
@media (max-width: 768px) {
  nav { display: none; }
  .hero h1 { font-size: 1.7rem; }
  .hero { padding: 2.5rem 1rem; }
  .hero p { font-size: 1rem; }
  .cta-button { font-size: 1.1rem; padding: 0.85rem 2rem; }
  main { padding: 2rem 1rem; }
  main h2 { font-size: 1.35rem; }
  .sticky-call { display: block; }
  body { padding-bottom: 56px; }
  .header-inner { padding: 0.5rem 1rem; }
  .logo { font-size: 1rem; }
  .header-phone { padding: 0.4rem 0.8rem; font-size: 0.9rem; }
  .trust-badges { gap: 1rem; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .img-row { grid-template-columns: 1fr; }
  .img-row img { height: 200px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .trust-badges { flex-direction: column; gap: 0.75rem; }
}
