/* ==========================================================================
   GRANITE GROUP — styles.css
   All styling for every page. Edit here once, every page updates.

   PALETTE, TYPE, LAYOUT AND SECTIONING MATCHED TO HUGO BUILDERS
   Tokens below are the exact values read from hugobuildersllc.com's :root.
   Light-dominant site with a dark cinematic hero and dark accent sections —
   which is how the reference actually works (~74% of its painted area is
   white, not dark). Header is nav-left / logo-centre / actions-right, hero
   is centre-aligned, and a badge strip sits directly beneath it.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS  — Hugo Builders values, verbatim
   -------------------------------------------------------------------------- */

:root {
  --black:       #0d0d0d;
  --gray-dark:   #2e2e2e;
  --gray:        #666666;
  --gray-light:  #999999;
  --off-white:   #f4f4f4;
  --white:       #ffffff;

  --text:        #1a1a1a;
  --text-muted:  #616874;
  --text-light:  #e8e8e8;

  --primary:       #1F61B6;
  --primary-hover: #184D91;
  --gold:          #b86d09;

  /* Light surfaces — warm off-white page, warm grey section bands,
     white cards floating on top (the G3 treatment the client picked). */
  --bg:      #fbfaf8;
  --bg-alt:  #eae7e1;
  --bg-dark: var(--black);

  --border-light:  #e2e0dc;
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-dark:   rgba(255, 255, 255, 0.08);
  --border-dark-2: rgba(255, 255, 255, 0.15);

  --glass-bg:     rgba(13, 13, 13, 0.85);
  --glass-border: rgba(255, 255, 255, 0.06);

  /* Condensed uppercase kept for the big headings — that's what makes this
     read as earthmoving. Rethink Sans carries body copy and all UI. */
  --font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Rethink Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.5rem;
  --fs-4xl:  3.25rem;
  --fs-5xl:  4rem;
  --fs-6xl:  5rem;

  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --section-pad: clamp(4rem, 8vw, 100px);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:    0.2s;
  --dur-base:    0.35s;
  --dur-slow:    0.6s;

  --header-height: 72px;
  --container:     1200px;
  --gutter:        clamp(1.25rem, 4vw, 24px);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 7vw, var(--fs-6xl)); }
h2 { font-size: clamp(2rem, 5vw, var(--fs-4xl)); }
h3 { font-size: clamp(1.4rem, 3vw, var(--fs-2xl)); }
h4 { font-size: var(--fs-xl); }

p { margin: 0 0 var(--space-md); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--primary); color: #fff; }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 820px; }

.section { padding-block: var(--section-pad); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--fill { background: var(--bg-alt); }

/* Centred section heading, as the reference uses throughout */
.head { margin-bottom: var(--space-2xl); }
.head--center { text-align: center; }
.head--center .datum { justify-content: center; }
.head--center .head__lede { margin-inline: auto; }
.head__title { margin-bottom: var(--space-md); }
.head__lede {
  color: var(--text-muted);
  font-size: var(--fs-md);
  max-width: 60ch;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. EYEBROW LABELS
   -------------------------------------------------------------------------- */

.datum { display: flex; align-items: center; gap: 0.85rem; margin-bottom: var(--space-md); max-width: none; }
.datum::before { content: ''; width: 32px; height: 2px; background: var(--primary); flex: 0 0 auto; }

.datum__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}
.datum__rl {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: #fff; border-color: var(--border-dark-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; transform: translateY(-2px); }

/* Ghost sitting on a light surface */
.section:not(.section--dark) .btn--ghost,
.phero .btn--ghost,
.notfound .btn--ghost,
.thanks .btn--ghost,
.drawer .btn--ghost { color: var(--text); border-color: rgba(0, 0, 0, 0.18); }
.section:not(.section--dark) .btn--ghost:hover,
.phero .btn--ghost:hover,
.notfound .btn--ghost:hover,
.thanks .btn--ghost:hover,
.drawer .btn--ghost:hover { background: var(--text); color: #fff; border-color: var(--text); }

.btn--sm { padding: 0.7rem 1.25rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--primary);
  padding: 0.35rem 0;
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.link:hover { gap: 0.8rem; color: var(--primary-hover); }
.link__arrow { transition: transform var(--dur-fast) var(--ease-out); }

/* --------------------------------------------------------------------------
   6. HEADER — nav left, logo centred, actions right (as the reference)
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

/* The hero video runs bright through the top of frame on some clips, which
   washed out the wordmark and nav. A short scrim behind the header holds them
   legible on every frame without dimming the footage lower down. */
.header::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 160%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13,13,13,0.72) 0%, rgba(13,13,13,0.34) 55%, rgba(13,13,13,0) 100%);
  opacity: 1;
  transition: opacity var(--dur-base) var(--ease-out);
}
/* once the header has its own solid background the scrim is redundant */
.header--scrolled::before,
.header--solid::before { opacity: 0; }

