/* DQ Plumbing — Brisbane, QLD
   Palette derived from the brand asset (cyan→deep-blue gradient) and the
   tools-on-tile photo (warm sand tile). Type: Outfit (display) + Inter (body). */

:root {
  --brand:        #15A8DD;   /* bright cyan, gradient mid-tone */
  --brand-bright: #2FC2EE;   /* lighter cyan for highlights */
  --brand-deep:   #0B6CAE;   /* deeper blue, gradient dark end */
  --brand-ink:    #073B63;   /* darkest blue for headings on light */
  --accent:       #C79A60;   /* warm sand, from the tile background */
  --accent-soft:  #E7D6BC;

  --ink:    #0E1B26;
  --body:   #3D4C58;
  --muted:  #6A7A84;
  --line:   #E2EAF0;
  --paper:  #FFFFFF;
  --mist:   #F2F8FC;   /* cool tinted section background */
  --mist-2: #EAF4FA;

  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11,60,99,.06), 0 4px 14px rgba(11,60,99,.06);
  --shadow-md: 0 8px 30px rgba(11,60,99,.12);
  --shadow-lg: 0 24px 60px rgba(11,60,99,.18);

  --ff-display: "Outfit", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-deep); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section--tight { padding: 52px 0; }
.section--mist { background: var(--mist); }
.eyebrow {
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--brand-deep);
  margin: 0 0 14px;
}
.section-head { max-width: 640px; margin: 0 0 38px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.5rem); color: var(--brand-ink); }
.lead { font-size: 1.12rem; color: var(--body); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 600; font-size: 1rem;
  padding: 14px 24px; min-height: 48px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(21,168,221,.34); }
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,108,174,.38); }
.btn--ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn--outline { background: #fff; color: var(--brand-deep); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 16px 30px; min-height: 54px; font-size: 1.05rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }

/* logo lockup */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.01em; color: var(--brand-ink); }
.logo__name b { color: var(--brand); font-weight: 700; }
.logo__sub { font-family: var(--ff-display); font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--ff-display); font-weight: 500; font-size: .98rem;
  color: var(--ink); padding: 10px 14px; border-radius: 8px; line-height: 1;
  display: inline-flex; align-items: center; min-height: 44px; position: relative;
}
.nav a:hover { color: var(--brand-deep); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--brand-deep); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 2px; border-radius: 2px; background: var(--brand);
}
.header-cta { margin-left: 10px; }

