/* AGX Collision - site styles
   Palette and type follow the CSN-style brief: white and cool greys, one royal-blue accent,
   heavy expanded grotesk headings, diagonal "slash" motif from the AGX mark.
   Radius rule: 8px on every button, input, card and image. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --blue: #0067ae;
  --blue-600: #005999;
  --blue-700: #004b82;
  --blue-tint: #e6f0f8;
  --ink: #12161b;
  --text: #3b4149;
  --muted: #5a616a;
  --line: #e1e5ea;
  --bg: #ffffff;
  --bg-2: #f3f5f7;
  --bg-3: #e8ecf0;
  --on-dark: #f4f7fa;
  --on-dark-muted: rgba(244, 247, 250, 0.8);
  --footer: #0c1a29;
  --r: 8px;
  --shadow: 0 1px 2px rgba(12, 32, 56, 0.06), 0 10px 28px rgba(12, 40, 72, 0.08);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #3b97e3;
    --blue-600: #5aa8ea;
    --blue-700: #79b8ee;
    --blue-tint: #10283d;
    --ink: #f1f4f7;
    --text: #c5ccd4;
    --muted: #a0a8b2;
    --line: #26303a;
    --bg: #0d1116;
    --bg-2: #131920;
    --bg-3: #1a222b;
    --footer: #070b10;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, iframe { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); color: var(--blue); }
h3 { font-size: 1.3rem; font-stretch: 108%; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------------------------------------------------------------- logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); line-height: 1; }
.logo__word { font-weight: 900; font-stretch: 125%; font-size: 1.7rem; letter-spacing: -0.02em; }
.logo__bars { display: inline-flex; gap: 3px; height: 26px; }
.logo__bars i { display: block; width: 6px; height: 100%; background: var(--blue); transform: skewX(-18deg); border-radius: 1px; }
.logo__sub { font-weight: 700; font-stretch: 115%; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.logo:hover { color: var(--ink); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: var(--r);
  font: 700 1rem/1 var(--font); font-stretch: 105%; letter-spacing: 0.005em; white-space: nowrap;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--light { background: #fff; color: #0f2840; }
.btn--light:hover { background: #e9f1f8; color: #0f2840; }
.btn .icon { width: 1.15em; height: 1.15em; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.site-nav a { white-space: nowrap; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.site-nav a:not(.btn):hover { color: var(--blue); }
.site-nav .nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.site-nav .btn { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; color: var(--ink); cursor: pointer; border-radius: var(--r); }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon--close { display: none; }
body.nav-open .nav-toggle .icon--open { display: none; }
body.nav-open .nav-toggle .icon--close { display: block; }

@media (max-width: 1199px) {
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
    background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  body.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .site-nav .btn { margin-top: 20px; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- scroll film */
.film { position: relative; height: calc(var(--len, 360) * 1.85vh + 100vh); height: calc(var(--len, 360) * 1.85svh + 100svh); background: #0b0f14; }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film__poster, .film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__poster img { width: 100%; height: 100%; object-fit: cover; }
.film__canvas { opacity: 0; transition: opacity 0.4s linear; }
.film.is-ready .film__canvas { opacity: 1; }
.film__scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.55) 0, rgba(8, 12, 18, 0) 22%),
    linear-gradient(90deg, rgba(8, 12, 18, 0.72) 0%, rgba(8, 12, 18, 0.42) 34%, rgba(8, 12, 18, 0) 62%);
}
.film__chapters { position: absolute; inset: 0; pointer-events: none; }
.chapter {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  opacity: 0; visibility: hidden;
}
.chapter.is-on { visibility: visible; }
.chapter .wrap { pointer-events: none; }
.chapter__inner { max-width: 560px; pointer-events: auto; will-change: transform, opacity; }
.chapter--top { top: calc(var(--header-h) + 6vh); transform: none; }
.chapter--bottom { top: auto; bottom: 9vh; transform: none; }
.chapter h1, .chapter h2 { color: #fff; }
.chapter h1 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); font-stretch: 112%; font-weight: 850; line-height: 1.0; letter-spacing: -0.025em; margin-bottom: 20px; }
.chapter:first-child .chapter__inner { max-width: 660px; }
.chapter h2 { font-size: clamp(2rem, 3.9vw, 3.4rem); font-stretch: 114%; line-height: 1.02; margin-bottom: 14px; }
.chapter p { color: var(--on-dark-muted); font-size: clamp(1.02rem, 1.25vw, 1.2rem); max-width: 46ch; }
.chapter .eyebrow { color: #8ec7f5; }
.chapter__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chapter__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--on-dark-muted); font-weight: 600; font-size: 0.98rem; }
.chapter__meta span, .chapter__meta a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.chapter__meta a:hover { color: #fff; }

/* exploded-view callouts */
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 0.3s linear; }
.callout__dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.85), 0 0 0 10px rgba(0, 103, 174, 0.25); }
.callout__line { position: absolute; left: 0; bottom: 0; width: 1.5px; height: 46px; background: rgba(255, 255, 255, 0.85); transform-origin: bottom; }
.callout__label {
  position: absolute; left: -2px; bottom: 46px; white-space: nowrap;
  padding: 8px 12px; border-radius: var(--r); background: rgba(255, 255, 255, 0.95); color: #0f2840;
  font-weight: 700; font-size: 0.9rem; font-stretch: 105%; box-shadow: 0 6px 18px rgba(8, 20, 34, 0.25);
}
.callout[data-flip] .callout__label { left: auto; right: -2px; }

