/* Plumber of the Plains - colors carried over from the original site */
:root {
  --purple: #390054;
  --purple-dark: #26003a;
  --purple-soft: #6c4a86;
  --cream: #ffebad;
  --cream-soft: #fff6d9;
  --orange: #e8812c;
  --orange-dark: #b4530f;
  --gold: #e0a82e;
  --charcoal: #3d3d3d;
  --ink: #2b2b2b;
  --muted: #5c5c66;
  --bg: #f9f9f9;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(38, 0, 58, .12);
  --head: "Advent Pro", "Arial Narrow", Arial, sans-serif;
  --body: "Open Sans", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.15; color: var(--purple); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .35em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cream); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--purple); color: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); }
.brand span { font-family: var(--head); font-weight: 700; font-size: 1.45rem; letter-spacing: .02em; line-height: 1; }
.brand small { display: block; font-family: var(--body); font-weight: 400; font-size: .7rem; color: var(--cream); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > summary { color: var(--white); text-decoration: none; font-family: var(--body); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; cursor: pointer; list-style: none; }
.nav > a:hover, .nav .dd > summary:hover, .nav > a[aria-current="page"] { background: rgba(255,255,255,.1); color: var(--cream); }
.nav .dd { position: relative; }
.nav .dd > summary::-webkit-details-marker { display: none; }
.nav .dd > summary::after { content: " \25BE"; font-size: .8em; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; min-width: 250px; display: grid; }
.dd-menu a { color: var(--purple); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.dd-menu a:hover { background: var(--cream-soft); }

.menu-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--body); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; text-decoration: none; padding: 12px 26px; border-radius: 999px; border: 3px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; line-height: 1.1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-call { background: var(--cream); color: var(--purple); border-color: var(--gold); }
.btn-call:hover { color: var(--purple); background: #fff1c4; }
.btn-purple { background: var(--purple); color: var(--cream); }
.btn-purple:hover { color: var(--white); background: var(--purple-dark); }
.btn-sm { font-size: .95rem; padding: 8px 18px; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { color: var(--white); border-color: var(--white); }

/* Hero */
.hero { background: var(--purple); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 14px, transparent 14px 28px); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 56px 0 72px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--cream); }
.hero .kicker { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 10px; font-size: 1.05rem; }
.hero p.lead { font-size: 1.12rem; color: #eee4f3; max-width: 36em; }
.hero-art img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 22px 0 0; list-style: none; font-size: .92rem; color: var(--cream); }
.trust li { display: flex; align-items: center; gap: 6px; margin: 0; }
.trust li::before { content: "\2714"; color: var(--orange); font-weight: 700; }

.hero-light { background: var(--white); color: var(--ink); border-bottom: 1px solid #ece6f0; }
.hero-light::before { display: none; }
.hero-light h1 { color: var(--purple); }
.hero-light h1 em { color: var(--orange-dark); }
.hero-light .kicker { color: var(--orange-dark); }
.hero-light p.lead { color: var(--muted); }
.hero-light .trust { color: var(--charcoal); }
.hero-light .hero-art img { box-shadow: 10px 10px 0 var(--orange); border: 4px solid var(--purple); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: var(--cream); }
.hero-photo { position: relative; color: var(--white); background: var(--purple) center/cover no-repeat; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,0,58,.95) 0%, rgba(57,0,84,.85) 45%, rgba(57,0,84,.45) 100%); }
.hero-photo .hero-inner { grid-template-columns: 1fr; max-width: 760px; margin-left: 0; padding: 64px 0 80px; }

.wave { display: block; width: 100%; height: 48px; margin-top: -1px; }
.wave path { fill: var(--purple); }

/* Breadcrumb */
.crumbs { font-size: .85rem; margin-bottom: 14px; color: var(--cream); }
.crumbs a { color: var(--cream); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }

/* Sections */
section.block { padding: 64px 0; }
.block.cream { background: var(--cream); }
.block.cream-soft { background: var(--cream-soft); }
.block.white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--orange-dark); font-size: 1rem; margin-bottom: 4px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
.framed { border: 4px solid var(--purple); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--orange); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 5px solid var(--purple); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .35em; }
.card h3 a { text-decoration: none; }
.card p { color: var(--muted); font-size: .97rem; }
.card .more { margin-top: auto; font-weight: 600; font-size: .95rem; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 28px; height: 28px; stroke: var(--purple); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card.emergency { border-top-color: var(--orange); background: var(--purple); color: var(--white); }
.card.emergency h3, .card.emergency h3 a { color: var(--cream); }
.card.emergency p { color: #e6dcee; }
.card.emergency .more a { color: var(--cream); }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: .7em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 22px; height: 22px; border-radius: 50%; background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffebad' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks li strong { color: var(--purple); }

.towns { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.towns li { margin: 0; }
.towns a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--white); border: 2px solid var(--purple); text-decoration: none; font-weight: 600; font-size: .95rem; }
.towns a:hover { background: var(--purple); color: var(--cream); }
.towns a[aria-current="page"] { background: var(--purple); color: var(--cream); }

.town-card { text-decoration: none; color: inherit; }
.town-card h3 { margin-bottom: .2em; }
.town-card .meta { font-size: .85rem; color: var(--orange-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6em; }
.town-card:hover { transform: translateY(-3px); transition: transform .15s; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); padding: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin: 0; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: var(--cream); font-family: var(--head); font-weight: 700; font-size: 1.5rem; margin-bottom: 12px; }
.steps h3 { font-size: 1.3rem; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { background: var(--white); border-radius: 14px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(38,0,58,.08); border-left: 5px solid var(--orange); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-family: var(--body); font-weight: 600; font-size: 1.08rem; color: var(--purple); list-style: none; position: relative; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: var(--orange-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 22px 18px; }
.faq .answer p:last-child { margin: 0; }

/* Prose (blog/article) */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.1em; }
.callout { background: var(--cream); border-left: 6px solid var(--purple); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }
.callout p:last-child { margin: 0; }
.two-col-list { columns: 2; column-gap: 32px; }

/* CTA band */
.cta-band { background: var(--purple); color: var(--white); padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(232,129,44,.22); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--cream); margin-bottom: .2em; }
.cta-band p { margin: 0; color: #eee4f3; max-width: 40em; }
.cta-phone { font-family: var(--head); font-size: 1.1rem; color: var(--cream); margin-top: 10px; display: block; }

/* Footer */
.site-footer { background: var(--charcoal); color: #ddd; padding: 52px 0 0; font-size: .95rem; }
.site-footer a { color: var(--white); text-decoration-color: var(--orange); }
.site-footer h3 { color: var(--cream); font-size: 1.35rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45em; }
.footer-brand img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--gold); margin-bottom: 12px; }
.footer-phone { font-family: var(--head); font-weight: 700; font-size: 1.7rem; color: var(--cream) !important; text-decoration: none; display: inline-block; margin: 6px 0; }
.chamber { display: inline-block; background: var(--white); border-radius: 10px; padding: 8px 12px; margin-top: 8px; }
.chamber img { width: 150px; height: auto; }
.footer-bottom { background: var(--purple); padding: 18px 0 18px; text-align: center; font-size: .85rem; color: var(--cream); }
.footer-bottom p { margin: 0; }

/* Mobile sticky call bar */
.callbar { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .hero-inner { padding: 40px 0 56px; gap: 28px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; border: 2px solid rgba(255,255,255,.35); background: transparent; color: var(--white); cursor: pointer; }
  .menu-toggle svg { width: 24px; height: 24px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--purple-dark); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; gap: 2px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav .dd-menu { position: static; box-shadow: none; background: rgba(255,255,255,.06); margin: 4px 0 8px; }
  .nav .dd-menu a { color: var(--white); }
  .nav .dd-menu a:hover { background: rgba(255,255,255,.1); }
  .header-call { display: none !important; }
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--purple); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.25); }
  .callbar .btn { flex: 1; font-size: 1.05rem; }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section.block { padding: 48px 0; }
  .grid-3, .grid-4, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .two-col-list { columns: 1; }
  .brand span { font-size: 1.25rem; }
  .brand small { display: none; }
  .hero-actions .btn { width: 100%; }
  .cta-inner .btn { width: 100%; }
}
