/* =====================================================================
   BEST SOLUTION ROOF INC — Design System & Home Page Styles
   ---------------------------------------------------------------------
   Direction: "Hurricane-grade luxury" — warm paper surfaces, deep ink
   sections, crimson (logo) for action, royal blue (logo pin) for trust.
   Display type: Barlow Condensed (echoes the logo's condensed caps).
   Body type: Barlow.

   01 Tokens            07 Hero               13 FAQ
   02 Reset & base      08 Stats              14 Contact / final CTA
   03 Typography        09 Services (bento)   15 Footer
   04 Layout            10 Why us             16 Mobile sticky CTA
   05 Components        11 Process            17 Motion
   06 Header & nav      12 Testimonials       18 Utilities
   ===================================================================== */

/* ---------------------------------------------------------------------
   01 · TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Brand palette — sampled from the logo */
  --red-300: #ff8a91;
  --red-400: #ff5a64;
  --red-500: #e2343f;
  --red-600: #c41e2a; /* logo crimson — 5.9:1 on white */
  --red-700: #9e1420;
  --blue-300: #9dbbff;
  --blue-400: #6b97ff;
  --blue-500: #2f6bea;
  --blue-600: #1f4fc9; /* logo pin blue */
  --blue-700: #1a3e9e;

  /* Ink neutrals (cool charcoal from the letter shading) */
  --ink-950: #06090e;
  --ink-900: #0b1017;
  --ink-800: #131a25;
  --ink-700: #1c2532;
  --ink-600: #2a3544;
  --ink-500: #475467; /* body-muted on light — 7.6:1 */
  --ink-400: #667085; /* 4.9:1 on white */
  --ink-300: #98a2b3;
  --ink-200: #d0d5dd;
  --ink-100: #eaecf0;

  /* Warm surfaces */
  --paper: #f7f5f1;
  --paper-2: #efebe4;
  --white: #ffffff;

  --star: #f5b400;
  --success: #12b76a;
  --success-ink: #05603a;

  /* Semantic roles */
  --color-bg: var(--paper);
  --color-surface: var(--white);
  --color-text: var(--ink-900);
  --color-text-muted: var(--ink-500);
  --color-border: rgb(11 16 23 / 0.09);
  --color-border-strong: rgb(11 16 23 / 0.18);
  --color-primary: var(--red-600);
  --color-primary-hover: var(--red-700);
  --color-accent: var(--blue-600);
  --color-on-dark: #f4f6f9;
  --color-on-dark-muted: #a9b3c1; /* 8.6:1 on ink-900 */
  --color-focus: var(--blue-500);

  --grad-brand: linear-gradient(100deg, var(--red-500) 0%, var(--red-600) 48%, var(--red-700) 100%);
  --grad-brand-light: linear-gradient(100deg, #ff8a91 0%, var(--red-400) 45%, var(--red-500) 100%);

  /* Typography */
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  --fs-h4: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --fs-h2: clamp(2.375rem, 1.55rem + 3.4vw, 4.5rem);
  --fs-display: clamp(3rem, 1.5rem + 5.6vw, 7rem);
  --lh-display: 0.9;
  --lh-heading: 1;
  --lh-body: 1.6;
  --tracking-caps: 0.14em;

  /* Spacing — 4px base */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 2.5rem);
  --container: 1240px;

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgb(11 16 23 / 0.06), 0 1px 1px rgb(11 16 23 / 0.04);
  --shadow-2: 0 10px 28px -14px rgb(11 16 23 / 0.22), 0 2px 6px rgb(11 16 23 / 0.05);
  --shadow-3: 0 24px 60px -24px rgb(11 16 23 / 0.34), 0 8px 18px -10px rgb(11 16 23 / 0.12);
  --shadow-4: 0 44px 110px -40px rgb(11 16 23 / 0.55);
  --shadow-glow-red: 0 14px 34px -12px rgb(196 30 42 / 0.65);
  --shadow-glow-blue: 0 14px 34px -12px rgb(31 79 201 / 0.55);

  /* Glass */
  --glass-light-bg: rgb(255 255 255 / 0.74);
  --glass-light-border: rgb(255 255 255 / 0.75);
  --glass-dark-bg: rgb(19 26 37 / 0.6);
  --glass-dark-border: rgb(255 255 255 / 0.1);
  --glass-blur: blur(18px) saturate(1.6);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-1: 150ms;
  --dur-2: 240ms;
  --dur-3: 400ms;
  --dur-4: 700ms;

  /* Layers */
  --header-h: 72px;
  --z-mobile-cta: 40;
  --z-header: 50;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 82px;
  }
}

/* ---------------------------------------------------------------------
   02 · RESET & BASE
   --------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

html.nav-open {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: var(--red-600);
  color: var(--white);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

/* ---------------------------------------------------------------------
   03 · TYPOGRAPHY
   --------------------------------------------------------------------- */
.h2,
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-display);
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: var(--lh-heading);
  letter-spacing: 0.01em;
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 58ch;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--red-600);
}

.eyebrow__bar {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--red-400);
}

.eyebrow--pill {
  padding: 0.5rem 0.95rem 0.5rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.72);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-1);
  color: var(--ink-700);
  letter-spacing: 0.1em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section--dark .text-gradient,
.cta-final .text-gradient {
  background-image: var(--grad-brand-light);
}

/* ---------------------------------------------------------------------
   04 · LAYOUT
   --------------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--space-section);
}

.section--dark {
  background: var(--ink-900);
  color: var(--color-on-dark);
}

.section--dark .h2 {
  color: var(--white);
}

.section--dark .lead {
  color: var(--color-on-dark-muted);
}

.section-head {
  display: grid;
  gap: var(--space-5);
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 1.8rem + 2.6vw, 4.5rem);
}

.section-head > div {
  display: grid;
  gap: var(--space-5);
  justify-items: start;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

.section-head--split {
  max-width: none;
}

@media (min-width: 1024px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    align-items: end;
    gap: var(--space-16);
  }
}

/* ---------------------------------------------------------------------
   05 · COMPONENTS
   --------------------------------------------------------------------- */

