/* ==========================================================================
   H A Windows & Doors Ltd
   Design system + site styles
   --------------------------------------------------------------------------
   Contents
   01. Tokens
   02. Reset & base
   03. Typography
   04. Layout primitives
   05. Buttons & links
   06. Header / navigation
   07. Hero
   08. Trust bar & stats
   09. Cards (product, feature, step, area)
   10. Split sections
   11. Spec tables & lists
   12. Testimonials
   13. Accordion / FAQ
   14. Gallery
   15. Forms
   16. Callout / CTA band
   17. Footer
   18. Utilities & motion
   19. Print
   ========================================================================== */

/* ===== 01. Tokens ======================================================== */
:root {
  /* Brand palette */
  --ink:          #12161c;
  --ink-soft:     #1c222b;
  --anthracite:   #2a3038;
  --slate:        #5a6673;
  --slate-light:  #8794a2;
  --mist:         #f5f7f9;
  --mist-warm:    #f7f5f1;
  --line:         #e4e9ee;
  --line-strong:  #cfd8e0;
  --white:        #ffffff;

  --brass:        #c08b3e;
  --brass-deep:   #a5732e;
  --brass-light:  #e0b473;
  --brass-wash:   #fbf4e8;

  --glass:        #b9d2e0;
  --glass-pale:   #e8f1f6;
  --glass-deep:   #8fb2c6;

  --success:      #2f7d5c;
  --danger:       #b4432f;

  /* Semantic */
  --bg:           var(--white);
  --bg-alt:       var(--mist);
  --text:         var(--ink);
  --text-muted:   var(--slate);
  --border:       var(--line);
  --accent:       var(--brass);

  /* Type */
  --font-display: "Georgia", "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    ui-monospace, "SFMono-Regular", "Consolas", monospace;

  /* Fluid type scale */
  --fs-xs:    0.78rem;
  --fs-sm:    0.875rem;
  --fs-base:  1rem;
  --fs-md:    clamp(1.03rem, 0.99rem + 0.2vw, 1.12rem);
  --fs-lg:    clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --fs-xl:    clamp(1.4rem,  1.28rem + 0.6vw,  1.75rem);
  --fs-2xl:   clamp(1.75rem, 1.5rem  + 1.15vw, 2.4rem);
  --fs-3xl:   clamp(2.1rem,  1.7rem  + 1.9vw,  3.25rem);
  --fs-4xl:   clamp(2.5rem,  1.9rem  + 2.9vw,  4.25rem);

  --lh-tight: 1.12;
  --lh-snug:  1.28;
  --lh-body:  1.68;

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 3.5rem;
  --sp-9: 5rem;
  --sp-10: 7rem;
  --section-y: clamp(3.5rem, 2.2rem + 5vw, 6.5rem);

  /* Structure */
  --container: 1200px;
  --container-narrow: 760px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(18, 22, 28, .06), 0 1px 3px rgba(18, 22, 28, .04);
  --shadow:    0 4px 12px rgba(18, 22, 28, .07), 0 1px 3px rgba(18, 22, 28, .05);
  --shadow-lg: 0 18px 45px rgba(18, 22, 28, .13), 0 4px 12px rgba(18, 22, 28, .06);
  --shadow-brass: 0 10px 28px rgba(192, 139, 62, .3);

  --header-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ===== 02. Reset & base ================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

ul, ol { padding-left: 1.15rem; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--sp-7) 0;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--brass-light); color: var(--ink); }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: .7rem 1.15rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ===== 03. Typography =================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  margin: 0 0 var(--sp-4);
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-lg); line-height: var(--lh-snug); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--brass-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

strong, b { font-weight: 650; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brass);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--brass-light); }

.lede {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 62ch;
}

