/* ============================================================
   Sewer Backup Cleanup Provo, Utah — Shared Stylesheet
   Phase 1 Custom Website Build
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.75;
  color: #1a1a1a;
  background: #fff;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Arial', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #0d1f3c;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin: 2rem 0 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); margin: 1.5rem 0 0.75rem; }
h4 { font-size: 1.05rem; margin: 1rem 0 0.5rem; }

p { margin-bottom: 1.1rem; }
ul, ol { margin: 0.75rem 0 1.1rem 1.5rem; }
li { margin-bottom: 0.4rem; }

a { color: #b32020; text-decoration: none; }
a:hover { text-decoration: underline; }

strong { font-weight: 700; }

/* --- Layout --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.content-wrap { max-width: 760px; }

/* --- Header / Nav --- */
.site-header {
  background: #0d1f3c;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1100px;
  margin: 0 auto;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img,
.site-logo svg {
  height: 44px;
  width: auto;
  display: block;
}

/* Fallback text if SVG fails */
.site-logo span { display: none; }

.nav-cta {
  background: #b32020;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-cta:hover { background: #8f1818; text-decoration: none; }

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #0d1f3c 60%, #1a3560);
  color: #fff;
  padding: 60px 20px 50px;
  text-align: left;
}

.hero-inner { max-width: 1100px; margin: 0 auto; }

.hero h1 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 1rem; }
.hero p { color: #c8d8f0; font-size: 1.1rem; max-width: 680px; margin-bottom: 1.5rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: #b32020;
  color: #fff !important;
  padding: 14px 30px;
  border-radius: 4px;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
}

.btn-primary:hover { background: #8f1818; text-decoration: none; }

.btn-secondary {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 26px;
  border-radius: 4px;
  font-family: 'Arial', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
}

.btn-secondary:hover { border-color: #fff; text-decoration: none; }

/* --- Urgency Bar --- */
.urgency-bar {
  background: #b32020;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.urgency-bar a { color: #fff; text-decoration: underline; }

/* --- Trust Signals --- */
.trust-row {
  background: #f5f7fa;
  border-bottom: 1px solid #dde3ed;
  padding: 18px 20px;
}

.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: #333;
  font-weight: 600;
}

.trust-icon { font-size: 1.1rem; }

/* --- Stat Grid --- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: #dde3ed;
  border: 1px solid #dde3ed;
  border-radius: 6px;
  overflow: hidden;
  margin: 2rem 0;
}

.stat-item {
  background: #fff;
  padding: 20px;
  text-align: center;
}

.stat-number {
  font-family: 'Arial', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #b32020;
  display: block;
}

.stat-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* --- Main Content Area --- */
.page-content { padding: 50px 20px; }
.page-content .container { display: grid; grid-template-columns: 1fr 300px; gap: 50px; align-items: start; }
@media (max-width: 820px) { .page-content .container { grid-template-columns: 1fr; } }

/* --- Section Blocks --- */
.section { padding: 50px 20px; }
.section-alt { background: #f5f7fa; }

/* --- Warning Box --- */
.warning-box {
  background: #fff3cd;
  border-left: 4px solid #e8a020;
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
  font-family: 'Arial', sans-serif;
  font-size: 0.95rem;
}

.warning-box strong { color: #7a4f00; }

/* --- Info Box --- */
.info-box {
  background: #e8f0fb;
  border-left: 4px solid #1a4f9c;
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

/* --- Danger Box --- */
.danger-box {
  background: #fdecea;
  border-left: 4px solid #b32020;
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
  font-family: 'Arial', sans-serif;
  font-size: 0.95rem;
}

/* --- Service Cards Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}

.service-card {
  background: #fff;
  border: 1px solid #dde3ed;
  border-top: 3px solid #b32020;
  border-radius: 6px;
  padding: 22px;
}

.service-card h3 { margin-top: 0; font-size: 1.05rem; color: #0d1f3c; }
.service-card p { font-size: 0.9rem; color: #444; margin-bottom: 0.75rem; }
.service-card a { font-family: 'Arial', sans-serif; font-size: 0.85rem; font-weight: 700; color: #b32020; }

/* --- Process Steps --- */
.steps { counter-reset: step; margin: 1.5rem 0; }
.step {
  display: flex;
  gap: 18px;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.step-num {
  background: #0d1f3c;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-body h4 { margin-top: 0; color: #0d1f3c; }
.step-body p { margin-bottom: 0; font-size: 0.95rem; color: #333; }

/* --- FAQ Section --- */
.faq-list { margin: 1.5rem 0; }
.faq-item {
  border-bottom: 1px solid #dde3ed;
  padding: 18px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #0d1f3c;
  margin-bottom: 8px;
}
.faq-a { font-size: 0.95rem; color: #333; line-height: 1.7; margin-bottom: 0; }

/* --- Sidebar --- */
.sidebar { position: sticky; top: 80px; }

.sidebar-cta {
  background: #0d1f3c;
  color: #fff;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.sidebar-cta h3 { color: #fff; margin-top: 0; font-size: 1.1rem; margin-bottom: 8px; }
.sidebar-cta p { color: #c8d8f0; font-size: 0.9rem; margin-bottom: 16px; }
.sidebar-phone {
  display: block;
  background: #b32020;
  color: #fff !important;
  padding: 14px;
  border-radius: 4px;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 10px;
}
.sidebar-phone:hover { background: #8f1818; text-decoration: none; }

.sidebar-box {
  background: #f5f7fa;
  border: 1px solid #dde3ed;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-box h4 { font-size: 0.95rem; color: #0d1f3c; margin-top: 0; margin-bottom: 12px; }
.sidebar-box ul { margin: 0; padding-left: 18px; }
.sidebar-box li { font-size: 0.88rem; color: #444; margin-bottom: 5px; }

/* --- Breadcrumb --- */
.breadcrumb {
  background: #f5f7fa;
  border-bottom: 1px solid #dde3ed;
  padding: 10px 20px;
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  color: #666;
}
.breadcrumb-inner { max-width: 1100px; margin: 0 auto; }
.breadcrumb a { color: #1a4f9c; }
.breadcrumb span { margin: 0 6px; color: #aaa; }

/* --- Footer --- */
.site-footer {
  background: #0d1f3c;
  color: #a0b4d0;
  padding: 50px 20px 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  margin-top: 0;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #a0b4d0; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col p { font-size: 0.88rem; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  color: #6a88a8;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Neighborhood Cards --- */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 1.5rem 0;
}

.neighborhood-card {
  background: #fff;
  border: 1px solid #dde3ed;
  border-radius: 6px;
  padding: 20px;
}

.neighborhood-card h4 { margin-top: 0; font-size: 1rem; color: #0d1f3c; }
.neighborhood-card p { font-size: 0.88rem; color: #444; margin-bottom: 0; }

/* --- Cost Table --- */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.cost-table th {
  background: #0d1f3c;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-family: 'Arial', sans-serif;
}

.cost-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #dde3ed;
  color: #333;
}

.cost-table tr:nth-child(even) td { background: #f5f7fa; }
.cost-table tr:last-child td { border-bottom: none; }

/* --- Schema invisible anchor --- */
.schema-anchor { display: none; }

/* --- Responsive --- */
@media (max-width: 600px) {
  .hero { padding: 40px 16px 36px; }
  .page-content { padding: 30px 16px; }
  .section { padding: 36px 16px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { gap: 12px; }
}