/* Buttons — glow + glare sweep + press + magnetic (21st.dev "Glow Button" pattern) */
.btn {
  --mx: 0px;
  --my: 0px;
  --s: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transform: translate3d(var(--mx), var(--my), 0) scale(var(--s));
  transition:
    transform var(--dur-3) var(--ease-out),
    background-color var(--dur-2) ease,
    border-color var(--dur-2) ease,
    box-shadow var(--dur-3) var(--ease-out),
    color var(--dur-2) ease;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--dur-3) var(--ease-out);
}

.btn:hover .icon--arrow {
  transform: translateX(3px);
}

.btn:active {
  --s: 0.97;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--red-500) 0%, var(--red-600) 55%, var(--red-700) 100%);
  box-shadow:
    var(--shadow-glow-red),
    inset 0 1px 0 rgb(255 255 255 / 0.28),
    inset 0 -1px 0 rgb(0 0 0 / 0.18);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.42) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
}

.btn--primary:hover {
  box-shadow:
    0 20px 44px -12px rgb(196 30 42 / 0.75),
    inset 0 1px 0 rgb(255 255 255 / 0.32),
    inset 0 -1px 0 rgb(0 0 0 / 0.18);
}

.btn--primary:hover::before {
  transform: translateX(120%);
}

.btn--ghost {
  color: var(--ink-900);
  background: rgb(255 255 255 / 0.66);
  border-color: var(--color-border-strong);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--ink-900);
}

.btn--ghost-dark {
  color: var(--white);
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.16);
}

.btn--ghost-dark:hover {
  background: rgb(255 255 255 / 0.14);
}

.btn--sm {
  min-height: 44px;
  padding: 0.65rem 1.2rem;
}

.btn--lg {
  min-height: 56px;
  padding: 1rem 1.75rem;
  font-size: var(--fs-base);
}

.btn--block {
  width: 100%;
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

/* Icon tiles */
.icon-tile {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--red-600);
  background: linear-gradient(180deg, var(--white), var(--paper));
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-1);
}

.icon-tile .icon {
  width: 22px;
  height: 22px;
}

.icon-tile--dark {
  color: var(--white);
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.12);
  box-shadow: none;
}

.icon-tile--blue {
  color: var(--white);
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
  border: 0;
  box-shadow: var(--shadow-glow-blue);
}

.icon-tile--red,
.icon-tile--glow {
  color: var(--white);
  background: linear-gradient(180deg, var(--red-500), var(--red-700));
  border: 0;
  box-shadow: var(--shadow-glow-red);
}

.icon-tile--ghost {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--red-400);
  background: rgb(255 255 255 / 0.05);
  border-color: rgb(255 255 255 / 0.1);
  box-shadow: none;
}

.icon-tile--ghost .icon {
  width: 18px;
  height: 18px;
}

/* Glass surface */
.glass {
  background: var(--glass-light-bg);
  border: 1px solid var(--glass-light-border);
  box-shadow: var(--shadow-3), inset 0 1px 0 rgb(255 255 255 / 0.8);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: rgb(255 255 255 / 0.95);
  }
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--light {
  color: var(--ink-900);
  background: var(--white);
}

.tag--outline {
  color: var(--color-on-dark);
  border: 1px solid rgb(255 255 255 / 0.2);
}

/* Stars & avatars */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star);
}

.stars .icon {
  width: 16px;
  height: 16px;
}

.stars--lg .icon {
  width: 24px;
  height: 24px;
}

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.avatar--red {
  background: linear-gradient(135deg, var(--red-500), var(--red-700));
}

.avatar--blue {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

.avatar--ink {
  background: linear-gradient(135deg, var(--ink-600), var(--ink-900));
}

.avatar-stack {
  display: inline-flex;
}

.avatar-stack .avatar {
  width: 34px;
  height: 34px;
  font-size: 0.75rem;
  border: 2px solid var(--white);
}

.avatar-stack .avatar + .avatar {
  margin-left: -10px;
}

/* Pulse dot */
.pulse-dot {
  position: relative;
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-500);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: ping 1.8s var(--ease-out) infinite;
}

/* Checks */
.check-dot {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--red-600);
  background: rgb(196 30 42 / 0.1);
}

.check-dot .icon {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.checklist {
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--fs-sm);
  line-height: 1.45;
}

.checklist li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgb(18 183 106 / 0.16)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2332d583' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding-inline: 0.25rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: color var(--dur-2) ease;
}

.text-link .icon {
  width: 18px;
  height: 18px;
  color: var(--red-600);
}

.text-link:hover {
  color: var(--red-600);
}

/* Shared ambient glows */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

/* ---------------------------------------------------------------------
   06 · HEADER & NAVIGATION
   --------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--ink-900);
  color: var(--white);
  font-weight: 700;
  transition: top var(--dur-2) var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
}

/* Top bar */
.topbar {
  position: relative;
  z-index: calc(var(--z-header) + 1);
  background: var(--ink-900);
  color: var(--color-on-dark-muted);
  font-size: var(--fs-xs);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}

.topbar__msg {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.topbar__extra {
  display: none;
}

.topbar__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  font-weight: 500;
  transition: color var(--dur-2) ease;
}

.topbar__link .icon {
  width: 15px;
  height: 15px;
  color: var(--red-400);
}

.topbar__link:hover,
.topbar__link--strong {
  color: var(--white);
}

.topbar__link--strong {
  font-weight: 700;
}

@media (min-width: 480px) {
  .topbar__extra {
    display: inline;
  }
}

@media (min-width: 768px) {
  .topbar__links {
    display: flex;
  }
}

