/* DRV Construction — design system
   Converted from "DRV Homepage Redesign.dc.html".
   Inline styles became tokens + classes; hover/focus states and the
   responsive rules the mockup didn't cover are defined here. */

/* ---------- tokens ---------- */
:root {
  --bg: #0B0F16;
  --bg-alt: #0E141F;
  --card: #161F30;
  --card-top: #1B2537;
  --footer: #080B11;

  --gold: #F1C632;
  --gold-dk: #CDA82B;
  --ink: #14100A;

  --text: #EDE9E1;
  --text-2: #DED9CE;
  --muted: #C8CDD6;
  --dim: #97A0AD;
  --faint: #6B7480;

  --line: rgba(255, 255, 255, .07);
  --line-gold: rgba(241, 198, 50, .18);

  --card-edge: rgba(241, 198, 50, .17);
  --elev: 0 6px 22px rgba(0, 0, 0, .5);
  --elev-hi: 0 16px 40px rgba(0, 0, 0, .62);

  /* Content cards are defined by a hard gold rail rather than by their fill.
     Tuning surface contrast never worked — a dark card on a dark section is
     around 1.3:1 no matter how the fill is nudged, and inverting to cream read
     as a generic SaaS feature card. A solid 3px gold edge is unmissable
     regardless of what it sits on, and looks like a job site rather than a
     software product.
     Media-led cards (project, work, team) keep their own treatment — a
     photograph separates itself from the background without help. */
  --rail: 3px;
  --card-line: rgba(241, 198, 50, .28);
  --card-line-hi: rgba(241, 198, 50, .6);
  --card-wash: rgba(241, 198, 50, .06);

  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --pad: 32px;
  --radius: 10px;
  --section-y: 96px;

  --grad-gold: linear-gradient(135deg, #F1C632, #CDA82B);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* height:auto lets the CSS aspect-ratio win over the width/height HTML
   attributes (which browsers apply as presentational hints). The attributes
   stay in the markup so they still reserve layout space and avoid CLS. */
img { max-width: 100%; display: block; height: auto; }

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: #fff; }

h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-transform: uppercase; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid rgba(255, 255, 255, .05); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--ink);
  padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- icons ----------
   Sprite lives in /static/icons.svg. `stroke` and `color` are inherited
   properties, so they cascade from the <svg class="icon"> host into the
   referenced <symbol> content. */
.icon {
  width: 1em; height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--service { width: 40px; height: 40px; margin-bottom: 16px; color: var(--gold); stroke-width: 1.5; }

/* Icons8 "Windows 11 Color" (Fluency) PNGs.
   Full-colour rasters, so they can't inherit the gold like the sprite does.
   Downloaded at 192px and shown between 22 and 42px, so they stay sharp on
   high-DPI screens. Used wherever an icon is 22px or larger; anything smaller
   (nav toggle, arrows, lightbox controls, form ticks) stays on the monochrome
   sprite, where colour detail would turn to mush. */
.iconimg { display: block; flex: none; }
.iconimg--service { width: 40px; height: 40px; margin-bottom: 18px; }
.iconimg--detail  { width: 42px; height: 42px; }
.iconimg--trust   { width: 24px; height: 24px; }
.iconimg--stat    { width: 30px; height: 30px; margin: 0 auto 10px; }
.iconimg--step    { width: 28px; height: 28px; }
.iconimg--cred    { width: 34px; height: 34px; margin-bottom: 14px; }
.iconimg--contact { width: 24px; height: 24px; }
.iconimg--footer  { width: 22px; height: 22px; }
.iconimg--empty   { width: 44px; height: 44px; margin: 0 auto 16px; }

.icon--trust { width: 20px; height: 20px; color: var(--gold); }
.icon--stat { display: block; width: 22px; height: 22px; color: var(--gold-dk); margin: 0 auto 10px; }
.icon--step { width: 26px; height: 26px; color: var(--gold); }
.icon--inline { width: 18px; height: 18px; }
.icon--more { width: 15px; height: 15px; vertical-align: -2px; margin-left: 4px; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 40px; height: 3px; background: var(--gold-dk); flex: none; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 40px; height: 3px; background: var(--gold-dk); flex: none; }

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.05;
}

.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow { justify-content: center; }
.section-head .lede { margin: 14px auto 0; max-width: 520px; }

.lede {
  margin: 0;
  font-size: 16px; line-height: 1.6;
  color: var(--dim);
  text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  font-family: var(--body);
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  border-radius: 6px;
  transition: filter .2s ease, border-color .2s ease, color .2s ease, background-color .2s ease;
}
.btn--gold {
  color: var(--ink);
  background: var(--grad-gold);
  box-shadow: 0 4px 18px rgba(205, 168, 43, .28);
}
.btn--gold:hover { filter: brightness(1.08); color: var(--ink); }

.btn--ghost {
  color: var(--text);
  border: 1.5px solid rgba(237, 233, 225, .4);
  background: transparent;
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--outline-gold {
  color: var(--gold);
  border: 1.5px solid rgba(241, 198, 50, .5);
  background: transparent;
}
.btn--outline-gold:hover { background: rgba(241, 198, 50, .1); color: var(--gold); }

.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--md { padding: 14px 26px; font-size: 14.5px; }
.btn--sm { padding: 13px 26px; font-size: 14px; letter-spacing: .08em; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--gold-dk);
  color: var(--ink);
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  text-align: center;
  padding: 8px 16px;
}
.topbar a { color: var(--ink); text-decoration: underline; font-weight: 700; }
.topbar a:hover { color: var(--ink); opacity: .75; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 22, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-gold);
}
.nav {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img { height: 60px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  padding: 10px 14px;
  font-size: 14.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold); }

