:root {
  --primary: #0b2545;
  --primary-dark: #07172b;
  --primary-light: #133c70;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --call-red: #dc2626;
  --call-red-hover: #b91c1c;
  --surface: #ffffff;
  --bg-soft: #f8fafc;
  --bg-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(11,37,69,0.08);
  --shadow-lg: 0 10px 25px rgba(11,37,69,0.12);
  --container-width: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* Space for mobile sticky call bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header (No announcement bar) */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  background: var(--primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}

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

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--call-red);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

.btn-header-call:hover {
  background: var(--call-red-hover);
  transform: translateY(-1px);
}

.phone-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* HERO SECTION - Plumber clearly visible, light overlay only, side-aligned */
.hero-section {
  position: relative;
  background-image: url('/images/plumber-hero.jpg');
  background-size: cover;
  background-position: center right;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Light overlay only - plumber at work is clearly visible on the right */
  background: linear-gradient(to right, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(255, 255, 255, 0.32) 100%);
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-overlay {
    background: rgba(255, 255, 255, 0.88);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 60px 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.12);
  color: var(--accent-hover);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.btn-hero-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--call-red);
  color: #ffffff !important;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}

.btn-hero-call:hover {
  background: var(--call-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.4);
}

.hero-badge-note {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Section Common */
.section {
  padding: 64px 0;
}

.section-bg-soft {
  background: var(--bg-soft);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-tag {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-link {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Visual Feature Split */
.visual-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin: 48px 0;
}

@media (min-width: 900px) {
  .visual-split {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.visual-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.visual-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.visual-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.25;
}

.visual-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.features-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Local Facts Highlight Box */
.facts-box {
  background: #ffffff;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.facts-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.facts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.facts-item {
  color: var(--text-main);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Emergency Callout Banner */
.emergency-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  margin: 56px 0;
  box-shadow: var(--shadow-lg);
}

.emergency-banner h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.emergency-banner p {
  font-size: 1.1rem;
  color: #e2e8f0;
  max-width: 640px;
  margin: 0 auto 28px;
}

.emergency-btn-wrap {
  display: flex;
  justify-content: center;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: var(--bg-soft);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.2s;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* States / Directory Grid */
.states-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  .states-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .states-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1100px) {
  .states-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.state-pill {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.15s;
}

.state-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.state-count {
  font-size: 0.75rem;
  background: var(--bg-subtle);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 12px;
  font-weight: 700;
}

/* Cities List & Search */
.city-search-box {
  margin-bottom: 24px;
  position: relative;
}

.city-search-input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.city-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.cities-columns {
  column-count: 1;
  column-gap: 20px;
}

@media (min-width: 500px) {
  .cities-columns {
    column-count: 2;
  }
}

@media (min-width: 800px) {
  .cities-columns {
    column-count: 3;
  }
}

@media (min-width: 1100px) {
  .cities-columns {
    column-count: 4;
  }
}

.city-item {
  break-inside: avoid;
  padding: 6px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px dashed #e2e8f0;
}

.city-item a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.92rem;
}

.city-item a:hover {
  color: var(--accent);
}

.city-sub {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li::after {
  content: "/";
  color: #94a3b8;
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .current {
  color: var(--text-main);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #e2e8f0;
  padding: 60px 0 30px;
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 20px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Mobile Sticky Call Bar */
.mobile-call-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 0 16px;
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .mobile-call-bar {
    display: none;
  }
}

.mobile-call-info {
  display: flex;
  flex-direction: column;
}

.mobile-call-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.mobile-call-sub {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
}

.btn-mobile-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--call-red);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}