/* Sticky glass header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(247 245 241 / 0.74);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  backdrop-filter: blur(18px) saturate(1.8);
  transition:
    background var(--dur-3) ease,
    border-color var(--dur-3) ease,
    box-shadow var(--dur-3) ease;
}

.site-header.is-scrolled::before,
.nav-open .site-header::before {
  background: rgb(255 255 255 / 0.86);
  border-bottom-color: var(--color-border);
  box-shadow: 0 12px 32px -22px rgb(11 16 23 / 0.4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex: none;
  border-radius: 8px;
}

.brand__logo {
  width: auto;
  height: 34px;
}

@media (min-width: 400px) {
  .brand__logo {
    height: 38px;
  }
}

@media (min-width: 1024px) {
  .brand__logo {
    height: 44px;
  }
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--ink-600);
  transition:
    color var(--dur-2) ease,
    background-color var(--dur-2) ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--red-600);
  opacity: 0;
  transform: scale(0);
  transition:
    opacity var(--dur-2) ease,
    transform var(--dur-3) var(--ease-spring);
}

.nav__link:hover {
  color: var(--ink-900);
  background: rgb(11 16 23 / 0.05);
}

.nav__link.is-active {
  color: var(--ink-900);
}

.nav__link.is-active::after {
  opacity: 1;
  transform: scale(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 2px;
  border-radius: var(--radius-pill);
  color: var(--ink-900);
}

.header-phone__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--red-600);
  background: rgb(196 30 42 / 0.1);
  transition:
    background var(--dur-2) ease,
    color var(--dur-2) ease;
}

.header-phone__icon .icon {
  width: 18px;
  height: 18px;
}

.header-phone:hover .header-phone__icon {
  color: var(--white);
  background: var(--red-600);
}

.header-phone__text {
  display: none;
  line-height: 1.1;
}

.header-phone__text small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-400);
}

.header-phone__text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-cta {
  display: none;
}

.menu-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--color-border-strong);
  background: rgb(255 255 255 / 0.6);
  transition: background var(--dur-2) ease;
}

.menu-toggle:hover {
  background: var(--white);
}

.menu-toggle__bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  margin: -1px 0 0 -10px;
  border-radius: 2px;
  background: var(--ink-900);
  transition: transform var(--dur-3) var(--ease-out);
}

.menu-toggle__bar:first-child {
  transform: translateY(-4px);
}

.menu-toggle__bar:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-child {
  transform: rotate(-45deg);
}

@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: block;
  }

  .header-phone {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (min-width: 1280px) {
  .header-phone__text {
    display: grid;
  }

  .header-phone {
    padding-right: 0.5rem;
  }
}

/* Mobile navigation panel */
.mobile-nav {
  position: fixed;
  inset: var(--panel-top, 112px) 0 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgb(247 245 241 / 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -10px, 0);
  transition:
    opacity var(--dur-3) var(--ease-out),
    transform 0.5s var(--ease-out),
    visibility 0s linear 0.5s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 100%;
  padding-block: 1rem 2rem;
}

.mobile-nav__list li {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity var(--dur-3) var(--ease-out),
    transform 0.55s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 50ms + 60ms);
}

.mobile-nav.is-open .mobile-nav__list li {
  opacity: 1;
  transform: none;
}

.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-900);
  transition: color var(--dur-2) ease;
}

.mobile-nav__list a span {
  min-width: 1.75rem;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-600);
}

.mobile-nav__list a:hover {
  color: var(--red-600);
}

.mobile-nav__contact {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.mobile-nav__email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--ink-600);
  overflow-wrap: anywhere;
}

.mobile-nav__email .icon {
  width: 18px;
  height: 18px;
  color: var(--red-600);
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
}

/* ---------------------------------------------------------------------
   07 · HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(7rem, 5.5rem + 5vw, 10rem);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(11 16 23 / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(11 16 23 / 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 25% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 25% 35%, #000 20%, transparent 75%);
}

.hero .glow--red {
  top: -180px;
  right: 4%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgb(226 52 63 / 0.38), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero .glow--blue {
  bottom: -280px;
  left: -200px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgb(47 107 234 / 0.26), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.hero__inner {
  display: grid;
  gap: clamp(3.5rem, 2.5rem + 3vw, 4.5rem);
  align-items: center;
}

.hero__copy {
  display: grid;
  justify-items: start;
}

.hero__title {
  margin-block: 1.5rem 1.5rem;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  color: var(--ink-900);
}

.hero__title .line {
  display: block;
  overflow: clip;
  padding-bottom: 0.04em;
}

.hero-line {
  display: inline-block;
}

.hero__lead {
  max-width: 54ch;
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--ink-500);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
  margin-top: 2rem;
}

.hero__ctas .btn {
  flex: 1 1 100%;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-600);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

@media (min-width: 480px) {
  .hero__ctas .btn {
    flex: 0 0 auto;
  }
}

/* Hero visual */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 7% -3% -3% 9%;
  z-index: -1;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 80% 20%, rgb(255 255 255 / 0.18), transparent 45%),
    linear-gradient(140deg, var(--red-600), var(--red-700) 60%, #6e0d16);
  transform: rotate(2.5deg);
}

.hero__frame {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink-800);
  box-shadow: var(--shadow-4);
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgb(11 16 23 / 0) 55%, rgb(11 16 23 / 0.5));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
}

.hero__frame picture {
  position: absolute;
  inset: 0;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: calc(100% - 28px);
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  border-radius: 18px;
}

.float-card--top {
  top: 14px;
  left: 14px;
  animation: bob 7s ease-in-out infinite;
}

.float-card--bottom {
  right: 14px;
  bottom: 14px;
  animation: bob 8s ease-in-out -3.5s infinite;
}

.float-card .icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.float-card .icon-tile .icon {
  width: 20px;
  height: 20px;
}

.float-card__text {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.2;
}

.float-card__text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink-900);
}

.float-card__text small {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-500);
}

/* Rotating seal with the brand pin */
.seal {
  position: absolute;
  top: -30px;
  right: -22px;
  display: none;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--ink-900);
  box-shadow: var(--shadow-3), 0 0 0 6px rgb(247 245 241 / 0.9);
}

.seal__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 26s linear infinite;
}

.seal__ring text {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: var(--white);
}

.seal__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
}

