/* Tiffin Plumbing Co. — shared stylesheet
   Warm navy + amber + cream. Serif headings, system sans body.
   Photo heroes, no external requests (fast, SEO-friendly). Mobile-first. */

:root {
  --navy: #0e2a47;
  --navy-dark: #081826;
  --navy-soft: #14486f;
  --blue: #1573d1;
  --blue-light: #e8f2fc;
  --amber: #f59e0b;
  --amber-dark: #b45309;
  --amber-soft: #fef6e0;
  --cream: #faf7f1;
  --ink: #1c2b3a;
  --muted: #5a6b7c;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f3f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 42, 71, 0.10);
  --shadow-sm: 0 4px 14px rgba(14, 42, 71, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  font-size: 17px;
}

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

a { color: var(--blue); }
a:hover { text-decoration: none; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 1.75rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }

p { margin: 0 0 1rem; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }
.section-alt { background: var(--cream); }
.section-dark {
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #d7e3ef; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--amber);
}
.section-dark .kicker { color: var(--amber); }

/* Header */
.site-header {
  background: #ffffff;
  color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; line-height: 1.2; font-family: Georgia, "Times New Roman", serif;  display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 48px; width: auto; flex-shrink: 0; }
.brand small { display: block; font-size: 0.72rem; font-weight: 700; color: #9fc4e8; letter-spacing: 0.14em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.main-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--blue); text-decoration: underline; }
.header-phone {
  background: linear-gradient(180deg, #fbbf24, var(--amber));
  color: var(--navy-dark);
  font-weight: 800;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.header-phone:hover { background: #fbbf24; }

/* Hero — photo background via --hero-img, gradient fallback */
.hero {
  background:
    linear-gradient(100deg, rgba(8, 24, 38, 0.92) 0%, rgba(14, 42, 71, 0.78) 52%, rgba(14, 42, 71, 0.45) 100%),
    var(--hero-img, none),
    linear-gradient(160deg, var(--navy) 0%, #14486f 60%, #17609b 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0 88px;
}
.hero h1 {
  color: #fff;
  font-size: 2.9rem;
  margin-bottom: 0.9rem;
  max-width: 680px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.hero p.lede { font-size: 1.18rem; color: #e6eef6; max-width: 620px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.hero .btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #ffd166;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
}

.btn {
  display: inline-block;
  background: linear-gradient(180deg, #fbbf24, var(--amber));
  color: var(--navy-dark);
  font-weight: 800;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 10px;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: #fbbf24; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.18); box-shadow: none; }

/* Trust bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -36px;
  position: relative;
  z-index: 5;
}
.trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.trust-icon {
  width: 46px; height: 46px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg { width: 24px; height: 24px; }
.trust-item strong { display: block; color: var(--navy); font-size: 1.02rem; font-family: Georgia, "Times New Roman", serif; }
.trust-item span { color: var(--muted); font-size: 0.88rem; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-photo { width: 100%; height: 190px; object-fit: cover; }
.service-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 a { color: var(--navy); text-decoration: none; }
.service-card h3 a:hover { color: var(--blue); }
.service-card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.service-card .read-more { font-weight: 700; font-size: 0.95rem; }
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.service-icon svg { width: 24px; height: 24px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-block;
  width: 40px; height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #fbbf24, var(--amber));
  color: var(--navy-dark);
  font-weight: 800;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { padding: 6px 0 6px 32px; position: relative; }
.check-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 6px;
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  background: #dcfce7; color: #15803d; border-radius: 50%;
  font-weight: 800; font-size: 0.8rem;
}
.warn-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.warn-list li { padding: 6px 0 6px 32px; position: relative; }
.warn-list li::before {
  content: "!";
  position: absolute; left: 0; top: 6px;
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  background: #b91c1c; color: #fff; border-radius: 50%;
  font-weight: 800; font-size: 0.8rem;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }

.callout {
  background: var(--blue-light);
  border-left: 5px solid var(--blue);
  padding: 20px 22px;
  border-radius: 0 12px 12px 0;
  margin: 22px 0;
}
.callout strong { color: var(--navy); }
.callout-amber { background: var(--amber-soft); border-left-color: var(--amber); }

/* Who we help */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.audience-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.audience-card h3 { margin-bottom: 0.3rem; }

/* Service area */
.area-list { columns: 2; list-style: none; padding: 0; }
.area-list li { padding: 5px 0; }
.area-list li::before { content: "\2022  "; color: var(--amber); font-weight: 800; }

/* FAQ */
.faq-item {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.faq-item h3 { margin-bottom: 0.25rem; }
.faq-item p { color: var(--muted); }

/* Reviews shell */
.reviews-shell {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--muted);
  background: var(--cream);
}

/* Footer */
.site-footer { background: var(--navy-dark); color: #b9cbdd; padding: 56px 0 24px; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.site-footer a { color: #d7e3ef; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.footer-bottom { border-top: 1px solid #1e3a56; margin-top: 36px; padding-top: 20px; font-size: 0.85rem; color: #7e96ad; }

/* Breadcrumb */
.breadcrumb { font-size: 0.9rem; color: var(--muted); margin: 20px 0 0; }
.breadcrumb a { color: var(--muted); }

/* Sticky mobile call button */
.sticky-call {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  background: linear-gradient(180deg, #fbbf24, var(--amber));
  color: var(--navy-dark);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Article pages */
.article { max-width: 760px; }
.article h2 { margin-top: 2.2rem; }
.related { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 26px; }

@media (max-width: 820px) {
  .services-grid, .steps, .audience-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .two-col, .footer-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hero { padding: 72px 0 64px; }
  .hero h1 { font-size: 2.1rem; }
  .sticky-call { display: block; }
  body { padding-bottom: 64px; }
}

@media (max-width: 520px) {
  .services-grid, .steps, .audience-grid, .trust-bar { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .area-list { columns: 1; }
  h1 { font-size: 2rem; }
}
