/* D&R Industrial Services — phone-first stylesheet.
   One design system: every size, gap and radius below comes from the tokens in :root.
   Type: 8 steps (--fs-xs … --fs-4xl). Space: 4px-based scale (--sp-1 … --sp-9). Radius: --r and --r-sm. */

:root {
  /* Color */
  --red: #d41c00;
  --red-700: #b31800;
  --red-800: #8f1300;
  --red-tint: #fbece8;
  --btn: #c41a00;
  --btn-hover: #a51600;
  --steel-950: #0f1215;
  --steel-900: #161a1e;
  --steel-800: #20262c;
  --steel-700: #2e363e;
  --steel-500: #5c6770;
  --bg: #f5f4f1;
  --surface: #ffffff;
  --tint: #ebe9e4;
  --ink: #15191d;
  --muted: #545e66;
  --line: #dcd9d2;
  --line-strong: #c4c0b7;
  --on-dark: #f3f1ec;
  --on-dark-muted: #b9c0c6;
  --on-dark-line: rgba(255, 255, 255, .12);
  --accent-on-dark: #ff8a70;
  --shadow: 0 1px 2px rgba(15, 18, 21, .05), 0 12px 32px -18px rgba(15, 18, 21, .28);
  --shadow-lg: 0 2px 6px rgba(15, 18, 21, .06), 0 30px 60px -28px rgba(15, 18, 21, .4);

  /* Type */
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .8125rem;                                   /* 13px: fine print, meta */
  --fs-sm: .9375rem;                                   /* 15px: secondary text, labels, nav */
  --fs-md: 1rem;                                       /* 16px: body */
  --fs-lg: clamp(1.0625rem, 1rem + .3vw, 1.25rem);     /* lede */
  --fs-xl: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);  /* h3, card titles */
  --fs-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.625rem);    /* h2, big numbers */
  --fs-3xl: clamp(2.125rem, 1.5rem + 3vw, 3.5rem);     /* h1 */
  --fs-4xl: clamp(2.375rem, 1.3rem + 4.8vw, 4.5rem);   /* home hero */

  /* Space */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --section: clamp(64px, 40px + 5vw, 112px);   /* vertical padding of every section */
  --head-gap: clamp(32px, 20px + 2.5vw, 56px); /* section heading to its content */
  --gap: clamp(16px, 12px + 1vw, 24px);        /* gap inside grids */
  --pad: clamp(20px, 14px + 1.2vw, 28px);      /* padding inside cards */

  /* Shape */
  --r: 16px;
  --r-sm: 10px;

  --gutter: max(16px, env(safe-area-inset-left));
  --gutter-r: max(16px, env(safe-area-inset-right));
  --nav-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101316;
    --surface: #181c20;
    --tint: #1d2227;
    --ink: #ecebe7;
    --muted: #a9b2b9;
    --line: #2c333a;
    --line-strong: #3b444c;
    --red: #ff4a2b;
    --red-700: #ff6a4f;
    --red-tint: #2a1612;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -18px rgba(0, 0, 0, .8);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 30px 60px -28px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: var(--fs-md); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3 { margin: 0 0 var(--sp-3); font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
p, li, blockquote, figcaption { text-wrap: pretty; }
p { margin: 0 0 var(--sp-4); max-width: 65ch; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.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; }
.ln { display: block; }

