/* ==========================================================================
   RetroHof — property maintenance
   Brand red #D22630 is taken from the logo artwork; #DB3C23 is the accent
   inherited from the previous site. Everything else is neutral scaffolding.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  --red: #d22630;
  --red-600: #b01f28;
  --red-700: #8c1920;
  --red-050: #fdf1f1;
  --ember: #db3c23;

  --ink: #14181c;
  --ink-2: #2b3239;
  --muted: #5d6b78;
  --muted-2: #8996a3;
  --line: #e4e8ec;
  --line-2: #eff2f5;
  --surface: #ffffff;
  --tint: #f6f7f9;
  --dark: #15191d;
  --dark-2: #1d2329;

  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --wrap: 1220px;
  --gutter: clamp(1rem, 4vw, 2rem);

  --r-sm: 3px;
  --r: 6px;
  --r-lg: 10px;

  --sh-1: 0 1px 2px rgba(20, 24, 28, .06), 0 2px 8px rgba(20, 24, 28, .05);
  --sh-2: 0 4px 12px rgba(20, 24, 28, .08), 0 14px 36px rgba(20, 24, 28, .09);
  --sh-3: 0 20px 60px rgba(20, 24, 28, .18);

  --head-h: 76px;
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-2);
  font: 400 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.017em;
  margin: 0 0 .6em;
  font-weight: 700;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
blockquote, figure { margin: 0; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }

.skip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  background: var(--ink); color: #fff; padding: .7rem 1.2rem; z-index: 200;
  border-radius: 0 0 var(--r) var(--r); text-decoration: none; font-weight: 600;
}
.skip:focus { transform: translate(-50%, 0); color: #fff; }

.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ico { flex: none; }

/* -------------------------------------------------------------- buttons -- */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .78rem 1.35rem;
  font: 600 .9375rem/1.2 var(--font-body);
  letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r);
  text-decoration: none; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh-1); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--red); --btn-bd: var(--red); }
