/* Festus Plumbing LLC — public site styles (matches the Hub: Zilla Slab + Inter, sand paper, dusty blue) */
:root {
  --ink: #16232D;
  --ink-soft: #42566A;
  --muted: #5E6E7D;
  --paper: #EDE6D6;
  --surface: #FBF8F1;
  --surface-sunk: #F4EEE2;
  --rule: #DCD2BC;
  --steel: #5D7F9E;
  --steel-deep: #2E5171;
  --black: #111418;
  --brick: #9C3A2A;
  --moss: #4C6A46;
  --radius: 14px;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: "Zilla Slab", Georgia, serif; font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 7vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 4.8vw, 2.25rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 48px; height: 48px; flex: none; }
.brand-name { font-family: "Zilla Slab", Georgia, serif; font-weight: 700; font-size: 1.2rem; line-height: 1.1; }
.brand-name small { display: block; font-family: Inter, sans-serif; font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--rule); border-radius: 10px; background: var(--surface-sunk); color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.site-header .head-call { display: none; }
.nav { display: none; border-top: 1px solid var(--rule); padding: 8px 0 14px; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 11px 4px; text-decoration: none; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--surface-sunk); }
.nav a[aria-current="page"] { color: var(--steel-deep); font-weight: 700; }
@media (min-width: 980px) {
  .menu-btn { display: none; }
  .site-header .head-call { display: inline-flex; }
  .nav { display: block !important; border: 0; padding: 0; }
  .bar { flex-wrap: nowrap; }
  .nav ul { display: flex; gap: 2px; }
  .nav a { border: 0; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
  .nav a:hover { background: var(--surface-sunk); }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .site-header .bar { flex: none; }
  .site-header .nav { order: 2; }
  .site-header .head-call { order: 3; flex: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--steel-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--steel-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 200px; }
@media (min-width: 720px) { .btn-row .btn { flex: 0 0 auto; } }

/* Sections */
section { padding: 52px 0; }
@media (min-width: 720px) { section { padding: 76px 0; } }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-deep); margin-bottom: .6em; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; }
.alt { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dark { background: var(--steel-deep); color: #EEF3F7; }
.dark h2, .dark h3 { color: #fff; }
.dark .lede { color: #D5E0EA; }
.dark a:not(.btn) { color: #fff; }

/* Hero */
.hero { padding: 40px 0 52px; background:
  radial-gradient(1200px 400px at 110% -10%, rgba(93,127,158,.22), transparent 60%),
  var(--paper); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-logo { width: 150px; justify-self: start; }
@media (min-width: 900px) {
  .hero { padding: 80px 0 90px; }
  .hero-grid { grid-template-columns: 1.4fr .8fr; gap: 48px; }
  .hero-logo { width: 320px; justify-self: center; order: 2; }
}
.hero p.lede { margin-bottom: 1.5em; }
.hero-facts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .95rem; color: var(--ink-soft); }
.hero-facts li { display: flex; align-items: center; gap: 6px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--moss); flex: none; }

.page-head { padding: 40px 0 36px; border-bottom: 1px solid var(--rule); }
@media (min-width: 720px) { .page-head { padding: 64px 0 52px; } }
.page-head .lede { margin: 0; }

/* Cards / grids */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 979px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; }
.alt .card { background: var(--paper); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--steel-deep); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 24px; height: 24px; }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--steel); transform: translateY(-2px); }
.more { display: inline-block; margin-top: 14px; font-weight: 600; }
.section-head { margin-bottom: 28px; }
.section-foot { margin-top: 28px; }

.service { scroll-margin-top: 90px; }
.service ul { margin: .6em 0 0; padding-left: 1.2em; color: var(--ink-soft); }
.service li { margin: .2em 0; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.ticks svg { width: 24px; height: 24px; color: var(--steel-deep); margin-top: 2px; }
.dark .ticks svg { color: #BFD2E3; }
.ticks strong { display: block; }

.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pills li { background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }
.county h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.county .pills li { background: var(--surface-sunk); }

.notice { background: var(--surface-sunk); border-left: 4px solid var(--steel); border-radius: 8px; padding: 16px 18px; color: var(--ink-soft); }
.notice strong { color: var(--ink); }

/* CTA band */
.cta-band { background: var(--black); color: #E9E4D8; padding: 44px 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #CFC8B8; }
.cta-inner { display: grid; gap: 20px; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; align-items: center; } }

/* Forms */
.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #C9BEA5; border-radius: 10px; padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--steel-deep); outline: 3px solid rgba(93,127,158,.35); outline-offset: 0; }
.row-2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 10px; padding: 14px 16px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #E4EEDF; border: 1px solid #B9CFAF; color: #2F4A2A; }
.form-status.err { background: #F6E3DE; border: 1px solid #E2B8AD; color: #6E2618; }
.form-status a { color: inherit; font-weight: 700; }
.fine { font-size: .9rem; color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--steel-deep); color: #fff; display: grid; place-items: center; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-list a, .contact-list span.v { font-size: 1.1rem; font-weight: 600; color: var(--ink); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 18px 18px 18px 64px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--steel-deep); color: #fff; font-weight: 700; display: grid; place-items: center; }

/* Footer */
.site-footer { background: var(--ink); color: #C9D2DA; padding: 48px 0 110px; font-size: .95rem; }
@media (min-width: 980px) { .site-footer { padding-bottom: 40px; } }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: 1.15rem; margin-bottom: .6em; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.foot-brand img { width: 56px; height: 56px; }
.foot-brand span { font-family: "Zilla Slab", Georgia, serif; font-weight: 700; font-size: 1.3rem; color: #fff; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.license { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: .88rem; color: #AEB9C4; display: grid; gap: 10px; }
.license strong { color: #fff; }
.copy { font-size: .85rem; color: #8C99A6; margin-top: 14px; }

/* Sticky mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,248,241,.97); border-top: 1px solid var(--rule); }
.callbar .btn { min-height: 48px; padding: 10px 12px; font-size: .98rem; }
@media (min-width: 980px) { .callbar { display: none; } }

.center { text-align: center; }
.big-404 { font-family: "Zilla Slab", Georgia, serif; font-size: clamp(4rem, 20vw, 8rem); line-height: 1; color: var(--steel); margin: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
a[href^="tel:"] { white-space: nowrap; }
