/*
Theme Name: Roller Door South Africa
Theme URI: https://rollerdoorssouthafrica.co.za/
Author: Roller Door South Africa
Description: Lead-generation theme for Roller Door South Africa.
Version: 1.0.4
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rdsa
Tags: business, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================================
   1. Tokens
   ====================================================================== */
:root {
  --ink:       #0E1216;
  --steel-900: #161C22;
  --steel-800: #202932;
  --steel-700: #2C3742;
  --steel-500: #55636F;
  --zinc:      #7C8894;
  --line:      #D4DAE0;
  --line-soft: #E6EAEE;
  --paper:     #F1F4F6;
  --white:     #FFFFFF;
  --amber:     #FFB703;
  --amber-dark:#E09B00;
  --signal:    #C2410C;

  --font-display: 'Archivo','Helvetica Neue',Arial,sans-serif;
  --font-body:    'IBM Plex Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --font-data:    'IBM Plex Mono',ui-monospace,'SF Mono',Menlo,monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0:  clamp(1rem,    0.96rem + 0.18vw, 1.09rem);
  --step-1:  clamp(1.2rem,  1.12rem + 0.36vw, 1.42rem);
  --step-2:  clamp(1.44rem, 1.3rem  + 0.68vw, 1.85rem);
  --step-3:  clamp(1.73rem, 1.5rem  + 1.16vw, 2.4rem);
  --step-4:  clamp(2.07rem, 1.7rem  + 1.87vw, 3.13rem);
  --step-5:  clamp(2.49rem, 1.9rem  + 2.94vw, 4.07rem);

  --wrap:      1200px;
  --gutter:    clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --radius:    3px;
  --shadow:    0 1px 2px rgba(14,18,22,.06), 0 8px 24px -12px rgba(14,18,22,.22);

  /* Z-INDEX STACK — defined once, never duplicated
     10  topbar
     20  masthead (sticky)
     30  burger button (inside masthead, needs its own layer)
     40  nav-scrim
     50  nav drawer
     80  action bar
     90  WhatsApp bubble
  */
}

/* =========================================================================
   2. Base
   ====================================================================== */

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--steel-900);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  /* NO overflow-x here — it clips position:fixed children */
}
/* Clip horizontal overflow only on non-fixed containers */
main, .footer { overflow-x: clip; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; }
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - var(--gutter) * 2); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--amber); color: var(--ink);
  padding: .85rem 1.25rem; font-weight: 600; z-index: 999;
}
.skip:focus { left: 0; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; word-wrap: normal;
}

/* =========================================================================
   3. Slat motif + eyebrow
   ====================================================================== */
.slat-rule {
  height: 6px; border: 0; margin: 0;
  background: repeating-linear-gradient(135deg, var(--amber) 0 10px, var(--ink) 10px 20px);
}
.eyebrow {
  font-family: var(--font-data);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--amber); flex: none; }
.on-dark .eyebrow { color: var(--amber); }

/* =========================================================================
   4. Buttons
   ====================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-display); font-size: var(--step-0); font-weight: 600;
  letter-spacing: -.01em; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: transform .14s ease, background-color .14s ease, border-color .14s ease;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-dark); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--steel-800); }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--block { width: 100%; }
.btn--sm { padding: .65rem 1.05rem; font-size: var(--step--1); }

/* =========================================================================
   5. Topbar
   ====================================================================== */
.topbar { background: var(--ink); color: var(--paper); font-size: var(--step--1); position: relative; z-index: 10; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar__note { margin: 0; color: var(--zinc); display: flex; align-items: center; gap: .55rem; }
.topbar__note strong { color: var(--paper); font-weight: 500; }
.topbar__links { display: flex; gap: 1.4rem; align-items: center; }
.topbar__link { color: var(--paper); text-decoration: none; font-family: var(--font-data); letter-spacing: .02em; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem 0; }
.topbar__link span { color: var(--zinc); text-transform: uppercase; font-size: .76em; letter-spacing: .1em; }
.topbar__link:hover { color: var(--amber); }
@media (max-width: 860px) { .topbar { display: none; } }

/* Social profiles — one rule set, three placements.
   The topbar variant is glyph-only; the footer and contact variants add the
   network name. */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.social a {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none; color: inherit;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.social__icon { width: 18px; height: 18px; flex: none; }

/* Topbar: sits after the phone numbers, so it needs a divider not a gap. */
.social--topbar { margin-left: .4rem; padding-left: 1.1rem; border-left: 1px solid rgba(255,255,255,.18); }
.social--topbar a { color: var(--paper); padding: .35rem; border-radius: 50%; }
.social--topbar a:hover { color: var(--amber); }

/* Footer and contact: labelled pills. */
.social--footer, .social--contact { gap: .6rem; margin-top: 1.3rem; }
.social--footer a, .social--contact a {
  border: 1px solid var(--line); border-radius: 100px;
  padding: .45rem .9rem; font-family: var(--font-data);
  font-size: .78rem; letter-spacing: .04em;
}
.social--footer a { border-color: rgba(255,255,255,.22); }
.social--footer a:hover { color: var(--amber); border-color: var(--amber); }
.social--contact a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* =========================================================================
   6. Masthead — z-index 20
   ====================================================================== */
.masthead {
  position: sticky; top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s ease;
}
.masthead.is-stuck { box-shadow: 0 6px 22px -14px rgba(14,18,22,.5); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 88px; }

/* Brand */
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand img { max-height: 54px; width: auto; }

/* WordPress renders the Customizer logo as .custom-logo inside its own
   .custom-logo-link — outside .brand — so the rule above never applied to it
   and the raw 1404x632 asset was setting the masthead height. */
.masthead .custom-logo-link { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.masthead .custom-logo { height: clamp(50px, 5.4vw, 68px); width: auto; max-width: min(320px, 50vw); object-fit: contain; }
.brand__mark { width: 40px; height: 40px; flex: none; background: var(--ink); border-radius: 2px; position: relative; overflow: hidden; }
.brand__mark::after { content: ""; position: absolute; inset: 5px; background: repeating-linear-gradient(to bottom, var(--amber) 0 3px, transparent 3px 6px); }
.brand__text { display: grid; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.06rem; letter-spacing: -.03em; text-transform: uppercase; }
.brand__sub { font-family: var(--font-data); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel-500); }

/* Burger — z-index 30 (above masthead, below scrim) */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line); background: var(--white); border-radius: var(--radius);
  cursor: pointer; padding: 0; position: relative;
  z-index: 999;
  flex-shrink: 0;
}
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; font-weight: 500; font-size: .97rem; padding: .4rem 0; position: relative; white-space: nowrap; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after { transform: scaleX(1); }
.nav__list li { position: relative; }
.nav__list .sub-menu { position: absolute; top: 100%; left: -1rem; min-width: 250px; background: var(--white); border: 1px solid var(--line-soft); box-shadow: var(--shadow); list-style: none; margin: 0; padding: .5rem 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 5; }
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__list .sub-menu a { padding: .6rem 1rem; display: block; }
.nav__list .sub-menu a::after { display: none; }
.nav__list .sub-menu a:hover { background: var(--paper); }
.nav__cta { display: flex; align-items: center; gap: .7rem; }

