/* ==========================================================================
   Tafara Sithole Log Home and Nutec — main stylesheet
   Mobile-first. No frameworks. Single variable font (Archivo, OFL).
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"),
       url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --coal: #161718;
  --char: #1f2022;
  --slate: #2a2c2f;
  --line: #3b3d41;
  --gold: #d1a443;
  --gold-lt: #ebcb7e;
  --gold-dk: #a57a22;
  --timber: #a0602a;
  --bone: #f0ede7;
  --mist: #b4b6b9;
  --wa: #25d366;
  --wa-dk: #1da851;
  --danger: #ff8a7a;

  /* Type */
  --ff: "Archivo", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.4rem, 1.1rem + 1.2vw, 1.75rem);
  --fs-xl: clamp(1.9rem, 1.3rem + 2.4vw, 2.75rem);
  --fs-hero: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --wrap: 76rem;
  --radius: 3px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--ff);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--bone);
  background: var(--char);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-lt); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
svg.i { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--gold); color: var(--coal); padding: .6rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff);
  font-stretch: 118%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 .55em;
  color: #fff;
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); font-stretch: 125%; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); font-stretch: 112%; font-weight: 750; }
h4 { font-size: var(--fs-md); font-stretch: 108%; font-weight: 700; }
.lede { font-size: var(--fs-md); line-height: 1.55; color: var(--bone); max-width: 38em; }
.muted { color: var(--mist); }
.prose { max-width: 40em; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: .7em; height: 2px; background: var(--gold); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--coal { background: var(--coal); }
.section--slate { background: var(--slate); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--mist); font-size: var(--fs-md); line-height: 1.5; margin: 0; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split--reverse > :first-child { order: 2; }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: #17130a; --bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.1rem; padding: .8rem 1.5rem;
  font: 700 1rem/1.1 var(--ff); font-stretch: 112%; letter-spacing: .01em;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { --bg: var(--gold-lt); --bd: var(--gold-lt); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn--wa { --bg: var(--wa); --bd: var(--wa); --fg: #062d16; }
.btn--wa:hover { --bg: #3fe07d; --bd: #3fe07d; }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.btn--ghost:hover { --bg: #fff; --fg: var(--coal); --bd: #fff; }
.btn--sm { min-height: 2.5rem; padding: .5rem 1rem; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn svg { width: 1.25em; height: 1.25em; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--coal); border-bottom: 1px solid #26282b; font-size: var(--fs-sm); color: var(--mist); display: none; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 2.5rem; gap: 1rem; }
.topbar a { color: var(--bone); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: var(--gold-lt); }
.topbar .contacts { display: flex; gap: 1.6rem; }
.topbar svg { color: var(--gold); }
@media (min-width: 900px) { .topbar { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22, 23, 24, .94);
  backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid #2c2e31;
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 50px; width: auto; }
@media (min-width: 900px) { :root { --header-h: 84px; } .brand img { height: 62px; } }

.nav-toggle, .header-call {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--line); color: #fff; cursor: pointer; padding: 0;
}
.header-call { color: var(--gold-lt); text-decoration: none; }
.nav-toggle svg, .header-call svg { width: 22px; height: 22px; }
.header-cta { display: none; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }

/* Mobile drawer */
.primary-nav.is-open {
  display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--coal); overflow-y: auto; padding: 1rem var(--gutter) 6rem;
  border-top: 1px solid var(--line);
}
.primary-nav.is-open > ul > li { border-bottom: 1px solid #2a2c2f; }
.primary-nav.is-open a, .primary-nav.is-open .sub-toggle {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  padding: 1rem 0; color: #fff; text-decoration: none; font: 700 1.2rem/1.2 var(--ff); font-stretch: 112%;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.primary-nav.is-open .submenu { display: none; padding: 0 0 .75rem .9rem; border-left: 2px solid var(--gold); }
.primary-nav.is-open .has-sub.is-open .submenu { display: block; }
.primary-nav.is-open .submenu a { font-size: 1.05rem; font-weight: 600; padding: .6rem 0; color: var(--bone); }
.primary-nav .sub-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
.primary-nav .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.drawer-contact { display: grid; gap: .75rem; margin-top: 1.75rem; }
.drawer-contact .btn { width: 100%; }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  .nav-toggle, .header-call, .drawer-contact { display: none !important; }
  .header-cta { display: inline-flex; }
  .primary-nav { display: block; }
  .primary-nav > ul { display: flex; align-items: center; gap: .15rem; }
  .primary-nav > ul > li { position: relative; }
  .primary-nav a, .primary-nav .sub-toggle {
    display: inline-flex; align-items: center; gap: .3em; padding: .55rem .7rem;
    color: var(--bone); text-decoration: none; font: 600 .975rem/1 var(--ff); font-stretch: 108%;
    background: none; border: 0; cursor: pointer; border-radius: var(--radius);
  }
  .primary-nav a:hover, .primary-nav .sub-toggle:hover { color: var(--gold-lt); }
  .primary-nav a[aria-current="page"], .primary-nav .has-sub.is-current > .sub-toggle { color: var(--gold-lt); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
  .primary-nav .sub-toggle svg { width: 16px; height: 16px; }
  .submenu {
    position: absolute; top: calc(100% + .5rem); left: -.5rem; min-width: 17rem;
    background: var(--slate); border: 1px solid var(--line); border-top: 2px solid var(--gold);
    padding: .5rem; display: none; box-shadow: 0 18px 40px rgba(0,0,0,.45);
  }
  .submenu a { display: flex; width: 100%; padding: .75rem .8rem; font-weight: 500; }
  .submenu a:hover { background: rgba(255,255,255,.05); }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { display: block; }
  .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .6rem; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 54rem); display: flex; align-items: flex-end;
  padding-block: clamp(6rem, 14vw, 9rem) clamp(3rem, 7vw, 5.5rem);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(22,23,24,.96) 0%, rgba(22,23,24,.55) 45%, rgba(22,23,24,.25) 100%),
    linear-gradient(90deg, rgba(22,23,24,.85) 0%, rgba(22,23,24,.25) 70%);
}
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(22,23,24,.97) 0%, rgba(22,23,24,.88) 34%, rgba(22,23,24,.35) 62%, rgba(22,23,24,.1) 100%),
      linear-gradient(0deg, rgba(22,23,24,.6) 0%, rgba(22,23,24,0) 30%);
  }
}
.hero__content { max-width: 40rem; }
.hero__kicker { color: var(--gold-lt); font-weight: 600; font-size: var(--fs-md); margin-bottom: 1rem; }
.hero h1 { margin-bottom: .45em; }
.hero__tag { font-size: var(--fs-lg); font-stretch: 108%; font-weight: 600; color: var(--gold-lt); margin-bottom: 1rem; line-height: 1.3; }
.hero__text { color: #ddd9d2; font-size: var(--fs-md); line-height: 1.55; max-width: 34em; margin-bottom: 2rem; }

/* One orchestrated load moment: hero copy rises in sequence */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero__content > :nth-child(2) { animation-delay: .08s; }
  .hero__content > :nth-child(3) { animation-delay: .16s; }
  .hero__content > :nth-child(4) { animation-delay: .24s; }
  .hero__content > :nth-child(5) { animation-delay: .32s; }
  .hero__media img { animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* ---------- Timber plank (signature element, echoes the logo nameplate) ---------- */
.plank {
  position: relative; isolation: isolate;
  background: #6b3d17 url("../img/timber.webp") center / cover;
  border-block: 3px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}
.plank::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,12,4,.72), rgba(20,12,4,.82)); }
.plank--areas .wrap { display: grid; gap: 0; padding-block: 1.25rem; }
.area-chip { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; align-items: start; padding: 1rem 0; }
.area-chip + .area-chip { border-top: 1px solid rgba(235, 203, 126, .25); }
.area-chip svg { grid-row: span 2; width: 30px; height: 30px; color: var(--gold-lt); margin-top: .15rem; }
.area-chip strong { font-stretch: 112%; font-size: 1.1rem; color: #fff; line-height: 1.25; }
.area-chip span { color: #e9dcc8; font-size: .975rem; line-height: 1.4; }
.area-chip a { color: inherit; }
@media (min-width: 860px) {
  .plank--areas .wrap { grid-template-columns: repeat(3, 1fr); padding-block: 1.6rem; }
  .area-chip { padding: .4rem 1.75rem; }
  .area-chip:first-child { padding-left: 0; }
  .area-chip + .area-chip { border-top: 0; border-left: 1px solid rgba(235, 203, 126, .3); }
}

.cta-plank { text-align: left; }
.cta-plank .wrap { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 5vw, 3.75rem); align-items: center; }
.cta-plank h2 { margin-bottom: .3rem; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem); }
.cta-plank p { margin: 0; color: #eadfcd; max-width: 36em; }
@media (min-width: 900px) { .cta-plank .wrap { grid-template-columns: 1fr auto; } }

/* ---------- Feature services (home) ---------- */
.feature-grid { display: grid; gap: 1rem; }
.feature {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  min-height: 22rem; color: #fff; text-decoration: none; border-radius: var(--radius);
  background: var(--slate);
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18,18,19,.97) 0%, rgba(18,18,19,.8) 38%, rgba(18,18,19,.15) 75%, rgba(18,18,19,0) 100%); }
.feature__body { padding: clamp(1.25rem, 3vw, 2rem); max-width: 34rem; }
.feature h3 { margin-bottom: .35rem; }
.feature p { margin: 0 0 .9rem; color: #e2ded7; }
.feature__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--gold-lt); font-stretch: 110%; border-bottom: 2px solid var(--gold); padding-bottom: .1rem; }
.feature:hover img { transform: scale(1.035); }
.feature:hover .feature__more { color: #fff; }
.feature__flag { position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: .4em; background: rgba(22,23,24,.82); color: var(--gold-lt); padding: .35rem .7rem; font-size: .85rem; font-weight: 600; border-left: 2px solid var(--gold); }
.feature__flag svg { width: 1em; height: 1em; }
@media (min-width: 760px) {
  .feature-grid { grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; }
  .feature--lead { grid-row: span 2; min-height: 36rem; }
  .feature:not(.feature--lead) { min-height: 17.5rem; }
}

/* ---------- Service index (list, not cards) ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 2.6rem 1fr; gap: .2rem 1rem; padding: 1.25rem 0; text-decoration: none; color: var(--bone); }
.svc-list svg { grid-row: span 2; width: 2.4rem; height: 2.4rem; color: var(--gold); }
.svc-list strong { font-stretch: 110%; font-size: 1.12rem; color: #fff; line-height: 1.3; }
.svc-list span { color: var(--mist); font-size: .95rem; line-height: 1.45; }
.svc-list a:hover strong { color: var(--gold-lt); }
.svc-list .area-note { color: var(--gold-lt); }
@media (min-width: 700px) {
  .svc-list { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
@media (min-width: 1050px) {
  .svc-list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Why choose ---------- */
.why-media { position: relative; padding-bottom: 3.5rem; padding-right: 3rem; }
.why-media .m1 { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.why-media .m2 { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--char); border-radius: var(--radius); }
.why-media::before { content: ""; position: absolute; left: -12px; top: -12px; width: 38%; height: 45%; border-left: 3px solid var(--gold); border-top: 3px solid var(--gold); }
.points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.points li { display: grid; grid-template-columns: 2.75rem 1fr; gap: .1rem 1rem; }
.points svg { grid-row: span 2; width: 2.5rem; height: 2.5rem; color: var(--gold); }
.points strong { font-stretch: 112%; font-size: 1.15rem; color: #fff; }
.points span { color: var(--mist); }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
.steps li { position: relative; padding-top: 3.6rem; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  font: 800 2.6rem/1 var(--ff); font-stretch: 125%; color: var(--gold);
}
.steps li::after { content: ""; position: absolute; top: 1.35rem; left: 3.2rem; right: 0; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.steps p { color: var(--mist); margin: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--slate); }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .8rem .6rem; font-size: .82rem; line-height: 1.3; color: #eee; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); opacity: 0; transition: opacity .25s; pointer-events: none; }
.gallery figure:hover figcaption, .gallery button:focus-visible + figcaption { opacity: 1; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .8rem; } }
@media (min-width: 1050px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery--3 { grid-template-columns: repeat(3, 1fr); }
  .gallery .wide { grid-column: span 2; }
  .gallery .wide img { aspect-ratio: auto; }
}
.gallery [hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filters button {
  font: 600 .95rem/1 var(--ff); font-stretch: 108%; padding: .7rem 1.1rem; border-radius: 99px;
  color: var(--bone); background: transparent; border: 1px solid var(--line); cursor: pointer;
}
.filters button:hover { border-color: var(--gold); }
.filters button[aria-pressed="true"] { background: var(--gold); color: #17130a; border-color: var(--gold); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,11,.95); display: none; align-items: center; justify-content: center; padding: 3.5rem 1rem; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: grid; gap: .75rem; justify-items: center; }
.lightbox img { max-height: calc(100vh - 9rem); width: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { color: var(--bone); text-align: center; font-size: .95rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; cursor: pointer; }
.lb-btn:hover { background: var(--gold); color: var(--coal); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%) rotate(90deg); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%) rotate(-90deg); }

/* ---------- Areas ---------- */
.areas { display: grid; gap: 1.25rem; }
.area { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); }
.area--national { border-color: var(--gold-dk); background: linear-gradient(160deg, rgba(209,164,67,.12), rgba(209,164,67,0) 60%), var(--char); }
.area h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; }
.area h3 svg { width: 1.6rem; height: 1.6rem; color: var(--gold); }
.area p { color: var(--mist); }
.area .scope { display: block; font-size: .9rem; font-weight: 700; color: var(--gold-lt); margin-bottom: .5rem; }
.provinces { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.provinces li { font-size: .85rem; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 99px; color: var(--bone); }
@media (min-width: 900px) { .areas { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem) clamp(2.75rem, 6vw, 4.5rem); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22,23,24,.97) 0%, rgba(22,23,24,.86) 45%, rgba(22,23,24,.45) 100%); }
.page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); max-width: 16ch; }
.page-hero .lede { margin-bottom: 1.75rem; color: #e2ded7; }
.page-hero--plain { background: var(--coal); }
.page-hero--plain::before { display: none; }
.badge { display: inline-flex; align-items: center; gap: .5em; padding: .45rem .85rem; margin-bottom: 1.25rem; font-weight: 700; font-size: .95rem; color: #17130a; background: var(--gold-lt); border-radius: var(--radius); }
.badge svg { width: 1.1em; height: 1.1em; }
.badge--outline { color: var(--gold-lt); background: rgba(22,23,24,.6); border: 1px solid var(--gold-dk); }

.breadcrumb { font-size: .9rem; margin-bottom: 1.5rem; color: var(--mist); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #6c6e72; }
.breadcrumb a { color: var(--bone); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-lt); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--gold-lt); }

/* ---------- Content rows (service pages) ---------- */
.rows { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.row { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.row__media { position: relative; }
.row__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.row__media.has-frame::after { content: ""; position: absolute; right: -12px; bottom: -12px; width: 40%; height: 40%; border-right: 3px solid var(--gold); border-bottom: 3px solid var(--gold); z-index: -1; }
.row__media.has-frame { isolation: isolate; }
.row h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.3rem); }
.row p, .row li { color: #d9d5ce; }
@media (min-width: 880px) {
  .row { grid-template-columns: 1fr 1fr; }
  .row:nth-child(even) .row__media { order: 2; }
}

/* Icon visual used where no project photo is available */
.icon-visual {
  position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--radius); background: var(--slate); border: 1px solid var(--line);
}
.icon-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/timber.webp") center / cover; opacity: .14; filter: grayscale(.3); }
.icon-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--gold); }
.icon-visual svg { width: 38%; height: auto; max-width: 11rem; color: var(--gold-lt); }

