/* Hilliard Plumber Pros - Production CSS */
/* No external fonts, no images, mobile-first */

:root {
  --navy: #0A2540;
  --navy-dark: #061828;
  --green: #0D9488;
  --green-dark: #0F766E;
  --green-light: #14B8A6;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --red: #DC2626;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: none; } /* No images policy */

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--green-dark);
  text-decoration: underline;
}

ul, ol { list-style-position: inside; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 2rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-top: 1.5rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.125rem; color: var(--gray-700); }

/* Layout */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3rem 0;
}
.section-alt {
  background: var(--off-white);
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--green-light); }
.logo:hover { text-decoration: none; color: var(--white); }

.header-phone {
  display: none;
}
.header-phone a {
  background: var(--green);
  color: var(--white);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.header-phone a:hover {
  background: var(--green-dark);
  color: var(--white);
  text-decoration: none;
}

.nav-toggle {
  display: block;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
.nav-toggle[aria-expanded="true"] { background: var(--green); border-color: var(--green); }

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}
.main-nav.open { display: block; }
.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.main-nav a {
  color: var(--white);
  padding: 0.6rem 0.75rem;
  display: block;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a:focus {
  background: rgba(255,255,255,0.1);
  color: var(--green-light);
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0F3A5F 100%);
  color: var(--white);
  padding: 3rem 0 3.5rem;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}
.hero .lead {
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}
.btn-large {
  padding: 1.1rem 1.75rem;
  font-size: 1.15rem;
}
.btn-block {
  display: flex;
  width: 100%;
  max-width: 360px;
}

/* Cards & Grids */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 {
  margin-top: 0;
  color: var(--navy);
}
.card p:last-child { margin-bottom: 0; }

.service-card {
  text-align: center;
}
.service-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.service-card a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.service-card a:hover { color: var(--green); }

/* CTA Blocks */
.cta-block {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}
.cta-block h2, .cta-block h3 {
  color: var(--white);
  margin-top: 0;
}
.cta-block p { color: rgba(255,255,255,0.9); }
.cta-block .btn-primary {
  margin-top: 1rem;
}

.inline-cta {
  background: var(--gray-100);
  border-left: 4px solid var(--green);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.inline-cta strong { color: var(--navy); }

/* Lists */
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.problem-list {
  list-style: none;
  padding: 0;
}
.problem-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--gray-200);
}
.problem-list li:last-child { border-bottom: none; }
.problem-list li::before {
  content: "⚠";
  position: absolute;
  left: 0;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--gray-100);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--green);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 1rem 1.25rem;
  background: var(--white);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.breadcrumbs a { color: var(--gray-600); }
.breadcrumbs span { color: var(--navy); font-weight: 500; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.footer-col a:hover { color: var(--green-light); text-decoration: underline; }
.footer-phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-light);
  margin: 0.5rem 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
.disclosure {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  margin: 1rem auto 0;
  line-height: 1.5;
}

/* Mobile Sticky Call Bar */
.mobile-call-bar {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green);
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  padding: 0;
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem;
  text-decoration: none;
  width: 100%;
}
.mobile-call-bar a:hover {
  background: var(--green-dark);
  color: var(--white);
  text-decoration: none;
}
body { padding-bottom: 60px; } /* space for sticky bar */

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Tables if needed */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
th { background: var(--gray-100); font-weight: 600; color: var(--navy); }

/* Responsive */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: row; justify-content: center; }
  .btn-block { width: auto; }
}

@media (min-width: 768px) {
  .header-phone { display: block; }
  .nav-toggle { display: none; }
  .main-nav {
    display: block;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  .main-nav ul {
    flex-direction: row;
    gap: 0.25rem;
  }
  .main-nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
  }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .mobile-call-bar { display: none; }
  body { padding-bottom: 0; }
  .section { padding: 4rem 0; }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .main-nav a { padding: 0.5rem 0.9rem; }
}

/* Print */
@media print {
  .site-header, .mobile-call-bar, .cta-block, .btn { display: none !important; }
  body { padding-bottom: 0; color: #000; }
}