/* Assured Plumbing — Brisbane
   Palette derived from the brief's own photos:
   - matte charcoal/ink (towel rail, tapware, gutter-guard mesh)
   - warm stone/sand neutral (concrete floor, Colorbond roof)
   - brass/amber accent (timber window frame, sunlit roof) */

:root {
  --ink: #232021;          /* matte charcoal-black */
  --ink-soft: #3a3537;
  --stone: #e9e4dc;        /* warm stone / sand */
  --stone-deep: #cdc4b6;
  --sand: #f6f2ec;         /* off-white wall */
  --paper: #ffffff;
  --brass: #b07b3c;        /* timber-frame / sunlit brass accent */
  --brass-deep: #8a5d27;
  --slate: #6c6663;        /* muted grey text */
  --line: #ddd5c9;

  --maxw: 1160px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 18px 48px -24px rgba(35, 32, 33, 0.45);
  --shadow-sm: 0 8px 22px -16px rgba(35, 32, 33, 0.4);

  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

p { margin: 0 0 1rem; }

a { color: inherit; }

img { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0.9rem;
}

.section { padding-block: clamp(3.2rem, 8vw, 6rem); }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); color: var(--sand); }
.section--ink .eyebrow { color: #d9a86a; }
.section--ink h2, .section--ink h3 { color: var(--paper); }

.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--slate); max-width: 60ch; }
.section--ink .lead { color: #d9d2cb; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brass); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brass-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--sand); }
.btn--light { background: var(--sand); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--outline-light { background: transparent; color: var(--sand); border-color: rgba(246, 242, 236, 0.6); }
.btn--outline-light:hover { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 236, 0.92);
  backdrop-filter: blur(10px);
  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: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo__word b { color: var(--brass-deep); font-weight: 800; }
.logo__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 3px;
}
.site-footer .logo { color: var(--sand); }
.site-footer .logo__word b { color: #d9a86a; }
.site-footer .logo__sub { color: #a9a29b; }

/* Nav */
.nav-toggle { display: none; }
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.35rem 0;
  position: relative;
}
.nav a:hover { color: var(--brass-deep); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brass);
  border-radius: 2px;
}
.nav .btn { margin-left: 0.4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--sand);
  background: var(--ink);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(25, 22, 23, 0.92) 0%, rgba(25, 22, 23, 0.7) 42%, rgba(25, 22, 23, 0.25) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(3.5rem, 11vw, 7.5rem);
  max-width: 640px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6.2vw, 3.9rem);
  color: #fff;
  margin-bottom: 1rem;
}
.hero h1 em { color: #e0b072; font-style: normal; }
.hero p { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: #ece6df; max-width: 50ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: #ece6df;
}
.hero__stars { color: #f0bd6c; letter-spacing: 2px; font-size: 1rem; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--ink);
  color: var(--sand);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: 1.6rem;
  text-align: center;
}
.trust__item { display: flex; flex-direction: column; gap: 0.2rem; }
.trust__item strong { font-family: var(--font-display); font-size: 1.05rem; color: #fff; }
.trust__item span { font-size: 0.82rem; color: #b6aea6; letter-spacing: 0.04em; }

/* ---------- Generic intro ---------- */
.intro { max-width: 720px; }
.section-head { max-width: 720px; margin-bottom: 2.4rem; }

/* ---------- Service grid ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--stone);
  display: grid;
  place-items: center;
  color: var(--brass-deep);
  margin-bottom: 1rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--slate); margin-bottom: 1rem; }
.card .card__link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brass-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card .card__link:hover { color: var(--brass); }
.card .card__link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.card .card__link:hover svg { transform: translateX(3px); }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 5vw, 3.4rem);
  align-items: center;
}
.split--rev { direction: rtl; }
.split--rev > * { direction: ltr; }
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  background: var(--stone-deep);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1rem 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(25,22,23,0.78), transparent);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sand);
  display: grid; place-items: center;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--slate); margin: 0; }

/* ---------- Quote / review ---------- */
.quote {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.quote__stars { color: #f0bd6c; letter-spacing: 3px; font-size: 1.2rem; margin-bottom: 1rem; }
.quote blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  color: var(--paper);
}
.quote cite { font-style: normal; color: #c9c1ba; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brass);
  color: #fff;
  border-radius: clamp(16px, 4vw, 26px);
  padding: clamp(2rem, 6vw, 3.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0; max-width: 18ch; }
.cta-band p { color: #fbeede; margin: 0.5rem 0 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Feature list ---------- */
.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--brass-deep); margin-top: 2px; }
.section--ink .checks svg { color: #e0b072; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 3rem); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list .info-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--stone); color: var(--brass-deep);
  display: grid; place-items: center; flex: none;
}
.info-list .info-ic svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.info-list span, .info-list a { color: var(--slate); text-decoration: none; }
.info-list a:hover { color: var(--brass-deep); }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.contact-card .big-call {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: var(--ink); text-decoration: none;
  margin-bottom: 0.4rem;
}
.contact-card .big-call svg { width: 30px; height: 30px; color: var(--brass-deep); }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--sand);
  padding-block: clamp(2.8rem, 8vw, 4.6rem);
}
.page-hero .eyebrow { color: #d9a86a; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5.5vw, 3.2rem); }
.page-hero p { color: #d9d2cb; max-width: 56ch; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9c1ba; padding-block: 3rem 1.6rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-about p { color: #a9a29b; max-width: 38ch; margin-top: 1rem; }
.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: #c9c1ba; text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem;
  font-size: 0.82rem; color: #8f8881;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem var(--gut) 1.2rem;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--brass-deep); }
  .nav .btn { margin: 0.9rem 0 0; }
  .nav-toggle:checked ~ .nav { transform: translateY(0); }
  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { transform: rotate(45deg) translate(4px, 4px); }
  .nav-toggle:checked ~ .nav-burger span::after { transform: rotate(-45deg) translate(4px, -4px); }

  .grid--3, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--rev { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .trust__inner { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .grid--3, .grid--2, .steps, .gallery { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 auto; }
}