@media (min-width: 480px) {
  .seal {
    display: block;
  }

  .float-card--top {
    top: 22px;
    left: 22px;
  }

  .float-card--bottom {
    right: 22px;
    bottom: 22px;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(3rem, 4vw, 5rem);
  }

  .hero__visual {
    max-width: none;
  }

  .hero__frame {
    aspect-ratio: 4 / 5;
  }

  .float-card--top {
    top: 9%;
    left: -9%;
  }

  .float-card--bottom {
    right: -7%;
    bottom: 8%;
  }

  .seal {
    width: 124px;
    height: 124px;
    top: -36px;
    right: -30px;
  }
}

/* ---------------------------------------------------------------------
   08 · STATS / CREDIBILITY BAR
   --------------------------------------------------------------------- */
.stats {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(4rem, 3rem + 3vw, 5.75rem));
}

.stats__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(600px 240px at 0% 0%, rgb(226 52 63 / 0.22), transparent 70%),
    radial-gradient(600px 260px at 100% 100%, rgb(47 107 234 / 0.2), transparent 70%),
    var(--ink-900);
  box-shadow: var(--shadow-4), inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.4rem;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2rem + 2.8vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.stat__suffix {
  color: var(--red-400);
}

.stat__label {
  max-width: 22ch;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-on-dark-muted);
}

@media (min-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .stat {
    padding-inline: 2rem;
  }

  .stat:first-child {
    padding-left: 0.5rem;
  }

  .stat + .stat {
    border-left: 1px solid rgb(255 255 255 / 0.1);
  }
}

/* ---------------------------------------------------------------------
   09 · SERVICES — Bento grid with cursor spotlight (21st.dev pattern)
   --------------------------------------------------------------------- */
.services {
  background: var(--paper);
}

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.bento-card {
  --sx: -400px;
  --sy: -400px;
  --spot-color: var(--red-500);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-1);
  transition:
    box-shadow var(--dur-3) var(--ease-out),
    border-color var(--dur-3) ease;
}

.bento-card:hover {
  border-color: rgb(11 16 23 / 0.04);
  box-shadow: var(--shadow-3);
}

/* Spotlight layers: surface wash + 1.5px border light */
.bento-card__wash,
.bento-card__ring {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-3) ease;
}

.bento-card__wash {
  z-index: -1;
}

.bento-card__wash .spot {
  opacity: 0.09;
}

.bento-card__ring {
  z-index: 3;
  padding: 1.5px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
}

.bento-card__ring .spot {
  opacity: 0.9;
}

.spot {
  position: absolute;
  left: 0;
  top: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, var(--spot-color), transparent);
  transform: translate3d(var(--sx), var(--sy), 0);
}

.bento-card.is-hovered .bento-card__wash,
.bento-card.is-hovered .bento-card__ring {
  opacity: 1;
}

.bento-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bento-card__visual {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-bottom: 1.5rem;
  transition: transform 0.6s var(--ease-out);
}

@media (hover: hover) {
  .bento-card:hover .bento-card__visual {
    transform: translate3d(0, -4px, 0) scale(1.02);
  }
}

.bento-card__body {
  display: grid;
  gap: 0.6rem;
}

.bento-card__heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.bento-card__heading .icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.bento-card__heading .icon-tile .icon {
  width: 20px;
  height: 20px;
}

.bento-card__title {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  color: var(--ink-900);
}

.bento-card__text {
  max-width: 52ch;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-500);
}

.bento-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  margin-top: 0.35rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--red-600);
}

.bento-card__cta .icon {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-3) var(--ease-out);
}

.bento-card:hover .bento-card__cta .icon {
  transform: translateX(4px);
}

/* Stretched link — the whole card is one tab stop */
.bento-card__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
}

.bento-card__cta:focus-visible {
  outline: none;
}

.bento-card__cta:focus-visible::after {
  outline: 2px solid var(--color-focus);
  outline-offset: -2px;
}

/* Feature (dark) card */
.bento-card--feature {
  --spot-color: var(--red-400);
  color: var(--color-on-dark);
  background:
    radial-gradient(520px 320px at 85% 0%, rgb(226 52 63 / 0.22), transparent 70%),
    radial-gradient(460px 300px at 0% 100%, rgb(47 107 234 / 0.18), transparent 70%),
    var(--ink-900);
  border-color: var(--ink-800);
  min-height: 520px;
}

.bento-card--feature .bento-card__title {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem);
  color: var(--white);
}

.bento-card--feature .bento-card__text {
  color: var(--color-on-dark-muted);
}

.bento-card--feature .bento-card__cta {
  color: var(--white);
}

.bento-card--feature .bento-card__cta .icon {
  color: var(--red-400);
}

@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-card--feature,
  .bento-card--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(300px, auto);
  }

  .bento-card--feature {
    grid-row: span 2;
  }
}

/* Visual: roof anatomy */
.anatomy {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

.anatomy__svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  margin-inline: auto;
  overflow: visible;
}

.anatomy__house {
  fill: none;
  stroke: rgb(255 255 255 / 0.2);
  stroke-width: 2;
  stroke-dasharray: 4 6;
}

.anatomy__layer path {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.anatomy__layer {
  transition: transform 0.7s var(--ease-spring);
}

@media (hover: hover) {
  .bento-card:hover .anatomy__layer--finish {
    transform: translateY(-16px);
  }

  .bento-card:hover .anatomy__layer--underlay {
    transform: translateY(-10px);
  }

  .bento-card:hover .anatomy__layer--barrier {
    transform: translateY(-4px);
  }
}

.anatomy__legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--color-on-dark-muted);
}

.anatomy__legend li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.3;
}

.anatomy__legend i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c);
}

/* Visual: leak detection */
.leak {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding-bottom: 2.25rem;
}

.leak__svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.leak__svg path {
  fill: none;
  stroke: var(--ink-200);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.leak__svg .leak__chimney {
  stroke: var(--ink-300);
}

.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--red-600);
  box-shadow: 0 0 0 4px rgb(196 30 42 / 0.18);
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red-500);
  animation: ping 2s var(--ease-out) infinite;
}

.hotspot--alt {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: var(--ink-300);
  box-shadow: 0 0 0 4px rgb(152 162 179 / 0.2);
}