/* =========================================================================
   7. Mobile nav — scrim z-index 40, drawer z-index 50
   ====================================================================== */
@media (max-width: 1040px) {
  .burger { display: block; }

  /* Scrim — sits between masthead(20) and nav drawer(50) */
  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(14,18,22,.55);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
  }
  .nav-scrim.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Nav drawer — slides in from right, above scrim */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 82vw;
    max-width: 320px;
    z-index: 50;
    background: var(--white);
    border-left: 1px solid var(--line);
    box-shadow: -8px 0 32px rgba(0,0,0,.22);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5rem 1.4rem 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { transform: translateX(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line-soft); }
  .nav__list a { padding: .95rem 0; font-size: 1.05rem; display: block; }
  .nav__list a::after { display: none; }
  .nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 .5rem .9rem; }
  .nav__list .sub-menu a { font-size: .95rem; color: var(--steel-500); padding: .5rem 0; }
  .nav__cta { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
  .nav__cta .btn { width: 100%; }
}

/* =========================================================================
   8. Hero
   ====================================================================== */
.hero { position: relative; background: var(--steel-900); color: var(--paper); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: 0.45; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.045) 0, rgba(255,255,255,.045) 1px, rgba(0,0,0,.22) 1px, rgba(0,0,0,.22) 3px, transparent 3px, transparent 15px),
    radial-gradient(120% 90% at 15% 0%, rgba(255,183,3,.13) 0%, transparent 55%),
    linear-gradient(to bottom, var(--steel-800), var(--steel-900));
}

/* When a hero background image is set in the Customizer, the texture overlay
   above must become translucent — its base gradient is opaque steel, and at
   z-index:-1 it paints on top of .hero__bg at z-index:-2, hiding the image
   completely. Darkest on the left, where the headline sits. */
.hero--has-image .hero__bg { opacity: 1; }
.hero--has-image::before {
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.045) 0, rgba(255,255,255,.045) 1px, rgba(0,0,0,.22) 1px, rgba(0,0,0,.22) 3px, transparent 3px, transparent 15px),
    radial-gradient(120% 90% at 15% 0%, rgba(255,183,3,.13) 0%, transparent 55%),
    linear-gradient(to right, rgba(22,28,34,.93) 0%, rgba(22,28,34,.78) 45%, rgba(22,28,34,.62) 100%);
}
@media (max-width: 980px) {
  /* Single column below 980px — the copy sits over the full width, so the
     left-to-right ramp no longer protects it. Go back to a vertical one. */
  .hero--has-image::before {
    background:
      repeating-linear-gradient(to bottom, rgba(255,255,255,.045) 0, rgba(255,255,255,.045) 1px, rgba(0,0,0,.22) 1px, rgba(0,0,0,.22) 3px, transparent 3px, transparent 15px),
      radial-gradient(120% 90% at 15% 0%, rgba(255,183,3,.13) 0%, transparent 55%),
      linear-gradient(to bottom, rgba(22,28,34,.86) 0%, rgba(22,28,34,.78) 100%);
  }
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; padding-block: clamp(3rem,7vw,5.5rem) clamp(3.5rem,8vw,6rem); }
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; } }
.hero__title { font-size: var(--step-5); margin: 0 0 1.2rem; letter-spacing: -.035em; max-width: 15ch; }
.hero__title em { font-style: normal; color: var(--amber); }
.hero__text { font-size: var(--step-1); color: #C7CFD7; max-width: 54ch; margin-bottom: 2rem; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.4rem; }
.plate { border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.28); padding: 1.35rem 1.5rem; display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 1.2rem 1.8rem; position: relative; max-width: 640px; }
.plate__item { display: grid; gap: .2rem; }
.plate__key { font-family: var(--font-data); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--zinc); }
.plate__val { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--white); line-height: 1.25; }

