/* Right Now Plumbing: Google Ads landing pages v2 (shared styles)
   Mobile first. Built to look nothing like the main site, so the ad click lands
   somewhere that feels made for the emergency. Phone call first, call back second. */

:root {
  --ink: #101418;
  --ink-2: #1b2229;
  --ink-3: #2a333c;
  --paper: #fbf8f3;
  --white: #ffffff;
  --orange: #f4531b;
  --orange-dark: #d8440f;
  --signal: #ffd23f;
  --navy: #0e2233;
  --green: #16a34a;
  --red: #dc2626;
  --line: #e7e1d8;
  --muted: #5b6670;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(16, 20, 24, 0.14);
  --max: 1140px;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 92px; /* room for the sticky call bar on mobile */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Live bar: Adelaide time, on call now ---------- */
.livebar {
  background: var(--signal); color: var(--ink);
  font-size: 14px; font-weight: 700; text-align: center;
  padding: 7px 12px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px;
}
.livebar .sep { opacity: .5; }
.dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,.6); }
  70% { box-shadow: 0 0 0 9px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

/* ---------- Header: logo and phone only ---------- */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.topbar .logo img { height: 36px; width: auto; }
.hcall { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 17px; }
.hcall .htxt { display: grid; text-align: right; line-height: 1.15; }
.hcall .hsub { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-dark); }
.hcall .ico {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #fff; flex: none;
}

/* ---------- Hero ---------- */
.hero { padding: 22px 0 30px; }
.hero-grid { display: grid; gap: 22px; }
.hero .kicker {
  margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--orange-dark);
}
.hero h1 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(50px, 15vw, 96px); line-height: .9; letter-spacing: -.005em;
  margin: 0 0 12px;
}
.hero .sub { font-size: 19px; font-weight: 600; margin: 0 0 18px; max-width: 30em; }
.hero .sub .soft { font-weight: 400; color: var(--muted); }

.callbtn {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
  background: var(--orange); color: #fff; text-decoration: none;
  border-radius: 18px; padding: 16px 20px; max-width: 480px;
  box-shadow: 0 12px 28px rgba(244,83,27,.38);
  transition: transform .08s ease, background .15s ease;
}
.callbtn:hover { background: var(--orange-dark); }
.callbtn:active { transform: scale(.98); }
.callbtn .cb-ico {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.18);
  display: grid; place-items: center; animation: ring 2.4s infinite;
}
@keyframes ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  60% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
}
.callbtn .cb-num { display: block; font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: .01em; }
.callbtn .cb-sub { display: block; font-size: 14px; font-weight: 600; margin-top: 4px; opacity: .95; }

