/* ==========================================================================
   AA Appliance Service & Sales — Design System
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — sampled from the logo */
  --red-600:      #d81324;
  --red-700:      #b30f1d;
  --red-500:      #ef2233;
  --red-50:       #fdeced;
  --ink-900:      #16181d;
  --ink-800:      #1f232b;
  --ink-700:      #2c313b;
  --ink-500:      #5b626f;
  --ink-400:      #7d8593;
  --ink-300:      #aab1bd;
  --line:         #e4e7ec;
  --surface:      #ffffff;
  --surface-2:    #f6f7f9;
  --surface-3:    #eef0f4;
  --success:      #10794f;
  --amber:        #f5a524;

  /* Type */
  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0:  clamp(0.98rem, 0.95rem + 0.16vw, 1.06rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.34vw, 1.35rem);
  --step-2:  clamp(1.42rem, 1.28rem + 0.68vw, 1.85rem);
  --step-3:  clamp(1.85rem, 1.58rem + 1.32vw, 2.65rem);
  --step-4:  clamp(2.35rem, 1.85rem + 2.45vw, 3.9rem);
  --step-5:  clamp(2.9rem, 2.05rem + 4.1vw, 5.2rem);

  /* Space */
  --gap-xs: 0.5rem;
  --gap-s:  0.875rem;
  --gap-m:  1.5rem;
  --gap-l:  2.5rem;
  --gap-xl: 4rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Shape & depth */
  --r-s:  6px;
  --r-m:  12px;
  --r-l:  20px;
  --r-xl: 28px;
  --shadow-s:  0 1px 2px rgba(22, 24, 29, .06), 0 2px 6px rgba(22, 24, 29, .05);
  --shadow-m:  0 4px 10px rgba(22, 24, 29, .07), 0 12px 28px rgba(22, 24, 29, .08);
  --shadow-l:  0 10px 24px rgba(22, 24, 29, .09), 0 28px 60px rgba(22, 24, 29, .12);
  --shadow-red: 0 8px 22px rgba(216, 19, 36, .28);

  --wrap: 1200px;
  --wrap-narrow: 860px;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* both default to `margin: 1em 40px` in the UA sheet - that quietly ate 80px
   of width each inside the testimonial cards, which only became obvious on a
   phone where it squeezed the quote to a three-word column. */
figure, blockquote { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0 0 var(--gap-s);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 var(--gap-s); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--red-500); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--ink-900); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-s) var(--r-s); transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
@media (max-width: 480px) { .wrap, .wrap-narrow { width: min(100% - 2rem, var(--wrap)); } }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--ink-900); color: #cfd4dd; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: var(--gap-m); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* Section heading block */
.head { max-width: 660px; margin-bottom: var(--gap-l); }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-size: var(--step--1); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red-600);
  margin-bottom: .75rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--red-600); border-radius: 2px;
}
.head--center .eyebrow::after {
  content: ''; width: 26px; height: 2px; background: var(--red-600); border-radius: 2px;
}
.section--dark .eyebrow { color: #ff5d6b; }
.section--dark .eyebrow::before, .section--dark .eyebrow::after { background: #ff5d6b; }
.lede { font-size: var(--step-1); color: var(--ink-500); line-height: 1.6; }
.section--dark .lede { color: #a8b0bd; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--red-600); --btn-fg: #fff; --btn-bd: var(--red-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd); border-radius: 999px;
  font-weight: 700; font-size: var(--step-0); letter-spacing: .01em;
  cursor: pointer; text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  box-shadow: var(--shadow-red);
}
.btn:hover { transform: translateY(-2px); background: var(--red-700); border-color: var(--red-700); box-shadow: 0 12px 28px rgba(216,19,36,.34); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--ink-300); box-shadow: none; }
.btn--ghost:hover { background: var(--ink-900); border-color: var(--ink-900); color: #fff; box-shadow: var(--shadow-m); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink-900); --btn-bd: #fff; box-shadow: var(--shadow-m); }
.btn--light:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); box-shadow: none; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--ink-900); }
.btn--sm { padding: .6rem 1.15rem; font-size: var(--step--1); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--red-600); font-size: var(--step--1);
  letter-spacing: .04em; text-transform: uppercase;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
