/* =============================================================
   SERVICE-SITE KIT — base.css
   Structure only. Every colour, font, radius and rhythm value
   resolves from a theme token, so dropping in a different
   themes/*.css re-skins the whole page without touching markup.

   Extracted from: AlphaPaintingCorp, Deluxe-building,
   DosAmigosPainting.
   ============================================================= */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  line-height: var(--display-leading);
  letter-spacing: var(--display-tracking);
  color: var(--fg);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, var(--h1-max)); }
h2 { font-size: clamp(1.85rem, 3.8vw, var(--h2-max)); }
h3 { font-size: 1.15rem; font-weight: var(--h3-weight); letter-spacing: -0.015em; }
p  { color: var(--fg-muted); }
strong { color: var(--fg); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-eyebrow);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--eyebrow-color, var(--accent));
  margin-bottom: 14px;
}
/* themes that want a rule under the eyebrow set --eyebrow-rule: 1 */
.eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--eyebrow-color, var(--accent));
  opacity: calc(0.35 * var(--eyebrow-rule, 0));
  margin-top: 6px;
}
.lede { font-size: 1.06rem; max-width: 62ch; color: var(--fg-muted); }
.accent { color: var(--accent); }
/* opt-in metallic text — themes without a gradient fall back to flat accent */
.accent-grad {
  background: var(--accent-gradient, none);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: var(--accent-grad-fill, currentColor);
  color: var(--accent);
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.band { background: var(--bg); color: var(--fg); padding: var(--section-pad) 0; position: relative; }
.band--surface { --bg: var(--surface); }
.band--deep {
  --bg: var(--deep-bg); --fg: var(--deep-fg); --fg-muted: var(--deep-fg-muted);
  --line: var(--deep-line); --accent: var(--deep-accent); --surface-2: var(--deep-card);
  --eyebrow-color: var(--deep-accent);
}
/* NB: every value here reads a token that is NOT redefined in this same
   block. Writing `--bg: var(--accent)` beside `--accent: ...` resolves
   against the NEW --accent, not the inherited one — the band goes dark
   and its text disappears. Keep the accent-band-* tokens separate.     */
.band--accent {
  --bg:         var(--accent-band-bg);
  --fg:         var(--accent-band-fg);
  --fg-muted:   var(--accent-band-muted);
  --line:       var(--accent-band-line);
  --surface-2:  var(--accent-band-card);
  --accent:     var(--accent-band-fg);
  --accent-hi:  var(--accent-band-fg);
  --accent-fill:    var(--accent-band-fg);
  --accent-ink:     var(--accent-band-bg);
  --accent-line:    var(--accent-band-line);
  --accent-shadow:  none;
  --ghost-border:   var(--accent-band-fg);
  --eyebrow-color:  var(--accent-band-fg);
  --input-bg:       rgba(255,255,255,.12);
}
.band--flush { padding: 0; }

.section-head { max-width: 64ch; margin-bottom: var(--head-gap); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.section-head h2 + .lede { margin-top: 14px; }

.cards { display: grid; gap: var(--card-gap); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: var(--btn-weight);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: var(--btn-border-width) solid transparent;
  white-space: nowrap;
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t), border-color var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent-fill, var(--accent));
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: var(--accent-shadow, none);
}
.btn--primary:hover {
  background: var(--accent-hi); border-color: var(--accent-hi);
  box-shadow: var(--accent-shadow-hi, none);
}
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--ghost-border, currentColor); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 10px 24px; text-align: center;
  font-size: 13px; color: var(--fg-muted);
  position: relative; overflow: hidden;
  max-height: 60px;
  transition: max-height .3s ease, padding .3s ease, opacity .25s;
}
.announce.is-hidden { max-height: 0; padding: 0; opacity: 0; pointer-events: none; }
.announce a { color: var(--accent); font-weight: 600; }
.announce a:hover { text-decoration: underline; text-underline-offset: 2px; }
.announce__close {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--fg-muted); font-size: 16px; opacity: .6; transition: opacity .2s;
}
.announce__close:hover { opacity: 1; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 900;
  background: var(--nav-bg);
  backdrop-filter: var(--nav-blur); -webkit-backdrop-filter: var(--nav-blur);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.nav.is-scrolled { box-shadow: var(--nav-shadow); }
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__logo { height: var(--nav-logo-h); width: auto; object-fit: contain; }
.nav__wordmark {
  font-family: var(--font-display); font-weight: 800;
  font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
}
.nav__links { display: flex; align-items: center; gap: var(--nav-gap); }
.nav__links a {
  font-family: var(--font-display); font-size: .88rem; font-weight: 600;
  color: var(--fg-muted); padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--nav-underline, transparent); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__phone { font-family: var(--font-mono); font-size: .85rem; color: var(--fg); white-space: nowrap; }
.nav__cta { padding: 11px 18px; font-size: .85rem; }
.nav__burger {
  display: none; width: 44px; height: 40px;
  border: 1px solid var(--line); border-radius: var(--radius);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--fg); border-radius: 2px; }

