/* All Wiring Solutions: PVC-grey + charcoal, with the Australian cable colour code
   (active brown, neutral blue, earth green/yellow) as the accent system. */
@font-face { font-family: "Chakra Petch"; src: url("../fonts/chakra-petch-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/chakra-petch-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --pvc: #ecebe5;
  --pvc2: #e2e0d7;
  --card: #f9f8f4;
  --line: #d3d0c4;
  --ink: #17191c;
  --ink2: #34383e;
  --muted: #5b5f66;
  --char: #1b1e22;
  --char2: #24282d;
  --char-line: rgb(255 255 255 / .1);
  --active: #b5622f;
  --active-d: #8a4a25;
  --neutral: #2a64d8;
  --neutral-hi: #3b78ec;
  --earth: #23803a;
  --earth-hi: #2f9e4a;
  --earth-y: #f2c418;
  --danger: #c4321f;
  --earth-stripe: repeating-linear-gradient(135deg, var(--earth-y) 0 8px, var(--earth-hi) 8px 16px);
  --code: linear-gradient(90deg, var(--active) 0 33.3%, var(--neutral) 33.3% 66.6%, var(--earth-hi) 66.6% 100%);
  --header-h: 78px;
  --radius: 10px;
  --display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --sans: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::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(--pvc); 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: 700; line-height: 1.08; letter-spacing: -.005em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.22rem; }
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(--earth-y); color: #111; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--neutral); outline-offset: 3px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 84px 0; position: relative; }
.kicker { font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--active-d); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.kicker::before { content: ""; width: 30px; height: 4px; border-radius: 2px; background: var(--code); }
.hero .kicker::before { display: none; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 58ch; margin-top: 14px; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.tbc { font-family: var(--display); font-weight: 700; font-size: .76em; color: #1d1a08; background: var(--earth-y); padding: 1px 6px; border-radius: 4px; white-space: nowrap; letter-spacing: .03em; }

/* Buttons (header "Call now" + floating button share .btn-call) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--sans); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-call { color: #fff; background: var(--earth); border-color: #1b6a30; position: relative; overflow: hidden; box-shadow: 0 10px 24px -10px rgb(35 128 58 / .8); padding-bottom: 14px; }
.btn-call::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--earth-stripe); background-size: 22.6px 22.6px; animation: stripe 1.6s linear infinite; }
@keyframes stripe { to { background-position: 22.6px 0; } }
.btn-call:hover { background: var(--earth-hi); box-shadow: 0 0 0 3px rgb(242 196 24 / .45), 0 12px 28px -10px rgb(35 128 58 / .9); }
.btn-ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--neutral); color: var(--neutral); }
.hero .btn-ghost { color: #f1efe8; border-color: rgb(241 239 232 / .5); }
.hero .btn-ghost:hover { border-color: var(--earth-y); color: var(--earth-y); }
.btn-lg { min-height: 54px; padding: 13px 26px 17px; 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(27 30 34 / .9); color: #f1efe8; backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--code); }
.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: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 1px rgb(255 255 255 / .14); }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--display); font-weight: 700; font-size: 1.36rem; letter-spacing: .02em; text-transform: uppercase; }
.brand-text small { font-family: var(--display); font-weight: 500; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #b9b6ad; margin-top: 5px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; }
.nav a { text-decoration: none; font-size: .95rem; padding: 8px 11px; border-radius: 8px; color: #dedbd2; }
.nav a:hover { color: #fff; background: rgb(255 255 255 / .07); }
.head-call { display: flex; align-items: center; gap: 14px; }
.head-phone { display: grid; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: #fff; line-height: 1.15; text-align: right; letter-spacing: .02em; }
.head-phone small { font-family: var(--sans); font-weight: 400; font-size: .7rem; color: #b9b6ad; letter-spacing: .06em; text-transform: uppercase; }

/* Hero */
.hero { position: relative; min-height: max(660px, 100svh); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; isolation: isolate; color: #f1efe8;
  background: radial-gradient(900px 600px at 72% 50%, rgb(42 100 216 / .16), transparent 62%), radial-gradient(600px 420px at 85% 85%, rgb(181 98 47 / .14), transparent 65%), linear-gradient(180deg, #16191c, #1d2125 60%, #16191c); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgb(22 25 28 / .94) 0%, rgb(22 25 28 / .72) 36%, rgb(22 25 28 / 0) 62%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--code); }
.hero-copy { max-width: 610px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; text-transform: uppercase; }
.hero h1 em { font-style: normal; display: block; color: var(--earth-y); margin-top: 6px; font-size: .62em; letter-spacing: .01em; }
.hero .kicker { color: #f6dc77; }
.kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--earth-hi); box-shadow: 0 0 0 4px rgb(47 158 74 / .28); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero .lede { color: #cfccc3; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; margin-top: 38px; border-top: 1px solid var(--char-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(--char-line); padding-left: 16px; }
.hero-meta b { font-family: var(--display); font-size: 1.1rem; color: #fff; }
.hero-meta li:nth-child(1) b { color: #e59a66; }
.hero-meta li:nth-child(2) b { color: #8db2ff; }
.hero-meta li:nth-child(3) b { color: #7fd68f; }
.hero-meta span { font-size: .86rem; color: #aeaba2; }

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

/* Services: .split has exactly 2 children (.sticky-col + ul.cards) */
.split { display: grid; gap: 36px; }
.sticky-col .btn { margin-top: 24px; }
.stripe { height: 8px; width: 140px; margin-top: 26px; border-radius: 4px; background: var(--code); }
.cards { display: grid; gap: 18px; }
.card { display: grid; grid-template-columns: 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; position: relative; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--active); z-index: 2; }
.card:nth-child(3n+2)::before { background: var(--neutral); }
.card:nth-child(3n)::before { background: var(--earth-stripe); }
.card:hover { border-color: var(--ink2); transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgb(23 25 28 / .5); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 20px 22px 24px; }
.card-no { font-family: var(--display); font-weight: 700; font-size: .78rem; color: var(--active-d); letter-spacing: .12em; display: block; margin-bottom: 6px; }
.card-body p { color: var(--muted); margin-top: 8px; font-size: .97rem; }

/* Why */
.why { background: var(--char); color: #f1efe8; }
.why .kicker { color: #f6dc77; }
.why .lede { color: #b9b6ad; }
.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(--char2); border: 1px solid var(--char-line); }
.why-ico { flex: none; width: 12px; border-radius: 6px; background: var(--active); }
.why-list li:nth-child(2) .why-ico { background: var(--neutral); }
.why-list li:nth-child(3) .why-ico { background: var(--earth-stripe); }
.why-list li:nth-child(4) .why-ico { background: var(--code); background: linear-gradient(180deg, var(--active) 0 33%, var(--neutral) 33% 66%, var(--earth-hi) 66%); }
.why-list p { color: #b9b6ad; 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; box-shadow: 0 30px 50px -30px rgb(23 25 28 / .6); }
.about-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--code); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-tag { position: absolute; left: 18px; top: 18px; font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .1em; padding: 6px 10px; background: var(--char); color: #fff; border-radius: 6px; }
.about-copy p { color: var(--ink2); margin-top: 14px; }
.about-copy .about-extra { color: var(--muted); font-size: .93rem; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.about-facts div { border-top: 3px solid var(--line); padding-top: 10px; }
.about-facts dt { font-family: var(--display); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--neutral); }
.about-facts dd { font-size: .98rem; overflow-wrap: anywhere; }

/* Area */
.area { background: var(--pvc2); }
.area-grid { display: grid; gap: 30px; align-items: center; }
.area-grid .btn { margin-top: 22px; }
.area-board { padding: 26px; border-radius: var(--radius); background: radial-gradient(circle at 30% 35%, rgb(42 100 216 / .18), transparent 55%), repeating-linear-gradient(0deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 28px), var(--char); }
.suburbs { display: flex; flex-wrap: wrap; gap: 10px; }
.suburbs li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .18); background: rgb(255 255 255 / .05); color: #f1efe8; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; }
.suburbs li.home { background: var(--earth); border-color: transparent; font-weight: 700; box-shadow: inset 0 -4px 0 var(--earth-y); }

/* Reviews */
.placeholder-note { margin-top: 14px; font-size: .93rem; color: var(--ink2); border: 2px dashed var(--neutral); padding: 10px 14px; border-radius: 8px; display: inline-block; background: rgb(42 100 216 / .06); }
.review-grid { display: grid; gap: 16px; }
.review-card { padding: 24px; border-radius: var(--radius); background: var(--card); border: 2px dashed var(--line); }
.stars { color: var(--earth-y); letter-spacing: 3px; -webkit-text-stroke: .5px #8a7000; }
.review-card blockquote p { margin-top: 12px; color: var(--ink2); font-style: italic; }
.review-card figcaption { margin-top: 14px; font-size: .9rem; color: var(--muted); }

/* Quote */
.quote { background: var(--char); color: #f1efe8; padding: 56px 0 64px; }
.quote .kicker { color: #f6dc77; }
.quote .lede { color: #b9b6ad; }
.quote-grid { display: grid; gap: 28px; }
.quote-call { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 18px 12px 12px; border-radius: 12px; text-decoration: none; background: var(--char2); border: 1px solid var(--char-line); font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: #fff; transition: transform .18s ease, border-color .18s ease; }
.quote-call:hover { transform: translateY(-2px); border-color: var(--earth-y); }
.quote-call small { display: block; font-family: var(--sans); font-weight: 400; font-size: .74rem; color: #b9b6ad; letter-spacing: .06em; text-transform: uppercase; }
.quote-call-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--earth); color: #fff; box-shadow: inset 0 -4px 0 var(--earth-y); }
.quote-call-icon svg { width: 22px; height: 22px; }
.quote-hours { margin-top: 16px; color: #b9b6ad; font-size: .95rem; }
.quote-form { position: relative; display: grid; gap: 16px; padding: 22px; border-radius: 14px; background: var(--card); color: var(--ink); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8); overflow: hidden; }
.quote-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--code); }
.field-row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: 1.05rem; }
.req { color: var(--active); }
.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: #fff; border: 1.5px solid #bdb9ac; border-radius: 8px; padding: 11px 13px; min-height: 46px; transition: border-color .15s ease, box-shadow .15s ease; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 19px) 52%, calc(100% - 13px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: #8a8d92; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--neutral); box-shadow: 0 0 0 3px rgb(42 100 216 / .22); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #fff4f1; }
.hint { font-size: .82rem; color: var(--muted); }
.error { font-size: .86rem; font-weight: 700; color: var(--danger); }
.error:empty { display: none; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { padding: 12px 14px; border-radius: 8px; background: rgb(35 128 58 / .1); border: 1.5px solid var(--earth); color: #14411f; font-size: .95rem; }
.field-row--contact > .field { align-content: start; }

/* Footer */
.site-footer { position: relative; padding: 56px 0 100px; background: #141619; color: #b9b6ad; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--code); }
.site-footer .brand-text strong { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h3 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #f6dc77; margin-bottom: 10px; }
.site-footer p + p { margin-top: 4px; }
.site-footer a { text-decoration: none; color: #f1efe8; }
.site-footer a:hover { color: var(--earth-y); }
.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(--char-line); font-size: .85rem; }

/* Floating call button (same .btn-call style as the header 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: 220px 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: 11px; padding: 22px 22px 20px; }
  .quote-form .field-row { gap: 14px; }
  .quote-form .field { gap: 4px; }
  .quote-form .field label { font-size: .98rem; }
  .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: 78px; }
  .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: 38px; height: 38px; }
  .brand-text strong { font-size: 1.14rem; }
  .head-phone { display: none; }
  .head-call .btn-call { min-height: 42px; padding: 8px 14px 12px; }
  .hero { align-items: flex-start; padding-top: 360px; padding-bottom: 64px; min-height: 0; }
  .hero-scrim { background: linear-gradient(180deg, rgb(22 25 28 / 0) 0, rgb(22 25 28 / 0) 290px, rgb(22 25 28 / .92) 370px, #16191c 100%); }
  .hero h1 { font-size: clamp(2.1rem, 9.4vw, 2.8rem); }
  .hero .lede { font-size: 1.02rem; }
  .hero-meta { flex-wrap: wrap; }
  .section { padding: 64px 0; }
  .trust-inner { justify-content: flex-start; }
}
@media (max-width: 340px) {
  .head-call .btn-call span { display: none; }
  .head-call .btn-call { padding: 8px 12px 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; }
}
