/* Absolute Plumbing Qld — Brendale / Brisbane
   Palette derived from the brief photos: silver-steel fleet + Brisbane
   sky blue, with the brand red taken from the "A" mark on the van. */

:root {
  --ink:        #20262c;   /* steel charcoal — fleet bodywork, logo text */
  --ink-soft:   #45525e;
  --steel:      #6f7c88;   /* brushed metal mid-tone */
  --mist:       #eef1f4;   /* light concrete / warehouse wall */
  --paper:      #ffffff;
  --sky:        #2f7fc4;   /* Brisbane sky blue (secondary) */
  --sky-deep:   #205a8c;
  --red:        #d6342b;   /* brand accent — the red "A" on the van */
  --red-deep:   #b3271f;
  --line:       #dde3e9;
  --shadow:     0 18px 44px rgba(32, 38, 44, 0.14);
  --shadow-sm:  0 6px 18px rgba(32, 38, 44, 0.10);
  --radius:     14px;
  --radius-sm:  10px;
  --wrap:       1160px;
  --ff-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --ff-body:    "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.22rem; font-weight: 600; }

p { margin: 0 0 1rem; }
a { color: var(--sky-deep); text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 0.7rem;
}
.eyebrow.on-dark { color: #ff9d97; }

.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.78em 1.5em;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(214,52,43,.32); }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sky { background: var(--sky-deep); color: #fff; }
.btn-sky:hover { background: var(--sky); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

/* Logo lockup */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.logo svg { display: block; flex: none; }
.logo .word {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo .word b { color: var(--red); font-weight: 700; }
.logo .word span {
  display: block;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav a.navlink {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.5em 0.85em;
  border-radius: 8px;
  font-size: 0.98rem;
}
.nav a.navlink:hover { color: var(--ink); background: var(--mist); }
.nav a.navlink[aria-current="page"] { color: var(--red); }
.nav .btn { margin-left: 0.4rem; }

/* mobile nav toggle (CSS-only checkbox hack) */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, rgba(20,26,31,.92) 0%, rgba(20,26,31,.55) 55%, rgba(32,90,140,.35) 100%);
}
.hero-inner {
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  max-width: 720px;
}
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.14rem; max-width: 52ch; }
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}
.stars { color: #ffc547; letter-spacing: 2px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.2rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,.82);
}
.hero-meta strong { color: #fff; font-family: var(--ff-display); }

/* page banner (sub-pages) */
.banner {
  background: var(--ink);
  color: #fff;
  padding: clamp(2.6rem, 6vw, 4rem) 0 clamp(2.2rem, 5vw, 3.2rem);
}
.banner h1 { color: #fff; }
.banner .crumbs { color: rgba(255,255,255,.6); font-size: 0.85rem; margin-bottom: 0.8rem; }
.banner .crumbs a { color: rgba(255,255,255,.8); }
.banner p { color: rgba(255,255,255,.85); max-width: 56ch; }

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 60ch; margin-bottom: 2.4rem; }
.section-head.centred { margin-left: auto; margin-right: auto; text-align: center; }
.bg-mist { background: var(--mist); }

/* trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.trust div { background: #fff; padding: 1.4rem 1.2rem; text-align: center; }
.trust .num { font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.trust .lab { font-size: 0.82rem; color: var(--steel); margin-top: 0.2rem; }

/* service grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.card .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(214,52,43,.10);
  color: var(--red);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; flex: 1; }
.card .more {
  margin-top: 1rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.card .more::after { content: "\2192"; transition: transform .15s ease; }
.card:hover .more::after { transform: translateX(4px); }

/* split feature */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
}
.split.flip .split-media { order: 2; }
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background-color: rgba(47,127,196,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23205a8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-lg { grid-column: span 7; min-height: 320px; }
.gallery .g-sm { grid-column: span 5; min-height: 320px; }
.gallery figure img { transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
}
.quote .stars { font-size: 1rem; margin-bottom: 0.6rem; display: block; }
.quote p { font-size: 1.02rem; color: var(--ink); }
.quote .who { font-family: var(--ff-display); font-weight: 600; color: var(--ink); margin-top: 0.8rem; }
.quote .who span { display: block; font-family: var(--ff-body); font-weight: 400; font-size: 0.85rem; color: var(--steel); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--sky-deep) 130%);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 52ch; margin: 0 auto 1.4rem; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,4vw,3rem); }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.info-list li:last-child { border-bottom: none; }
.info-list .ic {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(47,127,196,.10); color: var(--sky-deep);
  display: grid; place-items: center;
}
.info-list .k { font-family: var(--ff-display); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel); }
.info-list .v { font-size: 1.06rem; color: var(--ink); }
.info-list .v a { color: var(--ink); }
.panel {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}

/* hours */
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); font-size: 0.98rem; }
.hours li:last-child { border-bottom: none; }

/* areas chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem; }
.chips span {
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.4rem 0.95rem;
  font-size: 0.9rem; color: var(--ink-soft);
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; counter-reset: s; }
.step { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step .n {
  counter-increment: s;
  font-family: var(--ff-display); font-weight: 700;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color:#fff;
  display: grid; place-items: center; margin-bottom: 0.9rem;
}
.step .n::before { content: counter(s); }
.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.74);
  padding: clamp(3rem, 6vw, 4rem) 0 2rem;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
}
.site-footer .logo .word { color: #fff; }
.site-footer .logo .word span { color: rgba(255,255,255,.6); }
.site-footer h4 {
  color: #fff; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.12em; margin: 0 0 0.9rem;
}
.site-footer p { color: rgba(255,255,255,.66); margin-top: 1rem; max-width: 34ch; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: rgba(255,255,255,.74); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2.4rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between;
  font-size: 0.84rem; color: rgba(255,255,255,.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.8rem 22px 1.2rem;
    gap: 0.2rem;
    transform: translateY(-130%);
    transition: transform .26s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav a.navlink { padding: 0.85em 0.5em; border-radius: 8px; font-size: 1.05rem; }
  .nav .btn { margin: 0.5rem 0 0; }
  .nav-toggle:checked ~ .nav { transform: translateY(0); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .split { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .split-media img { min-height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .gallery .g-lg, .gallery .g-sm { grid-column: span 12; min-height: 240px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .cards, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-band .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}