.navmenu {
  display: none; position: fixed; inset: 0; z-index: 950;
  background: var(--bg);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.navmenu.is-open { display: flex; }
.navmenu a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--fg); }
.navmenu a:hover { color: var(--accent); }
.navmenu__close { position: absolute; top: 20px; right: 22px; color: var(--fg-muted); font-size: 26px; }

@media (max-width: 900px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }
}
/* below these widths the mark carries the brand and the sticky call bar
   carries the CTA, so both can leave the nav rather than collide in it */
@media (max-width: 560px) { .nav__wordmark { display: none; } }
@media (max-width: 420px) { .nav__cta { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: var(--hero-min-h);
  display: flex; flex-direction: column; justify-content: var(--hero-justify);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center 55%; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: var(--hero-scrim); }
.hero__glow {
  position: absolute; bottom: 15%; left: 5%; z-index: 1;
  width: 600px; height: 400px; pointer-events: none;
  background: radial-gradient(ellipse at center, var(--accent-glow, transparent) 0%, transparent 70%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(80px, 8vw, 120px) var(--gutter) clamp(56px, 6vw, 88px);
}
.hero__copy { max-width: 860px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-eyebrow); font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight); letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase; color: var(--eyebrow-color, var(--accent));
  border: 1px solid var(--eyebrow-color, var(--accent)); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 22px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; display: block; color: var(--accent); }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 56ch; color: var(--fg-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* trust chips — shared by hero and anywhere else */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px 12px; color: var(--fg-muted);
}
.chips li b { color: var(--fg); font-weight: 500; }