.nav__phone {
  margin-left: 14px; padding: 10px 16px;
  font-size: 15px; font-weight: 700;
  color: var(--text);
  border: 1px solid rgba(237, 233, 225, .28);
  border-radius: 6px;
}
.nav__phone:hover { border-color: var(--gold); color: var(--gold); }
.nav__cta { margin-left: 8px; padding: 11px 20px; font-size: 14.5px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(237, 233, 225, .28);
  border-radius: 6px; cursor: pointer;
  color: var(--text);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 720px;
  overflow: hidden;
  background: var(--bg);
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s ease-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.hero__scrim-x, .hero__scrim-y { position: absolute; inset: 0; }
.hero__scrim-x {
  background: linear-gradient(90deg, rgba(8, 11, 17, .82) 0%, rgba(8, 11, 17, .45) 40%, rgba(8, 11, 17, 0) 65%, rgba(8, 11, 17, .1) 100%);
}
.hero__scrim-y {
  background: linear-gradient(180deg, rgba(11, 15, 22, .25) 0%, transparent 22%, transparent 72%, rgba(11, 15, 22, .85) 100%);
}

.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto;
  padding: 112px var(--pad) 0;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.hero__title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700; line-height: .98; letter-spacing: .01em;
  max-width: 720px;
  text-wrap: balance;
}
.hero__title span { color: var(--gold); }
.hero__sub {
  margin: 24px 0 0;
  font-size: 19px; line-height: 1.55;
  color: var(--muted); max-width: 560px;
  text-wrap: pretty;
}
.hero__actions { display: flex; align-items: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero__actions .btn--gold { box-shadow: 0 8px 28px rgba(205, 168, 43, .35); }

.hero__trust { display: flex; gap: 36px; margin-top: 52px; flex-wrap: wrap; }
.hero__trust li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--text-2);
}
.hero__trust svg { color: var(--gold); flex: none; }
.hero__trust { list-style: none; padding: 0; margin-top: 52px; }

.hero__dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 10px;
}
.hero__dot {
  width: 18px; height: 4px; padding: 0;
  border: none; cursor: pointer; border-radius: 2px;
  background: rgba(255, 255, 255, .35);
  transition: width .4s ease, background-color .4s ease;
}
.hero__dot.is-active { width: 34px; background: var(--gold); }

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line-gold);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 22, .72) 0%, rgba(11, 15, 22, .86) 100%);
}
.page-hero__inner {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto;
  padding: 84px var(--pad);
}
.page-hero__title {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700; line-height: 1.02;
  text-wrap: balance;
}
.page-hero__lede {
  margin: 16px 0 0;
  font-size: 18px; line-height: 1.6;
  color: var(--muted); max-width: 560px;
  text-wrap: pretty;
}