/* =========================================================================
   9. Quote form
   ====================================================================== */
.quote { background: var(--white); color: var(--steel-900); border-radius: var(--radius); box-shadow: 0 24px 60px -30px rgba(0,0,0,.75); overflow: hidden; position: relative; }
.quote::before { content: ""; display: block; height: 6px; background: repeating-linear-gradient(135deg,var(--amber) 0 10px,var(--ink) 10px 20px); }
.quote__head { padding: 1.5rem 1.6rem 0; }
.quote__title { font-size: var(--step-2); margin-bottom: .4rem; }
.quote__intro { color: var(--steel-500); font-size: var(--step--1); line-height: 1.55; }
.quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; padding: 1.4rem 1.6rem 1.7rem; }
.field { display: grid; gap: .3rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 600; font-family: var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--steel-500); }
.field__opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--zinc); }
.field input,.field select,.field textarea { font-family: var(--font-body); font-size: 1rem; padding: .72rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--steel-900); width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus,.field select:focus,.field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,183,3,.35); }
.field textarea { resize: vertical; min-height: 84px; }
.quote__hp { position: absolute; left: -9999px; }
.quote__actions { display: grid; gap: .6rem; }
.quote__alt { margin: 0; text-align: center; font-size: var(--step--1); color: var(--steel-500); }
.quote__alt a { font-family: var(--font-data); font-weight: 600; color: var(--ink); }
.quote__status { grid-column: 1 / -1; margin: 0; font-size: var(--step--1); padding: 0; line-height: 1.5; }
.quote__status:not(:empty) { padding: .8rem .9rem; border-radius: var(--radius); }
.quote__status.is-ok { background: #ECF7EE; color: #1B5E20; border: 1px solid #BFE0C4; }
.quote__status.is-error { background: #FDF0EC; color: #8C2F0E; border: 1px solid #F3CDBF; }

/* =========================================================================
   10. Trust strip
   ====================================================================== */
.trust { background: var(--ink); color: var(--paper); border-top: 1px solid rgba(255,255,255,.08); }
/* Four equal columns rather than auto-fit, so the dividers land at even
   intervals instead of wherever the longest claim happens to push them. */
.trust__list { display: grid; grid-template-columns: repeat(4,1fr); list-style: none; margin: 0; padding: 0; }
.trust__item {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.35rem 1.6rem; min-height: 74px;
  font-family: var(--font-data); font-size: .78rem; line-height: 1.4;
  letter-spacing: .07em; text-transform: uppercase; color: #C3CCD5;
  border-right: 1px solid rgba(255,255,255,.09);
}
.trust__item:first-child { padding-left: 0; }
.trust__item:last-child { border-right: 0; }
.trust__icon { width: 26px; height: 26px; flex: none; color: var(--amber); }
.trust__item span { display: block; max-width: 30ch; text-wrap: balance; }

@media (max-width: 1080px) {
  .trust__list { grid-template-columns: repeat(2,1fr); }
  .trust__item:nth-child(2n) { border-right: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .trust__item:nth-child(odd) { padding-left: 0; }
}

/* =========================================================================
   11. Sections + cards
   ====================================================================== */
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--steel-900); color: var(--paper); }
.section--tight { padding-block: clamp(2.5rem,5vw,4rem); }
.sechead { max-width: 720px; margin-bottom: clamp(2rem,4vw,3rem); }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead--center .eyebrow { justify-content: center; }
.sechead__title { font-size: var(--step-4); margin-bottom: .6rem; }
.sechead__intro { color: var(--steel-500); font-size: var(--step-1); line-height: 1.55; }
.section--dark .sechead__intro { color: #B9C2CB; }
.grid { display: grid; gap: clamp(1rem,2vw,1.5rem); grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit,minmax(340px,1fr)); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.card__slats { height: 130px; background: repeating-linear-gradient(to bottom,rgba(255,255,255,.06) 0,rgba(255,255,255,.06) 1px,rgba(0,0,0,.25) 1px,rgba(0,0,0,.25) 3px,transparent 3px,transparent 14px),linear-gradient(160deg,var(--steel-700),var(--steel-900)); position: relative; }
.card__slats::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--amber); transform: scaleX(.18); transform-origin: left; transition: transform .35s cubic-bezier(.4,0,.2,1); }
.card:hover .card__slats::after { transform: scaleX(1); }
.card__media { display: block; overflow: hidden; }
.card__media img { transition: transform .4s ease; width: 100%; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: var(--step-1); margin-bottom: .3rem; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--steel-500); }
.card__strap { font-family: var(--font-data); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-500); margin-bottom: .8rem; }
.card__text { color: var(--steel-700); font-size: .96rem; margin-bottom: 1.1rem; }

/* Blog cards reuse the product card shell; only the meta row is new. */
.card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem;
  font-family: var(--font-data); font-size: .7rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--steel-500); margin-bottom: .6rem;
}
.card__tag { background: var(--ink); color: var(--white); padding: .22rem .5rem; letter-spacing: .08em; }
.card__more { margin: 0; }
.card__more a {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-data); font-size: .76rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; font-weight: 600;
}
.card__more a .btn__icon { width: 16px; height: 16px; transition: transform .2s ease; }
.card--post:hover .card__more a .btn__icon { transform: translateX(3px); }

/* =========================================================================
   Sitemap page
   ====================================================================== */