/* Top bar: one job only - put the phone number in front of the visitor at a size
   they can read across the room. Brand red so it separates hard from the white
   header sitting under it. */
.topbar { background: var(--red-600); color: #fff; padding: .35rem 0; }
.topbar__inner { display: flex; align-items: center; justify-content: center; }
.topbar__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.75rem);
  line-height: 1.15; letter-spacing: .015em; color: #fff;
  padding: .15rem .5rem; border-radius: var(--r-s);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.topbar__phone svg { width: .78em; height: .78em; flex: none; stroke-width: 2.1; }
.topbar__phone:hover { transform: scale(1.03); opacity: .92; }
.topbar__phone:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-m); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-m); min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
@media (max-width: 420px) { .brand img { height: 34px; } }

.nav__menu { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  position: relative; display: block; padding: .6rem .85rem;
  font-weight: 600; font-size: .95rem; color: var(--ink-700); border-radius: var(--r-s);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px;
  background: var(--red-600); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--ink-900); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--red-600); }
.nav__actions { display: flex; align-items: center; gap: .6rem; flex: none; }
/* The top bar already shows the number at full size, so the sticky header keeps
   an icon-only call button: still one tap away once the bar scrolls off, without
   printing the same number twice. The number stays in the accessibility tree. */
.nav__phone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none;
  background: var(--red-50); color: var(--red-600); border-radius: 50%;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