.header__inner { position: relative; z-index: 1; }

.header--scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--glass-border);
}
.header--solid { background: var(--black); border-bottom-color: var(--glass-border); }

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.brand { order: 2; justify-self: center; display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.nav { order: 1; justify-self: start; }
.header__actions { order: 3; justify-self: end; display: flex; align-items: center; gap: var(--space-md); }

.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}
.brand__tag {
  font-size: 0.62rem;
  font-weight: 600;
  /* tracked to sit flush under the wordmark above it */
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 4px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 1.75rem); list-style: none; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 0.6rem 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current='page'] { color: var(--primary); }

.nav__chev { width: 9px; height: 9px; transition: transform var(--dur-fast) var(--ease-out); }
.nav__item:hover .nav__chev { transform: rotate(180deg); }

.nav__drop {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 290px;
  background: var(--black);
  border: 1px solid var(--border-dark);
  border-top: 2px solid var(--primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 0.5rem;
  list-style: none;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), visibility var(--dur-fast);
}
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__drop a {
  display: block;
  padding: 0.7rem 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.nav__drop a:hover { background: rgba(255, 255, 255, 0.08); color: var(--primary); }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: color var(--dur-fast) var(--ease-out);
}
.header__phone:hover { color: var(--primary); }
.header__phone svg { width: 15px; height: 15px; color: var(--primary); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--border-dark-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  z-index: 101;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color var(--dur-fast);
}
.burger[aria-expanded='true'] {
  position: fixed;
  top: 14px;
  left: calc(-52px + min(300px, 82vw));
  border-color: rgba(17, 17, 16, 0.14);
}
.burger[aria-expanded='true'] span { background: var(--text); }
.burger span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.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); }

/* 300px white panel sliding in from the left, over a dimming backdrop.
   The burger becomes an X and travels with the panel edge. */
.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  width: 300px;
  max-width: 82vw;
  background: var(--white);
  /* clears the header, which rides above the panel when open */
  padding: calc(var(--header-height) + 20px) 28px 40px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.18);
}
.drawer.is-open { transform: translateX(0); }

/* When the panel is out, the header rides above it and takes the panel's
   colours, so the logo and the X read as part of the white sheet. */
.header.nav-open {
  z-index: 101;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.header.nav-open .brand__name { color: var(--text); }
.header.nav-open .brand__mark path[stroke='#ffffff'] { stroke: #111110; }
.header.nav-open .header__phone { opacity: 0; pointer-events: none; }

.drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(17, 17, 16, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
  border: 0;
  padding: 0;
}
.drawer__backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer__list { list-style: none; }
.drawer__list > li { border-bottom: 1px solid rgba(17, 17, 16, 0.08); }

.drawer__link {
  display: block;
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: none;
  text-decoration: none;
  color: var(--text);
}
.drawer__link:hover,
.drawer__link[aria-current='page'] { color: var(--primary); }

/* Services is now a group label in the drawer, not a link */
.drawer__link--label { color: var(--text-muted); cursor: default; }

.drawer__sub { list-style: none; padding: 0 0 0.75rem 0; }
.drawer__sub a {
  display: block;
  padding: 0.5rem 0 0.5rem 0.9rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid rgba(17, 17, 16, 0.08);
}
.drawer__sub a:hover { color: var(--primary); border-left-color: var(--primary); }

.drawer__cta { margin-top: var(--space-xl); display: grid; gap: var(--space-sm); }

/* --------------------------------------------------------------------------
   7. HERO — dark, full-bleed video, centre-aligned
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* flex-start + auto margins centres when there's room but never clips
     the top of the headline on short viewports */
  justify-content: flex-start;
  text-align: center;
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-4xl);
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
  color: #fff;
}

.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--black); }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(13,13,13,0.66) 0%,
    rgba(13,13,13,0.42) 35%,
    rgba(13,13,13,0.58) 70%,
    rgba(13,13,13,0.92) 100%);
}

