/* ==========================================================================
   Blueprint Hail Team: design system
   ========================================================================== */

:root {
  --blue: #014ffd;
  --blue-hi: #3b78ff;
  --blue-glow: rgba(1, 79, 253, 0.45);
  --ink: #05070d;
  --ink-2: #0a0f1a;
  --navy: #041c2c;
  --steel: #121a28;
  --paper: #eef0f4;
  --paper-2: #e2e6ee;
  --white: #ffffff;
  --text: #e8ecf4;
  --muted: #8a94a8;
  --muted-dark: #4b5568;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --line-dark: rgba(5, 7, 13, 0.12);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; 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;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 999px;
  transform: translateY(-200%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }
.section--light { background: var(--paper); color: var(--ink); }
.section--blue { background: var(--blue); color: var(--white); }

.display {
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
}
.h2 {
  font-size: clamp(2.4rem, 6.2vw, 5.6rem);
}
.h2 em, .display em {
  font-style: normal;
  color: var(--blue);
}
.section--blue .h2 em { color: var(--ink); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.section--light .lede { color: var(--muted-dark); }

.section-head {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section-head__title { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.4fr 1fr; align-items: end; }
}

/* blueprint grid texture */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
  opacity: 0.5;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--white);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--blue); box-shadow: 0 14px 40px -12px var(--blue-glow); }
.btn .arrow { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(3px) rotate(-45deg); }

.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--white); }
.btn--dark { --bg: var(--ink); --fg: var(--white); }
.btn--dark::before { background: var(--blue); }
.btn--dark:hover { color: var(--white); }
.btn--white { --bg: var(--white); --fg: var(--ink); }
.btn--white::before { background: var(--ink); }
.btn--white:hover { color: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 4px;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow:hover { gap: 16px; color: var(--blue); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, transform 0.5s var(--ease), box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: none; gap: 6px; }
.nav__links a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: background 0.3s, color 0.3s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { background: rgba(255,255,255,0.08); color: var(--white); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__phone {
  display: none; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; color: var(--text);
  padding: 10px 14px; border-radius: 999px;
  transition: background 0.3s;
}
.nav__phone:hover { background: rgba(255,255,255,0.08); }
.nav__phone svg { width: 16px; height: 16px; color: var(--blue-hi); }
.nav__book { display: none; }

.burger {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px var(--line);
}
.burger span { position: relative; width: 18px; height: 2px; background: currentColor; transition: background 0.2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__phone { display: inline-flex; }
  .nav__book { display: inline-flex; }
  .burger { display: none; }
}
@media (min-width: 560px) and (max-width: 999px) {
  .nav__book { display: inline-flex; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s 0.7s;
  visibility: hidden;
  overflow-y: auto;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease-in-out); }
.menu-open { overflow: hidden; }
.menu__links { display: grid; gap: 4px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(2.4rem, 11vw, 4rem);
  font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; line-height: 1.05;
  padding-block: 6px; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.menu__links a:hover { color: var(--blue-hi); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: 0.25s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: 0.3s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: 0.35s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: 0.4s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: 0.45s; }
.menu__foot { display: grid; gap: 16px; margin-top: 40px; color: var(--muted); font-size: 15px; }
.menu__foot .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
  padding-top: calc(var(--nav-h) + 40px);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 2.4s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,13,0.65) 0%, rgba(5,7,13,0.15) 35%, rgba(5,7,13,0.55) 65%, var(--ink) 100%),
    linear-gradient(90deg, rgba(5,7,13,0.75) 0%, transparent 60%);
}
.hero .grid-bg { z-index: -1; opacity: 0.35; mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent); }

.hero__inner { padding-bottom: clamp(48px, 8vw, 112px); }
.hero__title {
  font-size: clamp(3.1rem, 12.4vw, 12rem);
  line-height: 0.86;
  color: var(--white);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.2s; }
@keyframes lineUp { to { transform: none; } }
.hero__title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}
.hero__title .bolt-inline {
  display: inline-block; width: 0.42em; height: 0.78em; vertical-align: -0.04em; margin-left: 0.06em;
}

.hero__bottom {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
  align-items: end;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 0.6s forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero__copy { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 40ch; color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr auto; }
}