/* breadcrumb */
.crumbs { margin: 0 0 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.crumbs a { color: var(--gold); }
.crumbs span { margin: 0 8px; color: var(--faint); }

/* ---------- service detail list (services page) ---------- */
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-detail {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 48px 1fr; gap: 22px;
  padding: 28px 26px 26px 30px;
  background: transparent;
  border: 1px solid var(--card-line);
  border-radius: 4px;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.service-detail::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--rail); background: var(--grad-gold);
}
.service-detail:hover {
  background: var(--card-wash);
  border-color: var(--card-line-hi);
  transform: translateY(-4px);
}
.service-detail > .icon { width: 42px; height: 42px; color: var(--gold); stroke-width: 1.6; }
.service-detail h2 {
  font-size: 25px; font-weight: 600; letter-spacing: .04em;
  margin: 0; color: #fff;
}
.service-detail p { margin: 9px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.service-detail a {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
}
.service-detail a .icon { margin-left: 0; }

/* ---------- credential cards ---------- */
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cred {
  position: relative; overflow: hidden;
  padding: 28px 26px;
  background: transparent;
  border: 1px solid var(--card-line);
  border-radius: 4px;
  transition: background-color .25s ease, border-color .25s ease;
}
.cred::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--rail); background: var(--grad-gold);
}
.cred:hover { background: var(--card-wash); border-color: var(--card-line-hi); }
.cred .icon { width: 32px; height: 32px; color: var(--gold); margin-bottom: 14px; stroke-width: 1.6; }
.cred h3 { font-size: 22px; font-weight: 600; letter-spacing: .04em; color: #fff; }
.cred p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 620px; }
.team-card {
  margin: 0;
  background: var(--card);
  border: 1px solid rgba(241, 198, 50, .28);
  border-radius: var(--radius);
  overflow: hidden;
}
.team-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.team-card figcaption { padding: 16px 18px; }
.team-card__name { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.team-card__role { margin-top: 3px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project {
  margin: 0; position: relative; display: block;
  border-radius: var(--radius); overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(241, 198, 50, .22);
  cursor: pointer;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  text-align: left; padding: 0; width: 100%; color: inherit; font: inherit;
}
.project:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 16px 38px rgba(0, 0, 0, .5); }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project figcaption, .project__meta {
  padding: 14px 18px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(241, 198, 50, .18);
}
.project__name { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.project__count { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 9, 14, .95);
  display: none;
  align-items: center; justify-content: center;
}
.lb.is-open { display: flex; }
.lb__img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 6px; }
.lb__cap {
  position: absolute; bottom: 24px; left: 0; right: 0;
  text-align: center; font-size: 14px; color: var(--muted);
  padding: 0 20px;
}
.lb__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(18, 26, 40, .85);
  border: 1px solid rgba(241, 198, 50, .35);
  border-radius: 50%;
  color: var(--gold); cursor: pointer;
}
.lb__btn:hover { background: var(--gold); color: var(--ink); }
.lb__btn--prev { left: 20px; }
.lb__btn--next { right: 20px; }
.lb__btn--prev .icon { transform: rotate(180deg); }
.lb__close { top: 20px; right: 20px; transform: none; }
.lb__btn .icon { width: 22px; height: 22px; }

/* ---------- reviews page ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager button {
  min-width: 42px; padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--body); font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.pager button:hover { border-color: var(--gold); color: var(--gold); }
.pager button[aria-current="true"] { background: var(--grad-gold); color: var(--ink); border-color: transparent; }
.pager button[disabled] { opacity: .4; cursor: not-allowed; }

.empty-state { text-align: center; padding: 72px 20px; color: var(--dim); }
.empty-state .icon { width: 42px; height: 42px; color: var(--gold-dk); margin: 0 auto 16px; display: block; }

/* ---------- contact page ---------- */
.contact-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* ---------- centered message pages (404 / thank-you) ---------- */
.msg {
  min-height: 62vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px var(--pad);
}
.msg .icon { width: 56px; height: 56px; color: var(--gold); margin-bottom: 24px; }
.msg h1 { font-size: clamp(44px, 8vw, 76px); font-weight: 700; line-height: 1; }
.msg p { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 520px; text-wrap: pretty; }
.msg__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-alt); border-top: 1px solid var(--line-gold); }
.cta-band__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 64px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.05; }
.cta-band p { margin: 10px 0 0; color: var(--dim); font-size: 16px; max-width: 460px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- stats ---------- */
.stats {
  background: var(--bg);
  border-top: 1px solid rgba(241, 198, 50, .14);
  border-bottom: 1px solid rgba(241, 198, 50, .14);
}
.stats__grid {
  max-width: var(--wrap); margin: 0 auto;
  padding: 44px var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat { text-align: center; border-right: 1px solid rgba(255, 255, 255, .08); }
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--display);
  font-size: 46px; font-weight: 700; line-height: 1;
  color: var(--gold);
}
.stat__label {
  margin-top: 6px;
  font-size: 13.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim);
}