/* ---------- proof strip ---------- */
.proof { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; padding: 22px 0; }
.proof__item { padding: 8px 16px; border-left: 2px solid var(--accent); }
.proof__item b { display: block; font-family: var(--font-mono); font-size: .9rem; font-weight: 500; color: var(--accent); }
.proof__item span { display: block; margin-top: 3px; font-size: .79rem; line-height: 1.45; color: var(--fg-muted); }
@media (max-width: 960px) { .proof { grid-template-columns: repeat(2, 1fr); row-gap: 14px; } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.card__media { position: relative; height: 190px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after { content: ''; position: absolute; inset: 0; background: var(--media-scrim, none); }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__icon { font-size: 1.6rem; line-height: 1; }
.card__body p { font-size: .9rem; line-height: 1.65; }
.card__link {
  margin-top: auto; padding-top: 4px;
  font-family: var(--font-display); font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  transition: letter-spacing var(--t);
}
.card__link:hover { letter-spacing: .11em; }
.card ul { display: grid; gap: 6px; }
.card li { font-size: .88rem; color: var(--fg-muted); padding-left: 18px; position: relative; }
.card li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stat { background: var(--surface-2); padding: 36px 26px; text-align: center; }
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1;
  letter-spacing: -.03em; color: var(--accent);
  font-variant-numeric: tabular-nums; margin-bottom: 8px;
}
.stat__label {
  font-family: var(--font-eyebrow); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted);
}
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* ---------- before / after slider ---------- */
.ba {
  position: relative; overflow: hidden; user-select: none; cursor: ew-resize;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.ba__sizer { width: 100%; aspect-ratio: 16 / 7; display: block; visibility: hidden; }
/* The AFTER image is the base layer; BEFORE is overlaid and clipped to
   the left of the handle, so each tag sits over the image it names.   */
.ba__before, .ba__after { position: absolute; inset: 0; }
.ba__before img, .ba__after img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; pointer-events: none; }
.ba__before { clip-path: inset(0 50% 0 0); z-index: 2; }
.ba__after  { z-index: 1; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 3px; background: var(--accent); z-index: 10; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff; color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.4); z-index: 11;
}
.ba__tag {
  position: absolute; top: 16px; z-index: 12;
  font-family: var(--font-eyebrow); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--tag-bg); color: var(--tag-fg);
  padding: 5px 12px; border-radius: 4px;
}
.ba__tag--before { left: 16px; }
.ba__tag--after  { right: 16px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery__cell { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery__cell img { width: 100%; height: 200px; object-fit: cover; transition: transform .4s ease; }
.gallery__cell:hover img { transform: scale(1.04); }
.gallery__cell--tall { grid-row: span 2; }
.gallery__cell--tall img { height: 410px; }
.gallery__cell--wide { grid-column: span 2; }
.gallery__overlay {
  position: absolute; inset: 0; opacity: 0; transition: opacity var(--t);
  display: flex; align-items: flex-end; padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent 60%);
  font-family: var(--font-eyebrow); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.gallery__cell:hover .gallery__overlay { opacity: 1; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery__cell--wide { grid-column: span 2; } }
@media (max-width: 420px) { .gallery { grid-template-columns: 1fr; } .gallery__cell--wide, .gallery__cell--tall { grid-column: auto; grid-row: auto; } .gallery__cell--tall img { height: 200px; } }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--card-gap); counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -2px; left: 0;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; color: var(--accent);
  background: var(--bg); padding-right: 12px; transform: translateY(-50%);
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .9rem; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap); }
.quote {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.quote__stars { color: var(--accent); font-size: 1rem; letter-spacing: .12em; }
.quote p { font-size: .95rem; line-height: 1.7; }
.quote__who { margin-top: auto; font-size: .82rem; color: var(--fg-muted); }
.quote__who b { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--fg); }

/* ---------- offer + form ---------- */
.offer { display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: start; }
.form {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-eyebrow); font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted);
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--input-bg);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 15px; font-size: .95rem; outline: none;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.form__note { font-size: 12px; color: var(--fg-muted); text-align: center; }
.success {
  display: none; text-align: center; padding: 40px 24px;
  border: 1px solid var(--accent-line); border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.success.is-shown { display: block; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--fg);
}
.faq__q::after {
  content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform var(--t);
}
.faq__q.is-open::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq__a.is-open { max-height: 480px; padding-bottom: 24px; }
.faq__a p { font-size: .95rem; line-height: 1.72; }