.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; font-size: 14px; font-weight: 700;
}
.chips svg { color: var(--green); flex: none; }
.chips .chip-night { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips .chip-night svg { color: var(--signal); }

.quote { margin: 20px 0 0; padding: 4px 0 4px 14px; border-left: 4px solid var(--orange); max-width: 30em; }
.quote .stars { color: #f5b301; letter-spacing: 2px; font-size: 16px; }
.quote blockquote { margin: 2px 0 4px; font-size: 16px; font-style: italic; }
.quote figcaption { font-size: 14px; font-weight: 700; }
.quote figcaption span { font-weight: 400; color: var(--muted); }

.hero-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-3); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .tag {
  position: absolute; left: 12px; bottom: 12px; background: var(--white);
  border-radius: 10px; padding: 8px 12px; font-weight: 800; font-size: 14px; line-height: 1.2;
}
.hero-photo .tag span { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
form.lead.lead-top { display: none; }

/* ---------- Triage: what's happening right now ---------- */
section { padding: 44px 0; }

/* ---------- Stats strip ---------- */
.stats { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.stats ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.stats li { display: grid; justify-items: center; gap: 2px; }
.stats .ring {
  width: 74px; height: 74px; border-radius: 50%; border: 2.5px dashed var(--orange);
  display: grid; place-content: center; margin-bottom: 8px; line-height: 1;
}
.stats .ring b { font-family: var(--display); font-weight: 800; font-size: 32px; color: var(--ink); }
.stats .ring b.word { font-size: 24px; }
.stats .ring small { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-top: 2px; }
.stats strong { font-size: 15px; line-height: 1.2; }
.stats li > span:last-child { font-size: 13px; color: var(--muted); line-height: 1.3; }
h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 9vw, 54px); line-height: .95; margin: 0 0 10px;
}
.intro { color: var(--muted); margin: 0 0 22px; max-width: 36em; }

.triage { background: var(--ink); color: #fff; }
.triage .intro { color: #aab6c0; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; grid-auto-flow: dense; }
.tile {
  font: inherit; color: #fff; text-align: left; cursor: pointer;
  background: var(--ink-2); border: 1.5px solid var(--ink-3); border-radius: 14px;
  padding: 14px; display: grid; gap: 10px; align-content: start;
  font-weight: 700; font-size: 16px; line-height: 1.25; min-height: 112px;
  transition: border-color .15s ease, background .15s ease;
}
.tile .ti {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(244,83,27,.16); color: var(--orange);
}
.tile.urgent { border-color: rgba(220,38,38,.6); }
.tile.urgent .ti { background: rgba(220,38,38,.18); color: #ff6b6b; }
.tile .flag { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ff6b6b; }
.tile:hover, .tile.on { border-color: var(--orange); background: #2a1c15; }
.tile:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

.panel {
  grid-column: 1 / -1; background: var(--white); color: var(--ink);
  border-radius: 14px; padding: 18px; display: grid; gap: 12px;
  animation: drop .18s ease-out;
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.panel .do { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.panel p { margin: 0; }
.panel .btn-call { justify-self: stretch; }
.cb-link { font-weight: 700; font-size: 15px; color: var(--muted); text-align: center; }

.btn-call {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 19px; border-radius: 12px; padding: 15px 18px;
  box-shadow: 0 8px 20px rgba(244,83,27,.3);
}
.btn-call:hover { background: var(--orange-dark); }

/* ---------- Call back form ---------- */
.callback-sec { padding-top: 36px; }
form.lead {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px; max-width: 520px;
}
form.lead h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0; }
form.lead .lead-intro { margin: 0; color: var(--muted); font-size: 15px; }
form.lead label { display: grid; gap: 5px; font-weight: 700; font-size: 15px; }
form.lead input {
  font: inherit; font-size: 17px; padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid #cfc8bd; background: #fff; color: var(--ink); width: 100%;
}
form.lead input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,83,27,.2); }
.btn-dark {
  font: inherit; font-weight: 800; font-size: 18px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; border-radius: 12px; padding: 15px 18px; width: 100%;
}
.btn-dark:hover { background: #000; }
form.lead .fine { margin: 0; font-size: 13px; color: var(--muted); }
.form-done { text-align: center; padding: 16px 4px; }
.form-done h3 { margin: 0 0 6px; }
.form-done p { margin: 0; }

/* ---------- Promises ---------- */
.promises { display: grid; gap: 12px; }
.promise {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
}
.promise .pi {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--signal); color: var(--ink);
}
.promise h3 { margin: 0 0 2px; font-size: 18px; }
.promise p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 0; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 22px 58px; }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff; font-family: var(--display); font-weight: 800; font-size: 22px;
  display: grid; place-items: center;
}
.steps li::after { content: ""; position: absolute; left: 19px; top: 42px; bottom: 2px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 6px 0 2px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Gear (drains) ---------- */
.gear { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gear div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.gear h3 { margin: 0 0 2px; font-size: 16px; }
.gear p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Reviews ---------- */
.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews { display: grid; gap: 12px; }
.review { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 18px; }
.review .stars { color: #f5b301; letter-spacing: 2px; }
.review blockquote { margin: 6px 0 10px; font-size: 16px; }
.review figcaption { font-weight: 700; font-size: 14px; }
.review figcaption span { font-weight: 400; color: var(--muted); }

/* ---------- Local ---------- */
.local { display: grid; gap: 20px; align-items: center; }
.local .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.local .photo img { width: 100%; height: 100%; object-fit: cover; }
.local ul { margin: 0 0 18px; padding-left: 20px; }
.local li { margin-bottom: 6px; }
.local .brands { font-size: 15px; color: var(--muted); margin: 0 0 18px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; padding: 16px 30px 16px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 26px; color: var(--orange); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* ---------- Final ---------- */
.final { background: var(--orange); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final p { margin: 0 0 18px; font-size: 18px; font-weight: 600; }
.final .callbtn { background: #fff; color: var(--ink); margin: 0 auto; box-shadow: none; text-align: left; }
.final .callbtn .cb-ico { background: var(--orange); color: #fff; animation: none; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #b9cad6; font-size: 14px; padding: 28px 0 32px; }
footer .wrap { display: grid; gap: 8px; }
footer strong, footer a { color: #fff; }
.made { margin-top: 8px; font-size: 13px; }
.made a { text-decoration: none; }

/* ---------- Sticky call bar (mobile) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--ink); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.25);
}
.callbar .bar-call {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--orange); color: #fff; text-decoration: none; border-radius: 12px;
  padding: 12px 14px; font-weight: 800; font-size: 17px; line-height: 1.1;
}
.callbar .bar-call b { font-family: var(--display); font-size: 24px; font-weight: 800; }
.callbar .bar-back {
  display: grid; place-items: center; text-decoration: none; color: #fff;
  border: 1.5px solid #4a5560; border-radius: 12px; padding: 0 12px;
  font-size: 13px; font-weight: 700; line-height: 1.15; text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .dot, .callbtn .cb-ico, .panel { animation: none; }
}

/* ---------- Larger screens ---------- */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: start; }
  .hero-photo { aspect-ratio: 16 / 11; }
  form.lead.lead-top { display: grid; position: relative; margin: -70px 20px 0; }
  .callback-sec { display: none; } /* desktop uses the form in the hero */
  section { padding: 72px 0; }
  .stats { padding: 36px 0; }
  .stats .ring { width: 96px; height: 96px; }
  .stats .ring b { font-size: 42px; }
  .stats .ring b.word { font-size: 31px; }
  .stats .ring small { font-size: 11px; }
  .stats strong { font-size: 18px; }
  .stats li > span:last-child { font-size: 15px; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .tile { min-height: 128px; font-size: 18px; padding: 18px; }
  .panel { grid-template-columns: 1fr auto; align-items: center; padding: 22px 24px; column-gap: 24px; }
  .panel .do, .panel p { grid-column: 1; }
  .panel .btn-call { grid-column: 2; grid-row: 1 / span 2; }
  .panel .cb-link { grid-column: 2; }
  .promises { grid-template-columns: repeat(3, 1fr); }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .gear { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .local { grid-template-columns: 1fr 1fr; gap: 48px; }
  .faq .wrap { max-width: 820px; }
}
@media (max-width: 380px) {
  .hcall .num { display: none; }
  .callbtn .cb-num { font-size: 31px; }
  .callbar .bar-call { font-size: 15px; }
}