/* ---------- work / before & after ---------- */
.work__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 48px;
}
.work__head .lede { max-width: 380px; }

.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.work-card {
  margin: 0; position: relative;
  border-radius: var(--radius); overflow: hidden;
  background: #000;
  border: 1px solid rgba(241, 198, 50, .25);
  transition: border-color .25s ease, transform .25s ease;
}
.work-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.work-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.work-card figcaption {
  padding: 12px 20px;
  background: var(--card);
  border-top: 1px solid rgba(241, 198, 50, .2);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.work-card__name {
  font-family: var(--display);
  font-size: 20px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}
.work-card__type {
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}

/* ---------- services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.service {
  position: relative; overflow: hidden;
  display: block; padding: 28px 24px 26px;
  background: transparent;
  border: 1px solid var(--card-line);
  border-radius: 4px;
  color: var(--text);
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--rail); background: var(--grad-gold);
}
.service:hover {
  background: var(--card-wash);
  border-color: var(--card-line-hi);
  transform: translateY(-4px);
  color: var(--text);
}
.service__num {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--display);
  font-size: 34px; font-weight: 700; line-height: 1;
  color: rgba(241, 198, 50, .22);
}
.service .icon--service {
  width: 38px; height: 38px; margin-bottom: 18px;
  color: var(--gold); stroke-width: 1.6;
}
.service h3 {
  font-size: 25px; font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
}
.service p { margin: 9px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.service__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 15px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
}
.service__more .icon { margin-left: 0; }

/* ---------- reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.review {
  position: relative; overflow: hidden;
  margin: 0; padding: 26px 24px;
  background: transparent;
  border: 1px solid var(--card-line);
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.review::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--rail); background: var(--grad-gold);
}
.review:hover { background: var(--card-wash); border-color: var(--card-line-hi); transform: translateY(-4px); }
.review__stars { color: var(--gold); font-size: 17px; letter-spacing: 3px; }
.review__text {
  margin: 0; flex: 1;
  font-size: 15.5px; line-height: 1.62;
  color: var(--muted); text-wrap: pretty;
}
.review__foot {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 14px;
}
/* Initials rendered in-brand rather than pulled from ui-avatars.com, whose
   background=random gave every reviewer a different neon circle. */
.review__avatar {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(241, 198, 50, .12);
  border: 1px solid rgba(241, 198, 50, .34);
  color: var(--gold);
  font-family: var(--display);
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
}
.review__name { font-size: 15px; font-weight: 700; color: var(--text); }
.review__loc { font-size: 13px; color: var(--dim); }

.reviews__cta { text-align: center; margin-top: 40px; }

/* skeleton shown until real reviews load */
.review--skeleton { min-height: 210px; }
.review--skeleton .sk {
  background: rgba(255, 255, 255, .05);
  border-radius: 4px;
  animation: pulse 1.6s ease-in-out infinite;
}
.review--skeleton .sk + .sk { margin-top: 10px; }
@keyframes pulse { 0%, 100% { opacity: .45; } 50% { opacity: .9; } }

/* ---------- about ---------- */
.about__grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center;
}
.about__body p {
  margin: 22px 0 0;
  font-size: 16.5px; line-height: 1.7;
  color: var(--muted); text-wrap: pretty;
}
.about__body p + p { margin-top: 16px; }
.about__actions { display: flex; gap: 14px; margin-top: 32px; }

