/* Homefront Pro: canonical SEO /call theme (derived from /call/pest-control/) */
:root {
  --color-primary: #2563eb;
  --color-secondary: #1E2A38;
  --color-accent: #22d3ee;
  --bg-light: #f8fafc;
  --bg-alt: #f1f5f9;
  --text-dark: #0f172a;
  --text-muted: #475569;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Typography */
h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; color: var(--color-secondary); }
h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 24px; color: var(--color-secondary); text-align: center; }
h3 { font-size: 1.65rem; font-weight: 700; margin: 40px 0 20px; color: var(--color-secondary); }
h4 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; color: var(--color-secondary); }
.divider { width: 60px; height: 4px; background: var(--color-accent); margin: 20px auto 40px; border-radius: 2px; }

/* Header */
header.call-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header.call-header .header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.site-logo { height: 52px; width: auto; object-fit: contain; transition: transform 0.2s; }
.site-logo:hover { transform: scale(1.05); }
.desktop-nav { display: none; gap: 24px; font-weight: 600; font-size: 0.95rem; }
.desktop-nav a { text-decoration: none; color: var(--text-dark); }
.desktop-nav a:hover { color: var(--color-primary); }
.header-phone { 
  color: var(--color-primary); 
  text-decoration: none; 
  font-weight: 800; 
  font-size: 1.05rem; 
  white-space: nowrap;
  position: relative;
  transition: all 0.2s ease;
}
.header-phone.cta-disabled::after {
  font-size: 1.2rem;
}

@media (min-width: 900px) { .desktop-nav { display: flex; } }

/* Breadcrumb */
.breadcrumb-strip { background: var(--bg-alt); border-bottom: 1px solid #e2e8f0; padding: 12px 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb .current { color: var(--text-dark); }

/* Hero */
.hero { background: var(--bg-light); padding: 80px 0; overflow: hidden; position: relative; }
.hero-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: flex-start; }
.hero-split.no-mascot { grid-template-columns: 1fr; }
.hero-left { text-align: left; padding-top: 40px; }
.hero-right { position: relative; text-align: center; padding-top: 20px; }
.hero-bg-accent {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
}
.mascot-tag { color: var(--color-primary); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.95rem; margin-bottom: 12px; display: block; }
.mascot-tagline { display: block; text-align: center; margin-top: 10px; font-weight: 600; color: var(--color-secondary); }
.hero-mascot-link { display: inline-block; position: relative; text-decoration: none; transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: pointer; }
.hero-mascot-link:hover { transform: scale(1.05); }
.hero-mascot-link.cta-disabled::after {
  font-size: 4rem;
}
.mascot-img {
  width: 320px;
  height: 320px;
  max-width: 85vw;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.belly-badge {
  position: absolute; bottom: 25%; left: 50%; transform: translateX(-50%);
  background: var(--color-primary);
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  border: 3px solid #fff; z-index: 10;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Primary CTA */
.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3); background: var(--color-secondary); }

.hero-subheadline {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
  max-width: 580px;
}
.zip-guard { 
  margin-top: 20px; 
  max-width: 520px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 107, 53, 0.03));
  border: 2px solid rgba(255, 107, 53, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
}
.zip-form label {
  display: block;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #ff6b35;
  margin-bottom: 8px;
}
.zip-form label::before {
  content: "📍 ";
  font-size: 1.1em;
}
.zip-input-row { display: flex; gap: 12px; align-items: center; }
.zip-input-row input {
  flex: 1;
  padding: 16px;
  border-radius: 12px;
  border: 2px solid #ff6b35;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
  background: white;
}
.zip-input-row input:focus {
  outline: none;
  border-color: #e55a2a;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}
.zip-input-row button {
  padding: 16px 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ff6b35, #e55a2a);
  color: white;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}
.zip-input-row button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.4);
}
.hero-call-btn {
  width: 100%;
  margin-top: 12px;
  border: none;
  border-radius: 18px;
  padding: 16px;
  background: var(--color-primary);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.hero-call-btn.cta-disabled::after {
  font-size: 2.5rem;
}
.zip-feedback {
  margin-top: 12px;
  font-size: 1rem;
  color: #ff6b35;
  font-weight: 700;
  background: rgba(255, 107, 53, 0.1);
  padding: 12px 16px;
  border-radius: 10px;
  border: 2px solid rgba(255, 107, 53, 0.3);
  text-align: center;
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { border-color: rgba(255, 107, 53, 0.3); background: rgba(255, 107, 53, 0.1); }
  50% { border-color: rgba(255, 107, 53, 0.6); background: rgba(255, 107, 53, 0.15); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
  20%, 40%, 60%, 80% { transform: translateX(8px); }
}
.zip-feedback::before {
  content: "🔒 ";
  font-size: 1.1em;
}
.hero-trustline{ margin-top:-10px; margin-bottom:18px; font-size:0.95rem; color:var(--text-muted); font-weight:600; }
.hero-location-line{ margin-top:16px; font-size:0.95rem; color:var(--text-muted); font-weight:600; }
.mascot-microcopy{ display:block; margin-top:6px; font-size:0.85rem; color:var(--text-muted); font-weight:600; }
.cta-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
  position: relative;
  filter: grayscale(0.6);
}
.cta-disabled::after {
  content: "🔒";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  pointer-events: none;
}

/* Sections + cards */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--color-primary); }

[data-hfp-location-only] { display: none; }
body.has-location [data-hfp-location-only] { display: flex; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 800px; margin: 40px auto 0; text-align: left; }
.faq-item { background: #fff; padding: 24px; border-radius: 16px; border: 1px solid #e2e8f0; }
.faq-question { font-weight: 800; color: var(--color-secondary); margin-bottom: 8px; font-size: 1.1rem; display: block; }
.faq-answer { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Footer */
footer.call-footer { background: #0f172a; padding: 80px 0 40px; color: #94a3b8; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-brand { color: #fff; font-weight: 900; font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.footer-disclaimer { line-height: 1.8; opacity: 0.85; font-size: 0.85rem; }
footer.call-footer h5 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
footer.call-footer a { color: #94a3b8; text-decoration: none; }
footer.call-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 24px; padding-top: 24px; font-size: 0.85rem; opacity: 0.75; }

.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.15);
  z-index: 120;
  display: none;
}
.mobile-sticky-button {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-weight: 800;
  font-size: 1rem;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(37,99,235,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-sticky-button.cta-disabled {
  opacity: 0.45;
  box-shadow: none;
  filter: grayscale(0.6);
}
.mobile-sticky-button.cta-disabled::after {
  content: "🔒 Enter ZIP Code Above";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.9rem;
  font-weight: 800;
  color: white;
  background: rgba(255, 107, 53, 0.95);
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.plumbing-page .mobile-sticky-button {
  background: #ff6b35;
  box-shadow: 0 10px 20px rgba(255,107,53,0.3);
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 110px;
  }
}

@media (max-width: 900px) {
  h1 { font-size: 2.25rem; }
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-left { text-align: center; padding-top: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .sticky-call { display: block; }
  .section { padding: 60px 0; }
}