.sitemap { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: clamp(1.6rem,3vw,2.6rem); }
.sitemap__group { break-inside: avoid; }
.sitemap__heading {
  font-family: var(--font-data); font-size: .72rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--steel-500);
  padding-bottom: .55rem; margin: 0 0 .8rem; border-bottom: 2px solid var(--ink);
}
.sitemap__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .42rem; }
.sitemap__list a { text-decoration: none; font-size: .93rem; }
.sitemap__list a:hover { color: var(--amber); }
.sitemap__xml {
  margin-top: clamp(2rem,4vw,3rem); padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-family: var(--font-data); font-size: .78rem; letter-spacing: .04em; color: var(--steel-500);
}
.spec { list-style: none; margin: auto 0 0; padding: .9rem 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: .45rem; }
.spec__item { font-family: var(--font-data); font-size: .78rem; color: var(--steel-500); display: flex; gap: .55rem; line-height: 1.4; }
.spec__item::before { content: "—"; color: var(--amber); flex: none; }

/* Services */
.svc { padding: 1.75rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 0 1.25rem; align-items: start; }
.section--dark .svc { border-color: rgba(255,255,255,.13); }
.svc__body { display: grid; gap: .35rem; min-width: 0; }
.svc__title { font-size: var(--step-1); margin: 0; }
.svc__title a { text-decoration: none; }
.svc__title a:hover { color: var(--amber); }
.svc__strap { font-family: var(--font-data); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin: 0; }
.svc__text { color: var(--steel-500); margin: .3rem 0 0; font-size: .96rem; }
.section--dark .svc__text { color: #AEB8C2; }

/* Icon sits in a bordered square so the row has an anchor on the left and the
   cards stop reading as an undifferentiated wall of text. */
.svc__icon {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; margin-top: .15rem;
  border: 1px solid var(--line); color: var(--ink);
  background: var(--white);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.svc__icon svg { width: 23px; height: 23px; }
.section--dark .svc__icon { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.045); color: var(--amber); }
.svc:hover .svc__icon { background: var(--amber); border-color: var(--amber); color: var(--ink); }

.svc__more {
  justify-self: start; margin-top: .55rem;
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-data); font-size: .74rem; letter-spacing: .11em; text-transform: uppercase;
  font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: .3rem;
  transition: color .18s ease, border-color .18s ease, gap .18s ease;
}
.section--dark .svc__more { color: var(--white); border-bottom-color: rgba(255,255,255,.28); }
.svc__more svg { width: 15px; height: 15px; }
.svc__more:hover { color: var(--amber); border-bottom-color: var(--amber); gap: .75rem; }

/* Card with a photograph — used on the services archive, not the home page,
   where the compact icon-only row is the point. */
.svc--media { padding-top: 0; border-top: 0; }
.svc__media { grid-column: 1 / -1; display: block; overflow: hidden; background: var(--steel-900); aspect-ratio: 16 / 10; margin-bottom: 1.35rem; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.svc--media:hover .svc__media img { transform: scale(1.04); }

@media (max-width: 560px) {
  .svc { grid-template-columns: 1fr; gap: .9rem; }
  .svc__icon { margin-top: 0; }
  .svc__media { margin-bottom: 0; }
}

/* Process */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { counter-increment: step; display: grid; grid-template-columns: 74px 1fr; gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before { content: counter(step,decimal-leading-zero); font-family: var(--font-data); font-size: 1.6rem; font-weight: 600; color: var(--amber); line-height: 1; padding-top: .15rem; }
.step__title { font-size: var(--step-1); margin-bottom: .3rem; }
.step__text { color: var(--steel-500); margin: 0; }

/* Sectors */
.sectors { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.sectors li { font-family: var(--font-data); font-size: .82rem; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 100px; background: var(--white); color: var(--steel-700); }
.section--dark .sectors li { border-color: rgba(255,255,255,.16); background: transparent; color: #C7CFD7; }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: .5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.areas li { border-bottom: 1px solid var(--line-soft); }
.section--dark .areas li { border-color: rgba(255,255,255,.1); }
.areas a,.areas span { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .7rem 0; text-decoration: none; font-weight: 500; }
.areas a:hover { color: var(--amber); }
.areas small { font-family: var(--font-data); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--steel-500); white-space: nowrap; }

/* Nine provinces rather than two dozen towns — fewer, larger items, so the
   row reads as national coverage instead of a list of keywords. */
.areas--provinces { grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: .25rem 2rem; }
.areas--provinces span { padding: .95rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; }
.areas--provinces li:first-child span { color: var(--steel-900); }
.areas--provinces li:first-child { border-bottom-color: var(--amber); }

/* =========================================================================
   About
   ====================================================================== */
.about__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem,6vw,5rem); align-items: start; }
.about__title { font-size: var(--step-4); letter-spacing: -.03em; margin: 0 0 1.4rem; max-width: 18ch; }
.about__text { font-size: var(--step-0); line-height: 1.68; color: var(--steel-700); max-width: 60ch; margin: 0 0 1.1rem; }
.about__image { width: 100%; height: clamp(220px,28vw,320px); object-fit: cover; display: block; margin-bottom: 1.6rem; border-radius: var(--radius); }

/* About carousel — one fixed box, every photograph cropped to fill it, so a
   portrait phone snap and a wide DSLR shot occupy exactly the same space. */
.about__carousel { margin-bottom: 1.6rem; }
.carousel { position: relative; }
.carousel__viewport {
  position: relative; width: 100%; height: clamp(220px,28vw,320px);
  overflow: hidden; border-radius: var(--radius); background: var(--steel-900);
}
.carousel__slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease, visibility .5s;
}
.carousel__slide.is-active { opacity: 1; visibility: visible; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(14,18,22,.62); color: #fff;
  opacity: 0; transition: opacity .2s ease, background-color .2s ease;
}
.carousel__nav svg { width: 20px; height: 20px; }
.carousel__nav--prev { left: .7rem; }
.carousel__nav--next { right: .7rem; }
.carousel__nav:hover { background: var(--amber); color: var(--ink); }
.carousel:hover .carousel__nav,
.carousel__nav:focus-visible { opacity: 1; }
/* Touch devices get no hover, so the controls stay put. */
@media (hover: none) { .carousel__nav { opacity: 1; } }

