/* Dundee's Plumbing — palette derived from the supplied street-view photo
   (warm Central-Highlands QLD light) + the brick/steel/gas hero:
   clay-brick depth, steel pipework slate, warm gas-amber accent on sand. */

:root {
  --clay: #6E3A2A;        /* deep brick / brand primary */
  --clay-deep: #50281C;
  --slate: #38444F;       /* steel pipework / shed grey */
  --slate-soft: #5A6873;
  --amber: #E08A2B;       /* gas-sign amber / sun-bleached grass — accent */
  --amber-deep: #C2731B;
  --sand: #F6F1EA;        /* warm paper surface */
  --sand-2: #EDE4D8;
  --ink: #241A14;
  --ink-soft: #5C4F45;
  --line: #E0D5C6;
  --white: #FFFFFF;

  --maxw: 1160px;
  --pad: clamp(1.1rem, 4vw, 2.2rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -28px rgba(36, 26, 20, .55);
  --shadow-sm: 0 6px 22px -14px rgba(36, 26, 20, .5);

  --sans: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

a { color: var(--clay); text-decoration: none; }

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

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

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1rem;
  padding: .92rem 1.5rem;
  border-radius: 999px;
  min-height: 48px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  cursor: pointer; line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 10px 26px -12px rgba(224, 138, 43, .8); }
.btn-primary:hover { transform: translateY(-2px); background: var(--amber-deep); color: var(--white); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-secondary:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--clay); color: var(--white); }
.btn-dark:hover { background: var(--clay-deep); transform: translateY(-2px); }
.btn-ghost { background: var(--white); color: var(--clay); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--clay); transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 234, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word b { font-family: var(--display); font-weight: 600; font-size: 1.22rem; color: var(--clay); letter-spacing: -.01em; }
.brand .word span { font-family: var(--sans); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--slate-soft); margin-top: 3px; }

.nav-links { display: flex; gap: .35rem; margin-left: auto; }
.nav-links a {
  color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: .55rem .8rem; border-radius: 8px; position: relative;
}
.nav-links a:hover { background: var(--sand-2); }
.nav-links a[aria-current="page"] { color: var(--clay); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem;
  height: 2px; background: var(--amber); border-radius: 2px;
}
.header-cta { margin-left: .4rem; }
.header-cta.btn { padding: .7rem 1.15rem; min-height: 44px; }

.nav-toggle {
  margin-left: auto; display: none;
  width: 48px; height: 48px; border: 1px solid var(--line);
  background: var(--white); border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-panel { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--white);
  background: var(--slate);
  overflow: hidden;
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(36,26,20,.92) 0%, rgba(56,68,79,.78) 48%, rgba(80,40,28,.42) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(3.4rem, 9vw, 6.4rem); }
.hero-inner { max-width: 640px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(224,138,43,.18); border: 1px solid rgba(224,138,43,.55);
  color: #FCD9A8; font-weight: 700; font-size: .78rem; letter-spacing: .05em;
  padding: .42rem .85rem; border-radius: 999px; margin-bottom: 1.1rem; text-transform: uppercase;
}
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--amber); }
.hero .lede { font-size: clamp(1.05rem, 2.4vw, 1.28rem); color: rgba(255,255,255,.9); max-width: 33em; margin-bottom: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-trust { display: flex; align-items: center; gap: .8rem; margin-top: 1.8rem; flex-wrap: wrap; }
.stars { color: var(--amber); font-weight: 800; letter-spacing: .04em; }
.hero-trust .sub { color: rgba(255,255,255,.82); font-size: .92rem; }

/* ---------- generic sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.4rem); }
.section.tint { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* trust strip */
.strip { background: var(--clay); color: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; justify-content: space-between; padding-block: 1.3rem; }
.strip .item { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .98rem; }
.strip .item svg { width: 22px; height: 22px; color: var(--amber); flex: none; }

/* service cards */
.cards { display: grid; gap: 1.3rem; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ic { width: 52px; height: 52px; border-radius: 13px; background: var(--sand-2); color: var(--clay);
  display: grid; place-items: center; margin-bottom: 1rem; }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 1.1rem; }
.card .go {
  margin-top: auto; font-weight: 700; color: var(--clay); font-size: .92rem;
  display: inline-flex; align-items: center; gap: .35rem;
}
.card .go::after { content: "\2192"; transition: transform .15s; }
.card:hover .go::after { transform: translateX(4px); }

/* split block */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split .media img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split.flip .media { order: -1; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .65rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-soft); }
.checklist li svg { width: 20px; height: 20px; color: var(--amber-deep); flex: none; margin-top: 3px; }

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

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: var(--shadow-sm); position: relative;
}
.review .qstars { color: var(--amber); font-weight: 800; margin-bottom: .7rem; letter-spacing: .04em; }
.review blockquote { margin: 0 0 1rem; font-family: var(--display); font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
.review cite { font-style: normal; font-weight: 700; color: var(--slate); font-size: .95rem; }
.review cite span { display: block; font-weight: 500; color: var(--slate-soft); font-size: .82rem; }

/* CTA band */
.band {
  background: linear-gradient(120deg, var(--clay-deep), var(--clay));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.4rem);
  text-align: center; box-shadow: var(--shadow); margin-block: 0;
}
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.86); max-width: 40em; margin-inline: auto; }
.band .hero-cta { justify-content: center; margin-top: 1.5rem; }

/* page header (sub pages) */
.page-hero { background: var(--slate); color: #fff; position: relative; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .35; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(36,26,20,.9), rgba(56,68,79,.7)); z-index: 1; }
.page-hero .wrap { position: relative; z-index: 2; padding-block: clamp(2.6rem, 6vw, 4.4rem); }
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 40em; margin: 0; }
.crumbs { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); font-weight: 700; margin-bottom: .8rem; }

/* info / hours / contact */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.info-card h3 { display: flex; align-items: center; gap: .6rem; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--clay); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.hours li:last-child { border-bottom: 0; }
.hours .day { font-weight: 600; }
.hours .closed { color: var(--slate-soft); }
.hours li.today { background: var(--sand-2); margin-inline: -.6rem; padding-inline: .6rem; border-radius: 8px; }
.contact-line { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; font-weight: 600; }
.contact-line svg { width: 20px; height: 20px; color: var(--amber-deep); flex: none; }

/* step list */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 800; display: grid; place-items: center; margin-bottom: .9rem; font-family: var(--display); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* areas */
.tags { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 0; }
.tags li { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .95rem; font-size: .9rem; font-weight: 600; color: var(--slate); }

/* footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); margin-top: 0; }
.site-footer .wrap { padding-block: 3rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .brand .word b { color: #fff; }
.site-footer .brand .word span { color: rgba(255,255,255,.55); }
.site-footer p { color: rgba(255,255,255,.66); font-size: .95rem; max-width: 30em; }
.foot-col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin: 0 0 .9rem; }
.foot-col a, .foot-col span { display: block; color: rgba(255,255,255,.78); padding: .28rem 0; font-size: .95rem; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.2rem; padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-panel.open { display: block; }
  .nav-panel {
    border-top: 1px solid var(--line); background: var(--sand);
    padding: .6rem var(--pad) 1.2rem;
  }
  .nav-panel a { display: block; padding: .85rem .4rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-panel a[aria-current="page"] { color: var(--clay); }
  .nav-panel .btn { display: inline-flex; margin-top: 1rem; width: 100%; justify-content: center; }
  .split, .info-grid { grid-template-columns: 1fr; }
  .split.flip .media { order: 0; }
  .reviews { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: span 2; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .strip .wrap { gap: .9rem; }
}