.hero__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  margin-block: auto;
  padding-inline: var(--gutter);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  gap: 0.85rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-lg);
}
.hero__eyebrow::before,
.hero__eyebrow::after { content: ''; width: 34px; height: 2px; background: var(--primary); flex: 0 0 auto; }

.hero__title { max-width: 18ch; margin: 0 auto var(--space-lg); color: #fff; }
.hero__title em { font-style: normal; color: var(--primary); }

.hero__lede {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 58ch;
  margin: 0 auto var(--space-xl);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }

.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.hero__scroll:hover { color: #fff; }
.hero__scroll svg { width: 18px; height: 18px; animation: nudge 2s var(--ease-in-out) infinite; }

@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   7b. BADGE STRIP — sits directly under the hero, as the reference does
   -------------------------------------------------------------------------- */

.badges {
  background: var(--black);
  border-top: 1px solid var(--border-dark);
  color: #fff;
}
.badges__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--space-xl) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.trust { display: flex; align-items: flex-start; gap: 0.7rem; }
.trust__icon { width: 22px; height: 22px; color: var(--primary); flex: 0 0 auto; margin-top: 2px; }
.trust__label { display: block; font-weight: 700; font-size: var(--fs-sm); line-height: 1.35; color: #fff; }
.trust__sub {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   8. INTERIOR PAGE HERO
   -------------------------------------------------------------------------- */

.phero {
  position: relative;
  padding-top: calc(var(--header-height) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}
/* Photo banner variant — the image sits behind the title rather than
   beside the body copy, so each service page opens on its own job shot. */
.phero--media {
  background: var(--black);
  border-bottom: 0;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(3rem, 7vw, 4.5rem);
}
.phero--media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--phero-img);
  background-size: cover;
  background-position: center;
}
/* Scrim strength is per-page, because the photos differ a lot in brightness.
   One value sized for the brightest image left the dark ones needlessly murky.
   Each page sets --scrim-top / --scrim-mid / --scrim-bot to the lightest
   values that still hold white text above 4.5:1. */
.phero--media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(13,13,13,var(--scrim-top, 0.66)) 0%,
    rgba(13,13,13,var(--scrim-mid, 0.44)) 45%,
    rgba(13,13,13,var(--scrim-bot, 0.70)) 100%);
}
.phero--media .phero__title { color: #fff; }
.phero--media .phero__lede { color: rgba(255,255,255,0.86); }
.phero--media .crumbs__list { color: rgba(255,255,255,0.72); }
.phero--media .crumbs__list a { color: rgba(255,255,255,0.72); }
.phero--media .crumbs__list a:hover { color: #fff; }
.phero--media .crumbs__list [aria-current='page'] { color: #fff; }
.phero--media .crumbs__list li + li::before { color: rgba(255,255,255,0.4); }
.phero--media .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.phero--media .btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.phero__title { max-width: 20ch; margin-bottom: var(--space-md); }
.phero__lede { font-size: var(--fs-md); color: var(--text-muted); max-width: 60ch; line-height: 1.6; }

/* --------------------------------------------------------------------------
   8b. OUR EQUIPMENT — paired portrait videos + fleet grid
   -------------------------------------------------------------------------- */

/* video behind the interior banner, same treatment as the image variant */
.phero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eqvid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 860px;
  margin-inline: auto;
}
.eqvid__item { margin: 0; }
.eqvid__item video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--gray-dark);
  box-shadow: var(--shadow-md);
  display: block;
}
.eqvid__item figcaption {
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

.fleet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-lg);
}
.fleet__item { margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.fleet__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}
.fleet__item:hover img { transform: scale(1.04); }