.nav__phone svg { width: 21px; height: 21px; }
.nav__phone:hover { background: var(--red-600); color: #fff; transform: translateY(-2px); }
.nav__phone span {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.nav__toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-m);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle span { display: block; position: relative; width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: background .2s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1000px) {
  /* .site-header uses backdrop-filter for its frosted-glass look. backdrop-filter
     (like transform/filter/perspective) creates a new containing block for any
     position:fixed descendant - and #primary-menu.nav__menu, the off-canvas drawer,
     lives inside <header>. Without this override, the drawer's `inset: 0` resolves
     against the HEADER's own ~76px box instead of the viewport: it opens as a
     scrollable sliver pinned near the top showing only the first link, with the
     rest of the page visible underneath. Swapping the blur for a near-opaque solid
     fill at exactly the breakpoint where the drawer exists removes the containing
     block and costs nothing visually - the header is barely tall enough for the
     blur to read as anything more than a soft edge anyway at this width. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.98); }

  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: #fff; padding: 6rem 1.5rem 2rem; box-shadow: var(--shadow-l);
    transform: translateX(100%); transition: transform .38s var(--ease);
    overflow-y: auto; z-index: 120;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link { padding: 1rem .25rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__menu .btn { margin-top: 1.5rem; }
  .nav__toggle { position: relative; z-index: 130; }
  /* z-index here is compared against .site-header (z:100), NOT against .nav__menu
     (z:120) or .nav__toggle (z:130) directly - both of those live INSIDE the header,
     which is itself a stacking context (position:sticky + z-index). A descendant's
     z-index never escapes its ancestor's stacking context, so at 110 this backdrop
     out-ranked the header as a whole and painted - and hit-tested clicks - above
     the entire drawer. Visually the drawer still looked fine (its own opaque white
     background painted over the backdrop's semi-transparent black just fine at that
     point), but every tap on a link landed on the backdrop instead, which only
     closes the menu. That is why links appeared to do nothing.
     Keeping this below --site-header's z:100 (and still above .callbar's z:90) lets
     the header - and everything legitimately stacked inside it - win the root-level
     comparison, so the drawer is on top for clicks as well as for paint. */
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(22,24,29,.5); z-index: 95;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (min-width: 1001px) { .nav__menu .btn { display: none; } }
@media (max-width: 1200px) { .nav__cta { display: none; } }

/* ---------- 6. Hero ---------- */
/* Light hero. The dark variant is one line away: set --hero-bg to var(--ink-900)
   and --hero-fg to #fff, and the rest of the block follows the tokens. */
.hero {
  --hero-bg: linear-gradient(160deg, #fff 0%, #f7f9fc 45%, #eef3f9 100%);
  --hero-fg: var(--ink-900);
  --hero-muted: var(--ink-500);
  --hero-line: rgba(22, 24, 29, .1);
  position: relative; background: var(--hero-bg); color: var(--hero-fg); overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 60% at 88% 18%, rgba(216, 19, 36, .07), transparent 70%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: var(--gap-xl);
  align-items: center; padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.hero__pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1.1rem; margin-bottom: 1.1rem;
  background: #fff; border: 1px solid var(--hero-line); border-radius: 999px;
  font-size: var(--step--1); font-weight: 700; color: var(--red-600);
  box-shadow: var(--shadow-s);
}

/* live-status dot in the pill (its old home in the top bar is gone) */
.dot-live {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #2fd07a; box-shadow: 0 0 0 0 rgba(47, 208, 122, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(47, 208, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 208, 122, 0); }
}

/* The global h1 step tops out at 5.2rem, which pushed the CTAs below the fold
   here. The hero headline runs to three lines, so it wants its own smaller scale. */
.hero h1 {
  color: var(--hero-fg); margin-bottom: 1rem;
  font-size: clamp(2.3rem, 1.7rem + 2.3vw, 3.5rem); line-height: 1.04;
}
.hero h1 em { font-style: normal; color: var(--red-600); display: block; }
.hero__lede { font-size: var(--step-1); color: var(--hero-muted); max-width: 54ch; margin-bottom: 1.1rem; }

/* Trust chip under the lede. Holds the live Google rating once one is fetched. */
.hero__rating {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem 1rem; margin-bottom: 1.4rem;
  background: #fff; border: 1px solid var(--hero-line); border-radius: var(--r-m);
  box-shadow: var(--shadow-s); font-size: .93rem;
}
.hero__rating svg { width: 19px; height: 19px; color: var(--red-600); flex: none; }
/* keep the label intact and let only the detail wrap - "Locally owned" was
   breaking across two lines on a 360px screen */
.hero__rating { flex-wrap: wrap; }
.hero__rating b { color: var(--ink-900); font-weight: 700; white-space: nowrap; }
.hero__rating span { color: var(--ink-500); }
.hero__rating .stars { display: inline-flex; gap: .1rem; color: var(--amber); }
.hero__rating .stars svg { width: 16px; height: 16px; color: var(--amber); }

.hero__ticks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: .7rem 1.5rem; margin-bottom: var(--gap-m);
}
.hero__ticks li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .97rem; font-weight: 600; color: var(--ink-700); line-height: 1.4;
}
.hero__ticks svg {
  width: 22px; height: 22px; flex: none; padding: 4px; margin-top: .05em;
  background: var(--red-600); color: #fff; border-radius: 50%; stroke-width: 3.5;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: var(--gap-m); }
.hero__proof {
  display: flex; flex-wrap: wrap; gap: var(--gap-m) var(--gap-l);
  border-top: 1px solid var(--hero-line); padding-top: var(--gap-m);
}
.hero__stat b {
  display: block; font-family: var(--font-display); font-size: var(--step-3);
  color: var(--red-600); line-height: 1;
}
/* Direct child only. The counters are <b><span data-count>…</span></b>, so an
   unscoped `.hero__stat span` also matched the number and shrank it to label size. */
.hero__stat > span { font-size: var(--step--1); color: var(--hero-muted); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--r-xl); box-shadow: var(--shadow-l);
}

/* Floating cards, mirroring the reference layout: one clearing the top-right
   corner, one the bottom-left, so neither sits over the shop signage. */
.hero__card {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  background: #fff; color: var(--ink-900); padding: .8rem 1.1rem;
  border-radius: var(--r-m); box-shadow: var(--shadow-l); max-width: 265px;
}
.hero__card svg {
  width: 38px; height: 38px; flex: none; padding: 9px;
  background: var(--red-50); color: var(--red-600); border-radius: 11px;
}
.hero__card b { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; }
.hero__card span { font-size: .78rem; color: var(--ink-500); line-height: 1.35; display: block; }
.hero__card--top    { top: -18px; right: -14px; }
.hero__card--bottom { bottom: -18px; left: -14px; }

@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--gap-l); }
  .hero__media { order: -1; margin-bottom: 1.75rem; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .hero__card--top    { top: -14px; right: 8px; }
  .hero__card--bottom { bottom: -22px; left: 8px; }
}
@media (max-width: 620px) {
  /* Overlapping cards eat the image on a phone - stack them underneath instead. */
  .hero__media { margin-bottom: 0; }
  .hero__card { position: static; max-width: none; margin-top: .75rem; }
  .hero__ticks { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--ink-900); color: #fff; padding-block: clamp(3rem, 2rem + 4vw, 5rem); overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 90% at 85% 0%, rgba(216,19,36,.25), transparent 60%); pointer-events: none; }
.page-hero__inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #b4bcc9; font-size: var(--step-1); margin-top: .75rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--step--1); color: #8b94a3; margin-bottom: 1rem; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #5d6674; }

/* ---------- 7. Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.trust__item {
  display: flex; align-items: center; gap: .9rem; padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line);
}
.trust__item:last-child { border-right: 0; }
.trust__item svg { width: 30px; height: 30px; color: var(--red-600); flex: none; }
.trust__item b { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink-900); line-height: 1.15; }
.trust__item span { font-size: var(--step--1); color: var(--ink-500); }
@media (max-width: 700px) { .trust__item { border-right: 0; border-bottom: 1px solid var(--line); } .trust__item:last-child { border-bottom: 0; } }

/* ---------- 8. Service cards ---------- */
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: transparent; }
.svc-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface-3); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__icon {
  position: absolute; right: 1rem; bottom: -22px;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--red-600); color: #fff; border-radius: 14px; box-shadow: var(--shadow-red);
}
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card__body { padding: 1.6rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { margin-bottom: .5rem; }
.svc-card__body p { color: var(--ink-500); font-size: .95rem; margin-bottom: 1rem; }
.svc-card__list { margin-bottom: 1.25rem; display: grid; gap: .35rem; }
.svc-card__list li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--ink-500); }
.svc-card__list li::before {
  content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px;
  background: var(--red-600); border-radius: 2px; transform: rotate(45deg);
}
.svc-card__foot { margin-top: auto; padding-top: .5rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; }

