/* The services site gets this foundation from Tailwind. restyle.css (copied unchanged from
   webapp/client/src/styles/restyle.css) loads after it, so the two sites share one design. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #1a1a1a; background: #fbfaf8; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container { padding-inline: 2rem; } }
.section { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.skip { position: absolute; left: -999px; top: 0; z-index: 60; padding: .75rem 1rem; background: #fff; color: var(--ink); }
.skip:focus { left: .5rem; top: .5rem; }

/* Header */
.vc-header { position: fixed; inset: 0 0 auto 0; z-index: 40; background: rgba(0,0,0,.9); backdrop-filter: blur(12px); transition: transform .3s ease-out; }
.vc-header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(227,30,36,.5), transparent); }
.vc-header.is-hidden { transform: translateY(-100%); }
.vc-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4rem; max-width: 1600px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 1200px) { .vc-header__bar { height: 72px; padding-inline: 2rem; } }
.vc-brand { display: flex; align-items: center; gap: .75rem; color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; }
.vc-brand img { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.vc-nav { display: none; align-items: center; gap: .25rem; }
.vc-nav a { padding: .5rem .75rem; border-radius: .375rem; color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 500; white-space: nowrap; transition: color .2s, background .2s; }
.vc-nav a:hover, .vc-nav a[aria-current] { color: #fff; background: rgba(255,255,255,.1); }
.vc-actions { display: none; align-items: center; gap: 1rem; }
.vc-phone { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.vc-phone svg, .btn svg { width: 1rem; height: 1rem; }
.vc-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; color: #fff; }
.vc-toggle svg { width: 1.5rem; height: 1.5rem; }
.vc-toggle .x, .menu-open .vc-toggle .bars { display: none; }
.menu-open .vc-toggle .x { display: block; }
.vc-mobile { display: none; padding: .5rem 1.25rem 1.5rem; border-top: 1px solid rgba(255,255,255,.1); max-height: calc(100vh - 4rem); overflow-y: auto; }
.menu-open .vc-mobile { display: block; }
.vc-mobile a:not(.btn) { display: block; padding: .8rem 0; color: #fff; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); }
.vc-mobile .btn { margin-top: 1rem; width: 100%; }
@media (min-width: 1200px) { .vc-nav, .vc-actions { display: flex; } .vc-toggle, .menu-open .vc-mobile { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.5rem; padding: .75rem 2rem; border-radius: .5rem; font-size: 1.05rem; font-weight: 600; white-space: nowrap; }
.btn--sm { min-height: 2.5rem; padding: .4rem 1.1rem; font-size: .875rem; }
.btn-row { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; gap: 1rem; } }

/* Heroes */
.hero-home { min-height: 92vh; display: flex; align-items: center; padding-block: 8rem 3.5rem; color: #fff; }
@media (min-width: 768px) { .hero-home { padding-block: 10rem 5rem; } }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); gap: 4rem; } }
.hero-copy > * + * { margin-top: 1.75rem; }
.hero-lede { font-size: clamp(1.125rem, 1rem + .5vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 42rem; line-height: 1.55; }
.hero-life { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); letter-spacing: -.01em; }
.hero-life i { font-style: normal; color: var(--red-glow); padding-inline: .35em; }
.proof-wrap { width: 100%; max-width: 19rem; margin-inline: auto; }
@media (min-width: 640px) { .proof-wrap { max-width: 22rem; } }
@media (min-width: 1024px) { .proof-wrap { max-width: none; } }
.hero-page { padding-block: 8.5rem 4rem; color: #fff; }
@media (min-width: 768px) { .hero-page { padding-block: 10.5rem 5.5rem; } }
.hero-page .kicker { color: var(--red-glow); }
.hero-page h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1; letter-spacing: -.03em; font-weight: 800; max-width: 58rem; margin-top: 1rem; }
.hero-page p.lede { margin-top: 1.5rem; color: rgba(255,255,255,.85); font-size: clamp(1.05rem,1rem + .4vw,1.25rem); max-width: 44rem; }

/* Grids and cards */
.grid { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); } .grid--5 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.vc-card { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem; height: 100%; }
.vc-card h3 { font-size: 1.3rem; color: var(--ink); }
.vc-card p { color: var(--ink-soft); }
.vc-card .vc-link { margin-top: auto; align-self: flex-start; padding-top: .5rem; }
.surface-ink .vc-card h3 { color: #fff; } .surface-ink .vc-card p { color: #d6d3d1; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); }
.vc-photo-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 25rem; padding: 1.75rem; color: #fff; gap: .6rem; }
.vc-photo-card h3 { font-size: 2rem; color: #fff; }
.vc-photo-card p { color: rgba(255,255,255,.88); }
.vc-photo-card span.go { font-weight: 600; box-shadow: inset 0 -1px 0 var(--red-glow); align-self: flex-start; padding-bottom: 3px; margin-top: .25rem; }
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 5rem; } }
.statement { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.75rem); color: #fff; }
.body-copy > * + * { margin-top: 1.1rem; }
.body-copy p, .body-copy li { color: var(--ink-soft); font-size: 1.08rem; }
.surface-ink .body-copy p { color: #d6d3d1; }
.ticks li { display: flex; gap: .75rem; }
.ticks li + li { margin-top: .85rem; }
.ticks strong { color: var(--ink); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 3rem; }
.steps li + li { margin-top: 1.25rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: .875rem; }
.stage { display: grid; gap: 1.5rem; padding-block: 2.5rem; border-top: 1px solid var(--line); scroll-margin-top: 5rem; }
@media (min-width: 1024px) { .stage { grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 4rem; } }
.stage h3 { font-size: clamp(2rem,1.5rem + 2vw,3rem); font-weight: 800; color: var(--ink); line-height: 1; }
.band-cta { text-align: center; }
.band-cta .btn-row { justify-content: center; margin-top: 2rem; }
.band-cta .section-title { color: #fff; }
.band-cta p { margin-top: 1rem; }

/* Long-form articles */
.article { max-width: 46rem; margin-inline: auto; font-size: 1.1rem; color: #3f3a36; line-height: 1.75; }
.article > * + * { margin-top: 1.25rem; }
.article h2 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem); color: var(--ink); margin-top: 3rem; }
.article h3 { font-size: 1.35rem; color: var(--ink); margin-top: 2.25rem; }
.article h4, .article h5 { font-size: 1.1rem; color: var(--ink); margin-top: 1.75rem; font-family: var(--font-display); }
.article a { color: var(--red-ink); text-decoration: underline; text-underline-offset: 2px; }
.article ul { list-style: disc; padding-left: 1.3rem; }
.article ol { list-style: decimal; padding-left: 1.5rem; }
.article li + li { margin-top: .5rem; }
.article strong { color: var(--ink); }
.article figure.imgs { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.article figure.imgs img { width: 100%; border-radius: 12px; object-fit: cover; }
.next-step { max-width: 46rem; margin: 3.5rem auto 0; padding: 1.75rem; border-left: 4px solid var(--red); background: var(--paper); border-radius: 0 12px 12px 0; }
.next-step p { color: var(--ink-soft); margin-bottom: .75rem; }

/* Footer */
.vc-footer { color: #fff; border-top: 3px solid var(--red); }
.vc-footer .inner { padding-block: 4rem 1.5rem; }
.vc-footer__grid { display: grid; }
@media (min-width: 768px) { .vc-footer__grid { grid-template-columns: repeat(2,1fr); gap: 2rem; } }
@media (min-width: 1024px) { .vc-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.vc-footer h3 { font-size: 1.125rem; margin-bottom: 1rem; color: #fff; }
.vc-footer p, .vc-footer li, .vc-footer address { font-size: .875rem; color: #d4d4d4; font-style: normal; }
.vc-footer li + li { margin-top: .5rem; }
.vc-footer a:hover { color: #fff; }
.vc-footer .id { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.vc-footer .id img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.vc-footer .id h3 { margin: 0; }
.vc-footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #a3a3a3; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; padding-bottom: 1.5rem !important; }

/* The hero photo has lettering baked into its upper left; short page heroes crop below it. */
.hero-page .vc-hero__photo { background-position: center 88%; }
.hero-grid, .split, .stage { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); }
  .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .stage { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
}
.btn { max-width: 100%; }
@media (max-width: 639px) { .btn { white-space: normal; text-align: center; } }
.vc-link { white-space: nowrap; }
.vc-link svg { width: 1rem; height: 1rem; flex: none; }
@media (max-width: 767px) { .hero-page .vc-hero__photo { background-position: 78% 88%; } }

/* ValuClean design layer — restyle 2026-10.
 *
 * Loaded after index.css (see main.tsx) so it wins without rewriting old rules.
 * Visual only: nothing here changes text, links, or what the server renders.
 *
 * Direction: red is the signal, ink is the voice. Headings are ink on light and white on
 * dark; brand red is reserved for actions, rules, and the one brand band (the CTA). Section
 * rhythm comes from surfaces — white / paper / ink / red / photo — never two alike in a row.
 */

:root {
  --ink: #141414;
  --ink-2: #1c1917;
  --ink-soft: #57534e;       /* body text on light: 7.6:1 on white, 6.9:1 on paper */
  --ink-mute: #78716c;       /* captions on white only: 4.8:1 */
  --paper: #f6f2ed;          /* warm tint — complements the red, unlike the old cool gray */
  --paper-2: #efe9e2;
  --line: #e7e0d8;
  --line-ink: rgba(255, 255, 255, 0.12);
  --red: #e31e24;            /* brand: fills, large type, rules */
  --red-ink: #c8161c;        /* small red text on light surfaces (5.3:1 on paper) */
  --red-glow: #ff5a5f;       /* small red text on ink (6.0:1) */
  --gold-ink: #8a6100;       /* ValuBux gold as text on light (5.5:1) */
  --save-ink: #047857;       /* savings figures on light (5.5:1) */
  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  --background: #fbfaf8;
  --border: var(--line);
}

/* ── Typography ─────────────────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1, h2 { font-weight: 800; line-height: 1.06; }
h3 { font-weight: 700; line-height: 1.2; }
p { text-wrap: pretty; }

/* Gradient headline text read as generic AI styling. In a heading it becomes solid ink
   (white on dark surfaces); as a standalone figure it stays brand red, but solid. */
.text-gradient-primary,
.text-gradient-gold {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--red);
}
.text-gradient-gold { color: inherit; }
h1 .text-gradient-primary,
h2 .text-gradient-primary { color: var(--ink); }
.surface-ink :is(h1, h2) .text-gradient-primary,
.surface-red :is(h1, h2) .text-gradient-primary,
.vc-hero :is(h1, h2) .text-gradient-primary { color: #fff; }

/* ── Surfaces ───────────────────────────────────────────────────────────── */

.surface-white { background: #fff; color: var(--ink); }
.surface-paper { background: var(--paper); color: var(--ink); }
.surface-ink {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(227, 30, 36, 0.16), transparent 70%),
    var(--ink);
  color: #fff;
}
/* index.css paints every heading text-foreground in @layer base, which beat inherited
   text-white and left headings near-black on dark bands ("See The" in the before/after
   gallery). Dark surfaces own their heading color. */
.surface-ink :is(h1, h2, h3, h4):not(:where(.bg-card, .bg-white) *),
.surface-red :is(h1, h2, h3, h4):not(:where(.bg-card, .bg-white) *),
.vc-hero :is(h1, h2, h3) { color: #fff; }
.surface-red {
  background:
    radial-gradient(ellipse 60% 80% at 85% 10%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(160deg, #e31e24 0%, #c8161c 100%);
  color: #fff;
}

/* Legacy section backgrounds used across ~20 pages: give them the new surfaces so every page
   gains the rhythm without per-file edits. */
.bg-section-light,
.bg-section-gradient { background: #fff !important; }
.bg-section-pattern { background: var(--paper) !important; }
.bg-section-pattern::before,
.section-with-bg::before { display: none !important; }

/* ── Section heading system ─────────────────────────────────────────────── */

/* Headings use the full container: on desktop the title takes the left ~60% and the lede sits
   beside it, bottom-aligned, so there's no narrow centered column with empty space either side.
   --center keeps the old centered stack (long CTA headline); --stack keeps title over lede when
   the head lives inside a narrow column. */
.section-head {
  text-align: left;
  max-width: none;
  margin-inline: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0;
}
/* A red rule above every section title — the one recurring brand mark. */
.section-head::before {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 0 0 1.4rem;
  background: var(--red);
  transform-origin: left;
}
.section-head:has(.kicker)::before { display: none; } /* the kicker already carries the mark */
@media (min-width: 1024px) {
  .section-head:not(.section-head--center):not(.section-head--stack) {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    column-gap: clamp(3rem, 5vw, 6rem);
    align-items: end;
  }
  .section-head:not(.section-head--center):not(.section-head--stack) > :not(.section-lede) { grid-column: 1; }
  .section-head:not(.section-head--center):not(.section-head--stack) > .section-lede {
    grid-column: 2; grid-row: 1 / span 6; align-self: end;
    padding-bottom: 0.5rem; padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }
}
.section-head--center { text-align: center; max-width: 64rem; margin-inline: auto; justify-items: center; }
.section-head--center::before { margin-inline: auto; transform-origin: center; }
.section-head--left, .section-head--stack { text-align: left; }
.section-title {
  color: var(--ink);
  font-size: clamp(2.25rem, 1.4rem + 2.9vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-lede {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.22rem);
  line-height: 1.6;
  max-width: 40rem;
}
.surface-ink .section-head > .section-lede, .surface-red .section-head > .section-lede { border-color: rgba(255,255,255,0.16); }
.section-head--center .section-lede { margin-inline: auto; }
.surface-ink .section-title,
.surface-red .section-title { color: #fff; }
.surface-ink .section-lede { color: #d6d3d1; }
.surface-red .section-lede { color: rgba(255, 255, 255, 0.92); }
.surface-red .section-head::before { background: #fff; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-ink);
}
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.surface-ink .kicker, .on-dark .kicker { color: var(--red-glow); }

/* ── Cards ──────────────────────────────────────────────────────────────── */

/* Quiet surface card: hairline, no lift by default; on hover a red rule draws in along the
   top edge. Drawn with a pseudo-element so nothing shifts layout. */
.vc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
  overflow: hidden;
}
.vc-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .vc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -18px rgba(20, 20, 20, 0.28);
    border-color: transparent;
  }
  .vc-card:hover::after { transform: scaleX(1); }
}
.surface-ink .vc-card,
.vc-card--ink {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-ink);
  color: #fff;
}

/* Photo card: real job photo, ink gradient from the bottom only (no full veil), slow zoom. */
.vc-photo-card { position: relative; overflow: hidden; border-radius: 16px; isolation: isolate; }
.vc-photo-card .vc-photo {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 1.1s var(--ease-out);
}
.vc-photo-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.78) 45%, rgba(20,20,20,0.94) 100%);
  transition: opacity 0.5s;
}
.vc-photo-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .vc-photo-card:hover .vc-photo { transform: scale(1.06); }
  .vc-photo-card:hover::after { transform: scaleX(1); }
}

/* Icon tile: one color system for every icon — brand red on a red tint. Replaces the
   blue/gold/green/purple rainbow tiles. */
.vc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(227, 30, 36, 0.08);
  color: var(--red);
  transition: background 0.3s, color 0.3s, transform 0.45s var(--ease-out);
}
.vc-icon svg { width: 1.4rem; height: 1.4rem; }
.group:hover .vc-icon { background: var(--red); color: #fff; }
.surface-ink .vc-icon, .on-dark .vc-icon { background: rgba(255, 90, 95, 0.12); color: var(--red-glow); }

/* Bullet: small red square tick instead of glowing dots. */
.vc-tick { width: 6px; height: 6px; background: var(--red); flex-shrink: 0; margin-top: 0.55em; }

/* ── Links that act ─────────────────────────────────────────────────────── */

/* Secondary actions read as a label on a rule, not a button. The rule thickens on hover via
   inset box-shadow so it never shifts layout. */
.vc-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600;
  color: var(--red-ink);
  padding-bottom: 3px;
  box-shadow: inset 0 -1px 0 currentColor;
  transition: box-shadow 0.25s, gap 0.25s;
}
.vc-link:hover { box-shadow: inset 0 -2px 0 currentColor; gap: 0.7rem; }
.surface-ink .vc-link, .on-dark .vc-link { color: #fff; box-shadow: inset 0 -1px 0 var(--red-glow); }
.surface-ink .vc-link:hover, .on-dark .vc-link:hover { box-shadow: inset 0 -2px 0 var(--red-glow); }

/* Primary CTA: solid brand red (no gradient), a single light sweep on hover. */
.vc-cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--red) !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px -12px rgba(227, 30, 36, 0.7);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s !important;
}
.vc-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%);
}
@media (hover: hover) and (pointer: fine) {
  .vc-cta:hover { background: #c8161c !important; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(227, 30, 36, 0.8); }
  .vc-cta:hover::after { transform: translateX(120%); transition: transform 0.8s var(--ease-out); }
}
.vc-cta--light { background: #fff !important; color: var(--red-ink) !important; box-shadow: 0 10px 24px -12px rgba(0,0,0,0.45); }
.vc-cta--light:hover { background: #fff !important; }
.vc-ghost {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  transition: border-color 0.3s, background 0.3s !important;
}
.vc-ghost:hover { border-color: #fff !important; background: rgba(255, 255, 255, 0.08) !important; }
.vc-outline {
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--ink) !important;
  transition: background 0.3s, color 0.3s !important;
}
.vc-outline:hover { background: var(--ink) !important; color: #fff !important; }

/* Legacy gradient fills become the solid brand red site-wide. */
.gradient-primary { background: var(--red) !important; }
.gradient-hero { background: linear-gradient(160deg, #e31e24 0%, #c8161c 100%) !important; }

/* ── Decoration retired site-wide ───────────────────────────────────────── */
/* Holographic sweeps, particle fields, floating/glowing loops, light beams and glass blur
   are generic AI decoration (evaluation/ai-design-slop.md). Neutralised here so the ~20 pages
   that use them calm down without per-file edits. */
.animate-holographic, .holographic-card::before, .holographic-card::after,
.particle-bg::before, .light-beam::before { display: none !important; }
.animate-light-beam, .animate-float-3d, .animate-pulse-glow, .animate-pulse-light,
.animate-glow-pulse, .animate-bounce-loop, .animate-enzyme-dissolve, .animate-stretch-expand,
.animate-repair-fix, .animate-install-place, .animate-restore-emergency, .animate-metallic-shine {
  animation: none !important;
}
.animate-pulse-glow::after { display: none !important; }
.glass-effect, .glass-effect-dark { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* ── Hero ───────────────────────────────────────────────────────────────── */

.vc-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.vc-hero__photo {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform-origin: 60% 50%;
  animation: vc-drift 26s ease-in-out infinite alternate;
}
/* Directional ink: darkest behind the type, the photo opens up toward the edges, a warm red
   floor ties it to the brand. Not a flat veil. */
.vc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(14,14,14,0.72) 0%, rgba(14,14,14,0) 50%),
    radial-gradient(ellipse 65% 60% at 50% 50%, rgba(14,14,14,0.78) 0%, rgba(14,14,14,0.55) 60%, rgba(14,14,14,0.4) 100%),
    linear-gradient(180deg, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.2) 40%, rgba(120,10,14,0.55) 100%);
}
@keyframes vc-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.vc-hero__proof {
  display: flex; flex-wrap: wrap; justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.vc-hero__proof > * {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.875rem; font-weight: 500; color: rgba(255, 255, 255, 0.9);
}
.vc-hero__proof > * + * { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.18); }
.vc-hero__proof svg { color: var(--red-glow); width: 1.05rem; height: 1.05rem; }
@media (max-width: 639px) {
  .vc-hero__proof > * + * { box-shadow: none; }
  .vc-hero__proof > * { padding: 0.45rem 0.8rem; }
}
.vc-hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
}
.vc-hero__badge::before, .vc-hero__badge::after { content: ""; width: 22px; height: 2px; background: var(--red-glow); }

/* ── Stats as instrumentation: figures on hairline columns, no boxes ───── */

.vc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .vc-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vc-stats > * { padding: 1.75rem 1rem; text-align: center; }
.vc-stats > * + * { box-shadow: inset 1px 0 0 var(--line); }
@media (max-width: 767px) {
  .vc-stats > :nth-child(3) { box-shadow: none; }
  .vc-stats > :nth-child(n+3) { border-top: 1px solid var(--line); }
}
.vc-stat__value {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); line-height: 1; color: var(--ink);
}
.vc-stat__value::after { content: ""; display: block; width: 28px; height: 3px; background: var(--red); margin: 0.75rem auto 0.6rem; }
.vc-stat__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* ── Quotes ─────────────────────────────────────────────────────────────── */

.vc-quote { position: relative; padding-top: 3.25rem; }
.vc-quote::before {
  content: "\201C";
  position: absolute; top: -0.6rem; left: -0.1rem;
  font-family: var(--font-display); font-size: 6rem; line-height: 1; font-weight: 800;
  color: var(--red);
}

/* ── Scroll reveal ──────────────────────────────────────────────────────── */
/* Only armed once JS runs (html.vc-reveal), and lib/reveal.ts marks anything already in view
   as revealed before arming — so server-rendered content is never hidden, crawlers and no-JS
   visitors see everything, and nothing in the first screen flashes. */
html.vc-reveal [data-reveal]:not([data-shown]) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}
html.vc-reveal [data-reveal] {
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.vc-reveal .section-head[data-reveal]:not([data-shown])::before { transform: scaleX(0); }
html.vc-reveal .section-head[data-reveal]::before { transition: transform 0.9s var(--ease-out) 0.15s; }

@media (prefers-reduced-motion: reduce) {
  html.vc-reveal [data-reveal]:not([data-shown]) { opacity: 1; transform: none; }
  .vc-hero__photo { animation: none; transform: none; }
}

/* ══ Pass 2: subject-specific atmosphere ══════════════════════════════════
 * Everything below is drawn from the trade: groomed-carpet lanes, pile texture, the red
 * "clean pass" line, and real job photos. Decorative only — no text, aria-hidden.
 */

/* Groomed-carpet lanes: the light/dark stripes a freshly cleaned carpet shows. Wide, diagonal,
   very low contrast; drifts with scroll via --scroll (set by lib/reveal.ts). */
.bg-lanes { position: relative; isolation: isolate; }
.bg-lanes::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(
    112deg,
    rgba(20, 20, 20, 0) 0px,
    rgba(20, 20, 20, 0.032) 70px,
    rgba(20, 20, 20, 0) 140px,
    rgba(20, 20, 20, 0) 230px
  );
  background-position: calc(var(--scroll, 0) * -0.08px) 0;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.surface-ink.bg-lanes::after, .surface-red.bg-lanes::after {
  background-image: repeating-linear-gradient(112deg, rgba(255, 255, 255, 0) 0px, rgba(255, 255, 255, 0.04) 70px, rgba(255, 255, 255, 0) 140px, rgba(255, 255, 255, 0) 230px);
}

/* Pile texture: fine fractal noise, like carpet fibre under raking light. */
.bg-pile { position: relative; isolation: isolate; }
.bg-pile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.surface-ink.bg-pile::before { opacity: 0.9; mix-blend-mode: screen; filter: invert(1); }

/* Red glow fields on dark bands: two slow-moving light sources, not a static gradient. */
.bg-glow { position: relative; isolation: isolate; overflow: hidden; }
.bg-glow > .vc-glow {
  position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  width: 46rem; height: 46rem; filter: blur(90px); opacity: 0.38;
  background: radial-gradient(circle, #e31e24 0%, rgba(227, 30, 36, 0) 70%);
  animation: vc-glow-a 22s ease-in-out infinite alternate;
}
.bg-glow > .vc-glow--b {
  width: 34rem; height: 34rem; opacity: 0.22; right: -10rem; bottom: -14rem;
  background: radial-gradient(circle, #ff6a3d 0%, rgba(255, 106, 61, 0) 70%);
  animation-name: vc-glow-b; animation-duration: 28s;
}
.bg-glow > .vc-glow--a { left: -16rem; top: -18rem; }
@keyframes vc-glow-a { to { transform: translate3d(22rem, 10rem, 0) scale(1.15); } }
@keyframes vc-glow-b { to { transform: translate3d(-26rem, -8rem, 0) scale(0.9); } }

/* Icon plate v2: larger, layered — red icon on a plate with an inner hairline ring. */
.vc-plate {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; flex-shrink: 0; border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbf3f1 100%);
  box-shadow: inset 0 0 0 1px rgba(227, 30, 36, 0.18), 0 10px 22px -14px rgba(227, 30, 36, 0.55);
  color: var(--red);
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s, background 0.4s, color 0.4s;
}
.vc-plate svg { width: 2rem; height: 2rem; }
.group:hover .vc-plate { transform: translateY(-3px) rotate(-3deg); background: var(--red); color: #fff; box-shadow: 0 16px 30px -14px rgba(227, 30, 36, 0.8); }
.vc-plate--dark, .surface-ink .vc-plate {
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  box-shadow: inset 0 0 0 1px rgba(255, 90, 95, 0.35), 0 0 30px -6px rgba(227, 30, 36, 0.45);
  color: var(--red-glow);
}

/* Service marquee: the six services in huge outline type, drifting. Rendered client-side only
   (components/home/ServiceMarquee.tsx) so crawlers see no new text. */
.vc-marquee { overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(1.4rem, 3vw, 2.4rem); border-block: 1px solid #222; }
.vc-marquee__track { display: flex; width: max-content; animation: vc-marquee 48s linear infinite; }
.vc-marquee:hover .vc-marquee__track { animation-play-state: paused; }
.vc-marquee__item {
  display: inline-flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-right: clamp(1.5rem, 3vw, 3rem);
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(2.6rem, 1.5rem + 5vw, 6.5rem); text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.vc-marquee__item:nth-child(3n+1) { color: #fff; -webkit-text-stroke-color: #fff; }
.vc-marquee__item svg { width: 0.42em; height: 0.42em; color: var(--red); flex-shrink: 0; }
@keyframes vc-marquee { to { transform: translate3d(-50%, 0, 0); } }

/* Hero v2: left-aligned headline over the dark side of the photo, real proof card right. */
.vc-hero--split::before {
  background:
    linear-gradient(90deg, rgba(12,12,12,0.94) 0%, rgba(12,12,12,0.82) 38%, rgba(12,12,12,0.35) 70%, rgba(12,12,12,0.55) 100%),
    linear-gradient(180deg, rgba(12,12,12,0.6) 0%, rgba(12,12,12,0) 35%, rgba(110,8,12,0.6) 100%);
}
.vc-hero--split .vc-hero__proof { justify-content: flex-start; }
.vc-hero--split .vc-hero__proof > :first-child { padding-left: 0; }
.vc-hero--split .vc-hero__badge::after { display: none; }
.vc-hero__display {
  font-size: clamp(2.9rem, 1.4rem + 5.6vw, 6.4rem); line-height: 0.95; letter-spacing: -0.035em; font-weight: 800;
}

/* Real-job proof card: the red "clean pass" sweeps before → after on a loop. */
.vc-proof {
  position: relative; aspect-ratio: 3 / 4; width: 100%; max-width: 25rem; margin-left: auto;
  border-radius: 20px; overflow: hidden; background: #111;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(1.5deg);
}
.vc-proof img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-proof__after { clip-path: inset(0 0 0 var(--wipe, 0%)); }
.vc-proof__line {
  position: absolute; top: 0; bottom: 0; left: var(--wipe, 0%); width: 3px; margin-left: -1.5px;
  background: var(--red); box-shadow: 0 0 22px 4px rgba(227, 30, 36, 0.8);
}
.vc-proof__tag {
  position: absolute; top: 14px; padding: 5px 10px; border-radius: 4px;
  font: 700 0.7rem/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(12, 12, 12, 0.75); color: #fff;
}
.vc-proof__tag--before { left: 14px; }
.vc-proof__tag--after { right: 14px; background: var(--red); }
.vc-proof__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.9));
  color: #fff; font-size: 0.85rem; line-height: 1.35;
}
.vc-proof__cap b { display: block; font-family: var(--font-display); font-size: 1.05rem; }

/* Stats v2: numerals draw in as an outline, then fill. */
.vc-stat__value { -webkit-text-stroke: 1.5px var(--ink); }
html.vc-reveal .vc-stats[data-reveal]:not([data-shown]) .vc-stat__value { color: transparent; }
html.vc-reveal .vc-stats[data-reveal] .vc-stat__value { transition: color 0.9s var(--ease-out) 0.35s; }
.vc-stats > :hover .vc-stat__value { color: var(--red); -webkit-text-stroke-color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  .bg-glow > .vc-glow, .vc-marquee__track { animation: none; }
  .vc-proof { transform: none; }
}

/* ══ Pass 3: white sections get the carpet's woven backing ═══════════════════
 * Warp and weft: a fine hairline grid with a heavier thread every fourth line, faded toward the
 * edges, plus two warm light pools (brand red, ValuBux gold) that drift slowly so the section's
 * colour shifts as you read. Transform-only animation — no repaint. Decorative, aria-free.
 */
.surface-white { position: relative; isolation: isolate; overflow: clip; }
.surface-white::before {
  content: ""; position: absolute; inset: -48px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 42% at 18% 28%, rgba(227, 30, 36, 0.07), transparent 70%),
    radial-gradient(34% 38% at 84% 72%, rgba(244, 185, 66, 0.09), transparent 70%),
    repeating-linear-gradient(0deg, rgba(20, 20, 20, 0.05) 0 1px, transparent 1px 112px),
    repeating-linear-gradient(90deg, rgba(20, 20, 20, 0.05) 0 1px, transparent 1px 112px),
    repeating-linear-gradient(0deg, rgba(20, 20, 20, 0.028) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(20, 20, 20, 0.028) 0 1px, transparent 1px 28px);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 35%, transparent 90%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 35%, transparent 90%);
  animation: vc-weave-drift 34s ease-in-out infinite alternate;
}
@keyframes vc-weave-drift {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(28px, -18px, 0); }
  100% { transform: translate3d(-20px, 24px, 0); }
}
@media (prefers-reduced-motion: reduce) { .surface-white::before { animation: none; } }

/* Customer pages restyled by surface: legacy text colours meant for gray/white sections stay
   legible when their section became an ink or red band. */
.surface-ink :is(.text-gray-600, .text-gray-700, .text-muted-foreground):not(:where(.bg-card, .bg-white, .bg-gray-50, [data-slot="card"]) *) { color: #d6d3d1; }
.surface-red .text-muted-foreground:not(:where(.bg-card, .bg-white) *) { color: rgba(255,255,255,0.88); }

/* Dark text left over from white/gray sections that became ink bands (e.g. the city template's
   review quote): make it light unless it sits inside a light card. */
.surface-ink :is(.text-gray-900, .text-gray-800, .text-foreground):not(.bg-white, .bg-card, .bg-gray-50, .bg-gray-100):not(:where(.bg-card, .bg-white, .bg-gray-50, [data-slot="card"]) *) { color: #fff; }
.surface-ink .text-gray-500:not(:where(.bg-card, .bg-white, .bg-gray-50, [data-slot="card"]) *) { color: #a8a29e; }

/* ── Footer: one column with separators on phones; legal row never covered ── */
@media (max-width: 767px) {
  .vc-footer__grid > * { padding-block: 1.5rem; }
  .vc-footer__grid > :first-child { padding-top: 0; }
  .vc-footer__grid > * + * { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .vc-footer__grid h3 { margin-bottom: 0.9rem; }
  .vc-footer__grid ul { display: grid; gap: 0; }
  .vc-footer__grid li > a { display: block; padding-block: 0.7rem; } /* full-width ~44px tap rows */
  .vc-footer__grid li > a > span { display: inline; padding: 0; }
  /* Each link sits on its own hairline — fainter and thinner-looking than the section dividers,
     so the sections still read as the main breaks. Last row drops it (the section divider follows). */
  .vc-footer__grid li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .vc-footer__grid li:last-child { border-bottom: 0; }
  .vc-footer__grid .space-y-3 > * { padding-block: 0.6rem; margin: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .vc-footer__grid .space-y-3 > :last-child { border-bottom: 0; }
}
/* Clearance under the legal row: the floating round buttons (~4.5rem incl. offset), any sticky
   CTA bar (--vc-bar-h, set by the page while the bar shows), and the phone's home-indicator inset. */
.vc-footer__legal { padding-bottom: calc(5.5rem + var(--vc-bar-h, 0px) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) { .vc-footer__legal { padding-bottom: calc(6rem + var(--vc-bar-h, 0px)); } }
/* The floating chat button rides above a sticky CTA bar instead of sitting on it. */
.vc-float-lift { transform: translateY(calc(-1 * var(--vc-bar-h, 0px))); transition: transform 0.3s var(--ease-out); }
