/* K2 Plumbing — shared styles for blog pages (matches the home page chrome) */
:root {
  --navy: #0b2a4a;
  --navy-2: #103a63;
  --blue: #1877c9;
  --blue-bright: #2a95e8;
  --orange: #f6821f;
  --orange-dark: #e06d0a;
  --white: #ffffff;
  --ink: #16324f;
  --muted: #5b7590;
  --paper: #f4f8fc;
  --line: #e2ecf5;
  --shadow: 0 18px 45px -18px rgba(11, 42, 74, 0.35);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  line-height: 1.05;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, 92vw); margin: 0 auto; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem; padding: 15px 26px;
  border-radius: 999px; cursor: pointer; border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(246,130,31,.9); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.eyebrow { font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; color: var(--orange); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #d8e6f4; font-size: .88rem; padding: 8px 0; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar span.dot { color: var(--orange); }
.topbar .tb-right { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 52px; width: auto; display: block; }
nav.links { display: flex; align-items: center; gap: 30px; }
nav.links a { font-weight: 600; color: var(--ink); font-size: .95rem; }
nav.links a:hover { color: var(--blue); }
nav.links a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-family: 'Barlow Condensed', sans-serif; font-size: 1.35rem; color: var(--navy); font-weight: 700; }
.nav-phone:hover { color: var(--orange); }

/* ---------- Post hero ---------- */
.post-hero {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(9,32,56,.95) 0%, rgba(13,52,90,.9) 50%, rgba(24,119,201,.78) 100%),
    radial-gradient(circle at 80% 20%, #1c5a97, #0b2a4a);
  padding: 54px 0 60px;
}
.crumbs { font-size: .85rem; color: #a9c6e2; margin-bottom: 18px; }
.crumbs a { color: #cfe1f2; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { color: #6f8fb0; margin: 0 6px; }
.post-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; max-width: 20ch; }
.post-meta { margin-top: 16px; font-size: .9rem; color: #bcd6ef; display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Article ---------- */
.article { width: min(760px, 92vw); margin: 0 auto; padding: 56px 0 40px; }
.article p, .article ul, .article ol { color: var(--ink); font-size: 1.075rem; margin-bottom: 22px; }
.article h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); color: var(--navy); font-weight: 800; margin: 40px 0 14px; }
.article h3 { font-size: 1.3rem; color: var(--navy); font-weight: 700; margin: 28px 0 10px; text-transform: none; letter-spacing: 0; font-family: 'Inter', sans-serif; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article a.link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article a.link:hover { color: var(--orange-dark); }
.article strong { color: var(--navy); }
.lede { font-size: 1.2rem !important; color: var(--muted) !important; }

/* two-column "who to call" cards */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 10px 0 28px; }
.split .col { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--paper); }
.split .col h3 { margin-top: 0; }
.split .col.k2 { border-top: 4px solid var(--blue); }
.split .col.out { border-top: 4px solid var(--orange); }
.split .col ul { margin-bottom: 0; font-size: 1rem; }

/* recommendation callout */
.callout {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: 14px; padding: 24px 26px; margin: 30px 0;
}
.callout p { margin-bottom: 0; }

/* end CTA */
.post-cta { background: var(--navy); color: #fff; border-radius: 20px; padding: 36px 34px; margin: 44px auto 10px; width: min(760px, 92vw); text-align: center; }
.post-cta h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
.post-cta p { color: #bcd6ef; margin: 10px 0 22px; }

/* blog index cards */
.bloglist { width: min(900px, 92vw); margin: 0 auto; padding: 56px 0; }
.postcard { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: 0 10px 30px -20px rgba(11,42,74,.4); transition: transform .18s ease, box-shadow .18s ease; }
.postcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.postcard .kicker { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.postcard h2 { font-size: 1.7rem; color: var(--navy); font-weight: 800; }
.postcard p { color: var(--muted); margin-top: 10px; font-size: 1.02rem; }
.postcard .more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: .95rem; }

/* ---------- Footer ---------- */
footer { background: #071d33; color: #a9c6e2; padding: 60px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.foot-logo-chip { display: inline-block; background: #fff; border-radius: 12px; padding: 12px 16px; }
.foot-logo-chip img { height: 54px; width: auto; display: block; }
footer p { font-size: .92rem; margin-top: 14px; max-width: 32ch; }
footer h4 { color:#fff; font-family:'Barlow Condensed',sans-serif; font-size:1.15rem; letter-spacing:1px; text-transform:uppercase; margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 9px; }
footer ul a { font-size: .92rem; }
footer ul a:hover { color: var(--orange); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display:flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem; }

/* ---------- Sticky mobile call ---------- */
.sticky-call { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  nav.links { display: none; }
}
@media (max-width: 620px) {
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .topbar .tb-right { display: none; }
  .nav-phone { display: none; }
  .nav { padding: 12px 0; }
  .brand-logo { height: 40px; }
  .nav-cta .btn-orange { padding: 11px 16px; font-size: .9rem; }
  body { padding-bottom: 64px; }
  .sticky-call {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--orange); color: #fff; align-items: center; justify-content: center;
    gap: 10px; padding: 15px; font-weight: 700; font-size: 1.05rem;
    box-shadow: 0 -6px 20px -8px rgba(0,0,0,.35);
  }
}