.about__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about__photo {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(241, 198, 50, .3);
  position: relative;
}
.about__photo:first-child { top: 22px; }
.about__photo:last-child { top: -22px; }
.about__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__photo figcaption {
  padding: 12px 14px;
  background: var(--card);
  font-size: 13.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.process::before {
  content: ""; position: absolute;
  top: 27px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, rgba(241, 198, 50, .6), rgba(241, 198, 50, .15));
}
.step { position: relative; text-align: center; padding: 0 20px; }
.step__num {
  width: 54px; height: 54px; margin: 0 auto;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold-dk);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 22px; font-weight: 700; color: var(--gold);
  position: relative; z-index: 1;
}
.step__n {
  margin: 16px 0 0;
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.step h3 {
  margin: 5px 0 0;
  font-size: 22px; font-weight: 600; letter-spacing: .05em;
}
.step p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--dim); text-wrap: pretty; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; opacity: .12; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.contact__title { font-size: clamp(34px, 5.5vw, 54px); font-weight: 700; line-height: 1.02; }
.contact__lede {
  margin: 18px 0 0;
  font-size: 17px; line-height: 1.65;
  color: var(--muted); max-width: 460px; text-wrap: pretty;
}
.contact__list {
  margin-top: 34px; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 16px;
}
.contact__row { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; color: var(--muted); }
.contact__row--phone { font-size: 24px; font-weight: 700; color: var(--gold); }
.contact__row--phone:hover { color: #fff; }
.contact__icon {
  width: 44px; height: 44px; flex: none;
  border-radius: 8px;
  background: rgba(241, 198, 50, .14);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact__icon .icon { width: 20px; height: 20px; }

.form {
  position: relative;
  background: linear-gradient(180deg, var(--card-top), var(--card));
  border: 1px solid rgba(241, 198, 50, .28);
  border-radius: 14px;
  padding: 34px 32px 30px;
  display: flex; flex-direction: column;
  box-shadow: 0 28px 64px rgba(0, 0, 0, .55);
  overflow: hidden;
}
/* gold cap so the form reads as the page's primary action */
.form::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-gold);
}

.form__head { margin-bottom: 22px; }
.form__head .eyebrow { margin-bottom: 10px; }
.form h3 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: .03em; line-height: 1.05; }
.form h3 span { color: var(--gold); }
.form__sub { margin: 9px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--dim); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field + .form__field, .form__row + .form__field, .form__field + .form__row, .form__row + .form__row { margin-top: 15px; }
/* ...but side-by-side fields inside a row must stay on the same baseline */
.form__row > .form__field + .form__field { margin-top: 0; }

.form label {
  display: block; margin-bottom: 7px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim);
}
.form label .req { color: var(--gold); margin-left: 3px; }

.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 15px;
  background: rgba(8, 11, 17, .72);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  color: var(--text);
  /* 16px min: iOS Safari auto-zooms the page when focusing a field under 16px */
  font-size: 16px;
  font-family: var(--body);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.form textarea { resize: vertical; min-height: 118px; line-height: 1.55; }
.form input:hover, .form textarea:hover, .form select:hover { border-color: rgba(255, 255, 255, .22); }
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--gold);
  background: rgba(8, 11, 17, .95);
  box-shadow: 0 0 0 3px rgba(241, 198, 50, .16);
  outline: none;
}
.form input::placeholder, .form textarea::placeholder { color: #5A6472; }
.form [aria-invalid="true"] { border-color: #FF8A80; box-shadow: 0 0 0 3px rgba(255, 138, 128, .14); }

/* native select arrow is unstyleable across browsers — draw our own */
.form select {
  appearance: none; cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1C632' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
}
.form select option { background: #0B0F16; color: var(--text); }
.form select:invalid, .form select option[value=""] { color: #5A6472; }

.form button[type="submit"] {
  width: 100%;
  margin-top: 22px;
  padding: 17px;
  font-size: 15.5px; letter-spacing: .07em;
  gap: 9px;
}
.form button[disabled] { opacity: .6; cursor: not-allowed; }
.form button .icon { width: 17px; height: 17px; }

.form__status { margin: 12px 0 0; font-size: 14px; text-align: center; min-height: 1em; }
.form__status[data-state="error"] { color: #FF8A80; }
.form__status[data-state="ok"] { color: var(--gold); }

.form__trust {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 18px;
  margin: 16px 0 0; padding: 15px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.form__trust li {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--dim);
}
.form__trust .icon { width: 13px; height: 13px; color: var(--gold); stroke-width: 3; }
.form__note { margin: 10px 0 0; font-size: 12px; color: var(--faint); text-align: center; line-height: 1.5; }
/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- sticky mobile call/quote bar ---------- */
/* Hidden on desktop; a fixed two-button bar on phones so Call and Free
   Estimate are always one thumb-tap away without scrolling. */
.mobile-cta { display: none; }

@media (max-width: 720px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(11, 15, 22, .96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-gold);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 10px;
    font-family: var(--body);
    font-size: 14.5px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 8px;
  }
  .mobile-cta__call { color: var(--text); border: 1.5px solid rgba(237, 233, 225, .32); }
  .mobile-cta__call:hover { color: var(--text); }
  .mobile-cta__quote { color: var(--ink); background: var(--grad-gold); }
  .mobile-cta__quote:hover { color: var(--ink); }
  .mobile-cta .icon { width: 17px; height: 17px; }
  .mobile-cta__call .icon { color: var(--gold); }

  /* keep the bar from covering the last of the footer */
  body { padding-bottom: 76px; }
}

/* ---------- footer ---------- */
.footer { background: var(--footer); border-top: 1px solid var(--line-gold); }
.footer__grid {
  max-width: var(--wrap); margin: 0 auto;
  padding: 56px var(--pad) 32px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
}
.footer__logo { height: 76px; width: auto; margin-bottom: 14px; }
.footer__about { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--dim); max-width: 340px; text-wrap: pretty; }
.footer h4 {
  margin: 0 0 16px;
  font-size: 18px; font-weight: 600;
  letter-spacing: .1em; color: var(--gold);
}
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 14.5px; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer__contact a, .footer__hours { display: flex; align-items: center; gap: 9px; }
.footer__contact .icon { width: 16px; height: 16px; color: var(--gold-dk); }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--gold); }
.footer__hours { color: var(--dim); }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .06); }
.footer__bar-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 18px var(--pad);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--faint);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid { gap: 40px; }
  .hero__trust { gap: 24px; }
}