/* hamburger (CSS-only) */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none; margin-left: auto; width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--brand-ink);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-burger span { position: relative; }
.nav-burger span::before { position: absolute; top: -7px; left: 0; }
.nav-burger span::after { position: absolute; top: 7px; left: 0; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(7,59,99,.93) 0%, rgba(11,108,174,.86) 42%, rgba(21,168,221,.55) 100%),
    linear-gradient(0deg, rgba(7,59,99,.55), rgba(7,59,99,0) 55%);
}
.hero__inner { position: relative; z-index: 1; padding: 96px 0 104px; max-width: 680px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px; padding: 7px 15px; font-family: var(--ff-display);
  font-weight: 500; font-size: .85rem; margin-bottom: 22px; color: #fff;
}
.hero__badge .stars { color: #FFCD4D; letter-spacing: 2px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.2rem + 4.4vw, 3.7rem); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--brand-bright); }
.hero__sub { font-size: 1.18rem; color: rgba(255,255,255,.92); max-width: 560px; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 34px; }
.hero__trust li { list-style: none; display: flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-weight: 500; font-size: .96rem; color: rgba(255,255,255,.95); }
.hero__trust svg { width: 20px; height: 20px; color: var(--brand-bright); flex: none; }

/* ---------- value strip ---------- */
.strip { background: var(--brand-ink); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li {
  list-style: none; text-align: center; color: #fff; padding: 26px 16px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.strip li:first-child { border-left: none; }
.strip .num { font-family: var(--ff-display); font-weight: 700; font-size: 1.7rem; color: var(--brand-bright); display: block; }
.strip .cap { font-size: .9rem; color: rgba(255,255,255,.82); }

/* ---------- service cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4e6f1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff; margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; color: var(--brand-ink); }
.card p { color: var(--body); margin-bottom: 16px; }
.card .arrow {
  margin-top: auto; font-family: var(--ff-display); font-weight: 600; font-size: .96rem;
  color: var(--brand-deep); display: inline-flex; align-items: center; gap: 7px;
}
.card .arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card:hover .arrow svg { transform: translateX(4px); }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.checklist li { list-style: none; display: flex; gap: 12px; padding: 9px 0; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.checklist b { color: var(--ink); font-family: var(--ff-display); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .wide { grid-column: span 2; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.review .stars { color: #F5A623; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 12px; }
.review p { color: var(--ink); font-size: 1.02rem; }
.review .who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; }
.review .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: 1rem;
}
.review .name { font-family: var(--ff-display); font-weight: 600; color: var(--ink); line-height: 1.2; }
.review .src { font-size: .82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; border-radius: 24px;
  background: linear-gradient(120deg, var(--brand-ink) 0%, var(--brand-deep) 55%, var(--brand) 120%);
  padding: 54px 48px; box-shadow: var(--shadow-lg);
}
.cta-band__drop { position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; opacity: .14; color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.3rem); position: relative; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 540px; position: relative; }
.cta-band .hero__cta { margin-top: 8px; }

/* ---------- step / process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step__n {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mist-2); color: var(--brand-deep); font-family: var(--ff-display);
  font-weight: 700; margin-bottom: 14px; border: 1.5px solid #d4e6f1;
}
.step h3 { font-size: 1.12rem; color: var(--brand-ink); }

/* ---------- page hero (sub-pages) ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--brand-ink); }
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(7,59,99,.92), rgba(11,108,174,.78) 70%, rgba(21,168,221,.5)); }
.page-hero__inner { position: relative; z-index: 1; padding: 70px 0 76px; max-width: 680px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.92); font-size: 1.12rem; max-width: 560px; margin: 0; }
.crumb { font-family: var(--ff-display); font-size: .82rem; letter-spacing: .04em; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.crumb a { color: rgba(255,255,255,.8); }
.crumb a:hover { color: #fff; }

/* ---------- service detail rows ---------- */
.svc-row { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.svc-row:first-child { border-top: none; }
.svc-row .card__icon { margin: 0; }
.svc-row h3 { font-size: 1.3rem; color: var(--brand-ink); margin-bottom: 6px; }
.svc-row .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-family: var(--ff-display); font-size: .82rem; font-weight: 500; color: var(--brand-deep); background: var(--mist-2); border: 1px solid #d9eaf4; padding: 5px 12px; border-radius: 999px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-list li { list-style: none; display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-list li:last-child { border-bottom: none; }
.contact-list .ic { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--mist-2); color: var(--brand-deep); }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list .k { font-family: var(--ff-display); font-weight: 600; color: var(--ink); font-size: .95rem; }
.contact-list .v { color: var(--body); }
.contact-list .v a { color: var(--brand-deep); font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours tr:last-child td { border-bottom: none; }
.hours td:last-child { text-align: right; font-family: var(--ff-display); color: var(--ink); }

/* ---------- about values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value .card__icon { margin-bottom: 14px; }
.value h3 { font-size: 1.12rem; color: var(--brand-ink); }
.value p { font-size: .98rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-ink); color: rgba(255,255,255,.78); padding: 56px 0 26px; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .logo__name { color: #fff; }
.site-footer .logo__name b { color: var(--brand-bright); }
.site-footer .logo__sub { color: rgba(255,255,255,.55); }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links li { list-style: none; padding: 5px 0; }
.footer-links a { color: rgba(255,255,255,.78); }
.footer-links a:hover { color: var(--brand-bright); }
.footer-blurb { max-width: 320px; font-size: .96rem; margin-top: 14px; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .split { gap: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .wide { grid-column: span 2; }
}

@media (max-width: 860px) {
  .section { padding: 56px 0; }
  .grid--3, .reviews, .steps, .values { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media img { aspect-ratio: 16 / 10; }
  .strip ul { grid-template-columns: repeat(2, 1fr); }
  .strip li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .strip li:nth-child(odd) { border-left: none; }
  .cta-band { padding: 40px 26px; }

  /* mobile nav */
  .nav-burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; margin: 0; flex-direction: column;
    align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 8px 16px 18px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease;
  }
  .nav a { padding: 14px 8px; border-radius: 8px; }
  .nav a[aria-current="page"]::after { display: none; }
  .header-cta { margin: 8px 8px 0; }
  .nav-toggle:checked ~ .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { transform: rotate(45deg); top: 0; }
  .nav-toggle:checked ~ .nav-burger span::after { transform: rotate(-45deg); top: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__inner { padding: 70px 0 76px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .wide { grid-column: span 2; }
  .svc-row { grid-template-columns: 1fr; gap: 12px; }
}