/* ---------- final cta band ---------- */
.ctaband { text-align: center; }
.ctaband h2 { margin-bottom: 14px; }
.ctaband .lede { margin: 0 auto 28px; }
.ctaband .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.footer { background: var(--deep-bg); color: var(--deep-fg); padding: 64px 0 28px; border-top: 1px solid var(--deep-line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer h4 {
  font-family: var(--font-eyebrow); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--deep-accent); margin-bottom: 16px;
}
.footer li { margin-bottom: 9px; }
.footer a, .footer p { font-size: .88rem; color: var(--deep-fg-muted); }
.footer a:hover { color: var(--deep-accent); }
.footer__bottom {
  border-top: 1px solid var(--deep-line); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .78rem; color: var(--deep-fg-muted);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- sticky mobile call bar ---------- */
.mobilebar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 890;
  background: var(--nav-bg); backdrop-filter: var(--nav-blur); -webkit-backdrop-filter: var(--nav-blur);
  border-top: 1px solid var(--line); padding: 12px 16px 16px; gap: 10px;
}
.mobilebar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 800;
  padding: 13px; border-radius: var(--radius);
}
.mobilebar a:first-child { background: var(--accent); color: var(--accent-ink); }
.mobilebar a:last-child { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
@media (max-width: 768px) { .mobilebar { display: flex; } body { padding-bottom: 82px; } }

/* ---------- exit popup ---------- */
.popup {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.popup.is-open { display: flex; }
.popup__box {
  position: relative; width: 100%; max-width: 480px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 44px 38px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.popup__close { position: absolute; top: 16px; right: 18px; color: var(--fg-muted); font-size: 20px; }
.popup__rule { width: 48px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 20px; }
.popup__box h3 { font-size: 1.45rem; margin-bottom: 10px; }
.popup__box p { font-size: .9rem; margin-bottom: 22px; }
.popup__decline { display: block; width: 100%; margin-top: 10px; font-size: 12px; color: var(--fg-muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive collapse ---------- */
@media (max-width: 1000px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards--2, .cards--3, .cards--4, .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
}

/* =============================================================
   SECOND PASS — components the later sites added
   Everything below came out of AlphaPaintingCorp (calculator,
   credentials, service-area grid, swatch deck) and next-level
   (skip link, announcement rotator, language toggle, consent,
   interior page hero, file field). Each is optional: nothing
   above depends on any of it.
   ============================================================= */

/* ---------- skip link ---------- */
/* First focusable element on the page. Off-screen until focused. */
.skiplink {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 1200; padding: 10px 20px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: .85rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform .18s ease;
}
.skiplink:focus { transform: translate(-50%, 0); }

/* ---------- announcement rotator ---------- */
/* Opt-in variant of .announce: several messages, one at a time.
   Without JS the first slide shows and the rest stay hidden. */
.announce--rotator .announce__track { position: relative; min-height: 1.3em; }
.announce__slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
.announce__slide.is-active { opacity: 1; pointer-events: auto; }
.announce__slide b { color: var(--accent); font-weight: 600; }

/* ---------- language toggle ---------- */
/* Pairs with [data-en]/[data-es] on any text node. */
.langtoggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.langtoggle__btn {
  padding: 5px 11px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--fg-muted);
  background: transparent; border: 0; cursor: pointer;
  transition: background var(--t), color var(--t);
}
.langtoggle__btn.is-active { background: var(--accent); color: var(--accent-ink); }
.langtoggle__btn:not(.is-active):hover { color: var(--fg); background: var(--accent-soft); }
/* suppress the flash while kit.js swaps copy on first paint */
.lang-swapping [data-en] { opacity: 0; }
[data-en] { transition: opacity .15s ease; }

/* ---------- interior page hero ---------- */
/* Shorter than .hero, no media, for /about, /privacy, city pages. */
.pagehero {
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: calc(var(--nav-h) + 48px) 0 48px;
}
.pagehero h1 { max-width: 16ch; }
.pagehero p { margin-top: 14px; max-width: 60ch; color: var(--fg-muted); }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted);
}
.breadcrumb a { color: var(--fg-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: .5; }

/* ---------- credentials ---------- */
/* Licence, bond, insurance, warranty. Every item must be checkable —
   same rule as the proof strip. .cred__id takes the mono face. */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--card-gap); }
.cred {
  padding: 22px; background: var(--surface-2);
  border: 1px solid var(--line); border-left: 2px solid var(--accent);
  border-radius: var(--radius);
}
.cred__icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 12px; }
.cred h3 { font-size: 1rem; margin-bottom: 5px; }
.cred__id { display: block; font-size: .85rem; color: var(--accent); margin-bottom: 6px; }
.cred p { font-size: .85rem; line-height: 1.55; color: var(--fg-muted); }
.cred a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } }

/* ---------- service-area grid ---------- */
/* The SEO block. Keep it to towns actually served — a padded list
   is the fastest way to lose a local ranking. */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.city {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .9rem; transition: border-color var(--t), background var(--t);
}
.city::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
.city:hover { border-color: var(--accent-line); background: var(--accent-soft); }
a.city { color: inherit; }
a.city:hover { color: var(--accent); }
@media (max-width: 900px) { .cities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cities { grid-template-columns: 1fr; } }

/* ---------- swatch deck ---------- */
/* Colour chips as a fan deck. Decorative — give each chip a title. */
.deck { display: flex; flex-wrap: wrap; gap: 0; border-radius: var(--radius); overflow: hidden; }
.deck__chip {
  flex: 1 1 0; min-width: 84px; aspect-ratio: 3 / 4;
  display: flex; align-items: flex-end; padding: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em;
  transition: transform var(--t);
}
.deck__chip:hover { transform: translateY(-6px); }
@media (max-width: 600px) { .deck__chip { min-width: 25%; aspect-ratio: 1; } }