@media (max-width: 900px) {
  :root { --section-y: 64px; --pad: 20px; }

  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 15, 22, .98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-gold);
    padding: 12px var(--pad) 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__phone, .nav__cta { margin: 12px 0 0; text-align: center; }
  .nav__toggle { display: flex; }
  .nav__logo img { height: 46px; }
  .nav { height: 64px; }

  .hero { height: auto; min-height: 560px; }
  .hero__inner { padding: 72px var(--pad) 88px; }
  .hero__scrim-x { background: linear-gradient(180deg, rgba(8, 11, 17, .55) 0%, rgba(8, 11, 17, .78) 100%); }
  .hero__sub { font-size: 17px; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__trust { gap: 12px 24px; margin-top: 36px; }
  .hero__trust li { font-size: 14px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; padding: 32px var(--pad); }
  .stat:nth-child(2) { border-right: none; }
  .stat__num { font-size: 38px; }

  .work__head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .work__head .lede { max-width: none; }
  .work__grid { grid-template-columns: 1fr; gap: 16px; }

  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__photo:first-child, .about__photo:last-child { top: 0; }

  .process { grid-template-columns: 1fr; gap: 32px; }
  .process::before { display: none; }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 4px 16px; text-align: left; padding: 0; align-items: start; }
  .step__num { margin: 0; grid-row: 1 / span 3; }
  .step__n { margin: 0; grid-column: 2; }
  .step h3 { margin: 0; grid-column: 2; }
  .step p { grid-column: 2; }

  .form { padding: 24px 20px; }
  .section-head { margin-bottom: 36px; }

  /* CTA band: buttons were auto-width and mismatched — stack them full-width */
  .cta-band__actions { width: 100%; flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }

  /* section "view all" CTAs read as real buttons at thumb width */
  .reviews__cta .btn, .about__actions .btn { width: 100%; }
  .about__actions { flex-direction: column; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding: 40px var(--pad) 24px; }
  .footer__bar-inner { flex-direction: column; align-items: center; text-align: center; gap: 6px; }

  /* interior pages */
  .page-hero__inner { padding: 52px var(--pad); }
  .service-list, .cred-grid, .contact-page__grid { grid-template-columns: 1fr; }
  .contact-page__grid { gap: 36px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team-grid { max-width: none; gap: 16px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; padding: 48px var(--pad); }
  .lb__btn--prev { left: 8px; }
  .lb__btn--next { right: 8px; }
  .lb__img { max-width: 94vw; max-height: 70vh; }
}

@media (max-width: 560px) {
  .services__grid, .reviews__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  /* stats stay 2x2 — a single column made four tall rows for four numbers */
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .stat { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .08); }
  .gallery-grid, .team-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px 24px 26px; }
  .service-detail > .iconimg { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide img { animation: none; }
  .hero__slide { transition: none; }
  .review--skeleton .sk { animation: none; }
  * { transition-duration: .01ms !important; }
}