.section-head { max-width: 68ch; margin-bottom: var(--sp-8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ===== 04. Layout primitives ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.section--alt { background: var(--bg-alt); }
.section--warm { background: var(--mist-warm); }
.section--dark {
  background: var(--ink);
  color: #cdd6de;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .lede { color: #a9b5c0; }
.section--dark a { color: var(--brass-light); }

.grid { display: grid; gap: clamp(1.15rem, 1rem + 1vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

.stack > * + * { margin-top: var(--sp-4); }

/* ===== 05. Buttons & links ============================================== */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .92rem 1.65rem;
  min-height: 48px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--btn-fg);
}
.btn:active { transform: translateY(0); box-shadow: var(--shadow); }

.btn--primary {
  --btn-bg: var(--brass);
  --btn-fg: #1a1206;
  --btn-bd: var(--brass);
}
.btn--primary:hover { --btn-bg: var(--brass-deep); --btn-bd: var(--brass-deep); --btn-fg: #fff; box-shadow: var(--shadow-brass); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--ink); --btn-bg: var(--ink); --btn-fg: var(--white); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.4); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }

.btn--lg { padding: 1.1rem 2.1rem; font-size: var(--fs-base); min-height: 56px; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--brass);
  padding-bottom: 2px;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.link-arrow::after { content: "\2192"; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--brass-deep); gap: .75rem; }
.link-arrow:hover::after { transform: translateX(2px); }
.section--dark .link-arrow { color: var(--white); }
.section--dark .link-arrow:hover { color: var(--brass-light); }

/* ===== 06. Header / navigation ========================================== */
.topbar {
  background: var(--ink);
  color: #b9c4ce;
  font-size: var(--fs-xs);
  letter-spacing: .01em;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-5);
  min-height: 40px;
  padding-block: .45rem;
}
.topbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.topbar__list li { display: inline-flex; align-items: center; gap: .4rem; }
.topbar a { color: #dfe6ec; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--brass-light); text-decoration: underline; }
.topbar svg { width: 14px; height: 14px; flex: none; color: var(--brass-light); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow); background: rgba(255,255,255,.97); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: clamp(190px, 20vw, 236px); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .9rem;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 650;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; flex: none; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.35rem, 1.2vw, 1.1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  display: inline-block;
  padding: .55rem .3rem;
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: .3rem;
  right: .3rem;
  bottom: .2rem;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--brass-deep); }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.header-phone {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink);
}
.header-phone span:first-child {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}
.header-phone span:last-child { font-weight: 700; font-size: var(--fs-base); }
.header-phone:hover span:last-child { color: var(--brass-deep); }

/* Mobile nav panel */
@media (max-width: 1023px) {
  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(380px, 88vw);
    background: var(--white);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: calc(var(--header-h) + 1.5rem) clamp(1.25rem, 5vw, 2rem) 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .32s var(--ease);
    visibility: hidden;
  }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }
  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav__list li { border-bottom: 1px solid var(--border); }
  .primary-nav a { padding: 1rem .25rem; font-size: var(--fs-lg); font-family: var(--font-display); }
  .primary-nav a::after { display: none; }
  .primary-nav__cta { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }

  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(18, 22, 28, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
    z-index: 99;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }
}

@media (min-width: 1024px) {
  .nav-toggle, .nav-scrim, .primary-nav__cta { display: none; }
  .primary-nav { position: static; transform: none; visibility: visible; }
}