.carousel__dots { display: flex; justify-content: center; gap: .45rem; margin-top: .8rem; }
.carousel__dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--steel-500); background: transparent;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.carousel__dot.is-active { background: var(--amber); border-color: var(--amber); transform: scale(1.25); }

@media (prefers-reduced-motion: reduce) {
  .carousel__slide { transition: none; }
}

/* Credentials read as a spec plate, not marketing bullets. */
.creds { margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.creds__row { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.creds dt { font-family: var(--font-data); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-500); margin: 0; }
.creds dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--steel-900); line-height: 1.35; }
.creds__row--mark dd { position: relative; padding-left: 1.4rem; }
.creds__row--mark dd::before { content: ""; position: absolute; left: 0; top: .42em; width: .7rem; height: .7rem; background: var(--amber); transform: rotate(45deg); }

@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__title { max-width: none; }
}

/* =========================================================================
   Gallery
   ====================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.gallery__item { position: relative; overflow: hidden; background: var(--steel-900); aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.gallery__item:hover img { transform: scale(1.05); }
/* First tile runs double-width on wide screens so the grid is not a flat
   four-by-two block of identical squares. */
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2,1fr); }
  .gallery__item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; gap: .75rem; }
  .gallery__item:first-child { grid-column: auto; }
}

/* Service-specific FAQ inside an entry */
.entry__faq { margin-top: clamp(2.5rem,5vw,4rem); padding-top: clamp(2rem,4vw,3rem); border-top: 2px solid var(--ink); }
.entry__faq .sechead { margin-bottom: 1.2rem; }

/* =========================================================================
   Branches
   ====================================================================== */
.branches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.75rem 2.5rem; }
.branch__name { font-size: 1.02rem; margin: 0 0 .5rem; letter-spacing: -.01em; }
.branch__name span { color: var(--amber); }
.branch__address { display: flex; align-items: flex-start; gap: .5rem; margin: 0 0 .35rem; font-size: .92rem; line-height: 1.55; }
.branch__pin { width: 17px; height: 17px; flex: none; margin-top: .18rem; color: var(--amber); }
.branch__phone { margin: 0; font-family: var(--font-data); font-size: .8rem; letter-spacing: .06em; padding-left: calc(17px + .5rem); }
.branch__phone a { text-decoration: none; }
.branch__phone a:hover { color: var(--amber); }

/* Contact block above the callback form. */
.branches--cta { margin: 0 0 2.2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.14); }

/* Footer variant. These selectors carry an extra class deliberately: the
   generic `.footer ul` rule is more specific than a bare `.branches`, so
   without it the footer's own grid/gap wins and the block collapses. */
.footer__branches { padding: 2.2rem 0 2.4rem; border-top: 1px solid rgba(255,255,255,.09); }
.footer .footer__branches-title { font-family: var(--font-data); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin: 0 0 1.5rem; }
.footer ul.branches { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 1.7rem 2.5rem; }
.footer .branch__name { font-size: .97rem; color: var(--white); margin-bottom: .45rem; }
.footer .branch__address { font-size: .89rem; color: #B9C2CB; margin-bottom: .3rem; }
.footer .branch__phone a { color: var(--white); }

/* Same specificity trap: `.footer ul` was overriding `.footer__provinces`,
   so the province row rendered as a stacked list instead of wrapping inline. */
.footer ul.footer__provinces { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
/* .footer ul is a grid — scope the override or the social row stacks. */
.footer ul.social { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Long support addresses were breaking mid-word in the narrow footer columns. */
.footer a, .footer address { overflow-wrap: anywhere; }

/* FAQ */
.faq { display: grid; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 1.35rem 3rem 1.35rem 0; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); letter-spacing: -.015em; color: inherit; cursor: pointer; position: relative; line-height: 1.3; }
.faq__q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; background: var(--amber); transform: translateY(-50%); }
.faq__q::before { content: ""; position: absolute; right: 12px; top: 50%; width: 2px; height: 14px; background: var(--amber); transform: translateY(-50%) scaleY(1); transition: transform .22s ease; }
.faq__q[aria-expanded="true"]::before { transform: translateY(-50%) scaleY(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s cubic-bezier(.4,0,.2,1); }
.faq__a[data-open="true"] { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--steel-500); padding-bottom: 1.4rem; max-width: 68ch; margin: 0; }

/* CTA band */
.cta { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom,rgba(255,255,255,.04) 0,rgba(255,255,255,.04) 1px,rgba(0,0,0,.2) 1px,rgba(0,0,0,.2) 3px,transparent 3px,transparent 15px); pointer-events: none; }
.cta__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding-block: var(--section-y); }
.cta__title { font-size: var(--step-4); margin-bottom: .7rem; }
.cta__text { color: #B9C2CB; font-size: var(--step-1); margin-bottom: 1.8rem; max-width: 46ch; }
.cta__numbers { display: grid; gap: .9rem; margin-top: 2rem; }
.cta__number { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.13); text-decoration: none; max-width: 420px; }
.cta__number span { font-family: var(--font-data); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--zinc); }
.cta__number strong { font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; }
.cta__number:hover strong { color: var(--amber); }