@media (max-width: 640px) {
  .eqvid { grid-template-columns: 1fr; max-width: 420px; }
  .fleet { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}

/* --------------------------------------------------------------------------
   9. BREADCRUMBS
   -------------------------------------------------------------------------- */

.crumbs { padding-top: calc(var(--header-height) + var(--space-lg)); padding-bottom: 0; }
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.crumbs__list li { display: flex; align-items: center; gap: 0.5rem; }
.crumbs__list li + li::before { content: '/'; color: rgba(0, 0, 0, 0.2); }
.crumbs__list a { color: var(--text-muted); text-decoration: none; padding: 0.4rem 0; transition: color var(--dur-fast) var(--ease-out); }
.crumbs__list a:hover { color: var(--primary); }
.crumbs__list [aria-current='page'] { color: var(--text); }
.phero .crumbs { padding-top: 0; padding-bottom: var(--space-lg); padding-inline: 0; }

/* --------------------------------------------------------------------------
   10. SERVICE CARDS
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: var(--space-lg); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.svc {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }

.svc__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.svc:hover .svc__media img { transform: scale(1.05); }

.svc__body { padding: 1.75rem; flex: 1 1 auto; display: flex; flex-direction: column; }

.svc__title { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }

.svc__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1 1 auto;
}

.svc__list { list-style: none; margin-bottom: var(--space-lg); display: flex; flex-wrap: wrap; gap: 0.4rem; }
.svc__list li {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.7rem;
}

.svc__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: var(--primary);
  margin-top: auto;
  transition: gap var(--dur-fast) var(--ease-out);
}
.svc:hover .svc__more { gap: 0.75rem; }

/* --------------------------------------------------------------------------
   10b. CAROUSEL — native scroll + snap, so touch, trackpad and keyboard
   all keep working without a slider library. Arrows just nudge scrollLeft.
   -------------------------------------------------------------------------- */

.carousel { position: relative; }

.carousel__track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 4px var(--space-xs);
  margin: -4px -4px 0;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__track > * {
  flex: 0 0 calc((100% - 2 * var(--space-lg)) / 3);
  scroll-snap-align: start;
}

.carousel__arrow {
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(17, 17, 16, 0.12);
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(17, 17, 16, 0.10);
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
/* blue on hover for pointers, and on tap for touch where hover never fires */
.carousel__arrow:hover,
.carousel__arrow:active,
.carousel__arrow:focus-visible {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.carousel__arrow:hover { transform: scale(1.06); }
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__arrow--prev { left: -14px; }
.carousel__arrow--next { right: -14px; }

@media (max-width: 1080px) {
  .carousel__track > * { flex-basis: calc((100% - var(--space-lg)) / 2); }
}

@media (max-width: 700px) {
  /* one card fills the screen — the arrows carry the "there's more" signal */
  .carousel__track > * { flex-basis: 100%; }
  .carousel { padding-bottom: 76px; }
  .carousel__arrow { top: auto; bottom: 8px; width: 44px; height: 44px; }
  .carousel__arrow--prev { left: calc(50% - 52px); }
  .carousel__arrow--next { right: calc(50% - 52px); }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   12. WHY US — numbered, matching the reference's 01 / 02 / 03 treatment
   -------------------------------------------------------------------------- */

.why { counter-reset: why; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-lg); }

/* --------------------------------------------------------------------------
   13. PROCESS
   -------------------------------------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: var(--space-md); }

.step {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-xl);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  min-width: 2.2ch;
}
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--space-xs); }
.step p { color: var(--text-muted); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   15. REVIEWS
   -------------------------------------------------------------------------- */

/* Auto-scrolling marquee. The track holds the review set twice over, so
   translating it -50% lands exactly on the duplicate and the loop is seamless. */
.reviews {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.reviews__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: review-scroll 60s linear infinite;
}
.reviews:hover .reviews__track { animation-play-state: paused; }

@keyframes review-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.review {
  flex: 0 0 340px;
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.stars { display: flex; gap: 2px; margin-bottom: var(--space-md); color: var(--gold); }
.stars svg { width: 16px; height: 16px; flex: 0 0 auto; }

.review__text { font-size: var(--fs-base); line-height: 1.7; margin-bottom: var(--space-lg); flex: 1 1 auto; }

.review__by {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-md);
}

.review__avatar {
  width: 38px; height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}
.review__name { font-weight: 700; font-size: var(--fs-sm); }
.review__src { font-size: var(--fs-xs); color: var(--text-muted); }

.reviews__cta { display: flex; justify-content: center; margin-top: var(--space-2xl); }

.btn--google {
  background: var(--white);
  color: var(--text);
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.btn--google:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn--google svg { width: 20px; height: 20px; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--border-light); }
.faq__item { border-bottom: 1px solid var(--border-light); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xl);
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq__q:hover { color: var(--primary); }

.faq__sign { position: relative; width: 18px; height: 18px; flex: 0 0 auto; margin-top: 5px; }
.faq__sign::before, .faq__sign::after {
  content: '';
  position: absolute;
  background: var(--primary);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq__sign::before { inset: 8px 0 auto 0; height: 2px; }
.faq__sign::after  { inset: 0 auto 0 8px; width: 2px; }
.faq__q[aria-expanded='true'] .faq__sign::after { transform: scaleY(0); }

.faq__a { overflow: hidden; max-height: 0; transition: max-height var(--dur-base) var(--ease-out); }
.faq__a > div { padding-bottom: var(--space-xl); }
.faq__a p { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   17. SOCIAL STRIP  (the reference's "follow us" block)
   -------------------------------------------------------------------------- */

.social-strip { text-align: center; }

/* Instagram's own mark on its own brand gradient — a bare outline icon in a
   box read as an afterthought; a labelled button says where it goes. */
.ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 40%, #8134AF 70%, #515BD4 100%);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.ig-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ig-btn svg { width: 22px; height: 22px; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   18. SERVICE AREA / MAP
   -------------------------------------------------------------------------- */

.area { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-2xl); align-items: start; }

.area__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}

.area__map {
  position: relative;
  aspect-ratio: 16 / 7;
  margin-top: var(--space-2xl);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
}
.area__map iframe { width: 100%; height: 100%; border: 0; }

.suburbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-xl);
}
.suburbs li {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.4rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.suburbs li:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   18b. MEET THE OWNER
   -------------------------------------------------------------------------- */

.owner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.owner__title { font-size: clamp(2rem, 4vw, var(--fs-4xl)); margin-bottom: var(--space-md); max-width: 16ch; }

.owner__lead {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.owner__figure { margin: 0; }
.owner__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.owner__figure figcaption {
  margin-top: var(--space-md);
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  /* one centre axis on small screens — text, portrait and caption were
     previously on two different alignments, which read as broken */
  .owner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .owner__figure { width: 100%; max-width: 260px; justify-self: center; order: -1; }
  .owner__body { text-align: center; }
  .owner__body .datum { justify-content: center; }
  .owner__title { max-width: none; margin-inline: auto; }
  .owner .contact-rows { max-width: 380px; margin-inline: auto; text-align: left; }
}

/* --------------------------------------------------------------------------
   19. FORMS
   -------------------------------------------------------------------------- */

.cta-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.form {
  display: grid;
  gap: var(--space-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.form p { color: var(--text-muted); }

.field { display: grid; gap: 0.4rem; }

.label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.label .req { color: var(--primary); }

.input, .select, .textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 0.85rem 1rem;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.input::placeholder, .textarea::placeholder { color: #8b8f96; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 97, 182, 0.16);
}
.textarea { min-height: 130px; resize: vertical; }

.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--primary); }

.field__error { display: none; font-size: var(--fs-xs); font-weight: 500; color: var(--primary); line-height: 1.4; margin: 0; }
.field__error.is-visible { display: block; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231F61B6' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

.consent { display: flex; align-items: flex-start; gap: 0.65rem; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }
.consent input { margin-top: 0.28em; accent-color: var(--primary); width: 18px; height: 18px; flex: 0 0 auto; }
.consent a { color: var(--primary); }

.form__note { font-size: var(--fs-xs); color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.form__note svg { width: 14px; height: 14px; color: var(--primary); flex: 0 0 auto; }

.form__status {
  display: none;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border-left: 3px solid var(--primary);
  font-size: var(--fs-sm);
  color: var(--text);
}
.form__status.is-visible { display: block; }

.contact-rows { display: grid; gap: var(--space-md); }
.contact-row {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-lg);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--dur-fast) var(--ease-out);
}
a.contact-row:hover { box-shadow: var(--shadow-md); }
.contact-row svg { width: 24px; height: 24px; color: var(--primary); }
.contact-row__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.15rem;
}
.contact-row__value { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-xl); text-transform: uppercase; }
a.contact-row:hover .contact-row__value { color: var(--primary); }

.promise {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.promise__icon { width: 30px; height: 30px; color: var(--primary); flex: 0 0 auto; }
.promise__title { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); text-transform: uppercase; line-height: 1.1; margin-bottom: 0.25rem; }
.promise__text { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   20. STICKY MOBILE CTA
   -------------------------------------------------------------------------- */

.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--black);
  border-top: 1px solid var(--border-dark);
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-out);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-cta.is-visible { transform: translateY(0); }

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.05rem 0.5rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.sticky-cta svg { width: 17px; height: 17px; }
.sticky-cta__call { background: var(--primary); color: #fff; }
.sticky-cta__quote { background: var(--gray-dark); color: #fff; }

/* --------------------------------------------------------------------------
   21. FOOTER
   -------------------------------------------------------------------------- */

.footer { background: var(--black); color: #fff; padding-top: var(--space-4xl); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.footer__title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.footer__list { list-style: none; display: grid; gap: 0.7rem; }
.footer__list a, .footer__list li {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__list a:hover { color: var(--primary); }
.footer__blurb { color: rgba(255, 255, 255, 0.62); font-size: var(--fs-sm); line-height: 1.8; margin-bottom: var(--space-lg); }

.socials { display: flex; gap: 0.6rem; }
.socials a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-dark-2);
  border-radius: var(--radius-sm);
  color: #fff;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.socials a:hover { background: var(--primary); border-color: var(--primary); }
.socials svg { width: 18px; height: 18px; }

.footer__bar {
  border-top: 1px solid var(--border-dark);
  padding-block: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}
.footer__bar a { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.footer__bar a:hover { color: var(--primary); }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-md); }

/* --------------------------------------------------------------------------
   22. PROSE
   -------------------------------------------------------------------------- */

.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-2xl); margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.prose h3 { font-size: var(--fs-xl); margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-muted); }
.prose a { color: var(--primary); }
.prose ul, .prose ol { margin: 0 0 var(--space-lg) 1.25rem; display: grid; gap: 0.5rem; }
.prose li::marker { color: var(--primary); }
.prose strong { color: var(--text); font-weight: 600; }

.pullquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text);
}
.pullquote cite {
  display: block;
  margin-top: var(--space-md);
  font-size: var(--fs-xs);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec { list-style: none; display: grid; gap: 1px; background: var(--border-light); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; }
.spec > li { background: var(--white); display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-md); padding: 0.9rem var(--space-lg); }
.spec dt, .spec__k { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.spec__v { font-size: var(--fs-sm); font-weight: 500; }

/* --------------------------------------------------------------------------
   23. 404 / THANK YOU
   -------------------------------------------------------------------------- */

.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-height) + var(--space-2xl)) var(--gutter) var(--space-4xl);
  background: var(--bg-alt);
}
.notfound__code {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(6rem, 24vw, 16rem);
  line-height: 0.85;
  color: var(--primary);
  opacity: 0.16;
  margin-bottom: var(--space-md);
}
.notfound__title { margin-bottom: var(--space-md); }
.notfound p { margin-inline: auto; color: var(--text-muted); }
.notfound .datum { justify-content: center; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; margin-top: var(--space-xl); }
.notfound__links { margin-top: var(--space-4xl); }
.notfound .footer__list a, .notfound .footer__list li { color: var(--text-muted); }
.notfound .footer__list a:hover { color: var(--primary); }
.notfound .footer__title { color: var(--primary); }