/* ===== 07. Hero ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #c8d2db;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 92px 92px;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 60vw;
  height: 60vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(192,139,62,.24), transparent 66%);
  z-index: -1;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.02fr .98fr; }
}
.hero h1 { color: var(--white); margin-bottom: var(--sp-5); }
.hero h1 em {
  font-style: normal;
  color: var(--brass-light);
  display: block;
}
.hero__lede { font-size: var(--fs-lg); color: #b3c0cb; max-width: 54ch; margin-bottom: var(--sp-6); }

.hero__points {
  list-style: none;
  margin: var(--sp-6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: var(--fs-sm);
  color: #c8d2db;
}
.hero__points svg { width: 19px; height: 19px; flex: none; margin-top: .18rem; color: var(--brass-light); }

.hero__figure { position: relative; }
.hero__figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.hero__badge {
  position: absolute;
  bottom: clamp(-.5rem, -1vw, 1rem);
  left: clamp(-.5rem, -1vw, -1.5rem);
  background: var(--white);
  color: var(--ink);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}
.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1;
  color: var(--brass-deep);
}
.hero__badge span { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.4; display: block; margin-top: .3rem; }

/* Compact page hero for inner pages */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #bcc7d1;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -8%;
  width: 46vw;
  height: 46vw;
  max-width: 560px;
  max-height: 560px;
  background: radial-gradient(circle, rgba(192,139,62,.2), transparent 68%);
  z-index: -1;
}
.page-hero__inner { padding-block: clamp(2.5rem, 1.8rem + 4vw, 5rem); max-width: 74ch; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: #a9b5c0; }

.breadcrumb {
  font-size: var(--fs-xs);
  margin-bottom: var(--sp-4);
  color: #8b98a4;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .6rem; opacity: .55; }
.breadcrumb a { color: #c6d0d9; text-decoration: none; }
.breadcrumb a:hover { color: var(--brass-light); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--brass-light); }

/* ===== 08. Trust bar & stats ============================================ */
.trust-bar {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.trust-bar__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  gap: var(--sp-4) var(--sp-6);
  list-style: none;
  margin: 0;
  padding: var(--sp-6) 0;
}
.trust-bar__list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}
.trust-bar__list svg { width: 26px; height: 26px; flex: none; color: var(--brass); }
.trust-bar__list span { color: var(--text-muted); font-weight: 500; display: block; font-size: var(--fs-xs); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.stats li {
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--brass);
}
.stats b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  line-height: 1;
  color: var(--ink);
  margin-bottom: .4rem;
}
.stats span { font-size: var(--fs-sm); color: var(--text-muted); }
.section--dark .stats li { background: var(--ink-soft); border-color: #2c333c; }
.section--dark .stats b { color: var(--white); }
.section--dark .stats span { color: #9aa7b3; }

/* ===== 09. Cards ======================================================== */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card__media {
  position: relative;
  aspect-ratio: 48 / 34;
  background: var(--mist);
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: var(--sp-2); }
.card__body p { color: var(--text-muted); font-size: var(--fs-sm); }
.card__meta {
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brass-deep);
  margin-bottom: var(--sp-2);
}
.card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: var(--sp-4) 0 0;
  padding: 0;
}
.card__tags li {
  font-size: var(--fs-xs);
  padding: .25rem .6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  background: var(--mist);
}
.card__foot { margin-top: auto; padding-top: var(--sp-5); }

.card--link { position: relative; }
.card--link:hover,
.card--link:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card--link:hover .card__media img { transform: scale(1.045); }
.card--link .card__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Feature card (icon led) */
.feature {
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 100%;
}
.feature__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--brass-wash);
  color: var(--brass-deep);
  margin-bottom: var(--sp-4);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.feature p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.section--dark .feature { background: var(--ink-soft); border-color: #2c333c; }
.section--dark .feature p { color: #9aa7b3; }
.section--dark .feature__icon { background: rgba(192,139,62,.16); color: var(--brass-light); }

/* Process steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: var(--sp-6);
  border-top: 2px solid var(--border);
}
.steps li::before {
  content: "0" counter(step);
  position: absolute;
  top: -1px;
  left: 0;
  transform: translateY(-50%);
  background: var(--brass);
  color: #1a1206;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  padding: .3rem .6rem;
  border-radius: var(--radius-pill);
}
.steps h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.steps p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.section--dark .steps li { border-top-color: #333b45; }
.section--dark .steps p { color: #9aa7b3; }

/* Service areas */
.areas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 165px), 1fr));
  gap: .6rem;
}
.areas li {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.areas svg { width: 15px; height: 15px; color: var(--brass); flex: none; }

/* ===== 10. Split sections =============================================== */
.split {
  display: grid;
  gap: clamp(2rem, 4vw, 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 .split__media { order: 2; }
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.section--dark .split__media img { border-color: #2c333c; box-shadow: 0 22px 55px rgba(0,0,0,.4); }

.check-list {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: var(--fs-sm);
}
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; color: var(--brass); }
.check-list strong { display: block; }
.check-list span { color: var(--text-muted); }

/* ===== 11. Spec tables & lists ========================================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 520px;
}
table.spec caption {
  text-align: left;
  padding: var(--sp-4) var(--sp-5);
  font-weight: 650;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
table.spec th, table.spec td { padding: .85rem var(--sp-5); text-align: left; vertical-align: top; }
table.spec thead th {
  background: var(--mist);
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
table.spec tbody tr + tr th, table.spec tbody tr + tr td { border-top: 1px solid var(--border); }
table.spec tbody th { font-weight: 650; }
table.spec td { color: var(--text-muted); }

/* Colour / finish swatches */
.swatches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 118px), 1fr));
  gap: var(--sp-4);
}
.swatches li { text-align: center; font-size: var(--fs-xs); color: var(--text-muted); }
.swatches i {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18,22,28,.14);
  margin-bottom: .5rem;
  box-shadow: inset 0 -10px 18px rgba(0,0,0,.08);
}
.swatches b { display: block; color: var(--ink); font-size: var(--fs-sm); }