/* ---------- estimate calculator ---------- */
/* Ranges in, a range out. It is a conversation-starter, not a quote —
   .calc__note says so and is not optional. */
.calc {
  display: grid; grid-template-columns: 1fr 340px; gap: 40px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
}
.calc__ctrls { display: flex; flex-direction: column; gap: 22px; }
.calc__ctrl { display: flex; flex-direction: column; gap: 9px; }
.calc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc__top label {
  font-family: var(--font-eyebrow); font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted);
}
.calc__val { font-family: var(--font-mono); font-size: .95rem; color: var(--accent); }
.calc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; background: var(--line); border-radius: 2px; outline: none; }
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); cursor: pointer; box-shadow: var(--accent-shadow);
}
.calc__range::-moz-range-thumb {
  width: 18px; height: 18px; border: 0; border-radius: 50%;
  background: var(--accent); cursor: pointer;
}
.calc__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__pill {
  padding: 8px 14px; font-size: .85rem;
  background: transparent; color: var(--fg-muted);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: all var(--t);
}
.calc__pill.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.calc__out {
  display: flex; flex-direction: column; justify-content: center;
  padding: 26px; text-align: center;
  background: var(--bg); border: 1px solid var(--accent-line); border-radius: var(--radius);
}
.calc__figure {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: var(--display-weight); line-height: 1.05; color: var(--accent);
  text-shadow: var(--glow-text);
}
.calc__unit { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); }
.calc__note { margin-top: 16px; font-size: 12px; line-height: 1.5; color: var(--fg-muted); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; gap: 28px; padding: 24px; } }

/* ---------- file field + inline form error ---------- */
.field--file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field--file .field__drop {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 15px; cursor: pointer;
  background: var(--input-bg); border: 1px dashed var(--line); border-radius: var(--radius);
  font-size: .9rem; color: var(--fg-muted);
  transition: border-color var(--t), color var(--t);
}
.field--file .field__drop:hover { border-color: var(--accent); color: var(--fg); }
.field--file input[type="file"]:focus + .field__drop { border-color: var(--accent); }
.form__error {
  display: none; padding: 11px 14px;
  border: 1px solid var(--accent-2); border-left-width: 3px; border-radius: var(--radius);
  background: var(--accent-soft);
  font-size: .85rem; color: var(--fg);
}
.form__error.is-shown { display: block; }

/* ---------- cookie consent ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%);
  z-index: 1100; width: min(680px, calc(100vw - 32px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transition: transform .35s ease;
}
.cookie.is-open { transform: translate(-50%, 0); }
.cookie p { flex: 1 1 280px; font-size: .85rem; line-height: 1.5; color: var(--fg-muted); }
.cookie p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie__btns { display: flex; gap: 9px; flex: none; }
.cookie__modal {
  position: fixed; inset: 0; z-index: 1150;
  display: none; align-items: center; justify-content: center; padding: 24px;
  background: rgba(0,0,0,.65);
}
.cookie__modal.is-open { display: flex; }
.cookie__box {
  width: min(520px, 100%); max-height: 84vh; overflow-y: auto;
  padding: 30px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.cookie__row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.cookie__row:last-of-type { border-bottom: 0; }
.cookie__row h4 { font-size: .92rem; margin-bottom: 4px; }
.cookie__row p { font-size: .8rem; line-height: 1.5; color: var(--fg-muted); }
.switch { position: relative; flex: none; width: 42px; height: 24px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track {
  position: absolute; inset: 0; border-radius: 999px;
  background: var(--line); transition: background var(--t); pointer-events: none;
}
.switch__track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--fg); transition: transform var(--t);
}
.switch input:checked + .switch__track { background: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(18px); background: var(--accent-ink); }
.switch input:disabled + .switch__track { opacity: .5; }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) {
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie__btns { justify-content: stretch; }
  .cookie__btns .btn { flex: 1; }
}