/* =========================================================================
   12. Content pages
   ====================================================================== */
.pagehead { background: var(--steel-900); color: var(--paper); padding-block: clamp(2.5rem,6vw,4.5rem); position: relative; overflow: hidden; }
.pagehead::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom,rgba(255,255,255,.04) 0,rgba(255,255,255,.04) 1px,rgba(0,0,0,.2) 1px,rgba(0,0,0,.2) 3px,transparent 3px,transparent 15px); }
.pagehead__inner { position: relative; }
.pagehead__title { font-size: var(--step-4); margin-bottom: .5rem; max-width: 20ch; }
.pagehead__intro { color: #B9C2CB; font-size: var(--step-1); max-width: 58ch; margin: 0; }
.crumbs { background: var(--paper); border-bottom: 1px solid var(--line-soft); font-size: var(--step--1); }
.crumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding-block: .75rem; color: var(--steel-500); }
.crumbs__item + .crumbs__item::before { content: "/"; margin-right: .5rem; color: var(--zinc); }
.crumbs__item a { text-decoration: none; }
.crumbs__item a:hover { text-decoration: underline; }
.entry { padding-block: var(--section-y); }
.entry__layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(2rem,5vw,4rem); align-items: start; }
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-3); margin-top: 2.2em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h2:first-child,.prose h3:first-child { margin-top: 0; }
.prose ul,.prose ol { padding-left: 1.3em; margin-bottom: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose img { border-radius: var(--radius); margin-block: 1.8em; }
.prose blockquote { margin: 1.8em 0; padding: .4em 0 .4em 1.4em; border-left: 4px solid var(--amber); font-size: var(--step-1); color: var(--steel-700); }
.prose a { color: var(--steel-900); text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 1.6em; font-size: .95rem; }
.prose th,.prose td { padding: .7rem .9rem; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--paper); font-family: var(--font-data); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.prose .wp-block-image { margin-block: 1.8rem; }
.prose .wp-block-image img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); }
.prose .wp-block-html { margin-block: 2rem; }
.entry__meta { font-family: var(--font-data); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--steel-500); }
.aside { display: grid; gap: 1.5rem; position: sticky; top: 100px; }
.aside__card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--paper); }
.aside__title { font-size: var(--step-1); margin-bottom: .6rem; }
.aside__text { color: var(--steel-500); font-size: .95rem; margin-bottom: 1.2rem; }
.widget { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.widget__title { font-size: var(--step-1); }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.widget a { text-decoration: none; }
.widget a:hover { text-decoration: underline; }
.posts { display: grid; gap: 1.5rem; }
.post-item { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.6rem; transition: border-color .16s ease, transform .16s ease; }
.post-item:hover { border-color: var(--line); transform: translateY(-2px); }
.post-item__title { font-size: var(--step-2); margin-bottom: .4rem; }
.post-item__title a { text-decoration: none; }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-family: var(--font-data); font-size: .9rem; }
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--ink); }

/* =========================================================================
   13. Footer
   ====================================================================== */
.footer { background: var(--steel-900); color: #B9C2CB; padding-block: clamp(3rem,6vw,4.5rem) 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1fr 1fr; gap: clamp(1.8rem,4vw,2.6rem); padding-bottom: 3rem; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .footer__grid { grid-template-columns: 1fr; } }
.footer h2 { font-size: .76rem; font-family: var(--font-data); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer__brand .brand__name { color: var(--white); font-size: 1.15rem; }
.footer__blurb { font-size: .94rem; line-height: 1.6; margin: 1rem 0 1.4rem; max-width: 38ch; }
.footer__num { display: grid; gap: .1rem; }
.footer__num span { font-family: var(--font-data); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-500); }
.footer__num a { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--white); }
.footer__num a:hover { color: var(--amber); }
.footer address { font-style: normal; line-height: 1.7; font-size: .94rem; }
.footer__provinces { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none; padding: 1.6rem 0; margin: 0; border-top: 1px solid rgba(255,255,255,.09); font-size: .86rem; color: var(--steel-500); }
.footer__base { border-top: 1px solid rgba(255,255,255,.09); padding-block: 1.4rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: var(--steel-500); }
.footer__base ul { display: flex; gap: 1.2rem; }

/* =========================================================================
   14. Action bar — z-index 80
   ====================================================================== */
.actionbar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 80;
  background: var(--ink);
  border-top: 3px solid var(--amber);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.actionbar__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  box-sizing: border-box;
}
.actionbar a {
  display: grid;
  place-items: center;
  gap: .1rem;
  padding: .7rem .4rem;
  text-decoration: none;
  color: var(--paper);
  font-family: var(--font-data);
  font-size: .6rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,.12);
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.actionbar a:last-child { border-right: 0; }
.actionbar a strong { font-family: var(--font-display); font-size: .85rem; white-space: nowrap; }
.actionbar a.is-primary { background: var(--amber); color: var(--ink); }

/* =========================================================================
   15. WhatsApp — z-index 90
   ====================================================================== */