/* Mini grid for sub-services */
.mini-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mini { background: var(--char); padding: 1.5rem; }
.mini svg { width: 2.2rem; height: 2.2rem; color: var(--gold); margin-bottom: .75rem; }
.mini h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.mini p { margin: 0; color: var(--mist); font-size: .975rem; }
@media (min-width: 700px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .mini-grid--3 { grid-template-columns: repeat(3, 1fr); } .mini-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Notice (location restrictions) */
.notice { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: rgba(209,164,67,.1); border: 1px solid var(--gold-dk); border-left-width: 4px; }
.notice svg { grid-row: span 2; width: 1.75rem; height: 1.75rem; color: var(--gold-lt); }
.notice strong { color: #fff; font-stretch: 110%; font-size: 1.08rem; }
.notice p { margin: 0; color: #ddd9d2; }

/* FAQ */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.2rem 0; font-weight: 700; font-stretch: 108%; font-size: 1.1rem; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; color: var(--gold); transition: transform .2s; flex: none; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details > div { padding: 0 0 1.25rem; color: #d9d5ce; max-width: 44em; }

/* Related links */
.related { display: grid; gap: 1rem; }
.related a { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: center; padding: .75rem; background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--bone); }
.related a:hover { border-color: var(--gold); }
.related img, .related .ri { width: 5.5rem; height: 4.25rem; object-fit: cover; border-radius: 2px; }
.related .ri { display: grid; place-items: center; background: var(--slate); }
.related .ri svg { width: 2rem; height: 2rem; color: var(--gold); }
.related strong { display: block; color: #fff; font-stretch: 110%; }
.related span { font-size: .9rem; color: var(--mist); }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Enquiry / form ---------- */
.enquiry { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 980px) { .enquiry { grid-template-columns: 1.35fr .9fr; align-items: start; } }
.form-card { background: var(--slate); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.5rem); }
.form-card h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; color: #fff; }
.field .opt { font-weight: 400; color: var(--mist); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--ff); color: #fff; background: var(--char);
  border: 1px solid #4a4d52; border-radius: var(--radius); padding: .8rem .9rem; min-height: 3.1rem;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 1.35rem, calc(100% - .8rem) 1.35rem; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(209,164,67,.25); }
.field .hint { display: block; font-size: .85rem; color: var(--mist); margin-top: .35rem; }
.field .err { display: none; font-size: .875rem; color: var(--danger); margin-top: .35rem; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid .err { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.area-alert { display: none; margin-top: .6rem; padding: .7rem .9rem; font-size: .92rem; color: #17130a; background: var(--gold-lt); border-radius: var(--radius); }
.area-alert.is-visible { display: block; }

.wa-preview { margin-top: 1.25rem; padding: 1rem 1.1rem; background: #0f2418; border: 1px solid #1f5a37; border-radius: var(--radius); }
.wa-preview__label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 700; color: #7fe3a6; margin-bottom: .5rem; }
.wa-preview__label svg { width: 1.1rem; height: 1.1rem; }
.wa-preview__msg { margin: 0; font-size: .95rem; color: #e2f6e9; white-space: pre-wrap; }
.form-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }
.form-actions .btn { flex: 1 1 14rem; }
.form-note { font-size: .84rem; color: var(--mist); margin: 1rem 0 0; }
.form-note a { color: var(--bone); }
.form-status { display: none; margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: var(--radius); font-weight: 500; }
.form-status.is-ok { display: block; background: rgba(37,211,102,.12); border: 1px solid #2c8a52; color: #c7f3d7; }
.form-status.is-error { display: block; background: rgba(255,138,122,.1); border: 1px solid #a3473b; color: #ffd2cb; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.contact-panel { display: grid; gap: 1rem; }
.contact-line { display: grid; grid-template-columns: 3rem 1fr; gap: .1rem 1rem; align-items: center; padding: 1.1rem 1.2rem; background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--bone); }
.contact-line:hover { border-color: var(--gold); color: var(--bone); }
.contact-line svg { grid-row: span 2; width: 2.2rem; height: 2.2rem; color: var(--gold); }
.contact-line--wa svg { color: var(--wa); }
.contact-line small { color: var(--mist); font-size: .85rem; }
.contact-line strong { font-size: 1.15rem; font-stretch: 110%; color: #fff; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--coal); border-top: 6px solid transparent; border-image: url("../img/timber.webp") 30 stretch; color: var(--mist); font-size: .975rem; }
.footer-main { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-brand img { width: 260px; height: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 26em; }
.site-footer h2 { font-size: 1.05rem; font-stretch: 112%; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--bone); text-decoration: none; }
.site-footer a:hover { color: var(--gold-lt); text-decoration: underline; }
.footer-contact a { display: inline-flex; align-items: center; gap: .55rem; }
.footer-contact svg { color: var(--gold); }
.footer-areas p { margin-bottom: .6rem; }
.footer-areas strong { color: var(--bone); }
.footer-bottom { border-top: 1px solid #2a2c2f; padding-block: 1.25rem; font-size: .875rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; }
.footer-bottom ul { display: flex; gap: 1.25rem; flex-wrap: wrap; }
@media (min-width: 760px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-main { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 150;
  display: inline-flex; align-items: center; gap: .6rem; height: 60px; padding: 0 18px 0 16px;
  background: var(--wa); color: #062d16; border-radius: 30px; text-decoration: none; font-weight: 700; font-stretch: 108%;
  box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 3px rgba(37,211,102,.25);
  transition: transform .2s, background .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #3fe07d; color: #062d16; transform: translateY(-2px); }
.wa-float span { display: none; }
@media (min-width: 700px) { .wa-float span { display: inline; } }
@media (max-width: 699px) { .wa-float { width: 60px; padding: 0; justify-content: center; } }

/* reCAPTCHA badge is hidden; the required notice is shown beside each form instead. */
.grecaptcha-badge { visibility: hidden; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.tick-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; color: #d9d5ce; }
.tick-list svg { width: 1.3rem; height: 1.3rem; color: var(--gold); margin-top: .2rem; }
.two-col-list { columns: 2 14rem; column-gap: 2rem; }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font: 800 clamp(5rem, 14vw, 9rem)/1 var(--ff); font-stretch: 125%; color: var(--gold); }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.h3 { font-size: var(--fs-lg); font-stretch: 112%; }
.btn { white-space: nowrap; }
@media (min-width: 1100px) {
  .primary-nav { flex: none; }
  .primary-nav a, .primary-nav .sub-toggle { white-space: nowrap; }
  .header-cta { flex: none; }
}
@media (min-width: 1100px) and (max-width: 1260px) {
  .primary-nav a, .primary-nav .sub-toggle { padding-inline: .5rem; font-size: .93rem; }
  .brand img { height: 54px; }
}