.wrap { width: 100%; max-width: calc(1200px + var(--gutter) + var(--gutter-r)); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.skip { position: absolute; left: 16px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Text roles */
.eyebrow { font-size: var(--fs-sm); font-weight: 600; color: var(--red); margin: 0 0 var(--sp-3); }
.eyebrow--light { color: var(--accent-on-dark); }
.lede { font-size: var(--fs-lg); color: var(--muted); max-width: 58ch; line-height: 1.55; }
.meta { font-size: var(--fs-xs); color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 48px; padding: var(--sp-3) var(--sp-5); border-radius: var(--r-sm); border: 2px solid transparent; font: 600 var(--fs-md)/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { min-height: 40px; padding: var(--sp-2) var(--sp-4); font-size: var(--fs-sm); }
.btn--lg { min-height: 56px; padding: var(--sp-4) var(--sp-6); font-size: var(--fs-lg); }
.btn--primary { background: var(--btn); color: #fff; }
.btn--primary:hover { background: var(--btn-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn--outline:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.link-arrow { font-weight: 600; color: var(--red-700); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled, .nav.is-open { border-color: var(--line); }
.nav.is-open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav__inner { display: flex; align-items: center; gap: var(--sp-5); height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.nav__links { display: none; align-items: center; gap: var(--sp-1); margin-left: auto; }
.nav__links > a, .nav__group > a { display: inline-flex; align-items: center; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; }
.nav__links > a:hover, .nav__group > a:hover { color: var(--ink); background: var(--tint); }
.nav__links a[aria-current] { color: var(--ink); font-weight: 600; background: var(--tint); }
.nav__group { position: relative; }
.nav__group > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: var(--sp-2); border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav__menu { position: absolute; top: 100%; left: calc(var(--sp-2) * -1); min-width: 270px; padding: var(--sp-2); margin-top: var(--sp-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__menu a { padding: var(--sp-3); border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: var(--fs-sm); }
.nav__menu a:hover { background: var(--tint); }
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__cta { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; }
.nav__phone { display: none; text-decoration: none; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.nav__install { display: none; }
.nav__cta .btn { white-space: nowrap; }
.nav__toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); cursor: pointer; padding: 0 11px; flex: none; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: var(--nav-h) 0 0; background: var(--bg); overflow-y: auto; padding: var(--sp-3) var(--gutter-r) var(--sp-6) var(--gutter); border-top: 1px solid var(--line); }
.nav.is-open .mobile-menu { display: block; }
.mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 52px; padding: 0 var(--sp-1); font-size: var(--fs-lg); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a.sub { font-weight: 500; font-size: var(--fs-md); padding-left: var(--sp-5); color: var(--muted); min-height: 48px; }
.mobile-menu a[aria-current] { background: var(--tint); }
.mobile-menu__actions { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.mobile-menu__actions .btn { width: 100%; }
.mobile-menu__note { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--sp-5); }
@media (min-width: 560px) { .nav__phone { display: inline; } }
@media (min-width: 1120px) {
  :root { --nav-h: 76px; }
  .nav__links { display: flex; }
  .nav__cta { margin-left: var(--sp-2); }
  .nav__toggle, .mobile-menu, .nav.is-open .mobile-menu { display: none; }
}
@media (max-width: 519px) { .nav__cta .btn .lg-only { display: none; } }
@media (min-width: 520px) { .sm-only { display: none; } }

/* Logo */
.logo { display: block; line-height: 0; }
.logo img { display: block; height: 38px; width: auto; }
.footer .logo img { height: 44px; }
@media (max-width: 374px) { .logo img { height: 33px; } }
@media (min-width: 1120px) { .logo img { height: 46px; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--steel-900); color: var(--on-dark); }
.section--dark .lede, .section--dark p { color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { margin-bottom: var(--head-gap); max-width: 760px; }
.section__head .lede { margin-bottom: 0; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-4) var(--sp-7); }
.section__head--row > div { max-width: 720px; }
.section__foot { margin-top: var(--sp-6); }

.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* One card surface for every boxed component */
.card, .industry, .leader, .stamp, .award, .contact-card, .form, .stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.industry, .leader, .stamp, .award, .contact-card { padding: var(--pad); }

/* ---------- Home hero ---------- */
.hero { position: relative; color: var(--on-dark); background: var(--steel-950); isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 12, 14, .5) 0%, rgba(10, 12, 14, .72) 45%, rgba(10, 12, 14, .95) 100%); }
.hero__inner { padding-top: var(--sp-8); padding-bottom: var(--sp-6); min-height: min(88svh, 780px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero h1 { font-size: var(--fs-4xl); max-width: 16ch; margin-bottom: var(--sp-4); }
.hero h1 em { font-style: normal; color: #ff5a3c; }
.hero .lede { color: #d6dadd; margin-bottom: var(--sp-5); }
.hero .btn-row .btn { flex: 1 1 200px; }
.certs { list-style: none; margin: var(--sp-7) 0 0; padding: var(--sp-5) 0 0; border-top: 1px solid var(--on-dark-line); display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4) var(--sp-5); }
.certs li { min-width: 0; }
.certs b { display: block; font-size: var(--fs-sm); font-weight: 600; color: #fff; line-height: 1.3; }
.certs span { display: block; font-size: var(--fs-xs); color: var(--on-dark-muted); font-variant-numeric: tabular-nums; margin-top: 2px; }
.certs li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 820px) {
  .hero__inner { padding-top: 128px; padding-bottom: var(--sp-7); }
  .hero::after { background: linear-gradient(90deg, rgba(10, 12, 14, .93) 0%, rgba(10, 12, 14, .74) 46%, rgba(10, 12, 14, .25) 100%); }
  .hero h1 { max-width: none; }
  .hero .btn-row .btn { flex: 0 0 auto; }
  .certs { grid-template-columns: repeat(5, auto); justify-content: start; gap: var(--sp-5) var(--sp-7); }
  .certs li:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--steel-900); color: var(--on-dark); position: relative; isolation: isolate; overflow: hidden; }
.page-hero--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 18, 21, .7), rgba(15, 18, 21, .92)); }
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .wrap { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }
.page-hero h1 { max-width: 20ch; color: #fff; }
.page-hero .lede { color: #d0d5d9; margin-bottom: 0; }
.page-hero .btn-row { margin-top: var(--sp-5); }
@media (min-width: 820px) { .page-hero .wrap { padding-top: var(--sp-9); padding-bottom: var(--sp-8); } }

/* ---------- Client logo strip ---------- */
.logos { padding: var(--sp-8) 0; border-bottom: 1px solid var(--line); }
.logos__title { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; line-height: 1.5; color: var(--muted); text-align: center; margin: 0 0 var(--sp-7); }
.logos__link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; white-space: nowrap; }
.logos__link:hover { color: var(--ink); text-decoration-color: currentColor; }
.marquee { --fade: min(140px, 12%); --s: 1; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); }
.marquee__row { display: flex; overflow: hidden; }
.marquee__track { --g: 96px; display: flex; flex: none; align-items: center; gap: var(--g); padding: 0 var(--g) 0 0; margin: 0; list-style: none; animation: marquee var(--dur, 80s) linear infinite; }
.marquee li { display: flex; align-items: center; height: calc(64px * var(--s)); }
.marquee img { display: block; width: calc(var(--w) * 1px * var(--s)); height: calc(var(--h) * 1px * var(--s)); max-width: none; filter: brightness(0); opacity: .5; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-color-scheme: dark) { .marquee img { filter: brightness(0) invert(1); opacity: .6; } }
@media (max-width: 640px) { .logos { padding: var(--sp-7) 0; } .logos__title { margin-bottom: var(--sp-6); } .logos__link { display: table; margin: var(--sp-1) auto 0; } .marquee { --s: .68; } .marquee__track { --g: 56px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; padding-left: var(--gutter); padding-right: var(--gutter-r); max-width: calc(1200px + var(--gutter) + var(--gutter-r)); margin-inline: auto; }
  .marquee__row, .marquee__track { flex-wrap: wrap; flex: auto; justify-content: center; row-gap: var(--sp-5); padding: 0; }
  .marquee__track[aria-hidden] { display: none; }
}

/* ---------- Service cards ---------- */
.card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.card__img { position: relative; aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; flex: none; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: var(--pad); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: var(--sp-2); }
.card__body p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; margin-bottom: var(--sp-4); }
.card__num { font-size: var(--fs-xs); font-weight: 600; color: var(--red); margin-bottom: var(--sp-2); }
.card__more { margin-top: auto; font-weight: 600; font-size: var(--fs-sm); color: var(--red-700); }
.card ul { margin: 0 0 var(--sp-4); padding-left: 18px; color: var(--muted); font-size: var(--fs-sm); }
.card ul li { margin-bottom: var(--sp-1); }
.services { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } .services .card__img { aspect-ratio: 4 / 3; } }

/* ---------- Content-needed markers (demo placeholders) ---------- */
.needs { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px dashed var(--line-strong); border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); background: var(--surface); line-height: 1.5; white-space: nowrap; }
.needs::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e3a008; flex: none; }
.needs--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); color: var(--on-dark-muted); }
.needs-note { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); margin-top: var(--sp-5); font-size: var(--fs-sm); color: var(--muted); }
.needs-note p { margin: 0; }