.hotspot--alt::after {
  display: none;
}

.leak__tag {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--ink-900);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: var(--shadow-2);
}

.leak__tag .icon {
  width: 14px;
  height: 14px;
  color: var(--red-400);
}

/* Visual: claim tracker */
.claim {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.claim__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--paper);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-600);
}

.claim__row i {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--ink-200);
}

.claim__row.is-done i {
  border-color: var(--success);
  background: var(--success);
}

.claim__row.is-done i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 7px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.claim__row.is-active {
  background: var(--white);
  border-color: rgb(196 30 42 / 0.25);
  color: var(--ink-900);
}

.claim__row.is-active i {
  border-color: var(--red-600);
}

.claim__row.is-active i::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--red-600);
  animation: ping 1.8s var(--ease-out) infinite;
}

.claim__bar {
  display: block;
  height: 6px;
  margin-top: 0.25rem;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink-100);
}

.claim__bar span {
  display: block;
  height: 100%;
  background: var(--grad-brand);
  transform-origin: 0 50%;
  transform: scaleX(0.66);
  transition: transform 0.9s var(--ease-out);
}

.bento-card:hover .claim__bar span {
  transform: scaleX(1);
}

/* Visual: material swatches */
.swatch {
  position: relative;
  display: block;
  width: 100%;
  height: 118px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06), var(--shadow-1);
}

.swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.38) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 1.1s var(--ease-out);
}

.bento-card:hover .swatch::after {
  transform: translateX(100%);
}

.swatch--tile {
  background-color: #b2603b;
  background-image:
    radial-gradient(ellipse 48% 90% at 50% 0%, rgb(255 226 200 / 0.38), transparent 70%),
    linear-gradient(180deg, transparent 52%, rgb(70 22 6 / 0.38) 100%),
    radial-gradient(ellipse 48% 90% at 50% 0%, rgb(255 226 200 / 0.3), transparent 70%),
    linear-gradient(180deg, transparent 52%, rgb(70 22 6 / 0.32) 100%);
  background-size: 34px 24px;
  background-position:
    0 0,
    0 0,
    17px 12px,
    17px 12px;
}

.swatch--metal {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.28), transparent 45%, rgb(0 0 0 / 0.14)),
    repeating-linear-gradient(
      90deg,
      #76818f 0 3px,
      #c9d0d8 3px 6px,
      #b4bdc8 6px 26px,
      #98a3b0 26px 28px
    );
}

/* Visual: flat-roof membrane stack */
.membrane {
  display: grid;
  gap: 6px;
  width: 100%;
}

.membrane span {
  display: block;
  width: calc(100% - 24px);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateX(calc(var(--n) * 12px));
  transition: transform 0.6s var(--ease-spring);
}

.membrane span:nth-child(1) {
  color: var(--ink-700);
  background: var(--white);
  border: 1px solid var(--ink-200);
  box-shadow: inset 4px 0 0 var(--blue-500);
}

.membrane span:nth-child(2) {
  color: var(--ink-700);
  background: var(--paper-2);
}

.membrane span:nth-child(3) {
  color: var(--white);
  background: var(--ink-700);
}

@media (hover: hover) {
  .bento-card:hover .membrane span {
    transform: none;
  }
}

/* Visual: inspection report */
.report {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.report__ring {
  position: relative;
  flex: none;
  width: 88px;
  height: 88px;
}

.report__ring > svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.report__ring circle {
  fill: none;
  stroke: var(--ink-100);
  stroke-width: 6;
}

.report__ring .report__arc {
  stroke: var(--red-600);
  stroke-linecap: round;
  stroke-dasharray: 170;
  stroke-dashoffset: 34;
  transition: stroke-dashoffset 1s var(--ease-out);
}

.bento-card:hover .report__arc {
  stroke-dashoffset: 0;
}

.report__ring > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-900);
}

.report__ring .icon {
  width: 26px;
  height: 26px;
}

.report__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-600);
}

.report__list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.report__list li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(18 183 106 / 0.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312b76a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}

/* ---------------------------------------------------------------------
   10 · WHY CHOOSE US — interactive feature showcase
   --------------------------------------------------------------------- */
.why {
  overflow: hidden;
  background:
    radial-gradient(1100px 560px at 90% -10%, rgb(31 79 201 / 0.2), transparent 60%),
    radial-gradient(900px 520px at -10% 110%, rgb(196 30 42 / 0.2), transparent 60%),
    var(--ink-900);
}

.why__head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
}

.why__head > div {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-row li {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.04);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--white);
}

@media (min-width: 1024px) {
  .why__head {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
    align-items: end;
    gap: var(--space-16);
  }
}

.features {
  display: grid;
  gap: 0.75rem;
}

.feature__tab {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 64px;
  padding: 1.1rem 1.25rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(255 255 255 / 0.025);
  color: var(--color-on-dark-muted);
  text-align: left;
  transition:
    background var(--dur-3) ease,
    border-color var(--dur-3) ease,
    color var(--dur-3) ease;
}

.feature__tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--grad-brand);
  transform: scaleY(0);
  transition: transform 0.5s var(--ease-out);
}

.feature__tab:hover {
  color: var(--white);
  background: rgb(255 255 255 / 0.05);
}

.feature.is-active .feature__tab {
  color: var(--white);
  background: rgb(255 255 255 / 0.075);
  border-color: rgb(255 255 255 / 0.16);
}

.feature.is-active .feature__tab::before {
  transform: scaleY(1);
}

.feature__num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red-400);
}

.feature__label {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.feature__arrow {
  width: 18px;
  height: 18px;
  opacity: 0.45;
  transform: rotate(90deg);
  transition:
    transform var(--dur-3) var(--ease-out),
    opacity var(--dur-3) ease,
    color var(--dur-3) ease;
}

.feature.is-active .feature__arrow {
  opacity: 1;
  color: var(--red-400);
  transform: rotate(90deg) translateX(2px);
}

.panel-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 1rem + 2.4vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.015)),
    var(--ink-800);
  border: 1px solid rgb(255 255 255 / 0.1);
}