.hero__coords {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 24px);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted);
  text-align: right; display: none;
}
@media (min-width: 900px) { .hero__coords { display: block; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--blue); color: var(--white);
  overflow: hidden; white-space: nowrap;
  padding-block: 18px;
  border-block: 1px solid rgba(255,255,255,0.15);
}
.marquee__track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee__group { display: inline-flex; align-items: center; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(1.25rem, 2.6vw, 2rem); letter-spacing: -0.01em;
}
.marquee__item svg { width: 18px; height: 32px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement / intro ---------- */
.statement__text {
  font-size: clamp(1.8rem, 4.4vw, 4rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
  font-variation-settings: "wdth" 110;
  max-width: 22ch;
}
.statement__text .w { color: rgba(255,255,255,0.16); transition: color 0.4s; }
.statement__text .w.is-lit { color: var(--white); }
.statement__text .w.accent.is-lit { color: var(--blue-hi); }

.stats {
  margin-top: clamp(56px, 8vw, 112px);
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.stat { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.stat__num {
  font-size: clamp(3.4rem, 7vw, 6rem); font-weight: 800; font-variation-settings: "wdth" 125;
  line-height: 0.9; letter-spacing: -0.03em; color: var(--white);
}
.stat__num sup { font-size: 0.4em; color: var(--blue-hi); vertical-align: top; position: relative; top: 0.25em; }
.stat__label { color: var(--muted); max-width: 30ch; }
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .stat { border-bottom: 0; padding: 40px 32px 40px 0; }
  .stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
}

/* ---------- Services ---------- */
.services { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(3, 1fr); } }

.service {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 var(--line-dark);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(1, 30, 90, 0.35); }
.service__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service__media img { transform: scale(1.06); }
.service__num {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  background: rgba(5,7,13,0.75); color: var(--white);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 6px 10px; border-radius: 999px;
}
.service__tag {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--blue); color: var(--white); padding: 6px 10px; border-radius: 999px;
}
.service__body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.service__title {
  font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 800; font-variation-settings: "wdth" 120;
  text-transform: uppercase; line-height: 1; letter-spacing: -0.01em;
}
.service__desc { color: var(--muted-dark); }
.checklist { display: grid; gap: 10px; margin-top: 4px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.service__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.service__foot .link-arrow { border: 0; padding: 0; }
.service__foot small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }

/* ---------- Before / After ---------- */
.ba { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .ba { grid-template-columns: 1fr 1fr; } }

.ba__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.ba__tab {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
  padding: 10px 16px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.ba__tab:hover { color: var(--white); }
.ba__tab[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: none; }
.ba__hint { margin-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; display: flex; align-items: center; gap: 10px; }
.ba__hint svg { width: 20px; height: 20px; color: var(--blue-hi); }

.compare {
  --pos: 50%;
  position: relative; width: 100%; max-width: 560px; margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden;
  background: var(--steel);
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  box-shadow: 0 40px 80px -40px rgba(1, 79, 253, 0.5), 0 0 0 1px var(--line);
}
.compare__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.4s;
}
.compare__img--after { clip-path: inset(0 0 0 var(--pos)); }
.compare__label {
  position: absolute; top: 16px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(5,7,13,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; background: var(--blue); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 2px; margin-left: -1px; background: var(--white);
  pointer-events: none;
}
.compare__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 56px; height: 56px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23014ffd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E");
  background-size: 24px; background-position: center; background-repeat: no-repeat;
}
.compare__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.compare__range:focus-visible + .compare__handle::after { outline: 3px solid var(--blue-hi); outline-offset: 3px; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; gap: 0; grid-template-columns: 1fr; counter-reset: step; }
.process__rail {
  position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px;
  background: var(--line-dark);
}
.process__rail span { position: absolute; inset: 0 0 auto 0; height: var(--progress, 0%); background: var(--blue); transition: height 0.1s linear; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding-block: 24px; }
.step__dot {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-dark);
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted-dark);
  transition: background 0.4s, color 0.4s, box-shadow 0.4s;
  position: relative; z-index: 1;
}
.step.is-active .step__dot { background: var(--blue); color: var(--white); box-shadow: 0 0 0 8px rgba(1,79,253,0.12); }
.step__title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; font-variation-settings: "wdth" 120; text-transform: uppercase; line-height: 1.05; margin-bottom: 8px; }
.step__text { color: var(--muted-dark); max-width: 42ch; }

@media (min-width: 960px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .process__rail { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .process__rail span { inset: 0 auto 0 0; height: 100%; width: var(--progress, 0%); transition: width 0.1s linear; }
  .step { grid-template-columns: 1fr; padding: 0; gap: 28px; }
}

/* ---------- Certifications ---------- */
.certs {
  display: grid; gap: 20px; grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 900px) { .certs { grid-template-columns: 1.1fr 1fr 1fr; } }
.cert-copy { display: grid; gap: 20px; align-content: center; padding-right: 20px; }
.cert {
  position: relative; overflow: hidden;
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px 28px;
  display: grid; gap: 20px; justify-items: center; text-align: center;
  color: var(--ink);
  transition: transform 0.6s var(--ease);
}
.cert:hover { transform: translateY(-6px) rotate(-0.5deg); }
.cert img { width: 100%; max-width: 280px; height: auto; }
.cert__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; } }
@media (min-width: 1200px) { .gallery { grid-auto-rows: 300px; } }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  background: var(--steel); cursor: zoom-in;
  display: block; width: 100%; height: 100%;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: attr(data-caption);
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(5,7,13,0.94);
  display: grid; place-items: center;
  padding: 72px 16px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
