/* Bob Wrench Plumbing — Brisbane
   Palette derived from the brief's real photos:
   - charcoal (the black work ute / toolbox)
   - warm sandstone + cream (the hot-water tank, concrete pad)
   - eucalyptus green (the Brisbane bush behind the ute) = brand accent
   - copper (plumbing fittings + the brick hero) = secondary accent
*/

:root {
  --charcoal: #25262a;
  --ink: #1c1d20;
  --slate: #4a4d54;
  --sand: #e3d4ba;
  --cream: #f6f1e7;
  --paper: #fbf8f2;
  --euca: #3d6b51;
  --euca-dark: #2c4f3b;
  --copper: #b5763a;
  --copper-dark: #8f5a28;
  --line: #e3dccd;
  --muted: #6b6c72;

  --container: 1140px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(28, 29, 32, .07);
  --shadow: 0 14px 40px rgba(28, 29, 32, .12);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--euca-dark); text-decoration: none; }
a:hover { color: var(--copper-dark); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 .4em;
  letter-spacing: -.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.28rem; font-weight: 650; }
p { margin: 0 0 1rem; }

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

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--copper-dark);
  margin: 0 0 .8rem;
}

.section { padding: 76px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section--sand { background: linear-gradient(180deg, var(--cream), #efe6d4); }
.section--ink { background: var(--charcoal); color: var(--cream); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow { color: var(--sand); }

.lede { font-size: 1.18rem; color: var(--slate); max-width: 56ch; }
.section--ink .lede { color: #cfd2cd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1;
  padding: 15px 24px;
  min-height: 48px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--copper); color: #fff; }
.btn--primary:hover { background: var(--copper-dark); color: #fff; }
.btn--green { background: var(--euca); color: #fff; }
.btn--green:hover { background: var(--euca-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--copper); color: var(--copper-dark); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, .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: 16px;
  min-height: 72px;
}

/* ---------- Logo lockup ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.logo__mark { width: 40px; height: 40px; flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.logo__name b { color: var(--euca-dark); font-weight: 650; }
.logo__sub {
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--copper-dark);
  font-weight: 700;
  margin-top: 4px;
}

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-weight: 650;
  font-size: .96rem;
  color: var(--slate);
  padding: 10px 14px;
  border-radius: 8px;
}
.nav a:hover { color: var(--ink); background: rgba(61, 107, 81, .08); }
.nav a[aria-current="page"] {
  color: var(--euca-dark);
  background: rgba(61, 107, 81, .12);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 12px 20px; min-height: 44px; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(28,29,32,.88) 0%, rgba(28,29,32,.6) 48%, rgba(44,79,59,.28) 100%);
}
.hero__inner {
  max-width: 640px;
  padding: 108px 0 120px;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--sand); }
.hero p { color: #ece8df; font-size: 1.2rem; max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: .94rem;
  color: #e3ded4;
  font-weight: 600;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--sand); }

/* ---------- Strip ---------- */
.strip {
  background: var(--euca-dark);
  color: #eaf1ec;
}
.strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  padding-block: 18px;
  font-weight: 650;
}
.strip a.phone {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.strip a.phone svg { width: 20px; height: 20px; }

/* ---------- Layout helpers ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.section-head { max-width: 60ch; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(61, 107, 81, .12);
  color: var(--euca-dark);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin-bottom: 16px; }
.card .cta-link {
  font-weight: 700;
  font-size: .92rem;
  color: var(--copper-dark);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.card .cta-link svg { width: 15px; height: 15px; transition: transform .14s ease; }
.card:hover .cta-link svg { transform: translateX(3px); }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.feature-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.feature-list .tick {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--euca);
  color: #fff;
  display: grid; place-items: center;
  margin-top: 2px;
}
.feature-list .tick svg { width: 14px; height: 14px; }
.feature-list strong { display: block; }
.feature-list span { color: var(--muted); font-size: .96rem; }

/* ---------- Media frame ---------- */
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media-frame--tall img { aspect-ratio: 3 / 4; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery figcaption {
  font-size: .85rem;
  color: var(--muted);
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

/* ---------- Trust row ---------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-row .item {
  padding: 26px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trust-row .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--euca-dark);
  display: block;
  margin-bottom: 4px;
}
.trust-row .lab { color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- Testimonial ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--copper);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  max-width: 760px;
  margin-inline: auto;
  box-shadow: var(--shadow-sm);
}
.quote .stars { color: var(--copper); letter-spacing: 3px; font-size: 1.1rem; }
.quote blockquote {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
}
.quote cite { font-style: normal; font-weight: 700; color: var(--slate); }
.quote cite small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--euca-dark), var(--euca));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #d8e4dc; margin: 0; max-width: 44ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  background: var(--charcoal);
  color: #fff;
  padding: 70px 0 56px;
  position: relative;
}
.page-hero .eyebrow { color: var(--sand); }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero p { color: #d4d0c6; max-width: 56ch; margin: 0; font-size: 1.12rem; }
.breadcrumb { font-size: .85rem; color: #b8b4aa; margin-bottom: 14px; }
.breadcrumb a { color: var(--sand); }

/* ---------- 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-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(181, 118, 58, .12);
  color: var(--copper-dark);
  display: grid; place-items: center;
}
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list .lab { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.contact-list .val { font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.contact-list .val a { color: var(--ink); }
.contact-list .val a:hover { color: var(--copper-dark); }

.note {
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  color: var(--slate);
  font-size: .96rem;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-sans);
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--copper); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9cac1;
  padding: 60px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer .logo__name { color: #fff; }
.site-footer .logo__name b { color: var(--sand); }
.footer-blurb { color: #a9aaa1; margin-top: 16px; max-width: 38ch; font-size: .96rem; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: #c9cac1; font-weight: 500; }
.footer-col a:hover { color: var(--sand); }
.footer-phone {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff !important;
  display: inline-flex; align-items: center; gap: 9px;
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: .84rem;
  color: #8e8f86;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle-label { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 22px;
    box-shadow: var(--shadow);
  }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn {
    display: inline-flex;
    justify-content: center;
    margin-top: 8px;
  }
  .nav-toggle:checked ~ .nav { display: flex; }

  .split { grid-template-columns: 1fr; gap: 34px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 30px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .hero__inner { padding: 78px 0 84px; }
  .grid--3, .grid--2, .trust-row, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
  .quote { padding: 28px 22px; }
  .quote blockquote { font-size: 1.18rem; }
}
@media (min-width: 1280px) {
  .hero__inner { padding: 128px 0 140px; }
}