/* ---------- Projects (home) ---------- */
.jobs { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 760px) { .jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.job { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.job__img { position: relative; aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; flex: none; }
.job__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.job__img .needs { position: absolute; top: var(--sp-3); left: var(--sp-3); }
.job__body { padding: var(--pad); display: flex; flex-direction: column; flex: 1; }
.job__body h3 { margin-bottom: var(--sp-2); }
.job__body > p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.job__facts { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-4); margin: auto 0 0; padding-top: var(--sp-4); border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.job__facts dt { color: var(--muted); }
.job__facts dd { margin: 0; font-weight: 600; }

/* ---------- Split (image + copy) ---------- */
.split { display: grid; gap: var(--sp-6); align-items: center; }
.split__media img { border-radius: var(--r); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--sp-2); }
@media (min-width: 1080px) { .split { grid-template-columns: 1.05fr 1fr; gap: var(--sp-8); } .split--rev .split__media { order: 2; } .split__media img { aspect-ratio: 4 / 5; max-height: 640px; } }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0 0 var(--sp-5); }
.checks li { position: relative; padding-left: var(--sp-6); margin-bottom: var(--sp-3); }
.checks li::before { content: ""; position: absolute; left: 6px; top: .3em; width: 7px; height: 13px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(45deg); }

/* ---------- Testimonial ---------- */
.quote { margin: 0; max-width: 900px; }
.quote__mark { display: block; font-family: var(--display); font-size: 5rem; line-height: .6; color: var(--red); height: 40px; }
.quote blockquote { margin: 0 0 var(--sp-5); font-family: var(--display); font-weight: 700; font-size: clamp(1.375rem, 1rem + 1.6vw, 2.125rem); line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); color: var(--muted); font-size: var(--fs-sm); }
.quote figcaption b { color: var(--ink); font-weight: 600; }