/* ---------- 9. Feature / step / value cards ---------- */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.75rem 1.5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.feature__ico {
  width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--red-50); color: var(--red-600); border-radius: 16px;
}
.feature__ico svg { width: 27px; height: 27px; }
.feature h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.feature p { color: var(--ink-500); font-size: .95rem; }
.section--dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--dark .feature p { color: #9aa3b1; }
.section--dark .feature__ico { background: rgba(216,19,36,.16); color: #ff5d6b; }

.step { position: relative; padding-left: 4.5rem; }
.step__num {
  position: absolute; left: 0; top: 0; width: 54px; height: 54px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--ink-900); color: #fff;
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 700;
}
.step h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.step p { color: var(--ink-500); font-size: .95rem; }
.steps { position: relative; }
.steps .step:not(:last-child) { padding-bottom: 2.25rem; }
.steps--flow { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.steps--flow .step:not(:last-child) { padding-bottom: 0; }

/* ---------- 10. Split media section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl); align-items: center; }
.split--reverse .split__media { order: 2; }
.split--wide { grid-template-columns: 1.45fr .85fr; align-items: start; gap: var(--gap-l); }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-m); }
.split__badge {
  position: absolute; right: -16px; top: -16px;
  background: var(--red-600); color: #fff; border-radius: var(--r-l);
  padding: 1rem 1.3rem; box-shadow: var(--shadow-red); text-align: center;
}
.split__badge b { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.split__badge span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: var(--gap-l); }
  .split--reverse .split__media { order: 0; }
  .split__badge { right: 12px; top: 12px; }
}

.ticks { display: grid; gap: .7rem; margin: var(--gap-m) 0; }
.ticks li { position: relative; padding-left: 2.1rem; color: var(--ink-700); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .18em; width: 22px; height: 22px;
  background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d81324' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-radius: 50%;
}
.section--dark .ticks li { color: #c3cad5; }

/* ---------- 11. Brands ---------- */
.brand-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brand-track { display: flex; gap: .85rem; width: max-content; animation: scroll-x 64s linear infinite; }
.brand-marquee:hover .brand-track,
.brand-marquee:focus-within .brand-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

.brand-chip {
  display: grid; place-items: center;
  min-width: 172px; height: 88px; padding: 1rem 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-400);
  transition: color .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease), box-shadow .25s var(--ease);
}
.brand-chip:hover { color: var(--ink-900); border-color: var(--ink-300); transform: translateY(-3px); box-shadow: var(--shadow-s); }