.lightbox img { max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); max-width: min(100%, 1100px); width: auto; height: auto; border-radius: var(--radius-sm); object-fit: contain; transform: scale(0.96); transition: transform 0.5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,0.1);
  transition: background 0.3s;
}
.lightbox__btn:hover { background: var(--blue); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 30px; left: 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
@media (max-width: 600px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review {
  position: relative; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--steel), var(--ink-2));
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 28px;
  overflow: hidden;
}
.review::before {
  content: "\201C"; position: absolute; right: 24px; top: -20px;
  font-size: 220px; line-height: 1; font-weight: 800; color: var(--blue); opacity: 0.18;
}
.stars { display: flex; gap: 4px; color: #ffc53d; }
.stars svg { width: 18px; height: 18px; }
.review blockquote { font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; color: var(--white); }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); font-weight: 700; color: var(--white); }
.review figcaption span { display: grid; line-height: 1.3; }
.review figcaption small { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.reviews__cta { margin-top: 32px; display: flex; justify-content: center; }

/* ---------- Big CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__title { font-size: clamp(3rem, 11vw, 10rem); line-height: 0.88; }
.cta-band__row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cta-band__bolt {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%) rotate(8deg);
  width: clamp(180px, 28vw, 420px); opacity: 0.18; pointer-events: none;
}
.cta-band__bolt path { fill: var(--ink); }

/* ---------- Booking ---------- */
.booking { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1040px) { .booking { grid-template-columns: 380px 1fr; gap: 32px; } }
.info-list { display: grid; gap: 12px; }
@media (min-width: 640px) and (max-width: 1039px) { .info-list { grid-template-columns: 1fr 1fr; } }
.info {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-radius: var(--radius-sm);
  background: var(--steel); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s, background 0.3s;
  text-align: left; width: 100%;
}
a.info:hover, button.info:hover { box-shadow: inset 0 0 0 1px var(--blue); background: #141f33; }
.info__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(1,79,253,0.15); color: var(--blue-hi); }
.info__icon svg { width: 20px; height: 20px; }
.info__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.info__v { color: var(--white); font-weight: 500; line-height: 1.45; display: block; }
.info__note { font-size: 13px; color: var(--blue-hi); display: block; margin-top: 4px; min-height: 1em; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; color: var(--white); }
.open-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-family: var(--mono); letter-spacing: 0.06em; margin-top: 8px; color: var(--muted); }
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.open-badge.is-open { color: #3ddc84; }
.open-badge.is-open::before { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,0.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61,220,132,0.05); } }