.panel-card__index {
  position: absolute;
  top: 0.6rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 4rem + 4vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / 0.12);
  pointer-events: none;
}

.panel-card__title {
  margin-top: 1.5rem;
  font-size: var(--fs-h3);
  color: var(--white);
}

.panel-card__text {
  max-width: 54ch;
  margin-top: 0.85rem;
  color: var(--color-on-dark-muted);
}

.panel-card .checklist {
  margin-top: 1.75rem;
}

.panel-card .checklist li {
  color: #e3e8ef;
}

@media (min-width: 640px) {
  .panel-card .checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.5rem;
  }
}

/* Progressive enhancement: collapse inactive panels only when JS runs */
.js .feature__panel {
  display: none;
}

.js .feature.is-active .feature__panel {
  display: block;
  margin-top: 0.75rem;
  animation: panel-in 0.5s var(--ease-out) both;
}

.features__stage {
  display: none;
}

@media (min-width: 1024px) {
  .js .features {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(2rem, 4vw, 4rem);
    row-gap: 0.65rem;
    align-items: start;
  }

  .js .feature {
    display: contents;
  }

  .js .feature__tab {
    grid-column: 1;
  }

  .js .feature__arrow {
    transform: none;
  }

  .js .feature.is-active .feature__arrow {
    transform: translateX(4px);
  }

  /* All panels share one grid area; only the active one is visible */
  .js .feature__panel,
  .js .feature.is-active .feature__panel {
    position: relative;
    z-index: 1;
    display: block;
    grid-column: 2;
    grid-row: 1 / span 5;
    align-self: stretch;
    margin-top: 0;
    animation: none;
  }

  .js .feature__panel {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 16px, 0);
    transition:
      opacity 0.35s var(--ease-out),
      transform 0.6s var(--ease-out),
      visibility 0s linear 0.35s;
  }

  .js .feature.is-active .feature__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0.08s, 0.08s, 0s;
  }

  .js .panel-card {
    height: 100%;
    background: transparent;
    border-color: transparent;
    padding: clamp(2rem, 3vw, 3.25rem);
  }

  .js .features__stage {
    position: relative;
    display: block;
    grid-column: 2;
    grid-row: 1 / span 5;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgb(255 255 255 / 0.1);
    background:
      radial-gradient(420px 300px at 100% 100%, rgb(226 52 63 / 0.28), transparent 70%),
      linear-gradient(160deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.015)),
      var(--ink-800);
    box-shadow: var(--shadow-4), inset 0 1px 0 rgb(255 255 255 / 0.08);
  }

  .js .features__stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/img/home-exterior.webp") center / cover no-repeat;
    opacity: 0.16;
    -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 62%);
    mask-image: linear-gradient(200deg, #000 0%, transparent 62%);
  }
}

/* ---------------------------------------------------------------------
   11 · PROCESS
   --------------------------------------------------------------------- */
.process {
  background: var(--white);
}

.steps {
  position: relative;
}

.steps__rail {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink-100);
  opacity: 0;
  transition: opacity var(--dur-3) ease;
}

.steps.is-ready .steps__rail {
  opacity: 1;
}

.steps__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--red-500), var(--red-700));
  transform-origin: 50% 0;
  transform: scaleY(var(--progress, 0));
}

.steps[data-orientation="horizontal"] .steps__fill {
  background: linear-gradient(90deg, var(--red-500), var(--red-700));
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

.steps__list {
  display: grid;
  gap: 1.25rem;
}

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.step__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: var(--white);
  color: var(--ink-400);
  box-shadow: 0 0 0 8px var(--white);
  transition:
    background var(--dur-4) var(--ease-out),
    border-color var(--dur-4) var(--ease-out),
    color var(--dur-4) var(--ease-out),
    box-shadow var(--dur-4) var(--ease-out);
}

.step__marker .icon {
  width: 22px;
  height: 22px;
}

.step.is-active .step__marker {
  color: var(--white);
  border-color: var(--red-600);
  background: linear-gradient(180deg, var(--red-500), var(--red-700));
  box-shadow: 0 0 0 8px var(--white), var(--shadow-glow-red);
}

.step__card {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--paper);
  transition:
    background var(--dur-4) var(--ease-out),
    border-color var(--dur-4) var(--ease-out),
    box-shadow var(--dur-4) var(--ease-out);
}

.step.is-active .step__card {
  background: var(--white);
  border-color: rgb(196 30 42 / 0.16);
  box-shadow: var(--shadow-2);
}

.step__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-400);
  transition: color var(--dur-4) ease;
}

.step.is-active .step__num {
  color: var(--red-600);
}

.step__title {
  margin: 0.5rem 0 0.6rem;
  font-size: clamp(1.375rem, 1.22rem + 0.5vw, 1.625rem);
  color: var(--ink-900);
}

.step__card p {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-500);
}

.step__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--white);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-600);
}

.step__meta .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
  color: var(--success);
}

.process__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}

@media (min-width: 1024px) {
  .steps__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .step {
    grid-template-columns: minmax(0, 1fr);
    /* marker row stays fixed; card row absorbs the stretch so all four cards share a top edge */
    grid-template-rows: auto 1fr;
    gap: 1.5rem;
  }
}

/* ---------------------------------------------------------------------
   12 · TESTIMONIALS — dual marquee (21st.dev "Marquee" pattern)
   --------------------------------------------------------------------- */
.reviews {
  overflow: hidden;
  background: var(--paper);
}

.rating-summary {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.rating-summary p {
  max-width: 40ch;
  font-size: var(--fs-base);
  color: var(--ink-500);
}

.marquee-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  background: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-700);
  transition:
    border-color var(--dur-2) ease,
    color var(--dur-2) ease;
}

.marquee-toggle .icon {
  width: 14px;
  height: 14px;
}