/* ---------- Safety ---------- */
.safety { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 1000px) { .safety { grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; } }
.safety__big { display: flex; align-items: baseline; gap: var(--sp-4); margin: var(--sp-5) 0; }
.safety__big b { font-family: var(--display); font-weight: 800; font-size: clamp(3.5rem, 2rem + 6vw, 6rem); line-height: .9; color: #fff; letter-spacing: -.03em; }
.safety__big span { font-size: var(--fs-lg); font-weight: 600; color: #fff; line-height: 1.3; max-width: 15ch; }
.stats { list-style: none; padding: 0; margin: var(--sp-5) 0 var(--sp-6); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-3); }
.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--sp-4); }
.section--dark .stats li, .stats--dark li { background: var(--steel-800); border-color: var(--on-dark-line); }
.stats b { display: block; font-family: var(--display); font-size: var(--fs-xl); font-weight: 800; line-height: 1.1; }
.stats span { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: var(--sp-1); line-height: 1.4; }
.section--dark .stats span { color: var(--on-dark-muted); }

/* EMR chart */
.emr { background: var(--steel-800); border: 1px solid var(--on-dark-line); border-radius: var(--r); padding: var(--pad); color: var(--on-dark); }
.emr__title { font-size: var(--fs-sm); font-weight: 600; color: #fff; margin: 0; }
.emr__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); align-items: end; height: 220px; position: relative; margin-top: var(--sp-8); border-bottom: 1px solid rgba(255, 255, 255, .25); }
.emr__bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.emr__fill { background: #3a444d; border-radius: 6px 6px 0 0; height: calc(var(--v) * 100%); position: relative; }
.emr__bar:last-child .emr__fill { background: #e0371a; }
.emr__val { position: absolute; top: -28px; left: 0; right: 0; text-align: center; font-family: var(--display); font-weight: 800; font-size: var(--fs-md); color: #fff; }
.emr__line { position: absolute; left: 0; right: 0; bottom: 100%; border-top: 2px dashed rgba(255, 255, 255, .45); }
.emr__line span { position: absolute; right: 0; top: -24px; font-size: var(--fs-xs); color: var(--on-dark-muted); }
.emr__labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); margin-top: var(--sp-2); }
.emr__labels span { text-align: center; font-size: var(--fs-xs); color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.emr__note { font-size: var(--fs-xs); color: var(--on-dark-muted); margin: var(--sp-4) 0 0; }
.emr__note a { color: var(--accent-on-dark); }

/* ---------- Leadership ---------- */
.leaders { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.leader { display: flex; flex-direction: column; }
.leader__top { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.avatar { width: 72px; height: 72px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tint); border: 1px dashed var(--line-strong); font-family: var(--display); font-weight: 800; font-size: var(--fs-xl); color: var(--muted); }
.leader__role { font-size: var(--fs-sm); font-weight: 600; color: var(--red); margin: 0 0 2px; }
.leader h3 { margin: 0; }
.leader p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.leader__phone { margin: auto 0 0; padding-top: var(--sp-4); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--sp-3); font-size: var(--fs-sm); }
.leader__phone a { font-weight: 600; text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.leader .needs { margin-top: var(--sp-2); }

/* Awards */
.awards { display: grid; gap: var(--gap); grid-template-columns: 1fr; margin-top: var(--gap); }
@media (min-width: 760px) { .awards { grid-template-columns: 1fr 1fr; } }
.award { display: grid; gap: var(--sp-4); grid-template-columns: 48px 1fr; align-items: center; }
.award svg { width: 48px; height: 48px; color: var(--red); }
.award p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.award b { display: block; color: var(--ink); font-family: var(--display); font-size: var(--fs-md); margin-bottom: 2px; }
.award a { color: var(--red-700); }

/* ---------- Industries ---------- */
.industry h3 { margin-bottom: var(--sp-2); }
.industry p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.industry ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.industry li { font-size: var(--fs-xs); padding: var(--sp-1) var(--sp-3); border-radius: var(--r-sm); background: var(--tint); }

/* ---------- Credentials ---------- */
.creds { background: var(--surface); border-bottom: 1px solid var(--line); }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.creds li { padding: var(--sp-4) var(--sp-3) var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.creds b { display: block; font-family: var(--display); font-weight: 800; font-size: var(--fs-md); line-height: 1.2; }
.creds span { display: block; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; color: var(--muted); margin-top: 2px; }
@media (max-width: 899px) { .creds li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 900px) { .creds ul { grid-template-columns: repeat(5, 1fr); } .creds li { border-bottom: 0; padding: var(--sp-5) var(--sp-4) var(--sp-5) 0; } }
.cred-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cred-table th, .cred-table td { text-align: left; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--line); vertical-align: top; font-size: var(--fs-sm); }
.cred-table th { font-weight: 600; width: 55%; }
.cred-table td { font-variant-numeric: tabular-nums; color: var(--muted); }
.cred-table tr:last-child th, .cred-table tr:last-child td { border-bottom: 0; }
.stamp { display: grid; gap: var(--sp-4); align-items: start; }
.stamp__seal { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--red); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: var(--fs-2xl); color: var(--red); }
.stamp h3 { margin-bottom: var(--sp-1); }
.stamp p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--sp-2); }
.stamp .mono { font-size: var(--fs-xs); color: var(--ink); }