.thanks {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-height) + var(--space-2xl)) var(--gutter) var(--space-4xl);
  background: var(--bg-alt);
}
.thanks__inner { max-width: 720px; text-align: center; }
.thanks__tick {
  width: 72px; height: 72px;
  margin: 0 auto var(--space-xl);
  background: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.thanks__tick svg { width: 32px; height: 32px; }
.thanks p { margin-inline: auto; }
.thanks .datum { justify-content: center; }
.thanks .footer__list a, .thanks .footer__list li { color: var(--text-muted); }
.thanks .footer__list a:hover { color: var(--primary); }

/* --------------------------------------------------------------------------
   24. SCROLL REVEAL
   -------------------------------------------------------------------------- */

/* Scoped to .js so content is visible by default. If the script fails to run,
   the page still shows — it just doesn't animate. A blank page is never
   an acceptable failure mode for a missing animation. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   25. RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .cta-block { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .band__media { min-height: 320px; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .header__phone .header__phone-text { display: none; }
  .burger { display: flex; }
  .header__actions .btn { display: none; }

  /* logo returns to the left once the nav collapses */
  .header__inner { grid-template-columns: 1fr auto; }
  .brand { order: 1; justify-self: start; }
  .header__actions { order: 2; }

  .hero { min-height: 92svh; }
  .hero__scroll { display: none; }
  .badges__inner { grid-template-columns: 1fr 1fr; gap: var(--space-md); }

  .sticky-cta { display: grid; }
  .footer { padding-bottom: 76px; }
}

@media (max-width: 620px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .spec > li { grid-template-columns: 1fr; gap: 0.3rem; }
  .step { grid-template-columns: 1fr; gap: var(--space-sm); }
  .promise { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   26. MOTION / PRINT
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .reviews__track { animation: none; }
  .reviews { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}

@media print {
  .header, .drawer, .sticky-cta, .footer { display: none; }
  body { background: #fff; color: #000; }
}