.marquee-toggle:hover {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

@media (min-width: 1024px) {
  .rating-summary {
    justify-items: end;
    text-align: right;
  }
}

.marquee-wrap {
  display: grid;
  gap: 1.25rem;
}

.marquee {
  --gap: 1.25rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee__track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: marquee var(--duration, 70s) linear infinite;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
}

.marquee__group {
  display: flex;
  gap: var(--gap);
}

.marquee-wrap:hover .marquee__track,
.marquee-wrap:focus-within .marquee__track,
.marquee-wrap[data-paused] .marquee__track,
.marquee-wrap[data-offscreen] .marquee__track {
  animation-play-state: paused;
}

.t-card {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 1rem;
  width: clamp(290px, 82vw, 390px);
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.t-card::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red-600);
  opacity: 0.12;
}

.t-card blockquote p {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink-700);
}

.t-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.t-card__author strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-900);
}

.t-card__author small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--ink-400);
}

/* ---------------------------------------------------------------------
   13 · FAQ — line accordion (21st.dev "Animated Line Accordion" pattern)
   --------------------------------------------------------------------- */
.faq {
  background: var(--white);
}

.faq__grid {
  display: grid;
  gap: 3rem;
}

.faq__intro {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  align-content: start;
}

.help-card {
  display: flex;
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--paper);
}

.help-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink-900);
}

.help-card__text {
  margin-top: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--ink-500);
}

.help-card__links {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.85rem;
}

.help-card__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 36px;
  font-weight: 700;
  color: var(--ink-900);
  overflow-wrap: anywhere;
  transition: color var(--dur-2) ease;
}

.help-card__links a:hover {
  color: var(--red-600);
}

.help-card__links .icon {
  width: 16px;
  height: 16px;
  color: var(--red-600);
}

.accordion {
  display: grid;
  gap: 0.5rem;
}

.acc-item {
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  border-bottom-color: var(--color-border);
  transition:
    background var(--dur-3) ease,
    border-color var(--dur-3) ease,
    box-shadow var(--dur-3) ease;
}

.acc-item.is-open {
  background: var(--paper);
  border-color: var(--color-border);
  box-shadow: var(--shadow-1);
}

.acc-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 64px;
  padding: 1.25rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.08rem + 0.45vw, 1.45rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: left;
  text-transform: uppercase;
  color: var(--ink-900);
  transition: color var(--dur-2) ease;
}

.acc-item__trigger:hover {
  color: var(--red-600);
}

.acc-icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: var(--white);
  transition:
    background var(--dur-3) ease,
    border-color var(--dur-3) ease;
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--ink-900);
  transition:
    transform var(--dur-3) var(--ease-out),
    background var(--dur-3) ease;
}

.acc-icon::after {
  transform: rotate(90deg);
}

.acc-item.is-open .acc-icon {
  background: var(--red-600);
  border-color: var(--red-600);
}

.acc-item.is-open .acc-icon::before,
.acc-item.is-open .acc-icon::after {
  background: var(--white);
}

.acc-item.is-open .acc-icon::after {
  transform: rotate(0deg);
}

.acc-item__inner p {
  max-width: 64ch;
  padding: 0 1.25rem 1.5rem;
  color: var(--ink-500);
}

.acc-item__inner a {
  font-weight: 700;
  color: var(--red-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Collapse only when JS is available (content stays readable without it) */
.js .acc-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 0.45s var(--ease-out),
    visibility 0s linear 0.45s;
}

.js .acc-item.is-open .acc-item__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition-delay: 0s;
}

.js .acc-item__inner {
  min-height: 0;
  overflow: hidden;
}

.js .acc-item__inner p {
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  transition:
    opacity var(--dur-3) ease,
    transform var(--dur-3) var(--ease-out);
}

.js .acc-item.is-open .acc-item__inner p {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

@media (min-width: 1024px) {
  .faq__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .faq__intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* ---------------------------------------------------------------------
   14 · CONTACT / FINAL CTA
   --------------------------------------------------------------------- */
.cta-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-section);
  color: var(--color-on-dark);
  background: var(--ink-950);
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cta-final__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 25% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 25% 40%, #000, transparent 75%);
}

.cta-final .glow--red {
  top: -10%;
  left: -12%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgb(196 30 42 / 0.45), transparent 65%);
  animation: drift 20s ease-in-out infinite alternate;
}

.cta-final .glow--blue {
  right: -15%;
  bottom: -30%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgb(31 79 201 / 0.35), transparent 65%);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}

.cta-final__grid-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.cta-final__copy {
  display: grid;
  gap: 1.35rem;
  justify-items: start;
}

.cta-final .h2 {
  color: var(--white);
}

.cta-final .lead {
  color: var(--color-on-dark-muted);
}

.contact-tiles {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-width: 540px;
  margin-top: 0.75rem;
}

.contact-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.04);
  transition:
    background var(--dur-3) ease,
    border-color var(--dur-3) ease,
    transform var(--dur-3) var(--ease-out);
}

.contact-tile:hover {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.22);
  transform: translate3d(0, -2px, 0);
}

.contact-tile__text {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 0.15rem;
}

.contact-tile__text small {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}

.contact-tile__text strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--white);
}

.contact-tile__text .contact-tile__email {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-tile__arrow {
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition:
    transform var(--dur-3) var(--ease-out),
    opacity var(--dur-3) ease;
}

.contact-tile:hover .contact-tile__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-on-dark-muted);
}

.assurances li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.assurances .icon {
  width: 17px;
  height: 17px;
  color: var(--red-400);
}

/* Form card */
.form-card {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-xl);
  background: var(--white);
  color: var(--ink-900);
  box-shadow: 0 50px 120px -40px rgb(0 0 0 / 0.75);
}

.form-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--red-500), transparent 40%, transparent 60%, var(--blue-500));
  opacity: 0.55;
  filter: blur(22px);
}

.form-card__head {
  margin-bottom: 1.5rem;
}

.form-card__title {
  font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2.125rem);
  color: var(--ink-900);
}

.form-card__head p {
  margin-top: 0.4rem;
  font-size: var(--fs-sm);
  color: var(--ink-500);
}

.form-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
}

.field .req {
  color: var(--red-600);
}

.field .optional {
  font-weight: 500;
  color: var(--ink-400);
}