/* ---------- Clients ---------- */
.clients { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: var(--sp-6); }
.clients li { break-inside: avoid; padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: var(--fs-sm); }
@media (min-width: 640px) { .clients { columns: 2; } }
@media (min-width: 1000px) { .clients { columns: 3; } }
.client-group + .client-group { margin-top: var(--sp-7); }
.client-group h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-1); }
.client-group .lede { font-size: var(--fs-md); margin-bottom: var(--sp-3); }

/* ---------- Contact (old page) ---------- */
.contact-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: var(--sp-7); align-items: start; } }
.contact-card { margin-bottom: var(--sp-4); }
.contact-card h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.phone-list { list-style: none; margin: 0; padding: 0; }
.phone-list li { border-top: 1px solid var(--line); }
.phone-list a { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); min-height: 56px; padding: var(--sp-2) 0; text-decoration: none; }
.phone-list b { font-family: var(--display); font-size: var(--fs-lg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.phone-list span { font-size: var(--fs-sm); color: var(--muted); text-align: right; line-height: 1.35; }
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours td { padding: var(--sp-2) 0; border-top: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* Old contact form (kept for the gated contact page) */
.form { padding: var(--pad); display: grid; gap: var(--sp-4); }
.form h2 { font-size: var(--fs-xl); margin: 0; }
.form__row { display: grid; gap: var(--sp-4); }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: var(--sp-2); font-weight: 600; font-size: var(--fs-sm); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--sp-3); min-height: 48px; width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form__hint { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.form__status { font-weight: 600; margin: 0; min-height: 1.2em; }

/* ---------- CTA band ---------- */
.cta { background: var(--red-800); color: #fff; position: relative; overflow: hidden; }
.cta .wrap { padding-top: var(--sp-8); padding-bottom: var(--sp-8); display: grid; gap: var(--sp-5); }
.cta .eyebrow { color: #ffc2b3; }
.cta h2 { color: #fff; margin-bottom: var(--sp-3); max-width: 22ch; }
.cta p { color: #ffd9d0; margin: 0; }
.cta .btn--primary { background: #fff; color: #7a1000; }
.cta .btn--primary:hover { background: #ffe9e3; }
.cta .btn-row .btn { flex: 1 1 220px; }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: 1.3fr 1fr; align-items: center; padding-top: var(--sp-9); padding-bottom: var(--sp-9); } .cta .btn-row { justify-content: flex-end; } .cta .btn-row .btn { flex: 0 0 auto; } }

/* ---------- Prose ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-7); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--red-700); }
.center-page { min-height: 60svh; display: grid; place-items: center; }

/* ---------- Footer ---------- */
.footer { background: var(--steel-950); color: var(--on-dark-muted); padding: var(--sp-7) 0 calc(var(--sp-5) + env(safe-area-inset-bottom)); font-size: var(--fs-sm); }
.footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: 1 / -1; }
.footer a, .footer p { overflow-wrap: anywhere; }
.footer .brand { color: #fff; margin-bottom: var(--sp-4); }
.footer__h { font-family: var(--sans); font-size: var(--fs-md); color: #fff; margin: 0 0 var(--sp-3); font-weight: 600; letter-spacing: 0; }
.footer__grid a:not(.brand) { display: block; color: var(--on-dark-muted); text-decoration: none; padding: var(--sp-1) 0; }
.footer__grid a:not(.brand):hover { color: #fff; }
.footer p { color: var(--on-dark-muted); }
.footer__certs { font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.footer__base { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); justify-content: space-between; }
.footer__base p { margin: 0; }
.footer__base a { color: var(--on-dark-muted); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: auto; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   Request a quote
   ===================================================================== */
.rq-hero { background: var(--steel-900); color: var(--on-dark); position: relative; isolation: isolate; overflow: hidden; }
.rq-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 120% at 100% 0%, rgba(212, 28, 0, .28), transparent 60%),
  radial-gradient(40% 80% at 0% 100%, rgba(255, 255, 255, .05), transparent 70%); }
.rq-hero .wrap { padding-top: var(--sp-7); padding-bottom: calc(var(--sp-9) + var(--sp-6)); }
.rq-hero h1 { color: #fff; max-width: 18ch; }
.rq-hero .lede { color: #d0d5d9; margin-bottom: 0; }
.rq-hero__facts { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); font-size: var(--fs-sm); color: var(--on-dark-muted); }
.rq-hero__facts li { display: flex; align-items: center; gap: var(--sp-2); }
.rq-hero__facts svg { width: 18px; height: 18px; color: var(--accent-on-dark); flex: none; }
@media (min-width: 820px) { .rq-hero .wrap { padding-top: var(--sp-9); } }

.rq { position: relative; margin-top: calc((var(--sp-9) + var(--sp-6) - var(--sp-5)) * -1); padding-bottom: var(--section); }
.rq__grid { display: grid; gap: var(--sp-5); align-items: start; }
@media (min-width: 1000px) { .rq__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--sp-6); } .rq__aside { position: sticky; top: calc(var(--nav-h) + var(--sp-5)); } }

/* The form card */
.qf { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; }
.qf__progress { height: 4px; background: var(--tint); }
.qf__progress span { display: block; height: 100%; width: var(--p, 0%); background: var(--red); transition: width .35s ease; }
.qf__body { padding: var(--pad); display: grid; gap: var(--sp-7); }
@media (min-width: 700px) { .qf__body { padding: var(--sp-7) var(--sp-7) var(--sp-6); } }
.qf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--sp-4); }
.qf legend { padding: 0; margin-bottom: var(--sp-4); display: flex; align-items: center; gap: var(--sp-3); font-family: var(--display); font-weight: 800; font-size: var(--fs-xl); letter-spacing: -.01em; }
.qf__step { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 700 var(--fs-sm)/1 var(--sans); transition: background .2s; }
.qf fieldset.is-done .qf__step { background: var(--red); color: #fff; }
.qf__sub { margin: calc(var(--sp-3) * -1) 0 0; font-size: var(--fs-sm); color: var(--muted); }
.qf__row { display: grid; gap: var(--sp-4); }
@media (min-width: 600px) { .qf__row { grid-template-columns: 1fr 1fr; } }

/* Fields */
.field { display: grid; gap: var(--sp-2); min-width: 0; }
.field > span:first-child { font-size: var(--fs-sm); font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: var(--fs-md); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--sp-3) var(--sp-4); min-height: 52px; width: 100%; transition: border-color .15s, background .15s, box-shadow .15s; }
.field textarea { min-height: 148px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--surface); border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 10%, transparent); }
.field [aria-invalid="true"] { border-color: var(--red); background: var(--red-tint); }
.field__err { display: none; font-size: var(--fs-xs); font-weight: 600; color: var(--red-700); }
.field.has-error .field__err, fieldset.has-error > .field__err { display: block; }
.field__help { font-size: var(--fs-xs); color: var(--muted); }

/* Choice tiles (type of work) — every tile identical; selected = fill + weight */
.tiles { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); }
.tile { position: relative; display: flex; align-items: center; gap: var(--sp-3); min-height: 64px; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; font-size: var(--fs-sm); font-weight: 500; line-height: 1.3; transition: background .15s, border-color .15s; }
.tile:hover { border-color: var(--line-strong); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile svg { width: 26px; height: 26px; flex: none; color: var(--muted); }
.tile:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 600; }
.tile:has(input:checked) svg { color: var(--bg); }
.tile:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }

/* Segmented choice (timing) */
.seg { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 600px) { .seg { grid-template-columns: repeat(3, 1fr); } }
.seg label { position: relative; display: grid; gap: 2px; padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; transition: background .15s, border-color .15s; }
.seg label:hover { border-color: var(--line-strong); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg b { font-size: var(--fs-sm); font-weight: 600; }
.seg span { font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.seg label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.seg label:has(input:checked) span { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }

/* Emergency callout (appears when "Unit down" is picked) */
.urgent { display: none; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-sm); background: var(--red-tint); border: 1px solid color-mix(in srgb, var(--red) 35%, transparent); }
.urgent.is-on { display: grid; }
.urgent p { margin: 0; font-size: var(--fs-sm); }
.urgent b { color: var(--red-700); }
.urgent__phones { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.urgent__phones a { display: inline-flex; flex-direction: column; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; }
.urgent__phones a b { font-size: var(--fs-sm); color: var(--ink); font-variant-numeric: tabular-nums; }

/* Contact preference pills */
.pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.pills label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-4); border: 1px solid var(--line); border-radius: 999px; background: var(--bg); cursor: pointer; font-size: var(--fs-sm); font-weight: 500; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 600; }
.pills label:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }

/* Footer of the form */
.qf__foot { display: grid; gap: var(--sp-4); padding: var(--sp-5) var(--pad); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--tint) 45%, var(--surface)); }
@media (min-width: 700px) { .qf__foot { grid-template-columns: 1fr auto; align-items: center; padding: var(--sp-5) var(--sp-7); } }
.qf__foot p { margin: 0; font-size: var(--fs-xs); color: var(--muted); max-width: 52ch; }
.qf__foot a { color: inherit; }
.qf__submit { min-width: 220px; }
.qf__submit[aria-busy="true"] { pointer-events: none; opacity: .85; }
.qf__submit .spin { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.qf__submit[aria-busy="true"] .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.qf__error { display: none; margin: 0; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: var(--red-tint); color: var(--red-700); font-size: var(--fs-sm); font-weight: 600; grid-column: 1 / -1; }
.qf__error.is-on { display: block; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* Success state */
.qf-done { display: none; padding: var(--sp-7) var(--pad); text-align: center; }
.qf.is-sent .qf__body, .qf.is-sent .qf__foot, .qf.is-sent .qf__progress { display: none; }
.qf.is-sent .qf-done { display: block; }
.qf-done__check { width: 72px; height: 72px; margin: 0 auto var(--sp-5); border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.qf-done__check svg { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.qf-done h2 { margin-bottom: var(--sp-3); }
.qf-done p { margin-inline: auto; color: var(--muted); }
.qf-done__ref { display: inline-block; margin: var(--sp-2) 0 var(--sp-6); padding: var(--sp-2) var(--sp-4); border-radius: 999px; background: var(--tint); font-size: var(--fs-sm); font-weight: 600; font-variant-numeric: tabular-nums; }
.qf-done__summary { max-width: 520px; margin: 0 auto var(--sp-6); text-align: left; display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-5); padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: var(--fs-sm); }
.qf-done__summary dt { color: var(--muted); }
.qf-done__summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.qf-done .btn-row { justify-content: center; }

/* Aside */
.rq__aside { display: grid; gap: var(--sp-4); }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); }
.side-card h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.side-card--dark { background: var(--steel-900); border-color: var(--steel-900); color: var(--on-dark); }
@media (prefers-color-scheme: dark) { .side-card--dark { border-color: var(--line-strong); } }
.side-card--dark h2 { color: #fff; }
.side-card--dark p { color: var(--on-dark-muted); font-size: var(--fs-sm); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); counter-reset: s; }
.steps li { position: relative; padding-left: 44px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--ink); font-weight: 700; font-size: var(--fs-xs); }
.steps b { display: block; color: var(--ink); font-weight: 600; }
.call-list { list-style: none; margin: 0; padding: 0; }
.call-list li + li { border-top: 1px solid var(--on-dark-line); }
.call-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: 60px; padding: var(--sp-2) 0; text-decoration: none; color: #fff; }
.call-list b { font-family: var(--display); font-size: var(--fs-lg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.call-list span { font-size: var(--fs-xs); color: var(--on-dark-muted); text-align: right; line-height: 1.35; }
.side-certs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); font-size: var(--fs-sm); }
.side-certs li { display: flex; justify-content: space-between; gap: var(--sp-3); padding-bottom: var(--sp-2); border-bottom: 1px solid var(--line); }
.side-certs li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-certs span { color: var(--muted); font-variant-numeric: tabular-nums; }
/* Phones: form first; a quick link in the hero jumps to the emergency numbers below it */
.rq-sos { display: none; }
@media (max-width: 999px) {
  .rq-sos { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-5); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: rgba(255, 255, 255, .07); border: 1px solid var(--on-dark-line); color: #fff; text-decoration: none; font-size: var(--fs-sm); }
  .rq-sos b { color: var(--accent-on-dark); white-space: nowrap; }
  .rq-hero__facts { display: none; }
}
@media (max-width: 599px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: var(--sp-3); min-height: 104px; }
}

