/* Brisbane Plumbing Solutions — per-site stylesheet
   Palette derived from the business's own photos:
   - cool slate (concrete blockwork, galvanised steel, overcast Brisbane sky)
   - warm stone (rendered walls, sandstone pavers)
   - copper accent (the copper pipe runs Ben installs) */

:root {
  --ink: #272f37;          /* deep slate — dominant 1 */
  --ink-soft: #3c4750;
  --stone: #f4f1ea;        /* warm off-white — dominant 2 */
  --stone-deep: #e7e1d6;
  --copper: #b46a37;       /* copper accent */
  --copper-deep: #98592c;
  --copper-tint: #f0e2d6;
  --line: #d9d2c6;
  --muted: #6c7681;
  --white: #ffffff;
  --shadow: 0 18px 48px -22px rgba(28, 36, 44, 0.45);
  --shadow-sm: 0 8px 22px -14px rgba(28, 36, 44, 0.4);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1140px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "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-body);
  color: var(--ink);
  background: var(--stone);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--copper-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 14px;
}

.section { padding: 72px 0; }
.section--tight { padding: 52px 0; }
.section--stone { background: var(--stone-deep); }
.section--ink { background: var(--ink); color: var(--stone); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: #e3a772; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--copper); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--copper-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--stone); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--stone); color: var(--ink); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.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: 18px;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo-sub {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-deep);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.nav a:hover { background: var(--stone-deep); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--copper-deep); }
.nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--copper);
  border-radius: 2px;
  margin-top: 3px;
}
.header-cta { margin-left: 6px; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--ink);
  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(105deg, rgba(24,30,36,0.92) 0%, rgba(24,30,36,0.78) 42%, rgba(24,30,36,0.34) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 92px 0 96px;
  max-width: 640px;
}
.hero h1 { color: var(--white); }
.hero .eyebrow { color: #e6ab74; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(244,241,234,0.92);
  margin: 6px 0 28px;
  max-width: 52ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 0.95rem;
  color: rgba(244,241,234,0.92);
}
.stars { color: #f2b855; letter-spacing: 2px; font-size: 1.05rem; }

/* page hero (sub-pages) */
.page-hero {
  background: var(--ink);
  color: var(--stone);
  padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(244,241,234,0.85); max-width: 56ch; margin-bottom: 0; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 0;
  text-align: center;
}
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--copper-deep); }
.trust-item span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* ---------- Service cards ---------- */
.section-head { max-width: 62ch; margin-bottom: 40px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
.card .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--copper-tint);
  color: var(--copper-deep);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.card .ico svg { width: 24px; height: 24px; }
.card p { color: var(--ink-soft); margin-bottom: 6px; }
.card .card-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--copper-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .card-link:hover { gap: 10px; text-decoration: none; }

/* ---------- Split / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split-body h2 { margin-bottom: 0.4em; }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--copper); margin-top: 2px; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.review .stars { font-size: 1rem; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; font-size: 1.02rem; color: var(--ink); }
.review cite { margin-top: auto; font-style: normal; font-weight: 700; color: var(--ink); }
.review cite span { display: block; font-weight: 500; font-size: 0.85rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--copper-deep), var(--copper));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 46px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 0; max-width: 46ch; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--copper);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.step p { color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: var(--copper-tint);
  color: var(--copper-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.info-list .ico svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.info-list a, .info-list span { font-size: 1.12rem; font-weight: 600; color: var(--ink); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.form label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.form .field { margin-bottom: 18px; }
.form input,
.form select,
.form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--stone);
  color: var(--ink);
}
.form input:focus,
.form select:focus,
.form textarea:focus { outline: 2px solid var(--copper); border-color: var(--copper); }
.form textarea { min-height: 120px; resize: vertical; }
.form .note { font-size: 0.84rem; color: var(--muted); margin: 4px 0 0; }
.form .btn { width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(244,241,234,0.82);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer .logo-name { color: var(--white); }
.site-footer .logo-sub { color: #e3a772; }
.footer-blurb { margin-top: 16px; max-width: 38ch; color: rgba(244,241,234,0.72); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e3a772;
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: rgba(244,241,234,0.82); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.84rem;
  color: rgba(244,241,234,0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--stone);
    border-bottom: 1px solid var(--line);
    padding: 12px 22px 20px;
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 12px; border-radius: 10px; }
  .nav a[aria-current="page"]::after { display: none; }
  .header-cta { margin: 8px 0 0; }
  .cards, .reviews, .steps { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .cards, .reviews, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-inner { padding: 70px 0 72px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-band { padding: 34px 26px; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1; }
}