/* chapter rail */
.film-rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.film-rail a {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-decoration: none;
  color: #fff; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 0;
}
.film-rail a span { opacity: 0; transform: translateX(6px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.film-rail a::after { content: ""; width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.45); box-shadow: 0 0 6px rgba(0, 0, 0, 0.35); transition: width 0.3s var(--ease), background 0.3s var(--ease); }
.film-rail a:hover span, .film-rail a:focus-visible span, .film-rail a.is-active span { opacity: 1; transform: none; }
.film-rail a:hover::after { background: #fff; }
.film-rail a.is-active::after { width: 40px; background: #fff; }
.film-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--blue); z-index: 2; }
.film-loader { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 14px); margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; transition: opacity 0.5s; }
.film.is-loaded .film-loader { opacity: 0; }

@media (max-width: 1023px) {
  .film-rail { display: none; }
}
@media (max-aspect-ratio: 4/5) {
  .film { height: calc(var(--len, 360) * 1.5vh + 100vh); height: calc(var(--len, 360) * 1.5svh + 100svh); }
  .film__scrim { background: linear-gradient(180deg, rgba(8, 12, 18, 0.5) 0, rgba(8, 12, 18, 0) 18%), linear-gradient(0deg, rgba(8, 12, 18, 0.86) 0%, rgba(8, 12, 18, 0.55) 34%, rgba(8, 12, 18, 0) 56%); }
  .chapter, .chapter--top { top: auto; bottom: 0; transform: none; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .chapter h1 { font-size: clamp(2.1rem, 9.4vw, 3rem); }
  .chapter h2 { font-size: clamp(1.75rem, 7.6vw, 2.4rem); }
  .chapter__ctas .btn { flex: 1 1 auto; }
  .callout__label { font-size: 0.8rem; padding: 6px 9px; }
  .callout__line { height: 30px; }
  .callout__label { bottom: 30px; }
  .callout[data-id="frame"] { display: none; }
}

/* reduced motion: the film becomes a stack of stills with the same copy */
.film.is-static { height: auto; }
.film.is-static .film__stage { position: relative; height: auto; overflow: visible; }
.film.is-static .film__poster, .film.is-static .film__canvas, .film.is-static .film-rail, .film.is-static .film-progress, .film.is-static .film-loader, .film.is-static .callouts, .film.is-static .film__scrim { display: none; }
.film.is-static .film__chapters { position: relative; }
.film.is-static .chapter { position: relative; top: auto; bottom: auto; transform: none; opacity: 1; visibility: visible; min-height: 88vh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 48px; background: #0b0f14 var(--still) center / cover no-repeat; }
.film.is-static .chapter::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 18, 0.75), rgba(8, 12, 18, 0.2)); }
.film.is-static .chapter .wrap { position: relative; }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--bg-2); }
.section--slash { overflow: hidden; }
.section--slash::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, transparent 0 46%, color-mix(in srgb, var(--ink) 3.5%, transparent) 46% 58%, transparent 58% 63%, color-mix(in srgb, var(--ink) 4.5%, transparent) 63% 72%, transparent 72%);
}
.section > .wrap { position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { font-size: 1.12rem; color: var(--muted); margin: 0; max-width: 62ch; }

/* intro band right under the film */
.intro { padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.intro__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro h2 { margin: 0; }
.intro__facts { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.intro__facts li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.intro__facts .icon { color: var(--blue); width: 26px; height: 26px; margin-top: 1px; }
.intro__facts small { display: block; font-weight: 400; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; } }

/* services: asymmetric trio */
.services { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.service { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--bg); box-shadow: var(--shadow); text-decoration: none; color: inherit; isolation: isolate; }
.service:hover { color: inherit; }
.service--lead { grid-row: span 2; }
.service__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.service--lead .service__media { aspect-ratio: auto; flex: 1 1 auto; min-height: 320px; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.service:hover .service__media img { transform: scale(1.035); }
.service__body { padding: 26px 28px 28px; }
.service__body h3 { margin-bottom: 8px; font-size: 1.45rem; }
.service--lead .service__body h3 { font-size: 1.8rem; }
.service__body p { color: var(--muted); margin-bottom: 16px; }
.service__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.service__more .icon { transition: transform 0.3s var(--ease); }
.service:hover .service__more .icon { transform: translateX(4px); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } .service--lead { grid-row: auto; } .service--lead .service__media { aspect-ratio: 16 / 10; min-height: 0; } }

/* claim band: split with big statement */
.claim { background: var(--blue); color: #fff; overflow: hidden; }
.claim::before { content: ""; position: absolute; inset: 0; background: linear-gradient(112deg, transparent 0 52%, rgba(255, 255, 255, 0.06) 52% 64%, transparent 64% 69%, rgba(255, 255, 255, 0.08) 69% 80%, transparent 80%); pointer-events: none; }
.claim h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); }
.claim p { color: rgba(255, 255, 255, 0.88); font-size: 1.12rem; max-width: 56ch; }
.claim__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.claim__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.claim__list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.22); font-weight: 600; font-size: 1.08rem; }
.claim__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.claim__list .icon { width: 26px; height: 26px; color: #fff; flex: none; }
.claim__list small { display: block; font-weight: 400; color: rgba(255, 255, 255, 0.82); font-size: 0.97rem; margin-top: 2px; }
.claim .btn--light { margin-top: 10px; }
@media (max-width: 860px) { .claim__grid { grid-template-columns: 1fr; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .claim { background: #0a3a63; } }

/* process: numbered track */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.step { position: relative; padding-right: 28px; }
.step__icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue); color: var(--blue); margin-bottom: 22px; }
.step__icon .icon { width: 26px; height: 26px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding: 0; }
  .step__icon { margin: 0; grid-row: span 2; }
}

/* split media + text (used once per page) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split__media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--bg-3); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* tag clusters for long lists */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 10px 16px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.section--tint .tags li { background: var(--bg); }

/* location */
.visit { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.visit__card { display: flex; flex-direction: column; gap: 22px; }
.visit__row { display: flex; gap: 14px; align-items: flex-start; }
.visit__row .icon { color: var(--blue); width: 24px; height: 24px; margin-top: 3px; }
.visit__row strong { display: block; color: var(--ink); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }
.visit__row a { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.visit__row address { font-style: normal; font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.visit__areas { color: var(--muted); font-size: 0.98rem; margin: 0; }
.map { position: relative; min-height: 380px; border-radius: var(--r); overflow: hidden; background: var(--bg-3); box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 12px; padding: 24px; color: var(--muted); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map { min-height: 300px; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-weight: 700; font-stretch: 106%; font-size: 1.13rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 48px 22px 0; margin: 0; color: var(--muted); }

/* estimate form */
.estimate { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.estimate__aside p { color: var(--muted); }
.estimate__call { display: grid; gap: 14px; margin-top: 28px; }
.estimate__call a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.2rem; text-decoration: none; color: var(--ink); }
.estimate__call a .icon { color: var(--blue); width: 26px; height: 26px; }
.estimate__call a:hover { color: var(--blue); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: clamp(24px, 3.5vw, 40px); background: var(--bg); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--bg);
  border: 1.5px solid #b9c1ca; border-radius: var(--r); padding: 13px 14px; min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b737c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 22%, transparent); }
.field small { color: var(--muted); font-size: 0.86rem; }
.field__error { color: #b42318; font-size: 0.88rem; font-weight: 600; display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b42318; }
.field.is-invalid .field__error { display: block; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__note { color: var(--muted); font-size: 0.92rem; margin: 0; }
.form__status { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: var(--r); background: var(--blue-tint); color: var(--ink); font-weight: 600; }
.form__status.is-on { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field input, :root:not([data-theme="light"]) .field textarea { border-color: #3a4652; } :root:not([data-theme="light"]) .field input::placeholder, :root:not([data-theme="light"]) .field textarea::placeholder { color: #8b949e; } :root:not([data-theme="light"]) .field__error { color: #ff8a80; } }
@media (max-width: 860px) { .estimate { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* page hero for inner pages (above their film segment) */
.crumbs { font-size: 0.9rem; color: var(--on-dark-muted); margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }

/* cards grid (inner pages): 2-col with mixed backgrounds */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { padding: 28px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.card--blue { background: var(--blue); border-color: var(--blue); color: rgba(255, 255, 255, 0.9); }
.card--blue h3 { color: #fff; }
.card--tint { background: var(--bg-2); }
.card .icon { width: 30px; height: 30px; color: var(--blue); margin-bottom: 16px; }
.card--blue .icon { color: #fff; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: inherit; }
.card:not(.card--blue) p { color: var(--muted); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* closing CTA band */
.cta-band { padding: clamp(64px, 8vw, 104px) 0; background: var(--bg-2); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { margin: 0; max-width: 18ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--footer); color: rgba(235, 241, 247, 0.78); padding: 72px 0 36px; font-size: 0.97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo__sub { color: rgba(235, 241, 247, 0.7); }
.site-footer .logo__bars i { background: #3b97e3; }
.site-footer h3 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; font-stretch: 110%; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer address { font-style: normal; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: calc(var(--r) + 4px);
    background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(8, 20, 34, 0.25);
    transform: translateY(140%); transition: transform 0.4s var(--ease);
  }
  .callbar.is-on { transform: none; }
  .callbar .btn { min-height: 48px; padding: 0 12px; font-size: 0.95rem; }
  .site-footer { padding-bottom: 110px; }
}

/* ---------------------------------------------------------------- reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .reveal.is-in { opacity: 1; transform: none; }
}
.callbar-sentinel { position: absolute; top: 75vh; left: 0; width: 1px; height: 1px; pointer-events: none; }
