/* All Services Electrical & Plumbing: obsidian + brushed chrome, arc-ice highlights, with a deeper water blue for the plumbing group */
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Red Hat Mono"; src: url("../fonts/red-hat-mono.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --umber: #0d0e11;
  --umber2: #13151a;
  --panel: #1a1d23;
  --panel2: #22262e;
  --line: rgb(238 241 245 / .11);
  --ink: #eef1f5;
  --ink-soft: #c9cfd8;
  --muted: #959daa;
  --arc: #6fdcff;
  --arc-hi: #c4f1ff;
  --arc-deep: #2aa7d6;
  --water: #4a8cff;
  --water-soft: #a9c8ff;
  --chrome-hi: #f7f9fb;
  --danger: #ff8a6e;
  --arc-grad: linear-gradient(115deg, #8d949e 0%, #e9edf2 28%, #b7bec8 48%, #f7f9fb 66%, #a3aab4 100%);
  --header-h: 78px;
  --radius: 12px;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Red Hat Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--umber); color: var(--ink); font-family: var(--sans); font-size: 1.04rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.45rem); }
h3 { font-size: 1.04rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--arc); color: #06131c; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--arc); outline-offset: 3px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 84px 0; position: relative; }
.kicker { font-family: var(--mono); font-weight: 600; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--arc); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--arc-grad); }
.hero .kicker::before { display: none; }
.lede { color: var(--muted); font-size: 1.07rem; max-width: 58ch; margin-top: 14px; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.tbc { font-family: var(--mono); font-weight: 600; font-size: .74em; color: #0d0e11; background: #c4f1ff; padding: 1px 6px; border-radius: 4px; white-space: nowrap; letter-spacing: .02em; vertical-align: .08em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); transition: transform .18s ease, box-shadow .2s ease, border-color .18s ease, background-position .5s ease; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-call { color: #0d0e11; background: var(--arc-grad); background-size: 180% 100%; border-color: rgb(255 255 255 / .7); box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 0 0 0 rgb(111 220 255 / .5), 0 10px 26px -10px rgb(111 220 255 / .75); position: relative; overflow: hidden; }
.btn-call::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .55), transparent); transform: skewX(-18deg); animation: zap 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes zap { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn-call:hover { background-position: 100% 0; box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 0 0 4px rgb(111 220 255 / .22), 0 14px 32px -10px rgb(111 220 255 / .85); }
.btn-ghost { color: var(--ink); border-color: rgb(238 241 245 / .28); background: rgb(255 255 255 / .03); }
.btn-ghost:hover { border-color: var(--arc); color: var(--arc-hi); }
.btn-lg { min-height: 54px; padding: 13px 26px; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); background: rgb(13 14 17 / .84); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand-text small { font-family: var(--mono); font-weight: 600; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--arc); margin-top: 6px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; }
.nav a { text-decoration: none; font-size: .94rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--ink-soft); }
.nav a:hover { color: var(--arc-hi); background: rgb(111 220 255 / .08); }
.head-call { display: flex; align-items: center; gap: 14px; }
.head-phone { display: grid; text-decoration: none; font-family: var(--mono); font-weight: 600; font-size: 1rem; color: var(--ink); line-height: 1.15; text-align: right; }
.head-phone small { font-family: var(--sans); font-weight: 500; font-size: .68rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* Hero */
.hero { position: relative; min-height: max(660px, 100svh); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 96px; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 620px at 72% 52%, rgb(111 220 255 / .13), transparent 62%), radial-gradient(600px 420px at 88% 88%, rgb(74 140 255 / .14), transparent 70%), linear-gradient(180deg, #0b0c0f, #121419 60%, var(--umber)); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; touch-action: pan-y; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgb(13 14 17 / .94) 0%, rgb(13 14 17 / .72) 36%, rgb(13 14 17 / 0) 62%), linear-gradient(0deg, var(--umber) 0%, transparent 16%); }
.hero-copy { max-width: 590px; }
.hero h1 { font-size: clamp(2.3rem, 4.9vw, 4rem); line-height: 1.04; font-weight: 700; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; display: block; background: linear-gradient(90deg, var(--arc-hi), var(--arc) 45%, var(--water-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--arc); box-shadow: 0 0 0 4px rgb(111 220 255 / .22); animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero .lede { color: var(--ink-soft); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; margin-top: 38px; border-top: 1px solid var(--line); padding-top: 18px; max-width: 540px; }
.hero-meta li { flex: 1; display: grid; padding-right: 14px; }
.hero-meta li + li { border-left: 1px solid var(--line); padding-left: 16px; }
.hero-meta b { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--arc-hi); }
.hero-meta li:nth-child(2) b { color: var(--water-soft); }
.hero-meta span { font-size: .84rem; color: var(--muted); }

/* Trust bar */
.trustbar { border-block: 1px solid var(--line); background: var(--umber2); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; padding: 16px 0; font-size: .93rem; }
.t-label { font-family: var(--mono); font-weight: 600; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--arc); margin-right: 6px; }

/* Services: .split has exactly 2 children (.sticky-col + ul.cards) */
.split { display: grid; gap: 36px; }
.sticky-col .btn { margin-top: 24px; }
.legend { display: flex; gap: 16px; margin-top: 20px; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 14px; height: 4px; border-radius: 4px; }
.lg-e::before { background: var(--arc); }
.lg-p::before { background: var(--water); }
.cards { display: grid; gap: 16px; }
.card { display: grid; grid-template-columns: 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; transition: border-color .25s ease, transform .25s ease; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--arc); z-index: 1; }
.card--plumb::before { background: var(--water); }
.card:hover { border-color: rgb(111 220 255 / .45); transform: translateY(-3px); }
.card--plumb:hover { border-color: rgb(74 140 255 / .6); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 20px 22px 22px; }
.card-no { font-family: var(--mono); font-weight: 600; font-size: .72rem; color: var(--arc); letter-spacing: .12em; display: block; margin-bottom: 6px; }
.card--plumb .card-no { color: var(--water-soft); }
.card-body p { color: var(--muted); margin-top: 8px; font-size: .96rem; }

/* Why */
.why { background: linear-gradient(180deg, var(--umber), var(--umber2)); }
.why-grid { display: grid; gap: 30px; }
.why-list { display: grid; gap: 14px; }
.why-list li { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.why-ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgb(111 220 255 / .12); color: var(--arc); font-size: 1rem; }
.why-list p { color: var(--muted); margin-top: 6px; font-size: .96rem; }

/* About */
.about-grid { display: grid; gap: 36px; align-items: center; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.9); }
.about-tag { position: absolute; left: 16px; bottom: 16px; font-family: var(--mono); font-weight: 600; font-size: .74rem; letter-spacing: .06em; padding: 7px 12px; background: rgb(13 14 17 / .85); color: var(--arc-hi); border-radius: 999px; }
.about-copy p { color: var(--ink-soft); margin-top: 14px; }
.about-copy .about-extra { color: var(--muted); font-size: .93rem; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 18px; margin-top: 24px; }
.about-facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.about-facts dt { font-family: var(--mono); font-weight: 600; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--arc); }
.about-facts dd { font-size: .95rem; overflow-wrap: anywhere; }
.about-facts a { color: var(--ink); }