/* real logo artwork, swapped in by initBrandLogos() when the file exists.
   Shown in each brand's own colours - the chip lift on hover carries the
   interaction, so the logos never need to be desaturated to stay calm. */
.brand-chip__img {
  max-height: 34px; max-width: 124px; width: auto; object-fit: contain;
}


/* An infinite marquee plus the global animation-duration override would spin at
   .001ms per loop, which is far worse than the motion it replaces. Stop it
   outright and let the strip be scrolled by hand instead. */
@media (prefers-reduced-motion: reduce) {
  .brand-marquee { overflow-x: auto; }
  .brand-track { animation: none; }
  .brand-track [aria-hidden="true"] { display: none; }
}

/* ---------- 12. Testimonials ---------- */
.slider { position: relative; }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; transition: transform .55s var(--ease); }
.slider__slide { flex: 0 0 100%; padding: .5rem; }
@media (min-width: 760px)  { .slider__slide { flex-basis: 50%; } }
@media (min-width: 1080px) { .slider__slide { flex-basis: 33.3333%; } }

.quote {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 1.9rem 1.6rem; display: flex; flex-direction: column; gap: .9rem;
  box-shadow: var(--shadow-s);
}
.quote__stars { display: flex; gap: .18rem; color: var(--amber); }
.quote__stars svg { width: 18px; height: 18px; }
.quote p { font-size: 1rem; color: var(--ink-700); line-height: 1.7; flex: 1; }
.quote__who { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.quote__avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  object-fit: cover; background: var(--surface-3);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line);
}
/* initials fallback, used wherever there's no customer photo */
.quote__avatar--initials {
  display: grid; place-items: center;
  background: var(--ink-900); color: #fff;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  box-shadow: none;
}
.quote__who b { display: block; color: var(--ink-900); font-size: .95rem; }
.quote__meta { font-size: .8rem; color: var(--ink-400); }

/* Used instead of the slider when there are too few reviews to scroll. */
.quote-grid__inner {
  display: grid; gap: var(--gap-m); justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  max-width: 820px; margin-inline: auto;
}

.slider__nav { display: flex; gap: .6rem; justify-content: center; margin-top: var(--gap-m); }
.slider__btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.slider__btn svg { width: 20px; height: 20px; }
.slider__btn:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.slider__btn[disabled] { opacity: .35; cursor: not-allowed; }
.slider__btn[disabled]:hover { background: #fff; color: inherit; border-color: var(--line); }

/* Appliance photo slider. Reuses the .slider module (arrows + swipe come free);
   only the slide width and card styling differ from the testimonial variant. */
.slider--appliances .slider__slide { flex: 0 0 50%; }
@media (min-width: 560px)  { .slider--appliances .slider__slide { flex-basis: 33.3333%; } }
@media (min-width: 860px)  { .slider--appliances .slider__slide { flex-basis: 25%; } }
@media (min-width: 1140px) { .slider--appliances .slider__slide { flex-basis: 20%; } }

.appliance-card {
  display: block; height: 100%; text-align: center;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 1.1rem 1rem 1.2rem;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
/* The tile keeps its colour on hover: prepare-appliances.ps1 repaints each photo's
   studio backdrop to exactly --surface-2, so the image edge is invisible against
   the tile. Changing the background on hover would expose it as a grey square. */
.appliance-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: var(--ink-300); }
.appliance-card img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  transition: transform .35s var(--ease);
}
.appliance-card:hover img { transform: scale(1.04); }
.appliance-card b {
  display: block; margin-top: .6rem;
  font-family: var(--font-display); font-size: 1.12rem; color: var(--ink-900); line-height: 1.2;
}