.btn--primary:hover { --btn-bg: var(--red-600); --btn-bd: var(--red-600); color: #fff; }
.btn--dark { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: #000; --btn-bd: #000; color: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--red); --btn-fg: var(--red); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--red); --btn-bd: var(--red); }
.btn--outline:hover { --btn-bg: var(--red); --btn-fg: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--lg { padding: .95rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------- topbar -- */
.topbar {
  background: var(--dark); color: #cfd6dd;
  font-size: .8125rem; letter-spacing: .01em;
}
.topbar__in { display: flex; align-items: center; gap: 1.5rem; min-height: 40px; flex-wrap: wrap; }
.topbar__spacer { flex: 1 1 auto; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: #e7ecf0; text-decoration: none; }
.topbar__item .ico { color: var(--red); }
a.topbar__item:hover { color: #fff; }
.topbar__item--muted { color: #99a5b1; }
.topbar__item--muted .ico { color: #6f7c88; }
@media (max-width: 620px) {
  .topbar__in { gap: 1rem; justify-content: space-between; }
  .topbar__item--area { display: none; }
}
@media (max-width: 420px) {
  .topbar__in > a[href^='mailto'] { display: none; }
}

/* ------------------------------------------------------------- masthead -- */
.masthead {
  position: sticky; top: 0; z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.masthead.is-stuck { box-shadow: var(--sh-1); }
.masthead__in { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); min-height: var(--head-h); }
.brand { flex: none; display: block; }
.brand img { width: clamp(148px, 17vw, 194px); height: auto; }
.masthead__cta { margin-left: auto; display: flex; align-items: center; gap: .625rem; }
.masthead__tel { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ nav -- */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.25rem, 1vw, 1rem); list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .6rem .35rem; color: var(--ink); text-decoration: none;
  font: 600 .9375rem/1 var(--font-body); letter-spacing: .005em;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.nav__link:hover, .nav__link.is-current { color: var(--red); border-bottom-color: var(--red); }
.nav__caret { transition: transform .2s ease; }
.nav__item--has-sub:hover .nav__caret, .nav__item--has-sub:focus-within .nav__caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  width: min(560px, 90vw);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); padding: .75rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__sub::before { content: ''; position: absolute; inset: -12px 0 auto; height: 14px; }
.nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sublist { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__sublist a {
  display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem;
  border-radius: var(--r); color: var(--ink-2); text-decoration: none;
  font-size: .875rem; font-weight: 500;
}
.nav__sublist a:hover { background: var(--red-050); color: var(--red); }
.nav__sublist .ico { color: var(--red); }
.nav__suball {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  margin-top: .5rem; padding: .6rem; border-top: 1px solid var(--line-2);
  font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none;
}

/* ----------------------------------------------------------- mobile nav -- */
.burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--line); border-radius: var(--r);
  color: var(--ink); cursor: pointer;
}
.burger__close { display: none; }
.burger[aria-expanded='true'] .burger__open { display: none; }
.burger[aria-expanded='true'] .burger__close { display: block; }

@media (max-width: 1080px) {
  .masthead__cta .masthead__tel { display: none; }
}
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .masthead__cta { display: none; }
  /* Keep the burger (now an X) clickable above the open drawer. */
  body.nav-open .burger { position: relative; z-index: 96; background: #fff; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    background: #fff; border-left: 1px solid var(--line);
    padding: 5rem 1.25rem 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    box-shadow: var(--sh-3); z-index: 95; margin: 0;
  }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: ''; position: fixed; inset: 0; background: rgba(15, 19, 23, .45); z-index: 94;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-2); }
  .nav__link {
    justify-content: space-between; padding: .95rem .25rem;
    font-size: 1.0625rem; border-bottom: 0;
  }
  .nav__link.is-current { color: var(--red); }
  .nav__sub {
    position: static; width: auto; translate: none; transform: none;
    opacity: 1; visibility: visible; box-shadow: none; border: 0;
    padding: 0 0 .75rem; display: none;
  }
  .nav__item--has-sub.is-open .nav__sub { display: block; }
  .nav__item--has-sub:hover .nav__sub { display: none; }
  .nav__item--has-sub.is-open:hover .nav__sub { display: block; }
  .nav__sublist { grid-template-columns: 1fr; }
  .nav__mobile-cta { display: grid; gap: .6rem; margin-top: 1.25rem; }
}
@media (min-width: 961px) { .nav__mobile-cta { display: none; } }

/* ----------------------------------------------------------- typography -- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 .85rem;
  font: 700 .75rem/1 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--red); }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }

.sec { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--dark); color: #c8d0d8; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.sec-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 46rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--left { max-width: 42rem; }
.sec-head__title { font-size: clamp(1.75rem, 1.1rem + 2.1vw, 2.85rem); margin-bottom: .5rem; }
.sec-head__lead { font-size: clamp(1.03rem, 1rem + .3vw, 1.175rem); color: var(--muted); margin: 0; }
/* Inside a .sec-head the lead is the last element, so it needs no bottom
   margin. Used as a standfirst above body copy it does. Adjacent margins
   collapse, so this is a no-op where the next element already has one. */
.sec-head__lead:not(:last-child) { margin-bottom: 1.1rem; }
.sec--dark .sec-head__lead { color: #9aa6b2; }

.lead { font-size: 1.1rem; color: var(--muted); }

/* ------------------------------------------------------------------ hero -- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero__slides { position: relative; display: grid; grid-template-areas: 'stack'; }
.hero__slide, .hero__body { grid-area: stack; }
.hero__slide {
  position: relative; overflow: hidden;
  opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active .hero__img { animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 18, 22, .93) 0%, rgba(14, 18, 22, .78) 38%, rgba(14, 18, 22, .25) 72%, rgba(14, 18, 22, .35) 100%);
}
.hero__body {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  min-height: clamp(520px, 74vh, 760px);
  padding-block: clamp(3rem, 8vw, 5rem);
}
.hero__inner { max-width: 40rem; }
.hero__stack { display: grid; grid-template-areas: 'copy'; align-items: start; }
.hero__copy {
  grid-area: copy;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
/* The outgoing block clears before the incoming one arrives, so the two
   never overlap mid-crossfade. */
.hero__copy.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition-delay: .4s;
}
.hero__title {
  color: #fff; font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 800; letter-spacing: -.028em; margin-bottom: .55rem;
}
.hero__title em { font-style: normal; color: var(--red); }
.hero__text { font-size: clamp(1.03rem, 1rem + .4vw, 1.2rem); color: #d3dae1; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.hero__ticks li { display: flex; align-items: center; gap: .45rem; font-size: .9375rem; color: #cbd4dc; }
.hero__ticks .ico { color: var(--red); }

.hero__dots {
  position: absolute; z-index: 3; left: 50%; translate: -50% 0; bottom: 1.5rem;
  display: flex; gap: .55rem; padding: 0; margin: 0; list-style: none;
}
.hero__dot {
  width: 30px; height: 4px; padding: 0; border: 0; border-radius: 99px;
  background: rgba(255, 255, 255, .34); cursor: pointer; transition: background .25s ease;
}
.hero__dot[aria-selected='true'] { background: var(--red); }
@media (min-width: 900px) {
  .hero__dots { left: auto; right: var(--gutter); translate: none; bottom: 2.25rem; }
}

/* trust strip under the hero */
.trust { background: var(--ink); color: #fff; }
.trust__grid {
  display: grid; gap: 1px; background: rgba(255, 255, 255, .1);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.trust__item {
  background: var(--ink); display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.35rem clamp(1rem, 2vw, 1.6rem);
}
.trust__item .ico { color: var(--red); margin-top: 2px; }
.trust__item strong { display: block; font-family: var(--font-display); font-size: 1rem; color: #fff; }
.trust__item span { display: block; font-size: .875rem; color: #9aa6b2; line-height: 1.5; }

/* ----------------------------------------------------------------- grid -- */
/* Two-column text/media rows. Top-aligned by default: the media column is
   almost always shorter than the text, and centring leaves the image floating
   halfway down with no relationship to the heading. Use `cols--center` for the
   rare row where both columns are a similar height. */
.cols { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cols--center { align-items: center; }
@media (min-width: 900px) {
  .cols--2 { grid-template-columns: 1fr 1fr; }
  /* `cols--media-first` reorders the media into column 1, so the ratio must be
     written media-first too: pair it with `cols--5-7` (media 5, text 7), not
     `cols--7-5` — otherwise the image takes the wide column and the text the
     narrow one. */
  .cols--media-first > .cols__media { order: -1; }
  .cols--5-7 { grid-template-columns: 5fr 7fr; }
  .cols--7-5 { grid-template-columns: 7fr 5fr; }
}
.cols__media { position: relative; }
.cols__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
/* Media that tracks the height of the text beside it, rather than sitting at a
   fixed aspect ratio and leaving a gap at one end or the other. Bounded so a
   very long text column does not produce an absurdly tall crop, and a short one
   does not squash the image into a letterbox. */
@media (min-width: 900px) {
  .cols__media--fill { align-self: stretch; min-height: 340px; max-height: 620px; }
  .cols__media--fill img { height: 100%; object-fit: cover; }
}
.cols__media--stack { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.cols__media--stack img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; object-fit: cover; }
.cols__media--stack img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  /* The stack tracks the text height too: drop the fixed ratios and let the
     rows divide whatever height the row ends up being. */
  .cols__media--stack.cols__media--fill { grid-template-rows: 1.45fr 1fr; max-height: 640px; }
  .cols__media--stack.cols__media--fill img { aspect-ratio: auto; height: 100%; }
}

.badge-float {
  position: absolute; right: -12px; bottom: -18px;
  background: var(--red); color: #fff; padding: 1rem 1.25rem;
  border-radius: var(--r); box-shadow: var(--sh-2); max-width: 15rem;
}
.badge-float strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.badge-float span { font-size: .8125rem; opacity: .92; }
@media (max-width: 640px) { .badge-float { position: static; margin-top: 1rem; max-width: none; } }

/* --------------------------------------------------------------- checks -- */
.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .7rem; }
.ticks--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; }
.ticks li::before {
  content: ''; flex: none; width: 21px; height: 21px; margin-top: 2px; border-radius: 50%;
  background: var(--red-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d22630' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12.5 5 5L20 6.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.sec--dark .ticks li::before { background-color: rgba(210, 38, 48, .18); }

/* -------------------------------------------------------- service cards -- */
.svc-grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.svc-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.svc-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  position: absolute; right: 1.4rem; margin-top: -3.15rem;
  width: 50px; height: 50px; border-radius: var(--r);
  background: var(--red); color: #fff; box-shadow: var(--sh-1); top: auto;
}
.svc-card__title { font-size: 1.22rem; margin-bottom: .45rem; padding-right: 3rem; }
.svc-card__title a { color: inherit; text-decoration: none; }
.svc-card__title a::after { content: ''; position: absolute; inset: 0; }
.svc-card:hover .svc-card__title a { color: var(--red); }
.svc-card__text { color: var(--muted); font-size: .9375rem; margin-bottom: 1.1rem; }
.svc-card__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--red);
}
.svc-card__more .ico { transition: transform .2s ease; }
.svc-card:hover .svc-card__more .ico { transform: translateX(3px); }

/* ---------------------------------------------------------------- stats -- */
.stats { background: var(--red); color: #fff; padding: clamp(2rem, 4vw, 2.75rem) 0; }
.stats__grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); text-align: center; }
.stat__n { display: block; font: 800 clamp(1.9rem, 1.2rem + 2vw, 2.7rem)/1 var(--font-display); letter-spacing: -.02em; }
.stat__l { display: block; margin-top: .4rem; font-size: .875rem; color: rgba(255, 255, 255, .88); }

/* ---------------------------------------------------------------- steps -- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: s; }
.step { position: relative; padding-top: 1.25rem; border-top: 3px solid var(--line); }
.step::after {
  content: ''; position: absolute; top: -3px; left: 0; width: 46px; height: 3px; background: var(--red);
}
.step__n { display: block; font: 800 .875rem/1 var(--font-display); letter-spacing: .12em; color: var(--red); margin-bottom: .7rem; }
.step__t { font-size: 1.14rem; margin-bottom: .4rem; }
.step__b { color: var(--muted); font-size: .9375rem; margin: 0; }

/* ----------------------------------------------------------- credentials -- */
.creds { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem 1.75rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.cred { display: flex; gap: .8rem; align-items: flex-start; }
.cred__tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff;
}
.cred strong { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--ink); }
.sec--dark .cred strong { color: #fff; }
.cred span { display: block; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.sec--dark .cred span { color: #93a0ac; }

/* ------------------------------------------------------------------ cta -- */
.cta { position: relative; color: #fff; overflow: hidden; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(140, 25, 32, .95) 0%, rgba(20, 24, 28, .88) 65%, rgba(20, 24, 28, .8) 100%); }
.cta__in {
  position: relative; z-index: 2;
  padding-block: clamp(3rem, 6vw, 4.75rem);
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 900px) { .cta__in { grid-template-columns: 1fr auto; gap: 3rem; } }
.cta__title { color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.4rem); margin-bottom: .5rem; }
.cta__lead { color: #dbe1e7; max-width: 44rem; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --------------------------------------------------------------- banner -- */
.banner { position: relative; background: var(--dark); color: #fff; }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(14, 18, 22, .92) 0%, rgba(14, 18, 22, .78) 45%, rgba(14, 18, 22, .45) 100%);
}
.banner__in { position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); max-width: 54rem; }
.banner__title { color: #fff; font-size: clamp(1.95rem, 1.2rem + 2.9vw, 3.35rem); font-weight: 800; letter-spacing: -.028em; margin-bottom: .5rem; }
.banner__lead { color: #d0d8df; font-size: clamp(1.02rem, 1rem + .35vw, 1.175rem); max-width: 42rem; margin: 0; }

.crumbs { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(10, 13, 16, .4); }
.crumbs__list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding-block: .8rem; font-size: .8125rem; color: #9fabb6; }
.crumbs__list li + li::before { content: '/'; margin-right: .5rem; color: #5d6b78; }
.crumbs__list a { color: #cdd5dc; text-decoration: none; }
.crumbs__list a:hover { color: #fff; text-decoration: underline; }
.crumbs__list [aria-current] { color: #fff; }

/* ------------------------------------------------------------- projects -- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.25rem; }
.filter {
  padding: .55rem 1.05rem; border: 1.5px solid var(--line); background: #fff;
  border-radius: 99px; font: 600 .875rem/1 var(--font-body); color: var(--ink-2);
  cursor: pointer; transition: all .18s ease;
}
.filter:hover { border-color: var(--red); color: var(--red); }
.filter[aria-pressed='true'] { background: var(--red); border-color: var(--red); color: #fff; }

.proj-grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.proj {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.proj:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.proj[hidden] { display: none; }
.proj__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.proj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj:hover .proj__media img { transform: scale(1.05); }
.proj__tag {
  position: absolute; top: .85rem; left: .85rem;
  background: rgba(20, 24, 28, .84); color: #fff; backdrop-filter: blur(4px);
  padding: .32rem .7rem; border-radius: var(--r-sm);
  font: 700 .6875rem/1.4 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
}
.proj__body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.proj__title { font-size: 1.14rem; margin-bottom: .55rem; }
.proj__meta { display: flex; flex-wrap: wrap; gap: .4rem .95rem; margin-bottom: .75rem; font-size: .8125rem; color: var(--muted); }
.proj__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.proj__meta .ico { color: var(--red); }
.proj__summary { color: var(--muted); font-size: .9375rem; margin-bottom: 1.1rem; }
.proj__toggle {
  margin-top: auto; align-self: flex-start;
  background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .4rem;
  font: 700 .8125rem/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--red);
}
.proj__toggle .ico { transition: transform .2s ease; }
.proj__toggle[aria-expanded='true'] .ico { transform: rotate(180deg); }
.proj__detail { padding: 0 1.35rem 1.35rem; border-top: 1px solid var(--line-2); margin-top: -.25rem; }
.proj__detail[hidden] { display: none; }
.proj__detail h4 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 1.1rem 0 .55rem; }
.proj__detail ul { margin: 0; padding-left: 1.1rem; font-size: .9rem; color: var(--ink-2); }
.proj__detail li { margin-bottom: .3rem; }
.proj__detail p { font-size: .9rem; color: var(--muted); }
.proj__svcs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.proj__svcs a {
  font-size: .75rem; font-weight: 600; text-decoration: none;
  background: var(--tint); color: var(--ink-2); padding: .3rem .6rem; border-radius: 99px;
  border: 1px solid var(--line);
}
.proj__svcs a:hover { background: var(--red-050); color: var(--red); border-color: var(--red); }

.empty-note { text-align: center; color: var(--muted); padding: 2rem 0; }

/* --------------------------------------------------------------- sectors -- */
.sector-grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sector {
  display: flex; flex-direction: column; gap: .9rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.75rem 1.6rem; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sector:hover { border-color: var(--red); box-shadow: var(--sh-1); transform: translateY(-3px); }
.sector__icon {
  width: 52px; height: 52px; border-radius: var(--r);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red-050); color: var(--red);
}
.sector h3 { font-size: 1.18rem; margin: 0; }
.sector p { color: var(--muted); font-size: .9375rem; margin: 0; }
.sector ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .9rem; }
.sector ul li { display: flex; gap: .55rem; align-items: flex-start; }
.sector ul li::before {
  content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--red-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d22630' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12.5 5 5L20 6.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------------------------------------------------------- testimonials -- */
.quotes { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.9rem 1.6rem 1.6rem; position: relative;
}
.quote__mark { color: var(--red); opacity: .18; margin-bottom: .5rem; }
.quote__stars { display: flex; gap: .15rem; color: var(--ember); margin-bottom: .85rem; }
.quote__stars .ico { fill: currentColor; stroke: none; }
.quote p { font-size: .975rem; color: var(--ink-2); }
.quote__by { margin-top: 1.1rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quote--placeholder { border-style: dashed; }

/* ------------------------------------------------------------------ faq -- */
.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq--wide { max-width: none; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq__item[open] { border-color: var(--red); box-shadow: var(--sh-1); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem; cursor: pointer; list-style: none;
  font: 600 1.02rem/1.4 var(--font-display); color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--red); }
.faq__caret { color: var(--red); transition: transform .2s ease; flex: none; }
.faq__item[open] .faq__caret { transform: rotate(180deg); }
.faq__a { padding: 0 1.25rem 1.25rem; color: var(--muted); font-size: .96rem; }
.faq-groups { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.faq-group__title { font-size: 1.35rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--red); display: inline-block; }

.areas-counties { font-size: .875rem; color: var(--muted); }
.areas-counties strong { color: var(--ink); }

/* ---------------------------------------------------------------- areas -- */
.areas { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }
.areas li { display: flex; align-items: center; gap: .45rem; font-size: .9375rem; }
.areas .ico { color: var(--red); }

/* ----------------------------------------------------------------- form -- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--sh-1);
}
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-field--full { grid-column: 1 / -1; } }
/* align-content: start is load-bearing. Fields sit in a grid row and stretch
   to match their tallest neighbour; without this the auto rows inside a
   shorter field stretch too, inflating its label and input. A field with no
   visible hint next to one that has a hint would render a taller box. */
.form-field { display: grid; gap: .4rem; align-content: start; }
.form-field label { font: 600 .875rem/1.3 var(--font-body); color: var(--ink); }
.form-field .hint { font-size: .8125rem; color: var(--muted-2); }
.req { color: var(--red); }
input[type='text'], input[type='email'], input[type='tel'], select, textarea {
  width: 100%; padding: .75rem .9rem;
  font: 400 .9688rem/1.5 var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(210, 38, 48, .14);
}
textarea { min-height: 150px; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
  padding-right: 2.4rem;
}
.checks { display: grid; gap: .55rem; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); margin-top: .2rem; }
.check { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; cursor: pointer; }
.check input { margin-top: .22rem; accent-color: var(--red); width: 17px; height: 17px; flex: none; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .875rem; color: var(--muted); }
.form-consent input { margin-top: .25rem; accent-color: var(--red); width: 17px; height: 17px; flex: none; }
.form-error { color: var(--red-600); font-size: .8125rem; font-weight: 600; }
.form-error:empty { display: none; }
input[aria-invalid='true'], textarea[aria-invalid='true'], select[aria-invalid='true'] { border-color: var(--red-600); }
.form-status {
  margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r);
  font-size: .9375rem; border: 1.5px solid transparent;
}
.form-status[hidden] { display: none; }
.form-status--ok { background: #eef8f1; border-color: #a9d8ba; color: #1d6b38; }
.form-status--err { background: var(--red-050); border-color: #f0b6ba; color: var(--red-700); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 2rem; }
.contact-card {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem;
}
.contact-card .ico { color: var(--red); margin-top: 3px; }
.contact-card strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.contact-card a, .contact-card span { font-size: .9375rem; color: var(--muted); text-decoration: none; display: block; }
.contact-card a:hover { color: var(--red); }

/* ---------------------------------------------------------------- prose -- */
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose h3 { font-size: 1.16rem; margin-top: 1.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-display); color: var(--ink); background: var(--tint); }
.prose__meta { color: var(--muted-2); font-size: .875rem; margin-bottom: 2rem; }

.note {
  border-left: 3px solid var(--red); background: var(--red-050);
  padding: 1rem 1.25rem; border-radius: 0 var(--r) var(--r) 0; margin: 1.5rem 0;
  font-size: .9375rem;
}

/* --------------------------------------------------------- service page -- */
.svc-detail { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 980px) { .svc-detail { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.svc-aside { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--head-h) + 1.25rem); }
@media (max-width: 979px) { .svc-aside { position: static; } }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.aside-card--dark { background: var(--dark); border-color: var(--dark); color: #c8d0d8; }
.aside-card--dark h3 { color: #fff; }
.aside-card h3 { font-size: 1.08rem; margin-bottom: .85rem; }
.aside-card p { font-size: .9375rem; color: var(--muted); }
.aside-card--dark p { color: #9aa6b2; }
.aside-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.aside-nav a {
  display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem;
  border-radius: var(--r); font-size: .9rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
}
.aside-nav a:hover { background: var(--red-050); color: var(--red); }
.aside-nav .ico { color: var(--red); }
.aside-nav a[aria-current] { background: var(--red); color: #fff; }
.aside-nav a[aria-current] .ico { color: #fff; }
.aside-contact { display: grid; gap: .6rem; margin-top: 1rem; }

.svc-body h2 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.85rem); margin-top: 2.5rem; }
.svc-body h2:first-child { margin-top: 0; }
.svc-body > p { color: var(--muted); }

/* ------------------------------------------------------------------ 404 -- */
.err { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.err__code { font: 800 clamp(4.5rem, 16vw, 9rem)/1 var(--font-display); color: var(--red); letter-spacing: -.04em; }
.err__links { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------- footer -- */
.foot { background: var(--dark); color: #98a4b0; font-size: .9375rem; }
/* Explicit tracks rather than auto-fit: auto-fit only fitted four 210px
   columns at this container width, and the brand column spanning two of them
   pushed Legal onto a second row. */
.foot__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); padding-block: clamp(3rem, 6vw, 4.5rem); grid-template-columns: 1fr; }
.foot__col { min-width: 0; }
.foot__col--brand { min-width: 0; }
@media (min-width: 620px) {
  .foot__grid { grid-template-columns: repeat(3, 1fr); }
  .foot__col--brand { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  /* Brand keeps a wider column, and Services / Company / Legal join it on the
     same row. */
  .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .foot__col--brand { grid-column: auto; }
}
.foot__logo { width: 190px; margin-bottom: 1.1rem; }
.foot__blurb { max-width: 32rem; line-height: 1.7; }
.foot__head { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.foot__links, .foot__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot__contact { margin-top: 1.4rem; }
.foot__contact li, .foot__contact a { display: flex; align-items: center; gap: .6rem; color: #b6c1cb; text-decoration: none; }
.foot__contact .ico { color: var(--red); }
.foot__contact a:hover { color: #fff; }
.foot__links a { color: #98a4b0; text-decoration: none; }
.foot__links a:hover { color: #fff; text-decoration: underline; }
.foot__btn { margin-top: 1.4rem; }
.foot__bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.foot__bar-in { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; padding-block: 1.25rem; font-size: .8125rem; color: #7e8a96; }
.foot__bar p { margin: 0; }
.social { list-style: none; display: flex; gap: .75rem; margin: 1.25rem 0 0; padding: 0; }
.social a { color: #b6c1cb; text-decoration: none; font-size: .875rem; }

/* -------------------------------------------------------------- utility -- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.actions--center { justify-content: center; }

/* ------------------------------------------------------------ animation -- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

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

@media print {
  .topbar, .masthead, .foot, .cta, .hero__dots, .burger, .filters { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a { color: #000; }
}
