/* ============================================================
   SeaTac Area Plumbing Experts — Main Stylesheet
   Primary: #1565C0 | Accent: #FF6F00
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary:      #1565C0;
  --primary-dark: #0D47A1;
  --accent:       #FF6F00;
  --accent-dark:  #E65100;
  --text:         #212121;
  --text-light:   #555555;
  --light-bg:     #F5F5F5;
  --white:        #FFFFFF;
  --border:       #DDDDDD;
  --shadow:       0 2px 12px rgba(0,0,0,0.10);
  --radius:       6px;
  --transition:   0.25s ease;
  --max-width:    1200px;
  --header-h:     70px;
}

/* ---------- 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; transition: color var(--transition); }
a:hover { color: var(--accent); }

ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; color: var(--text-light); }
p:last-child { margin-bottom: 0; }

/* ---------- Layout Utilities ---------- */
.container { width: 92%; max-width: var(--max-width); margin: 0 auto; }
.section    { padding: 60px 0; }
.section-alt { background: var(--light-bg); }
.text-center { text-align: center; }
.section-title { margin-bottom: 12px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); margin-bottom: 40px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ---------- Sticky Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-wrap { display: flex; flex-direction: column; }
.logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.logo-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Main Nav */
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
nav a:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.header-phone a {
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  padding: 9px 18px;
  border-radius: var(--radius);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition);
}
.header-phone a:hover { background: var(--accent-dark); color: var(--white); }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Mobile Nav ---------- */
#mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--primary-dark);
  z-index: 999;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
#mobile-nav.open { display: block; }
#mobile-nav a {
  display: block;
  color: var(--white);
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-weight: 600;
}
#mobile-nav a:hover { color: var(--accent); }
#mobile-nav .mob-phone {
  display: block;
  margin-top: 16px;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
}

/* ---------- Hero Placeholder ---------- */
.hero-placeholder {
  min-height: 500px;
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner { position: relative; z-index: 1; max-width: 750px; padding: 40px 20px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-placeholder h1 { color: var(--white); margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.88); margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Buttons / CTAs ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.18); }

.btn-accent  { background: var(--accent);   color: var(--white); border-color: var(--accent); }
.btn-accent:hover  { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }

.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.15rem;
  transition: background var(--transition), transform var(--transition);
}
.phone-cta:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--light-bg);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-items { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  padding: 6px 14px;
  background: var(--white);
  border-radius: 50px;
  box-shadow: var(--shadow);
}
.trust-icon { font-size: 1.1rem; }

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  border-top: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,0.14); }
.service-icon { font-size: 2.2rem; margin-bottom: 14px; }
.service-card h3 { color: var(--primary-dark); margin-bottom: 10px; }
.service-card p  { flex: 1; margin-bottom: 18px; font-size: 0.93rem; }
.service-card a.btn { align-self: flex-start; font-size: 0.9rem; padding: 10px 18px; }

/* ---------- Why Choose Us ---------- */
.reason-item { display: flex; gap: 16px; margin-bottom: 28px; }
.reason-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 50%;
}
.reason-text h4 { margin-bottom: 4px; color: var(--primary-dark); }
.reason-text p  { font-size: 0.93rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; font-size: 0.93rem; color: var(--text-light); margin-bottom: 14px; }
.reviewer { font-weight: 700; font-size: 0.88rem; color: var(--text); }
.reviewer span { font-weight: 400; color: var(--text-light); }

/* ---------- 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-q {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--accent); flex-shrink: 0; }
.faq-q.open::after { content: '−'; }
.faq-a { margin-top: 12px; font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 28px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumbs nav { font-size: 0.85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 4px; color: var(--text-light); }
.breadcrumbs li:not(:last-child)::after { content: '›'; color: var(--border); }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Service Area Map Section ---------- */
.area-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.area-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  border-left: 3px solid var(--accent);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 56px 0 52px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.88); max-width: 640px; margin: 0 auto 24px; }
.page-hero .phone-cta { font-size: 1.05rem; }

/* ---------- Content Sections ---------- */
.content-section { padding: 56px 0; }
.content-section h2 { color: var(--primary-dark); margin-bottom: 14px; }
.content-section h3 { color: var(--primary); margin: 28px 0 10px; }
.content-section ul.check-list { list-style: none; margin: 0 0 20px; }
.content-section ul.check-list li {
  padding: 5px 0 5px 28px;
  position: relative;
  font-size: 0.96rem;
  color: var(--text-light);
}
.content-section ul.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.info-box {
  background: var(--light-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box h4 { color: var(--primary-dark); margin-bottom: 8px; }
.info-box p  { margin: 0; font-size: 0.93rem; }

.call-box {
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 10px;
  padding: 30px 28px;
  text-align: center;
  margin: 36px 0;
}
.call-box h3 { color: var(--white); margin-bottom: 8px; }
.call-box p  { color: rgba(255,255,255,0.85); margin-bottom: 20px; }

/* ---------- Footer ---------- */
footer {
  background: #0A2444;
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand-name { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 14px;
}
.footer-phone:hover { background: var(--accent-dark); color: var(--white); }
footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 8px; }
footer ul li { margin-bottom: 7px; }
footer ul li a { color: rgba(255,255,255,0.75); font-size: 0.88rem; transition: color var(--transition); }
footer ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- Media Queries ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .three-col   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }

  nav, .header-phone { display: none; }
  .hamburger { display: flex; }

  .hero-placeholder { min-height: 420px; }
  .hero-ctas { flex-direction: column; align-items: center; }

  .two-col   { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr 1fr; }

  .section { padding: 40px 0; }
  .content-section { padding: 40px 0; }
}

@media (max-width: 480px) {
  .logo-name { font-size: 1rem; }
  .area-list { grid-template-columns: 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;
}