/* ---------- 13. Areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: .6rem; }
.area-chip {
  display: flex; align-items: center; gap: .55rem; padding: .8rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m);
  font-size: .92rem; font-weight: 600; color: var(--ink-700);
  transition: border-color .22s var(--ease), transform .22s var(--ease), color .22s var(--ease);
}
.area-chip svg { width: 16px; height: 16px; color: var(--red-600); flex: none; }
.area-chip:hover { border-color: var(--red-600); color: var(--red-600); transform: translateY(-2px); }

/* Region columns on the home page. Each is a <details>: open on desktop, collapsed
   on a phone (set by initAreaCols) - 96 links stacked in one column would otherwise
   bury everything below this section. */
.area-cols {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 216px), 1fr));
  align-items: start;
}
.area-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 1.35rem 1.25rem;
}
.area-col__head {
  display: flex; align-items: center; gap: .5rem; cursor: pointer;
  padding-bottom: .75rem; border-bottom: 1px solid var(--line); margin-bottom: .75rem;
  list-style: none;
}
.area-col__head::-webkit-details-marker { display: none; }
.area-col__head svg { width: 17px; height: 17px; color: var(--red-600); flex: none; }
.area-col__head h3 { font-size: 1.1rem; margin: 0; }
.area-col__list { display: grid; }
.area-col__list a {
  display: block; padding: .28rem 0; font-size: .87rem; color: var(--ink-500);
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}
.area-col__list a:hover { color: var(--red-600); padding-left: .25rem; }

/* On a touch device the cards stay open above 760px, so these 80 links need a
   real target height there too - on a phone they're inside a collapsed <details>
   and measure zero, which is why the width-based rule alone missed them. */
@media (pointer: coarse) {
  .area-col__list a { display: flex; align-items: center; min-height: 44px; }
}

@media (max-width: 760px) {
  .area-cols { grid-template-columns: 1fr; gap: .7rem; }
  .area-col { padding: .35rem 1.15rem; }
  /* the collapsed header is the tap target, so give it real height */
  .area-col__head { min-height: 52px; padding-block: .9rem .75rem; margin-bottom: 0; border-bottom: 0; }
  .area-col[open] .area-col__head { border-bottom: 1px solid var(--line); margin-bottom: .6rem; }
  .area-col__head::after {
    content: ''; margin-left: auto; width: 9px; height: 9px;
    border-right: 2px solid var(--ink-400); border-bottom: 2px solid var(--ink-400);
    transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease);
  }
  .area-col[open] .area-col__head::after { transform: rotate(-135deg) translate(-3px, -3px); }
  .area-col__list { padding-bottom: .6rem; }
  .area-col__list a { padding: .55rem 0; font-size: .92rem; }
}

/* ---------- 14. FAQ accordion ---------- */
.faq { display: grid; gap: .75rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq__item.is-open { border-color: var(--red-600); box-shadow: var(--shadow-m); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; color: var(--ink-900); line-height: 1.25;
}
.faq__q:hover { color: var(--red-600); }
.faq__icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); position: relative; transition: background .25s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--ink-900); border-radius: 2px; transition: transform .3s var(--ease), background .25s var(--ease); }
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after  { width: 2px; height: 12px; }
.faq__item.is-open .faq__icon { background: var(--red-600); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p, .faq__a ul { padding: 0 1.3rem; color: var(--ink-500); font-size: .97rem; }
.faq__a > div > *:last-child { padding-bottom: 1.3rem; }
.faq__a ul li { position: relative; padding-left: 1.2rem; margin-bottom: .3rem; }
.faq__a ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--red-600); border-radius: 50%; }

