/* O' Plumbing — site styles. Night navy + brand blue (from the logo), Fraunces over Figtree. */
:root {
  --night: #0c1822;
  --night-2: #13263a;
  --night-line: #24394d;
  --ink: #121820;
  --ink-2: #2b3440;
  --muted: #56606c;
  --paper: #f6f4ef;
  --surface: #ffffff;
  --line: #e3dfd6;
  --brand: #1b9bd8;
  --brand-strong: #0a6a9e;
  --brand-deep: #08557f;
  --brand-tint: #e5f3fa;
  --on-night: #eef3f7;
  --on-night-muted: #a9b8c6;
  --star: #f2b01e;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(12, 24, 34, .06), 0 12px 32px -12px rgba(12, 24, 34, .18);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .45);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); }
a:hover { color: var(--brand-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s; cursor: pointer; font-family: var(--sans); }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.06rem; }
.btn-primary { background: var(--brand-strong); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: var(--brand-tint); color: var(--night); }

/* Top bar + header */
.topbar { background: var(--night); color: var(--on-night-muted); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar span { display: inline-flex; align-items: center; gap: .5em; }
.topbar .icon { color: var(--brand); }
.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand img { width: 190px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--brand-tint); color: var(--brand-deep); }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }

/* Hero */
.hero { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(27,155,216,.22), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 18px; }
.hero .eyebrow, .page-hero .eyebrow, .eyebrow-light { color: #7cc8ee; }
.hero h1 em { font-style: italic; color: #7cc8ee; font-weight: 500; }
.lede { font-size: 1.2rem; color: var(--on-night-muted); max-width: 36em; margin-bottom: 32px; }
.lede a { color: #fff; }
.lede-sm { font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 36px 0 0; font-size: .95rem; font-weight: 500; color: var(--on-night); }
.trust-row li { display: inline-flex; align-items: center; gap: .5em; }
.trust-row .icon { color: var(--brand); }

.hero-visual { position: relative; min-height: 440px; }
.panel { border-radius: 20px; position: absolute; }
.panel-main { inset: 0 0 40px 30px; background: linear-gradient(160deg, var(--night-2), #0f2031); border: 1px solid var(--night-line); padding: 40px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); overflow: hidden; }
.panel-kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); font-weight: 700; }
.panel-big { font-family: var(--serif); font-size: 8.5rem; line-height: 1; font-weight: 600; color: #fff; margin: 10px 0 6px; letter-spacing: -.03em; }
.panel-sub { color: var(--on-night-muted); font-size: 1.05rem; }
.pulse { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-weight: 600; font-size: .95rem; color: #bfe6f7; }
.pulse i { width: 10px; height: 10px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
.pipe { position: absolute; right: -20px; bottom: 24px; width: 78%; color: #25445e; }
.panel-rating { left: 0; bottom: 0; background: #fff; color: var(--ink); padding: 18px 22px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: auto auto; gap: 2px 12px; align-items: center; }
.panel-rating .stars { grid-column: 1 / -1; }
.panel-rating strong { font-family: var(--serif); font-size: 1.5rem; }
.panel-rating span:last-child { color: var(--muted); font-size: .9rem; }
.panel-badge { right: -10px; top: -18px; background: #fff; color: var(--ink); padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.3; }
.panel-badge .icon { width: 30px; height: 30px; color: var(--brand-strong); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { fill: currentColor; stroke: currentColor; width: 18px; height: 18px; }

/* Stats */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-grid div { padding: 34px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.stats-grid div:first-child { border-left: 0; padding-left: 0; }
.stats strong { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; line-height: 1; color: var(--brand-strong); }
.stats span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; margin: 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.split-top { align-items: start; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; margin-top: 8px; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform .15s; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.service-card { padding: 28px 24px; }
.service-card { display: flex; flex-direction: column; gap: 6px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe6f3; color: var(--ink); }
.service-card h3 { margin: 14px 0 4px; }
.service-card p { color: var(--muted); margin: 0 0 14px; flex-grow: 1; }
.service-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; }
.service-icon .icon { width: 30px; height: 30px; }
.service-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--brand-strong); }

/* Reasons */
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.reasons li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.reasons li:first-child { border-top: 0; }
.reasons > li > span { font-family: var(--serif); font-size: 1.5rem; color: var(--brand); font-weight: 600; }
.reasons h3 { margin: 0 0 4px; font-size: 1.25rem; }
.reasons p { margin: 0; color: var(--muted); }

/* Reviews */
.reviews { background: var(--paper); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-grid:empty { display: none; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.review .stars { display: none; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.65; flex-grow: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.review figcaption img { width: 40px; height: 40px; border-radius: 50%; }
.review figcaption small { display: block; font-weight: 400; color: var(--muted); }
.review-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.attribution { margin-top: 18px; font-size: .85rem; color: var(--muted); }
.fb-badge { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: #1b5fc1; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }
.reviews-summary .score { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.reviews-summary .score:hover { color: var(--brand-strong); }
.reviews-summary .score strong { font-size: 1.25rem; }
.review-source .icon { width: 28px; height: 28px; }

/* Feature band */
.feature-band { background: var(--night); color: var(--on-night); padding: 96px 0; }
.feature-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.feature-band p { color: var(--on-night-muted); font-size: 1.1rem; max-width: 34em; margin-bottom: 28px; }
.feature-list { list-style: none; margin: 0; padding: 32px; border: 1px solid var(--night-line); border-radius: 20px; background: var(--night-2); display: grid; gap: 16px; font-size: 1.05rem; }
.feature-list li { display: flex; gap: 12px; align-items: center; }
.feature-list .icon { color: var(--brand); }

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { display: inline-flex; align-items: center; gap: .5em; padding: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.chips .icon { color: var(--brand-strong); }
.chips-lg { margin: 8px 0 24px; }

/* CTA band */
.cta-band { background: var(--brand-strong); color: #fff; padding: 72px 0; }
.cta-grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; color: #d7ecf7; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Inner page hero */
.page-hero { background: var(--night); color: var(--on-night); padding: 72px 0 80px; position: relative; overflow: hidden; }
.page-hero-tall { padding: 120px 0 140px; }
.page-hero h1 { max-width: 16em; }
.h1-sub { display: block; font-size: .5em; font-weight: 500; color: #7cc8ee; margin-top: .35em; font-style: italic; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.page-hero-icon { width: 220px; height: 220px; border-radius: 40px; background: var(--night-2); border: 1px solid var(--night-line); display: grid; place-items: center; color: var(--brand); }
.page-hero-icon .icon { width: 110px; height: 110px; stroke-width: 1.2; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--on-night-muted); margin-bottom: 22px; }
.crumbs a { color: var(--on-night-muted); }
.crumbs a:hover { color: #fff; }

.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.item { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.item p { margin: 0; color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 1.05rem; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--brand-strong); margin-top: .25em; }
.faqs details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faqs summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--brand-strong); }
.faqs details[open] summary::after { content: "–"; }
.faqs details p { color: var(--muted); padding-bottom: 12px; margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card address { margin-bottom: 14px; }
.prose { max-width: 760px; font-size: 1.1rem; }

/* Contact */
.contact-side .big-phone { display: inline-flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; text-decoration: none; color: var(--brand-strong); margin-bottom: 10px; }
.contact-side .alt-phone { font-size: 1.2rem; font-weight: 600; margin: -4px 0 12px; }
.contact-side address { margin: 20px 0; color: var(--muted); }
.contact-side .btn { margin-top: 4px; }
.hcp-lead iframe { display: block; width: 100%; min-height: 560px; border: 0; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; font-weight: 600; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-weight: 400; padding: 13px 14px; border: 1.5px solid #cbc5b8; border-radius: var(--radius-sm); background: #fff; color: var(--ink); min-height: 50px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand-strong); outline: 3px solid rgba(27,155,216,.25); outline-offset: 0; }
.contact-form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1c7a4b; }
.form-status.err { color: #b3261e; }
.form-note { margin: 0; font-size: .92rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: 80px 0 110px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { width: 190px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 18px; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: #7cc8ee; }
.footer-phone { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.site-footer address { margin: 12px 0; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--night-line); margin-top: 56px; padding-top: 24px; font-size: .85rem; }

.mobile-call { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .header-call span { display: none; }
  .header-call { padding: 0 14px; }
}
@media (max-width: 920px) {
  body { font-size: 16px; }
  .topbar .topbar-right { display: none; }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand img { width: 150px; }
  .header-call { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; margin: 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 16px 20px; }
  .main-nav a { padding: 14px 16px; border-radius: 10px; font-size: 1.05rem; }
  .hero-grid, .split, .feature-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { padding-top: 56px; padding-bottom: 64px; }
  .hero-visual { min-height: 340px; }
  .panel-main { inset: 0 0 36px 0; padding: 28px; }
  .panel-big { font-size: 6rem; }
  .panel-badge { right: 8px; }
  .page-hero-icon { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid div, .stats-grid div:first-child { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .stats-grid div:nth-child(-n+2) { border-top: 0; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-call { display: flex; position: fixed; left: 12px; right: 104px; bottom: 12px; z-index: 60; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px; background: var(--brand-strong); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(8, 85, 127, .45); }
  .mobile-call:hover { color: #fff; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-actions, .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