.wa { position: fixed; right: 18px; bottom: 90px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0,0,0,.45); transition: transform .16s ease; }
.wa:hover { transform: scale(1.06); }
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* =========================================================================
   16. Reveal animation
   ====================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =========================================================================
   17. 404
   ====================================================================== */
.notfound { padding-block: clamp(4rem,10vw,8rem); text-align: center; }
.notfound__code { font-family: var(--font-data); font-size: 5rem; font-weight: 600; color: var(--amber); line-height: 1; margin-bottom: 1rem; }

/* =========================================================================
   18. Utility
   ====================================================================== */
.text-center { text-align: center; }
.mt-lg { margin-top: clamp(2rem,4vw,3rem); }

/* =========================================================================
   19. MOBILE — all breakpoints in one place
   ====================================================================== */
@media (max-width: 860px) {
  .actionbar { display: block; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .wa { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 980px) {
  .cta__inner { grid-template-columns: 1fr; }
  .cta__title { font-size: var(--step-3); }
  .quote__form { grid-template-columns: 1fr; }
  .field--full { grid-column: 1; }
}
@media (max-width: 940px) {
  .entry__layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --section-y: clamp(2.5rem,6vw,4rem); }
  .hero__title { font-size: var(--step-4); max-width: none; }
  .hero__text  { font-size: var(--step-0); }
  .hero__actions { gap: .6rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .plate { display: none; }
  .quote__head { padding: 1.2rem 1.2rem 0; }
  .quote__form { padding: 1.1rem 1.2rem 1.4rem; gap: .75rem; }
  .quote__title { font-size: var(--step-1); }
  .step { grid-template-columns: 46px 1fr; gap: .75rem; }
  .step::before { font-size: 1rem; }
  .cta__title { font-size: var(--step-2); }
  .cta__number { max-width: none; }
  .prose .wp-block-image img { height: 200px; }
}
@media (max-width: 600px) {
  .grid, .grid--2 { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .footer__base ul { flex-wrap: wrap; gap: .8rem; }
  .footer__provinces { gap: .3rem .8rem; }
  .trust__list { grid-template-columns: 1fr; }
  .trust__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); padding: 1.1rem 0; min-height: 0; }
  .trust__item:last-child { border-bottom: 0; }
  .trust__item span { max-width: none; }
}
@media (max-width: 480px) {
  .masthead__inner { min-height: 68px; gap: .75rem; }
  .masthead .custom-logo { height: 44px; max-width: 58vw; }
  .brand__sub { display: none; }
}
/* =========================================================================
   Service-area page blocks
   ====================================================================== */
.area-blocks { margin-top: clamp(2.5rem,5vw,4rem); display: grid; gap: clamp(2.5rem,5vw,4rem); }
.area-map__canvas { height: 380px; }
@media (max-width: 640px) { .area-map__canvas { height: 280px; } }

.area-cta { background: var(--steel-900); color: var(--paper); padding: clamp(1.8rem,4vw,2.75rem); border-radius: var(--radius); position: relative; overflow: hidden; }
.area-cta::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: repeating-linear-gradient(to bottom, var(--amber) 0 10px, var(--ink) 10px 20px); }
.area-cta__title { font-size: var(--step-2); margin: 0 0 .7rem; color: var(--white); }
.area-cta__text { color: #C7CFD7; max-width: 62ch; margin: 0 0 1.5rem; }
.area-cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn--ink-ghost { color: var(--white); }

/* Reviews */
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.25rem; }
.review { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; background: var(--white); display: grid; gap: .6rem; align-content: start; }
.stars { display: inline-flex; gap: .12rem; }
.star { width: 17px; height: 17px; fill: var(--line); }
.star--on { fill: var(--amber); }
.review__title { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin: 0; }
.review__body { margin: 0; border: 0; padding: 0; font-size: .95rem; line-height: 1.6; color: var(--steel-700); }
.review__by { margin: 0; font-family: var(--font-data); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-500); display: flex; flex-wrap: wrap; gap: .5rem; }
.review__by strong { color: var(--steel-900); font-weight: 600; }
.review__by span::before { content: "· "; }
.section--dark .review, .on-dark .review { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }

.area-gallery .gallery { grid-template-columns: repeat(4,1fr); }
.area-gallery .gallery__item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .area-gallery .gallery { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .area-gallery .gallery { grid-template-columns: 1fr; } }

/* =========================================================================
   Service areas archive, grouped by province
   ====================================================================== */
.province-jump { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin-bottom: clamp(2rem,4vw,3rem); padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.province-jump > span { font-family: var(--font-data); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-500); margin-right: .3rem; }
.province-jump a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-family: var(--font-data); font-size: .74rem; letter-spacing: .05em; padding: .42rem .8rem; border: 1px solid var(--line); border-radius: 100px; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.province-jump a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.province-jump a small { color: var(--amber); font-weight: 600; }
.province-jump a:hover small { color: var(--amber); }

.province { margin-bottom: clamp(2.2rem,4vw,3.2rem); scroll-margin-top: 110px; }
.province:last-child { margin-bottom: 0; }
.province__title { display: flex; align-items: baseline; gap: .8rem; font-size: var(--step-2); margin: 0 0 1.1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); }
.province__title span { font-family: var(--font-data); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-500); font-weight: 400; }