/* ---------- 15. Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-m); }
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink-900); }
.field label .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; background: var(--surface-2);
  border: 1.5px solid var(--line); border-radius: var(--r-m);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b626f' stroke-width='2.5' 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 1rem center; background-size: 17px; padding-right: 2.6rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(216,19,36,.12);
}
.field .err { font-size: .8rem; color: var(--red-600); font-weight: 600; min-height: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red-600); background: var(--red-50); }

/* 130px lets two columns fit inside the form card on a 360px phone (was 150px,
   which forced a single column and doubled the scroll past nine options). */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: .55rem; padding: .8rem 1rem;
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-m);
  font-size: .92rem; font-weight: 600; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.choice span svg { width: 20px; height: 20px; color: var(--ink-400); flex: none; transition: color .2s var(--ease); }
.choice input:checked + span { border-color: var(--red-600); background: var(--red-50); color: var(--red-700); }
.choice input:checked + span svg { color: var(--red-600); }
.choice input:focus-visible + span { outline: 3px solid var(--red-500); outline-offset: 2px; }

.form-note { font-size: .84rem; color: var(--ink-400); margin-top: .9rem; }
.form-status { display: none; align-items: flex-start; gap: .7rem; padding: 1rem 1.15rem; border-radius: var(--r-m); margin-top: 1.1rem; font-size: .93rem; }
.form-status.is-visible { display: flex; }
.form-status--ok { background: #e8f6ef; color: #0c6142; border: 1px solid #b9e3d0; }
.form-status svg { width: 20px; height: 20px; flex: none; }

/* ---------- 16. Contact tiles ---------- */
.contact-tile {
  display: flex; gap: 1rem; padding: 1.5rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-l);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.contact-tile__ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); border-radius: 14px; }