.scheduler {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(1,79,253,0.45);
}
.scheduler__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; background: var(--ink-2); border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.scheduler__dots { display: flex; gap: 6px; }
.scheduler__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.scheduler__dots i:first-child { background: var(--blue); }
.scheduler iframe { width: 100%; height: 900px; border: 0; background: var(--white); }
@media (max-width: 640px) { .scheduler iframe { height: 1100px; } }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 112px); overflow: hidden; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand img { width: 120px; height: auto; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); max-width: 32ch; }
.footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer__list { display: grid; gap: 10px; }
.footer__list a { transition: color 0.3s; }
.footer__list a:hover { color: var(--blue-hi); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.socials a:hover { background: var(--blue); box-shadow: none; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__mega {
  margin-top: clamp(56px, 8vw, 96px);
  font-size: clamp(2.4rem, 12.6vw, 11.4rem);
  line-height: 0.8; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.14);
  user-select: none; transform: translateY(12%);
}
.footer__bottom {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

/* ---------- Jump back button (after anchor links) ---------- */
.jump-back {
  position: fixed; left: 50%; bottom: 24px; z-index: 85;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 20px 0 14px; border-radius: 999px;
  background: rgba(10, 15, 26, 0.88); color: var(--white);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 16px 40px -12px rgba(0,0,0,0.7);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0s 0.5s, background 0.3s, box-shadow 0.3s;
}
.jump-back.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), background 0.3s, box-shadow 0.3s;
}
.jump-back:hover { background: var(--blue); box-shadow: 0 16px 40px -12px var(--blue-glow); }
.jump-back svg {
  width: 24px; height: 24px; padding: 4px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.jump-back:hover svg { background: rgba(255,255,255,0.2); }
.jump-back.is-down svg { transform: rotate(180deg); }
.menu-open .jump-back { opacity: 0; pointer-events: none; }
/* sit above the mobile Call / Estimate bar */
@media (max-width: 999px) {
  .action-bar.is-visible ~ .jump-back { bottom: calc(88px + env(safe-area-inset-bottom) * 0.5); }
}

/* ---------- Mobile sticky action bar ---------- */
.action-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 8px; border-radius: 999px;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -10px rgba(0,0,0,0.6);
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
  padding-bottom: calc(8px + env(safe-area-inset-bottom) * 0.5);
}
.action-bar.is-visible { transform: none; }
.action-bar .btn { min-height: 48px; padding: 0 16px; }
@media (min-width: 1000px) { .action-bar { display: none; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 120px));
  padding-bottom: clamp(48px, 6vw, 96px);
}
.page-hero__grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 1.15fr 1fr; } }
.breadcrumb { display: flex; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--white); }
.page-hero__grid > * { min-width: 0; container-type: inline-size; }
/* sized to its column so the longest word ("PROTECTION", ~8.4em wide) always fits */
.page-hero__title { font-size: min(11.2cqi, 6rem); line-height: 0.86; color: var(--white); }
.page-hero__copy { margin-top: 28px; display: grid; gap: 28px; }
.page-hero__media {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: 0 0 0 1px var(--line);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.spec-tag {
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(5,7,13,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 8px 12px; border-radius: 999px;
}

/* PPF: two-col explainer */
.split { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.prose { display: grid; gap: 20px; }
.prose p { color: var(--muted-dark); font-size: 1.08rem; max-width: 56ch; }
.prose strong { color: var(--ink); }

/* layer diagram */
.layers { display: grid; gap: 6px; margin-top: 12px; }
.layer {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.layer span:last-child { opacity: 0.7; }
.layer--film { background: rgba(1,79,253,0.12); color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.layer--clear { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-dark); }
.layer--paint { background: #b8202f; color: var(--white); }
.layer--primer { background: #9aa3b2; color: var(--ink); }
.layer--metal { background: #4a5263; color: var(--white); }

/* benefits */
.benefits { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 700px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit { background: var(--ink); padding: 36px 28px; display: grid; gap: 14px; align-content: start; transition: background 0.4s; }
.benefit:hover { background: var(--steel); }
.benefit__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: var(--white); }
.benefit__icon svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.3rem; font-weight: 700; font-variation-settings: "wdth" 115; text-transform: uppercase; line-height: 1.1; }
.benefit p { color: var(--muted); font-size: 15px; }

/* coverage */
.coverage { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 1000px) { .coverage { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.zone {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border-radius: 12px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line-dark);
  font-weight: 600; font-size: 15px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.zone small { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--muted-dark); transition: color 0.3s; }
.zone.is-on { background: var(--blue); color: var(--white); box-shadow: none; transform: translateY(-2px); }
.zone.is-on small { color: rgba(255,255,255,0.7); }

.packages { display: grid; gap: 12px; }
.package {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  text-align: left; width: 100%;
  padding: 24px; border-radius: var(--radius);
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: box-shadow 0.3s, transform 0.4s var(--ease), background 0.3s;
}
.package:hover { transform: translateX(4px); }
.package[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.package__num { font-family: var(--mono); font-size: 12px; color: var(--muted-dark); }
.package[aria-pressed="true"] .package__num { color: var(--blue-hi); }
.package__name { font-size: 1.4rem; font-weight: 800; font-variation-settings: "wdth" 120; text-transform: uppercase; line-height: 1.05; }
.package__desc { display: block; font-size: 14px; color: var(--muted-dark); margin-top: 4px; font-weight: 400; }
.package[aria-pressed="true"] .package__desc { color: var(--muted); }
.package__radio { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-dark); transition: box-shadow 0.3s; }
.package[aria-pressed="true"] .package__radio { box-shadow: inset 0 0 0 7px var(--blue); background: var(--white); }
.coverage__note { margin-top: 20px; color: var(--muted-dark); font-size: 15px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.is-in > *:nth-child(n+9) { transition-delay: 0.6s; }
/* Blue wipe: an overlay slides away (the element itself stays observable) */
.clip-reveal { position: relative; }
.clip-reveal::before {
  content: ""; position: absolute; inset: 0; z-index: 6;
  background: var(--blue);
  transform-origin: 50% 0;
  transition: transform 1.2s var(--ease-in-out) 0.1s;
  pointer-events: none;
}
.clip-reveal.is-in::before { transform: scaleY(0); }
.clip-reveal > img, .clip-reveal > .compare__img { transform: scale(1.12); transition: transform 1.8s var(--ease), opacity 0.4s; }
.clip-reveal.is-in > img, .clip-reveal.is-in > .compare__img { transform: none; }

.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }
.no-js .clip-reveal::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .clip-reveal::before { display: none; }
  .marquee__track { animation: none; }
  .statement__text .w { color: var(--white); }
}