.input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink-200);
  background: var(--paper);
  font-size: 1rem;
  color: var(--ink-900);
  transition:
    border-color var(--dur-2) ease,
    box-shadow var(--dur-2) ease,
    background var(--dur-2) ease;
}

.input:hover {
  border-color: var(--ink-300);
}

.input:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgb(47 107 234 / 0.16);
}

.input--select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  cursor: pointer;
}

.input--textarea {
  min-height: 104px;
  resize: vertical;
}

.field.has-error .input {
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px rgb(196 30 42 / 0.12);
}

.field__error {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--red-700);
}

.field__error:empty {
  display: none;
}

@media (min-width: 560px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--ink-400);
}

.form-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--success);
}

.form-status:empty {
  display: none;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(18 183 106 / 0.3);
  background: rgb(18 183 106 / 0.08);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--success-ink);
}

.form-status a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status.is-error {
  border-color: rgb(196 30 42 / 0.3);
  background: rgb(196 30 42 / 0.06);
  color: var(--red-700);
}

@media (min-width: 1024px) {
  .cta-final__grid-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: clamp(3rem, 5vw, 5rem);
  }
}

/* ---------------------------------------------------------------------
   15 · FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 3rem + 4vw, 6rem);
  color: var(--color-on-dark-muted);
  background: var(--ink-950);
  border-top: 1px solid rgb(255 255 255 / 0.06);
}

.footer__top {
  display: grid;
  gap: 2.75rem;
}

.footer__brand {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  max-width: 400px;
}

.footer__logo {
  display: inline-flex;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-3);
}

.footer__logo img {
  width: auto;
  height: 40px;
}

.footer__brand p {
  font-size: var(--fs-sm);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__badges li {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-on-dark);
}

.footer__heading {
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--white);
}

.footer__col ul {
  display: grid;
  gap: 0.15rem;
}

.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: var(--fs-sm);
  transition: color var(--dur-2) ease;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__contact {
  gap: 0.85rem !important;
}

.footer__contact a,
.footer__contact-static {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--white);
}

.footer__contact a > span:last-child,
.footer__contact-static > span:last-child {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}

.footer__contact small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-on-dark-muted);
}

.footer__email {
  overflow-wrap: anywhere;
}

.footer__contact a:hover .icon-tile--ghost {
  color: var(--white);
  background: var(--red-600);
  border-color: var(--red-600);
}

.footer__wordmark {
  margin-top: clamp(3rem, 2rem + 4vw, 5rem);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 13.5vw, 15rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.01em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: var(--fs-xs);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--white);
}

.back-to-top__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.16);
  transition:
    background var(--dur-2) ease,
    border-color var(--dur-2) ease,
    transform var(--dur-3) var(--ease-out);
}

.back-to-top__icon .icon {
  width: 16px;
  height: 16px;
}

.back-to-top:hover .back-to-top__icon {
  background: var(--red-600);
  border-color: var(--red-600);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer__top {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.7fr) minmax(0, 0.85fr) minmax(0, 1.1fr);
    gap: 3rem;
  }
}

/* ---------------------------------------------------------------------
   16 · MOBILE STICKY CTA
   --------------------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: var(--z-mobile-cta);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 22px;
  background: rgb(11 16 23 / 0.86);
  border: 1px solid rgb(255 255 255 / 0.08);
  box-shadow: 0 20px 50px -18px rgb(0 0 0 / 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  transform: translate3d(0, calc(100% + 2rem), 0);
  transition: transform 0.55s var(--ease-out);
}

.mobile-cta .btn {
  min-height: 50px;
  padding-inline: 0.75rem;
}

.mobile-cta.is-visible {
  transform: none;
}

.nav-open .mobile-cta {
  transform: translate3d(0, calc(100% + 2rem), 0);
}

@media (min-width: 1024px) {
  .mobile-cta {
    display: none;
  }
}

/* ---------------------------------------------------------------------
   17 · MOTION
   --------------------------------------------------------------------- */
@keyframes ping {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(40px, 30px, 0) scale(1.08);
  }
}

@keyframes marquee {
  to {
    transform: translate3d(calc(-50% - var(--gap) / 2), 0, 0);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal-right {
  from {
    opacity: 0;
    transform: translate3d(32px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes line-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 105%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Load choreography for the hero — CSS only, never depends on JS */
  .hero-anim {
    animation: hero-rise 1s var(--ease-out) backwards;
    animation-delay: calc(120ms + var(--i, 0) * 110ms);
  }

  .hero-line {
    animation: line-rise 1.05s var(--ease-out) backwards;
    animation-delay: calc(120ms + var(--i, 0) * 110ms);
  }

  /*
    Scroll reveal (IntersectionObserver adds .is-visible).
    Uses `animation … backwards` so the element returns to its own
    transform/transition rules afterwards (hover effects keep working).
    Elements are only hidden while html.js is present; the inline head
    script removes .js if script.js fails, so nothing stays invisible.
  */
  .js [data-reveal]:not(.is-visible) {
    opacity: 0;
  }

  .js [data-reveal].is-visible {
    animation: reveal-up 0.9s var(--ease-out) backwards;
    animation-delay: calc(var(--d, 0) * 90ms);
  }

  .js [data-reveal="right"].is-visible {
    animation-name: reveal-right;
  }

  .js [data-reveal="fade"].is-visible {
    animation-name: reveal-fade;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Marquee becomes a static, swipeable row */
  .marquee__track {
    animation: none !important;
  }

  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
  }

  .marquee__group > * {
    scroll-snap-align: start;
  }

  .marquee__group.is-clone,
  .marquee-toggle {
    display: none;
  }

  .glow,
  .seal__ring,
  .float-card,
  .pulse-dot::after,
  .hotspot::after {
    animation: none !important;
  }
}

/* ---------------------------------------------------------------------
   18 · UTILITIES
   --------------------------------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media print {
  .topbar,
  .site-header,
  .mobile-cta,
  .marquee-toggle,
  .hero__bg,
  .cta-final__bg {
    display: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    animation: none !important;
  }
}