.areas--grouped { grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: 0 2rem; }
.areas--grouped a,
.areas--grouped .areas__plain { flex-direction: column; align-items: flex-start; gap: .15rem; padding: .8rem 0; }
/* Suburbs with no page of their own yet: same row, no link affordance. */
.areas .areas__plain { display: flex; width: 100%; text-decoration: none; color: inherit; cursor: default; }
.areas--grouped .areas__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
.areas--grouped small { font-family: var(--font-body); font-size: .8rem; letter-spacing: 0; text-transform: none; color: var(--steel-500); white-space: normal; line-height: 1.4; }
@media (max-width: 560px) { .areas--grouped { grid-template-columns: 1fr; } }

/* =========================================================================
   Contact page
   ====================================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__heading { font-family: var(--font-data); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-500); margin: 2.2rem 0 .9rem; }
.contact__heading:first-of-type { margin-top: 0; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.contact__list li { display: grid; gap: .1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
.contact__list span { font-family: var(--font-data); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-500); }
.contact__list a { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--amber); }
.contact__address { font-style: normal; line-height: 1.7; }
.contact__hours { color: var(--steel-500); font-size: .92rem; margin-top: .6rem; }
.contact__branches { margin-top: clamp(2.5rem,5vw,4rem); padding-top: clamp(2rem,4vw,3rem); border-top: 1px solid var(--line); }

/* =========================================================================
   FAQ page
   ====================================================================== */
.faq-group { margin-bottom: clamp(2rem,4vw,3rem); scroll-margin-top: 110px; }
.faq-group__title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--step-2); margin: 0 0 .8rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); }
.faq-group__link { font-family: var(--font-data); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; text-decoration: none; color: var(--steel-500); }
.faq-group__link:hover { color: var(--amber); }

/* =========================================================================
   Lightbox gallery
   ====================================================================== */
.gallery--grid { grid-template-columns: repeat(4,1fr); }
.gallery--grid .gallery__item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
.gallery__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .gallery--grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .gallery--grid { grid-template-columns: 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,14,18,.94); display: flex; align-items: center; justify-content: center; gap: 1rem; padding: clamp(1rem,4vw,3rem); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: grid; gap: .9rem; justify-items: center; }
.lightbox__img { max-width: 100%; max-height: 78vh; width: auto; object-fit: contain; border-radius: 2px; }
.lightbox__caption { font-family: var(--font-data); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #C3CCD5; text-align: center; }
.lightbox__close { position: absolute; top: clamp(.75rem,2vw,1.5rem); right: clamp(.75rem,2vw,1.5rem); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: var(--amber); color: var(--ink); }
.lightbox__nav { flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__nav:hover { background: var(--amber); color: var(--ink); }
@media (max-width: 640px) { .lightbox { gap: .4rem; } .lightbox__nav { width: 40px; height: 40px; font-size: 1.5rem; } }

/* =========================================================================
   Pricing page
   ====================================================================== */
.pricing__grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
@media (max-width: 980px) { .pricing__grid { grid-template-columns: 1fr; } }
.pricing__aside { position: sticky; top: 110px; display: grid; gap: 1.25rem; }
@media (max-width: 980px) { .pricing__aside { position: static; } }
.pricing__title { font-size: var(--step-2); margin: clamp(2rem,4vw,2.8rem) 0 .7rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); }
.pricing__lede { color: var(--steel-500); max-width: 66ch; }

.pricetable__wrap { overflow-x: auto; }
.pricetable { width: 100%; border-collapse: collapse; margin: 1.4rem 0 1rem; }
.pricetable thead th { text-align: left; font-family: var(--font-data); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-500); font-weight: 600; padding: 0 0 .8rem; border-bottom: 1px solid var(--line); }
.pricetable thead th:last-child { text-align: right; }
.pricetable tbody th { text-align: left; font-weight: 400; padding: 1rem 1.5rem 1rem 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.pricetable tbody tr:last-child th, .pricetable tbody tr:last-child td { border-bottom: 0; }
.pricetable__type { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.pricetable tbody th small { display: block; margin-top: .15rem; font-size: .85rem; color: var(--steel-500); line-height: 1.45; }
.pricetable__price { text-align: right; white-space: nowrap; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); font-family: var(--font-data); font-weight: 600; font-size: .96rem; color: var(--steel-900); vertical-align: top; }
.pricetable__price span { color: var(--amber); padding: 0 .15rem; }
.pricetable tbody tr:hover th, .pricetable tbody tr:hover td { background: var(--paper); }

.pricing__disclaimer { font-size: .9rem; color: var(--steel-500); border-left: 3px solid var(--amber); padding-left: 1rem; margin-top: 1.2rem; }
.pricing__factors { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .9rem; }
.pricing__factors li { padding-left: 1.6rem; position: relative; line-height: 1.6; }
.pricing__factors li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; background: var(--amber); transform: rotate(45deg); }
.pricing__call { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: grid; gap: .7rem; }
.pricing__call-label { margin: 0; font-family: var(--font-data); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-500); }
.pricing__faq { margin-top: clamp(2.5rem,5vw,4rem); padding-top: clamp(2rem,4vw,3rem); border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .pricetable tbody th { padding-right: .8rem; }
  .pricetable__price { font-size: .86rem; }
}

/* Button icons */
.btn__icon { width: 20px; height: 20px; flex: none; }
.btn--sm .btn__icon { width: 17px; height: 17px; }
/* Emergency buttons read as urgent without shouting: amber outline on dark. */
.btn--emergency { border-color: var(--amber); color: var(--white); }
.btn--emergency .btn__icon { color: var(--amber); }
.btn--emergency:hover { background: var(--amber); color: var(--ink); }
.btn--emergency:hover .btn__icon { color: var(--ink); }