/* ===== 12. Testimonials ================================================= */
.testimonials { position: relative; }
.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(100%, 420px);
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-4);
  scrollbar-width: thin;
}
.testimonial-track > * { scroll-snap-align: start; }
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.testimonial__stars { display: flex; gap: .15rem; color: var(--brass); }
.testimonial__stars svg { width: 17px; height: 17px; }
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--ink);
}
.testimonial figcaption { margin-top: auto; font-size: var(--fs-sm); color: var(--text-muted); }
.testimonial figcaption b { display: block; color: var(--ink); }

.slider-controls { display: flex; gap: var(--sp-2); justify-content: flex-end; margin-top: var(--sp-4); }
.slider-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.slider-btn svg { width: 18px; height: 18px; }
.slider-btn:hover:not(:disabled) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.slider-btn:disabled { opacity: .35; cursor: default; }

/* ===== 13. Accordion / FAQ ============================================== */
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--ink);
}
.accordion__trigger:hover { color: var(--brass-deep); }
.accordion__icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: .25rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}
.accordion__icon::before, .accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.6px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { border-color: var(--brass); background: var(--brass); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::before,
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { background: #1a1206; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__panel { overflow: hidden; }
.accordion__panel[hidden] { display: none; }
.accordion__panel > div { padding-bottom: var(--sp-5); max-width: 72ch; color: var(--text-muted); font-size: var(--fs-sm); }

/* ===== 14. Gallery ====================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-7);
}
.filter-btn {
  padding: .6rem 1.15rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--sp-5);
}
.gallery figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.gallery li:hover figure { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery img { width: 100%; aspect-ratio: 48/34; object-fit: cover; }
.gallery figcaption { padding: var(--sp-4) var(--sp-5); font-size: var(--fs-sm); }
.gallery figcaption b { display: block; font-family: var(--font-display); font-size: var(--fs-md); }
.gallery figcaption span { color: var(--text-muted); }
.gallery li[hidden] { display: none; }

.gallery-empty {
  padding: var(--sp-7);
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

/* ===== 15. Forms ======================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 2vw, 2.75rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field > label {
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--ink);
}
.field .req { color: var(--danger); }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  min-height: 48px;
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235a6673'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  background-size: 20px;
  padding-right: 2.4rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(192, 139, 62, .2);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
.field input[aria-invalid="true"]:focus, .field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(180, 67, 47, .18);
}
.field-error {
  font-size: var(--fs-xs);
  color: var(--danger);
  font-weight: 600;
  min-height: 1em;
}
.field-error:empty { display: none; }

/* Checkbox / radio groups */
.choice-group { display: grid; gap: .6rem; }
.choice-group--inline { grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); }
.choice {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .75rem .9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.choice:hover { border-color: var(--brass); }
.choice input { margin: .15rem 0 0; accent-color: var(--brass); width: 18px; height: 18px; flex: none; }
.choice:has(input:checked) { border-color: var(--brass); background: var(--brass-wash); }
.choice--plain { border: 0; padding: 0; }
.choice--plain:hover { border: 0; }
.choice--plain:has(input:checked) { background: none; }

fieldset { border: 0; margin: 0; padding: 0; }
fieldset legend {
  padding: 0;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--ink);
  margin-bottom: .55rem;
}

/* Honeypot: hidden from humans, present for bots */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  border-radius: var(--radius-sm);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  border: 1.5px solid var(--border);
  background: var(--mist);
}
.form-status[hidden] { display: none; }
.form-status--ok { border-color: rgba(47,125,92,.4); background: #f0f8f4; color: #1f5a41; }
.form-status--error { border-color: rgba(180,67,47,.4); background: #fdf3f1; color: #8d3323; }
.form-status--busy { border-color: var(--line-strong); }
.form-status a { color: inherit; font-weight: 700; }

/* ===== 16. Callout / CTA band =========================================== */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #c3ced8;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -55%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle, rgba(192,139,62,.26), transparent 68%);
  z-index: -1;
}
.cta-band__inner {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.5rem);
}
@media (min-width: 860px) {
  .cta-band__inner { grid-template-columns: 1.4fr auto; }
}
.cta-band h2 { color: var(--white); margin-bottom: var(--sp-3); }
.cta-band p { color: #a9b5c0; max-width: 58ch; margin: 0; }

.callout {
  padding: var(--sp-6);
  background: var(--brass-wash);
  border: 1px solid rgba(192,139,62,.32);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
}
.callout h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.callout p:last-child { margin-bottom: 0; }
.callout--quiet { background: var(--mist); border-color: var(--border); border-left-color: var(--slate-light); }

/* ===== 17. Footer ======================================================= */
.site-footer {
  background: var(--ink);
  color: #98a5b1;
  font-size: var(--fs-sm);
}
.site-footer__main {
  display: grid;
  gap: var(--sp-7);
  padding-block: var(--sp-8);
}
@media (min-width: 720px) {
  .site-footer__main { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}
.site-footer h2, .site-footer h3 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: var(--sp-4);
}
.site-footer a { color: #cdd7e0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer__brand img { width: 226px; margin-bottom: var(--sp-4); color: var(--white); }
.site-footer__brand p { color: #8e9ba7; max-width: 34ch; }

.footer-contact { display: grid; gap: var(--sp-4); }
.footer-contact div { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: .2rem; color: var(--brass-light); }
.footer-contact b { display: block; color: var(--white); font-weight: 650; }

.site-footer__bottom {
  border-top: 1px solid #262d36;
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: #7d8996;
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }

.accreditations {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.accreditations li {
  padding: .4rem .8rem;
  border: 1px solid #2d353f;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: .06em;
  color: #b7c2cc;
}

/* Floating contact buttons (WhatsApp always, phone on small screens) */
.fab-stack {
  position: fixed;
  right: clamp(.75rem, 2vw, 1.35rem);
  /* Clear the iOS/Android browser toolbar. Without the safe-area inset the
     buttons sit underneath the bottom chrome on phones and can't be tapped. */
  bottom: calc(clamp(1rem, 2vw, 1.35rem) + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: grid;
  gap: .6rem;
  justify-items: end;
  /* Never let the container itself swallow taps meant for the page */
  pointer-events: none;
}

.fab {
  position: relative;          /* scope for the visually-hidden label */
  pointer-events: auto;        /* re-enable on the buttons themselves */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  min-width: 52px;             /* keeps a 52px tap target when icon-only */
  padding: .8rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  -webkit-tap-highlight-color: rgba(0, 0, 0, .12);
  touch-action: manipulation;  /* removes the ~300ms tap delay */
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}

/* Hover effects only where there's a real pointer, so touch devices don't get
   stuck in a hovered state after tapping */
@media (hover: hover) {
  .fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(18, 22, 28, .26); }
}
.fab:active { transform: translateY(0); }
.fab svg { width: 22px; height: 22px; flex: none; pointer-events: none; }

.fab--whatsapp { background: #25d366; color: #08240f; }
.fab--call { background: var(--brass); color: #1a1206; }
@media (hover: hover) {
  .fab--whatsapp:hover { background: #1eb257; color: #04180a; }
  .fab--call:hover { background: var(--brass-deep); color: #fff; }
}

/* On a desktop the number is already in the header, so only WhatsApp stays */
@media (min-width: 720px) { .fab--call { display: none; } }

/* Very narrow phones: drop the labels to icon-only so the stack stays out of the way */
@media (max-width: 380px) {
  .fab { padding: .8rem; }
  .fab__label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ===== 18. Utilities & motion =========================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mx-auto { margin-inline: auto; }
.max-prose { max-width: 68ch; }

.prose h2 { margin-top: var(--sp-8); }
.prose h3 { margin-top: var(--sp-6); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { color: var(--text-muted); display: grid; gap: .5rem; margin-bottom: var(--sp-4); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* No-JS safety: never hide content if the script fails */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --text-muted: #3c4650; --border: #9aa5b1; }
}

/* ===== 19. Print ======================================================== */
@media print {
  .site-header, .topbar, .fab-stack, .cta-band, .nav-scrim, .filter-bar, .slider-controls { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .page-hero, .section--dark, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1, .section--dark h2, .site-footer a { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .card, .feature, .form-card { break-inside: avoid; }
}
