/* Capitol Hill Plumbing Seattle - styles.css */
:root {
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --accent: #FF6F00;
  --accent-dark: #E65100;
  --text: #212121;
  --light-bg: #F5F5F5;
  --white: #FFFFFF;
  --gray: #757575;
  --border: #E0E0E0;
  --shadow: 0 2px 8px rgba(0,0,0,0.12);
  --radius: 6px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 700; }

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 64px;
}
.logo {
  display: flex;
  flex-direction: column;
}
.logo .brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.logo .brand-tagline {
  font-size: 0.75rem;
  color: #BBDEFB;
  letter-spacing: 0.3px;
}
.header-phone a {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.header-phone a:hover { background: var(--accent-dark); text-decoration: none; }

/* Nav */
nav { background: var(--primary); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
nav a {
  color: #E3F2FD;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
nav a:hover { background: var(--primary-dark); color: var(--white); text-decoration: none; }
nav .nav-dropdown { position: relative; display: inline-block; }
nav .nav-dropdown > a::after { content: ' ▾'; font-size: 0.75rem; }
nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-dark);
  min-width: 220px;
  z-index: 999;
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
}
nav .dropdown-menu a { display: block; padding: 9px 16px; color: #E3F2FD; font-size: 0.85rem; }
nav .dropdown-menu a:hover { background: #0A2E6A; color: var(--white); }
nav .nav-dropdown:hover .dropdown-menu { display: block; }

/* Hero Placeholder */
.hero-placeholder {
  min-height: 500px;
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.hero-content { max-width: 760px; }
.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #BBDEFB;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero-placeholder h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.hero-placeholder p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  color: #BBDEFB;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  border: 2px solid transparent;
}
.btn-primary:hover { background: var(--accent-dark); color: var(--white); text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.6);
  text-decoration: none;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: var(--white); text-decoration: none; }
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-cta:hover { background: var(--accent-dark); color: var(--white); text-decoration: none; }

/* Phone CTA */
.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
}
.phone-cta:hover { background: var(--accent-dark); color: var(--white); text-decoration: none; }

/* Sections */
.section { padding: 64px 20px; }
.section-alt { background: var(--light-bg); }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2rem; color: var(--primary-dark); margin-bottom: 12px; text-align: center; }
.section-subtitle { text-align: center; color: var(--gray); font-size: 1.05rem; margin-bottom: 40px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-divider { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin: 12px auto 36px; }

/* Trust Bar */
.trust-bar { background: var(--primary-dark); padding: 20px; }
.trust-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.trust-item { color: #BBDEFB; font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.trust-item .icon { font-size: 1.1rem; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.14); }
.service-card .svc-icon { font-size: 2.4rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 18px; flex: 1; }

/* Content Columns */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* Reasons / Features */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.feature-text h4 { font-size: 1rem; color: var(--primary-dark); margin-bottom: 4px; }
.feature-text p { font-size: 0.88rem; color: var(--gray); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.testimonial-card .stars { color: #FFC107; font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.9rem; color: var(--text); margin-bottom: 14px; font-style: italic; }
.testimonial-card .reviewer { font-size: 0.85rem; font-weight: 700; color: var(--primary-dark); }
.testimonial-card .location { font-size: 0.78rem; color: var(--gray); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-size: 1.05rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.faq-answer { font-size: 0.95rem; color: var(--text); line-height: 1.7; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  padding: 56px 20px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--accent-dark); font-size: 1.05rem; font-weight: 700; padding: 13px 28px; border-radius: var(--radius); display: inline-block; text-decoration: none; transition: background 0.2s; }
.btn-white:hover { background: #FFF3E0; color: var(--accent-dark); text-decoration: none; }
.btn-white-outline { background: transparent; color: var(--white); font-size: 1.05rem; font-weight: 700; padding: 11px 26px; border-radius: var(--radius); border: 2px solid rgba(255,255,255,0.7); display: inline-block; text-decoration: none; }
.btn-white-outline:hover { background: rgba(255,255,255,0.15); color: var(--white); text-decoration: none; }

/* Breadcrumbs */
.breadcrumb { background: var(--light-bg); padding: 10px 20px; border-bottom: 1px solid var(--border); }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; font-size: 0.85rem; color: var(--gray); }
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner span { margin: 0 6px; }

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 52px 20px;
  text-align: center;
}
.page-hero h1 { font-size: 2.1rem; margin-bottom: 12px; text-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.page-hero p { font-size: 1.05rem; color: #BBDEFB; max-width: 600px; margin: 0 auto 20px; }

/* Sidebar Layout */
.content-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.sidebar-card { background: var(--light-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-card h3 { font-size: 1rem; color: var(--primary-dark); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.sidebar-card ul li { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a { color: var(--text); }
.sidebar-card ul li a:hover { color: var(--accent); }
.sidebar-phone { background: var(--primary-dark); color: var(--white); border-radius: var(--radius); padding: 24px; text-align: center; margin-bottom: 24px; }
.sidebar-phone h3 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.sidebar-phone a { display: block; background: var(--accent); color: var(--white); font-size: 1.2rem; font-weight: 700; padding: 12px; border-radius: var(--radius); text-decoration: none; margin-top: 10px; }
.sidebar-phone a:hover { background: var(--accent-dark); text-decoration: none; }

/* Article Content */
.article-content h2 { font-size: 1.5rem; color: var(--primary-dark); margin: 32px 0 12px; }
.article-content h3 { font-size: 1.2rem; color: var(--primary); margin: 24px 0 10px; }
.article-content p { margin-bottom: 16px; line-height: 1.8; }
.article-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.article-content ul li { margin-bottom: 6px; font-size: 0.95rem; }
.article-content ol { list-style: decimal; padding-left: 24px; margin-bottom: 16px; }
.article-content ol li { margin-bottom: 6px; font-size: 0.95rem; }

/* Inline CTA Box */
.inline-cta { background: var(--primary-dark); color: var(--white); padding: 24px 28px; border-radius: var(--radius); margin: 32px 0; text-align: center; }
.inline-cta p { color: #BBDEFB; margin-bottom: 14px; font-size: 0.95rem; }
.inline-cta strong { display: block; font-size: 1.1rem; color: var(--white); margin-bottom: 10px; }

/* Stats Bar */
.stats-bar { background: var(--primary); padding: 40px 20px; }
.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .stat-number { font-size: 2.4rem; font-weight: 800; color: var(--white); display: block; line-height: 1.1; }
.stat-item .stat-label { font-size: 0.85rem; color: #BBDEFB; margin-top: 4px; }

/* Service Area List */
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.area-list li { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; font-size: 0.9rem; text-align: center; font-weight: 600; color: var(--primary-dark); }

/* Footer */
footer { background: #0A1929; color: #B0BEC5; padding: 56px 20px 24px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.footer-col p, .footer-col address { font-size: 0.88rem; line-height: 1.8; font-style: normal; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #B0BEC5; font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid #1A2A3A; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; }
.footer-phone a { color: var(--accent); font-weight: 700; font-size: 1rem; }

/* Utility */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.highlight { color: var(--accent); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .three-col { grid-template-columns: repeat(2, 1fr); }
  .content-sidebar { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-placeholder h1 { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .three-col { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }
  .cta-banner h2 { font-size: 1.5rem; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 1.6rem; }
  .nav-inner { overflow-x: auto; flex-wrap: nowrap; }
  nav a { white-space: nowrap; }
}
@media (max-width: 480px) {
  .header-inner { padding: 10px 14px; }
  .logo .brand-name { font-size: 1rem; }
  .header-phone a { font-size: 0.92rem; padding: 7px 14px; }
  .hero-placeholder { min-height: 380px; padding: 40px 16px; }
  .hero-placeholder h1 { font-size: 1.5rem; }
  .section { padding: 44px 14px; }
  .area-list { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}


/* Cloudflare Pages polish */
.hero-placeholder {
  background-image: linear-gradient(90deg, rgba(4, 18, 34, 0.84), rgba(9, 46, 82, 0.68)), url("assets/plumber-hero.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  isolation: isolate;
}
.hero-placeholder::before {
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 34%) !important;
  pointer-events: none;
}
.hero-label,
.hero-img-label,
.hero-img-note,
.hero-image-label {
  display: none !important;
}
.hero-content,
.hero-inner {
  z-index: 1;
}