.contact-tile__ico svg { width: 24px; height: 24px; }
.contact-tile h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.contact-tile a, .contact-tile p, .contact-tile > div > span { display: block; color: var(--ink-500); font-size: .95rem; margin: 0; }
.contact-tile:hover .contact-tile__ico { background: var(--red-600); color: #fff; }
.contact-tile__ico { transition: background .28s var(--ease), color .28s var(--ease); }

.map-frame { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-s); line-height: 0; }
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* ---------- 17. CTA band ---------- */
.cta-band { position: relative; background: var(--ink-900); overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, var(--ink-900) 42%, rgba(22,24,29,.72) 58%, rgba(22,24,29,.35)), var(--cta-img, none) center right / cover no-repeat;
}
.cta-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--gap-l); align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b4bcc9; font-size: var(--step-1); }
.cta-band__actions { display: flex; flex-direction: column; gap: .8rem; }
@media (max-width: 880px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--ink-900); color: #949cab; padding-top: var(--section-y); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: var(--gap-l); padding-bottom: var(--gap-l); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo { background: #fff; padding: .7rem .9rem; border-radius: var(--r-m); display: inline-block; margin-bottom: 1.1rem; }
.footer__logo img { height: 36px; }
.footer h4 { color: #fff; font-size: 1.3rem; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer__links { display: grid; gap: .55rem; }
.footer__links a { transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer__links a:hover { color: #fff; padding-left: .3rem; }
.footer__contact li { display: flex; gap: .7rem; margin-bottom: .8rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--red-500); flex: none; margin-top: .25rem; }
.footer__contact a:hover { color: #fff; }
.footer__social { display: flex; gap: .55rem; margin-top: 1.2rem; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; transition: background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease); }
.footer__social svg { width: 18px; height: 18px; }
.footer__social a:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between; font-size: .86rem; }
.footer__bar a:hover { color: #fff; }

/* ---------- 19. Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14);
  box-shadow: 0 -6px 20px rgba(22,24,29,.18);
}
.callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem; font-weight: 700; font-size: .95rem; }
.callbar a:first-child { background: var(--ink-900); color: #fff; }
.callbar a:last-child  { background: var(--red-600); color: #fff; }
.callbar svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .callbar { display: grid; } body { padding-bottom: 56px; } }

/* ---------- 20. Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- 21. Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--ink-500);
}
.badge svg { width: 14px; height: 14px; color: var(--red-600); }
.section--dark .badge { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #b6bdc9; }

.price-note { display: flex; align-items: flex-start; gap: .8rem; padding: 1.1rem 1.25rem; background: var(--red-50); border-left: 4px solid var(--red-600); border-radius: 0 var(--r-m) var(--r-m) 0; font-size: .93rem; color: var(--ink-700); }
.price-note svg { width: 20px; height: 20px; color: var(--red-600); flex: none; margin-top: .15rem; }

/* Some imported pages (Contact) embed a Contact Form 7 form as raw HTML directly
   in the post body rather than through the form-styling the rest of the site uses.
   These rules make its native input/textarea/button match .field/.btn without
   touching the plugin's own markup or breaking its submit wiring. */
.prose form { max-width: 480px; }
/* <fieldset> gets a default browser border/padding; this one holds only
   CF7's hidden anti-spam fields, so left unstyled it renders as an empty
   bordered box above the visible fields. */
.prose form fieldset { border: 0; padding: 0; margin: 0; }
.prose form input[type="text"],
.prose form input[type="email"],
.prose form input[type="tel"],
.prose form textarea {
  display: block; width: 100%; margin-bottom: 1rem;
  padding: .85rem 1rem; background: var(--surface-2);
  border: 1.5px solid var(--line); border-radius: var(--r-m);
  font: inherit; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.prose form textarea { min-height: 130px; resize: vertical; }
.prose form input:focus, .prose form textarea:focus {
  outline: none; background: #fff; border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(216,19,36,.12);
}
.prose form button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.7rem; background: var(--red-600); color: #fff;
  border: 2px solid var(--red-600); border-radius: 999px;
  font-weight: 700; font-size: var(--step-0); cursor: pointer;
  box-shadow: var(--shadow-red); transition: transform .22s var(--ease), background-color .22s var(--ease);
}
.prose form button[type="submit"]:hover { transform: translateY(-2px); background: var(--red-700); border-color: var(--red-700); }

.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose > *:first-child { margin-top: 0; }

/* ---------- 22. Mobile refinements ---------- */
/* The off-canvas nav sits at translateX(100%) when closed. Chrome counts that
   toward the document scroll width, so every page could be dragged ~310px
   sideways into blank space. `clip` contains it WITHOUT turning <html> into a
   scroll container, which `hidden` would do - that matters because the sticky
   header depends on the root scroller. `hidden` stays first as the fallback. */
html { overflow-x: hidden; overflow-x: clip; }

/* Touch targets. WCAG 2.5.8 asks for ~44px; these measured 19-22px tall on a
   phone, which is a miss-tap waiting to happen in a footer full of links. */
.topbar__phone { padding: .4rem .75rem; }

/* Width is the wrong signal for touch targets - a 768px tablet is still a
   thumb. `pointer: coarse` catches phones, tablets and touch laptops alike,
   and leaves mouse users the tighter desktop spacing. */
@media (max-width: 760px), (pointer: coarse) {
  .brand { min-height: 44px; align-items: center; }

  /* single-line links: inline-flex gives an exact 44px box */
  .footer__links a,
  .footer__bar a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__links { gap: 0; }

  /* the email address wraps, so pad it instead - inline-flex would stop it
     wrapping and push the footer wider than the screen */
  .footer__contact a { display: inline-block; padding: .55rem 0; }
  .footer__contact li { margin-bottom: .35rem; }

  .link-arrow { min-height: 44px; }
  .svc-card__foot { padding-block: .35rem 1rem; }
}