/* Area */
.area { background: var(--umber2); border-block: 1px solid var(--line); }
.area-grid { display: grid; gap: 30px; align-items: center; }
.area-grid .btn { margin-top: 22px; }
.area-board { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(circle at 18% 22%, rgb(111 220 255 / .16), transparent 45%), radial-gradient(rgb(238 241 245 / .09) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--panel); }
.suburbs { display: flex; flex-wrap: wrap; gap: 10px; }
.suburbs li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgb(238 241 245 / .18); background: rgb(13 14 17 / .75); font-size: .93rem; display: inline-flex; align-items: center; gap: 8px; }
.suburbs li.home { background: var(--arc-grad); color: #0d0e11; font-weight: 700; border-color: transparent; }
.area-note { margin-top: 16px; font-size: .86rem; color: var(--muted); }

/* Reviews */
.placeholder-note { margin-top: 14px; font-size: .92rem; color: var(--ink-soft); border: 1px dashed rgb(196 241 255 / .6); padding: 10px 14px; border-radius: 10px; display: inline-block; }
.review-grid { display: grid; gap: 16px; }
.review-card { position: relative; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px dashed rgb(238 241 245 / .25); }
.ph-badge { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #0d0e11; background: #c4f1ff; padding: 2px 8px; border-radius: 999px; }
.stars { color: var(--arc); letter-spacing: 3px; opacity: .5; }
.review-card blockquote p { margin-top: 12px; color: var(--ink-soft); font-style: italic; }
.review-card figcaption { margin-top: 14px; font-size: .88rem; color: var(--muted); }

/* Quote */
.quote { background: radial-gradient(800px 500px at 85% 30%, rgb(111 220 255 / .09), transparent 60%), var(--umber); padding: 56px 0 64px; }
.quote-grid { display: grid; gap: 28px; }
.quote-call { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 10px 20px 10px 10px; border-radius: 999px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); font-family: var(--mono); font-weight: 600; font-size: 1.1rem; color: var(--ink); transition: transform .18s ease, border-color .18s ease; }
.quote-call:hover { transform: translateY(-2px); border-color: var(--arc); }
.quote-call small { display: block; font-family: var(--sans); font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.quote-call-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--arc-grad); color: #0d0e11; }
.quote-call-icon svg { width: 21px; height: 21px; }
.quote-email { margin-top: 16px; color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.quote-email a { color: var(--ink); }
.quote-form { position: relative; display: grid; gap: 16px; padding: 22px; border-radius: 18px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid rgb(238 241 245 / .14); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8); }
.quote-form::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: linear-gradient(90deg, var(--arc), var(--water)); border-radius: 2px; }
.field-row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.req { color: var(--arc); }
.optional { font-weight: 400; color: var(--muted); font-size: .9em; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #0f1114; border: 1px solid rgb(238 241 245 / .18); border-radius: 10px; padding: 11px 13px; min-height: 46px; transition: border-color .15s ease, box-shadow .15s ease; color-scheme: dark; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--arc) 50%), linear-gradient(135deg, var(--arc) 50%, transparent 50%); background-position: calc(100% - 19px) 52%, calc(100% - 13px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option, .field select optgroup { background: var(--panel); color: var(--ink); }
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: #6c7480; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--arc); box-shadow: 0 0 0 3px rgb(111 220 255 / .22); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #22100f; }
.hint { font-size: .82rem; color: var(--muted); }
.error { font-size: .86rem; font-weight: 600; color: var(--danger); }
.error:empty { display: none; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { padding: 12px 14px; border-radius: 10px; background: rgb(111 220 255 / .1); border: 1px solid rgb(111 220 255 / .45); color: #dff6ff; font-size: .95rem; }
.field-row--contact > .field { align-content: start; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 100px; background: #0a0b0d; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h3 { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--arc); margin-bottom: 10px; }
.site-footer p + p { margin-top: 4px; }
.site-footer a { text-decoration: none; color: var(--ink); }
.site-footer a:hover { color: var(--arc-hi); }
.footer-blurb { margin-top: 12px; max-width: 34ch; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Floating call button (same style as header Call now button) */
.float-call { position: fixed; right: 18px; bottom: 18px; z-index: 90; opacity: 0; transform: translateY(20px); pointer-events: none; visibility: hidden; transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.float-call.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row--contact { grid-template-columns: 5fr 7fr; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .card { grid-template-columns: 210px 1fr; }
  .card-media { aspect-ratio: auto; min-height: 150px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  /* Compact form scale so the whole form fits one desktop screen */
  .quote-form { gap: 10px; padding: 20px 22px; }
  .quote-form .field-row { gap: 14px; }
  .quote-form .field { gap: 4px; }
  .quote-form .field label { font-size: .95rem; }
  .quote-form .field input, .quote-form .field select, .quote-form .field textarea { min-height: 40px; padding: 8px 12px; font-size: .95rem; }
  .quote-form .field textarea { min-height: 76px; }
  .quote-form .form-note { font-size: .8rem; }
  .quote-form .hint { font-size: .76rem; }
  .quote-form .btn-lg { min-height: 50px; }
}
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .sticky-col { position: sticky; top: calc(var(--header-h) + 36px); }
  .why-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .area-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .quote-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .quote-intro { position: sticky; top: calc(var(--header-h) + 28px); }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .head-call { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text small { font-size: .56rem; letter-spacing: .12em; }
  .head-phone { display: none; }
  .head-call .btn-call { min-height: 42px; padding: 8px 14px; }
  .hero { align-items: flex-start; padding-top: 360px; padding-bottom: 64px; min-height: 0; }
  .hero-scrim { background: linear-gradient(180deg, rgb(13 14 17 / 0) 0, rgb(13 14 17 / 0) 290px, rgb(13 14 17 / .92) 370px, var(--umber) 100%); }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero .lede { font-size: 1rem; }
  .hero-meta { flex-wrap: wrap; }
  .section { padding: 64px 0; }
  .trust-inner { justify-content: flex-start; }
}
@media (max-width: 400px) {
  .head-call .btn-call span { display: none; }
  .head-call .btn-call { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .quote-call:hover { transform: none; }
}