/* =====================================================================
   Preview gate: pages not built yet are blurred behind a sales panel
   ===================================================================== */
.gate { position: relative; overflow: hidden; max-height: max(1100px, 140svh); }
.gate__content { filter: blur(22px) saturate(.8); transform: scale(1.02); opacity: .85; pointer-events: none; user-select: none; }
.gate::after { content: ""; position: absolute; inset: auto 0 0; height: 280px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.gate__panel { position: absolute; inset: 0; z-index: 2; display: flex; justify-content: center; align-items: flex-start; padding: clamp(80px, 18svh, 200px) var(--gutter-r) var(--sp-8) var(--gutter); }
.gate__card { position: sticky; top: calc(var(--nav-h) + var(--sp-7)); width: min(560px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); text-align: center; }
.gate__badge { display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-1) var(--sp-3); border-radius: 999px; background: var(--tint); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); margin-bottom: var(--sp-5); }
.gate__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e3a008; box-shadow: 0 0 0 4px rgba(227, 160, 8, .2); }
.gate__card h1 { font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.gate__card p { color: var(--muted); margin-inline: auto; }
.gate__card .btn-row { justify-content: center; margin-top: var(--sp-5); }
.gate__card .btn { flex: 1 1 200px; }
/* Proposal page (/proposal/) */
.proposal-meta { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-7); margin: var(--sp-6) 0 0; padding: 0; font-size: var(--fs-sm); color: #d0d5d9; }
.proposal-meta b { display: block; color: #fff; font-weight: 600; }
.proposal-shot { margin: 0; }
.proposal-shot a { display: block; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.split__media.proposal-shot img { aspect-ratio: auto; max-height: none; border: 1px solid var(--line); }
.prices { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.price { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); }
.price__label { margin: 0 0 var(--sp-3); font-weight: 600; color: var(--muted); }
.price__amount { margin: 0 0 var(--sp-1); font-family: var(--display); font-weight: 800; font-size: var(--fs-3xl); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.price__amount small { font: 500 var(--fs-md) var(--sans); letter-spacing: 0; color: var(--muted); }
.price__note { margin: 0 0 var(--sp-5); font-size: var(--fs-sm); color: var(--muted); }
.price .checks { margin: 0; }
.price-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-1) var(--sp-3); margin: var(--gap) 0 0; padding: var(--sp-4) var(--pad); border-radius: var(--r); background: var(--tint); color: var(--muted); }
.price-total b { font-family: var(--display); font-weight: 800; font-size: var(--fs-xl); color: var(--ink); }
.section--tint .steps li::before { background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 1080px) { .split--text { grid-template-columns: 1fr 1fr; align-items: start; } }

.gate__h1 { margin: 0 0 var(--sp-3); font-family: var(--display); font-weight: 800; font-size: var(--fs-3xl); line-height: 1.08; letter-spacing: -.02em; max-width: 20ch; }
.page-hero .gate__h1 { color: #fff; }
.gate__built { margin: var(--sp-5) 0 0; font-size: var(--fs-xs); color: var(--muted); }
.gate__built a { color: inherit; }
@media (prefers-reduced-motion: no-preference) { .gate__card { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
