/* ============================================================
   Bono Plumbing — shared styles for service & location pages
   Homepage (index.html) keeps its own self-contained styles.
   Tokens mirror the homepage exactly.
   ============================================================ */

:root {
  --navy:      #1C2841;
  --beige:     #F4E8C3;
  --gold:      #D1A74A;
  --ink:       #14182A;
  --paper:     #FAF7F0;
  --stone:     #6B7280;
  --line:      #E3DBC8;
  --gold-soft: #E8C77E;
  --wrap: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

a { color: var(--navy); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; color: var(--navy); line-height: 1.12; }

.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 0.7rem;
}
.eyebrow.on-navy { color: var(--gold-soft); }

.gold-rule { width: 64px; height: 1px; background: var(--gold); opacity: 0.6; border: 0; margin: 1.6rem 0; }
.gold-rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: "Libre Franklin", sans-serif; font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border-radius: 4px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 150ms var(--ease);
}
.btn-icon { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost.on-navy { color: var(--paper); border-color: rgba(250,247,240,0.3); }
.btn--ghost.on-navy:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(28, 40, 65, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(209, 167, 74, 0.25);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { color: rgba(250,247,240,0.82); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 180ms var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-soft); }
.nav .btn--gold { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.nav a.btn--gold, .nav a.btn--gold span { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; color: var(--paper); cursor: pointer; padding: 0.4rem; }

@media (max-width: 760px) {
  .nav .nav-link { display: none; }
  .nav { gap: 0.8rem; }
}

/* ---------- Page hero ---------- */
.page-hero { background: var(--navy); color: var(--paper); padding: 3.4rem 0 3rem; }
.breadcrumb { font-size: 0.8rem; color: rgba(250,247,240,0.55); margin: 0 0 1.4rem; letter-spacing: 0.02em; }
.breadcrumb a { color: rgba(250,247,240,0.7); text-decoration: none; border-bottom: 1px solid rgba(209,167,74,0.4); }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.page-hero h1 { color: var(--paper); font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin: 0 0 1rem; max-width: 18ch; }
.page-hero .lede { color: rgba(250,247,240,0.82); font-size: 1.12rem; max-width: 58ch; margin: 0 0 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.trust-strip { margin-top: 2rem; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250,247,240,0.62); }
.trust-strip .dot { color: var(--gold); margin: 0 0.6rem; }

/* ---------- Content ---------- */
.section { padding: 3.4rem 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 1rem; }
.prose { max-width: 64ch; }
.prose p { margin: 0 0 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.lead { font-size: 1.14rem; color: var(--ink); }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.7rem; max-width: 60ch; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg);
}

/* feature / service grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.card {
  display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: 1.5rem 1.4rem; text-decoration: none; color: var(--ink);
  transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
a.card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 14px 30px -22px rgba(28,40,65,0.5); }
.card h3 { font-size: 1.18rem; margin: 0 0 0.4rem; }
.card p { margin: 0; font-size: 0.95rem; color: var(--stone); }
.card .arrow { color: var(--gold); font-weight: 600; }
.section.alt .card { background: #fff; }

/* cross-link chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.chip {
  font-size: 0.88rem; text-decoration: none; color: var(--navy);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--paper); text-align: center; padding: 3.6rem 0; }
.cta-band h2 { color: var(--paper); font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 0.8rem; }
.cta-band p { color: rgba(250,247,240,0.8); max-width: 50ch; margin: 0 auto 1.8rem; }
.cta-band .hours { margin-top: 1.6rem; font-size: 0.8rem; letter-spacing: 0.06em; color: rgba(250,247,240,0.62); }
.cta-band .hours .dot { color: var(--gold); margin: 0 0.5rem; }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy); color: rgba(250,247,240,0.6); padding: 3.2rem 0 2rem; text-align: center; }
.site-foot .foot-brand img { height: 30px; margin: 0 auto 1.2rem; }
.foot-tagline { font-family: "Fraunces", serif; font-style: italic; color: var(--beige); font-size: 1.05rem; margin: 0 0 1.6rem; }
.foot-nav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; padding: 0; margin: 0 0 1.6rem; }
.foot-nav a { color: rgba(250,247,240,0.78); text-decoration: none; font-size: 0.92rem; }
.foot-nav a:hover { color: var(--gold-soft); }
.foot-social { display: flex; justify-content: center; gap: 0.8rem; margin: 0 0 1.6rem; }
.foot-social a { width: 38px; height: 38px; border: 1px solid rgba(250,247,240,0.25); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: rgba(250,247,240,0.7); transition: border-color 180ms var(--ease), color 180ms var(--ease); }
.foot-social a:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.foot-social svg { width: 17px; height: 17px; }
.foot-nap { font-size: 0.95rem; line-height: 1.8; margin: 0 0 0.4rem; }
.foot-nap a { color: var(--beige); text-decoration: none; font-weight: 600; }
.foot-towns { font-size: 0.8rem; color: rgba(250,247,240,0.6); margin: 1.2rem auto 0; max-width: 60ch; line-height: 1.9; }
.foot-towns .dot { color: var(--gold); margin: 0 0.4rem; }
.foot-bottom { margin-top: 2.4rem; border-top: 1px solid rgba(250,247,240,0.12); padding-top: 1.6rem; font-size: 0.78rem; color: rgba(250,247,240,0.6); display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; justify-content: center; }
.foot-bottom a { color: rgba(250,247,240,0.6); text-decoration: none; border-bottom: 1px solid rgba(209,167,74,0.5); }
.foot-bottom a:hover { color: var(--gold-soft); }

/* ---------- Mobile sticky call bar ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  display: none; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--gold); color: var(--navy); font-weight: 700; text-decoration: none;
  padding: 0.9rem; font-size: 1rem;
}
@media (max-width: 760px) { .call-bar { display: flex; } body { padding-bottom: 56px; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
